From c5eb190fe42344ba459ba7722788c85d9e7c711c Mon Sep 17 00:00:00 2001 From: matnun-br Date: Tue, 7 Apr 2026 10:32:02 +1000 Subject: [PATCH 1/9] Add BigIntConverter to serialize BigInt types to string and update serializer options handling --- GraphQLSharp.Tests/GraphQLClientTests.cs | 4 +- GraphQLSharp.Tests/SerializationTests.cs | 52 +++++++++++++++++-- GraphQLSharp/Client/GraphQLClient.cs | 4 +- GraphQLSharp/GraphQLSharp.csproj | 2 +- GraphQLSharp/Serialization/BigIntConverter.cs | 26 ++++++++++ GraphQLSharp/Serialization/Serializer.cs | 43 +++++++++------ 6 files changed, 105 insertions(+), 26 deletions(-) create mode 100644 GraphQLSharp/Serialization/BigIntConverter.cs diff --git a/GraphQLSharp.Tests/GraphQLClientTests.cs b/GraphQLSharp.Tests/GraphQLClientTests.cs index 837c4ee..76b6988 100644 --- a/GraphQLSharp.Tests/GraphQLClientTests.cs +++ b/GraphQLSharp.Tests/GraphQLClientTests.cs @@ -228,9 +228,9 @@ public async Task QueryWithAliases() var response = await _client.ExecuteAsync(request); //response.data is JsonElement var myProducts = response.data.Value.GetProperty("myProducts") - .Deserialize(Serializer.Options); + .Deserialize(Serializer.GetOptions()); var myOrders = response.data.Value.GetProperty("myOrders") - .Deserialize(Serializer.Options); + .Deserialize(Serializer.GetOptions()); Assert.IsNotNull(myProducts.nodes.FirstOrDefault()?.title); Assert.IsNotNull(myOrders.nodes.FirstOrDefault()?.name); } diff --git a/GraphQLSharp.Tests/SerializationTests.cs b/GraphQLSharp.Tests/SerializationTests.cs index b8f0b67..0e8714f 100644 --- a/GraphQLSharp.Tests/SerializationTests.cs +++ b/GraphQLSharp.Tests/SerializationTests.cs @@ -6,7 +6,7 @@ namespace GraphQLSharp.Tests; [TestClass] public class SerializationTests { - private class MyObject + private class MyDateTimeObject { public DateTime at { get; set; } public DateTime? atNullable { get; set; } @@ -16,6 +16,13 @@ private class MyObject public DateTimeOffset? atOffsetNullable2 { get; set; } } + private class MyBigIntObject + { + public long longValue { get; set; } + public ulong ulongValue { get; set; } + public int intValue { get; set; } + public uint uintValue { get; set; } + } [TestMethod] public void DeserializeDateTimePropertyValid() @@ -32,7 +39,7 @@ public void DeserializeDateTimePropertyValid() } """; - MyObject result = JsonSerializer.Deserialize(json, Serializer.Options); + MyDateTimeObject result = JsonSerializer.Deserialize(json, Serializer.GetOptions()); Assert.AreEqual(now, result.at); Assert.AreEqual(now, result.atNullable); Assert.AreEqual(nowOffset, result.atOffset); @@ -52,7 +59,7 @@ public void DeserializeDateTimePropertyMinValue() "atOffsetNullable2": null } """; - MyObject result = JsonSerializer.Deserialize(json, Serializer.Options); + MyDateTimeObject result = JsonSerializer.Deserialize(json, Serializer.GetOptions()); Assert.AreEqual(DateTime.MinValue, result.at); Assert.AreEqual(DateTime.MinValue, result.atNullable); Assert.IsNull(result.atNullable2); @@ -71,6 +78,43 @@ public void DeserializeDateTimePropertyInvalid() "atNullable": "invalid-date", } """; - JsonSerializer.Deserialize(json, Serializer.Options); + JsonSerializer.Deserialize(json, Serializer.GetOptions()); + } + + [TestMethod] + public void DeserializeBigInt() + { + string json = $$""" + { + "longValue": "9223372036854775807", + "ulongValue": "18446744073709551615", + "intValue": 2147483647, + "uintValue": 4294967295 + } + """; + + MyBigIntObject result = JsonSerializer.Deserialize(json, Serializer.GetOptions()); + Assert.AreEqual(9223372036854775807, result.longValue); + Assert.AreEqual(18446744073709551615, result.ulongValue); + Assert.AreEqual(2147483647, result.intValue); + Assert.AreEqual(4294967295, result.uintValue); + } + + [TestMethod] + public void SerializeBigInt() + { + var obj = new MyBigIntObject + { + longValue = 9223372036854775807, + ulongValue = 18446744073709551615, + intValue = 2147483647, + uintValue = 4294967295 + }; + + string json = JsonSerializer.Serialize(obj, Serializer.GetOptions()); + Assert.IsTrue(json.Contains(@"""longValue"":""9223372036854775807""")); + Assert.IsTrue(json.Contains(@"""ulongValue"":""18446744073709551615""")); + Assert.IsTrue(json.Contains(@"""intValue"":2147483647")); + Assert.IsTrue(json.Contains(@"""uintValue"":4294967295")); } } \ No newline at end of file diff --git a/GraphQLSharp/Client/GraphQLClient.cs b/GraphQLSharp/Client/GraphQLClient.cs index affd1ed..1d5a9f3 100644 --- a/GraphQLSharp/Client/GraphQLClient.cs +++ b/GraphQLSharp/Client/GraphQLClient.cs @@ -108,7 +108,7 @@ private async Task> ExecuteCoreAsync(TRequest request, Can GraphQLResponse res; try { - res = await httpResponseMsg.Content.ReadFromJsonAsync>(_options.JsonSerializerOptions ?? Serializer.Options, cancellationToken); + res = await httpResponseMsg.Content.ReadFromJsonAsync>(_options.JsonSerializerOptions ?? Serializer.GetOptions(), cancellationToken); if (res == null) throw new GraphQLException(request, httpResponse, $"Failed to deserialize null GraphQL response. Request: {request}"); } @@ -139,7 +139,7 @@ private HttpRequestMessage CreateHttpRequest(TRequest request) { Method = HttpMethod.Post, RequestUri = uri, - Content = JsonContent.Create(request, options: _options.JsonSerializerOptions ?? Serializer.Options), + Content = JsonContent.Create(request, options: _options.JsonSerializerOptions ?? Serializer.GetOptions()), }; requestMessage.Headers.UserAgent.Add(_defaultUserAgent); diff --git a/GraphQLSharp/GraphQLSharp.csproj b/GraphQLSharp/GraphQLSharp.csproj index 46872f8..a1d4178 100644 --- a/GraphQLSharp/GraphQLSharp.csproj +++ b/GraphQLSharp/GraphQLSharp.csproj @@ -4,7 +4,7 @@ https://github.com/Wish-Org/GraphQLSharp https://github.com/Wish-Org/GraphQLSharp .NET Client for GraphQL - Modern and fast - 2.20.0 + 2.21.0 graphql;client;graphql-client;graphql-generator Wish-Org README.md diff --git a/GraphQLSharp/Serialization/BigIntConverter.cs b/GraphQLSharp/Serialization/BigIntConverter.cs new file mode 100644 index 0000000..159173c --- /dev/null +++ b/GraphQLSharp/Serialization/BigIntConverter.cs @@ -0,0 +1,26 @@ +using System.Text.Json; +using System.Text.Json.Serialization; + +public class LongConverter : BigIntConverter +{ +} + +public class ULongConverter : BigIntConverter +{ +} + +public abstract class BigIntConverter : JsonConverter +{ + public override T Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) + { + if (reader.TokenType == JsonTokenType.String) + return (T)Convert.ChangeType(reader.GetString(), typeof(T)); + + return JsonSerializer.Deserialize(ref reader); + } + + public override void Write(Utf8JsonWriter writer, T value, JsonSerializerOptions options) + { + writer.WriteStringValue(value.ToString()); + } +} \ No newline at end of file diff --git a/GraphQLSharp/Serialization/Serializer.cs b/GraphQLSharp/Serialization/Serializer.cs index a0f6b71..1c011f5 100644 --- a/GraphQLSharp/Serialization/Serializer.cs +++ b/GraphQLSharp/Serialization/Serializer.cs @@ -1,5 +1,6 @@ using System.Text.Json.Serialization; using System.Text.Json; +using System.Collections.Concurrent; namespace GraphQLSharp; @@ -7,44 +8,52 @@ namespace GraphQLSharp; public static class Serializer { - public static readonly JsonSerializerOptions Options; - - public static readonly JsonSerializerOptions OptionsIndented; + public static ConcurrentDictionary<(bool indent, bool serializeInt64ToString), JsonSerializerOptions> optionstoJsonOptions = new(); static Serializer() { - Options = new JsonSerializerOptions + } + + public static JsonSerializerOptions CreateOptions(bool indent, bool serializeInt64ToString) + { + var options = new JsonSerializerOptions { NumberHandling = JsonNumberHandling.AllowReadingFromString, Converters = { new JsonStringEnumConverter() }, DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull, }; - Options.Converters.Add(new SafeDateTimeConverter()); - Options.Converters.Add(new SafeDateTimeOffsetConverter()); + options.Converters.Add(new SafeDateTimeConverter()); + options.Converters.Add(new SafeDateTimeOffsetConverter()); - OptionsIndented = new JsonSerializerOptions(Options) + if (serializeInt64ToString) { - WriteIndented = true - }; + options.Converters.Add(new LongConverter()); + options.Converters.Add(new ULongConverter()); + } + + if (indent) + options.WriteIndented = true; + + return options; } - public static JsonSerializerOptions GetOptions(bool indent) + public static JsonSerializerOptions GetOptions(bool indent = false, bool serializeInt64ToString = true) { - return indent ? OptionsIndented : Options; + return optionstoJsonOptions.GetOrAdd((indent, serializeInt64ToString), _ => CreateOptions(indent, serializeInt64ToString)); } - public static string Serialize(object obj, bool indent = false) + public static string Serialize(object obj, bool indent = false, bool serializeInt64ToString = true) { - return JsonSerializer.Serialize(obj, obj.GetType(), GetOptions(indent)); + return JsonSerializer.Serialize(obj, obj.GetType(), GetOptions(indent, serializeInt64ToString)); } - public static object? Deserialize(string json, Type type, bool indent = false) + public static object? Deserialize(string json, Type type, bool indent = false, bool serializeInt64ToString = true) { - return JsonSerializer.Deserialize(json, type, GetOptions(indent)); + return JsonSerializer.Deserialize(json, type, GetOptions(indent, serializeInt64ToString)); } - public static T? Deserialize(string json, bool indent = false) + public static T? Deserialize(string json, bool indent = false, bool serializeInt64ToString = true) { - return JsonSerializer.Deserialize(json, GetOptions(indent)); + return JsonSerializer.Deserialize(json, GetOptions(indent, serializeInt64ToString)); } } \ No newline at end of file From a749d312e39118730d0561a0123a11c94279dab3 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 7 Apr 2026 00:45:45 +0000 Subject: [PATCH 2/9] Fix BigIntConverter: use Utf8JsonReader APIs, invariant culture, and JsonException on failure Agent-Logs-Url: https://github.com/Wish-Org/GraphQLSharp/sessions/32ed737e-ce79-41b5-9631-6df5fcb32431 Co-authored-by: matnun-br <185004289+matnun-br@users.noreply.github.com> --- GraphQLSharp.Tests/shopify.cs | 144456 +++++++-------- GraphQLSharp.Tests/square.cs | 22346 +-- GraphQLSharp/Serialization/BigIntConverter.cs | 62 +- 3 files changed, 83458 insertions(+), 83406 deletions(-) diff --git a/GraphQLSharp.Tests/shopify.cs b/GraphQLSharp.Tests/shopify.cs index 5cdcdee..3ba6f8b 100644 --- a/GraphQLSharp.Tests/shopify.cs +++ b/GraphQLSharp.Tests/shopify.cs @@ -1,1265 +1,1265 @@ // #nullable enable -using System; -using System.Collections; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Text.Json; -using System.Text.Json.Serialization; -using GraphQLSharp; - -namespace Shopify -{ - public partial class ShopifyClient : GraphQLClient - { - public ShopifyClient(GraphQLClientOptions? options = null) : base(options!) - { - } - } -} - -namespace Shopify.Types -{ +using System; +using System.Collections; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text.Json; +using System.Text.Json.Serialization; +using GraphQLSharp; + +namespace Shopify +{ + public partial class ShopifyClient : GraphQLClient + { + public ShopifyClient(GraphQLClientOptions? options = null) : base(options!) + { + } + } +} + +namespace Shopify.Types +{ /// ///A checkout that was abandoned by the customer. /// - [Description("A checkout that was abandoned by the customer.")] - public class AbandonedCheckout : GraphQLObject, INavigable, INode - { + [Description("A checkout that was abandoned by the customer.")] + public class AbandonedCheckout : GraphQLObject, INavigable, INode + { /// ///The URL for the buyer to recover their checkout. /// - [Description("The URL for the buyer to recover their checkout.")] - [NonNull] - public string? abandonedCheckoutUrl { get; set; } - + [Description("The URL for the buyer to recover their checkout.")] + [NonNull] + public string? abandonedCheckoutUrl { get; set; } + /// ///The billing address provided by the buyer. ///Null if the user did not provide a billing address. /// - [Description("The billing address provided by the buyer.\nNull if the user did not provide a billing address.")] - public MailingAddress? billingAddress { get; set; } - + [Description("The billing address provided by the buyer.\nNull if the user did not provide a billing address.")] + public MailingAddress? billingAddress { get; set; } + /// ///The date and time when the buyer completed the checkout. ///Null if the checkout has not been completed. /// - [Description("The date and time when the buyer completed the checkout.\nNull if the checkout has not been completed.")] - public DateTime? completedAt { get; set; } - + [Description("The date and time when the buyer completed the checkout.\nNull if the checkout has not been completed.")] + public DateTime? completedAt { get; set; } + /// ///The date and time when the checkout was created. /// - [Description("The date and time when the checkout was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the checkout was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A list of extra information that has been added to the checkout. /// - [Description("A list of extra information that has been added to the checkout.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of extra information that has been added to the checkout.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The customer who created this checkout. ///May be null if the checkout was created from a draft order or via an app. /// - [Description("The customer who created this checkout.\nMay be null if the checkout was created from a draft order or via an app.")] - public Customer? customer { get; set; } - + [Description("The customer who created this checkout.\nMay be null if the checkout was created from a draft order or via an app.")] + public Customer? customer { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The discount codes entered by the buyer at checkout. /// - [Description("The discount codes entered by the buyer at checkout.")] - [NonNull] - public IEnumerable? discountCodes { get; set; } - + [Description("The discount codes entered by the buyer at checkout.")] + [NonNull] + public IEnumerable? discountCodes { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A list of the line items in this checkout. /// - [Description("A list of the line items in this checkout.")] - [NonNull] - public AbandonedCheckoutLineItemConnection? lineItems { get; set; } - + [Description("A list of the line items in this checkout.")] + [NonNull] + public AbandonedCheckoutLineItemConnection? lineItems { get; set; } + /// ///The number of products in the checkout. /// - [Description("The number of products in the checkout.")] - [Obsolete("Use [AbandonedCheckoutLineItem.quantity](https://shopify.dev/api/admin-graphql/unstable/objects/AbandonedCheckoutLineItem#field-quantity) instead.")] - [NonNull] - public int? lineItemsQuantity { get; set; } - + [Description("The number of products in the checkout.")] + [Obsolete("Use [AbandonedCheckoutLineItem.quantity](https://shopify.dev/api/admin-graphql/unstable/objects/AbandonedCheckoutLineItem#field-quantity) instead.")] + [NonNull] + public int? lineItemsQuantity { get; set; } + /// ///Unique merchant-facing identifier for the checkout. /// - [Description("Unique merchant-facing identifier for the checkout.")] - [NonNull] - public string? name { get; set; } - + [Description("Unique merchant-facing identifier for the checkout.")] + [NonNull] + public string? name { get; set; } + /// ///A merchant-facing note added to the checkout. Not visible to the buyer. /// - [Description("A merchant-facing note added to the checkout. Not visible to the buyer.")] - [NonNull] - public string? note { get; set; } - + [Description("A merchant-facing note added to the checkout. Not visible to the buyer.")] + [NonNull] + public string? note { get; set; } + /// ///The shipping address to where the line items will be shipped. ///Null if the user did not provide a shipping address. /// - [Description("The shipping address to where the line items will be shipped.\nNull if the user did not provide a shipping address.")] - public MailingAddress? shippingAddress { get; set; } - + [Description("The shipping address to where the line items will be shipped.\nNull if the user did not provide a shipping address.")] + public MailingAddress? shippingAddress { get; set; } + /// ///The sum of all items in the checkout, including discounts but excluding shipping, taxes and tips. /// - [Description("The sum of all items in the checkout, including discounts but excluding shipping, taxes and tips.")] - [NonNull] - public MoneyBag? subtotalPriceSet { get; set; } - + [Description("The sum of all items in the checkout, including discounts but excluding shipping, taxes and tips.")] + [NonNull] + public MoneyBag? subtotalPriceSet { get; set; } + /// ///Individual taxes charged on the checkout. /// - [Description("Individual taxes charged on the checkout.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("Individual taxes charged on the checkout.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Whether taxes are included in line item and shipping line prices. /// - [Description("Whether taxes are included in line item and shipping line prices.")] - [NonNull] - public bool? taxesIncluded { get; set; } - + [Description("Whether taxes are included in line item and shipping line prices.")] + [NonNull] + public bool? taxesIncluded { get; set; } + /// ///The total amount of discounts to be applied. /// - [Description("The total amount of discounts to be applied.")] - [NonNull] - public MoneyBag? totalDiscountSet { get; set; } - + [Description("The total amount of discounts to be applied.")] + [NonNull] + public MoneyBag? totalDiscountSet { get; set; } + /// ///The total duties applied to the checkout. /// - [Description("The total duties applied to the checkout.")] - public MoneyBag? totalDutiesSet { get; set; } - + [Description("The total duties applied to the checkout.")] + public MoneyBag? totalDutiesSet { get; set; } + /// ///The sum of the prices of all line items in the checkout. /// - [Description("The sum of the prices of all line items in the checkout.")] - [NonNull] - public MoneyBag? totalLineItemsPriceSet { get; set; } - + [Description("The sum of the prices of all line items in the checkout.")] + [NonNull] + public MoneyBag? totalLineItemsPriceSet { get; set; } + /// ///The sum of all items in the checkout, including discounts, shipping, taxes, and tips. /// - [Description("The sum of all items in the checkout, including discounts, shipping, taxes, and tips.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - + [Description("The sum of all items in the checkout, including discounts, shipping, taxes, and tips.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + /// ///The total tax applied to the checkout. /// - [Description("The total tax applied to the checkout.")] - public MoneyBag? totalTaxSet { get; set; } - + [Description("The total tax applied to the checkout.")] + public MoneyBag? totalTaxSet { get; set; } + /// ///The date and time when the checkout was most recently updated. /// - [Description("The date and time when the checkout was most recently updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the checkout was most recently updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple AbandonedCheckouts. /// - [Description("An auto-generated type for paginating through multiple AbandonedCheckouts.")] - public class AbandonedCheckoutConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AbandonedCheckouts.")] + public class AbandonedCheckoutConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AbandonedCheckoutEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AbandonedCheckoutEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AbandonedCheckoutEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one AbandonedCheckout and a cursor during pagination. /// - [Description("An auto-generated type which holds one AbandonedCheckout and a cursor during pagination.")] - public class AbandonedCheckoutEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AbandonedCheckout and a cursor during pagination.")] + public class AbandonedCheckoutEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AbandonedCheckoutEdge. /// - [Description("The item at the end of AbandonedCheckoutEdge.")] - [NonNull] - public AbandonedCheckout? node { get; set; } - } - + [Description("The item at the end of AbandonedCheckoutEdge.")] + [NonNull] + public AbandonedCheckout? node { get; set; } + } + /// ///A single line item in an abandoned checkout. /// - [Description("A single line item in an abandoned checkout.")] - public class AbandonedCheckoutLineItem : GraphQLObject, INode - { + [Description("A single line item in an abandoned checkout.")] + public class AbandonedCheckoutLineItem : GraphQLObject, INode + { /// ///A list of line item components for this line item. /// - [Description("A list of line item components for this line item.")] - public IEnumerable? components { get; set; } - + [Description("A list of line item components for this line item.")] + public IEnumerable? components { get; set; } + /// ///A list of extra information that has been added to the line item. /// - [Description("A list of extra information that has been added to the line item.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of extra information that has been added to the line item.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///Discount allocations that have been applied on the line item. /// - [Description("Discount allocations that have been applied on the line item.")] - [NonNull] - public DiscountAllocationConnection? discountAllocations { get; set; } - + [Description("Discount allocations that have been applied on the line item.")] + [NonNull] + public DiscountAllocationConnection? discountAllocations { get; set; } + /// ///Final total price for the entire quantity of this line item, including discounts. /// - [Description("Final total price for the entire quantity of this line item, including discounts.")] - [NonNull] - public MoneyBag? discountedTotalPriceSet { get; set; } - + [Description("Final total price for the entire quantity of this line item, including discounts.")] + [NonNull] + public MoneyBag? discountedTotalPriceSet { get; set; } + /// ///The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level. /// - [Description("The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level.")] - [NonNull] - public MoneyBag? discountedTotalPriceWithCodeDiscount { get; set; } - + [Description("The total price for the entire quantity of this line item, after all discounts are applied, at both the line item and code-based line item level.")] + [NonNull] + public MoneyBag? discountedTotalPriceWithCodeDiscount { get; set; } + /// ///The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies. /// - [Description("The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? discountedUnitPriceSet { get; set; } - + [Description("The price of a single variant unit after discounts are applied at the line item level, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? discountedUnitPriceSet { get; set; } + /// ///The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level. /// - [Description("The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level.")] - [NonNull] - public MoneyBag? discountedUnitPriceWithCodeDiscount { get; set; } - + [Description("The price of a single variant unit after all discounts are applied, at both the line item and code-based line item level.")] + [NonNull] + public MoneyBag? discountedUnitPriceWithCodeDiscount { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image associated with the line item's variant or product. ///NULL if the line item has no product, or if neither the variant nor the product have an image. /// - [Description("The image associated with the line item's variant or product.\nNULL if the line item has no product, or if neither the variant nor the product have an image.")] - public Image? image { get; set; } - + [Description("The image associated with the line item's variant or product.\nNULL if the line item has no product, or if neither the variant nor the product have an image.")] + public Image? image { get; set; } + /// ///Original total price for the entire quantity of this line item, before discounts. /// - [Description("Original total price for the entire quantity of this line item, before discounts.")] - [NonNull] - public MoneyBag? originalTotalPriceSet { get; set; } - + [Description("Original total price for the entire quantity of this line item, before discounts.")] + [NonNull] + public MoneyBag? originalTotalPriceSet { get; set; } + /// ///Original price for a single unit of this line item, before discounts. /// - [Description("Original price for a single unit of this line item, before discounts.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("Original price for a single unit of this line item, before discounts.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The parent relationship for this line item. /// - [Description("The parent relationship for this line item.")] - public AbandonedCheckoutLineItemParentRelationship? parentRelationship { get; set; } - + [Description("The parent relationship for this line item.")] + public AbandonedCheckoutLineItemParentRelationship? parentRelationship { get; set; } + /// ///Product for this line item. ///NULL for custom line items and products that were deleted after checkout began. /// - [Description("Product for this line item.\nNULL for custom line items and products that were deleted after checkout began.")] - public Product? product { get; set; } - + [Description("Product for this line item.\nNULL for custom line items and products that were deleted after checkout began.")] + public Product? product { get; set; } + /// ///The quantity of the line item. /// - [Description("The quantity of the line item.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the line item.")] + [NonNull] + public int? quantity { get; set; } + /// ///SKU for the inventory item associated with the variant, if any. /// - [Description("SKU for the inventory item associated with the variant, if any.")] - public string? sku { get; set; } - + [Description("SKU for the inventory item associated with the variant, if any.")] + public string? sku { get; set; } + /// ///Title of the line item. Defaults to the product's title. /// - [Description("Title of the line item. Defaults to the product's title.")] - public string? title { get; set; } - + [Description("Title of the line item. Defaults to the product's title.")] + public string? title { get; set; } + /// ///Product variant for this line item. ///NULL for custom line items and variants that were deleted after checkout began. /// - [Description("Product variant for this line item.\nNULL for custom line items and variants that were deleted after checkout began.")] - public ProductVariant? variant { get; set; } - + [Description("Product variant for this line item.\nNULL for custom line items and variants that were deleted after checkout began.")] + public ProductVariant? variant { get; set; } + /// ///Title of the variant for this line item. ///NULL for custom line items and products that don't have distinct variants. /// - [Description("Title of the variant for this line item.\nNULL for custom line items and products that don't have distinct variants.")] - public string? variantTitle { get; set; } - } - + [Description("Title of the variant for this line item.\nNULL for custom line items and products that don't have distinct variants.")] + public string? variantTitle { get; set; } + } + /// ///The list of line item components that belong to a line item. /// - [Description("The list of line item components that belong to a line item.")] - public class AbandonedCheckoutLineItemComponent : GraphQLObject - { + [Description("The list of line item components that belong to a line item.")] + public class AbandonedCheckoutLineItemComponent : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The variant image associated with the line item component. ///NULL if the variant associated doesn't have an image. /// - [Description("The variant image associated with the line item component.\nNULL if the variant associated doesn't have an image.")] - public Image? image { get; set; } - + [Description("The variant image associated with the line item component.\nNULL if the variant associated doesn't have an image.")] + public Image? image { get; set; } + /// ///The quantity of the line item component. /// - [Description("The quantity of the line item component.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the line item component.")] + [NonNull] + public int? quantity { get; set; } + /// ///Title of the line item component. /// - [Description("Title of the line item component.")] - [NonNull] - public string? title { get; set; } - + [Description("Title of the line item component.")] + [NonNull] + public string? title { get; set; } + /// ///The name of the variant. /// - [Description("The name of the variant.")] - public string? variantTitle { get; set; } - } - + [Description("The name of the variant.")] + public string? variantTitle { get; set; } + } + /// ///An auto-generated type for paginating through multiple AbandonedCheckoutLineItems. /// - [Description("An auto-generated type for paginating through multiple AbandonedCheckoutLineItems.")] - public class AbandonedCheckoutLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AbandonedCheckoutLineItems.")] + public class AbandonedCheckoutLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AbandonedCheckoutLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AbandonedCheckoutLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AbandonedCheckoutLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one AbandonedCheckoutLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one AbandonedCheckoutLineItem and a cursor during pagination.")] - public class AbandonedCheckoutLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AbandonedCheckoutLineItem and a cursor during pagination.")] + public class AbandonedCheckoutLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AbandonedCheckoutLineItemEdge. /// - [Description("The item at the end of AbandonedCheckoutLineItemEdge.")] - [NonNull] - public AbandonedCheckoutLineItem? node { get; set; } - } - + [Description("The item at the end of AbandonedCheckoutLineItemEdge.")] + [NonNull] + public AbandonedCheckoutLineItem? node { get; set; } + } + /// ///The line relationship between two line items in an abandoned checkout. /// - [Description("The line relationship between two line items in an abandoned checkout.")] - public class AbandonedCheckoutLineItemParentRelationship : GraphQLObject - { + [Description("The line relationship between two line items in an abandoned checkout.")] + public class AbandonedCheckoutLineItemParentRelationship : GraphQLObject + { /// ///The parent line item of the current line item. /// - [Description("The parent line item of the current line item.")] - [NonNull] - public AbandonedCheckoutLineItem? parent { get; set; } - } - + [Description("The parent line item of the current line item.")] + [NonNull] + public AbandonedCheckoutLineItem? parent { get; set; } + } + /// ///The set of valid sort keys for the AbandonedCheckout query. /// - [Description("The set of valid sort keys for the AbandonedCheckout query.")] - public enum AbandonedCheckoutSortKeys - { + [Description("The set of valid sort keys for the AbandonedCheckout query.")] + public enum AbandonedCheckoutSortKeys + { /// ///Sort by the `checkout_id` value. /// - [Description("Sort by the `checkout_id` value.")] - CHECKOUT_ID, + [Description("Sort by the `checkout_id` value.")] + CHECKOUT_ID, /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `customer_name` value. /// - [Description("Sort by the `customer_name` value.")] - CUSTOMER_NAME, + [Description("Sort by the `customer_name` value.")] + CUSTOMER_NAME, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `total_price` value. /// - [Description("Sort by the `total_price` value.")] - TOTAL_PRICE, - } - - public static class AbandonedCheckoutSortKeysStringValues - { - public const string CHECKOUT_ID = @"CHECKOUT_ID"; - public const string CREATED_AT = @"CREATED_AT"; - public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; - public const string ID = @"ID"; - public const string RELEVANCE = @"RELEVANCE"; - public const string TOTAL_PRICE = @"TOTAL_PRICE"; - } - + [Description("Sort by the `total_price` value.")] + TOTAL_PRICE, + } + + public static class AbandonedCheckoutSortKeysStringValues + { + public const string CHECKOUT_ID = @"CHECKOUT_ID"; + public const string CREATED_AT = @"CREATED_AT"; + public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; + public const string ID = @"ID"; + public const string RELEVANCE = @"RELEVANCE"; + public const string TOTAL_PRICE = @"TOTAL_PRICE"; + } + /// ///A browse, cart, or checkout that was abandoned by a customer. /// - [Description("A browse, cart, or checkout that was abandoned by a customer.")] - public class Abandonment : GraphQLObject, INode - { + [Description("A browse, cart, or checkout that was abandoned by a customer.")] + public class Abandonment : GraphQLObject, INode + { /// ///The abandonment payload for the abandoned checkout. /// - [Description("The abandonment payload for the abandoned checkout.")] - public AbandonedCheckout? abandonedCheckoutPayload { get; set; } - + [Description("The abandonment payload for the abandoned checkout.")] + public AbandonedCheckout? abandonedCheckoutPayload { get; set; } + /// ///The abandonment type. /// - [Description("The abandonment type.")] - [NonNull] - [EnumType(typeof(AbandonmentAbandonmentType))] - public string? abandonmentType { get; set; } - + [Description("The abandonment type.")] + [NonNull] + [EnumType(typeof(AbandonmentAbandonmentType))] + public string? abandonmentType { get; set; } + /// ///The app associated with an abandoned checkout. /// - [Description("The app associated with an abandoned checkout.")] - [NonNull] - public App? app { get; set; } - + [Description("The app associated with an abandoned checkout.")] + [NonNull] + public App? app { get; set; } + /// ///Permalink to the cart page. /// - [Description("Permalink to the cart page.")] - public string? cartUrl { get; set; } - + [Description("Permalink to the cart page.")] + public string? cartUrl { get; set; } + /// ///The date and time when the abandonment was created. /// - [Description("The date and time when the abandonment was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the abandonment was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The customer who abandoned this event. /// - [Description("The customer who abandoned this event.")] - [NonNull] - public Customer? customer { get; set; } - + [Description("The customer who abandoned this event.")] + [NonNull] + public Customer? customer { get; set; } + /// ///Whether the customer has a draft order since this abandonment has been abandoned. /// - [Description("Whether the customer has a draft order since this abandonment has been abandoned.")] - [NonNull] - public bool? customerHasNoDraftOrderSinceAbandonment { get; set; } - + [Description("Whether the customer has a draft order since this abandonment has been abandoned.")] + [NonNull] + public bool? customerHasNoDraftOrderSinceAbandonment { get; set; } + /// ///Whether the customer has completed an order since this checkout has been abandoned. /// - [Description("Whether the customer has completed an order since this checkout has been abandoned.")] - [NonNull] - public bool? customerHasNoOrderSinceAbandonment { get; set; } - + [Description("Whether the customer has completed an order since this checkout has been abandoned.")] + [NonNull] + public bool? customerHasNoOrderSinceAbandonment { get; set; } + /// ///The number of days since the last abandonment email was sent to the customer. /// - [Description("The number of days since the last abandonment email was sent to the customer.")] - [NonNull] - public int? daysSinceLastAbandonmentEmail { get; set; } - + [Description("The number of days since the last abandonment email was sent to the customer.")] + [NonNull] + public int? daysSinceLastAbandonmentEmail { get; set; } + /// ///When the email was sent, if that's the case. /// - [Description("When the email was sent, if that's the case.")] - public DateTime? emailSentAt { get; set; } - + [Description("When the email was sent, if that's the case.")] + public DateTime? emailSentAt { get; set; } + /// ///The email state (e.g., sent or not sent). /// - [Description("The email state (e.g., sent or not sent).")] - [EnumType(typeof(AbandonmentEmailState))] - public string? emailState { get; set; } - + [Description("The email state (e.g., sent or not sent).")] + [EnumType(typeof(AbandonmentEmailState))] + public string? emailState { get; set; } + /// ///The number of hours since the customer has last abandoned a checkout. /// - [Description("The number of hours since the customer has last abandoned a checkout.")] - public decimal? hoursSinceLastAbandonedCheckout { get; set; } - + [Description("The number of hours since the customer has last abandoned a checkout.")] + public decimal? hoursSinceLastAbandonedCheckout { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the products in abandonment are available. /// - [Description("Whether the products in abandonment are available.")] - [NonNull] - public bool? inventoryAvailable { get; set; } - + [Description("Whether the products in abandonment are available.")] + [NonNull] + public bool? inventoryAvailable { get; set; } + /// ///Whether the abandonment event comes from a custom storefront channel. /// - [Description("Whether the abandonment event comes from a custom storefront channel.")] - [NonNull] - public bool? isFromCustomStorefront { get; set; } - + [Description("Whether the abandonment event comes from a custom storefront channel.")] + [NonNull] + public bool? isFromCustomStorefront { get; set; } + /// ///Whether the abandonment event comes from the Online Store sales channel. /// - [Description("Whether the abandonment event comes from the Online Store sales channel.")] - [NonNull] - public bool? isFromOnlineStore { get; set; } - + [Description("Whether the abandonment event comes from the Online Store sales channel.")] + [NonNull] + public bool? isFromOnlineStore { get; set; } + /// ///Whether the abandonment event comes from the Shop app sales channel. /// - [Description("Whether the abandonment event comes from the Shop app sales channel.")] - [NonNull] - public bool? isFromShopApp { get; set; } - + [Description("Whether the abandonment event comes from the Shop app sales channel.")] + [NonNull] + public bool? isFromShopApp { get; set; } + /// ///Whether the abandonment event comes from Shop Pay. /// - [Description("Whether the abandonment event comes from Shop Pay.")] - [NonNull] - public bool? isFromShopPay { get; set; } - + [Description("Whether the abandonment event comes from Shop Pay.")] + [NonNull] + public bool? isFromShopPay { get; set; } + /// ///Whether the customer didn't complete another most significant step since this abandonment. /// - [Description("Whether the customer didn't complete another most significant step since this abandonment.")] - [NonNull] - public bool? isMostSignificantAbandonment { get; set; } - + [Description("Whether the customer didn't complete another most significant step since this abandonment.")] + [NonNull] + public bool? isMostSignificantAbandonment { get; set; } + /// ///The date for the latest browse abandonment. /// - [Description("The date for the latest browse abandonment.")] - [NonNull] - public DateTime? lastBrowseAbandonmentDate { get; set; } - + [Description("The date for the latest browse abandonment.")] + [NonNull] + public DateTime? lastBrowseAbandonmentDate { get; set; } + /// ///The date for the latest cart abandonment. /// - [Description("The date for the latest cart abandonment.")] - [NonNull] - public DateTime? lastCartAbandonmentDate { get; set; } - + [Description("The date for the latest cart abandonment.")] + [NonNull] + public DateTime? lastCartAbandonmentDate { get; set; } + /// ///The date for the latest checkout abandonment. /// - [Description("The date for the latest checkout abandonment.")] - [NonNull] - public DateTime? lastCheckoutAbandonmentDate { get; set; } - + [Description("The date for the latest checkout abandonment.")] + [NonNull] + public DateTime? lastCheckoutAbandonmentDate { get; set; } + /// ///The most recent step type. /// - [Description("The most recent step type.")] - [NonNull] - [EnumType(typeof(AbandonmentAbandonmentType))] - public string? mostRecentStep { get; set; } - + [Description("The most recent step type.")] + [NonNull] + [EnumType(typeof(AbandonmentAbandonmentType))] + public string? mostRecentStep { get; set; } + /// ///The products added to the cart during the customer abandoned visit. /// - [Description("The products added to the cart during the customer abandoned visit.")] - [NonNull] - public CustomerVisitProductInfoConnection? productsAddedToCart { get; set; } - + [Description("The products added to the cart during the customer abandoned visit.")] + [NonNull] + public CustomerVisitProductInfoConnection? productsAddedToCart { get; set; } + /// ///The products viewed during the customer abandoned visit. /// - [Description("The products viewed during the customer abandoned visit.")] - [NonNull] - public CustomerVisitProductInfoConnection? productsViewed { get; set; } - + [Description("The products viewed during the customer abandoned visit.")] + [NonNull] + public CustomerVisitProductInfoConnection? productsViewed { get; set; } + /// ///The date and time when the visit started. /// - [Description("The date and time when the visit started.")] - public DateTime? visitStartedAt { get; set; } - } - + [Description("The date and time when the visit started.")] + public DateTime? visitStartedAt { get; set; } + } + /// ///Specifies the abandonment type. /// - [Description("Specifies the abandonment type.")] - public enum AbandonmentAbandonmentType - { + [Description("Specifies the abandonment type.")] + public enum AbandonmentAbandonmentType + { /// ///The abandonment event is an abandoned browse. /// - [Description("The abandonment event is an abandoned browse.")] - BROWSE, + [Description("The abandonment event is an abandoned browse.")] + BROWSE, /// ///The abandonment event is an abandoned cart. /// - [Description("The abandonment event is an abandoned cart.")] - CART, + [Description("The abandonment event is an abandoned cart.")] + CART, /// ///The abandonment event is an abandoned checkout. /// - [Description("The abandonment event is an abandoned checkout.")] - CHECKOUT, - } - - public static class AbandonmentAbandonmentTypeStringValues - { - public const string BROWSE = @"BROWSE"; - public const string CART = @"CART"; - public const string CHECKOUT = @"CHECKOUT"; - } - + [Description("The abandonment event is an abandoned checkout.")] + CHECKOUT, + } + + public static class AbandonmentAbandonmentTypeStringValues + { + public const string BROWSE = @"BROWSE"; + public const string CART = @"CART"; + public const string CHECKOUT = @"CHECKOUT"; + } + /// ///Specifies the delivery state of a marketing activity. /// - [Description("Specifies the delivery state of a marketing activity.")] - public enum AbandonmentDeliveryState - { + [Description("Specifies the delivery state of a marketing activity.")] + public enum AbandonmentDeliveryState + { /// ///The marketing activity action has not yet been sent. /// - [Description("The marketing activity action has not yet been sent.")] - NOT_SENT, + [Description("The marketing activity action has not yet been sent.")] + NOT_SENT, /// ///The marketing activity action has been sent. /// - [Description("The marketing activity action has been sent.")] - SENT, + [Description("The marketing activity action has been sent.")] + SENT, /// ///The marketing activity action has been scheduled for later delivery. /// - [Description("The marketing activity action has been scheduled for later delivery.")] - SCHEDULED, - } - - public static class AbandonmentDeliveryStateStringValues - { - public const string NOT_SENT = @"NOT_SENT"; - public const string SENT = @"SENT"; - public const string SCHEDULED = @"SCHEDULED"; - } - + [Description("The marketing activity action has been scheduled for later delivery.")] + SCHEDULED, + } + + public static class AbandonmentDeliveryStateStringValues + { + public const string NOT_SENT = @"NOT_SENT"; + public const string SENT = @"SENT"; + public const string SCHEDULED = @"SCHEDULED"; + } + /// ///Specifies the email state. /// - [Description("Specifies the email state.")] - public enum AbandonmentEmailState - { + [Description("Specifies the email state.")] + public enum AbandonmentEmailState + { /// ///The email has not yet been sent. /// - [Description("The email has not yet been sent.")] - NOT_SENT, + [Description("The email has not yet been sent.")] + NOT_SENT, /// ///The email has been sent. /// - [Description("The email has been sent.")] - SENT, + [Description("The email has been sent.")] + SENT, /// ///The email has been scheduled for later delivery. /// - [Description("The email has been scheduled for later delivery.")] - SCHEDULED, - } - - public static class AbandonmentEmailStateStringValues - { - public const string NOT_SENT = @"NOT_SENT"; - public const string SENT = @"SENT"; - public const string SCHEDULED = @"SCHEDULED"; - } - + [Description("The email has been scheduled for later delivery.")] + SCHEDULED, + } + + public static class AbandonmentEmailStateStringValues + { + public const string NOT_SENT = @"NOT_SENT"; + public const string SENT = @"SENT"; + public const string SCHEDULED = @"SCHEDULED"; + } + /// ///Return type for `abandonmentEmailStateUpdate` mutation. /// - [Description("Return type for `abandonmentEmailStateUpdate` mutation.")] - public class AbandonmentEmailStateUpdatePayload : GraphQLObject - { + [Description("Return type for `abandonmentEmailStateUpdate` mutation.")] + public class AbandonmentEmailStateUpdatePayload : GraphQLObject + { /// ///The updated abandonment. /// - [Description("The updated abandonment.")] - public Abandonment? abandonment { get; set; } - + [Description("The updated abandonment.")] + public Abandonment? abandonment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `AbandonmentEmailStateUpdate`. /// - [Description("An error that occurs during the execution of `AbandonmentEmailStateUpdate`.")] - public class AbandonmentEmailStateUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `AbandonmentEmailStateUpdate`.")] + public class AbandonmentEmailStateUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(AbandonmentEmailStateUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(AbandonmentEmailStateUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `AbandonmentEmailStateUpdateUserError`. /// - [Description("Possible error codes that can be returned by `AbandonmentEmailStateUpdateUserError`.")] - public enum AbandonmentEmailStateUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `AbandonmentEmailStateUpdateUserError`.")] + public enum AbandonmentEmailStateUpdateUserErrorCode + { /// ///Unable to find an Abandonment for the provided ID. /// - [Description("Unable to find an Abandonment for the provided ID.")] - ABANDONMENT_NOT_FOUND, - } - - public static class AbandonmentEmailStateUpdateUserErrorCodeStringValues - { - public const string ABANDONMENT_NOT_FOUND = @"ABANDONMENT_NOT_FOUND"; - } - + [Description("Unable to find an Abandonment for the provided ID.")] + ABANDONMENT_NOT_FOUND, + } + + public static class AbandonmentEmailStateUpdateUserErrorCodeStringValues + { + public const string ABANDONMENT_NOT_FOUND = @"ABANDONMENT_NOT_FOUND"; + } + /// ///Return type for `abandonmentUpdateActivitiesDeliveryStatuses` mutation. /// - [Description("Return type for `abandonmentUpdateActivitiesDeliveryStatuses` mutation.")] - public class AbandonmentUpdateActivitiesDeliveryStatusesPayload : GraphQLObject - { + [Description("Return type for `abandonmentUpdateActivitiesDeliveryStatuses` mutation.")] + public class AbandonmentUpdateActivitiesDeliveryStatusesPayload : GraphQLObject + { /// ///The updated abandonment. /// - [Description("The updated abandonment.")] - public Abandonment? abandonment { get; set; } - + [Description("The updated abandonment.")] + public Abandonment? abandonment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `AbandonmentUpdateActivitiesDeliveryStatuses`. /// - [Description("An error that occurs during the execution of `AbandonmentUpdateActivitiesDeliveryStatuses`.")] - public class AbandonmentUpdateActivitiesDeliveryStatusesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `AbandonmentUpdateActivitiesDeliveryStatuses`.")] + public class AbandonmentUpdateActivitiesDeliveryStatusesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(AbandonmentUpdateActivitiesDeliveryStatusesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(AbandonmentUpdateActivitiesDeliveryStatusesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `AbandonmentUpdateActivitiesDeliveryStatusesUserError`. /// - [Description("Possible error codes that can be returned by `AbandonmentUpdateActivitiesDeliveryStatusesUserError`.")] - public enum AbandonmentUpdateActivitiesDeliveryStatusesUserErrorCode - { + [Description("Possible error codes that can be returned by `AbandonmentUpdateActivitiesDeliveryStatusesUserError`.")] + public enum AbandonmentUpdateActivitiesDeliveryStatusesUserErrorCode + { /// ///Unable to find an Abandonment for the provided ID. /// - [Description("Unable to find an Abandonment for the provided ID.")] - ABANDONMENT_NOT_FOUND, + [Description("Unable to find an Abandonment for the provided ID.")] + ABANDONMENT_NOT_FOUND, /// ///Unable to find a marketing activity for the provided ID. /// - [Description("Unable to find a marketing activity for the provided ID.")] - MARKETING_ACTIVITY_NOT_FOUND, + [Description("Unable to find a marketing activity for the provided ID.")] + MARKETING_ACTIVITY_NOT_FOUND, /// ///Unable to find delivery status info for the provided ID. /// - [Description("Unable to find delivery status info for the provided ID.")] - DELIVERY_STATUS_INFO_NOT_FOUND, - } - - public static class AbandonmentUpdateActivitiesDeliveryStatusesUserErrorCodeStringValues - { - public const string ABANDONMENT_NOT_FOUND = @"ABANDONMENT_NOT_FOUND"; - public const string MARKETING_ACTIVITY_NOT_FOUND = @"MARKETING_ACTIVITY_NOT_FOUND"; - public const string DELIVERY_STATUS_INFO_NOT_FOUND = @"DELIVERY_STATUS_INFO_NOT_FOUND"; - } - + [Description("Unable to find delivery status info for the provided ID.")] + DELIVERY_STATUS_INFO_NOT_FOUND, + } + + public static class AbandonmentUpdateActivitiesDeliveryStatusesUserErrorCodeStringValues + { + public const string ABANDONMENT_NOT_FOUND = @"ABANDONMENT_NOT_FOUND"; + public const string MARKETING_ACTIVITY_NOT_FOUND = @"MARKETING_ACTIVITY_NOT_FOUND"; + public const string DELIVERY_STATUS_INFO_NOT_FOUND = @"DELIVERY_STATUS_INFO_NOT_FOUND"; + } + /// ///The permission required to access a Shopify Admin API or Storefront API resource for a shop. Merchants grant access scopes that are requested by applications. /// - [Description("The permission required to access a Shopify Admin API or Storefront API resource for a shop. Merchants grant access scopes that are requested by applications.")] - public class AccessScope : GraphQLObject - { + [Description("The permission required to access a Shopify Admin API or Storefront API resource for a shop. Merchants grant access scopes that are requested by applications.")] + public class AccessScope : GraphQLObject + { /// ///A description of the actions that the access scope allows an app to perform. /// - [Description("A description of the actions that the access scope allows an app to perform.")] - [NonNull] - public string? description { get; set; } - + [Description("A description of the actions that the access scope allows an app to perform.")] + [NonNull] + public string? description { get; set; } + /// ///A readable string that represents the access scope. The string usually follows the format `{action}_{resource}`. `{action}` is `read` or `write`, and `{resource}` is the resource that the action can be performed on. `{action}` and `{resource}` are separated by an underscore. For example, `read_orders` or `write_products`. /// - [Description("A readable string that represents the access scope. The string usually follows the format `{action}_{resource}`. `{action}` is `read` or `write`, and `{resource}` is the resource that the action can be performed on. `{action}` and `{resource}` are separated by an underscore. For example, `read_orders` or `write_products`.")] - [NonNull] - public string? handle { get; set; } - } - + [Description("A readable string that represents the access scope. The string usually follows the format `{action}_{resource}`. `{action}` is `read` or `write`, and `{resource}` is the resource that the action can be performed on. `{action}` and `{resource}` are separated by an underscore. For example, `read_orders` or `write_products`.")] + [NonNull] + public string? handle { get; set; } + } + /// ///Possible account types that a staff member can have. /// - [Description("Possible account types that a staff member can have.")] - public enum AccountType - { + [Description("Possible account types that a staff member can have.")] + public enum AccountType + { /// ///The account can access the Shopify admin. /// - [Description("The account can access the Shopify admin.")] - REGULAR, + [Description("The account can access the Shopify admin.")] + REGULAR, /// ///The account cannot access the Shopify admin. /// - [Description("The account cannot access the Shopify admin.")] - RESTRICTED, + [Description("The account cannot access the Shopify admin.")] + RESTRICTED, /// ///The user has not yet accepted the invitation to create an account. /// - [Description("The user has not yet accepted the invitation to create an account.")] - INVITED, + [Description("The user has not yet accepted the invitation to create an account.")] + INVITED, /// ///The admin has not yet accepted the request to create a collaborator account. /// - [Description("The admin has not yet accepted the request to create a collaborator account.")] - REQUESTED, + [Description("The admin has not yet accepted the request to create a collaborator account.")] + REQUESTED, /// ///The account of a partner who collaborates with the merchant. /// - [Description("The account of a partner who collaborates with the merchant.")] - COLLABORATOR, + [Description("The account of a partner who collaborates with the merchant.")] + COLLABORATOR, /// ///The account of a partner collaborator team member. /// - [Description("The account of a partner collaborator team member.")] - COLLABORATOR_TEAM_MEMBER, + [Description("The account of a partner collaborator team member.")] + COLLABORATOR_TEAM_MEMBER, /// ///The account can be signed into via a SAML provider. /// - [Description("The account can be signed into via a SAML provider.")] - SAML, + [Description("The account can be signed into via a SAML provider.")] + SAML, /// ///The user has not yet accepted the invitation to become the store owner. /// - [Description("The user has not yet accepted the invitation to become the store owner.")] - INVITED_STORE_OWNER, - } - - public static class AccountTypeStringValues - { - public const string REGULAR = @"REGULAR"; - public const string RESTRICTED = @"RESTRICTED"; - public const string INVITED = @"INVITED"; - public const string REQUESTED = @"REQUESTED"; - public const string COLLABORATOR = @"COLLABORATOR"; - public const string COLLABORATOR_TEAM_MEMBER = @"COLLABORATOR_TEAM_MEMBER"; - public const string SAML = @"SAML"; - public const string INVITED_STORE_OWNER = @"INVITED_STORE_OWNER"; - } - + [Description("The user has not yet accepted the invitation to become the store owner.")] + INVITED_STORE_OWNER, + } + + public static class AccountTypeStringValues + { + public const string REGULAR = @"REGULAR"; + public const string RESTRICTED = @"RESTRICTED"; + public const string INVITED = @"INVITED"; + public const string REQUESTED = @"REQUESTED"; + public const string COLLABORATOR = @"COLLABORATOR"; + public const string COLLABORATOR_TEAM_MEMBER = @"COLLABORATOR_TEAM_MEMBER"; + public const string SAML = @"SAML"; + public const string INVITED_STORE_OWNER = @"INVITED_STORE_OWNER"; + } + /// ///Represents an operation publishing all products to a publication. /// - [Description("Represents an operation publishing all products to a publication.")] - public class AddAllProductsOperation : GraphQLObject, INode, IResourceOperation, IPublicationOperation - { + [Description("Represents an operation publishing all products to a publication.")] + public class AddAllProductsOperation : GraphQLObject, INode, IResourceOperation, IPublicationOperation + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The count of processed rows, summing imported, failed, and skipped rows. /// - [Description("The count of processed rows, summing imported, failed, and skipped rows.")] - public int? processedRowCount { get; set; } - + [Description("The count of processed rows, summing imported, failed, and skipped rows.")] + public int? processedRowCount { get; set; } + /// ///Represents a rows objects within this background operation. /// - [Description("Represents a rows objects within this background operation.")] - public RowCount? rowCount { get; set; } - + [Description("Represents a rows objects within this background operation.")] + public RowCount? rowCount { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ResourceOperationStatus))] - public string? status { get; set; } - } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ResourceOperationStatus))] + public string? status { get; set; } + } + /// ///The additional fees that have been applied to the order. /// - [Description("The additional fees that have been applied to the order.")] - public class AdditionalFee : GraphQLObject, INode - { + [Description("The additional fees that have been applied to the order.")] + public class AdditionalFee : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the additional fee. /// - [Description("The name of the additional fee.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the additional fee.")] + [NonNull] + public string? name { get; set; } + /// ///The price of the additional fee. /// - [Description("The price of the additional fee.")] - [NonNull] - public MoneyBag? price { get; set; } - + [Description("The price of the additional fee.")] + [NonNull] + public MoneyBag? price { get; set; } + /// ///A list of taxes charged on the additional fee. /// - [Description("A list of taxes charged on the additional fee.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - } - + [Description("A list of taxes charged on the additional fee.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + } + /// ///A sale associated with an additional fee charge. /// - [Description("A sale associated with an additional fee charge.")] - public class AdditionalFeeSale : GraphQLObject, ISale - { + [Description("A sale associated with an additional fee charge.")] + public class AdditionalFeeSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The additional fees for the associated sale. /// - [Description("The additional fees for the associated sale.")] - [NonNull] - public SaleAdditionalFee? additionalFee { get; set; } - + [Description("The additional fees for the associated sale.")] + [NonNull] + public SaleAdditionalFee? additionalFee { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///A sale associated with an order price adjustment. /// - [Description("A sale associated with an order price adjustment.")] - public class AdjustmentSale : GraphQLObject, ISale - { + [Description("A sale associated with an order price adjustment.")] + public class AdjustmentSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///The set of valid sort keys for the Adjustments query. /// - [Description("The set of valid sort keys for the Adjustments query.")] - public enum AdjustmentsSortKeys - { + [Description("The set of valid sort keys for the Adjustments query.")] + public enum AdjustmentsSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `time` value. /// - [Description("Sort by the `time` value.")] - TIME, - } - - public static class AdjustmentsSortKeysStringValues - { - public const string ID = @"ID"; - public const string TIME = @"TIME"; - } - + [Description("Sort by the `time` value.")] + TIME, + } + + public static class AdjustmentsSortKeysStringValues + { + public const string ID = @"ID"; + public const string TIME = @"TIME"; + } + /// ///Represents a discount configuration that applies to all items in a customer's cart without restriction. This object enables store-wide promotions that affect every product equally. /// @@ -1267,419 +1267,419 @@ public static class AdjustmentsSortKeysStringValues /// ///This universal targeting approach simplifies promotional campaigns and provides customers with clear, straightforward savings across the entire product catalog. /// - [Description("Represents a discount configuration that applies to all items in a customer's cart without restriction. This object enables store-wide promotions that affect every product equally.\n\nFor example, a \"Sitewide 10% Off Everything\" sale would target all items, ensuring that every product in the customer's cart receives the promotional discount regardless of category or collection.\n\nThis universal targeting approach simplifies promotional campaigns and provides customers with clear, straightforward savings across the entire product catalog.")] - public class AllDiscountItems : GraphQLObject, IDiscountItems - { + [Description("Represents a discount configuration that applies to all items in a customer's cart without restriction. This object enables store-wide promotions that affect every product equally.\n\nFor example, a \"Sitewide 10% Off Everything\" sale would target all items, ensuring that every product in the customer's cart receives the promotional discount regardless of category or collection.\n\nThis universal targeting approach simplifies promotional campaigns and provides customers with clear, straightforward savings across the entire product catalog.")] + public class AllDiscountItems : GraphQLObject, IDiscountItems + { /// ///Whether all items are eligible for the discount. This value always returns `true`. /// - [Description("Whether all items are eligible for the discount. This value always returns `true`.")] - [NonNull] - public bool? allItems { get; set; } - } - + [Description("Whether all items are eligible for the discount. This value always returns `true`.")] + [NonNull] + public bool? allItems { get; set; } + } + /// ///The Android mobile platform application. /// - [Description("The Android mobile platform application.")] - public class AndroidApplication : GraphQLObject, IMobilePlatformApplication - { + [Description("The Android mobile platform application.")] + public class AndroidApplication : GraphQLObject, IMobilePlatformApplication + { /// ///Whether Android App Links are supported by this app. /// - [Description("Whether Android App Links are supported by this app.")] - [NonNull] - public bool? appLinksEnabled { get; set; } - + [Description("Whether Android App Links are supported by this app.")] + [NonNull] + public bool? appLinksEnabled { get; set; } + /// ///The Android application ID. /// - [Description("The Android application ID.")] - public string? applicationId { get; set; } - + [Description("The Android application ID.")] + public string? applicationId { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The SHA256 fingerprints of the app's signing certificate. /// - [Description("The SHA256 fingerprints of the app's signing certificate.")] - [NonNull] - public IEnumerable? sha256CertFingerprints { get; set; } - } - + [Description("The SHA256 fingerprints of the app's signing certificate.")] + [NonNull] + public IEnumerable? sha256CertFingerprints { get; set; } + } + /// ///A version of the API, as defined by [Shopify API versioning](https://shopify.dev/api/usage/versioning). ///Versions are commonly referred to by their handle (for example, `2021-10`). /// - [Description("A version of the API, as defined by [Shopify API versioning](https://shopify.dev/api/usage/versioning).\nVersions are commonly referred to by their handle (for example, `2021-10`).")] - public class ApiVersion : GraphQLObject - { + [Description("A version of the API, as defined by [Shopify API versioning](https://shopify.dev/api/usage/versioning).\nVersions are commonly referred to by their handle (for example, `2021-10`).")] + public class ApiVersion : GraphQLObject + { /// ///The human-readable name of the version. /// - [Description("The human-readable name of the version.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The human-readable name of the version.")] + [NonNull] + public string? displayName { get; set; } + /// ///The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle. /// - [Description("The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle.")] - [NonNull] - public string? handle { get; set; } - + [Description("The unique identifier of an ApiVersion. All supported API versions have a date-based (YYYY-MM) or `unstable` handle.")] + [NonNull] + public string? handle { get; set; } + /// ///Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning). /// - [Description("Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning).")] - [NonNull] - public bool? supported { get; set; } - } - + [Description("Whether the version is actively supported by Shopify. Supported API versions are guaranteed to be stable. Unsupported API versions include unstable, release candidate, and end-of-life versions that are marked as unsupported. For more information, refer to [Versioning](https://shopify.dev/api/usage/versioning).")] + [NonNull] + public bool? supported { get; set; } + } + /// ///A Shopify application. /// - [Description("A Shopify application.")] - public class App : GraphQLObject, INode - { + [Description("A Shopify application.")] + public class App : GraphQLObject, INode + { /// ///A unique application API identifier. /// - [Description("A unique application API identifier.")] - [NonNull] - public string? apiKey { get; set; } - + [Description("A unique application API identifier.")] + [NonNull] + public string? apiKey { get; set; } + /// ///App store page URL of the app. /// - [Description("App store page URL of the app.")] - public string? appStoreAppUrl { get; set; } - + [Description("App store page URL of the app.")] + public string? appStoreAppUrl { get; set; } + /// ///App store page URL of the developer who created the app. /// - [Description("App store page URL of the developer who created the app.")] - public string? appStoreDeveloperUrl { get; set; } - + [Description("App store page URL of the developer who created the app.")] + public string? appStoreDeveloperUrl { get; set; } + /// ///All requestable access scopes available to the app. /// - [Description("All requestable access scopes available to the app.")] - [NonNull] - public IEnumerable? availableAccessScopes { get; set; } - + [Description("All requestable access scopes available to the app.")] + [NonNull] + public IEnumerable? availableAccessScopes { get; set; } + /// ///Banner image for the app. /// - [Description("Banner image for the app.")] - [NonNull] - public Image? banner { get; set; } - + [Description("Banner image for the app.")] + [NonNull] + public Image? banner { get; set; } + /// ///Description of the app. /// - [Description("Description of the app.")] - public string? description { get; set; } - + [Description("Description of the app.")] + public string? description { get; set; } + /// ///The name of the app developer. /// - [Description("The name of the app developer.")] - public string? developerName { get; set; } - + [Description("The name of the app developer.")] + public string? developerName { get; set; } + /// ///The type of app developer. /// - [Description("The type of app developer.")] - [NonNull] - [EnumType(typeof(AppDeveloperType))] - public string? developerType { get; set; } - + [Description("The type of app developer.")] + [NonNull] + [EnumType(typeof(AppDeveloperType))] + public string? developerType { get; set; } + /// ///Website of the developer who created the app. /// - [Description("Website of the developer who created the app.")] - [Obsolete("Use `appStoreDeveloperUrl` instead.")] - [NonNull] - public string? developerUrl { get; set; } - + [Description("Website of the developer who created the app.")] + [Obsolete("Use `appStoreDeveloperUrl` instead.")] + [NonNull] + public string? developerUrl { get; set; } + /// ///Whether the app uses the Embedded App SDK. /// - [Description("Whether the app uses the Embedded App SDK.")] - [NonNull] - public bool? embedded { get; set; } - + [Description("Whether the app uses the Embedded App SDK.")] + [NonNull] + public bool? embedded { get; set; } + /// ///Requirements that must be met before the app can be installed. /// - [Description("Requirements that must be met before the app can be installed.")] - [NonNull] - public IEnumerable? failedRequirements { get; set; } - + [Description("Requirements that must be met before the app can be installed.")] + [NonNull] + public IEnumerable? failedRequirements { get; set; } + /// ///A list of app features that are shown in the Shopify App Store listing. /// - [Description("A list of app features that are shown in the Shopify App Store listing.")] - [NonNull] - public IEnumerable? features { get; set; } - + [Description("A list of app features that are shown in the Shopify App Store listing.")] + [NonNull] + public IEnumerable? features { get; set; } + /// ///Feedback from this app about the store. /// - [Description("Feedback from this app about the store.")] - public AppFeedback? feedback { get; set; } - + [Description("Feedback from this app about the store.")] + public AppFeedback? feedback { get; set; } + /// ///Handle of the app. /// - [Description("Handle of the app.")] - public string? handle { get; set; } - + [Description("Handle of the app.")] + public string? handle { get; set; } + /// ///Icon that represents the app. /// - [Description("Icon that represents the app.")] - [NonNull] - public Image? icon { get; set; } - + [Description("Icon that represents the app.")] + [NonNull] + public Image? icon { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Webpage where you can install the app, if app requires explicit user permission. /// - [Description("Webpage where you can install the app, if app requires explicit user permission.")] - public string? installUrl { get; set; } - + [Description("Webpage where you can install the app, if app requires explicit user permission.")] + public string? installUrl { get; set; } + /// ///Corresponding AppInstallation for this shop and App. ///Returns null if the App is not installed. /// - [Description("Corresponding AppInstallation for this shop and App.\nReturns null if the App is not installed.")] - public AppInstallation? installation { get; set; } - + [Description("Corresponding AppInstallation for this shop and App.\nReturns null if the App is not installed.")] + public AppInstallation? installation { get; set; } + /// ///Whether the app is the [post purchase](https://shopify.dev/apps/checkout/post-purchase) app in use. /// - [Description("Whether the app is the [post purchase](https://shopify.dev/apps/checkout/post-purchase) app in use.")] - [NonNull] - public bool? isPostPurchaseAppInUse { get; set; } - + [Description("Whether the app is the [post purchase](https://shopify.dev/apps/checkout/post-purchase) app in use.")] + [NonNull] + public bool? isPostPurchaseAppInUse { get; set; } + /// ///Webpage that the app starts in. /// - [Description("Webpage that the app starts in.")] - [Obsolete("Use AppInstallation.launchUrl instead")] - [NonNull] - public string? launchUrl { get; set; } - + [Description("Webpage that the app starts in.")] + [Obsolete("Use AppInstallation.launchUrl instead")] + [NonNull] + public string? launchUrl { get; set; } + /// ///Menu items for the app, which also appear as submenu items in left navigation sidebar in the Shopify admin. /// - [Description("Menu items for the app, which also appear as submenu items in left navigation sidebar in the Shopify admin.")] - [Obsolete("Use AppInstallation.navigationItems instead")] - [NonNull] - public IEnumerable? navigationItems { get; set; } - + [Description("Menu items for the app, which also appear as submenu items in left navigation sidebar in the Shopify admin.")] + [Obsolete("Use AppInstallation.navigationItems instead")] + [NonNull] + public IEnumerable? navigationItems { get; set; } + /// ///The optional scopes requested by the app. Lists the optional access scopes the app has declared in its configuration. These scopes are optionally requested by the app after installation. /// - [Description("The optional scopes requested by the app. Lists the optional access scopes the app has declared in its configuration. These scopes are optionally requested by the app after installation.")] - [NonNull] - public IEnumerable? optionalAccessScopes { get; set; } - + [Description("The optional scopes requested by the app. Lists the optional access scopes the app has declared in its configuration. These scopes are optionally requested by the app after installation.")] + [NonNull] + public IEnumerable? optionalAccessScopes { get; set; } + /// ///Whether the app was previously installed on the current shop. /// - [Description("Whether the app was previously installed on the current shop.")] - [NonNull] - public bool? previouslyInstalled { get; set; } - + [Description("Whether the app was previously installed on the current shop.")] + [NonNull] + public bool? previouslyInstalled { get; set; } + /// ///Detailed information about the app pricing. /// - [Description("Detailed information about the app pricing.")] - public string? pricingDetails { get; set; } - + [Description("Detailed information about the app pricing.")] + public string? pricingDetails { get; set; } + /// ///Summary of the app pricing details. /// - [Description("Summary of the app pricing details.")] - [NonNull] - public string? pricingDetailsSummary { get; set; } - + [Description("Summary of the app pricing details.")] + [NonNull] + public string? pricingDetailsSummary { get; set; } + /// ///Link to app privacy policy. /// - [Description("Link to app privacy policy.")] - public string? privacyPolicyUrl { get; set; } - + [Description("Link to app privacy policy.")] + public string? privacyPolicyUrl { get; set; } + /// ///The public category for the app. /// - [Description("The public category for the app.")] - [NonNull] - [EnumType(typeof(AppPublicCategory))] - public string? publicCategory { get; set; } - + [Description("The public category for the app.")] + [NonNull] + [EnumType(typeof(AppPublicCategory))] + public string? publicCategory { get; set; } + /// ///Whether the app is published to the Shopify App Store. /// - [Description("Whether the app is published to the Shopify App Store.")] - [NonNull] - public bool? published { get; set; } - + [Description("Whether the app is published to the Shopify App Store.")] + [NonNull] + public bool? published { get; set; } + /// ///The access scopes requested by the app. Lists the access scopes the app has declared in its configuration. Merchant must grant approval to these scopes for the app to be installed. /// - [Description("The access scopes requested by the app. Lists the access scopes the app has declared in its configuration. Merchant must grant approval to these scopes for the app to be installed.")] - [NonNull] - public IEnumerable? requestedAccessScopes { get; set; } - + [Description("The access scopes requested by the app. Lists the access scopes the app has declared in its configuration. Merchant must grant approval to these scopes for the app to be installed.")] + [NonNull] + public IEnumerable? requestedAccessScopes { get; set; } + /// ///Screenshots of the app. /// - [Description("Screenshots of the app.")] - [NonNull] - public IEnumerable? screenshots { get; set; } - + [Description("Screenshots of the app.")] + [NonNull] + public IEnumerable? screenshots { get; set; } + /// ///Whether the app was developed by Shopify. /// - [Description("Whether the app was developed by Shopify.")] - [NonNull] - public bool? shopifyDeveloped { get; set; } - + [Description("Whether the app was developed by Shopify.")] + [NonNull] + public bool? shopifyDeveloped { get; set; } + /// ///The star rating of the app. /// - [Description("The star rating of the app.")] - [NonNull] - public decimal? starRating { get; set; } - + [Description("The star rating of the app.")] + [NonNull] + public decimal? starRating { get; set; } + /// ///Name of the app. /// - [Description("Name of the app.")] - [NonNull] - public string? title { get; set; } - + [Description("Name of the app.")] + [NonNull] + public string? title { get; set; } + /// ///Message that appears when the app is uninstalled. For example: ///By removing this app, you will no longer be able to publish products to MySocialSite or view this app in your Shopify admin. You can re-enable this channel at any time. /// - [Description("Message that appears when the app is uninstalled. For example:\nBy removing this app, you will no longer be able to publish products to MySocialSite or view this app in your Shopify admin. You can re-enable this channel at any time.")] - [NonNull] - public string? uninstallMessage { get; set; } - + [Description("Message that appears when the app is uninstalled. For example:\nBy removing this app, you will no longer be able to publish products to MySocialSite or view this app in your Shopify admin. You can re-enable this channel at any time.")] + [NonNull] + public string? uninstallMessage { get; set; } + /// ///Webpage where you can uninstall the app. /// - [Description("Webpage where you can uninstall the app.")] - [Obsolete("Use AppInstallation.uninstallUrl instead")] - public string? uninstallUrl { get; set; } - + [Description("Webpage where you can uninstall the app.")] + [Obsolete("Use AppInstallation.uninstallUrl instead")] + public string? uninstallUrl { get; set; } + /// ///The webhook API version for the app. /// - [Description("The webhook API version for the app.")] - [NonNull] - public string? webhookApiVersion { get; set; } - } - + [Description("The webhook API version for the app.")] + [NonNull] + public string? webhookApiVersion { get; set; } + } + /// ///A catalog that defines the publication associated with an app. /// - [Description("A catalog that defines the publication associated with an app.")] - public class AppCatalog : GraphQLObject, ICatalog, INode - { + [Description("A catalog that defines the publication associated with an app.")] + public class AppCatalog : GraphQLObject, ICatalog, INode + { /// ///The apps associated with the catalog. /// - [Description("The apps associated with the catalog.")] - [NonNull] - public AppConnection? apps { get; set; } - + [Description("The apps associated with the catalog.")] + [NonNull] + public AppConnection? apps { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Most recent catalog operations. /// - [Description("Most recent catalog operations.")] - [NonNull] - public IEnumerable? operations { get; set; } - + [Description("Most recent catalog operations.")] + [NonNull] + public IEnumerable? operations { get; set; } + /// ///The price list associated with the catalog. /// - [Description("The price list associated with the catalog.")] - public PriceList? priceList { get; set; } - + [Description("The price list associated with the catalog.")] + public PriceList? priceList { get; set; } + /// ///A group of products and collections that's published to a catalog. /// - [Description("A group of products and collections that's published to a catalog.")] - public Publication? publication { get; set; } - + [Description("A group of products and collections that's published to a catalog.")] + public Publication? publication { get; set; } + /// ///The status of the catalog. /// - [Description("The status of the catalog.")] - [NonNull] - [EnumType(typeof(CatalogStatus))] - public string? status { get; set; } - + [Description("The status of the catalog.")] + [NonNull] + [EnumType(typeof(CatalogStatus))] + public string? status { get; set; } + /// ///The name of the catalog. /// - [Description("The name of the catalog.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the catalog.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple Apps. /// - [Description("An auto-generated type for paginating through multiple Apps.")] - public class AppConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Apps.")] + public class AppConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Represents monetary credits that merchants can apply toward future app purchases, subscriptions, or usage-based billing within their Shopify store. App credits provide a flexible way to offer refunds, promotional credits, or compensation without processing external payments. /// @@ -1694,130 +1694,130 @@ public class AppConnection : GraphQLObject, IConnectionWithNodesA /// ///For comprehensive billing strategies and credit management patterns, see the [subscription billing guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing). /// - [Description("Represents monetary credits that merchants can apply toward future app purchases, subscriptions, or usage-based billing within their Shopify store. App credits provide a flexible way to offer refunds, promotional credits, or compensation without processing external payments.\n\nFor example, if a merchant experiences service downtime, an app might issue credits equivalent to the affected billing period. These credits can apply to future charges, reducing the merchant's next invoice or extending their subscription period.\n\nUse the `AppCredit` object to:\n- Issue refunds for service interruptions or billing disputes\n- Provide promotional credits for new merchant onboarding\n- Compensate merchants for app-related issues or downtime\n- Create loyalty rewards or referral bonuses within your billing system\n- Track credit balances and application history for accounting purposes\n\nFor comprehensive billing strategies and credit management patterns, see the [subscription billing guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing).")] - public class AppCredit : GraphQLObject, INode - { + [Description("Represents monetary credits that merchants can apply toward future app purchases, subscriptions, or usage-based billing within their Shopify store. App credits provide a flexible way to offer refunds, promotional credits, or compensation without processing external payments.\n\nFor example, if a merchant experiences service downtime, an app might issue credits equivalent to the affected billing period. These credits can apply to future charges, reducing the merchant's next invoice or extending their subscription period.\n\nUse the `AppCredit` object to:\n- Issue refunds for service interruptions or billing disputes\n- Provide promotional credits for new merchant onboarding\n- Compensate merchants for app-related issues or downtime\n- Create loyalty rewards or referral bonuses within your billing system\n- Track credit balances and application history for accounting purposes\n\nFor comprehensive billing strategies and credit management patterns, see the [subscription billing guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing).")] + public class AppCredit : GraphQLObject, INode + { /// ///The amount that can be used towards future app purchases in Shopify. /// - [Description("The amount that can be used towards future app purchases in Shopify.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount that can be used towards future app purchases in Shopify.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The date and time when the app credit was created. /// - [Description("The date and time when the app credit was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the app credit was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The description of the app credit. /// - [Description("The description of the app credit.")] - [NonNull] - public string? description { get; set; } - + [Description("The description of the app credit.")] + [NonNull] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the app credit is a test transaction. /// - [Description("Whether the app credit is a test transaction.")] - [NonNull] - public bool? test { get; set; } - } - + [Description("Whether the app credit is a test transaction.")] + [NonNull] + public bool? test { get; set; } + } + /// ///An auto-generated type for paginating through multiple AppCredits. /// - [Description("An auto-generated type for paginating through multiple AppCredits.")] - public class AppCreditConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AppCredits.")] + public class AppCreditConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppCreditEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppCreditEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppCreditEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one AppCredit and a cursor during pagination. /// - [Description("An auto-generated type which holds one AppCredit and a cursor during pagination.")] - public class AppCreditEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AppCredit and a cursor during pagination.")] + public class AppCreditEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppCreditEdge. /// - [Description("The item at the end of AppCreditEdge.")] - [NonNull] - public AppCredit? node { get; set; } - } - + [Description("The item at the end of AppCreditEdge.")] + [NonNull] + public AppCredit? node { get; set; } + } + /// ///Possible types of app developer. /// - [Description("Possible types of app developer.")] - public enum AppDeveloperType - { + [Description("Possible types of app developer.")] + public enum AppDeveloperType + { /// ///Indicates the app developer is Shopify. /// - [Description("Indicates the app developer is Shopify.")] - SHOPIFY, + [Description("Indicates the app developer is Shopify.")] + SHOPIFY, /// ///Indicates the app developer is a Partner. /// - [Description("Indicates the app developer is a Partner.")] - PARTNER, + [Description("Indicates the app developer is a Partner.")] + PARTNER, /// ///Indicates the app developer works directly for a Merchant. /// - [Description("Indicates the app developer works directly for a Merchant.")] - MERCHANT, + [Description("Indicates the app developer works directly for a Merchant.")] + MERCHANT, /// ///Indicates the app developer is unknown. It is not categorized as any of the other developer types. /// - [Description("Indicates the app developer is unknown. It is not categorized as any of the other developer types.")] - UNKNOWN, - } - - public static class AppDeveloperTypeStringValues - { - public const string SHOPIFY = @"SHOPIFY"; - public const string PARTNER = @"PARTNER"; - public const string MERCHANT = @"MERCHANT"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("Indicates the app developer is unknown. It is not categorized as any of the other developer types.")] + UNKNOWN, + } + + public static class AppDeveloperTypeStringValues + { + public const string SHOPIFY = @"SHOPIFY"; + public const string PARTNER = @"PARTNER"; + public const string MERCHANT = @"MERCHANT"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///The details about the app extension that's providing the ///[discount type](https://help.shopify.com/manual/discounts/discount-types). @@ -1828,470 +1828,470 @@ public static class AppDeveloperTypeStringValues ///[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries), ///and other metadata about the discount type, including the discount type's name and description. /// - [Description("The details about the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).\nThis information includes the app extension's name and\n[client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets),\n[App Bridge configuration](https://shopify.dev/docs/api/app-bridge),\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations),\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries),\nand other metadata about the discount type, including the discount type's name and description.")] - public class AppDiscountType : GraphQLObject - { + [Description("The details about the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).\nThis information includes the app extension's name and\n[client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets),\n[App Bridge configuration](https://shopify.dev/docs/api/app-bridge),\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations),\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries),\nand other metadata about the discount type, including the discount type's name and description.")] + public class AppDiscountType : GraphQLObject + { /// ///The name of the app extension that's providing the ///[discount type](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The name of the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public App? app { get; set; } - + [Description("The name of the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public App? app { get; set; } + /// ///The [App Bridge configuration](https://shopify.dev/docs/api/app-bridge) ///for the [discount type](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The [App Bridge configuration](https://shopify.dev/docs/api/app-bridge)\nfor the [discount type](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public FunctionsAppBridge? appBridge { get; set; } - + [Description("The [App Bridge configuration](https://shopify.dev/docs/api/app-bridge)\nfor the [discount type](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public FunctionsAppBridge? appBridge { get; set; } + /// ///The [client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets) ///of the app extension that's providing the [discount type](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The [client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets)\nof the app extension that's providing the [discount type](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public string? appKey { get; set; } - + [Description("The [client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets)\nof the app extension that's providing the [discount type](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public string? appKey { get; set; } + /// ///A description of the ///[discount type](https://help.shopify.com/manual/discounts/discount-types) ///provided by the app extension. /// - [Description("A description of the\n[discount type](https://help.shopify.com/manual/discounts/discount-types)\nprovided by the app extension.")] - public string? description { get; set; } - + [Description("A description of the\n[discount type](https://help.shopify.com/manual/discounts/discount-types)\nprovided by the app extension.")] + public string? description { get; set; } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The list of [discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that this app extension supports. /// - [Description("The list of [discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat this app extension supports.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The list of [discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat this app extension supports.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The ///[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries) ///associated with the app extension providing the ///[discount type](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries)\nassociated with the app extension providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public string? functionId { get; set; } - + [Description("The\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries)\nassociated with the app extension providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public string? functionId { get; set; } + /// ///The Shopify Function associated with this app discount rule. /// - [Description("The Shopify Function associated with this app discount rule.")] - [NonNull] - public ShopifyFunction? shopifyFunction { get; set; } - + [Description("The Shopify Function associated with this app discount rule.")] + [NonNull] + public ShopifyFunction? shopifyFunction { get; set; } + /// ///The type of line item on an order that the ///[discount type](https://help.shopify.com/manual/discounts/discount-types) applies to. ///Valid values: `SHIPPING_LINE` and `LINE_ITEM`. /// - [Description("The type of line item on an order that the\n[discount type](https://help.shopify.com/manual/discounts/discount-types) applies to.\nValid values: `SHIPPING_LINE` and `LINE_ITEM`.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("The type of line item on an order that the\n[discount type](https://help.shopify.com/manual/discounts/discount-types) applies to.\nValid values: `SHIPPING_LINE` and `LINE_ITEM`.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The name of the [discount type](https://help.shopify.com/manual/discounts/discount-types) ///that the app extension is providing. /// - [Description("The name of the [discount type](https://help.shopify.com/manual/discounts/discount-types)\nthat the app extension is providing.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the [discount type](https://help.shopify.com/manual/discounts/discount-types)\nthat the app extension is providing.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple AppDiscountTypes. /// - [Description("An auto-generated type for paginating through multiple AppDiscountTypes.")] - public class AppDiscountTypeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AppDiscountTypes.")] + public class AppDiscountTypeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppDiscountTypeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppDiscountTypeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppDiscountTypeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one AppDiscountType and a cursor during pagination. /// - [Description("An auto-generated type which holds one AppDiscountType and a cursor during pagination.")] - public class AppDiscountTypeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AppDiscountType and a cursor during pagination.")] + public class AppDiscountTypeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppDiscountTypeEdge. /// - [Description("The item at the end of AppDiscountTypeEdge.")] - [NonNull] - public AppDiscountType? node { get; set; } - } - + [Description("The item at the end of AppDiscountTypeEdge.")] + [NonNull] + public AppDiscountType? node { get; set; } + } + /// ///An auto-generated type which holds one App and a cursor during pagination. /// - [Description("An auto-generated type which holds one App and a cursor during pagination.")] - public class AppEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one App and a cursor during pagination.")] + public class AppEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppEdge. /// - [Description("The item at the end of AppEdge.")] - [NonNull] - public App? node { get; set; } - } - + [Description("The item at the end of AppEdge.")] + [NonNull] + public App? node { get; set; } + } + /// ///Reports the status of shops and their resources and displays this information ///within Shopify admin. AppFeedback is used to notify merchants about steps they need to take ///to set up an app on their store. /// - [Description("Reports the status of shops and their resources and displays this information\nwithin Shopify admin. AppFeedback is used to notify merchants about steps they need to take\nto set up an app on their store.")] - public class AppFeedback : GraphQLObject - { + [Description("Reports the status of shops and their resources and displays this information\nwithin Shopify admin. AppFeedback is used to notify merchants about steps they need to take\nto set up an app on their store.")] + public class AppFeedback : GraphQLObject + { /// ///The application associated to the feedback. /// - [Description("The application associated to the feedback.")] - [NonNull] - public App? app { get; set; } - + [Description("The application associated to the feedback.")] + [NonNull] + public App? app { get; set; } + /// ///The date and time when the app feedback was generated. /// - [Description("The date and time when the app feedback was generated.")] - [NonNull] - public DateTime? feedbackGeneratedAt { get; set; } - + [Description("The date and time when the app feedback was generated.")] + [NonNull] + public DateTime? feedbackGeneratedAt { get; set; } + /// ///A link to where merchants can resolve errors. /// - [Description("A link to where merchants can resolve errors.")] - public Link? link { get; set; } - + [Description("A link to where merchants can resolve errors.")] + public Link? link { get; set; } + /// ///The feedback message presented to the merchant. /// - [Description("The feedback message presented to the merchant.")] - [NonNull] - public IEnumerable? messages { get; set; } - + [Description("The feedback message presented to the merchant.")] + [NonNull] + public IEnumerable? messages { get; set; } + /// ///Conveys the state of the feedback and whether it requires merchant action or not. /// - [Description("Conveys the state of the feedback and whether it requires merchant action or not.")] - [NonNull] - [EnumType(typeof(ResourceFeedbackState))] - public string? state { get; set; } - } - + [Description("Conveys the state of the feedback and whether it requires merchant action or not.")] + [NonNull] + [EnumType(typeof(ResourceFeedbackState))] + public string? state { get; set; } + } + /// ///Represents an installed application on a shop. /// - [Description("Represents an installed application on a shop.")] - public class AppInstallation : GraphQLObject, IHasMetafields, INode, IMetafieldReferencer - { + [Description("Represents an installed application on a shop.")] + public class AppInstallation : GraphQLObject, IHasMetafields, INode, IMetafieldReferencer + { /// ///The access scopes granted to the application by a merchant during installation. /// - [Description("The access scopes granted to the application by a merchant during installation.")] - [NonNull] - public IEnumerable? accessScopes { get; set; } - + [Description("The access scopes granted to the application by a merchant during installation.")] + [NonNull] + public IEnumerable? accessScopes { get; set; } + /// ///The active application subscriptions billed to the shop on a recurring basis. /// - [Description("The active application subscriptions billed to the shop on a recurring basis.")] - [NonNull] - public IEnumerable? activeSubscriptions { get; set; } - + [Description("The active application subscriptions billed to the shop on a recurring basis.")] + [NonNull] + public IEnumerable? activeSubscriptions { get; set; } + /// ///All subscriptions created for a shop. /// - [Description("All subscriptions created for a shop.")] - [NonNull] - public AppSubscriptionConnection? allSubscriptions { get; set; } - + [Description("All subscriptions created for a shop.")] + [NonNull] + public AppSubscriptionConnection? allSubscriptions { get; set; } + /// ///Application which is installed. /// - [Description("Application which is installed.")] - [NonNull] - public App? app { get; set; } - + [Description("Application which is installed.")] + [NonNull] + public App? app { get; set; } + /// ///Channel associated with the installed application. /// - [Description("Channel associated with the installed application.")] - [Obsolete("Use `publication` instead.")] - public Channel? channel { get; set; } - + [Description("Channel associated with the installed application.")] + [Obsolete("Use `publication` instead.")] + public Channel? channel { get; set; } + /// ///Credits that can be used towards future app purchases. /// - [Description("Credits that can be used towards future app purchases.")] - [NonNull] - public AppCreditConnection? credits { get; set; } - + [Description("Credits that can be used towards future app purchases.")] + [NonNull] + public AppCreditConnection? credits { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The URL to launch the application. /// - [Description("The URL to launch the application.")] - [NonNull] - public string? launchUrl { get; set; } - + [Description("The URL to launch the application.")] + [NonNull] + public string? launchUrl { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///One-time purchases to a shop. /// - [Description("One-time purchases to a shop.")] - [NonNull] - public AppPurchaseOneTimeConnection? oneTimePurchases { get; set; } - + [Description("One-time purchases to a shop.")] + [NonNull] + public AppPurchaseOneTimeConnection? oneTimePurchases { get; set; } + /// ///The publication associated with the installed application. /// - [Description("The publication associated with the installed application.")] - public Publication? publication { get; set; } - + [Description("The publication associated with the installed application.")] + public Publication? publication { get; set; } + /// ///The records that track the externally-captured revenue for the app. The records are used for revenue attribution purposes. /// - [Description("The records that track the externally-captured revenue for the app. The records are used for revenue attribution purposes.")] - [NonNull] - public AppRevenueAttributionRecordConnection? revenueAttributionRecords { get; set; } - + [Description("The records that track the externally-captured revenue for the app. The records are used for revenue attribution purposes.")] + [NonNull] + public AppRevenueAttributionRecordConnection? revenueAttributionRecords { get; set; } + /// ///Subscriptions charge to a shop on a recurring basis. /// - [Description("Subscriptions charge to a shop on a recurring basis.")] - [Obsolete("Use `activeSubscriptions` instead.")] - [NonNull] - public IEnumerable? subscriptions { get; set; } - + [Description("Subscriptions charge to a shop on a recurring basis.")] + [Obsolete("Use `activeSubscriptions` instead.")] + [NonNull] + public IEnumerable? subscriptions { get; set; } + /// ///The URL to uninstall the application. /// - [Description("The URL to uninstall the application.")] - public string? uninstallUrl { get; set; } - } - + [Description("The URL to uninstall the application.")] + public string? uninstallUrl { get; set; } + } + /// ///The possible categories of an app installation, based on their purpose ///or the environment they can run in. /// - [Description("The possible categories of an app installation, based on their purpose\nor the environment they can run in.")] - public enum AppInstallationCategory - { + [Description("The possible categories of an app installation, based on their purpose\nor the environment they can run in.")] + public enum AppInstallationCategory + { /// ///Apps that serve as channels through which sales are made, such as the online store. /// - [Description("Apps that serve as channels through which sales are made, such as the online store.")] - CHANNEL, + [Description("Apps that serve as channels through which sales are made, such as the online store.")] + CHANNEL, /// ///Apps that can be used in the POS mobile client. /// - [Description("Apps that can be used in the POS mobile client.")] - POS_EMBEDDED, - } - - public static class AppInstallationCategoryStringValues - { - public const string CHANNEL = @"CHANNEL"; - public const string POS_EMBEDDED = @"POS_EMBEDDED"; - } - + [Description("Apps that can be used in the POS mobile client.")] + POS_EMBEDDED, + } + + public static class AppInstallationCategoryStringValues + { + public const string CHANNEL = @"CHANNEL"; + public const string POS_EMBEDDED = @"POS_EMBEDDED"; + } + /// ///An auto-generated type for paginating through multiple AppInstallations. /// - [Description("An auto-generated type for paginating through multiple AppInstallations.")] - public class AppInstallationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AppInstallations.")] + public class AppInstallationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppInstallationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppInstallationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppInstallationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one AppInstallation and a cursor during pagination. /// - [Description("An auto-generated type which holds one AppInstallation and a cursor during pagination.")] - public class AppInstallationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AppInstallation and a cursor during pagination.")] + public class AppInstallationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppInstallationEdge. /// - [Description("The item at the end of AppInstallationEdge.")] - [NonNull] - public AppInstallation? node { get; set; } - } - + [Description("The item at the end of AppInstallationEdge.")] + [NonNull] + public AppInstallation? node { get; set; } + } + /// ///The levels of privacy of an app installation. /// - [Description("The levels of privacy of an app installation.")] - public enum AppInstallationPrivacy - { - PUBLIC, - PRIVATE, - } - - public static class AppInstallationPrivacyStringValues - { - public const string PUBLIC = @"PUBLIC"; - public const string PRIVATE = @"PRIVATE"; - } - + [Description("The levels of privacy of an app installation.")] + public enum AppInstallationPrivacy + { + PUBLIC, + PRIVATE, + } + + public static class AppInstallationPrivacyStringValues + { + public const string PUBLIC = @"PUBLIC"; + public const string PRIVATE = @"PRIVATE"; + } + /// ///The set of valid sort keys for the AppInstallation query. /// - [Description("The set of valid sort keys for the AppInstallation query.")] - public enum AppInstallationSortKeys - { + [Description("The set of valid sort keys for the AppInstallation query.")] + public enum AppInstallationSortKeys + { /// ///Sort by the `app_title` value. /// - [Description("Sort by the `app_title` value.")] - APP_TITLE, + [Description("Sort by the `app_title` value.")] + APP_TITLE, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `installed_at` value. /// - [Description("Sort by the `installed_at` value.")] - INSTALLED_AT, - } - - public static class AppInstallationSortKeysStringValues - { - public const string APP_TITLE = @"APP_TITLE"; - public const string ID = @"ID"; - public const string INSTALLED_AT = @"INSTALLED_AT"; - } - + [Description("Sort by the `installed_at` value.")] + INSTALLED_AT, + } + + public static class AppInstallationSortKeysStringValues + { + public const string APP_TITLE = @"APP_TITLE"; + public const string ID = @"ID"; + public const string INSTALLED_AT = @"INSTALLED_AT"; + } + /// ///The pricing model for the app subscription. ///The pricing model input can be either `appRecurringPricingDetails` or `appUsagePricingDetails`. /// - [Description("The pricing model for the app subscription.\nThe pricing model input can be either `appRecurringPricingDetails` or `appUsagePricingDetails`.")] - public class AppPlanInput : GraphQLObject - { + [Description("The pricing model for the app subscription.\nThe pricing model input can be either `appRecurringPricingDetails` or `appUsagePricingDetails`.")] + public class AppPlanInput : GraphQLObject + { /// ///The pricing details for usage-based billing. /// - [Description("The pricing details for usage-based billing.")] - public AppUsagePricingInput? appUsagePricingDetails { get; set; } - + [Description("The pricing details for usage-based billing.")] + public AppUsagePricingInput? appUsagePricingDetails { get; set; } + /// ///The pricing details for recurring billing. /// - [Description("The pricing details for recurring billing.")] - public AppRecurringPricingInput? appRecurringPricingDetails { get; set; } - } - + [Description("The pricing details for recurring billing.")] + public AppRecurringPricingInput? appRecurringPricingDetails { get; set; } + } + /// ///Contains the pricing details for the app plan that a merchant has subscribed to within their current billing arrangement. /// @@ -2299,151 +2299,151 @@ public class AppPlanInput : GraphQLObject /// ///Details about subscription management and pricing strategies are available in the [app billing documentation](https://shopify.dev/docs/apps/launch/billing). /// - [Description("Contains the pricing details for the app plan that a merchant has subscribed to within their current billing arrangement.\n\nThis simplified object focuses on the essential pricing information merchants need to understand their current subscription costs and billing structure.\n\nDetails about subscription management and pricing strategies are available in the [app billing documentation](https://shopify.dev/docs/apps/launch/billing).")] - public class AppPlanV2 : GraphQLObject - { + [Description("Contains the pricing details for the app plan that a merchant has subscribed to within their current billing arrangement.\n\nThis simplified object focuses on the essential pricing information merchants need to understand their current subscription costs and billing structure.\n\nDetails about subscription management and pricing strategies are available in the [app billing documentation](https://shopify.dev/docs/apps/launch/billing).")] + public class AppPlanV2 : GraphQLObject + { /// ///The plan billed to a shop on a recurring basis. /// - [Description("The plan billed to a shop on a recurring basis.")] - [NonNull] - public IAppPricingDetails? pricingDetails { get; set; } - } - + [Description("The plan billed to a shop on a recurring basis.")] + [NonNull] + public IAppPricingDetails? pricingDetails { get; set; } + } + /// ///The information about the price that's charged to a shop every plan period. ///The concrete type can be `AppRecurringPricing` for recurring billing or `AppUsagePricing` for usage-based billing. /// - [Description("The information about the price that's charged to a shop every plan period.\nThe concrete type can be `AppRecurringPricing` for recurring billing or `AppUsagePricing` for usage-based billing.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AppRecurringPricing), typeDiscriminator: "AppRecurringPricing")] - [JsonDerivedType(typeof(AppUsagePricing), typeDiscriminator: "AppUsagePricing")] - public interface IAppPricingDetails : IGraphQLObject - { - public AppRecurringPricing? AsAppRecurringPricing() => this as AppRecurringPricing; - public AppUsagePricing? AsAppUsagePricing() => this as AppUsagePricing; + [Description("The information about the price that's charged to a shop every plan period.\nThe concrete type can be `AppRecurringPricing` for recurring billing or `AppUsagePricing` for usage-based billing.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AppRecurringPricing), typeDiscriminator: "AppRecurringPricing")] + [JsonDerivedType(typeof(AppUsagePricing), typeDiscriminator: "AppUsagePricing")] + public interface IAppPricingDetails : IGraphQLObject + { + public AppRecurringPricing? AsAppRecurringPricing() => this as AppRecurringPricing; + public AppUsagePricing? AsAppUsagePricing() => this as AppUsagePricing; /// ///The frequency at which the subscribing shop is billed for an app subscription. /// - [Description("The frequency at which the subscribing shop is billed for an app subscription.")] - [NonNull] - [EnumType(typeof(AppPricingInterval))] - public string? interval { get; set; } - } - + [Description("The frequency at which the subscribing shop is billed for an app subscription.")] + [NonNull] + [EnumType(typeof(AppPricingInterval))] + public string? interval { get; set; } + } + /// ///The frequency at which the shop is billed for an app subscription. /// - [Description("The frequency at which the shop is billed for an app subscription.")] - public enum AppPricingInterval - { + [Description("The frequency at which the shop is billed for an app subscription.")] + public enum AppPricingInterval + { /// ///The app subscription bills the shop annually. /// - [Description("The app subscription bills the shop annually.")] - ANNUAL, + [Description("The app subscription bills the shop annually.")] + ANNUAL, /// ///The app subscription bills the shop every 30 days. /// - [Description("The app subscription bills the shop every 30 days.")] - EVERY_30_DAYS, - } - - public static class AppPricingIntervalStringValues - { - public const string ANNUAL = @"ANNUAL"; - public const string EVERY_30_DAYS = @"EVERY_30_DAYS"; - } - + [Description("The app subscription bills the shop every 30 days.")] + EVERY_30_DAYS, + } + + public static class AppPricingIntervalStringValues + { + public const string ANNUAL = @"ANNUAL"; + public const string EVERY_30_DAYS = @"EVERY_30_DAYS"; + } + /// ///The public-facing category for an app. /// - [Description("The public-facing category for an app.")] - public enum AppPublicCategory - { + [Description("The public-facing category for an app.")] + public enum AppPublicCategory + { /// ///The app's public category is [private](https://shopify.dev/apps/distribution#deprecated-app-types). /// - [Description("The app's public category is [private](https://shopify.dev/apps/distribution#deprecated-app-types).")] - PRIVATE, + [Description("The app's public category is [private](https://shopify.dev/apps/distribution#deprecated-app-types).")] + PRIVATE, /// ///The app's public category is [public](https://shopify.dev/apps/distribution#capabilities-and-requirements). /// - [Description("The app's public category is [public](https://shopify.dev/apps/distribution#capabilities-and-requirements).")] - PUBLIC, + [Description("The app's public category is [public](https://shopify.dev/apps/distribution#capabilities-and-requirements).")] + PUBLIC, /// ///The app's public category is [custom](https://shopify.dev/apps/distribution#capabilities-and-requirements). /// - [Description("The app's public category is [custom](https://shopify.dev/apps/distribution#capabilities-and-requirements).")] - CUSTOM, + [Description("The app's public category is [custom](https://shopify.dev/apps/distribution#capabilities-and-requirements).")] + CUSTOM, /// ///The app's public category is other. An app is in this category if it's not classified under any of the other app types (private, public, or custom). /// - [Description("The app's public category is other. An app is in this category if it's not classified under any of the other app types (private, public, or custom).")] - OTHER, - } - - public static class AppPublicCategoryStringValues - { - public const string PRIVATE = @"PRIVATE"; - public const string PUBLIC = @"PUBLIC"; - public const string CUSTOM = @"CUSTOM"; - public const string OTHER = @"OTHER"; - } - + [Description("The app's public category is other. An app is in this category if it's not classified under any of the other app types (private, public, or custom).")] + OTHER, + } + + public static class AppPublicCategoryStringValues + { + public const string PRIVATE = @"PRIVATE"; + public const string PUBLIC = @"PUBLIC"; + public const string CUSTOM = @"CUSTOM"; + public const string OTHER = @"OTHER"; + } + /// ///Services and features purchased once by the store. /// - [Description("Services and features purchased once by the store.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AppPurchaseOneTime), typeDiscriminator: "AppPurchaseOneTime")] - public interface IAppPurchase : IGraphQLObject - { - public AppPurchaseOneTime? AsAppPurchaseOneTime() => this as AppPurchaseOneTime; + [Description("Services and features purchased once by the store.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AppPurchaseOneTime), typeDiscriminator: "AppPurchaseOneTime")] + public interface IAppPurchase : IGraphQLObject + { + public AppPurchaseOneTime? AsAppPurchaseOneTime() => this as AppPurchaseOneTime; /// ///The date and time when the app purchase occurred. /// - [Description("The date and time when the app purchase occurred.")] - [NonNull] - public DateTime? createdAt { get; } - + [Description("The date and time when the app purchase occurred.")] + [NonNull] + public DateTime? createdAt { get; } + /// ///The name of the app purchase. /// - [Description("The name of the app purchase.")] - [NonNull] - public string? name { get; } - + [Description("The name of the app purchase.")] + [NonNull] + public string? name { get; } + /// ///The amount to be charged to the store for the app purchase. /// - [Description("The amount to be charged to the store for the app purchase.")] - [NonNull] - public MoneyV2? price { get; } - + [Description("The amount to be charged to the store for the app purchase.")] + [NonNull] + public MoneyV2? price { get; } + /// ///The URL where the merchant is redirected after approving the app purchase. /// - [Description("The URL where the merchant is redirected after approving the app purchase.")] - [NonNull] - public string? returnUrl { get; } - + [Description("The URL where the merchant is redirected after approving the app purchase.")] + [NonNull] + public string? returnUrl { get; } + /// ///The status of the app purchase. /// - [Description("The status of the app purchase.")] - [NonNull] - [EnumType(typeof(AppPurchaseStatus))] - public string? status { get; } - + [Description("The status of the app purchase.")] + [NonNull] + [EnumType(typeof(AppPurchaseStatus))] + public string? status { get; } + /// ///Whether the app purchase is a test transaction. /// - [Description("Whether the app purchase is a test transaction.")] - [NonNull] - public bool? test { get; } - } - + [Description("Whether the app purchase is a test transaction.")] + [NonNull] + public bool? test { get; } + } + /// ///Represents a one-time purchase of app services or features by a merchant, tracking the transaction details and status throughout the billing lifecycle. This object captures essential information about non-recurring charges, including price and merchant acceptance status. /// @@ -2460,100 +2460,100 @@ public interface IAppPurchase : IGraphQLObject /// ///For detailed implementation patterns and billing best practices, see the [one-time-charges page](https://shopify.dev/docs/apps/launch/billing/one-time-charges). /// - [Description("Represents a one-time purchase of app services or features by a merchant, tracking the transaction details and status throughout the billing lifecycle. This object captures essential information about non-recurring charges, including price and merchant acceptance status.\n\nOne-time purchases are particularly valuable for apps offering premium features, professional services, or digital products that don't require ongoing subscriptions. For instance, a photography app might sell premium filters as one-time purchases, while a marketing app could charge for individual campaign setups or advanced analytics reports.\n\nUse the `AppPurchaseOneTime` object to:\n- Track the status of individual feature purchases and service charges\n- Track payment status for premium content or digital products\n- Access purchase details to enable or disable features based on payment status\n\nThe purchase status indicates whether the charge is pending merchant approval, has been accepted and processed, or was declined. This status tracking is crucial for apps that need to conditionally enable features based on successful payment completion.\n\nPurchase records include creation timestamps, pricing details, and test flags to distinguish between production charges and development testing. The test flag ensures that development and staging environments don't generate actual charges while maintaining realistic billing flow testing.\n\nFor detailed implementation patterns and billing best practices, see the [one-time-charges page](https://shopify.dev/docs/apps/launch/billing/one-time-charges).")] - public class AppPurchaseOneTime : GraphQLObject, IAppPurchase, INode - { + [Description("Represents a one-time purchase of app services or features by a merchant, tracking the transaction details and status throughout the billing lifecycle. This object captures essential information about non-recurring charges, including price and merchant acceptance status.\n\nOne-time purchases are particularly valuable for apps offering premium features, professional services, or digital products that don't require ongoing subscriptions. For instance, a photography app might sell premium filters as one-time purchases, while a marketing app could charge for individual campaign setups or advanced analytics reports.\n\nUse the `AppPurchaseOneTime` object to:\n- Track the status of individual feature purchases and service charges\n- Track payment status for premium content or digital products\n- Access purchase details to enable or disable features based on payment status\n\nThe purchase status indicates whether the charge is pending merchant approval, has been accepted and processed, or was declined. This status tracking is crucial for apps that need to conditionally enable features based on successful payment completion.\n\nPurchase records include creation timestamps, pricing details, and test flags to distinguish between production charges and development testing. The test flag ensures that development and staging environments don't generate actual charges while maintaining realistic billing flow testing.\n\nFor detailed implementation patterns and billing best practices, see the [one-time-charges page](https://shopify.dev/docs/apps/launch/billing/one-time-charges).")] + public class AppPurchaseOneTime : GraphQLObject, IAppPurchase, INode + { /// ///The date and time when the app purchase occurred. /// - [Description("The date and time when the app purchase occurred.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the app purchase occurred.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the app purchase. /// - [Description("The name of the app purchase.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the app purchase.")] + [NonNull] + public string? name { get; set; } + /// ///The amount to be charged to the store for the app purchase. /// - [Description("The amount to be charged to the store for the app purchase.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The amount to be charged to the store for the app purchase.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///The URL where the merchant is redirected after approving the app purchase. /// - [Description("The URL where the merchant is redirected after approving the app purchase.")] - [NonNull] - public string? returnUrl { get; set; } - + [Description("The URL where the merchant is redirected after approving the app purchase.")] + [NonNull] + public string? returnUrl { get; set; } + /// ///The status of the app purchase. /// - [Description("The status of the app purchase.")] - [NonNull] - [EnumType(typeof(AppPurchaseStatus))] - public string? status { get; set; } - + [Description("The status of the app purchase.")] + [NonNull] + [EnumType(typeof(AppPurchaseStatus))] + public string? status { get; set; } + /// ///Whether the app purchase is a test transaction. /// - [Description("Whether the app purchase is a test transaction.")] - [NonNull] - public bool? test { get; set; } - } - + [Description("Whether the app purchase is a test transaction.")] + [NonNull] + public bool? test { get; set; } + } + /// ///An auto-generated type for paginating through multiple AppPurchaseOneTimes. /// - [Description("An auto-generated type for paginating through multiple AppPurchaseOneTimes.")] - public class AppPurchaseOneTimeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AppPurchaseOneTimes.")] + public class AppPurchaseOneTimeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppPurchaseOneTimeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppPurchaseOneTimeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppPurchaseOneTimeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `appPurchaseOneTimeCreate` mutation. /// - [Description("Return type for `appPurchaseOneTimeCreate` mutation.")] - public class AppPurchaseOneTimeCreatePayload : GraphQLObject - { + [Description("Return type for `appPurchaseOneTimeCreate` mutation.")] + public class AppPurchaseOneTimeCreatePayload : GraphQLObject + { /// ///The newly created app one-time purchase. /// - [Description("The newly created app one-time purchase.")] - public AppPurchaseOneTime? appPurchaseOneTime { get; set; } - + [Description("The newly created app one-time purchase.")] + public AppPurchaseOneTime? appPurchaseOneTime { get; set; } + /// ///The URL that the merchant can access to approve or decline the newly created app one-time purchase. /// @@ -2562,38 +2562,38 @@ public class AppPurchaseOneTimeCreatePayload : GraphQLObject - [Description("The URL that the merchant can access to approve or decline the newly created app one-time purchase.\n\nIf the merchant declines, then the merchant is redirected to the app and receives a notification message stating that the charge was declined.\nIf the merchant approves and they're successfully invoiced, then the state of the charge changes from `pending` to `active`.\n\nYou get paid after the charge is activated.")] - public string? confirmationUrl { get; set; } - + [Description("The URL that the merchant can access to approve or decline the newly created app one-time purchase.\n\nIf the merchant declines, then the merchant is redirected to the app and receives a notification message stating that the charge was declined.\nIf the merchant approves and they're successfully invoiced, then the state of the charge changes from `pending` to `active`.\n\nYou get paid after the charge is activated.")] + public string? confirmationUrl { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one AppPurchaseOneTime and a cursor during pagination. /// - [Description("An auto-generated type which holds one AppPurchaseOneTime and a cursor during pagination.")] - public class AppPurchaseOneTimeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AppPurchaseOneTime and a cursor during pagination.")] + public class AppPurchaseOneTimeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppPurchaseOneTimeEdge. /// - [Description("The item at the end of AppPurchaseOneTimeEdge.")] - [NonNull] - public AppPurchaseOneTime? node { get; set; } - } - + [Description("The item at the end of AppPurchaseOneTimeEdge.")] + [NonNull] + public AppPurchaseOneTime? node { get; set; } + } + /// ///The approval status of the app purchase. /// @@ -2603,110 +2603,110 @@ public class AppPurchaseOneTimeEdge : GraphQLObject, IEd ///Purchases start as `pending` and can change to: `active`, `declined`, `expired`. After a purchase changes, it ///remains in that final state. /// - [Description("The approval status of the app purchase.\n\nThe merchant is charged for the purchase immediately after approval, and the status changes to `active`.\nIf the payment fails, then the app purchase remains `pending`.\n\nPurchases start as `pending` and can change to: `active`, `declined`, `expired`. After a purchase changes, it\nremains in that final state.")] - public enum AppPurchaseStatus - { + [Description("The approval status of the app purchase.\n\nThe merchant is charged for the purchase immediately after approval, and the status changes to `active`.\nIf the payment fails, then the app purchase remains `pending`.\n\nPurchases start as `pending` and can change to: `active`, `declined`, `expired`. After a purchase changes, it\nremains in that final state.")] + public enum AppPurchaseStatus + { /// ///The app purchase has been approved by the merchant and is ready to be activated by the app. App purchases created through the GraphQL Admin API are activated upon approval. /// - [Description("The app purchase has been approved by the merchant and is ready to be activated by the app. App purchases created through the GraphQL Admin API are activated upon approval.")] - [Obsolete("When a merchant accepts an app purchase, the status immediately changes from `pending` to `active`.")] - ACCEPTED, + [Description("The app purchase has been approved by the merchant and is ready to be activated by the app. App purchases created through the GraphQL Admin API are activated upon approval.")] + [Obsolete("When a merchant accepts an app purchase, the status immediately changes from `pending` to `active`.")] + ACCEPTED, /// ///The app purchase was approved by the merchant and has been activated by the app. Active app purchases are charged to the merchant and are paid out to the partner. /// - [Description("The app purchase was approved by the merchant and has been activated by the app. Active app purchases are charged to the merchant and are paid out to the partner.")] - ACTIVE, + [Description("The app purchase was approved by the merchant and has been activated by the app. Active app purchases are charged to the merchant and are paid out to the partner.")] + ACTIVE, /// ///The app purchase was declined by the merchant. /// - [Description("The app purchase was declined by the merchant.")] - DECLINED, + [Description("The app purchase was declined by the merchant.")] + DECLINED, /// ///The app purchase was not accepted within two days of being created. /// - [Description("The app purchase was not accepted within two days of being created.")] - EXPIRED, + [Description("The app purchase was not accepted within two days of being created.")] + EXPIRED, /// ///The app purchase is pending approval by the merchant. /// - [Description("The app purchase is pending approval by the merchant.")] - PENDING, - } - - public static class AppPurchaseStatusStringValues - { - [Obsolete("When a merchant accepts an app purchase, the status immediately changes from `pending` to `active`.")] - public const string ACCEPTED = @"ACCEPTED"; - public const string ACTIVE = @"ACTIVE"; - public const string DECLINED = @"DECLINED"; - public const string EXPIRED = @"EXPIRED"; - public const string PENDING = @"PENDING"; - } - + [Description("The app purchase is pending approval by the merchant.")] + PENDING, + } + + public static class AppPurchaseStatusStringValues + { + [Obsolete("When a merchant accepts an app purchase, the status immediately changes from `pending` to `active`.")] + public const string ACCEPTED = @"ACCEPTED"; + public const string ACTIVE = @"ACTIVE"; + public const string DECLINED = @"DECLINED"; + public const string EXPIRED = @"EXPIRED"; + public const string PENDING = @"PENDING"; + } + /// ///The pricing information about a subscription app. ///The object contains an interval (the frequency at which the shop is billed for an app subscription) and ///a price (the amount to be charged to the subscribing shop at each interval). /// - [Description("The pricing information about a subscription app.\nThe object contains an interval (the frequency at which the shop is billed for an app subscription) and\na price (the amount to be charged to the subscribing shop at each interval).")] - public class AppRecurringPricing : GraphQLObject, IAppPricingDetails - { + [Description("The pricing information about a subscription app.\nThe object contains an interval (the frequency at which the shop is billed for an app subscription) and\na price (the amount to be charged to the subscribing shop at each interval).")] + public class AppRecurringPricing : GraphQLObject, IAppPricingDetails + { /// ///The discount applied to the subscription for a given number of billing intervals. /// - [Description("The discount applied to the subscription for a given number of billing intervals.")] - public AppSubscriptionDiscount? discount { get; set; } - + [Description("The discount applied to the subscription for a given number of billing intervals.")] + public AppSubscriptionDiscount? discount { get; set; } + /// ///The frequency at which the subscribing shop is billed for an app subscription. /// - [Description("The frequency at which the subscribing shop is billed for an app subscription.")] - [NonNull] - [EnumType(typeof(AppPricingInterval))] - public string? interval { get; set; } - + [Description("The frequency at which the subscribing shop is billed for an app subscription.")] + [NonNull] + [EnumType(typeof(AppPricingInterval))] + public string? interval { get; set; } + /// ///The app store pricing plan handle. /// - [Description("The app store pricing plan handle.")] - public string? planHandle { get; set; } - + [Description("The app store pricing plan handle.")] + public string? planHandle { get; set; } + /// ///The amount and currency to be charged to the subscribing shop every billing interval. /// - [Description("The amount and currency to be charged to the subscribing shop every billing interval.")] - [NonNull] - public MoneyV2? price { get; set; } - } - + [Description("The amount and currency to be charged to the subscribing shop every billing interval.")] + [NonNull] + public MoneyV2? price { get; set; } + } + /// ///Instructs the app subscription to generate a fixed charge on a recurring basis. The frequency is specified by the billing interval. /// - [Description("Instructs the app subscription to generate a fixed charge on a recurring basis. The frequency is specified by the billing interval.")] - public class AppRecurringPricingInput : GraphQLObject - { + [Description("Instructs the app subscription to generate a fixed charge on a recurring basis. The frequency is specified by the billing interval.")] + public class AppRecurringPricingInput : GraphQLObject + { /// ///How often the app subscription generates a charge. /// - [Description("How often the app subscription generates a charge.")] - [EnumType(typeof(AppPricingInterval))] - public string? interval { get; set; } - + [Description("How often the app subscription generates a charge.")] + [EnumType(typeof(AppPricingInterval))] + public string? interval { get; set; } + /// ///The amount to be charged to the store every billing interval. /// - [Description("The amount to be charged to the store every billing interval.")] - [NonNull] - public MoneyInput? price { get; set; } - + [Description("The amount to be charged to the store every billing interval.")] + [NonNull] + public MoneyInput? price { get; set; } + /// ///The discount applied to the subscription for a given number of billing intervals. /// - [Description("The discount applied to the subscription for a given number of billing intervals.")] - public AppSubscriptionDiscountInput? discount { get; set; } - } - + [Description("The discount applied to the subscription for a given number of billing intervals.")] + public AppSubscriptionDiscountInput? discount { get; set; } + } + /// ///Tracks revenue that was captured outside of Shopify's billing system but needs to be attributed to the app for comprehensive revenue reporting and partner analytics. This object enables accurate revenue tracking when apps process payments through external systems while maintaining visibility into total app performance. /// @@ -2726,558 +2726,558 @@ public class AppRecurringPricingInput : GraphQLObject /// ///For detailed revenue attribution values, see the [AppRevenueAttributionType enum](https://shopify.dev/docs/api/admin-graphql/latest/enums/AppRevenueAttributionType). /// - [Description("Tracks revenue that was captured outside of Shopify's billing system but needs to be attributed to the app for comprehensive revenue reporting and partner analytics. This object enables accurate revenue tracking when apps process payments through external systems while maintaining visibility into total app performance.\n\nExternal revenue attribution is essential for apps that offer multiple payment channels or process certain transactions outside Shopify's billing infrastructure. For example, an enterprise app might process large custom contracts through external payment processors, or a marketplace app could handle direct merchant-to-merchant transactions that still generate app commissions.\n\nUse the `AppRevenueAttributionRecord` object to:\n- Report revenue from external payment processors and billing systems\n- Track commission-based earnings from marketplace or referral activities\n- Maintain comprehensive revenue analytics across multiple payment channels\n- Ensure accurate partner revenue sharing and commission calculations\n- Generate complete financial reports that include all app-generated revenue streams\n- Support compliance requirements for external revenue documentation\n\nEach attribution record includes the captured amount, external transaction timestamp, and idempotency keys to prevent duplicate reporting. The record type field categorizes different revenue streams, enabling detailed analytics and reporting segmentation.\n\nRevenue attribution records are particularly important for apps participating in Shopify's partner program, as they ensure accurate revenue sharing calculations and comprehensive performance metrics. The captured timestamp reflects when the external payment was processed, not when the attribution record was created in Shopify.\n\nFor detailed revenue attribution values, see the [AppRevenueAttributionType enum](https://shopify.dev/docs/api/admin-graphql/latest/enums/AppRevenueAttributionType).")] - public class AppRevenueAttributionRecord : GraphQLObject, INode - { + [Description("Tracks revenue that was captured outside of Shopify's billing system but needs to be attributed to the app for comprehensive revenue reporting and partner analytics. This object enables accurate revenue tracking when apps process payments through external systems while maintaining visibility into total app performance.\n\nExternal revenue attribution is essential for apps that offer multiple payment channels or process certain transactions outside Shopify's billing infrastructure. For example, an enterprise app might process large custom contracts through external payment processors, or a marketplace app could handle direct merchant-to-merchant transactions that still generate app commissions.\n\nUse the `AppRevenueAttributionRecord` object to:\n- Report revenue from external payment processors and billing systems\n- Track commission-based earnings from marketplace or referral activities\n- Maintain comprehensive revenue analytics across multiple payment channels\n- Ensure accurate partner revenue sharing and commission calculations\n- Generate complete financial reports that include all app-generated revenue streams\n- Support compliance requirements for external revenue documentation\n\nEach attribution record includes the captured amount, external transaction timestamp, and idempotency keys to prevent duplicate reporting. The record type field categorizes different revenue streams, enabling detailed analytics and reporting segmentation.\n\nRevenue attribution records are particularly important for apps participating in Shopify's partner program, as they ensure accurate revenue sharing calculations and comprehensive performance metrics. The captured timestamp reflects when the external payment was processed, not when the attribution record was created in Shopify.\n\nFor detailed revenue attribution values, see the [AppRevenueAttributionType enum](https://shopify.dev/docs/api/admin-graphql/latest/enums/AppRevenueAttributionType).")] + public class AppRevenueAttributionRecord : GraphQLObject, INode + { /// ///The financial amount captured in this attribution. /// - [Description("The financial amount captured in this attribution.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The financial amount captured in this attribution.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The timestamp when the financial amount was captured. /// - [Description("The timestamp when the financial amount was captured.")] - [NonNull] - public DateTime? capturedAt { get; set; } - + [Description("The timestamp when the financial amount was captured.")] + [NonNull] + public DateTime? capturedAt { get; set; } + /// ///The timestamp at which this revenue attribution was issued. /// - [Description("The timestamp at which this revenue attribution was issued.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The timestamp at which this revenue attribution was issued.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The unique value submitted during the creation of the app revenue attribution record. ///For more information, refer to ///[Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). /// - [Description("The unique value submitted during the creation of the app revenue attribution record.\nFor more information, refer to\n[Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).")] - [NonNull] - public string? idempotencyKey { get; set; } - + [Description("The unique value submitted during the creation of the app revenue attribution record.\nFor more information, refer to\n[Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).")] + [NonNull] + public string? idempotencyKey { get; set; } + /// ///Indicates whether this is a test submission. /// - [Description("Indicates whether this is a test submission.")] - [NonNull] - public bool? test { get; set; } - + [Description("Indicates whether this is a test submission.")] + [NonNull] + public bool? test { get; set; } + /// ///The type of revenue attribution. /// - [Description("The type of revenue attribution.")] - [NonNull] - [EnumType(typeof(AppRevenueAttributionType))] - public string? type { get; set; } - } - + [Description("The type of revenue attribution.")] + [NonNull] + [EnumType(typeof(AppRevenueAttributionType))] + public string? type { get; set; } + } + /// ///An auto-generated type for paginating through multiple AppRevenueAttributionRecords. /// - [Description("An auto-generated type for paginating through multiple AppRevenueAttributionRecords.")] - public class AppRevenueAttributionRecordConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AppRevenueAttributionRecords.")] + public class AppRevenueAttributionRecordConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppRevenueAttributionRecordEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppRevenueAttributionRecordEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppRevenueAttributionRecordEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one AppRevenueAttributionRecord and a cursor during pagination. /// - [Description("An auto-generated type which holds one AppRevenueAttributionRecord and a cursor during pagination.")] - public class AppRevenueAttributionRecordEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AppRevenueAttributionRecord and a cursor during pagination.")] + public class AppRevenueAttributionRecordEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppRevenueAttributionRecordEdge. /// - [Description("The item at the end of AppRevenueAttributionRecordEdge.")] - [NonNull] - public AppRevenueAttributionRecord? node { get; set; } - } - + [Description("The item at the end of AppRevenueAttributionRecordEdge.")] + [NonNull] + public AppRevenueAttributionRecord? node { get; set; } + } + /// ///The set of valid sort keys for the AppRevenueAttributionRecord query. /// - [Description("The set of valid sort keys for the AppRevenueAttributionRecord query.")] - public enum AppRevenueAttributionRecordSortKeys - { + [Description("The set of valid sort keys for the AppRevenueAttributionRecord query.")] + public enum AppRevenueAttributionRecordSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class AppRevenueAttributionRecordSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class AppRevenueAttributionRecordSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///Represents the billing types of revenue attribution. /// - [Description("Represents the billing types of revenue attribution.")] - public enum AppRevenueAttributionType - { + [Description("Represents the billing types of revenue attribution.")] + public enum AppRevenueAttributionType + { /// ///App purchase related revenue collection. /// - [Description("App purchase related revenue collection.")] - APPLICATION_PURCHASE, + [Description("App purchase related revenue collection.")] + APPLICATION_PURCHASE, /// ///App subscription revenue collection. /// - [Description("App subscription revenue collection.")] - APPLICATION_SUBSCRIPTION, + [Description("App subscription revenue collection.")] + APPLICATION_SUBSCRIPTION, /// ///App usage-based revenue collection. /// - [Description("App usage-based revenue collection.")] - APPLICATION_USAGE, + [Description("App usage-based revenue collection.")] + APPLICATION_USAGE, /// ///Other app revenue collection type. /// - [Description("Other app revenue collection type.")] - OTHER, - } - - public static class AppRevenueAttributionTypeStringValues - { - public const string APPLICATION_PURCHASE = @"APPLICATION_PURCHASE"; - public const string APPLICATION_SUBSCRIPTION = @"APPLICATION_SUBSCRIPTION"; - public const string APPLICATION_USAGE = @"APPLICATION_USAGE"; - public const string OTHER = @"OTHER"; - } - + [Description("Other app revenue collection type.")] + OTHER, + } + + public static class AppRevenueAttributionTypeStringValues + { + public const string APPLICATION_PURCHASE = @"APPLICATION_PURCHASE"; + public const string APPLICATION_SUBSCRIPTION = @"APPLICATION_SUBSCRIPTION"; + public const string APPLICATION_USAGE = @"APPLICATION_USAGE"; + public const string OTHER = @"OTHER"; + } + /// ///Represents an error that happens while revoking a granted scope. /// - [Description("Represents an error that happens while revoking a granted scope.")] - public class AppRevokeAccessScopesAppRevokeScopeError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens while revoking a granted scope.")] + public class AppRevokeAccessScopesAppRevokeScopeError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(AppRevokeAccessScopesAppRevokeScopeErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(AppRevokeAccessScopesAppRevokeScopeErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `AppRevokeAccessScopesAppRevokeScopeError`. /// - [Description("Possible error codes that can be returned by `AppRevokeAccessScopesAppRevokeScopeError`.")] - public enum AppRevokeAccessScopesAppRevokeScopeErrorCode - { + [Description("Possible error codes that can be returned by `AppRevokeAccessScopesAppRevokeScopeError`.")] + public enum AppRevokeAccessScopesAppRevokeScopeErrorCode + { /// ///No app found on the access token. /// - [Description("No app found on the access token.")] - MISSING_SOURCE_APP, + [Description("No app found on the access token.")] + MISSING_SOURCE_APP, /// ///The application cannot be found. /// - [Description("The application cannot be found.")] - APPLICATION_CANNOT_BE_FOUND, + [Description("The application cannot be found.")] + APPLICATION_CANNOT_BE_FOUND, /// ///The requested list of scopes to revoke includes invalid handles. /// - [Description("The requested list of scopes to revoke includes invalid handles.")] - UNKNOWN_SCOPES, + [Description("The requested list of scopes to revoke includes invalid handles.")] + UNKNOWN_SCOPES, /// ///Required scopes cannot be revoked. /// - [Description("Required scopes cannot be revoked.")] - CANNOT_REVOKE_REQUIRED_SCOPES, + [Description("Required scopes cannot be revoked.")] + CANNOT_REVOKE_REQUIRED_SCOPES, /// ///Already granted implied scopes cannot be revoked. /// - [Description("Already granted implied scopes cannot be revoked.")] - CANNOT_REVOKE_IMPLIED_SCOPES, + [Description("Already granted implied scopes cannot be revoked.")] + CANNOT_REVOKE_IMPLIED_SCOPES, /// ///Cannot revoke optional scopes that haven't been declared. /// - [Description("Cannot revoke optional scopes that haven't been declared.")] - CANNOT_REVOKE_UNDECLARED_SCOPES, + [Description("Cannot revoke optional scopes that haven't been declared.")] + CANNOT_REVOKE_UNDECLARED_SCOPES, /// ///App is not installed on shop. /// - [Description("App is not installed on shop.")] - APP_NOT_INSTALLED, - } - - public static class AppRevokeAccessScopesAppRevokeScopeErrorCodeStringValues - { - public const string MISSING_SOURCE_APP = @"MISSING_SOURCE_APP"; - public const string APPLICATION_CANNOT_BE_FOUND = @"APPLICATION_CANNOT_BE_FOUND"; - public const string UNKNOWN_SCOPES = @"UNKNOWN_SCOPES"; - public const string CANNOT_REVOKE_REQUIRED_SCOPES = @"CANNOT_REVOKE_REQUIRED_SCOPES"; - public const string CANNOT_REVOKE_IMPLIED_SCOPES = @"CANNOT_REVOKE_IMPLIED_SCOPES"; - public const string CANNOT_REVOKE_UNDECLARED_SCOPES = @"CANNOT_REVOKE_UNDECLARED_SCOPES"; - public const string APP_NOT_INSTALLED = @"APP_NOT_INSTALLED"; - } - + [Description("App is not installed on shop.")] + APP_NOT_INSTALLED, + } + + public static class AppRevokeAccessScopesAppRevokeScopeErrorCodeStringValues + { + public const string MISSING_SOURCE_APP = @"MISSING_SOURCE_APP"; + public const string APPLICATION_CANNOT_BE_FOUND = @"APPLICATION_CANNOT_BE_FOUND"; + public const string UNKNOWN_SCOPES = @"UNKNOWN_SCOPES"; + public const string CANNOT_REVOKE_REQUIRED_SCOPES = @"CANNOT_REVOKE_REQUIRED_SCOPES"; + public const string CANNOT_REVOKE_IMPLIED_SCOPES = @"CANNOT_REVOKE_IMPLIED_SCOPES"; + public const string CANNOT_REVOKE_UNDECLARED_SCOPES = @"CANNOT_REVOKE_UNDECLARED_SCOPES"; + public const string APP_NOT_INSTALLED = @"APP_NOT_INSTALLED"; + } + /// ///Return type for `appRevokeAccessScopes` mutation. /// - [Description("Return type for `appRevokeAccessScopes` mutation.")] - public class AppRevokeAccessScopesPayload : GraphQLObject - { + [Description("Return type for `appRevokeAccessScopes` mutation.")] + public class AppRevokeAccessScopesPayload : GraphQLObject + { /// ///The list of scope handles that have been revoked. /// - [Description("The list of scope handles that have been revoked.")] - public IEnumerable? revoked { get; set; } - + [Description("The list of scope handles that have been revoked.")] + public IEnumerable? revoked { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Provides users access to services and/or features for a duration of time. /// - [Description("Provides users access to services and/or features for a duration of time.")] - public class AppSubscription : GraphQLObject, INode - { + [Description("Provides users access to services and/or features for a duration of time.")] + public class AppSubscription : GraphQLObject, INode + { /// ///The app the subscription is generating charges for. /// - [Description("The app the subscription is generating charges for.")] - [NonNull] - public App? app { get; set; } - + [Description("The app the subscription is generating charges for.")] + [NonNull] + public App? app { get; set; } + /// ///The date and time when the app subscription was created. /// - [Description("The date and time when the app subscription was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the app subscription was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The date and time when the current app subscription period ends. Returns `null` if the subscription isn't active. /// - [Description("The date and time when the current app subscription period ends. Returns `null` if the subscription isn't active.")] - public DateTime? currentPeriodEnd { get; set; } - + [Description("The date and time when the current app subscription period ends. Returns `null` if the subscription isn't active.")] + public DateTime? currentPeriodEnd { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The plans attached to the app subscription. /// - [Description("The plans attached to the app subscription.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The plans attached to the app subscription.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///The name of the app subscription. /// - [Description("The name of the app subscription.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the app subscription.")] + [NonNull] + public string? name { get; set; } + /// ///The URL that the merchant is redirected to after approving the app subscription. /// - [Description("The URL that the merchant is redirected to after approving the app subscription.")] - [NonNull] - public string? returnUrl { get; set; } - + [Description("The URL that the merchant is redirected to after approving the app subscription.")] + [NonNull] + public string? returnUrl { get; set; } + /// ///The status of the app subscription. /// - [Description("The status of the app subscription.")] - [NonNull] - [EnumType(typeof(AppSubscriptionStatus))] - public string? status { get; set; } - + [Description("The status of the app subscription.")] + [NonNull] + [EnumType(typeof(AppSubscriptionStatus))] + public string? status { get; set; } + /// ///Specifies whether the app subscription is a test transaction. /// - [Description("Specifies whether the app subscription is a test transaction.")] - [NonNull] - public bool? test { get; set; } - + [Description("Specifies whether the app subscription is a test transaction.")] + [NonNull] + public bool? test { get; set; } + /// ///The number of free trial days, starting at the subscription's creation date, by which billing is delayed. /// - [Description("The number of free trial days, starting at the subscription's creation date, by which billing is delayed.")] - [NonNull] - public int? trialDays { get; set; } - } - + [Description("The number of free trial days, starting at the subscription's creation date, by which billing is delayed.")] + [NonNull] + public int? trialDays { get; set; } + } + /// ///Return type for `appSubscriptionCancel` mutation. /// - [Description("Return type for `appSubscriptionCancel` mutation.")] - public class AppSubscriptionCancelPayload : GraphQLObject - { + [Description("Return type for `appSubscriptionCancel` mutation.")] + public class AppSubscriptionCancelPayload : GraphQLObject + { /// ///The cancelled app subscription. /// - [Description("The cancelled app subscription.")] - public AppSubscription? appSubscription { get; set; } - + [Description("The cancelled app subscription.")] + public AppSubscription? appSubscription { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple AppSubscriptions. /// - [Description("An auto-generated type for paginating through multiple AppSubscriptions.")] - public class AppSubscriptionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AppSubscriptions.")] + public class AppSubscriptionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppSubscriptionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppSubscriptionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppSubscriptionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `appSubscriptionCreate` mutation. /// - [Description("Return type for `appSubscriptionCreate` mutation.")] - public class AppSubscriptionCreatePayload : GraphQLObject - { + [Description("Return type for `appSubscriptionCreate` mutation.")] + public class AppSubscriptionCreatePayload : GraphQLObject + { /// ///The newly-created app subscription. /// - [Description("The newly-created app subscription.")] - public AppSubscription? appSubscription { get; set; } - + [Description("The newly-created app subscription.")] + public AppSubscription? appSubscription { get; set; } + /// ///The URL pointing to the page where the merchant approves or declines the charges for an app subscription. /// - [Description("The URL pointing to the page where the merchant approves or declines the charges for an app subscription.")] - public string? confirmationUrl { get; set; } - + [Description("The URL pointing to the page where the merchant approves or declines the charges for an app subscription.")] + public string? confirmationUrl { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Discount applied to the recurring pricing portion of a subscription. /// - [Description("Discount applied to the recurring pricing portion of a subscription.")] - public class AppSubscriptionDiscount : GraphQLObject - { + [Description("Discount applied to the recurring pricing portion of a subscription.")] + public class AppSubscriptionDiscount : GraphQLObject + { /// ///The total number of billing intervals to which the discount will be applied. ///The discount will be applied to an indefinite number of billing intervals if this value is blank. /// - [Description("The total number of billing intervals to which the discount will be applied.\nThe discount will be applied to an indefinite number of billing intervals if this value is blank.")] - public int? durationLimitInIntervals { get; set; } - + [Description("The total number of billing intervals to which the discount will be applied.\nThe discount will be applied to an indefinite number of billing intervals if this value is blank.")] + public int? durationLimitInIntervals { get; set; } + /// ///The price of the subscription after the discount is applied. /// - [Description("The price of the subscription after the discount is applied.")] - [NonNull] - public MoneyV2? priceAfterDiscount { get; set; } - + [Description("The price of the subscription after the discount is applied.")] + [NonNull] + public MoneyV2? priceAfterDiscount { get; set; } + /// ///The remaining number of billing intervals to which the discount will be applied. /// - [Description("The remaining number of billing intervals to which the discount will be applied.")] - public int? remainingDurationInIntervals { get; set; } - + [Description("The remaining number of billing intervals to which the discount will be applied.")] + public int? remainingDurationInIntervals { get; set; } + /// ///The value of the discount applied every billing interval. /// - [Description("The value of the discount applied every billing interval.")] - [NonNull] - public IAppSubscriptionDiscountValue? value { get; set; } - } - + [Description("The value of the discount applied every billing interval.")] + [NonNull] + public IAppSubscriptionDiscountValue? value { get; set; } + } + /// ///The fixed amount value of a discount. /// - [Description("The fixed amount value of a discount.")] - public class AppSubscriptionDiscountAmount : GraphQLObject, IAppSubscriptionDiscountValue - { + [Description("The fixed amount value of a discount.")] + public class AppSubscriptionDiscountAmount : GraphQLObject, IAppSubscriptionDiscountValue + { /// ///The fixed amount value of a discount. /// - [Description("The fixed amount value of a discount.")] - [NonNull] - public MoneyV2? amount { get; set; } - } - + [Description("The fixed amount value of a discount.")] + [NonNull] + public MoneyV2? amount { get; set; } + } + /// ///The input fields to specify a discount to the recurring pricing portion of a subscription over a number of billing intervals. /// - [Description("The input fields to specify a discount to the recurring pricing portion of a subscription over a number of billing intervals.")] - public class AppSubscriptionDiscountInput : GraphQLObject - { + [Description("The input fields to specify a discount to the recurring pricing portion of a subscription over a number of billing intervals.")] + public class AppSubscriptionDiscountInput : GraphQLObject + { /// ///The value to be discounted every billing interval. /// - [Description("The value to be discounted every billing interval.")] - public AppSubscriptionDiscountValueInput? value { get; set; } - + [Description("The value to be discounted every billing interval.")] + public AppSubscriptionDiscountValueInput? value { get; set; } + /// ///The total number of billing intervals to which the discount will be applied. Must be greater than 0. ///The discount will be applied to an indefinite number of billing intervals if this value is left blank. /// - [Description("The total number of billing intervals to which the discount will be applied. Must be greater than 0.\nThe discount will be applied to an indefinite number of billing intervals if this value is left blank.")] - public int? durationLimitInIntervals { get; set; } - } - + [Description("The total number of billing intervals to which the discount will be applied. Must be greater than 0.\nThe discount will be applied to an indefinite number of billing intervals if this value is left blank.")] + public int? durationLimitInIntervals { get; set; } + } + /// ///The percentage value of a discount. /// - [Description("The percentage value of a discount.")] - public class AppSubscriptionDiscountPercentage : GraphQLObject, IAppSubscriptionDiscountValue - { + [Description("The percentage value of a discount.")] + public class AppSubscriptionDiscountPercentage : GraphQLObject, IAppSubscriptionDiscountValue + { /// ///The percentage value of a discount. /// - [Description("The percentage value of a discount.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage value of a discount.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///The value of the discount. /// - [Description("The value of the discount.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AppSubscriptionDiscountAmount), typeDiscriminator: "AppSubscriptionDiscountAmount")] - [JsonDerivedType(typeof(AppSubscriptionDiscountPercentage), typeDiscriminator: "AppSubscriptionDiscountPercentage")] - public interface IAppSubscriptionDiscountValue : IGraphQLObject - { - public AppSubscriptionDiscountAmount? AsAppSubscriptionDiscountAmount() => this as AppSubscriptionDiscountAmount; - public AppSubscriptionDiscountPercentage? AsAppSubscriptionDiscountPercentage() => this as AppSubscriptionDiscountPercentage; - } - + [Description("The value of the discount.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AppSubscriptionDiscountAmount), typeDiscriminator: "AppSubscriptionDiscountAmount")] + [JsonDerivedType(typeof(AppSubscriptionDiscountPercentage), typeDiscriminator: "AppSubscriptionDiscountPercentage")] + public interface IAppSubscriptionDiscountValue : IGraphQLObject + { + public AppSubscriptionDiscountAmount? AsAppSubscriptionDiscountAmount() => this as AppSubscriptionDiscountAmount; + public AppSubscriptionDiscountPercentage? AsAppSubscriptionDiscountPercentage() => this as AppSubscriptionDiscountPercentage; + } + /// ///The input fields to specify the value discounted every billing interval. /// - [Description("The input fields to specify the value discounted every billing interval.")] - public class AppSubscriptionDiscountValueInput : GraphQLObject - { + [Description("The input fields to specify the value discounted every billing interval.")] + public class AppSubscriptionDiscountValueInput : GraphQLObject + { /// ///The percentage value of a discount. /// - [Description("The percentage value of a discount.")] - public decimal? percentage { get; set; } - + [Description("The percentage value of a discount.")] + public decimal? percentage { get; set; } + /// ///The monetary value of a discount. /// - [Description("The monetary value of a discount.")] - public decimal? amount { get; set; } - } - + [Description("The monetary value of a discount.")] + public decimal? amount { get; set; } + } + /// ///An auto-generated type which holds one AppSubscription and a cursor during pagination. /// - [Description("An auto-generated type which holds one AppSubscription and a cursor during pagination.")] - public class AppSubscriptionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AppSubscription and a cursor during pagination.")] + public class AppSubscriptionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppSubscriptionEdge. /// - [Description("The item at the end of AppSubscriptionEdge.")] - [NonNull] - public AppSubscription? node { get; set; } - } - + [Description("The item at the end of AppSubscriptionEdge.")] + [NonNull] + public AppSubscription? node { get; set; } + } + /// ///Represents a component of an app subscription that contains pricing details for either recurring fees or usage-based charges. Each subscription has exactly 1 or 2 line items - one for recurring fees and/or one for usage fees. /// @@ -3292,87 +3292,87 @@ public class AppSubscriptionEdge : GraphQLObject, IEdge - [Description("Represents a component of an app subscription that contains pricing details for either recurring fees or usage-based charges. Each subscription has exactly 1 or 2 line items - one for recurring fees and/or one for usage fees.\n\nIf a subscription has both recurring and usage pricing, there will be 2 line items. If it only has one type of pricing, the subscription will have a single line item for that pricing model.\n\nUse the `AppSubscriptionLineItem` object to:\n- View the pricing terms a merchant has agreed to\n- Distinguish between recurring and usage fee components\n- Access detailed billing information for each pricing component\n\nThis read-only object provides visibility into the subscription's pricing structure without allowing modifications.\n\nRead about subscription pricing models in the [billing architecture guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing).")] - public class AppSubscriptionLineItem : GraphQLObject - { + [Description("Represents a component of an app subscription that contains pricing details for either recurring fees or usage-based charges. Each subscription has exactly 1 or 2 line items - one for recurring fees and/or one for usage fees.\n\nIf a subscription has both recurring and usage pricing, there will be 2 line items. If it only has one type of pricing, the subscription will have a single line item for that pricing model.\n\nUse the `AppSubscriptionLineItem` object to:\n- View the pricing terms a merchant has agreed to\n- Distinguish between recurring and usage fee components\n- Access detailed billing information for each pricing component\n\nThis read-only object provides visibility into the subscription's pricing structure without allowing modifications.\n\nRead about subscription pricing models in the [billing architecture guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing).")] + public class AppSubscriptionLineItem : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The pricing model for the app subscription. /// - [Description("The pricing model for the app subscription.")] - [NonNull] - public AppPlanV2? plan { get; set; } - + [Description("The pricing model for the app subscription.")] + [NonNull] + public AppPlanV2? plan { get; set; } + /// ///A list of the store's usage records for a usage pricing plan. /// - [Description("A list of the store's usage records for a usage pricing plan.")] - [NonNull] - public AppUsageRecordConnection? usageRecords { get; set; } - } - + [Description("A list of the store's usage records for a usage pricing plan.")] + [NonNull] + public AppUsageRecordConnection? usageRecords { get; set; } + } + /// ///The input fields to add more than one pricing plan to an app subscription. /// - [Description("The input fields to add more than one pricing plan to an app subscription.")] - public class AppSubscriptionLineItemInput : GraphQLObject - { + [Description("The input fields to add more than one pricing plan to an app subscription.")] + public class AppSubscriptionLineItemInput : GraphQLObject + { /// ///The pricing model for the app subscription. /// - [Description("The pricing model for the app subscription.")] - [NonNull] - public AppPlanInput? plan { get; set; } - } - + [Description("The pricing model for the app subscription.")] + [NonNull] + public AppPlanInput? plan { get; set; } + } + /// ///Return type for `appSubscriptionLineItemUpdate` mutation. /// - [Description("Return type for `appSubscriptionLineItemUpdate` mutation.")] - public class AppSubscriptionLineItemUpdatePayload : GraphQLObject - { + [Description("Return type for `appSubscriptionLineItemUpdate` mutation.")] + public class AppSubscriptionLineItemUpdatePayload : GraphQLObject + { /// ///The updated app subscription. /// - [Description("The updated app subscription.")] - public AppSubscription? appSubscription { get; set; } - + [Description("The updated app subscription.")] + public AppSubscription? appSubscription { get; set; } + /// ///The URL where the merchant approves or declines the updated app subscription line item. /// - [Description("The URL where the merchant approves or declines the updated app subscription line item.")] - public string? confirmationUrl { get; set; } - + [Description("The URL where the merchant approves or declines the updated app subscription line item.")] + public string? confirmationUrl { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The replacement behavior when creating an app subscription for a merchant with an already existing app subscription. /// - [Description("The replacement behavior when creating an app subscription for a merchant with an already existing app subscription.")] - public enum AppSubscriptionReplacementBehavior - { + [Description("The replacement behavior when creating an app subscription for a merchant with an already existing app subscription.")] + public enum AppSubscriptionReplacementBehavior + { /// ///Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription. /// - [Description("Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription.")] - APPLY_IMMEDIATELY, + [Description("Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription.")] + APPLY_IMMEDIATELY, /// ///Defers canceling the merchant's current app subscription and applying the newly created app subscription until the start of the next billing cycle. This value is ignored if the new app subscription is using a different currency than the current app subscription, in which case the new app subscription is applied immediately. /// - [Description("Defers canceling the merchant's current app subscription and applying the newly created app subscription until the start of the next billing cycle. This value is ignored if the new app subscription is using a different currency than the current app subscription, in which case the new app subscription is applied immediately.")] - APPLY_ON_NEXT_BILLING_CYCLE, + [Description("Defers canceling the merchant's current app subscription and applying the newly created app subscription until the start of the next billing cycle. This value is ignored if the new app subscription is using a different currency than the current app subscription, in which case the new app subscription is applied immediately.")] + APPLY_ON_NEXT_BILLING_CYCLE, /// ///Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription, with the exception of ///the following scenarios where replacing the current app subscription will be deferred until the start of the next billing cycle. @@ -3380,281 +3380,281 @@ public enum AppSubscriptionReplacementBehavior ///2) The current app subscription is annual and the newly created app subscription is monthly and using the same currency. ///3) The current app subscription and the newly created app subscription are identical except for the `discount` value. /// - [Description("Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription, with the exception of\nthe following scenarios where replacing the current app subscription will be deferred until the start of the next billing cycle.\n1) The current app subscription is annual and the newly created app subscription is annual, using the same currency, but is of a lesser value.\n2) The current app subscription is annual and the newly created app subscription is monthly and using the same currency.\n3) The current app subscription and the newly created app subscription are identical except for the `discount` value.")] - STANDARD, - } - - public static class AppSubscriptionReplacementBehaviorStringValues - { - public const string APPLY_IMMEDIATELY = @"APPLY_IMMEDIATELY"; - public const string APPLY_ON_NEXT_BILLING_CYCLE = @"APPLY_ON_NEXT_BILLING_CYCLE"; - public const string STANDARD = @"STANDARD"; - } - + [Description("Cancels the merchant's current app subscription immediately and replaces it with the newly created app subscription, with the exception of\nthe following scenarios where replacing the current app subscription will be deferred until the start of the next billing cycle.\n1) The current app subscription is annual and the newly created app subscription is annual, using the same currency, but is of a lesser value.\n2) The current app subscription is annual and the newly created app subscription is monthly and using the same currency.\n3) The current app subscription and the newly created app subscription are identical except for the `discount` value.")] + STANDARD, + } + + public static class AppSubscriptionReplacementBehaviorStringValues + { + public const string APPLY_IMMEDIATELY = @"APPLY_IMMEDIATELY"; + public const string APPLY_ON_NEXT_BILLING_CYCLE = @"APPLY_ON_NEXT_BILLING_CYCLE"; + public const string STANDARD = @"STANDARD"; + } + /// ///The set of valid sort keys for the AppSubscription query. /// - [Description("The set of valid sort keys for the AppSubscription query.")] - public enum AppSubscriptionSortKeys - { + [Description("The set of valid sort keys for the AppSubscription query.")] + public enum AppSubscriptionSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class AppSubscriptionSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class AppSubscriptionSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///The status of the app subscription. /// - [Description("The status of the app subscription.")] - public enum AppSubscriptionStatus - { + [Description("The status of the app subscription.")] + public enum AppSubscriptionStatus + { /// ///The app subscription is pending approval by the merchant. /// - [Description("The app subscription is pending approval by the merchant.")] - PENDING, + [Description("The app subscription is pending approval by the merchant.")] + PENDING, /// ///The app subscription has been approved by the merchant and is ready to be activated by the app. /// - [Description("The app subscription has been approved by the merchant and is ready to be activated by the app.")] - [Obsolete("When a merchant approves an app subscription, the status immediately transitions from `pending` to `active`.")] - ACCEPTED, + [Description("The app subscription has been approved by the merchant and is ready to be activated by the app.")] + [Obsolete("When a merchant approves an app subscription, the status immediately transitions from `pending` to `active`.")] + ACCEPTED, /// ///The app subscription has been approved by the merchant. Active app subscriptions are billed to the shop. After payment, partners receive payouts. /// - [Description("The app subscription has been approved by the merchant. Active app subscriptions are billed to the shop. After payment, partners receive payouts.")] - ACTIVE, + [Description("The app subscription has been approved by the merchant. Active app subscriptions are billed to the shop. After payment, partners receive payouts.")] + ACTIVE, /// ///The app subscription was declined by the merchant. This is a terminal state. /// - [Description("The app subscription was declined by the merchant. This is a terminal state.")] - DECLINED, + [Description("The app subscription was declined by the merchant. This is a terminal state.")] + DECLINED, /// ///The app subscription wasn't approved by the merchant within two days of being created. This is a terminal state. /// - [Description("The app subscription wasn't approved by the merchant within two days of being created. This is a terminal state.")] - EXPIRED, + [Description("The app subscription wasn't approved by the merchant within two days of being created. This is a terminal state.")] + EXPIRED, /// ///The app subscription is on hold due to non-payment. The subscription re-activates after payments resume. /// - [Description("The app subscription is on hold due to non-payment. The subscription re-activates after payments resume.")] - FROZEN, + [Description("The app subscription is on hold due to non-payment. The subscription re-activates after payments resume.")] + FROZEN, /// ///The app subscription was cancelled by the app. This could be caused by the app being uninstalled, a new app subscription being activated, or a direct cancellation by the app. This is a terminal state. /// - [Description("The app subscription was cancelled by the app. This could be caused by the app being uninstalled, a new app subscription being activated, or a direct cancellation by the app. This is a terminal state.")] - CANCELLED, - } - - public static class AppSubscriptionStatusStringValues - { - public const string PENDING = @"PENDING"; - [Obsolete("When a merchant approves an app subscription, the status immediately transitions from `pending` to `active`.")] - public const string ACCEPTED = @"ACCEPTED"; - public const string ACTIVE = @"ACTIVE"; - public const string DECLINED = @"DECLINED"; - public const string EXPIRED = @"EXPIRED"; - public const string FROZEN = @"FROZEN"; - public const string CANCELLED = @"CANCELLED"; - } - + [Description("The app subscription was cancelled by the app. This could be caused by the app being uninstalled, a new app subscription being activated, or a direct cancellation by the app. This is a terminal state.")] + CANCELLED, + } + + public static class AppSubscriptionStatusStringValues + { + public const string PENDING = @"PENDING"; + [Obsolete("When a merchant approves an app subscription, the status immediately transitions from `pending` to `active`.")] + public const string ACCEPTED = @"ACCEPTED"; + public const string ACTIVE = @"ACTIVE"; + public const string DECLINED = @"DECLINED"; + public const string EXPIRED = @"EXPIRED"; + public const string FROZEN = @"FROZEN"; + public const string CANCELLED = @"CANCELLED"; + } + /// ///Return type for `appSubscriptionTrialExtend` mutation. /// - [Description("Return type for `appSubscriptionTrialExtend` mutation.")] - public class AppSubscriptionTrialExtendPayload : GraphQLObject - { + [Description("Return type for `appSubscriptionTrialExtend` mutation.")] + public class AppSubscriptionTrialExtendPayload : GraphQLObject + { /// ///The app subscription that had its trial extended. /// - [Description("The app subscription that had its trial extended.")] - public AppSubscription? appSubscription { get; set; } - + [Description("The app subscription that had its trial extended.")] + public AppSubscription? appSubscription { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `AppSubscriptionTrialExtend`. /// - [Description("An error that occurs during the execution of `AppSubscriptionTrialExtend`.")] - public class AppSubscriptionTrialExtendUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `AppSubscriptionTrialExtend`.")] + public class AppSubscriptionTrialExtendUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(AppSubscriptionTrialExtendUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(AppSubscriptionTrialExtendUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `AppSubscriptionTrialExtendUserError`. /// - [Description("Possible error codes that can be returned by `AppSubscriptionTrialExtendUserError`.")] - public enum AppSubscriptionTrialExtendUserErrorCode - { + [Description("Possible error codes that can be returned by `AppSubscriptionTrialExtendUserError`.")] + public enum AppSubscriptionTrialExtendUserErrorCode + { /// ///The app subscription wasn't found. /// - [Description("The app subscription wasn't found.")] - SUBSCRIPTION_NOT_FOUND, + [Description("The app subscription wasn't found.")] + SUBSCRIPTION_NOT_FOUND, /// ///The trial isn't active. /// - [Description("The trial isn't active.")] - TRIAL_NOT_ACTIVE, + [Description("The trial isn't active.")] + TRIAL_NOT_ACTIVE, /// ///The app subscription isn't active. /// - [Description("The app subscription isn't active.")] - SUBSCRIPTION_NOT_ACTIVE, - } - - public static class AppSubscriptionTrialExtendUserErrorCodeStringValues - { - public const string SUBSCRIPTION_NOT_FOUND = @"SUBSCRIPTION_NOT_FOUND"; - public const string TRIAL_NOT_ACTIVE = @"TRIAL_NOT_ACTIVE"; - public const string SUBSCRIPTION_NOT_ACTIVE = @"SUBSCRIPTION_NOT_ACTIVE"; - } - + [Description("The app subscription isn't active.")] + SUBSCRIPTION_NOT_ACTIVE, + } + + public static class AppSubscriptionTrialExtendUserErrorCodeStringValues + { + public const string SUBSCRIPTION_NOT_FOUND = @"SUBSCRIPTION_NOT_FOUND"; + public const string TRIAL_NOT_ACTIVE = @"TRIAL_NOT_ACTIVE"; + public const string SUBSCRIPTION_NOT_ACTIVE = @"SUBSCRIPTION_NOT_ACTIVE"; + } + /// ///The set of valid sort keys for the AppTransaction query. /// - [Description("The set of valid sort keys for the AppTransaction query.")] - public enum AppTransactionSortKeys - { + [Description("The set of valid sort keys for the AppTransaction query.")] + public enum AppTransactionSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class AppTransactionSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class AppTransactionSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///Represents an error that happens while uninstalling an app. /// - [Description("Represents an error that happens while uninstalling an app.")] - public class AppUninstallAppUninstallError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens while uninstalling an app.")] + public class AppUninstallAppUninstallError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(AppUninstallAppUninstallErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(AppUninstallAppUninstallErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `AppUninstallAppUninstallError`. /// - [Description("Possible error codes that can be returned by `AppUninstallAppUninstallError`.")] - public enum AppUninstallAppUninstallErrorCode - { + [Description("Possible error codes that can be returned by `AppUninstallAppUninstallError`.")] + public enum AppUninstallAppUninstallErrorCode + { /// ///The app cannot be found. /// - [Description("The app cannot be found.")] - APP_NOT_FOUND, + [Description("The app cannot be found.")] + APP_NOT_FOUND, /// ///The app is not installed. /// - [Description("The app is not installed.")] - APP_NOT_INSTALLED, + [Description("The app is not installed.")] + APP_NOT_INSTALLED, /// ///User does not have sufficient permissions to uninstall this app. /// - [Description("User does not have sufficient permissions to uninstall this app.")] - USER_PERMISSIONS_INSUFFICIENT, + [Description("User does not have sufficient permissions to uninstall this app.")] + USER_PERMISSIONS_INSUFFICIENT, /// ///An error occurred while uninstalling the app. /// - [Description("An error occurred while uninstalling the app.")] - APP_UNINSTALL_ERROR, - } - - public static class AppUninstallAppUninstallErrorCodeStringValues - { - public const string APP_NOT_FOUND = @"APP_NOT_FOUND"; - public const string APP_NOT_INSTALLED = @"APP_NOT_INSTALLED"; - public const string USER_PERMISSIONS_INSUFFICIENT = @"USER_PERMISSIONS_INSUFFICIENT"; - public const string APP_UNINSTALL_ERROR = @"APP_UNINSTALL_ERROR"; - } - + [Description("An error occurred while uninstalling the app.")] + APP_UNINSTALL_ERROR, + } + + public static class AppUninstallAppUninstallErrorCodeStringValues + { + public const string APP_NOT_FOUND = @"APP_NOT_FOUND"; + public const string APP_NOT_INSTALLED = @"APP_NOT_INSTALLED"; + public const string USER_PERMISSIONS_INSUFFICIENT = @"USER_PERMISSIONS_INSUFFICIENT"; + public const string APP_UNINSTALL_ERROR = @"APP_UNINSTALL_ERROR"; + } + /// ///Return type for `appUninstall` mutation. /// - [Description("Return type for `appUninstall` mutation.")] - public class AppUninstallPayload : GraphQLObject - { + [Description("Return type for `appUninstall` mutation.")] + public class AppUninstallPayload : GraphQLObject + { /// ///The uninstalled app. /// - [Description("The uninstalled app.")] - public App? app { get; set; } - + [Description("The uninstalled app.")] + public App? app { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines usage-based pricing terms for app subscriptions where merchants pay based on their actual consumption of app features or services. This pricing model provides flexibility for merchants who want to pay only for what they use rather than fixed monthly fees. /// @@ -3668,1152 +3668,1152 @@ public class AppUninstallPayload : GraphQLObject /// ///For implementation guidance, see the [usage billing documentation](https://shopify.dev/docs/apps/launch/billing/subscription-billing/create-usage-based-subscriptions). /// - [Description("Defines usage-based pricing terms for app subscriptions where merchants pay based on their actual consumption of app features or services. This pricing model provides flexibility for merchants who want to pay only for what they use rather than fixed monthly fees.\n\nFor example, an email marketing app might charge variable pricing per email sent, with a monthly cap of variable pricing, allowing small merchants to pay minimal amounts while protecting larger merchants from excessive charges.\n\nUse the `AppUsagePricing` object to:\n- View consumption-based billing for variable app usage\n- See spending caps that protect merchants from unexpected charges\n\nThe balance and capped amount fields provide apps with data about current usage costs and remaining budget within the billing period, which apps can present to merchants to promote transparency in variable pricing.\n\nFor implementation guidance, see the [usage billing documentation](https://shopify.dev/docs/apps/launch/billing/subscription-billing/create-usage-based-subscriptions).")] - public class AppUsagePricing : GraphQLObject, IAppPricingDetails - { + [Description("Defines usage-based pricing terms for app subscriptions where merchants pay based on their actual consumption of app features or services. This pricing model provides flexibility for merchants who want to pay only for what they use rather than fixed monthly fees.\n\nFor example, an email marketing app might charge variable pricing per email sent, with a monthly cap of variable pricing, allowing small merchants to pay minimal amounts while protecting larger merchants from excessive charges.\n\nUse the `AppUsagePricing` object to:\n- View consumption-based billing for variable app usage\n- See spending caps that protect merchants from unexpected charges\n\nThe balance and capped amount fields provide apps with data about current usage costs and remaining budget within the billing period, which apps can present to merchants to promote transparency in variable pricing.\n\nFor implementation guidance, see the [usage billing documentation](https://shopify.dev/docs/apps/launch/billing/subscription-billing/create-usage-based-subscriptions).")] + public class AppUsagePricing : GraphQLObject, IAppPricingDetails + { /// ///The total usage records for interval. /// - [Description("The total usage records for interval.")] - [NonNull] - public MoneyV2? balanceUsed { get; set; } - + [Description("The total usage records for interval.")] + [NonNull] + public MoneyV2? balanceUsed { get; set; } + /// ///The capped amount prevents the merchant from being charged for any usage over that amount during a billing period. ///This prevents billing from exceeding a maximum threshold over the duration of the billing period. ///For the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge. /// - [Description("The capped amount prevents the merchant from being charged for any usage over that amount during a billing period.\nThis prevents billing from exceeding a maximum threshold over the duration of the billing period.\nFor the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge.")] - [NonNull] - public MoneyV2? cappedAmount { get; set; } - + [Description("The capped amount prevents the merchant from being charged for any usage over that amount during a billing period.\nThis prevents billing from exceeding a maximum threshold over the duration of the billing period.\nFor the merchant to continue using the app after exceeding a capped amount, they would need to agree to a new usage charge.")] + [NonNull] + public MoneyV2? cappedAmount { get; set; } + /// ///The frequency with which the app usage records are billed. /// - [Description("The frequency with which the app usage records are billed.")] - [NonNull] - [EnumType(typeof(AppPricingInterval))] - public string? interval { get; set; } - + [Description("The frequency with which the app usage records are billed.")] + [NonNull] + [EnumType(typeof(AppPricingInterval))] + public string? interval { get; set; } + /// ///The terms and conditions for app usage pricing. ///Must be present in order to create usage charges. ///The terms are presented to the merchant when they approve an app's usage charges. /// - [Description("The terms and conditions for app usage pricing.\nMust be present in order to create usage charges.\nThe terms are presented to the merchant when they approve an app's usage charges.")] - [NonNull] - public string? terms { get; set; } - } - + [Description("The terms and conditions for app usage pricing.\nMust be present in order to create usage charges.\nThe terms are presented to the merchant when they approve an app's usage charges.")] + [NonNull] + public string? terms { get; set; } + } + /// ///The input fields to issue arbitrary charges for app usage associated with a subscription. /// - [Description("The input fields to issue arbitrary charges for app usage associated with a subscription.")] - public class AppUsagePricingInput : GraphQLObject - { + [Description("The input fields to issue arbitrary charges for app usage associated with a subscription.")] + public class AppUsagePricingInput : GraphQLObject + { /// ///The maximum amount of usage charges that can be incurred within a subscription billing interval. /// - [Description("The maximum amount of usage charges that can be incurred within a subscription billing interval.")] - [NonNull] - public MoneyInput? cappedAmount { get; set; } - + [Description("The maximum amount of usage charges that can be incurred within a subscription billing interval.")] + [NonNull] + public MoneyInput? cappedAmount { get; set; } + /// ///The terms and conditions for app usage. These terms stipulate the pricing model for the charges that an app creates. /// - [Description("The terms and conditions for app usage. These terms stipulate the pricing model for the charges that an app creates.")] - [NonNull] - public string? terms { get; set; } - } - + [Description("The terms and conditions for app usage. These terms stipulate the pricing model for the charges that an app creates.")] + [NonNull] + public string? terms { get; set; } + } + /// ///Store usage for app subscriptions with usage pricing. /// - [Description("Store usage for app subscriptions with usage pricing.")] - public class AppUsageRecord : GraphQLObject, INode - { + [Description("Store usage for app subscriptions with usage pricing.")] + public class AppUsageRecord : GraphQLObject, INode + { /// ///The date and time when the usage record was created. /// - [Description("The date and time when the usage record was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the usage record was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The description of the app usage record. /// - [Description("The description of the app usage record.")] - [NonNull] - public string? description { get; set; } - + [Description("The description of the app usage record.")] + [NonNull] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A unique key generated by the client to avoid duplicate charges. /// - [Description("A unique key generated by the client to avoid duplicate charges.")] - public string? idempotencyKey { get; set; } - + [Description("A unique key generated by the client to avoid duplicate charges.")] + public string? idempotencyKey { get; set; } + /// ///The price of the usage record. /// - [Description("The price of the usage record.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The price of the usage record.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///Defines the usage pricing plan the merchant is subscribed to. /// - [Description("Defines the usage pricing plan the merchant is subscribed to.")] - [NonNull] - public AppSubscriptionLineItem? subscriptionLineItem { get; set; } - } - + [Description("Defines the usage pricing plan the merchant is subscribed to.")] + [NonNull] + public AppSubscriptionLineItem? subscriptionLineItem { get; set; } + } + /// ///An auto-generated type for paginating through multiple AppUsageRecords. /// - [Description("An auto-generated type for paginating through multiple AppUsageRecords.")] - public class AppUsageRecordConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple AppUsageRecords.")] + public class AppUsageRecordConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in AppUsageRecordEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in AppUsageRecordEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in AppUsageRecordEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `appUsageRecordCreate` mutation. /// - [Description("Return type for `appUsageRecordCreate` mutation.")] - public class AppUsageRecordCreatePayload : GraphQLObject - { + [Description("Return type for `appUsageRecordCreate` mutation.")] + public class AppUsageRecordCreatePayload : GraphQLObject + { /// ///The newly created app usage record. /// - [Description("The newly created app usage record.")] - public AppUsageRecord? appUsageRecord { get; set; } - + [Description("The newly created app usage record.")] + public AppUsageRecord? appUsageRecord { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one AppUsageRecord and a cursor during pagination. /// - [Description("An auto-generated type which holds one AppUsageRecord and a cursor during pagination.")] - public class AppUsageRecordEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one AppUsageRecord and a cursor during pagination.")] + public class AppUsageRecordEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of AppUsageRecordEdge. /// - [Description("The item at the end of AppUsageRecordEdge.")] - [NonNull] - public AppUsageRecord? node { get; set; } - } - + [Description("The item at the end of AppUsageRecordEdge.")] + [NonNull] + public AppUsageRecord? node { get; set; } + } + /// ///The set of valid sort keys for the AppUsageRecord query. /// - [Description("The set of valid sort keys for the AppUsageRecord query.")] - public enum AppUsageRecordSortKeys - { + [Description("The set of valid sort keys for the AppUsageRecord query.")] + public enum AppUsageRecordSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class AppUsageRecordSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class AppUsageRecordSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///The Apple mobile platform application. /// - [Description("The Apple mobile platform application.")] - public class AppleApplication : GraphQLObject, IMobilePlatformApplication - { + [Description("The Apple mobile platform application.")] + public class AppleApplication : GraphQLObject, IMobilePlatformApplication + { /// ///The iOS App Clip application ID. /// - [Description("The iOS App Clip application ID.")] - public string? appClipApplicationId { get; set; } - + [Description("The iOS App Clip application ID.")] + public string? appClipApplicationId { get; set; } + /// ///Whether iOS App Clips are enabled for this app. /// - [Description("Whether iOS App Clips are enabled for this app.")] - [NonNull] - public bool? appClipsEnabled { get; set; } - + [Description("Whether iOS App Clips are enabled for this app.")] + [NonNull] + public bool? appClipsEnabled { get; set; } + /// ///The iOS App ID. /// - [Description("The iOS App ID.")] - public string? appId { get; set; } - + [Description("The iOS App ID.")] + public string? appId { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether iOS shared web credentials are enabled for this app. /// - [Description("Whether iOS shared web credentials are enabled for this app.")] - [NonNull] - public bool? sharedWebCredentialsEnabled { get; set; } - + [Description("Whether iOS shared web credentials are enabled for this app.")] + [NonNull] + public bool? sharedWebCredentialsEnabled { get; set; } + /// ///Whether iOS Universal Links are supported by this app. /// - [Description("Whether iOS Universal Links are supported by this app.")] - [NonNull] - public bool? universalLinksEnabled { get; set; } - } - + [Description("Whether iOS Universal Links are supported by this app.")] + [NonNull] + public bool? universalLinksEnabled { get; set; } + } + /// ///An article in the blogging system. /// - [Description("An article in the blogging system.")] - public class Article : GraphQLObject
, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INavigable, INode, IMetafieldReference, IMetafieldReferencer - { + [Description("An article in the blogging system.")] + public class Article : GraphQLObject
, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INavigable, INode, IMetafieldReference, IMetafieldReferencer + { /// ///The name of the author of the article. /// - [Description("The name of the author of the article.")] - public ArticleAuthor? author { get; set; } - + [Description("The name of the author of the article.")] + public ArticleAuthor? author { get; set; } + /// ///The blog containing the article. /// - [Description("The blog containing the article.")] - [NonNull] - public Blog? blog { get; set; } - + [Description("The blog containing the article.")] + [NonNull] + public Blog? blog { get; set; } + /// ///The text of the article's body, complete with HTML markup. /// - [Description("The text of the article's body, complete with HTML markup.")] - [NonNull] - public string? body { get; set; } - + [Description("The text of the article's body, complete with HTML markup.")] + [NonNull] + public string? body { get; set; } + /// ///List of the article's comments. /// - [Description("List of the article's comments.")] - [NonNull] - public CommentConnection? comments { get; set; } - + [Description("List of the article's comments.")] + [NonNull] + public CommentConnection? comments { get; set; } + /// ///Count of comments. Limited to a maximum of 10000 by default. /// - [Description("Count of comments. Limited to a maximum of 10000 by default.")] - public Count? commentsCount { get; set; } - + [Description("Count of comments. Limited to a maximum of 10000 by default.")] + public Count? commentsCount { get; set; } + /// ///The date and time (ISO 8601 format) when the article was created. /// - [Description("The date and time (ISO 8601 format) when the article was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time (ISO 8601 format) when the article was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A unique, human-friendly string for the article that's automatically generated from the article's title. ///The handle is used in the article's URL. /// - [Description("A unique, human-friendly string for the article that's automatically generated from the article's title.\nThe handle is used in the article's URL.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the article that's automatically generated from the article's title.\nThe handle is used in the article's URL.")] + [NonNull] + public string? handle { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image associated with the article. /// - [Description("The image associated with the article.")] - public Image? image { get; set; } - + [Description("The image associated with the article.")] + public Image? image { get; set; } + /// ///Whether or not the article is visible. /// - [Description("Whether or not the article is visible.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether or not the article is visible.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The date and time (ISO 8601 format) when the article became or will become visible. ///Returns null when the article isn't visible. /// - [Description("The date and time (ISO 8601 format) when the article became or will become visible.\nReturns null when the article isn't visible.")] - public DateTime? publishedAt { get; set; } - + [Description("The date and time (ISO 8601 format) when the article became or will become visible.\nReturns null when the article isn't visible.")] + public DateTime? publishedAt { get; set; } + /// ///A summary of the article, which can include HTML markup. ///The summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page. /// - [Description("A summary of the article, which can include HTML markup.\nThe summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page.")] - public string? summary { get; set; } - + [Description("A summary of the article, which can include HTML markup.\nThe summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page.")] + public string? summary { get; set; } + /// ///A comma-separated list of tags. ///Tags are additional short descriptors formatted as a string of comma-separated values. /// - [Description("A comma-separated list of tags.\nTags are additional short descriptors formatted as a string of comma-separated values.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("A comma-separated list of tags.\nTags are additional short descriptors formatted as a string of comma-separated values.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The name of the template an article is using if it's using an alternate template. ///If an article is using the default `article.liquid` template, then the value returned is `null`. /// - [Description("The name of the template an article is using if it's using an alternate template.\nIf an article is using the default `article.liquid` template, then the value returned is `null`.")] - public string? templateSuffix { get; set; } - + [Description("The name of the template an article is using if it's using an alternate template.\nIf an article is using the default `article.liquid` template, then the value returned is `null`.")] + public string? templateSuffix { get; set; } + /// ///The title of the article. /// - [Description("The title of the article.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the article.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The date and time (ISO 8601 format) when the article was last updated. /// - [Description("The date and time (ISO 8601 format) when the article was last updated.")] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time (ISO 8601 format) when the article was last updated.")] + public DateTime? updatedAt { get; set; } + } + /// ///Represents an article author in an Article. /// - [Description("Represents an article author in an Article.")] - public class ArticleAuthor : GraphQLObject - { + [Description("Represents an article author in an Article.")] + public class ArticleAuthor : GraphQLObject + { /// ///The author's full name. /// - [Description("The author's full name.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The author's full name.")] + [NonNull] + public string? name { get; set; } + } + /// ///An auto-generated type for paginating through multiple ArticleAuthors. /// - [Description("An auto-generated type for paginating through multiple ArticleAuthors.")] - public class ArticleAuthorConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ArticleAuthors.")] + public class ArticleAuthorConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ArticleAuthorEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ArticleAuthorEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ArticleAuthorEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ArticleAuthor and a cursor during pagination. /// - [Description("An auto-generated type which holds one ArticleAuthor and a cursor during pagination.")] - public class ArticleAuthorEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ArticleAuthor and a cursor during pagination.")] + public class ArticleAuthorEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ArticleAuthorEdge. /// - [Description("The item at the end of ArticleAuthorEdge.")] - [NonNull] - public ArticleAuthor? node { get; set; } - } - + [Description("The item at the end of ArticleAuthorEdge.")] + [NonNull] + public ArticleAuthor? node { get; set; } + } + /// ///The input fields of a blog when an article is created or updated. /// - [Description("The input fields of a blog when an article is created or updated.")] - public class ArticleBlogInput : GraphQLObject - { + [Description("The input fields of a blog when an article is created or updated.")] + public class ArticleBlogInput : GraphQLObject + { /// ///The title of the blog. /// - [Description("The title of the blog.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the blog.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple Articles. /// - [Description("An auto-generated type for paginating through multiple Articles.")] - public class ArticleConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Articles.")] + public class ArticleConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ArticleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ArticleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable
? nodes { get; set; } - + [Description("A list of nodes that are contained in ArticleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable
? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to create an article. /// - [Description("The input fields to create an article.")] - public class ArticleCreateInput : GraphQLObject - { + [Description("The input fields to create an article.")] + public class ArticleCreateInput : GraphQLObject + { /// ///The ID of the blog containing the article. /// - [Description("The ID of the blog containing the article.")] - public string? blogId { get; set; } - + [Description("The ID of the blog containing the article.")] + public string? blogId { get; set; } + /// ///A unique, human-friendly string for the article that's automatically generated from the article's title. ///The handle is used in the article's URL. /// - [Description("A unique, human-friendly string for the article that's automatically generated from the article's title.\nThe handle is used in the article's URL.")] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the article that's automatically generated from the article's title.\nThe handle is used in the article's URL.")] + public string? handle { get; set; } + /// ///The text of the article's body, complete with HTML markup. /// - [Description("The text of the article's body, complete with HTML markup.")] - public string? body { get; set; } - + [Description("The text of the article's body, complete with HTML markup.")] + public string? body { get; set; } + /// ///A summary of the article, which can include HTML markup. ///The summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page. /// - [Description("A summary of the article, which can include HTML markup.\nThe summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page.")] - public string? summary { get; set; } - + [Description("A summary of the article, which can include HTML markup.\nThe summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page.")] + public string? summary { get; set; } + /// ///Whether or not the article should be visible. /// - [Description("Whether or not the article should be visible.")] - public bool? isPublished { get; set; } - + [Description("Whether or not the article should be visible.")] + public bool? isPublished { get; set; } + /// ///The date and time (ISO 8601 format) when the article should become visible. /// - [Description("The date and time (ISO 8601 format) when the article should become visible.")] - public DateTime? publishDate { get; set; } - + [Description("The date and time (ISO 8601 format) when the article should become visible.")] + public DateTime? publishDate { get; set; } + /// ///The suffix of the template that's used to render the page. ///If the value is an empty string or `null`, then the default article template is used. /// - [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default article template is used.")] - public string? templateSuffix { get; set; } - + [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default article template is used.")] + public string? templateSuffix { get; set; } + /// ///The input fields to create or update a metafield. /// - [Description("The input fields to create or update a metafield.")] - public IEnumerable? metafields { get; set; } - + [Description("The input fields to create or update a metafield.")] + public IEnumerable? metafields { get; set; } + /// ///A comma-separated list of tags. ///Tags are additional short descriptors formatted as a string of comma-separated values. /// - [Description("A comma-separated list of tags.\nTags are additional short descriptors formatted as a string of comma-separated values.")] - public IEnumerable? tags { get; set; } - + [Description("A comma-separated list of tags.\nTags are additional short descriptors formatted as a string of comma-separated values.")] + public IEnumerable? tags { get; set; } + /// ///The image associated with the article. /// - [Description("The image associated with the article.")] - public ArticleImageInput? image { get; set; } - + [Description("The image associated with the article.")] + public ArticleImageInput? image { get; set; } + /// ///The title of the article. /// - [Description("The title of the article.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the article.")] + [NonNull] + public string? title { get; set; } + /// ///The name of the author of the article. /// - [Description("The name of the author of the article.")] - [NonNull] - public AuthorInput? author { get; set; } - } - + [Description("The name of the author of the article.")] + [NonNull] + public AuthorInput? author { get; set; } + } + /// ///Return type for `articleCreate` mutation. /// - [Description("Return type for `articleCreate` mutation.")] - public class ArticleCreatePayload : GraphQLObject - { + [Description("Return type for `articleCreate` mutation.")] + public class ArticleCreatePayload : GraphQLObject + { /// ///The article that was created. /// - [Description("The article that was created.")] - public Article? article { get; set; } - + [Description("The article that was created.")] + public Article? article { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ArticleCreate`. /// - [Description("An error that occurs during the execution of `ArticleCreate`.")] - public class ArticleCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ArticleCreate`.")] + public class ArticleCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ArticleCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ArticleCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ArticleCreateUserError`. /// - [Description("Possible error codes that can be returned by `ArticleCreateUserError`.")] - public enum ArticleCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `ArticleCreateUserError`.")] + public enum ArticleCreateUserErrorCode + { /// ///Can't create an article author if both author name and user ID are supplied. /// - [Description("Can't create an article author if both author name and user ID are supplied.")] - AMBIGUOUS_AUTHOR, + [Description("Can't create an article author if both author name and user ID are supplied.")] + AMBIGUOUS_AUTHOR, /// ///Can't create a blog from input if a blog ID is supplied. /// - [Description("Can't create a blog from input if a blog ID is supplied.")] - AMBIGUOUS_BLOG, + [Description("Can't create a blog from input if a blog ID is supplied.")] + AMBIGUOUS_BLOG, /// ///Can't create an article if both author name and user ID are blank. /// - [Description("Can't create an article if both author name and user ID are blank.")] - AUTHOR_FIELD_REQUIRED, + [Description("Can't create an article if both author name and user ID are blank.")] + AUTHOR_FIELD_REQUIRED, /// ///User must exist if a user ID is supplied. /// - [Description("User must exist if a user ID is supplied.")] - AUTHOR_MUST_EXIST, + [Description("User must exist if a user ID is supplied.")] + AUTHOR_MUST_EXIST, /// ///Can’t set isPublished to true and also set a future publish date. /// - [Description("Can’t set isPublished to true and also set a future publish date.")] - INVALID_PUBLISH_DATE, + [Description("Can’t set isPublished to true and also set a future publish date.")] + INVALID_PUBLISH_DATE, /// ///Must reference or create a blog when creating an article. /// - [Description("Must reference or create a blog when creating an article.")] - BLOG_REFERENCE_REQUIRED, + [Description("Must reference or create a blog when creating an article.")] + BLOG_REFERENCE_REQUIRED, /// ///Image upload failed. /// - [Description("Image upload failed.")] - UPLOAD_FAILED, + [Description("Image upload failed.")] + UPLOAD_FAILED, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///The metafield type is invalid. /// - [Description("The metafield type is invalid.")] - INVALID_TYPE, - } - - public static class ArticleCreateUserErrorCodeStringValues - { - public const string AMBIGUOUS_AUTHOR = @"AMBIGUOUS_AUTHOR"; - public const string AMBIGUOUS_BLOG = @"AMBIGUOUS_BLOG"; - public const string AUTHOR_FIELD_REQUIRED = @"AUTHOR_FIELD_REQUIRED"; - public const string AUTHOR_MUST_EXIST = @"AUTHOR_MUST_EXIST"; - public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; - public const string BLOG_REFERENCE_REQUIRED = @"BLOG_REFERENCE_REQUIRED"; - public const string UPLOAD_FAILED = @"UPLOAD_FAILED"; - public const string BLANK = @"BLANK"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TAKEN = @"TAKEN"; - public const string INVALID = @"INVALID"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - } - + [Description("The metafield type is invalid.")] + INVALID_TYPE, + } + + public static class ArticleCreateUserErrorCodeStringValues + { + public const string AMBIGUOUS_AUTHOR = @"AMBIGUOUS_AUTHOR"; + public const string AMBIGUOUS_BLOG = @"AMBIGUOUS_BLOG"; + public const string AUTHOR_FIELD_REQUIRED = @"AUTHOR_FIELD_REQUIRED"; + public const string AUTHOR_MUST_EXIST = @"AUTHOR_MUST_EXIST"; + public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; + public const string BLOG_REFERENCE_REQUIRED = @"BLOG_REFERENCE_REQUIRED"; + public const string UPLOAD_FAILED = @"UPLOAD_FAILED"; + public const string BLANK = @"BLANK"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TAKEN = @"TAKEN"; + public const string INVALID = @"INVALID"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + } + /// ///Return type for `articleDelete` mutation. /// - [Description("Return type for `articleDelete` mutation.")] - public class ArticleDeletePayload : GraphQLObject - { + [Description("Return type for `articleDelete` mutation.")] + public class ArticleDeletePayload : GraphQLObject + { /// ///The ID of the deleted article. /// - [Description("The ID of the deleted article.")] - public string? deletedArticleId { get; set; } - + [Description("The ID of the deleted article.")] + public string? deletedArticleId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ArticleDelete`. /// - [Description("An error that occurs during the execution of `ArticleDelete`.")] - public class ArticleDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ArticleDelete`.")] + public class ArticleDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ArticleDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ArticleDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ArticleDeleteUserError`. /// - [Description("Possible error codes that can be returned by `ArticleDeleteUserError`.")] - public enum ArticleDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `ArticleDeleteUserError`.")] + public enum ArticleDeleteUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class ArticleDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class ArticleDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///An auto-generated type which holds one Article and a cursor during pagination. /// - [Description("An auto-generated type which holds one Article and a cursor during pagination.")] - public class ArticleEdge : GraphQLObject, IEdge
- { + [Description("An auto-generated type which holds one Article and a cursor during pagination.")] + public class ArticleEdge : GraphQLObject, IEdge
+ { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ArticleEdge. /// - [Description("The item at the end of ArticleEdge.")] - [NonNull] - public Article? node { get; set; } - } - + [Description("The item at the end of ArticleEdge.")] + [NonNull] + public Article? node { get; set; } + } + /// ///The input fields for an image associated with an article. /// - [Description("The input fields for an image associated with an article.")] - public class ArticleImageInput : GraphQLObject - { + [Description("The input fields for an image associated with an article.")] + public class ArticleImageInput : GraphQLObject + { /// ///A word or phrase to share the nature or contents of an image. /// - [Description("A word or phrase to share the nature or contents of an image.")] - public string? altText { get; set; } - + [Description("A word or phrase to share the nature or contents of an image.")] + public string? altText { get; set; } + /// ///The URL of the image. /// - [Description("The URL of the image.")] - public string? url { get; set; } - } - + [Description("The URL of the image.")] + public string? url { get; set; } + } + /// ///The set of valid sort keys for the Article query. /// - [Description("The set of valid sort keys for the Article query.")] - public enum ArticleSortKeys - { + [Description("The set of valid sort keys for the Article query.")] + public enum ArticleSortKeys + { /// ///Sort by the `author` value. /// - [Description("Sort by the `author` value.")] - AUTHOR, + [Description("Sort by the `author` value.")] + AUTHOR, /// ///Sort by the `blog_title` value. /// - [Description("Sort by the `blog_title` value.")] - BLOG_TITLE, + [Description("Sort by the `blog_title` value.")] + BLOG_TITLE, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `published_at` value. /// - [Description("Sort by the `published_at` value.")] - PUBLISHED_AT, + [Description("Sort by the `published_at` value.")] + PUBLISHED_AT, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class ArticleSortKeysStringValues - { - public const string AUTHOR = @"AUTHOR"; - public const string BLOG_TITLE = @"BLOG_TITLE"; - public const string ID = @"ID"; - public const string PUBLISHED_AT = @"PUBLISHED_AT"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class ArticleSortKeysStringValues + { + public const string AUTHOR = @"AUTHOR"; + public const string BLOG_TITLE = @"BLOG_TITLE"; + public const string ID = @"ID"; + public const string PUBLISHED_AT = @"PUBLISHED_AT"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Possible sort of tags. /// - [Description("Possible sort of tags.")] - public enum ArticleTagSort - { + [Description("Possible sort of tags.")] + public enum ArticleTagSort + { /// ///Sort alphabetically.. /// - [Description("Sort alphabetically..")] - ALPHABETICAL, + [Description("Sort alphabetically..")] + ALPHABETICAL, /// ///Sort by popularity, starting with the most popular tag. /// - [Description("Sort by popularity, starting with the most popular tag.")] - POPULAR, - } - - public static class ArticleTagSortStringValues - { - public const string ALPHABETICAL = @"ALPHABETICAL"; - public const string POPULAR = @"POPULAR"; - } - + [Description("Sort by popularity, starting with the most popular tag.")] + POPULAR, + } + + public static class ArticleTagSortStringValues + { + public const string ALPHABETICAL = @"ALPHABETICAL"; + public const string POPULAR = @"POPULAR"; + } + /// ///The input fields to update an article. /// - [Description("The input fields to update an article.")] - public class ArticleUpdateInput : GraphQLObject - { + [Description("The input fields to update an article.")] + public class ArticleUpdateInput : GraphQLObject + { /// ///The ID of the blog containing the article. /// - [Description("The ID of the blog containing the article.")] - public string? blogId { get; set; } - + [Description("The ID of the blog containing the article.")] + public string? blogId { get; set; } + /// ///A unique, human-friendly string for the article that's automatically generated from the article's title. ///The handle is used in the article's URL. /// - [Description("A unique, human-friendly string for the article that's automatically generated from the article's title.\nThe handle is used in the article's URL.")] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the article that's automatically generated from the article's title.\nThe handle is used in the article's URL.")] + public string? handle { get; set; } + /// ///The text of the article's body, complete with HTML markup. /// - [Description("The text of the article's body, complete with HTML markup.")] - public string? body { get; set; } - + [Description("The text of the article's body, complete with HTML markup.")] + public string? body { get; set; } + /// ///A summary of the article, which can include HTML markup. ///The summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page. /// - [Description("A summary of the article, which can include HTML markup.\nThe summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page.")] - public string? summary { get; set; } - + [Description("A summary of the article, which can include HTML markup.\nThe summary is used by the online store theme to display the article on other pages, such as the home page or the main blog page.")] + public string? summary { get; set; } + /// ///Whether or not the article should be visible. /// - [Description("Whether or not the article should be visible.")] - public bool? isPublished { get; set; } - + [Description("Whether or not the article should be visible.")] + public bool? isPublished { get; set; } + /// ///The date and time (ISO 8601 format) when the article should become visible. /// - [Description("The date and time (ISO 8601 format) when the article should become visible.")] - public DateTime? publishDate { get; set; } - + [Description("The date and time (ISO 8601 format) when the article should become visible.")] + public DateTime? publishDate { get; set; } + /// ///The suffix of the template that's used to render the page. ///If the value is an empty string or `null`, then the default article template is used. /// - [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default article template is used.")] - public string? templateSuffix { get; set; } - + [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default article template is used.")] + public string? templateSuffix { get; set; } + /// ///The input fields to create or update a metafield. /// - [Description("The input fields to create or update a metafield.")] - public IEnumerable? metafields { get; set; } - + [Description("The input fields to create or update a metafield.")] + public IEnumerable? metafields { get; set; } + /// ///A comma-separated list of tags. ///Tags are additional short descriptors formatted as a string of comma-separated values. /// - [Description("A comma-separated list of tags.\nTags are additional short descriptors formatted as a string of comma-separated values.")] - public IEnumerable? tags { get; set; } - + [Description("A comma-separated list of tags.\nTags are additional short descriptors formatted as a string of comma-separated values.")] + public IEnumerable? tags { get; set; } + /// ///The image associated with the article. /// - [Description("The image associated with the article.")] - public ArticleImageInput? image { get; set; } - + [Description("The image associated with the article.")] + public ArticleImageInput? image { get; set; } + /// ///The title of the article. /// - [Description("The title of the article.")] - public string? title { get; set; } - + [Description("The title of the article.")] + public string? title { get; set; } + /// ///The name of the author of the article. /// - [Description("The name of the author of the article.")] - public AuthorInput? author { get; set; } - + [Description("The name of the author of the article.")] + public AuthorInput? author { get; set; } + /// ///Whether a redirect is required after a new handle has been provided. ///If `true`, then the old handle is redirected to the new one automatically. /// - [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] - public bool? redirectNewHandle { get; set; } - } - + [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] + public bool? redirectNewHandle { get; set; } + } + /// ///Return type for `articleUpdate` mutation. /// - [Description("Return type for `articleUpdate` mutation.")] - public class ArticleUpdatePayload : GraphQLObject - { + [Description("Return type for `articleUpdate` mutation.")] + public class ArticleUpdatePayload : GraphQLObject + { /// ///The article that was updated. /// - [Description("The article that was updated.")] - public Article? article { get; set; } - + [Description("The article that was updated.")] + public Article? article { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ArticleUpdate`. /// - [Description("An error that occurs during the execution of `ArticleUpdate`.")] - public class ArticleUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ArticleUpdate`.")] + public class ArticleUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ArticleUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ArticleUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ArticleUpdateUserError`. /// - [Description("Possible error codes that can be returned by `ArticleUpdateUserError`.")] - public enum ArticleUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `ArticleUpdateUserError`.")] + public enum ArticleUpdateUserErrorCode + { /// ///Can't update an article author if both author name and user ID are supplied. /// - [Description("Can't update an article author if both author name and user ID are supplied.")] - AMBIGUOUS_AUTHOR, + [Description("Can't update an article author if both author name and user ID are supplied.")] + AMBIGUOUS_AUTHOR, /// ///Can't create a blog from input if a blog ID is supplied. /// - [Description("Can't create a blog from input if a blog ID is supplied.")] - AMBIGUOUS_BLOG, + [Description("Can't create a blog from input if a blog ID is supplied.")] + AMBIGUOUS_BLOG, /// ///User must exist if a user ID is supplied. /// - [Description("User must exist if a user ID is supplied.")] - AUTHOR_MUST_EXIST, + [Description("User must exist if a user ID is supplied.")] + AUTHOR_MUST_EXIST, /// ///Can’t set isPublished to true and also set a future publish date. /// - [Description("Can’t set isPublished to true and also set a future publish date.")] - INVALID_PUBLISH_DATE, + [Description("Can’t set isPublished to true and also set a future publish date.")] + INVALID_PUBLISH_DATE, /// ///Image upload failed. /// - [Description("Image upload failed.")] - UPLOAD_FAILED, + [Description("Image upload failed.")] + UPLOAD_FAILED, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///The metafield type is invalid. /// - [Description("The metafield type is invalid.")] - INVALID_TYPE, - } - - public static class ArticleUpdateUserErrorCodeStringValues - { - public const string AMBIGUOUS_AUTHOR = @"AMBIGUOUS_AUTHOR"; - public const string AMBIGUOUS_BLOG = @"AMBIGUOUS_BLOG"; - public const string AUTHOR_MUST_EXIST = @"AUTHOR_MUST_EXIST"; - public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; - public const string UPLOAD_FAILED = @"UPLOAD_FAILED"; - public const string BLANK = @"BLANK"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TAKEN = @"TAKEN"; - public const string INVALID = @"INVALID"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - } - + [Description("The metafield type is invalid.")] + INVALID_TYPE, + } + + public static class ArticleUpdateUserErrorCodeStringValues + { + public const string AMBIGUOUS_AUTHOR = @"AMBIGUOUS_AUTHOR"; + public const string AMBIGUOUS_BLOG = @"AMBIGUOUS_BLOG"; + public const string AUTHOR_MUST_EXIST = @"AUTHOR_MUST_EXIST"; + public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; + public const string UPLOAD_FAILED = @"UPLOAD_FAILED"; + public const string BLANK = @"BLANK"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TAKEN = @"TAKEN"; + public const string INVALID = @"INVALID"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + } + /// ///A custom property. Attributes are used to store additional information about a Shopify resource, such as ///products, customers, or orders. Attributes are stored as key-value pairs. @@ -4823,559 +4823,559 @@ public static class ArticleUpdateUserErrorCodeStringValues ///(`"preferred_delivery_date": "2025-10-01"`), the discount applied (`"loyalty_discount_applied": "10%"`), and any ///notes provided by the customer (`"customer_notes": "Please leave at the front door"`). /// - [Description("A custom property. Attributes are used to store additional information about a Shopify resource, such as\nproducts, customers, or orders. Attributes are stored as key-value pairs.\n\nFor example, a list of attributes might include whether a customer is a first-time buyer (`\"customer_first_order\": \"true\"`),\nwhether an order is gift-wrapped (`\"gift_wrapped\": \"true\"`), a preferred delivery date\n(`\"preferred_delivery_date\": \"2025-10-01\"`), the discount applied (`\"loyalty_discount_applied\": \"10%\"`), and any\nnotes provided by the customer (`\"customer_notes\": \"Please leave at the front door\"`).")] - public class Attribute : GraphQLObject - { + [Description("A custom property. Attributes are used to store additional information about a Shopify resource, such as\nproducts, customers, or orders. Attributes are stored as key-value pairs.\n\nFor example, a list of attributes might include whether a customer is a first-time buyer (`\"customer_first_order\": \"true\"`),\nwhether an order is gift-wrapped (`\"gift_wrapped\": \"true\"`), a preferred delivery date\n(`\"preferred_delivery_date\": \"2025-10-01\"`), the discount applied (`\"loyalty_discount_applied\": \"10%\"`), and any\nnotes provided by the customer (`\"customer_notes\": \"Please leave at the front door\"`).")] + public class Attribute : GraphQLObject + { /// ///The key or name of the attribute. For example, `"customer_first_order"`. /// - [Description("The key or name of the attribute. For example, `\"customer_first_order\"`.")] - [NonNull] - public string? key { get; set; } - + [Description("The key or name of the attribute. For example, `\"customer_first_order\"`.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the attribute. For example, `"true"`. /// - [Description("The value of the attribute. For example, `\"true\"`.")] - public string? value { get; set; } - } - + [Description("The value of the attribute. For example, `\"true\"`.")] + public string? value { get; set; } + } + /// ///The input fields for an attribute. /// - [Description("The input fields for an attribute.")] - public class AttributeInput : GraphQLObject - { + [Description("The input fields for an attribute.")] + public class AttributeInput : GraphQLObject + { /// ///Key or name of the attribute. /// - [Description("Key or name of the attribute.")] - [NonNull] - public string? key { get; set; } - + [Description("Key or name of the attribute.")] + [NonNull] + public string? key { get; set; } + /// ///Value of the attribute. /// - [Description("Value of the attribute.")] - [NonNull] - public string? value { get; set; } - } - + [Description("Value of the attribute.")] + [NonNull] + public string? value { get; set; } + } + /// ///The intended audience for the order status page. /// - [Description("The intended audience for the order status page.")] - public enum Audience - { + [Description("The intended audience for the order status page.")] + public enum Audience + { /// ///Intended for customer notifications. /// - [Description("Intended for customer notifications.")] - CUSTOMERVIEW, + [Description("Intended for customer notifications.")] + CUSTOMERVIEW, /// ///Intended for merchant wanting to preview the order status page. Should be used immediately after querying. /// - [Description("Intended for merchant wanting to preview the order status page. Should be used immediately after querying.")] - MERCHANTVIEW, - } - - public static class AudienceStringValues - { - public const string CUSTOMERVIEW = @"CUSTOMERVIEW"; - public const string MERCHANTVIEW = @"MERCHANTVIEW"; - } - + [Description("Intended for merchant wanting to preview the order status page. Should be used immediately after querying.")] + MERCHANTVIEW, + } + + public static class AudienceStringValues + { + public const string CUSTOMERVIEW = @"CUSTOMERVIEW"; + public const string MERCHANTVIEW = @"MERCHANTVIEW"; + } + /// ///The input fields for an author. Either the `name` or `user_id` fields can be supplied, but never both. /// - [Description("The input fields for an author. Either the `name` or `user_id` fields can be supplied, but never both.")] - public class AuthorInput : GraphQLObject - { + [Description("The input fields for an author. Either the `name` or `user_id` fields can be supplied, but never both.")] + public class AuthorInput : GraphQLObject + { /// ///The author's full name. /// - [Description("The author's full name.")] - public string? name { get; set; } - + [Description("The author's full name.")] + public string? name { get; set; } + /// ///The ID of a staff member's account. /// - [Description("The ID of a staff member's account.")] - public string? userId { get; set; } - } - + [Description("The ID of a staff member's account.")] + public string? userId { get; set; } + } + /// ///Automatic discount applications capture the intentions of a discount that was automatically applied. /// - [Description("Automatic discount applications capture the intentions of a discount that was automatically applied.")] - public class AutomaticDiscountApplication : GraphQLObject, IDiscountApplication - { + [Description("Automatic discount applications capture the intentions of a discount that was automatically applied.")] + public class AutomaticDiscountApplication : GraphQLObject, IDiscountApplication + { /// ///The method by which the discount's value is applied to its entitled items. /// - [Description("The method by which the discount's value is applied to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is applied to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///An ordered index that can be used to identify the discount application and indicate the precedence ///of the discount application for calculations. /// - [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] - [NonNull] - public int? index { get; set; } - + [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] + [NonNull] + public int? index { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The title of the discount application. /// - [Description("The title of the discount application.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the discount application.")] + [NonNull] + public string? title { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///The set of valid sort keys for the AutomaticDiscount query. /// - [Description("The set of valid sort keys for the AutomaticDiscount query.")] - public enum AutomaticDiscountSortKeys - { + [Description("The set of valid sort keys for the AutomaticDiscount query.")] + public enum AutomaticDiscountSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class AutomaticDiscountSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class AutomaticDiscountSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///Represents an object containing all information for channels available to a shop. /// - [Description("Represents an object containing all information for channels available to a shop.")] - public class AvailableChannelDefinitionsByChannel : GraphQLObject - { + [Description("Represents an object containing all information for channels available to a shop.")] + public class AvailableChannelDefinitionsByChannel : GraphQLObject + { /// ///The channel definitions for channels installed on a shop. /// - [Description("The channel definitions for channels installed on a shop.")] - [NonNull] - public IEnumerable? channelDefinitions { get; set; } - + [Description("The channel definitions for channels installed on a shop.")] + [NonNull] + public IEnumerable? channelDefinitions { get; set; } + /// ///The name of the channel. /// - [Description("The name of the channel.")] - [NonNull] - public string? channelName { get; set; } - } - + [Description("The name of the channel.")] + [NonNull] + public string? channelName { get; set; } + } + /// ///The input fields for updating a backup region with exactly one required option. /// - [Description("The input fields for updating a backup region with exactly one required option.")] - public class BackupRegionUpdateInput : GraphQLObject - { + [Description("The input fields for updating a backup region with exactly one required option.")] + public class BackupRegionUpdateInput : GraphQLObject + { /// ///A country code for the backup region. /// - [Description("A country code for the backup region.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - } - + [Description("A country code for the backup region.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + } + /// ///Return type for `backupRegionUpdate` mutation. /// - [Description("Return type for `backupRegionUpdate` mutation.")] - public class BackupRegionUpdatePayload : GraphQLObject - { + [Description("Return type for `backupRegionUpdate` mutation.")] + public class BackupRegionUpdatePayload : GraphQLObject + { /// ///Returns the updated backup region. /// - [Description("Returns the updated backup region.")] - public IMarketRegion? backupRegion { get; set; } - + [Description("Returns the updated backup region.")] + public IMarketRegion? backupRegion { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The possible types for a badge. /// - [Description("The possible types for a badge.")] - public enum BadgeType - { + [Description("The possible types for a badge.")] + public enum BadgeType + { /// ///This badge has type `default`. /// - [Description("This badge has type `default`.")] - DEFAULT, + [Description("This badge has type `default`.")] + DEFAULT, /// ///This badge has type `success`. /// - [Description("This badge has type `success`.")] - SUCCESS, + [Description("This badge has type `success`.")] + SUCCESS, /// ///This badge has type `attention`. /// - [Description("This badge has type `attention`.")] - ATTENTION, + [Description("This badge has type `attention`.")] + ATTENTION, /// ///This badge has type `warning`. /// - [Description("This badge has type `warning`.")] - WARNING, + [Description("This badge has type `warning`.")] + WARNING, /// ///This badge has type `info`. /// - [Description("This badge has type `info`.")] - INFO, + [Description("This badge has type `info`.")] + INFO, /// ///This badge has type `critical`. /// - [Description("This badge has type `critical`.")] - CRITICAL, - } - - public static class BadgeTypeStringValues - { - public const string DEFAULT = @"DEFAULT"; - public const string SUCCESS = @"SUCCESS"; - public const string ATTENTION = @"ATTENTION"; - public const string WARNING = @"WARNING"; - public const string INFO = @"INFO"; - public const string CRITICAL = @"CRITICAL"; - } - + [Description("This badge has type `critical`.")] + CRITICAL, + } + + public static class BadgeTypeStringValues + { + public const string DEFAULT = @"DEFAULT"; + public const string SUCCESS = @"SUCCESS"; + public const string ATTENTION = @"ATTENTION"; + public const string WARNING = @"WARNING"; + public const string INFO = @"INFO"; + public const string CRITICAL = @"CRITICAL"; + } + /// ///Shopify Balance account details. /// - [Description("Shopify Balance account details.")] - public class BalanceAccount : GraphQLObject - { + [Description("Shopify Balance account details.")] + public class BalanceAccount : GraphQLObject + { /// ///The shop's Shopify Balance accounts information. /// - [Description("The shop's Shopify Balance accounts information.")] - [NonNull] - public IEnumerable? bankAccounts { get; set; } - } - + [Description("The shop's Shopify Balance accounts information.")] + [NonNull] + public IEnumerable? bankAccounts { get; set; } + } + /// ///A Shopify Balance bank account. /// - [Description("A Shopify Balance bank account.")] - public class BalanceBankAccount : GraphQLObject - { + [Description("A Shopify Balance bank account.")] + public class BalanceBankAccount : GraphQLObject + { /// ///The account's account number. /// - [Description("The account's account number.")] - [NonNull] - public string? accountNumber { get; set; } - + [Description("The account's account number.")] + [NonNull] + public string? accountNumber { get; set; } + /// ///The account's available balance. /// - [Description("The account's available balance.")] - [NonNull] - public MoneyV2? availableBalance { get; set; } - + [Description("The account's available balance.")] + [NonNull] + public MoneyV2? availableBalance { get; set; } + /// ///The account's ID. /// - [Description("The account's ID.")] - [NonNull] - public string? id { get; set; } - + [Description("The account's ID.")] + [NonNull] + public string? id { get; set; } + /// ///The account's nickname. /// - [Description("The account's nickname.")] - public string? nickname { get; set; } - + [Description("The account's nickname.")] + public string? nickname { get; set; } + /// ///Whether the account is the primary account. /// - [Description("Whether the account is the primary account.")] - [NonNull] - public bool? primary { get; set; } - + [Description("Whether the account is the primary account.")] + [NonNull] + public bool? primary { get; set; } + /// ///The account's routing number. /// - [Description("The account's routing number.")] - [NonNull] - public string? routingNumber { get; set; } - + [Description("The account's routing number.")] + [NonNull] + public string? routingNumber { get; set; } + /// ///The account's status. /// - [Description("The account's status.")] - [NonNull] - [EnumType(typeof(Status))] - public string? status { get; set; } - } - + [Description("The account's status.")] + [NonNull] + [EnumType(typeof(Status))] + public string? status { get; set; } + } + /// ///The set of valid sort keys for the BalanceTransaction query. /// - [Description("The set of valid sort keys for the BalanceTransaction query.")] - public enum BalanceTransactionSortKeys - { + [Description("The set of valid sort keys for the BalanceTransaction query.")] + public enum BalanceTransactionSortKeys + { /// ///Sort by the `amount` value. /// - [Description("Sort by the `amount` value.")] - AMOUNT, + [Description("Sort by the `amount` value.")] + AMOUNT, /// ///Sort by the `fee` value. /// - [Description("Sort by the `fee` value.")] - FEE, + [Description("Sort by the `fee` value.")] + FEE, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `net` value. /// - [Description("Sort by the `net` value.")] - NET, + [Description("Sort by the `net` value.")] + NET, /// ///Sort by the `order_name` value. /// - [Description("Sort by the `order_name` value.")] - ORDER_NAME, + [Description("Sort by the `order_name` value.")] + ORDER_NAME, /// ///Sort by the `payment_method_name` value. /// - [Description("Sort by the `payment_method_name` value.")] - PAYMENT_METHOD_NAME, + [Description("Sort by the `payment_method_name` value.")] + PAYMENT_METHOD_NAME, /// ///Sort by the `payout_date` value. /// - [Description("Sort by the `payout_date` value.")] - PAYOUT_DATE, + [Description("Sort by the `payout_date` value.")] + PAYOUT_DATE, /// ///Sort by the `payout_status` value. /// - [Description("Sort by the `payout_status` value.")] - PAYOUT_STATUS, + [Description("Sort by the `payout_status` value.")] + PAYOUT_STATUS, /// ///Sort by the `processed_at` value. /// - [Description("Sort by the `processed_at` value.")] - PROCESSED_AT, + [Description("Sort by the `processed_at` value.")] + PROCESSED_AT, /// ///Sort by the `transaction_type` value. /// - [Description("Sort by the `transaction_type` value.")] - TRANSACTION_TYPE, - } - - public static class BalanceTransactionSortKeysStringValues - { - public const string AMOUNT = @"AMOUNT"; - public const string FEE = @"FEE"; - public const string ID = @"ID"; - public const string NET = @"NET"; - public const string ORDER_NAME = @"ORDER_NAME"; - public const string PAYMENT_METHOD_NAME = @"PAYMENT_METHOD_NAME"; - public const string PAYOUT_DATE = @"PAYOUT_DATE"; - public const string PAYOUT_STATUS = @"PAYOUT_STATUS"; - public const string PROCESSED_AT = @"PROCESSED_AT"; - public const string TRANSACTION_TYPE = @"TRANSACTION_TYPE"; - } - + [Description("Sort by the `transaction_type` value.")] + TRANSACTION_TYPE, + } + + public static class BalanceTransactionSortKeysStringValues + { + public const string AMOUNT = @"AMOUNT"; + public const string FEE = @"FEE"; + public const string ID = @"ID"; + public const string NET = @"NET"; + public const string ORDER_NAME = @"ORDER_NAME"; + public const string PAYMENT_METHOD_NAME = @"PAYMENT_METHOD_NAME"; + public const string PAYOUT_DATE = @"PAYOUT_DATE"; + public const string PAYOUT_STATUS = @"PAYOUT_STATUS"; + public const string PROCESSED_AT = @"PROCESSED_AT"; + public const string TRANSACTION_TYPE = @"TRANSACTION_TYPE"; + } + /// ///Represents a bank account payment instrument. /// - [Description("Represents a bank account payment instrument.")] - public class BankAccount : GraphQLObject, ICustomerPaymentInstrument, IPaymentInstrument - { + [Description("Represents a bank account payment instrument.")] + public class BankAccount : GraphQLObject, ICustomerPaymentInstrument, IPaymentInstrument + { /// ///The type of account holder. /// - [Description("The type of account holder.")] - [NonNull] - [EnumType(typeof(BankAccountHolderType))] - public string? accountHolderType { get; set; } - + [Description("The type of account holder.")] + [NonNull] + [EnumType(typeof(BankAccountHolderType))] + public string? accountHolderType { get; set; } + /// ///The type of bank account. /// - [Description("The type of bank account.")] - [NonNull] - [EnumType(typeof(BankAccountType))] - public string? accountType { get; set; } - + [Description("The type of bank account.")] + [NonNull] + [EnumType(typeof(BankAccountType))] + public string? accountType { get; set; } + /// ///The name of the bank. /// - [Description("The name of the bank.")] - [NonNull] - public string? bankName { get; set; } - + [Description("The name of the bank.")] + [NonNull] + public string? bankName { get; set; } + /// ///The billing address associated with the bank account. /// - [Description("The billing address associated with the bank account.")] - public CustomerPaymentInstrumentBillingAddress? billingAddress { get; set; } - + [Description("The billing address associated with the bank account.")] + public CustomerPaymentInstrumentBillingAddress? billingAddress { get; set; } + /// ///The last four digits of the account number. /// - [Description("The last four digits of the account number.")] - [NonNull] - public string? lastDigits { get; set; } - } - + [Description("The last four digits of the account number.")] + [NonNull] + public string? lastDigits { get; set; } + } + /// ///The type of bank account holder. /// - [Description("The type of bank account holder.")] - public enum BankAccountHolderType - { + [Description("The type of bank account holder.")] + public enum BankAccountHolderType + { /// ///A company account holder. /// - [Description("A company account holder.")] - COMPANY, + [Description("A company account holder.")] + COMPANY, /// ///An individual account holder. /// - [Description("An individual account holder.")] - INDIVIDUAL, - } - - public static class BankAccountHolderTypeStringValues - { - public const string COMPANY = @"COMPANY"; - public const string INDIVIDUAL = @"INDIVIDUAL"; - } - + [Description("An individual account holder.")] + INDIVIDUAL, + } + + public static class BankAccountHolderTypeStringValues + { + public const string COMPANY = @"COMPANY"; + public const string INDIVIDUAL = @"INDIVIDUAL"; + } + /// ///The type of bank account. /// - [Description("The type of bank account.")] - public enum BankAccountType - { + [Description("The type of bank account.")] + public enum BankAccountType + { /// ///A checking account. /// - [Description("A checking account.")] - CHECKING, + [Description("A checking account.")] + CHECKING, /// ///A savings account. /// - [Description("A savings account.")] - SAVINGS, - } - - public static class BankAccountTypeStringValues - { - public const string CHECKING = @"CHECKING"; - public const string SAVINGS = @"SAVINGS"; - } - + [Description("A savings account.")] + SAVINGS, + } + + public static class BankAccountTypeStringValues + { + public const string CHECKING = @"CHECKING"; + public const string SAVINGS = @"SAVINGS"; + } + /// ///The valid types of actions a user should be able to perform in an financial app. /// - [Description("The valid types of actions a user should be able to perform in an financial app.")] - public enum BankingFinanceAppAccess - { + [Description("The valid types of actions a user should be able to perform in an financial app.")] + public enum BankingFinanceAppAccess + { /// ///Read access in the financial app. /// - [Description("Read access in the financial app.")] - READ_ACCESS, + [Description("Read access in the financial app.")] + READ_ACCESS, /// ///Ability to perform actions that moves money. /// - [Description("Ability to perform actions that moves money.")] - MOVE_MONEY, + [Description("Ability to perform actions that moves money.")] + MOVE_MONEY, /// ///Indication that the user has restricted money movement. /// - [Description("Indication that the user has restricted money movement.")] - MONEY_MOVEMENT_RESTRICTED, + [Description("Indication that the user has restricted money movement.")] + MONEY_MOVEMENT_RESTRICTED, /// ///Indication that the user has blocked money movement due to MFA disabled. /// - [Description("Indication that the user has blocked money movement due to MFA disabled.")] - MONEY_MOVEMENT_BLOCKED_MFA, - } - - public static class BankingFinanceAppAccessStringValues - { - public const string READ_ACCESS = @"READ_ACCESS"; - public const string MOVE_MONEY = @"MOVE_MONEY"; - public const string MONEY_MOVEMENT_RESTRICTED = @"MONEY_MOVEMENT_RESTRICTED"; - public const string MONEY_MOVEMENT_BLOCKED_MFA = @"MONEY_MOVEMENT_BLOCKED_MFA"; - } - + [Description("Indication that the user has blocked money movement due to MFA disabled.")] + MONEY_MOVEMENT_BLOCKED_MFA, + } + + public static class BankingFinanceAppAccessStringValues + { + public const string READ_ACCESS = @"READ_ACCESS"; + public const string MOVE_MONEY = @"MOVE_MONEY"; + public const string MONEY_MOVEMENT_RESTRICTED = @"MONEY_MOVEMENT_RESTRICTED"; + public const string MONEY_MOVEMENT_BLOCKED_MFA = @"MONEY_MOVEMENT_BLOCKED_MFA"; + } + /// ///Generic payment details that are related to a transaction. /// - [Description("Generic payment details that are related to a transaction.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CardPaymentDetails), typeDiscriminator: "CardPaymentDetails")] - [JsonDerivedType(typeof(LocalPaymentMethodsPaymentDetails), typeDiscriminator: "LocalPaymentMethodsPaymentDetails")] - [JsonDerivedType(typeof(PaypalWalletPaymentDetails), typeDiscriminator: "PaypalWalletPaymentDetails")] - [JsonDerivedType(typeof(ShopPayInstallmentsPaymentDetails), typeDiscriminator: "ShopPayInstallmentsPaymentDetails")] - public interface IBasePaymentDetails : IGraphQLObject - { - public CardPaymentDetails? AsCardPaymentDetails() => this as CardPaymentDetails; - public LocalPaymentMethodsPaymentDetails? AsLocalPaymentMethodsPaymentDetails() => this as LocalPaymentMethodsPaymentDetails; - public PaypalWalletPaymentDetails? AsPaypalWalletPaymentDetails() => this as PaypalWalletPaymentDetails; - public ShopPayInstallmentsPaymentDetails? AsShopPayInstallmentsPaymentDetails() => this as ShopPayInstallmentsPaymentDetails; + [Description("Generic payment details that are related to a transaction.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CardPaymentDetails), typeDiscriminator: "CardPaymentDetails")] + [JsonDerivedType(typeof(LocalPaymentMethodsPaymentDetails), typeDiscriminator: "LocalPaymentMethodsPaymentDetails")] + [JsonDerivedType(typeof(PaypalWalletPaymentDetails), typeDiscriminator: "PaypalWalletPaymentDetails")] + [JsonDerivedType(typeof(ShopPayInstallmentsPaymentDetails), typeDiscriminator: "ShopPayInstallmentsPaymentDetails")] + public interface IBasePaymentDetails : IGraphQLObject + { + public CardPaymentDetails? AsCardPaymentDetails() => this as CardPaymentDetails; + public LocalPaymentMethodsPaymentDetails? AsLocalPaymentMethodsPaymentDetails() => this as LocalPaymentMethodsPaymentDetails; + public PaypalWalletPaymentDetails? AsPaypalWalletPaymentDetails() => this as PaypalWalletPaymentDetails; + public ShopPayInstallmentsPaymentDetails? AsShopPayInstallmentsPaymentDetails() => this as ShopPayInstallmentsPaymentDetails; /// ///The name of payment method used by the buyer. /// - [Description("The name of payment method used by the buyer.")] - public string? paymentMethodName { get; } - } - + [Description("The name of payment method used by the buyer.")] + public string? paymentMethodName { get; } + } + /// ///Basic events chronicle resource activities such as the creation of an article, the fulfillment of an order, or ///the addition of a product. @@ -5432,1073 +5432,1073 @@ public interface IBasePaymentDetails : IGraphQLObject ///| `void_pending` | Authorization void is pending. | Voiding the authorization is in process. The authorization is still valid. | ///| `void_success` | We successfully voided the authorization. | Voiding the authorization was successful. The authorization is no longer valid. | /// - [Description("Basic events chronicle resource activities such as the creation of an article, the fulfillment of an order, or\nthe addition of a product.\n\n### General events\n\n| Action | Description |\n|---|---|\n| `create` | The item was created. |\n| `destroy` | The item was destroyed. |\n| `published` | The item was published. |\n| `unpublished` | The item was unpublished. |\n| `update` | The item was updated. |\n\n### Order events\n\nOrder events can be divided into the following categories:\n\n- *Authorization*: Includes whether the authorization succeeded, failed, or is pending.\n- *Capture*: Includes whether the capture succeeded, failed, or is pending.\n- *Email*: Includes confirmation or cancellation of the order, as well as shipping.\n- *Fulfillment*: Includes whether the fulfillment succeeded, failed, or is pending. Also includes cancellation, restocking, and fulfillment updates.\n- *Order*: Includess the placement, confirmation, closing, re-opening, and cancellation of the order.\n- *Refund*: Includes whether the refund succeeded, failed, or is pending.\n- *Sale*: Includes whether the sale succeeded, failed, or is pending.\n- *Void*: Includes whether the void succeeded, failed, or is pending.\n\n| Action | Message | Description |\n|---|---|---|\n| `authorization_failure` | The customer, unsuccessfully, tried to authorize: `{money_amount}`. | Authorization failed. The funds cannot be captured. |\n| `authorization_pending` | Authorization for `{money_amount}` is pending. | Authorization pending. |\n| `authorization_success` | The customer successfully authorized us to capture: `{money_amount}`. | Authorization was successful and the funds are available for capture. |\n| `cancelled` | Order was cancelled by `{shop_staff_name}`. | The order was cancelled. |\n| `capture_failure` | We failed to capture: `{money_amount}`. | The capture failed. The funds cannot be transferred to the shop. |\n| `capture_pending` | Capture for `{money_amount}` is pending. | The capture is in process. The funds are not yet available to the shop. |\n| `capture_success` | We successfully captured: `{money_amount}` | The capture was successful and the funds are now available to the shop. |\n| `closed` | Order was closed. | The order was closed. |\n| `confirmed` | Received a new order: `{order_number}` by `{customer_name}`. | The order was confirmed. |\n| `fulfillment_cancelled` | We cancelled `{number_of_line_items}` from being fulfilled by the third party fulfillment service. | Fulfillment for one or more of the line_items failed. |\n| `fulfillment_pending` | We submitted `{number_of_line_items}` to the third party service. | One or more of the line_items has been assigned to a third party service for fulfillment. |\n| `fulfillment_success` | We successfully fulfilled line_items. | Fulfillment was successful for one or more line_items. |\n| `mail_sent` | `{message_type}` email was sent to the customer. | An email was sent to the customer. |\n| `placed` | Order was placed. | An order was placed by the customer. |\n| `re_opened` | Order was re-opened. | An order was re-opened. |\n| `refund_failure` | We failed to refund `{money_amount}`. | The refund failed. The funds are still with the shop. |\n| `refund_pending` | Refund of `{money_amount}` is still pending. | The refund is in process. The funds are still with shop. |\n| `refund_success` | We successfully refunded `{money_amount}`. | The refund was successful. The funds have been transferred to the customer. |\n| `restock_line_items` | We restocked `{number_of_line_items}`. |\tOne or more of the order's line items have been restocked. |\n| `sale_failure` | The customer failed to pay `{money_amount}`. | The sale failed. The funds are not available to the shop. |\n| `sale_pending` | The `{money_amount}` is pending. | The sale is in process. The funds are not yet available to the shop. |\n| `sale_success` | We successfully captured `{money_amount}`. | The sale was successful. The funds are now with the shop. |\n| `update` | `{order_number}` was updated. | The order was updated. |\n| `void_failure` | We failed to void the authorization. | Voiding the authorization failed. The authorization is still valid. |\n| `void_pending` | Authorization void is pending. | Voiding the authorization is in process. The authorization is still valid. |\n| `void_success` | We successfully voided the authorization. | Voiding the authorization was successful. The authorization is no longer valid. |")] - public class BasicEvent : GraphQLObject, IEvent, INode - { + [Description("Basic events chronicle resource activities such as the creation of an article, the fulfillment of an order, or\nthe addition of a product.\n\n### General events\n\n| Action | Description |\n|---|---|\n| `create` | The item was created. |\n| `destroy` | The item was destroyed. |\n| `published` | The item was published. |\n| `unpublished` | The item was unpublished. |\n| `update` | The item was updated. |\n\n### Order events\n\nOrder events can be divided into the following categories:\n\n- *Authorization*: Includes whether the authorization succeeded, failed, or is pending.\n- *Capture*: Includes whether the capture succeeded, failed, or is pending.\n- *Email*: Includes confirmation or cancellation of the order, as well as shipping.\n- *Fulfillment*: Includes whether the fulfillment succeeded, failed, or is pending. Also includes cancellation, restocking, and fulfillment updates.\n- *Order*: Includess the placement, confirmation, closing, re-opening, and cancellation of the order.\n- *Refund*: Includes whether the refund succeeded, failed, or is pending.\n- *Sale*: Includes whether the sale succeeded, failed, or is pending.\n- *Void*: Includes whether the void succeeded, failed, or is pending.\n\n| Action | Message | Description |\n|---|---|---|\n| `authorization_failure` | The customer, unsuccessfully, tried to authorize: `{money_amount}`. | Authorization failed. The funds cannot be captured. |\n| `authorization_pending` | Authorization for `{money_amount}` is pending. | Authorization pending. |\n| `authorization_success` | The customer successfully authorized us to capture: `{money_amount}`. | Authorization was successful and the funds are available for capture. |\n| `cancelled` | Order was cancelled by `{shop_staff_name}`. | The order was cancelled. |\n| `capture_failure` | We failed to capture: `{money_amount}`. | The capture failed. The funds cannot be transferred to the shop. |\n| `capture_pending` | Capture for `{money_amount}` is pending. | The capture is in process. The funds are not yet available to the shop. |\n| `capture_success` | We successfully captured: `{money_amount}` | The capture was successful and the funds are now available to the shop. |\n| `closed` | Order was closed. | The order was closed. |\n| `confirmed` | Received a new order: `{order_number}` by `{customer_name}`. | The order was confirmed. |\n| `fulfillment_cancelled` | We cancelled `{number_of_line_items}` from being fulfilled by the third party fulfillment service. | Fulfillment for one or more of the line_items failed. |\n| `fulfillment_pending` | We submitted `{number_of_line_items}` to the third party service. | One or more of the line_items has been assigned to a third party service for fulfillment. |\n| `fulfillment_success` | We successfully fulfilled line_items. | Fulfillment was successful for one or more line_items. |\n| `mail_sent` | `{message_type}` email was sent to the customer. | An email was sent to the customer. |\n| `placed` | Order was placed. | An order was placed by the customer. |\n| `re_opened` | Order was re-opened. | An order was re-opened. |\n| `refund_failure` | We failed to refund `{money_amount}`. | The refund failed. The funds are still with the shop. |\n| `refund_pending` | Refund of `{money_amount}` is still pending. | The refund is in process. The funds are still with shop. |\n| `refund_success` | We successfully refunded `{money_amount}`. | The refund was successful. The funds have been transferred to the customer. |\n| `restock_line_items` | We restocked `{number_of_line_items}`. |\tOne or more of the order's line items have been restocked. |\n| `sale_failure` | The customer failed to pay `{money_amount}`. | The sale failed. The funds are not available to the shop. |\n| `sale_pending` | The `{money_amount}` is pending. | The sale is in process. The funds are not yet available to the shop. |\n| `sale_success` | We successfully captured `{money_amount}`. | The sale was successful. The funds are now with the shop. |\n| `update` | `{order_number}` was updated. | The order was updated. |\n| `void_failure` | We failed to void the authorization. | Voiding the authorization failed. The authorization is still valid. |\n| `void_pending` | Authorization void is pending. | Voiding the authorization is in process. The authorization is still valid. |\n| `void_success` | We successfully voided the authorization. | Voiding the authorization was successful. The authorization is no longer valid. |")] + public class BasicEvent : GraphQLObject, IEvent, INode + { /// ///The action that occured. /// - [Description("The action that occured.")] - [NonNull] - public string? action { get; set; } - + [Description("The action that occured.")] + [NonNull] + public string? action { get; set; } + /// ///Provides additional content for collapsible timeline events. /// - [Description("Provides additional content for collapsible timeline events.")] - public string? additionalContent { get; set; } - + [Description("Provides additional content for collapsible timeline events.")] + public string? additionalContent { get; set; } + /// ///Provides additional data for event consumers. /// - [Description("Provides additional data for event consumers.")] - public string? additionalData { get; set; } - + [Description("Provides additional data for event consumers.")] + public string? additionalData { get; set; } + /// ///The name of the app that created the event. /// - [Description("The name of the app that created the event.")] - public string? appTitle { get; set; } - + [Description("The name of the app that created the event.")] + public string? appTitle { get; set; } + /// ///Refers to a certain event and its resources. /// - [Description("Refers to a certain event and its resources.")] - public string? arguments { get; set; } - + [Description("Refers to a certain event and its resources.")] + public string? arguments { get; set; } + /// ///Whether the event was created by an app. /// - [Description("Whether the event was created by an app.")] - [NonNull] - public bool? attributeToApp { get; set; } - + [Description("Whether the event was created by an app.")] + [NonNull] + public bool? attributeToApp { get; set; } + /// ///Whether the event was caused by an admin user. /// - [Description("Whether the event was caused by an admin user.")] - [NonNull] - public bool? attributeToUser { get; set; } - + [Description("Whether the event was caused by an admin user.")] + [NonNull] + public bool? attributeToUser { get; set; } + /// ///The entity which performed the action that generated the event. /// - [Description("The entity which performed the action that generated the event.")] - public string? author { get; set; } - + [Description("The entity which performed the action that generated the event.")] + public string? author { get; set; } + /// ///The date and time when the event was created. /// - [Description("The date and time when the event was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the event was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Whether the event is critical. /// - [Description("Whether the event is critical.")] - [NonNull] - public bool? criticalAlert { get; set; } - + [Description("Whether the event is critical.")] + [NonNull] + public bool? criticalAlert { get; set; } + /// ///Whether this event has additional content. /// - [Description("Whether this event has additional content.")] - [NonNull] - public bool? hasAdditionalContent { get; set; } - + [Description("Whether this event has additional content.")] + [NonNull] + public bool? hasAdditionalContent { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Human readable text that describes the event. /// - [Description("Human readable text that describes the event.")] - [NonNull] - public string? message { get; set; } - + [Description("Human readable text that describes the event.")] + [NonNull] + public string? message { get; set; } + /// ///Human readable text that supports the event message. /// - [Description("Human readable text that supports the event message.")] - public string? secondaryMessage { get; set; } - + [Description("Human readable text that supports the event message.")] + public string? secondaryMessage { get; set; } + /// ///The resource that generated the event. To see a list of possible types, ///refer to [HasEvents](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/HasEvents#implemented-in). /// - [Description("The resource that generated the event. To see a list of possible types,\nrefer to [HasEvents](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/HasEvents#implemented-in).")] - public IHasEvents? subject { get; set; } - + [Description("The resource that generated the event. To see a list of possible types,\nrefer to [HasEvents](https://shopify.dev/docs/api/admin-graphql/unstable/interfaces/HasEvents#implemented-in).")] + public IHasEvents? subject { get; set; } + /// ///The ID of the resource that generated the event. /// - [Description("The ID of the resource that generated the event.")] - [NonNull] - public string? subjectId { get; set; } - + [Description("The ID of the resource that generated the event.")] + [NonNull] + public string? subjectId { get; set; } + /// ///The type of the resource that generated the event. /// - [Description("The type of the resource that generated the event.")] - [NonNull] - [EnumType(typeof(EventSubjectType))] - public string? subjectType { get; set; } - } - + [Description("The type of the resource that generated the event.")] + [NonNull] + [EnumType(typeof(EventSubjectType))] + public string? subjectType { get; set; } + } + /// ///Represents an error that happens during the execution of a billing attempt mutation. /// - [Description("Represents an error that happens during the execution of a billing attempt mutation.")] - public class BillingAttemptUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during the execution of a billing attempt mutation.")] + public class BillingAttemptUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BillingAttemptUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BillingAttemptUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `BillingAttemptUserError`. /// - [Description("Possible error codes that can be returned by `BillingAttemptUserError`.")] - public enum BillingAttemptUserErrorCode - { + [Description("Possible error codes that can be returned by `BillingAttemptUserError`.")] + public enum BillingAttemptUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///Subscription contract does not exist. /// - [Description("Subscription contract does not exist.")] - CONTRACT_NOT_FOUND, + [Description("Subscription contract does not exist.")] + CONTRACT_NOT_FOUND, /// ///Origin time cannot be before the contract creation time. /// - [Description("Origin time cannot be before the contract creation time.")] - ORIGIN_TIME_BEFORE_CONTRACT_CREATION, + [Description("Origin time cannot be before the contract creation time.")] + ORIGIN_TIME_BEFORE_CONTRACT_CREATION, /// ///Billing cycle selector cannot select upcoming billing cycle past limit. /// - [Description("Billing cycle selector cannot select upcoming billing cycle past limit.")] - UPCOMING_CYCLE_LIMIT_EXCEEDED, + [Description("Billing cycle selector cannot select upcoming billing cycle past limit.")] + UPCOMING_CYCLE_LIMIT_EXCEEDED, /// ///Billing cycle selector cannot select billing cycle outside of index range. /// - [Description("Billing cycle selector cannot select billing cycle outside of index range.")] - CYCLE_INDEX_OUT_OF_RANGE, + [Description("Billing cycle selector cannot select billing cycle outside of index range.")] + CYCLE_INDEX_OUT_OF_RANGE, /// ///Billing cycle selector cannot select billing cycle outside of start date range. /// - [Description("Billing cycle selector cannot select billing cycle outside of start date range.")] - CYCLE_START_DATE_OUT_OF_RANGE, + [Description("Billing cycle selector cannot select billing cycle outside of start date range.")] + CYCLE_START_DATE_OUT_OF_RANGE, /// ///Origin time needs to be within the selected billing cycle's start and end at date. /// - [Description("Origin time needs to be within the selected billing cycle's start and end at date.")] - ORIGIN_TIME_OUT_OF_RANGE, + [Description("Origin time needs to be within the selected billing cycle's start and end at date.")] + ORIGIN_TIME_OUT_OF_RANGE, /// ///Billing cycle charge attempt made more than 24 hours before the billing cycle `billingAttemptExpectedDate`. /// - [Description("Billing cycle charge attempt made more than 24 hours before the billing cycle `billingAttemptExpectedDate`.")] - BILLING_CYCLE_CHARGE_BEFORE_EXPECTED_DATE, + [Description("Billing cycle charge attempt made more than 24 hours before the billing cycle `billingAttemptExpectedDate`.")] + BILLING_CYCLE_CHARGE_BEFORE_EXPECTED_DATE, /// ///Billing cycle must not be skipped. /// - [Description("Billing cycle must not be skipped.")] - BILLING_CYCLE_SKIPPED, + [Description("Billing cycle must not be skipped.")] + BILLING_CYCLE_SKIPPED, /// ///Subscription contract is under review. /// - [Description("Subscription contract is under review.")] - CONTRACT_UNDER_REVIEW, + [Description("Subscription contract is under review.")] + CONTRACT_UNDER_REVIEW, /// ///Subscription contract cannot be billed once terminated. /// - [Description("Subscription contract cannot be billed once terminated.")] - CONTRACT_TERMINATED, + [Description("Subscription contract cannot be billed once terminated.")] + CONTRACT_TERMINATED, /// ///Subscription contract cannot be billed if paused. /// - [Description("Subscription contract cannot be billed if paused.")] - CONTRACT_PAUSED, + [Description("Subscription contract cannot be billed if paused.")] + CONTRACT_PAUSED, /// ///Billing attempt rate limit exceeded - try later. /// - [Description("Billing attempt rate limit exceeded - try later.")] - THROTTLED, - } - - public static class BillingAttemptUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string CONTRACT_NOT_FOUND = @"CONTRACT_NOT_FOUND"; - public const string ORIGIN_TIME_BEFORE_CONTRACT_CREATION = @"ORIGIN_TIME_BEFORE_CONTRACT_CREATION"; - public const string UPCOMING_CYCLE_LIMIT_EXCEEDED = @"UPCOMING_CYCLE_LIMIT_EXCEEDED"; - public const string CYCLE_INDEX_OUT_OF_RANGE = @"CYCLE_INDEX_OUT_OF_RANGE"; - public const string CYCLE_START_DATE_OUT_OF_RANGE = @"CYCLE_START_DATE_OUT_OF_RANGE"; - public const string ORIGIN_TIME_OUT_OF_RANGE = @"ORIGIN_TIME_OUT_OF_RANGE"; - public const string BILLING_CYCLE_CHARGE_BEFORE_EXPECTED_DATE = @"BILLING_CYCLE_CHARGE_BEFORE_EXPECTED_DATE"; - public const string BILLING_CYCLE_SKIPPED = @"BILLING_CYCLE_SKIPPED"; - public const string CONTRACT_UNDER_REVIEW = @"CONTRACT_UNDER_REVIEW"; - public const string CONTRACT_TERMINATED = @"CONTRACT_TERMINATED"; - public const string CONTRACT_PAUSED = @"CONTRACT_PAUSED"; - public const string THROTTLED = @"THROTTLED"; - } - + [Description("Billing attempt rate limit exceeded - try later.")] + THROTTLED, + } + + public static class BillingAttemptUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string CONTRACT_NOT_FOUND = @"CONTRACT_NOT_FOUND"; + public const string ORIGIN_TIME_BEFORE_CONTRACT_CREATION = @"ORIGIN_TIME_BEFORE_CONTRACT_CREATION"; + public const string UPCOMING_CYCLE_LIMIT_EXCEEDED = @"UPCOMING_CYCLE_LIMIT_EXCEEDED"; + public const string CYCLE_INDEX_OUT_OF_RANGE = @"CYCLE_INDEX_OUT_OF_RANGE"; + public const string CYCLE_START_DATE_OUT_OF_RANGE = @"CYCLE_START_DATE_OUT_OF_RANGE"; + public const string ORIGIN_TIME_OUT_OF_RANGE = @"ORIGIN_TIME_OUT_OF_RANGE"; + public const string BILLING_CYCLE_CHARGE_BEFORE_EXPECTED_DATE = @"BILLING_CYCLE_CHARGE_BEFORE_EXPECTED_DATE"; + public const string BILLING_CYCLE_SKIPPED = @"BILLING_CYCLE_SKIPPED"; + public const string CONTRACT_UNDER_REVIEW = @"CONTRACT_UNDER_REVIEW"; + public const string CONTRACT_TERMINATED = @"CONTRACT_TERMINATED"; + public const string CONTRACT_PAUSED = @"CONTRACT_PAUSED"; + public const string THROTTLED = @"THROTTLED"; + } + /// ///A feature definition for a plan that is marketed. /// - [Description("A feature definition for a plan that is marketed.")] - public class BillingPlanFeature : GraphQLObject - { + [Description("A feature definition for a plan that is marketed.")] + public class BillingPlanFeature : GraphQLObject + { /// ///Description of the feature. /// - [Description("Description of the feature.")] - [NonNull] - public string? description { get; set; } - + [Description("Description of the feature.")] + [NonNull] + public string? description { get; set; } + /// ///A summary of the feature. /// - [Description("A summary of the feature.")] - [NonNull] - public string? summary { get; set; } - + [Description("A summary of the feature.")] + [NonNull] + public string? summary { get; set; } + /// ///The type of feature. /// - [Description("The type of feature.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of feature.")] + [NonNull] + public string? type { get; set; } + /// ///The scalar value for the feature. /// - [Description("The scalar value for the feature.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("The scalar value for the feature.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///A section on the plan feature grid. /// - [Description("A section on the plan feature grid.")] - public class BillingPlanFeatureSection : GraphQLObject - { + [Description("A section on the plan feature grid.")] + public class BillingPlanFeatureSection : GraphQLObject + { /// ///The category in which a group of features belongs to. /// - [Description("The category in which a group of features belongs to.")] - [NonNull] - public string? featureCategory { get; set; } - + [Description("The category in which a group of features belongs to.")] + [NonNull] + public string? featureCategory { get; set; } + /// ///The set of features. /// - [Description("The set of features.")] - [NonNull] - public IEnumerable? features { get; set; } - + [Description("The set of features.")] + [NonNull] + public IEnumerable? features { get; set; } + /// ///Title to display for section. /// - [Description("Title to display for section.")] - [NonNull] - public string? title { get; set; } - } - + [Description("Title to display for section.")] + [NonNull] + public string? title { get; set; } + } + /// ///A key value pair for a feature with its plan name and value. /// - [Description("A key value pair for a feature with its plan name and value.")] - public class BillingPlanFeatureValue : GraphQLObject - { + [Description("A key value pair for a feature with its plan name and value.")] + public class BillingPlanFeatureValue : GraphQLObject + { /// ///Plan name to which the feature belongs. /// - [Description("Plan name to which the feature belongs.")] - [NonNull] - public string? planName { get; set; } - + [Description("Plan name to which the feature belongs.")] + [NonNull] + public string? planName { get; set; } + /// ///The value for the feature. /// - [Description("The value for the feature.")] - [NonNull] - public object? value { get; set; } - } - + [Description("The value for the feature.")] + [NonNull] + public object? value { get; set; } + } + /// ///Shopify stores come with a built-in blogging engine, allowing a shop to have one or more blogs. Blogs are meant ///to be used as a type of magazine or newsletter for the shop, with content that changes over time. /// - [Description("Shopify stores come with a built-in blogging engine, allowing a shop to have one or more blogs. Blogs are meant\nto be used as a type of magazine or newsletter for the shop, with content that changes over time.")] - public class Blog : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode, IMetafieldReferencer - { + [Description("Shopify stores come with a built-in blogging engine, allowing a shop to have one or more blogs. Blogs are meant\nto be used as a type of magazine or newsletter for the shop, with content that changes over time.")] + public class Blog : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode, IMetafieldReferencer + { /// ///List of the blog's articles. /// - [Description("List of the blog's articles.")] - [NonNull] - public ArticleConnection? articles { get; set; } - + [Description("List of the blog's articles.")] + [NonNull] + public ArticleConnection? articles { get; set; } + /// ///Count of articles. Limited to a maximum of 10000 by default. /// - [Description("Count of articles. Limited to a maximum of 10000 by default.")] - public Count? articlesCount { get; set; } - + [Description("Count of articles. Limited to a maximum of 10000 by default.")] + public Count? articlesCount { get; set; } + /// ///Indicates whether readers can post comments to the blog and if comments are moderated or not. /// - [Description("Indicates whether readers can post comments to the blog and if comments are moderated or not.")] - [NonNull] - [EnumType(typeof(CommentPolicy))] - public string? commentPolicy { get; set; } - + [Description("Indicates whether readers can post comments to the blog and if comments are moderated or not.")] + [NonNull] + [EnumType(typeof(CommentPolicy))] + public string? commentPolicy { get; set; } + /// ///The date and time when the blog was created. /// - [Description("The date and time when the blog was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the blog was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service. /// - [Description("FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service.")] - public BlogFeed? feed { get; set; } - + [Description("FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service.")] + public BlogFeed? feed { get; set; } + /// ///A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. ///The handle is customizable and is used by the Liquid templating language to refer to the blog. /// - [Description("A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title.\nThe handle is customizable and is used by the Liquid templating language to refer to the blog.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title.\nThe handle is customizable and is used by the Liquid templating language to refer to the blog.")] + [NonNull] + public string? handle { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///A list of tags associated with the 200 most recent blog articles. /// - [Description("A list of tags associated with the 200 most recent blog articles.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("A list of tags associated with the 200 most recent blog articles.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The name of the template a blog is using if it's using an alternate template. ///Returns `null` if a blog is using the default blog.liquid template. /// - [Description("The name of the template a blog is using if it's using an alternate template.\nReturns `null` if a blog is using the default blog.liquid template.")] - public string? templateSuffix { get; set; } - + [Description("The name of the template a blog is using if it's using an alternate template.\nReturns `null` if a blog is using the default blog.liquid template.")] + public string? templateSuffix { get; set; } + /// ///The title of the blog. /// - [Description("The title of the blog.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the blog.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The date and time when the blog was update. /// - [Description("The date and time when the blog was update.")] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the blog was update.")] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple Blogs. /// - [Description("An auto-generated type for paginating through multiple Blogs.")] - public class BlogConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Blogs.")] + public class BlogConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in BlogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in BlogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in BlogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to create a blog. /// - [Description("The input fields to create a blog.")] - public class BlogCreateInput : GraphQLObject - { + [Description("The input fields to create a blog.")] + public class BlogCreateInput : GraphQLObject + { /// ///A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. ///The handle is customizable and is used by the Liquid templating language to refer to the blog. /// - [Description("A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title.\nThe handle is customizable and is used by the Liquid templating language to refer to the blog.")] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title.\nThe handle is customizable and is used by the Liquid templating language to refer to the blog.")] + public string? handle { get; set; } + /// ///The name of the template a blog is using if it's using an alternate template. ///Returns `null` if a blog is using the default blog.liquid template. /// - [Description("The name of the template a blog is using if it's using an alternate template.\nReturns `null` if a blog is using the default blog.liquid template.")] - public string? templateSuffix { get; set; } - + [Description("The name of the template a blog is using if it's using an alternate template.\nReturns `null` if a blog is using the default blog.liquid template.")] + public string? templateSuffix { get; set; } + /// ///Attaches additional metadata to a store's resources. /// - [Description("Attaches additional metadata to a store's resources.")] - public IEnumerable? metafields { get; set; } - + [Description("Attaches additional metadata to a store's resources.")] + public IEnumerable? metafields { get; set; } + /// ///Indicates whether readers can post comments to the blog and whether comments are moderated. /// - [Description("Indicates whether readers can post comments to the blog and whether comments are moderated.")] - [EnumType(typeof(CommentPolicy))] - public string? commentPolicy { get; set; } - + [Description("Indicates whether readers can post comments to the blog and whether comments are moderated.")] + [EnumType(typeof(CommentPolicy))] + public string? commentPolicy { get; set; } + /// ///The title of the blog. /// - [Description("The title of the blog.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the blog.")] + [NonNull] + public string? title { get; set; } + } + /// ///Return type for `blogCreate` mutation. /// - [Description("Return type for `blogCreate` mutation.")] - public class BlogCreatePayload : GraphQLObject - { + [Description("Return type for `blogCreate` mutation.")] + public class BlogCreatePayload : GraphQLObject + { /// ///The blog that was created. /// - [Description("The blog that was created.")] - public Blog? blog { get; set; } - + [Description("The blog that was created.")] + public Blog? blog { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `BlogCreate`. /// - [Description("An error that occurs during the execution of `BlogCreate`.")] - public class BlogCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `BlogCreate`.")] + public class BlogCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BlogCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BlogCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `BlogCreateUserError`. /// - [Description("Possible error codes that can be returned by `BlogCreateUserError`.")] - public enum BlogCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `BlogCreateUserError`.")] + public enum BlogCreateUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///The metafield type is invalid. /// - [Description("The metafield type is invalid.")] - INVALID_TYPE, - } - - public static class BlogCreateUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string TOO_LONG = @"TOO_LONG"; - public const string INCLUSION = @"INCLUSION"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - } - + [Description("The metafield type is invalid.")] + INVALID_TYPE, + } + + public static class BlogCreateUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string TOO_LONG = @"TOO_LONG"; + public const string INCLUSION = @"INCLUSION"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + } + /// ///Return type for `blogDelete` mutation. /// - [Description("Return type for `blogDelete` mutation.")] - public class BlogDeletePayload : GraphQLObject - { + [Description("Return type for `blogDelete` mutation.")] + public class BlogDeletePayload : GraphQLObject + { /// ///The ID of the deleted blog. /// - [Description("The ID of the deleted blog.")] - public string? deletedBlogId { get; set; } - + [Description("The ID of the deleted blog.")] + public string? deletedBlogId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `BlogDelete`. /// - [Description("An error that occurs during the execution of `BlogDelete`.")] - public class BlogDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `BlogDelete`.")] + public class BlogDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BlogDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BlogDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `BlogDeleteUserError`. /// - [Description("Possible error codes that can be returned by `BlogDeleteUserError`.")] - public enum BlogDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `BlogDeleteUserError`.")] + public enum BlogDeleteUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class BlogDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class BlogDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///An auto-generated type which holds one Blog and a cursor during pagination. /// - [Description("An auto-generated type which holds one Blog and a cursor during pagination.")] - public class BlogEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Blog and a cursor during pagination.")] + public class BlogEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of BlogEdge. /// - [Description("The item at the end of BlogEdge.")] - [NonNull] - public Blog? node { get; set; } - } - + [Description("The item at the end of BlogEdge.")] + [NonNull] + public Blog? node { get; set; } + } + /// ///FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service. /// - [Description("FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service.")] - public class BlogFeed : GraphQLObject - { + [Description("FeedBurner provider details. Any blogs that aren't already integrated with FeedBurner can't use the service.")] + public class BlogFeed : GraphQLObject + { /// ///Blog feed provider url. /// - [Description("Blog feed provider url.")] - [NonNull] - public string? location { get; set; } - + [Description("Blog feed provider url.")] + [NonNull] + public string? location { get; set; } + /// ///Blog feed provider path. /// - [Description("Blog feed provider path.")] - [NonNull] - public string? path { get; set; } - } - + [Description("Blog feed provider path.")] + [NonNull] + public string? path { get; set; } + } + /// ///The set of valid sort keys for the Blog query. /// - [Description("The set of valid sort keys for the Blog query.")] - public enum BlogSortKeys - { + [Description("The set of valid sort keys for the Blog query.")] + public enum BlogSortKeys + { /// ///Sort by the `handle` value. /// - [Description("Sort by the `handle` value.")] - HANDLE, + [Description("Sort by the `handle` value.")] + HANDLE, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, - } - - public static class BlogSortKeysStringValues - { - public const string HANDLE = @"HANDLE"; - public const string ID = @"ID"; - public const string TITLE = @"TITLE"; - } - + [Description("Sort by the `title` value.")] + TITLE, + } + + public static class BlogSortKeysStringValues + { + public const string HANDLE = @"HANDLE"; + public const string ID = @"ID"; + public const string TITLE = @"TITLE"; + } + /// ///The input fields to update a blog. /// - [Description("The input fields to update a blog.")] - public class BlogUpdateInput : GraphQLObject - { + [Description("The input fields to update a blog.")] + public class BlogUpdateInput : GraphQLObject + { /// ///A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title. ///The handle is customizable and is used by the Liquid templating language to refer to the blog. /// - [Description("A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title.\nThe handle is customizable and is used by the Liquid templating language to refer to the blog.")] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the blog. If no handle is specified, a handle will be generated automatically from the blog title.\nThe handle is customizable and is used by the Liquid templating language to refer to the blog.")] + public string? handle { get; set; } + /// ///The name of the template a blog is using if it's using an alternate template. ///Returns `null` if a blog is using the default blog.liquid template. /// - [Description("The name of the template a blog is using if it's using an alternate template.\nReturns `null` if a blog is using the default blog.liquid template.")] - public string? templateSuffix { get; set; } - + [Description("The name of the template a blog is using if it's using an alternate template.\nReturns `null` if a blog is using the default blog.liquid template.")] + public string? templateSuffix { get; set; } + /// ///Attaches additional metadata to a store's resources. /// - [Description("Attaches additional metadata to a store's resources.")] - public IEnumerable? metafields { get; set; } - + [Description("Attaches additional metadata to a store's resources.")] + public IEnumerable? metafields { get; set; } + /// ///Indicates whether readers can post comments to the blog and whether comments are moderated. /// - [Description("Indicates whether readers can post comments to the blog and whether comments are moderated.")] - [EnumType(typeof(CommentPolicy))] - public string? commentPolicy { get; set; } - + [Description("Indicates whether readers can post comments to the blog and whether comments are moderated.")] + [EnumType(typeof(CommentPolicy))] + public string? commentPolicy { get; set; } + /// ///The title of the blog. /// - [Description("The title of the blog.")] - public string? title { get; set; } - + [Description("The title of the blog.")] + public string? title { get; set; } + /// ///Whether a redirect is required after a new handle has been provided. ///If `true`, then the old handle is redirected to the new one automatically. /// - [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] - public bool? redirectNewHandle { get; set; } - + [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] + public bool? redirectNewHandle { get; set; } + /// ///Whether to redirect blog posts automatically. /// - [Description("Whether to redirect blog posts automatically.")] - public bool? redirectArticles { get; set; } - } - + [Description("Whether to redirect blog posts automatically.")] + public bool? redirectArticles { get; set; } + } + /// ///Return type for `blogUpdate` mutation. /// - [Description("Return type for `blogUpdate` mutation.")] - public class BlogUpdatePayload : GraphQLObject - { + [Description("Return type for `blogUpdate` mutation.")] + public class BlogUpdatePayload : GraphQLObject + { /// ///The blog that was updated. /// - [Description("The blog that was updated.")] - public Blog? blog { get; set; } - + [Description("The blog that was updated.")] + public Blog? blog { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `BlogUpdate`. /// - [Description("An error that occurs during the execution of `BlogUpdate`.")] - public class BlogUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `BlogUpdate`.")] + public class BlogUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BlogUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BlogUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `BlogUpdateUserError`. /// - [Description("Possible error codes that can be returned by `BlogUpdateUserError`.")] - public enum BlogUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `BlogUpdateUserError`.")] + public enum BlogUpdateUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, - } - - public static class BlogUpdateUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string TOO_LONG = @"TOO_LONG"; - public const string INCLUSION = @"INCLUSION"; - } - + [Description("The input value isn't included in the list.")] + INCLUSION, + } + + public static class BlogUpdateUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string TOO_LONG = @"TOO_LONG"; + public const string INCLUSION = @"INCLUSION"; + } + /// ///Return type for `bulkDiscountResourceFeedbackCreate` mutation. /// - [Description("Return type for `bulkDiscountResourceFeedbackCreate` mutation.")] - public class BulkDiscountResourceFeedbackCreatePayload : GraphQLObject - { + [Description("Return type for `bulkDiscountResourceFeedbackCreate` mutation.")] + public class BulkDiscountResourceFeedbackCreatePayload : GraphQLObject + { /// ///The feedback that's created. /// - [Description("The feedback that's created.")] - public IEnumerable? feedback { get; set; } - + [Description("The feedback that's created.")] + public IEnumerable? feedback { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `BulkDiscountResourceFeedbackCreate`. /// - [Description("An error that occurs during the execution of `BulkDiscountResourceFeedbackCreate`.")] - public class BulkDiscountResourceFeedbackCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `BulkDiscountResourceFeedbackCreate`.")] + public class BulkDiscountResourceFeedbackCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BulkDiscountResourceFeedbackCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BulkDiscountResourceFeedbackCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `BulkDiscountResourceFeedbackCreateUserError`. /// - [Description("Possible error codes that can be returned by `BulkDiscountResourceFeedbackCreateUserError`.")] - public enum BulkDiscountResourceFeedbackCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `BulkDiscountResourceFeedbackCreateUserError`.")] + public enum BulkDiscountResourceFeedbackCreateUserErrorCode + { /// ///The operation was attempted on too many feedback objects. The maximum number of feedback objects that you can operate on is 50. /// - [Description("The operation was attempted on too many feedback objects. The maximum number of feedback objects that you can operate on is 50.")] - MAXIMUM_FEEDBACK_LIMIT_EXCEEDED, + [Description("The operation was attempted on too many feedback objects. The maximum number of feedback objects that you can operate on is 50.")] + MAXIMUM_FEEDBACK_LIMIT_EXCEEDED, /// ///The feedback for a later version of this resource was already accepted. /// - [Description("The feedback for a later version of this resource was already accepted.")] - OUTDATED_FEEDBACK, + [Description("The feedback for a later version of this resource was already accepted.")] + OUTDATED_FEEDBACK, /// ///The discount wasn't found or isn't available to the channel. /// - [Description("The discount wasn't found or isn't available to the channel.")] - DISCOUNT_NOT_FOUND, + [Description("The discount wasn't found or isn't available to the channel.")] + DISCOUNT_NOT_FOUND, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, - } - - public static class BulkDiscountResourceFeedbackCreateUserErrorCodeStringValues - { - public const string MAXIMUM_FEEDBACK_LIMIT_EXCEEDED = @"MAXIMUM_FEEDBACK_LIMIT_EXCEEDED"; - public const string OUTDATED_FEEDBACK = @"OUTDATED_FEEDBACK"; - public const string DISCOUNT_NOT_FOUND = @"DISCOUNT_NOT_FOUND"; - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string PRESENT = @"PRESENT"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - } - + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, + } + + public static class BulkDiscountResourceFeedbackCreateUserErrorCodeStringValues + { + public const string MAXIMUM_FEEDBACK_LIMIT_EXCEEDED = @"MAXIMUM_FEEDBACK_LIMIT_EXCEEDED"; + public const string OUTDATED_FEEDBACK = @"OUTDATED_FEEDBACK"; + public const string DISCOUNT_NOT_FOUND = @"DISCOUNT_NOT_FOUND"; + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string PRESENT = @"PRESENT"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + } + /// ///Possible error codes that can be returned by `BulkMutationUserError`. /// - [Description("Possible error codes that can be returned by `BulkMutationUserError`.")] - public enum BulkMutationErrorCode - { + [Description("Possible error codes that can be returned by `BulkMutationUserError`.")] + public enum BulkMutationErrorCode + { /// ///The operation did not run because another bulk mutation is already running. [Wait for the operation to finish](https://shopify.dev/api/usage/bulk-operations/imports#wait-for-the-operation-to-finish) before retrying this operation. /// - [Description("The operation did not run because another bulk mutation is already running. [Wait for the operation to finish](https://shopify.dev/api/usage/bulk-operations/imports#wait-for-the-operation-to-finish) before retrying this operation.")] - OPERATION_IN_PROGRESS, + [Description("The operation did not run because another bulk mutation is already running. [Wait for the operation to finish](https://shopify.dev/api/usage/bulk-operations/imports#wait-for-the-operation-to-finish) before retrying this operation.")] + OPERATION_IN_PROGRESS, /// ///The operation did not run because the mutation is invalid. Check your mutation syntax and try again. /// - [Description("The operation did not run because the mutation is invalid. Check your mutation syntax and try again.")] - INVALID_MUTATION, + [Description("The operation did not run because the mutation is invalid. Check your mutation syntax and try again.")] + INVALID_MUTATION, /// ///The JSONL file submitted via the `stagedUploadsCreate` mutation is invalid. Update the file and try again. /// - [Description("The JSONL file submitted via the `stagedUploadsCreate` mutation is invalid. Update the file and try again.")] - INVALID_STAGED_UPLOAD_FILE, + [Description("The JSONL file submitted via the `stagedUploadsCreate` mutation is invalid. Update the file and try again.")] + INVALID_STAGED_UPLOAD_FILE, /// ///The JSONL file could not be found. Try [uploading the file](https://shopify.dev/api/usage/bulk-operations/imports#generate-the-uploaded-url-and-parameters) again, and check that you've entered the URL correctly for the `stagedUploadPath` mutation argument. /// - [Description("The JSONL file could not be found. Try [uploading the file](https://shopify.dev/api/usage/bulk-operations/imports#generate-the-uploaded-url-and-parameters) again, and check that you've entered the URL correctly for the `stagedUploadPath` mutation argument.")] - NO_SUCH_FILE, + [Description("The JSONL file could not be found. Try [uploading the file](https://shopify.dev/api/usage/bulk-operations/imports#generate-the-uploaded-url-and-parameters) again, and check that you've entered the URL correctly for the `stagedUploadPath` mutation argument.")] + NO_SUCH_FILE, /// ///There was a problem reading the JSONL file. This error might be intermittent, so you can try performing the same query again. /// - [Description("There was a problem reading the JSONL file. This error might be intermittent, so you can try performing the same query again.")] - INTERNAL_FILE_SERVER_ERROR, + [Description("There was a problem reading the JSONL file. This error might be intermittent, so you can try performing the same query again.")] + INTERNAL_FILE_SERVER_ERROR, /// ///Bulk operations limit reached. Please try again later. /// - [Description("Bulk operations limit reached. Please try again later.")] - LIMIT_REACHED, - } - - public static class BulkMutationErrorCodeStringValues - { - public const string OPERATION_IN_PROGRESS = @"OPERATION_IN_PROGRESS"; - public const string INVALID_MUTATION = @"INVALID_MUTATION"; - public const string INVALID_STAGED_UPLOAD_FILE = @"INVALID_STAGED_UPLOAD_FILE"; - public const string NO_SUCH_FILE = @"NO_SUCH_FILE"; - public const string INTERNAL_FILE_SERVER_ERROR = @"INTERNAL_FILE_SERVER_ERROR"; - public const string LIMIT_REACHED = @"LIMIT_REACHED"; - } - + [Description("Bulk operations limit reached. Please try again later.")] + LIMIT_REACHED, + } + + public static class BulkMutationErrorCodeStringValues + { + public const string OPERATION_IN_PROGRESS = @"OPERATION_IN_PROGRESS"; + public const string INVALID_MUTATION = @"INVALID_MUTATION"; + public const string INVALID_STAGED_UPLOAD_FILE = @"INVALID_STAGED_UPLOAD_FILE"; + public const string NO_SUCH_FILE = @"NO_SUCH_FILE"; + public const string INTERNAL_FILE_SERVER_ERROR = @"INTERNAL_FILE_SERVER_ERROR"; + public const string LIMIT_REACHED = @"LIMIT_REACHED"; + } + /// ///Represents an error that happens during execution of a bulk mutation. /// - [Description("Represents an error that happens during execution of a bulk mutation.")] - public class BulkMutationUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during execution of a bulk mutation.")] + public class BulkMutationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BulkMutationErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BulkMutationErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///An asynchronous long-running operation to fetch data in bulk or to bulk import data. /// @@ -6508,1580 +6508,1580 @@ public class BulkMutationUserError : GraphQLObject, IDisp /// ///Refer to the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/imports) for more details. /// - [Description("An asynchronous long-running operation to fetch data in bulk or to bulk import data.\n\nBulk operations are created using the `bulkOperationRunQuery` or `bulkOperationRunMutation` mutation. After\nthey are created, clients should poll the `status` field for updates. When `COMPLETED`, the `url` field contains\na link to the data in [JSONL](http://jsonlines.org/) format.\n\nRefer to the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/imports) for more details.")] - public class BulkOperation : GraphQLObject, INode - { + [Description("An asynchronous long-running operation to fetch data in bulk or to bulk import data.\n\nBulk operations are created using the `bulkOperationRunQuery` or `bulkOperationRunMutation` mutation. After\nthey are created, clients should poll the `status` field for updates. When `COMPLETED`, the `url` field contains\na link to the data in [JSONL](http://jsonlines.org/) format.\n\nRefer to the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/imports) for more details.")] + public class BulkOperation : GraphQLObject, INode + { /// ///When the bulk operation was successfully completed. /// - [Description("When the bulk operation was successfully completed.")] - public DateTime? completedAt { get; set; } - + [Description("When the bulk operation was successfully completed.")] + public DateTime? completedAt { get; set; } + /// ///When the bulk operation was created. /// - [Description("When the bulk operation was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("When the bulk operation was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Error code for failed operations. /// - [Description("Error code for failed operations.")] - [EnumType(typeof(BulkOperationErrorCode))] - public string? errorCode { get; set; } - + [Description("Error code for failed operations.")] + [EnumType(typeof(BulkOperationErrorCode))] + public string? errorCode { get; set; } + /// ///File size in bytes of the file in the `url` field. /// - [Description("File size in bytes of the file in the `url` field.")] - public ulong? fileSize { get; set; } - + [Description("File size in bytes of the file in the `url` field.")] + public ulong? fileSize { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A running count of all the objects processed. ///For example, when fetching all the products and their variants, this field counts both products and variants. ///This field can be used to track operation progress. /// - [Description("A running count of all the objects processed.\nFor example, when fetching all the products and their variants, this field counts both products and variants.\nThis field can be used to track operation progress.")] - [NonNull] - public ulong? objectCount { get; set; } - + [Description("A running count of all the objects processed.\nFor example, when fetching all the products and their variants, this field counts both products and variants.\nThis field can be used to track operation progress.")] + [NonNull] + public ulong? objectCount { get; set; } + /// ///The URL that points to the partial or incomplete response data (in [JSONL](http://jsonlines.org/) format) that was returned by a failed operation. ///The URL expires 7 days after the operation fails. Returns `null` when there's no data available. /// - [Description("The URL that points to the partial or incomplete response data (in [JSONL](http://jsonlines.org/) format) that was returned by a failed operation.\nThe URL expires 7 days after the operation fails. Returns `null` when there's no data available.")] - public string? partialDataUrl { get; set; } - + [Description("The URL that points to the partial or incomplete response data (in [JSONL](http://jsonlines.org/) format) that was returned by a failed operation.\nThe URL expires 7 days after the operation fails. Returns `null` when there's no data available.")] + public string? partialDataUrl { get; set; } + /// ///GraphQL query document specified in `bulkOperationRunQuery`. /// - [Description("GraphQL query document specified in `bulkOperationRunQuery`.")] - [NonNull] - public string? query { get; set; } - + [Description("GraphQL query document specified in `bulkOperationRunQuery`.")] + [NonNull] + public string? query { get; set; } + /// ///A running count of all the objects that are processed at the root of the query. ///For example, when fetching all the products and their variants, this field only counts products. ///This field can be used to track operation progress. /// - [Description("A running count of all the objects that are processed at the root of the query.\nFor example, when fetching all the products and their variants, this field only counts products.\nThis field can be used to track operation progress.")] - [NonNull] - public ulong? rootObjectCount { get; set; } - + [Description("A running count of all the objects that are processed at the root of the query.\nFor example, when fetching all the products and their variants, this field only counts products.\nThis field can be used to track operation progress.")] + [NonNull] + public ulong? rootObjectCount { get; set; } + /// ///Status of the bulk operation. /// - [Description("Status of the bulk operation.")] - [NonNull] - [EnumType(typeof(BulkOperationStatus))] - public string? status { get; set; } - + [Description("Status of the bulk operation.")] + [NonNull] + [EnumType(typeof(BulkOperationStatus))] + public string? status { get; set; } + /// ///The bulk operation's type. /// - [Description("The bulk operation's type.")] - [NonNull] - [EnumType(typeof(BulkOperationType))] - public string? type { get; set; } - + [Description("The bulk operation's type.")] + [NonNull] + [EnumType(typeof(BulkOperationType))] + public string? type { get; set; } + /// ///The URL that points to the response data in [JSONL](http://jsonlines.org/) format. ///The URL expires 7 days after the operation completes. /// - [Description("The URL that points to the response data in [JSONL](http://jsonlines.org/) format.\nThe URL expires 7 days after the operation completes.")] - public string? url { get; set; } - } - + [Description("The URL that points to the response data in [JSONL](http://jsonlines.org/) format.\nThe URL expires 7 days after the operation completes.")] + public string? url { get; set; } + } + /// ///Return type for `bulkOperationCancel` mutation. /// - [Description("Return type for `bulkOperationCancel` mutation.")] - public class BulkOperationCancelPayload : GraphQLObject - { + [Description("Return type for `bulkOperationCancel` mutation.")] + public class BulkOperationCancelPayload : GraphQLObject + { /// ///The bulk operation to be canceled. /// - [Description("The bulk operation to be canceled.")] - public BulkOperation? bulkOperation { get; set; } - + [Description("The bulk operation to be canceled.")] + public BulkOperation? bulkOperation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple BulkOperations. /// - [Description("An auto-generated type for paginating through multiple BulkOperations.")] - public class BulkOperationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple BulkOperations.")] + public class BulkOperationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in BulkOperationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in BulkOperationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in BulkOperationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one BulkOperation and a cursor during pagination. /// - [Description("An auto-generated type which holds one BulkOperation and a cursor during pagination.")] - public class BulkOperationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one BulkOperation and a cursor during pagination.")] + public class BulkOperationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of BulkOperationEdge. /// - [Description("The item at the end of BulkOperationEdge.")] - [NonNull] - public BulkOperation? node { get; set; } - } - + [Description("The item at the end of BulkOperationEdge.")] + [NonNull] + public BulkOperation? node { get; set; } + } + /// ///Error codes for failed bulk operations. /// - [Description("Error codes for failed bulk operations.")] - public enum BulkOperationErrorCode - { + [Description("Error codes for failed bulk operations.")] + public enum BulkOperationErrorCode + { /// ///The provided operation `query` returned access denied due to missing ///[access scopes](https://shopify.dev/api/usage/access-scopes). ///Review the requested object permissions and execute the query as a normal non-bulk GraphQL request to see more details. /// - [Description("The provided operation `query` returned access denied due to missing\n[access scopes](https://shopify.dev/api/usage/access-scopes).\nReview the requested object permissions and execute the query as a normal non-bulk GraphQL request to see more details.")] - ACCESS_DENIED, + [Description("The provided operation `query` returned access denied due to missing\n[access scopes](https://shopify.dev/api/usage/access-scopes).\nReview the requested object permissions and execute the query as a normal non-bulk GraphQL request to see more details.")] + ACCESS_DENIED, /// ///The operation resulted in partial or incomplete data due to internal server errors during execution. ///These errors might be intermittent, so you can try performing the same query again. /// - [Description("The operation resulted in partial or incomplete data due to internal server errors during execution.\nThese errors might be intermittent, so you can try performing the same query again.")] - INTERNAL_SERVER_ERROR, + [Description("The operation resulted in partial or incomplete data due to internal server errors during execution.\nThese errors might be intermittent, so you can try performing the same query again.")] + INTERNAL_SERVER_ERROR, /// ///The operation resulted in partial or incomplete data due to query timeouts during execution. ///In some cases, timeouts can be avoided by modifying your `query` to select fewer fields. /// - [Description("The operation resulted in partial or incomplete data due to query timeouts during execution.\nIn some cases, timeouts can be avoided by modifying your `query` to select fewer fields.")] - TIMEOUT, - } - - public static class BulkOperationErrorCodeStringValues - { - public const string ACCESS_DENIED = @"ACCESS_DENIED"; - public const string INTERNAL_SERVER_ERROR = @"INTERNAL_SERVER_ERROR"; - public const string TIMEOUT = @"TIMEOUT"; - } - + [Description("The operation resulted in partial or incomplete data due to query timeouts during execution.\nIn some cases, timeouts can be avoided by modifying your `query` to select fewer fields.")] + TIMEOUT, + } + + public static class BulkOperationErrorCodeStringValues + { + public const string ACCESS_DENIED = @"ACCESS_DENIED"; + public const string INTERNAL_SERVER_ERROR = @"INTERNAL_SERVER_ERROR"; + public const string TIMEOUT = @"TIMEOUT"; + } + /// ///Return type for `bulkOperationRunMutation` mutation. /// - [Description("Return type for `bulkOperationRunMutation` mutation.")] - public class BulkOperationRunMutationPayload : GraphQLObject - { + [Description("Return type for `bulkOperationRunMutation` mutation.")] + public class BulkOperationRunMutationPayload : GraphQLObject + { /// ///The newly created bulk operation. /// - [Description("The newly created bulk operation.")] - public BulkOperation? bulkOperation { get; set; } - + [Description("The newly created bulk operation.")] + public BulkOperation? bulkOperation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `bulkOperationRunQuery` mutation. /// - [Description("Return type for `bulkOperationRunQuery` mutation.")] - public class BulkOperationRunQueryPayload : GraphQLObject - { + [Description("Return type for `bulkOperationRunQuery` mutation.")] + public class BulkOperationRunQueryPayload : GraphQLObject + { /// ///The newly created bulk operation. /// - [Description("The newly created bulk operation.")] - public BulkOperation? bulkOperation { get; set; } - + [Description("The newly created bulk operation.")] + public BulkOperation? bulkOperation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The valid values for the status of a bulk operation. /// - [Description("The valid values for the status of a bulk operation.")] - public enum BulkOperationStatus - { + [Description("The valid values for the status of a bulk operation.")] + public enum BulkOperationStatus + { /// ///The bulk operation has been canceled. /// - [Description("The bulk operation has been canceled.")] - CANCELED, + [Description("The bulk operation has been canceled.")] + CANCELED, /// ///Cancelation has been initiated on the bulk operation. There may be a short delay from when a cancelation ///starts until the operation is actually canceled. /// - [Description("Cancelation has been initiated on the bulk operation. There may be a short delay from when a cancelation\nstarts until the operation is actually canceled.")] - CANCELING, + [Description("Cancelation has been initiated on the bulk operation. There may be a short delay from when a cancelation\nstarts until the operation is actually canceled.")] + CANCELING, /// ///The bulk operation has successfully completed. /// - [Description("The bulk operation has successfully completed.")] - COMPLETED, + [Description("The bulk operation has successfully completed.")] + COMPLETED, /// ///The bulk operation has been created. /// - [Description("The bulk operation has been created.")] - CREATED, + [Description("The bulk operation has been created.")] + CREATED, /// ///The bulk operation URL has expired. /// - [Description("The bulk operation URL has expired.")] - EXPIRED, + [Description("The bulk operation URL has expired.")] + EXPIRED, /// ///The bulk operation has failed. For information on why the operation failed, use ///[BulkOperation.errorCode](https://shopify.dev/api/admin-graphql/latest/enums/bulkoperationerrorcode). /// - [Description("The bulk operation has failed. For information on why the operation failed, use\n[BulkOperation.errorCode](https://shopify.dev/api/admin-graphql/latest/enums/bulkoperationerrorcode).")] - FAILED, + [Description("The bulk operation has failed. For information on why the operation failed, use\n[BulkOperation.errorCode](https://shopify.dev/api/admin-graphql/latest/enums/bulkoperationerrorcode).")] + FAILED, /// ///The bulk operation is runnning. /// - [Description("The bulk operation is runnning.")] - RUNNING, - } - - public static class BulkOperationStatusStringValues - { - public const string CANCELED = @"CANCELED"; - public const string CANCELING = @"CANCELING"; - public const string COMPLETED = @"COMPLETED"; - public const string CREATED = @"CREATED"; - public const string EXPIRED = @"EXPIRED"; - public const string FAILED = @"FAILED"; - public const string RUNNING = @"RUNNING"; - } - + [Description("The bulk operation is runnning.")] + RUNNING, + } + + public static class BulkOperationStatusStringValues + { + public const string CANCELED = @"CANCELED"; + public const string CANCELING = @"CANCELING"; + public const string COMPLETED = @"COMPLETED"; + public const string CREATED = @"CREATED"; + public const string EXPIRED = @"EXPIRED"; + public const string FAILED = @"FAILED"; + public const string RUNNING = @"RUNNING"; + } + /// ///The valid values for the bulk operation's type. /// - [Description("The valid values for the bulk operation's type.")] - public enum BulkOperationType - { + [Description("The valid values for the bulk operation's type.")] + public enum BulkOperationType + { /// ///The bulk operation is a query. /// - [Description("The bulk operation is a query.")] - QUERY, + [Description("The bulk operation is a query.")] + QUERY, /// ///The bulk operation is a mutation. /// - [Description("The bulk operation is a mutation.")] - MUTATION, - } - - public static class BulkOperationTypeStringValues - { - public const string QUERY = @"QUERY"; - public const string MUTATION = @"MUTATION"; - } - + [Description("The bulk operation is a mutation.")] + MUTATION, + } + + public static class BulkOperationTypeStringValues + { + public const string QUERY = @"QUERY"; + public const string MUTATION = @"MUTATION"; + } + /// ///Represents an error in the input of a mutation. /// - [Description("Represents an error in the input of a mutation.")] - public class BulkOperationUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error in the input of a mutation.")] + public class BulkOperationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BulkOperationUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BulkOperationUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `BulkOperationUserError`. /// - [Description("Possible error codes that can be returned by `BulkOperationUserError`.")] - public enum BulkOperationUserErrorCode - { + [Description("Possible error codes that can be returned by `BulkOperationUserError`.")] + public enum BulkOperationUserErrorCode + { /// ///A bulk operation is already in progress. /// - [Description("A bulk operation is already in progress.")] - OPERATION_IN_PROGRESS, + [Description("A bulk operation is already in progress.")] + OPERATION_IN_PROGRESS, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Bulk operations limit reached. Please try again later. /// - [Description("Bulk operations limit reached. Please try again later.")] - LIMIT_REACHED, - } - - public static class BulkOperationUserErrorCodeStringValues - { - public const string OPERATION_IN_PROGRESS = @"OPERATION_IN_PROGRESS"; - public const string INVALID = @"INVALID"; - public const string LIMIT_REACHED = @"LIMIT_REACHED"; - } - + [Description("Bulk operations limit reached. Please try again later.")] + LIMIT_REACHED, + } + + public static class BulkOperationUserErrorCodeStringValues + { + public const string OPERATION_IN_PROGRESS = @"OPERATION_IN_PROGRESS"; + public const string INVALID = @"INVALID"; + public const string LIMIT_REACHED = @"LIMIT_REACHED"; + } + /// ///The set of valid sort keys for the BulkOperations query. /// - [Description("The set of valid sort keys for the BulkOperations query.")] - public enum BulkOperationsSortKeys - { + [Description("The set of valid sort keys for the BulkOperations query.")] + public enum BulkOperationsSortKeys + { /// ///Sort by the `completed_at` value. /// - [Description("Sort by the `completed_at` value.")] - COMPLETED_AT, + [Description("Sort by the `completed_at` value.")] + COMPLETED_AT, /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `status` value. /// - [Description("Sort by the `status` value.")] - STATUS, - } - - public static class BulkOperationsSortKeysStringValues - { - public const string COMPLETED_AT = @"COMPLETED_AT"; - public const string CREATED_AT = @"CREATED_AT"; - public const string STATUS = @"STATUS"; - } - + [Description("Sort by the `status` value.")] + STATUS, + } + + public static class BulkOperationsSortKeysStringValues + { + public const string COMPLETED_AT = @"COMPLETED_AT"; + public const string CREATED_AT = @"CREATED_AT"; + public const string STATUS = @"STATUS"; + } + /// ///Return type for `bulkProductResourceFeedbackCreate` mutation. /// - [Description("Return type for `bulkProductResourceFeedbackCreate` mutation.")] - public class BulkProductResourceFeedbackCreatePayload : GraphQLObject - { + [Description("Return type for `bulkProductResourceFeedbackCreate` mutation.")] + public class BulkProductResourceFeedbackCreatePayload : GraphQLObject + { /// ///The feedback that's created. /// - [Description("The feedback that's created.")] - public IEnumerable? feedback { get; set; } - + [Description("The feedback that's created.")] + public IEnumerable? feedback { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `BulkProductResourceFeedbackCreate`. /// - [Description("An error that occurs during the execution of `BulkProductResourceFeedbackCreate`.")] - public class BulkProductResourceFeedbackCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `BulkProductResourceFeedbackCreate`.")] + public class BulkProductResourceFeedbackCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BulkProductResourceFeedbackCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BulkProductResourceFeedbackCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `BulkProductResourceFeedbackCreateUserError`. /// - [Description("Possible error codes that can be returned by `BulkProductResourceFeedbackCreateUserError`.")] - public enum BulkProductResourceFeedbackCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `BulkProductResourceFeedbackCreateUserError`.")] + public enum BulkProductResourceFeedbackCreateUserErrorCode + { /// ///The operation was attempted on too many feedback objects. The maximum number of feedback objects that you can operate on is 50. /// - [Description("The operation was attempted on too many feedback objects. The maximum number of feedback objects that you can operate on is 50.")] - MAXIMUM_FEEDBACK_LIMIT_EXCEEDED, + [Description("The operation was attempted on too many feedback objects. The maximum number of feedback objects that you can operate on is 50.")] + MAXIMUM_FEEDBACK_LIMIT_EXCEEDED, /// ///The feedback for a later version of this resource was already accepted. /// - [Description("The feedback for a later version of this resource was already accepted.")] - OUTDATED_FEEDBACK, + [Description("The feedback for a later version of this resource was already accepted.")] + OUTDATED_FEEDBACK, /// ///The product wasn't found or isn't available to the channel. /// - [Description("The product wasn't found or isn't available to the channel.")] - PRODUCT_NOT_FOUND, + [Description("The product wasn't found or isn't available to the channel.")] + PRODUCT_NOT_FOUND, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, - } - - public static class BulkProductResourceFeedbackCreateUserErrorCodeStringValues - { - public const string MAXIMUM_FEEDBACK_LIMIT_EXCEEDED = @"MAXIMUM_FEEDBACK_LIMIT_EXCEEDED"; - public const string OUTDATED_FEEDBACK = @"OUTDATED_FEEDBACK"; - public const string PRODUCT_NOT_FOUND = @"PRODUCT_NOT_FOUND"; - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string PRESENT = @"PRESENT"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - } - + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, + } + + public static class BulkProductResourceFeedbackCreateUserErrorCodeStringValues + { + public const string MAXIMUM_FEEDBACK_LIMIT_EXCEEDED = @"MAXIMUM_FEEDBACK_LIMIT_EXCEEDED"; + public const string OUTDATED_FEEDBACK = @"OUTDATED_FEEDBACK"; + public const string PRODUCT_NOT_FOUND = @"PRODUCT_NOT_FOUND"; + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string PRESENT = @"PRESENT"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + } + /// ///The input fields representing the components of a bundle line item. /// - [Description("The input fields representing the components of a bundle line item.")] - public class BundlesDraftOrderBundleLineItemComponentInput : GraphQLObject - { + [Description("The input fields representing the components of a bundle line item.")] + public class BundlesDraftOrderBundleLineItemComponentInput : GraphQLObject + { /// ///The ID of the product variant corresponding to the bundle component. /// - [Description("The ID of the product variant corresponding to the bundle component.")] - public string? variantId { get; set; } - + [Description("The ID of the product variant corresponding to the bundle component.")] + public string? variantId { get; set; } + /// ///The quantity of the bundle component. /// - [Description("The quantity of the bundle component.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the bundle component.")] + [NonNull] + public int? quantity { get; set; } + /// ///The UUID of the bundle component. Must be unique and consistent across requests. ///This field is mandatory in order to manipulate drafts with bundles. /// - [Description("The UUID of the bundle component. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] - public string? uuid { get; set; } - } - + [Description("The UUID of the bundle component. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] + public string? uuid { get; set; } + } + /// ///Represents the Bundles feature configuration for the shop. /// - [Description("Represents the Bundles feature configuration for the shop.")] - public class BundlesFeature : GraphQLObject - { + [Description("Represents the Bundles feature configuration for the shop.")] + public class BundlesFeature : GraphQLObject + { /// ///Whether a shop is configured properly to sell bundles. /// - [Description("Whether a shop is configured properly to sell bundles.")] - [NonNull] - public bool? eligibleForBundles { get; set; } - + [Description("Whether a shop is configured properly to sell bundles.")] + [NonNull] + public bool? eligibleForBundles { get; set; } + /// ///The reason why a shop is not eligible for bundles. /// - [Description("The reason why a shop is not eligible for bundles.")] - public string? ineligibilityReason { get; set; } - + [Description("The reason why a shop is not eligible for bundles.")] + public string? ineligibilityReason { get; set; } + /// ///Whether a shop has any fixed bundle products or has a cartTransform function installed. /// - [Description("Whether a shop has any fixed bundle products or has a cartTransform function installed.")] - [NonNull] - public bool? sellsBundles { get; set; } - } - + [Description("Whether a shop has any fixed bundle products or has a cartTransform function installed.")] + [NonNull] + public bool? sellsBundles { get; set; } + } + /// ///Possible error codes that can be returned by `BusinessCustomerUserError`. /// - [Description("Possible error codes that can be returned by `BusinessCustomerUserError`.")] - public enum BusinessCustomerErrorCode - { + [Description("Possible error codes that can be returned by `BusinessCustomerUserError`.")] + public enum BusinessCustomerErrorCode + { /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///The resource wasn't found. /// - [Description("The resource wasn't found.")] - RESOURCE_NOT_FOUND, + [Description("The resource wasn't found.")] + RESOURCE_NOT_FOUND, /// ///Deleting the resource failed. /// - [Description("Deleting the resource failed.")] - FAILED_TO_DELETE, + [Description("Deleting the resource failed.")] + FAILED_TO_DELETE, /// ///Missing a required field. /// - [Description("Missing a required field.")] - REQUIRED, + [Description("Missing a required field.")] + REQUIRED, /// ///The input is empty. /// - [Description("The input is empty.")] - NO_INPUT, + [Description("The input is empty.")] + NO_INPUT, /// ///The input is invalid. /// - [Description("The input is invalid.")] - INVALID_INPUT, + [Description("The input is invalid.")] + INVALID_INPUT, /// ///Unexpected type. /// - [Description("Unexpected type.")] - UNEXPECTED_TYPE, + [Description("Unexpected type.")] + UNEXPECTED_TYPE, /// ///The field value is too long. /// - [Description("The field value is too long.")] - TOO_LONG, + [Description("The field value is too long.")] + TOO_LONG, /// ///The number of resources exceeded the limit. /// - [Description("The number of resources exceeded the limit.")] - LIMIT_REACHED, + [Description("The number of resources exceeded the limit.")] + LIMIT_REACHED, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, - } - - public static class BusinessCustomerErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string RESOURCE_NOT_FOUND = @"RESOURCE_NOT_FOUND"; - public const string FAILED_TO_DELETE = @"FAILED_TO_DELETE"; - public const string REQUIRED = @"REQUIRED"; - public const string NO_INPUT = @"NO_INPUT"; - public const string INVALID_INPUT = @"INVALID_INPUT"; - public const string UNEXPECTED_TYPE = @"UNEXPECTED_TYPE"; - public const string TOO_LONG = @"TOO_LONG"; - public const string LIMIT_REACHED = @"LIMIT_REACHED"; - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string TAKEN = @"TAKEN"; - } - + [Description("The input value is already taken.")] + TAKEN, + } + + public static class BusinessCustomerErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string RESOURCE_NOT_FOUND = @"RESOURCE_NOT_FOUND"; + public const string FAILED_TO_DELETE = @"FAILED_TO_DELETE"; + public const string REQUIRED = @"REQUIRED"; + public const string NO_INPUT = @"NO_INPUT"; + public const string INVALID_INPUT = @"INVALID_INPUT"; + public const string UNEXPECTED_TYPE = @"UNEXPECTED_TYPE"; + public const string TOO_LONG = @"TOO_LONG"; + public const string LIMIT_REACHED = @"LIMIT_REACHED"; + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string TAKEN = @"TAKEN"; + } + /// ///An error that happens during the execution of a business customer mutation. /// - [Description("An error that happens during the execution of a business customer mutation.")] - public class BusinessCustomerUserError : GraphQLObject, IDisplayableError - { + [Description("An error that happens during the execution of a business customer mutation.")] + public class BusinessCustomerUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(BusinessCustomerErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(BusinessCustomerErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Represents a merchant's Business Entity. /// - [Description("Represents a merchant's Business Entity.")] - public class BusinessEntity : GraphQLObject, INode - { + [Description("Represents a merchant's Business Entity.")] + public class BusinessEntity : GraphQLObject, INode + { /// ///The address of the merchant's Business Entity. /// - [Description("The address of the merchant's Business Entity.")] - [NonNull] - public BusinessEntityAddress? address { get; set; } - + [Description("The address of the merchant's Business Entity.")] + [NonNull] + public BusinessEntityAddress? address { get; set; } + /// ///Whether the Business Entity is archived from the shop. /// - [Description("Whether the Business Entity is archived from the shop.")] - [NonNull] - public bool? archived { get; set; } - + [Description("Whether the Business Entity is archived from the shop.")] + [NonNull] + public bool? archived { get; set; } + /// ///The name of the company associated with the merchant's Business Entity. /// - [Description("The name of the company associated with the merchant's Business Entity.")] - public string? companyName { get; set; } - + [Description("The name of the company associated with the merchant's Business Entity.")] + public string? companyName { get; set; } + /// ///The display name of the merchant's Business Entity. /// - [Description("The display name of the merchant's Business Entity.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The display name of the merchant's Business Entity.")] + [NonNull] + public string? displayName { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether it's the merchant's primary Business Entity. /// - [Description("Whether it's the merchant's primary Business Entity.")] - [NonNull] - public bool? primary { get; set; } - + [Description("Whether it's the merchant's primary Business Entity.")] + [NonNull] + public bool? primary { get; set; } + /// ///Shopify Payments account information, including balances and payouts. /// - [Description("Shopify Payments account information, including balances and payouts.")] - public ShopifyPaymentsAccount? shopifyPaymentsAccount { get; set; } - } - + [Description("Shopify Payments account information, including balances and payouts.")] + public ShopifyPaymentsAccount? shopifyPaymentsAccount { get; set; } + } + /// ///Represents the address of a merchant's Business Entity. /// - [Description("Represents the address of a merchant's Business Entity.")] - public class BusinessEntityAddress : GraphQLObject - { + [Description("Represents the address of a merchant's Business Entity.")] + public class BusinessEntityAddress : GraphQLObject + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The country code of the merchant's Business Entity. /// - [Description("The country code of the merchant's Business Entity.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The country code of the merchant's Business Entity.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + public string? province { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + } + /// ///Settings describing the behavior of checkout for a B2B buyer. /// - [Description("Settings describing the behavior of checkout for a B2B buyer.")] - public class BuyerExperienceConfiguration : GraphQLObject - { + [Description("Settings describing the behavior of checkout for a B2B buyer.")] + public class BuyerExperienceConfiguration : GraphQLObject + { /// ///Whether to checkout to draft order for merchant review. /// - [Description("Whether to checkout to draft order for merchant review.")] - [NonNull] - public bool? checkoutToDraft { get; set; } - + [Description("Whether to checkout to draft order for merchant review.")] + [NonNull] + public bool? checkoutToDraft { get; set; } + /// ///The portion required to be paid at checkout. /// - [Description("The portion required to be paid at checkout.")] - public IDepositConfiguration? deposit { get; set; } - + [Description("The portion required to be paid at checkout.")] + public IDepositConfiguration? deposit { get; set; } + /// ///Whether to allow customers to use editable shipping addresses. /// - [Description("Whether to allow customers to use editable shipping addresses.")] - [NonNull] - public bool? editableShippingAddress { get; set; } - + [Description("Whether to allow customers to use editable shipping addresses.")] + [NonNull] + public bool? editableShippingAddress { get; set; } + /// ///Whether a buyer must pay at checkout or they can also choose to pay ///later using net terms. /// - [Description("Whether a buyer must pay at checkout or they can also choose to pay\nlater using net terms.")] - [Obsolete("Please use `checkoutToDraft`(must be false) and `paymentTermsTemplate`(must be nil) to derive this instead.")] - [NonNull] - public bool? payNowOnly { get; set; } - + [Description("Whether a buyer must pay at checkout or they can also choose to pay\nlater using net terms.")] + [Obsolete("Please use `checkoutToDraft`(must be false) and `paymentTermsTemplate`(must be nil) to derive this instead.")] + [NonNull] + public bool? payNowOnly { get; set; } + /// ///Represents the merchant configured payment terms. /// - [Description("Represents the merchant configured payment terms.")] - public PaymentTermsTemplate? paymentTermsTemplate { get; set; } - } - + [Description("Represents the merchant configured payment terms.")] + public PaymentTermsTemplate? paymentTermsTemplate { get; set; } + } + /// ///The input fields specifying the behavior of checkout for a B2B buyer. /// - [Description("The input fields specifying the behavior of checkout for a B2B buyer.")] - public class BuyerExperienceConfigurationInput : GraphQLObject - { + [Description("The input fields specifying the behavior of checkout for a B2B buyer.")] + public class BuyerExperienceConfigurationInput : GraphQLObject + { /// ///Whether to checkout to draft order for merchant review. /// - [Description("Whether to checkout to draft order for merchant review.")] - public bool? checkoutToDraft { get; set; } - + [Description("Whether to checkout to draft order for merchant review.")] + public bool? checkoutToDraft { get; set; } + /// ///Represents the merchant configured payment terms. /// - [Description("Represents the merchant configured payment terms.")] - public string? paymentTermsTemplateId { get; set; } - + [Description("Represents the merchant configured payment terms.")] + public string? paymentTermsTemplateId { get; set; } + /// ///Whether to allow customers to edit their shipping address at checkout. /// - [Description("Whether to allow customers to edit their shipping address at checkout.")] - public bool? editableShippingAddress { get; set; } - + [Description("Whether to allow customers to edit their shipping address at checkout.")] + public bool? editableShippingAddress { get; set; } + /// ///The input fields configuring the deposit a B2B buyer. /// - [Description("The input fields configuring the deposit a B2B buyer.")] - public DepositInput? deposit { get; set; } - } - + [Description("The input fields configuring the deposit a B2B buyer.")] + public DepositInput? deposit { get; set; } + } + /// ///The input fields for a buyer signal. /// - [Description("The input fields for a buyer signal.")] - public class BuyerSignalInput : GraphQLObject - { + [Description("The input fields for a buyer signal.")] + public class BuyerSignalInput : GraphQLObject + { /// ///The country code of the buyer. /// - [Description("The country code of the buyer.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The country code of the buyer.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The province or state code. /// - [Description("The province or state code.")] - public string? province { get; set; } - } - + [Description("The province or state code.")] + public string? province { get; set; } + } + /// ///The input fields for exchange line items on a calculated return. /// - [Description("The input fields for exchange line items on a calculated return.")] - public class CalculateExchangeLineItemInput : GraphQLObject - { + [Description("The input fields for exchange line items on a calculated return.")] + public class CalculateExchangeLineItemInput : GraphQLObject + { /// ///The ID of the product variant to be added to the order as part of an exchange. /// - [Description("The ID of the product variant to be added to the order as part of an exchange.")] - public string? variantId { get; set; } - + [Description("The ID of the product variant to be added to the order as part of an exchange.")] + public string? variantId { get; set; } + /// ///The quantity of the item to be added. /// - [Description("The quantity of the item to be added.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the item to be added.")] + [NonNull] + public int? quantity { get; set; } + /// ///The discount to be applied to the exchange line item. /// - [Description("The discount to be applied to the exchange line item.")] - public ExchangeLineItemAppliedDiscountInput? appliedDiscount { get; set; } - } - + [Description("The discount to be applied to the exchange line item.")] + public ExchangeLineItemAppliedDiscountInput? appliedDiscount { get; set; } + } + /// ///The input fields to calculate return amounts associated with an order. /// - [Description("The input fields to calculate return amounts associated with an order.")] - public class CalculateReturnInput : GraphQLObject - { + [Description("The input fields to calculate return amounts associated with an order.")] + public class CalculateReturnInput : GraphQLObject + { /// ///The ID of the order that will be returned. /// - [Description("The ID of the order that will be returned.")] - [NonNull] - public string? orderId { get; set; } - + [Description("The ID of the order that will be returned.")] + [NonNull] + public string? orderId { get; set; } + /// ///The line items from the order to include in the return. /// - [Description("The line items from the order to include in the return.")] - public IEnumerable? returnLineItems { get; set; } - + [Description("The line items from the order to include in the return.")] + public IEnumerable? returnLineItems { get; set; } + /// ///The exchange line items to add to the order. /// - [Description("The exchange line items to add to the order.")] - public IEnumerable? exchangeLineItems { get; set; } - + [Description("The exchange line items to add to the order.")] + public IEnumerable? exchangeLineItems { get; set; } + /// ///The return shipping fee associated with the return. /// - [Description("The return shipping fee associated with the return.")] - public ReturnShippingFeeInput? returnShippingFee { get; set; } - } - + [Description("The return shipping fee associated with the return.")] + public ReturnShippingFeeInput? returnShippingFee { get; set; } + } + /// ///The input fields for return line items on a calculated return. /// - [Description("The input fields for return line items on a calculated return.")] - public class CalculateReturnLineItemInput : GraphQLObject - { + [Description("The input fields for return line items on a calculated return.")] + public class CalculateReturnLineItemInput : GraphQLObject + { /// ///The ID of the fulfillment line item to be returned. /// - [Description("The ID of the fulfillment line item to be returned.")] - [NonNull] - public string? fulfillmentLineItemId { get; set; } - + [Description("The ID of the fulfillment line item to be returned.")] + [NonNull] + public string? fulfillmentLineItemId { get; set; } + /// ///The restocking fee for the return line item. /// - [Description("The restocking fee for the return line item.")] - public RestockingFeeInput? restockingFee { get; set; } - + [Description("The restocking fee for the return line item.")] + public RestockingFeeInput? restockingFee { get; set; } + /// ///The quantity of the item to be returned. /// - [Description("The quantity of the item to be returned.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the item to be returned.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///A discount that is automatically applied to an order that is being edited. /// - [Description("A discount that is automatically applied to an order that is being edited.")] - public class CalculatedAutomaticDiscountApplication : GraphQLObject, ICalculatedDiscountApplication - { + [Description("A discount that is automatically applied to an order that is being edited.")] + public class CalculatedAutomaticDiscountApplication : GraphQLObject, ICalculatedDiscountApplication + { /// ///The method by which the discount's value is allocated to its entitled items. /// - [Description("The method by which the discount's value is allocated to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is allocated to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The level at which the discount was applied. /// - [Description("The level at which the discount was applied.")] - [NonNull] - [EnumType(typeof(DiscountApplicationLevel))] - public string? appliedTo { get; set; } - + [Description("The level at which the discount was applied.")] + [NonNull] + [EnumType(typeof(DiscountApplicationLevel))] + public string? appliedTo { get; set; } + /// ///The description of discount application. Indicates the reason why the discount was applied. /// - [Description("The description of discount application. Indicates the reason why the discount was applied.")] - public string? description { get; set; } - + [Description("The description of discount application. Indicates the reason why the discount was applied.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///An amount discounting the line that has been allocated by an associated discount application. /// - [Description("An amount discounting the line that has been allocated by an associated discount application.")] - public class CalculatedDiscountAllocation : GraphQLObject - { + [Description("An amount discounting the line that has been allocated by an associated discount application.")] + public class CalculatedDiscountAllocation : GraphQLObject + { /// ///The money amount that's allocated by the discount application in shop and presentment currencies. /// - [Description("The money amount that's allocated by the discount application in shop and presentment currencies.")] - [NonNull] - public MoneyBag? allocatedAmountSet { get; set; } - + [Description("The money amount that's allocated by the discount application in shop and presentment currencies.")] + [NonNull] + public MoneyBag? allocatedAmountSet { get; set; } + /// ///The discount that the allocated amount originated from. /// - [Description("The discount that the allocated amount originated from.")] - [NonNull] - public ICalculatedDiscountApplication? discountApplication { get; set; } - } - + [Description("The discount that the allocated amount originated from.")] + [NonNull] + public ICalculatedDiscountApplication? discountApplication { get; set; } + } + /// ///A [discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/discountapplication) involved in order editing that might be newly added or have new changes applied. /// - [Description("A [discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/discountapplication) involved in order editing that might be newly added or have new changes applied.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CalculatedAutomaticDiscountApplication), typeDiscriminator: "CalculatedAutomaticDiscountApplication")] - [JsonDerivedType(typeof(CalculatedDiscountCodeApplication), typeDiscriminator: "CalculatedDiscountCodeApplication")] - [JsonDerivedType(typeof(CalculatedManualDiscountApplication), typeDiscriminator: "CalculatedManualDiscountApplication")] - [JsonDerivedType(typeof(CalculatedScriptDiscountApplication), typeDiscriminator: "CalculatedScriptDiscountApplication")] - public interface ICalculatedDiscountApplication : IGraphQLObject - { - public CalculatedAutomaticDiscountApplication? AsCalculatedAutomaticDiscountApplication() => this as CalculatedAutomaticDiscountApplication; - public CalculatedDiscountCodeApplication? AsCalculatedDiscountCodeApplication() => this as CalculatedDiscountCodeApplication; - public CalculatedManualDiscountApplication? AsCalculatedManualDiscountApplication() => this as CalculatedManualDiscountApplication; - public CalculatedScriptDiscountApplication? AsCalculatedScriptDiscountApplication() => this as CalculatedScriptDiscountApplication; + [Description("A [discount application](https://shopify.dev/api/admin-graphql/latest/interfaces/discountapplication) involved in order editing that might be newly added or have new changes applied.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CalculatedAutomaticDiscountApplication), typeDiscriminator: "CalculatedAutomaticDiscountApplication")] + [JsonDerivedType(typeof(CalculatedDiscountCodeApplication), typeDiscriminator: "CalculatedDiscountCodeApplication")] + [JsonDerivedType(typeof(CalculatedManualDiscountApplication), typeDiscriminator: "CalculatedManualDiscountApplication")] + [JsonDerivedType(typeof(CalculatedScriptDiscountApplication), typeDiscriminator: "CalculatedScriptDiscountApplication")] + public interface ICalculatedDiscountApplication : IGraphQLObject + { + public CalculatedAutomaticDiscountApplication? AsCalculatedAutomaticDiscountApplication() => this as CalculatedAutomaticDiscountApplication; + public CalculatedDiscountCodeApplication? AsCalculatedDiscountCodeApplication() => this as CalculatedDiscountCodeApplication; + public CalculatedManualDiscountApplication? AsCalculatedManualDiscountApplication() => this as CalculatedManualDiscountApplication; + public CalculatedScriptDiscountApplication? AsCalculatedScriptDiscountApplication() => this as CalculatedScriptDiscountApplication; /// ///The method by which the discount's value is allocated to its entitled items. /// - [Description("The method by which the discount's value is allocated to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; } - + [Description("The method by which the discount's value is allocated to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; } + /// ///The level at which the discount was applied. /// - [Description("The level at which the discount was applied.")] - [NonNull] - [EnumType(typeof(DiscountApplicationLevel))] - public string? appliedTo { get; } - + [Description("The level at which the discount was applied.")] + [NonNull] + [EnumType(typeof(DiscountApplicationLevel))] + public string? appliedTo { get; } + /// ///The description of discount application. Indicates the reason why the discount was applied. /// - [Description("The description of discount application. Indicates the reason why the discount was applied.")] - public string? description { get; } - + [Description("The description of discount application. Indicates the reason why the discount was applied.")] + public string? description { get; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; } + } + /// ///An auto-generated type for paginating through multiple CalculatedDiscountApplications. /// - [Description("An auto-generated type for paginating through multiple CalculatedDiscountApplications.")] - public class CalculatedDiscountApplicationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CalculatedDiscountApplications.")] + public class CalculatedDiscountApplicationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CalculatedDiscountApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CalculatedDiscountApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CalculatedDiscountApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CalculatedDiscountApplication and a cursor during pagination. /// - [Description("An auto-generated type which holds one CalculatedDiscountApplication and a cursor during pagination.")] - public class CalculatedDiscountApplicationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CalculatedDiscountApplication and a cursor during pagination.")] + public class CalculatedDiscountApplicationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CalculatedDiscountApplicationEdge. /// - [Description("The item at the end of CalculatedDiscountApplicationEdge.")] - [NonNull] - public ICalculatedDiscountApplication? node { get; set; } - } - + [Description("The item at the end of CalculatedDiscountApplicationEdge.")] + [NonNull] + public ICalculatedDiscountApplication? node { get; set; } + } + /// ///A discount code that is applied to an order that is being edited. /// - [Description("A discount code that is applied to an order that is being edited.")] - public class CalculatedDiscountCodeApplication : GraphQLObject, ICalculatedDiscountApplication - { + [Description("A discount code that is applied to an order that is being edited.")] + public class CalculatedDiscountCodeApplication : GraphQLObject, ICalculatedDiscountApplication + { /// ///The method by which the discount's value is allocated to its entitled items. /// - [Description("The method by which the discount's value is allocated to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is allocated to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The level at which the discount was applied. /// - [Description("The level at which the discount was applied.")] - [NonNull] - [EnumType(typeof(DiscountApplicationLevel))] - public string? appliedTo { get; set; } - + [Description("The level at which the discount was applied.")] + [NonNull] + [EnumType(typeof(DiscountApplicationLevel))] + public string? appliedTo { get; set; } + /// ///The string identifying the discount code that was used at the time of application. /// - [Description("The string identifying the discount code that was used at the time of application.")] - [NonNull] - public string? code { get; set; } - + [Description("The string identifying the discount code that was used at the time of application.")] + [NonNull] + public string? code { get; set; } + /// ///The description of discount application. Indicates the reason why the discount was applied. /// - [Description("The description of discount application. Indicates the reason why the discount was applied.")] - public string? description { get; set; } - + [Description("The description of discount application. Indicates the reason why the discount was applied.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///The calculated fields for a draft order. /// - [Description("The calculated fields for a draft order.")] - public class CalculatedDraftOrder : GraphQLObject - { + [Description("The calculated fields for a draft order.")] + public class CalculatedDraftOrder : GraphQLObject + { /// ///Whether or not to accept automatic discounts on the draft order during calculation. ///If false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied. ///If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts. /// - [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] - public bool? acceptAutomaticDiscounts { get; set; } - + [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] + public bool? acceptAutomaticDiscounts { get; set; } + /// ///The list of alerts raised while calculating. /// - [Description("The list of alerts raised while calculating.")] - [NonNull] - public IEnumerable? alerts { get; set; } - + [Description("The list of alerts raised while calculating.")] + [NonNull] + public IEnumerable? alerts { get; set; } + /// ///Whether all variant prices have been overridden. /// - [Description("Whether all variant prices have been overridden.")] - [NonNull] - public bool? allVariantPricesOverridden { get; set; } - + [Description("Whether all variant prices have been overridden.")] + [NonNull] + public bool? allVariantPricesOverridden { get; set; } + /// ///The amount due later. ///When there are payment terms, this is the total price minus the deposit amount (if any). ///When there are no payment terms, this is 0. /// - [Description("The amount due later.\nWhen there are payment terms, this is the total price minus the deposit amount (if any).\nWhen there are no payment terms, this is 0.")] - [NonNull] - public MoneyBag? amountDueLaterSet { get; set; } - + [Description("The amount due later.\nWhen there are payment terms, this is the total price minus the deposit amount (if any).\nWhen there are no payment terms, this is 0.")] + [NonNull] + public MoneyBag? amountDueLaterSet { get; set; } + /// ///The amount due now. ///When there are payment terms this is the value of the deposit (0 by default). ///When there are no payment terms, this is the total price. /// - [Description("The amount due now.\nWhen there are payment terms this is the value of the deposit (0 by default).\nWhen there are no payment terms, this is the total price.")] - [NonNull] - public MoneyBag? amountDueNowSet { get; set; } - + [Description("The amount due now.\nWhen there are payment terms this is the value of the deposit (0 by default).\nWhen there are no payment terms, this is the total price.")] + [NonNull] + public MoneyBag? amountDueNowSet { get; set; } + /// ///Whether any variant prices have been overridden. /// - [Description("Whether any variant prices have been overridden.")] - [NonNull] - public bool? anyVariantPricesOverridden { get; set; } - + [Description("Whether any variant prices have been overridden.")] + [NonNull] + public bool? anyVariantPricesOverridden { get; set; } + /// ///The custom order-level discount applied. /// - [Description("The custom order-level discount applied.")] - public DraftOrderAppliedDiscount? appliedDiscount { get; set; } - + [Description("The custom order-level discount applied.")] + public DraftOrderAppliedDiscount? appliedDiscount { get; set; } + /// ///The available shipping rates. ///Requires a customer with a valid shipping address and at least one line item. /// - [Description("The available shipping rates.\nRequires a customer with a valid shipping address and at least one line item.")] - [NonNull] - public IEnumerable? availableShippingRates { get; set; } - + [Description("The available shipping rates.\nRequires a customer with a valid shipping address and at least one line item.")] + [NonNull] + public IEnumerable? availableShippingRates { get; set; } + /// ///Whether the billing address matches the shipping address. /// - [Description("Whether the billing address matches the shipping address.")] - [NonNull] - public bool? billingAddressMatchesShippingAddress { get; set; } - + [Description("Whether the billing address matches the shipping address.")] + [NonNull] + public bool? billingAddressMatchesShippingAddress { get; set; } + /// ///The shop currency used for calculation. /// - [Description("The shop currency used for calculation.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The shop currency used for calculation.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///The customer who will be sent an invoice. /// - [Description("The customer who will be sent an invoice.")] - public Customer? customer { get; set; } - + [Description("The customer who will be sent an invoice.")] + public Customer? customer { get; set; } + /// ///The portion required to be paid at checkout. /// - [Description("The portion required to be paid at checkout.")] - public IDepositConfiguration? deposit { get; set; } - + [Description("The portion required to be paid at checkout.")] + public IDepositConfiguration? deposit { get; set; } + /// ///All discount codes applied. /// - [Description("All discount codes applied.")] - [NonNull] - public IEnumerable? discountCodes { get; set; } - + [Description("All discount codes applied.")] + [NonNull] + public IEnumerable? discountCodes { get; set; } + /// ///The list of the line items in the calculated draft order. /// - [Description("The list of the line items in the calculated draft order.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The list of the line items in the calculated draft order.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///A subtotal of the line items and corresponding discounts, ///excluding shipping charges, shipping discounts, taxes, or order discounts. /// - [Description("A subtotal of the line items and corresponding discounts,\nexcluding shipping charges, shipping discounts, taxes, or order discounts.")] - [NonNull] - public MoneyBag? lineItemsSubtotalPrice { get; set; } - + [Description("A subtotal of the line items and corresponding discounts,\nexcluding shipping charges, shipping discounts, taxes, or order discounts.")] + [NonNull] + public MoneyBag? lineItemsSubtotalPrice { get; set; } + /// ///The name of the selected market. /// - [Description("The name of the selected market.")] - [Obsolete("This field is now incompatible with Markets.")] - [NonNull] - public string? marketName { get; set; } - + [Description("The name of the selected market.")] + [Obsolete("This field is now incompatible with Markets.")] + [NonNull] + public string? marketName { get; set; } + /// ///The selected country code that determines the pricing. /// - [Description("The selected country code that determines the pricing.")] - [Obsolete("This field is now incompatible with Markets.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? marketRegionCountryCode { get; set; } - + [Description("The selected country code that determines the pricing.")] + [Obsolete("This field is now incompatible with Markets.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? marketRegionCountryCode { get; set; } + /// ///The assigned phone number. /// - [Description("The assigned phone number.")] - public string? phone { get; set; } - + [Description("The assigned phone number.")] + public string? phone { get; set; } + /// ///The list of platform discounts applied. /// - [Description("The list of platform discounts applied.")] - [NonNull] - public IEnumerable? platformDiscounts { get; set; } - + [Description("The list of platform discounts applied.")] + [NonNull] + public IEnumerable? platformDiscounts { get; set; } + /// ///The payment currency used for calculation. /// - [Description("The payment currency used for calculation.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? presentmentCurrencyCode { get; set; } - + [Description("The payment currency used for calculation.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? presentmentCurrencyCode { get; set; } + /// ///The purchasing entity. /// - [Description("The purchasing entity.")] - public IPurchasingEntity? purchasingEntity { get; set; } - + [Description("The purchasing entity.")] + public IPurchasingEntity? purchasingEntity { get; set; } + /// ///The line item containing the shipping information and costs. /// - [Description("The line item containing the shipping information and costs.")] - public ShippingLine? shippingLine { get; set; } - + [Description("The line item containing the shipping information and costs.")] + public ShippingLine? shippingLine { get; set; } + /// ///The subtotal, in shop currency, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes. /// - [Description("The subtotal, in shop currency, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] - [Obsolete("Use `subtotalPriceSet` instead.")] - [NonNull] - public decimal? subtotalPrice { get; set; } - + [Description("The subtotal, in shop currency, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] + [Obsolete("Use `subtotalPriceSet` instead.")] + [NonNull] + public decimal? subtotalPrice { get; set; } + /// ///The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes. /// - [Description("The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] - [NonNull] - public MoneyBag? subtotalPriceSet { get; set; } - + [Description("The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] + [NonNull] + public MoneyBag? subtotalPriceSet { get; set; } + /// ///The list of of taxes lines charged for each line item and shipping line. /// - [Description("The list of of taxes lines charged for each line item and shipping line.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("The list of of taxes lines charged for each line item and shipping line.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Whether the line item prices include taxes. /// - [Description("Whether the line item prices include taxes.")] - [NonNull] - public bool? taxesIncluded { get; set; } - + [Description("Whether the line item prices include taxes.")] + [NonNull] + public bool? taxesIncluded { get; set; } + /// ///Total discounts. /// - [Description("Total discounts.")] - [NonNull] - public MoneyBag? totalDiscountsSet { get; set; } - + [Description("Total discounts.")] + [NonNull] + public MoneyBag? totalDiscountsSet { get; set; } + /// ///Total price of line items, excluding discounts. /// - [Description("Total price of line items, excluding discounts.")] - [NonNull] - public MoneyBag? totalLineItemsPriceSet { get; set; } - + [Description("Total price of line items, excluding discounts.")] + [NonNull] + public MoneyBag? totalLineItemsPriceSet { get; set; } + /// ///The total price, in shop currency, includes taxes, shipping charges, and discounts. /// - [Description("The total price, in shop currency, includes taxes, shipping charges, and discounts.")] - [Obsolete("Use `totalPriceSet` instead.")] - [NonNull] - public decimal? totalPrice { get; set; } - + [Description("The total price, in shop currency, includes taxes, shipping charges, and discounts.")] + [Obsolete("Use `totalPriceSet` instead.")] + [NonNull] + public decimal? totalPrice { get; set; } + /// ///The total price, includes taxes, shipping charges, and discounts. /// - [Description("The total price, includes taxes, shipping charges, and discounts.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - + [Description("The total price, includes taxes, shipping charges, and discounts.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + /// ///The sum of individual line item quantities. ///If the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle. /// - [Description("The sum of individual line item quantities.\nIf the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle.")] - [NonNull] - public int? totalQuantityOfLineItems { get; set; } - + [Description("The sum of individual line item quantities.\nIf the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle.")] + [NonNull] + public int? totalQuantityOfLineItems { get; set; } + /// ///The total shipping price in shop currency. /// - [Description("The total shipping price in shop currency.")] - [Obsolete("Use `totalShippingPriceSet` instead.")] - [NonNull] - public decimal? totalShippingPrice { get; set; } - + [Description("The total shipping price in shop currency.")] + [Obsolete("Use `totalShippingPriceSet` instead.")] + [NonNull] + public decimal? totalShippingPrice { get; set; } + /// ///The total shipping price. /// - [Description("The total shipping price.")] - [NonNull] - public MoneyBag? totalShippingPriceSet { get; set; } - + [Description("The total shipping price.")] + [NonNull] + public MoneyBag? totalShippingPriceSet { get; set; } + /// ///The total tax in shop currency. /// - [Description("The total tax in shop currency.")] - [Obsolete("Use `totalTaxSet` instead.")] - [NonNull] - public decimal? totalTax { get; set; } - + [Description("The total tax in shop currency.")] + [Obsolete("Use `totalTaxSet` instead.")] + [NonNull] + public decimal? totalTax { get; set; } + /// ///The total tax. /// - [Description("The total tax.")] - [NonNull] - public MoneyBag? totalTaxSet { get; set; } - + [Description("The total tax.")] + [NonNull] + public MoneyBag? totalTaxSet { get; set; } + /// ///Fingerprint of the current cart. ///In order to have bundles work, the fingerprint must be passed to ///each request as it was previously returned, unmodified. /// - [Description("Fingerprint of the current cart.\nIn order to have bundles work, the fingerprint must be passed to\neach request as it was previously returned, unmodified.")] - public string? transformerFingerprint { get; set; } - + [Description("Fingerprint of the current cart.\nIn order to have bundles work, the fingerprint must be passed to\neach request as it was previously returned, unmodified.")] + public string? transformerFingerprint { get; set; } + /// ///The list of warnings raised while calculating. /// - [Description("The list of warnings raised while calculating.")] - [NonNull] - public IEnumerable? warnings { get; set; } - } - + [Description("The list of warnings raised while calculating.")] + [NonNull] + public IEnumerable? warnings { get; set; } + } + /// ///The calculated line item for a draft order. /// - [Description("The calculated line item for a draft order.")] - public class CalculatedDraftOrderLineItem : GraphQLObject, IDraftOrderPlatformDiscountAllocationTarget - { + [Description("The calculated line item for a draft order.")] + public class CalculatedDraftOrderLineItem : GraphQLObject, IDraftOrderPlatformDiscountAllocationTarget + { /// ///The custom applied discount. /// - [Description("The custom applied discount.")] - public DraftOrderAppliedDiscount? appliedDiscount { get; set; } - + [Description("The custom applied discount.")] + public DraftOrderAppliedDiscount? appliedDiscount { get; set; } + /// ///The `discountedTotal` divided by `quantity`, ///equal to the average value of the line item price per unit after discounts are applied. ///This value doesn't include discounts applied to the entire draft order. /// - [Description("The `discountedTotal` divided by `quantity`,\nequal to the average value of the line item price per unit after discounts are applied.\nThis value doesn't include discounts applied to the entire draft order.")] - [NonNull] - public MoneyBag? approximateDiscountedUnitPriceSet { get; set; } - + [Description("The `discountedTotal` divided by `quantity`,\nequal to the average value of the line item price per unit after discounts are applied.\nThis value doesn't include discounts applied to the entire draft order.")] + [NonNull] + public MoneyBag? approximateDiscountedUnitPriceSet { get; set; } + /// ///The bundle components of the draft order line item. /// - [Description("The bundle components of the draft order line item.")] - [Obsolete("Use `components` instead.")] - [NonNull] - public IEnumerable? bundleComponents { get; set; } - + [Description("The bundle components of the draft order line item.")] + [Obsolete("Use `components` instead.")] + [NonNull] + public IEnumerable? bundleComponents { get; set; } + /// ///The components of the draft order line item. /// - [Description("The components of the draft order line item.")] - [NonNull] - public IEnumerable? components { get; set; } - + [Description("The components of the draft order line item.")] + [NonNull] + public IEnumerable? components { get; set; } + /// ///Whether the line item is custom (`true`) or contains a product variant (`false`). /// - [Description("Whether the line item is custom (`true`) or contains a product variant (`false`).")] - [NonNull] - public bool? custom { get; set; } - + [Description("Whether the line item is custom (`true`) or contains a product variant (`false`).")] + [NonNull] + public bool? custom { get; set; } + /// ///A list of attributes that represent custom features or special requests. /// - [Description("A list of attributes that represent custom features or special requests.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of attributes that represent custom features or special requests.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The list of additional information (metafields) with the associated types. /// - [Description("The list of additional information (metafields) with the associated types.")] - [NonNull] - public IEnumerable? customAttributesV2 { get; set; } - + [Description("The list of additional information (metafields) with the associated types.")] + [NonNull] + public IEnumerable? customAttributesV2 { get; set; } + /// ///The total price with discounts applied. /// - [Description("The total price with discounts applied.")] - [NonNull] - public MoneyV2? discountedTotal { get; set; } - + [Description("The total price with discounts applied.")] + [NonNull] + public MoneyV2? discountedTotal { get; set; } + /// ///The total price with discounts applied. /// - [Description("The total price with discounts applied.")] - [NonNull] - public MoneyBag? discountedTotalSet { get; set; } - + [Description("The total price with discounts applied.")] + [NonNull] + public MoneyBag? discountedTotalSet { get; set; } + /// ///The unit price with discounts applied. /// - [Description("The unit price with discounts applied.")] - [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] - [NonNull] - public MoneyV2? discountedUnitPrice { get; set; } - + [Description("The unit price with discounts applied.")] + [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] + [NonNull] + public MoneyV2? discountedUnitPrice { get; set; } + /// ///The unit price with discounts applied. /// - [Description("The unit price with discounts applied.")] - [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] - [NonNull] - public MoneyBag? discountedUnitPriceSet { get; set; } - + [Description("The unit price with discounts applied.")] + [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] + [NonNull] + public MoneyBag? discountedUnitPriceSet { get; set; } + /// ///Name of the service provider who fulfilled the order. /// @@ -8090,1200 +8090,1200 @@ public class CalculatedDraftOrderLineItem : GraphQLObject - [Description("Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///The image associated with the draft order line item. /// - [Description("The image associated with the draft order line item.")] - public Image? image { get; set; } - + [Description("The image associated with the draft order line item.")] + public Image? image { get; set; } + /// ///Whether the line item represents the purchase of a gift card. /// - [Description("Whether the line item represents the purchase of a gift card.")] - [NonNull] - public bool? isGiftCard { get; set; } - + [Description("Whether the line item represents the purchase of a gift card.")] + [NonNull] + public bool? isGiftCard { get; set; } + /// ///The source of the line item's merchandise information. /// - [Description("The source of the line item's merchandise information.")] - [NonNull] - [EnumType(typeof(DraftOrderLineItemMerchandiseSourceType))] - public string? merchandiseSource { get; set; } - + [Description("The source of the line item's merchandise information.")] + [NonNull] + [EnumType(typeof(DraftOrderLineItemMerchandiseSourceType))] + public string? merchandiseSource { get; set; } + /// ///The name of the product. /// - [Description("The name of the product.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the product.")] + [NonNull] + public string? name { get; set; } + /// ///The total price, excluding discounts, equal to the original unit price multiplied by quantity. /// - [Description("The total price, excluding discounts, equal to the original unit price multiplied by quantity.")] - [NonNull] - public MoneyV2? originalTotal { get; set; } - + [Description("The total price, excluding discounts, equal to the original unit price multiplied by quantity.")] + [NonNull] + public MoneyV2? originalTotal { get; set; } + /// ///The total price excluding discounts, equal to the original unit price multiplied by quantity. /// - [Description("The total price excluding discounts, equal to the original unit price multiplied by quantity.")] - [NonNull] - public MoneyBag? originalTotalSet { get; set; } - + [Description("The total price excluding discounts, equal to the original unit price multiplied by quantity.")] + [NonNull] + public MoneyBag? originalTotalSet { get; set; } + /// ///The line item price without any discounts applied. /// - [Description("The line item price without any discounts applied.")] - [NonNull] - public MoneyV2? originalUnitPrice { get; set; } - + [Description("The line item price without any discounts applied.")] + [NonNull] + public MoneyV2? originalUnitPrice { get; set; } + /// ///The price without any discounts applied. /// - [Description("The price without any discounts applied.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("The price without any discounts applied.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The original custom line item input price. /// - [Description("The original custom line item input price.")] - public MoneyV2? originalUnitPriceWithCurrency { get; set; } - + [Description("The original custom line item input price.")] + public MoneyV2? originalUnitPriceWithCurrency { get; set; } + /// ///The price override for the line item. /// - [Description("The price override for the line item.")] - public MoneyV2? priceOverride { get; set; } - + [Description("The price override for the line item.")] + public MoneyV2? priceOverride { get; set; } + /// ///The product for the line item. /// - [Description("The product for the line item.")] - public Product? product { get; set; } - + [Description("The product for the line item.")] + public Product? product { get; set; } + /// ///The quantity of items. For a bundle item, this is the quantity of bundles, ///not the quantity of items contained in the bundles themselves. /// - [Description("The quantity of items. For a bundle item, this is the quantity of bundles,\nnot the quantity of items contained in the bundles themselves.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of items. For a bundle item, this is the quantity of bundles,\nnot the quantity of items contained in the bundles themselves.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether physical shipping is required for the variant. /// - [Description("Whether physical shipping is required for the variant.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether physical shipping is required for the variant.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///The SKU number of the product variant. /// - [Description("The SKU number of the product variant.")] - public string? sku { get; set; } - + [Description("The SKU number of the product variant.")] + public string? sku { get; set; } + /// ///Whether the variant is taxable. /// - [Description("Whether the variant is taxable.")] - [NonNull] - public bool? taxable { get; set; } - + [Description("Whether the variant is taxable.")] + [NonNull] + public bool? taxable { get; set; } + /// ///The title of the product or variant. This field only applies to custom line items. /// - [Description("The title of the product or variant. This field only applies to custom line items.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product or variant. This field only applies to custom line items.")] + [NonNull] + public string? title { get; set; } + /// ///The total value of the discount. /// - [Description("The total value of the discount.")] - [NonNull] - public MoneyV2? totalDiscount { get; set; } - + [Description("The total value of the discount.")] + [NonNull] + public MoneyV2? totalDiscount { get; set; } + /// ///The total discount amount. /// - [Description("The total discount amount.")] - [NonNull] - public MoneyBag? totalDiscountSet { get; set; } - + [Description("The total discount amount.")] + [NonNull] + public MoneyBag? totalDiscountSet { get; set; } + /// ///The UUID of the draft order line item. Must be unique and consistent across requests. ///This field is mandatory in order to manipulate drafts with bundles. /// - [Description("The UUID of the draft order line item. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] - [NonNull] - public string? uuid { get; set; } - + [Description("The UUID of the draft order line item. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] + [NonNull] + public string? uuid { get; set; } + /// ///The product variant for the line item. /// - [Description("The product variant for the line item.")] - public ProductVariant? variant { get; set; } - + [Description("The product variant for the line item.")] + public ProductVariant? variant { get; set; } + /// ///The ID of the variant associated with the line item. Will still be returned even if the variant has been ///deleted since the draft was created or last updated. /// - [Description("The ID of the variant associated with the line item. Will still be returned even if the variant has been\ndeleted since the draft was created or last updated.")] - public string? variantId { get; set; } - + [Description("The ID of the variant associated with the line item. Will still be returned even if the variant has been\ndeleted since the draft was created or last updated.")] + public string? variantId { get; set; } + /// ///The name of the variant. /// - [Description("The name of the variant.")] - public string? variantTitle { get; set; } - + [Description("The name of the variant.")] + public string? variantTitle { get; set; } + /// ///The name of the vendor who created the product variant. /// - [Description("The name of the vendor who created the product variant.")] - public string? vendor { get; set; } - + [Description("The name of the vendor who created the product variant.")] + public string? vendor { get; set; } + /// ///The weight unit and value. /// - [Description("The weight unit and value.")] - public Weight? weight { get; set; } - } - + [Description("The weight unit and value.")] + public Weight? weight { get; set; } + } + /// ///A calculated exchange line item. /// - [Description("A calculated exchange line item.")] - public class CalculatedExchangeLineItem : GraphQLObject - { + [Description("A calculated exchange line item.")] + public class CalculatedExchangeLineItem : GraphQLObject + { /// ///The discounts that have been allocated onto the line item by discount applications. /// - [Description("The discounts that have been allocated onto the line item by discount applications.")] - [NonNull] - public IEnumerable? calculatedDiscountAllocations { get; set; } - + [Description("The discounts that have been allocated onto the line item by discount applications.")] + [NonNull] + public IEnumerable? calculatedDiscountAllocations { get; set; } + /// ///The unit price of the exchange line item after discounts. /// - [Description("The unit price of the exchange line item after discounts.")] - [NonNull] - public MoneyBag? discountedUnitPriceSet { get; set; } - + [Description("The unit price of the exchange line item after discounts.")] + [NonNull] + public MoneyBag? discountedUnitPriceSet { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + public string? id { get; set; } + /// ///The original unit price of the exchange line item before discounts. /// - [Description("The original unit price of the exchange line item before discounts.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("The original unit price of the exchange line item before discounts.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The quantity being exchanged. /// - [Description("The quantity being exchanged.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity being exchanged.")] + [NonNull] + public int? quantity { get; set; } + /// ///The calculated subtotal set of the exchange line item, including discounts. /// - [Description("The calculated subtotal set of the exchange line item, including discounts.")] - [NonNull] - public MoneyBag? subtotalSet { get; set; } - + [Description("The calculated subtotal set of the exchange line item, including discounts.")] + [NonNull] + public MoneyBag? subtotalSet { get; set; } + /// ///The total tax of the exchange line item. /// - [Description("The total tax of the exchange line item.")] - [NonNull] - public MoneyBag? totalTaxSet { get; set; } - + [Description("The total tax of the exchange line item.")] + [NonNull] + public MoneyBag? totalTaxSet { get; set; } + /// ///The variant being exchanged. /// - [Description("The variant being exchanged.")] - public ProductVariant? variant { get; set; } - } - + [Description("The variant being exchanged.")] + public ProductVariant? variant { get; set; } + } + /// ///A line item involved in order editing that may be newly added or have new changes applied. /// - [Description("A line item involved in order editing that may be newly added or have new changes applied.")] - public class CalculatedLineItem : GraphQLObject - { + [Description("A line item involved in order editing that may be newly added or have new changes applied.")] + public class CalculatedLineItem : GraphQLObject + { /// ///The discounts that have been allocated onto the line item by discount applications. /// - [Description("The discounts that have been allocated onto the line item by discount applications.")] - [NonNull] - public IEnumerable? calculatedDiscountAllocations { get; set; } - + [Description("The discounts that have been allocated onto the line item by discount applications.")] + [NonNull] + public IEnumerable? calculatedDiscountAllocations { get; set; } + /// ///A list of attributes that represent custom features or special requests. /// - [Description("A list of attributes that represent custom features or special requests.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of attributes that represent custom features or special requests.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The discounts that have been allocated onto the line item by discount applications. /// - [Description("The discounts that have been allocated onto the line item by discount applications.")] - [Obsolete("Use `calculatedDiscountAllocations` instead.")] - [NonNull] - public IEnumerable? discountAllocations { get; set; } - + [Description("The discounts that have been allocated onto the line item by discount applications.")] + [Obsolete("Use `calculatedDiscountAllocations` instead.")] + [NonNull] + public IEnumerable? discountAllocations { get; set; } + /// ///The price of a single quantity of the line item with line item discounts applied, in shop and presentment currencies. Discounts applied to the entire order aren't included in this price. /// - [Description("The price of a single quantity of the line item with line item discounts applied, in shop and presentment currencies. Discounts applied to the entire order aren't included in this price.")] - [NonNull] - public MoneyBag? discountedUnitPriceSet { get; set; } - + [Description("The price of a single quantity of the line item with line item discounts applied, in shop and presentment currencies. Discounts applied to the entire order aren't included in this price.")] + [NonNull] + public MoneyBag? discountedUnitPriceSet { get; set; } + /// ///The total number of items that can be edited. /// - [Description("The total number of items that can be edited.")] - [NonNull] - public int? editableQuantity { get; set; } - + [Description("The total number of items that can be edited.")] + [NonNull] + public int? editableQuantity { get; set; } + /// ///The editable quantity prior to any changes made in the current edit. /// - [Description("The editable quantity prior to any changes made in the current edit.")] - [NonNull] - public int? editableQuantityBeforeChanges { get; set; } - + [Description("The editable quantity prior to any changes made in the current edit.")] + [NonNull] + public int? editableQuantityBeforeChanges { get; set; } + /// ///The total price of editable lines in shop and presentment currencies. /// - [Description("The total price of editable lines in shop and presentment currencies.")] - [NonNull] - public MoneyBag? editableSubtotalSet { get; set; } - + [Description("The total price of editable lines in shop and presentment currencies.")] + [NonNull] + public MoneyBag? editableSubtotalSet { get; set; } + /// ///Whether the calculated line item has a staged discount. /// - [Description("Whether the calculated line item has a staged discount.")] - [NonNull] - public bool? hasStagedLineItemDiscount { get; set; } - + [Description("Whether the calculated line item has a staged discount.")] + [NonNull] + public bool? hasStagedLineItemDiscount { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image object associated to the line item's variant. /// - [Description("The image object associated to the line item's variant.")] - public Image? image { get; set; } - + [Description("The image object associated to the line item's variant.")] + public Image? image { get; set; } + /// ///The variant unit price in shop and presentment currencies, without any discounts applied. /// - [Description("The variant unit price in shop and presentment currencies, without any discounts applied.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("The variant unit price in shop and presentment currencies, without any discounts applied.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The total number of items. /// - [Description("The total number of items.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The total number of items.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether the line item can be restocked or not. /// - [Description("Whether the line item can be restocked or not.")] - [NonNull] - public bool? restockable { get; set; } - + [Description("Whether the line item can be restocked or not.")] + [NonNull] + public bool? restockable { get; set; } + /// ///Whether the changes on the line item will result in a restock. /// - [Description("Whether the changes on the line item will result in a restock.")] - [NonNull] - public bool? restocking { get; set; } - + [Description("Whether the changes on the line item will result in a restock.")] + [NonNull] + public bool? restocking { get; set; } + /// ///The variant SKU number. /// - [Description("The variant SKU number.")] - public string? sku { get; set; } - + [Description("The variant SKU number.")] + public string? sku { get; set; } + /// ///A list of changes that affect this line item. /// - [Description("A list of changes that affect this line item.")] - [NonNull] - public IEnumerable? stagedChanges { get; set; } - + [Description("A list of changes that affect this line item.")] + [NonNull] + public IEnumerable? stagedChanges { get; set; } + /// ///The title of the product. /// - [Description("The title of the product.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product.")] + [NonNull] + public string? title { get; set; } + /// ///The total price of uneditable lines in shop and presentment currencies. /// - [Description("The total price of uneditable lines in shop and presentment currencies.")] - [NonNull] - public MoneyBag? uneditableSubtotalSet { get; set; } - + [Description("The total price of uneditable lines in shop and presentment currencies.")] + [NonNull] + public MoneyBag? uneditableSubtotalSet { get; set; } + /// ///The product variant associated with this line item. The value is null for custom line items and items where ///the variant has been deleted. /// - [Description("The product variant associated with this line item. The value is null for custom line items and items where\nthe variant has been deleted.")] - public ProductVariant? variant { get; set; } - + [Description("The product variant associated with this line item. The value is null for custom line items and items where\nthe variant has been deleted.")] + public ProductVariant? variant { get; set; } + /// ///The title of the variant. /// - [Description("The title of the variant.")] - public string? variantTitle { get; set; } - + [Description("The title of the variant.")] + public string? variantTitle { get; set; } + /// ///The weight unit and value of the line item. /// - [Description("The weight unit and value of the line item.")] - public Weight? weight { get; set; } - } - + [Description("The weight unit and value of the line item.")] + public Weight? weight { get; set; } + } + /// ///An auto-generated type for paginating through multiple CalculatedLineItems. /// - [Description("An auto-generated type for paginating through multiple CalculatedLineItems.")] - public class CalculatedLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CalculatedLineItems.")] + public class CalculatedLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CalculatedLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CalculatedLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CalculatedLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CalculatedLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one CalculatedLineItem and a cursor during pagination.")] - public class CalculatedLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CalculatedLineItem and a cursor during pagination.")] + public class CalculatedLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CalculatedLineItemEdge. /// - [Description("The item at the end of CalculatedLineItemEdge.")] - [NonNull] - public CalculatedLineItem? node { get; set; } - } - + [Description("The item at the end of CalculatedLineItemEdge.")] + [NonNull] + public CalculatedLineItem? node { get; set; } + } + /// ///Represents a discount that was manually created for an order that is being edited. /// - [Description("Represents a discount that was manually created for an order that is being edited.")] - public class CalculatedManualDiscountApplication : GraphQLObject, ICalculatedDiscountApplication - { + [Description("Represents a discount that was manually created for an order that is being edited.")] + public class CalculatedManualDiscountApplication : GraphQLObject, ICalculatedDiscountApplication + { /// ///The method by which the discount's value is allocated to its entitled items. /// - [Description("The method by which the discount's value is allocated to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is allocated to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The level at which the discount was applied. /// - [Description("The level at which the discount was applied.")] - [NonNull] - [EnumType(typeof(DiscountApplicationLevel))] - public string? appliedTo { get; set; } - + [Description("The level at which the discount was applied.")] + [NonNull] + [EnumType(typeof(DiscountApplicationLevel))] + public string? appliedTo { get; set; } + /// ///The description of discount application. Indicates the reason why the discount was applied. /// - [Description("The description of discount application. Indicates the reason why the discount was applied.")] - public string? description { get; set; } - + [Description("The description of discount application. Indicates the reason why the discount was applied.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///An order with edits applied but not saved. /// - [Description("An order with edits applied but not saved.")] - public class CalculatedOrder : GraphQLObject, INode - { + [Description("An order with edits applied but not saved.")] + public class CalculatedOrder : GraphQLObject, INode + { /// ///Returns only the new discount applications being added to the order in the current edit. /// - [Description("Returns only the new discount applications being added to the order in the current edit.")] - [NonNull] - public CalculatedDiscountApplicationConnection? addedDiscountApplications { get; set; } - + [Description("Returns only the new discount applications being added to the order in the current edit.")] + [NonNull] + public CalculatedDiscountApplicationConnection? addedDiscountApplications { get; set; } + /// ///Returns only the new line items being added to the order during the current edit. /// - [Description("Returns only the new line items being added to the order during the current edit.")] - [NonNull] - public CalculatedLineItemConnection? addedLineItems { get; set; } - + [Description("Returns only the new line items being added to the order during the current edit.")] + [NonNull] + public CalculatedLineItemConnection? addedLineItems { get; set; } + /// ///Amount of the order-level discount (doesn't contain any line item discounts) in shop and presentment currencies. /// - [Description("Amount of the order-level discount (doesn't contain any line item discounts) in shop and presentment currencies.")] - public MoneyBag? cartDiscountAmountSet { get; set; } - + [Description("Amount of the order-level discount (doesn't contain any line item discounts) in shop and presentment currencies.")] + public MoneyBag? cartDiscountAmountSet { get; set; } + /// ///Whether the changes have been applied and saved to the order. /// - [Description("Whether the changes have been applied and saved to the order.")] - [Obsolete("CalculatedOrder for committed order edits is being deprecated, and this field will also be removed in a future version. See [changelog](https://shopify.dev/changelog/deprecation-notice-calculatedorder-for-committed-order-edits) for more details.")] - [NonNull] - public bool? committed { get; set; } - + [Description("Whether the changes have been applied and saved to the order.")] + [Obsolete("CalculatedOrder for committed order edits is being deprecated, and this field will also be removed in a future version. See [changelog](https://shopify.dev/changelog/deprecation-notice-calculatedorder-for-committed-order-edits) for more details.")] + [NonNull] + public bool? committed { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Returns all items on the order that existed before starting the edit. ///Will include any changes that have been made. ///Will not include line items added during the current edit. /// - [Description("Returns all items on the order that existed before starting the edit.\nWill include any changes that have been made.\nWill not include line items added during the current edit.")] - [NonNull] - public CalculatedLineItemConnection? lineItems { get; set; } - + [Description("Returns all items on the order that existed before starting the edit.\nWill include any changes that have been made.\nWill not include line items added during the current edit.")] + [NonNull] + public CalculatedLineItemConnection? lineItems { get; set; } + /// ///The HTML of the customer notification for the order edit. /// - [Description("The HTML of the customer notification for the order edit.")] - public string? notificationPreviewHtml { get; set; } - + [Description("The HTML of the customer notification for the order edit.")] + public string? notificationPreviewHtml { get; set; } + /// ///The customer notification title. /// - [Description("The customer notification title.")] - [NonNull] - public string? notificationPreviewTitle { get; set; } - + [Description("The customer notification title.")] + [NonNull] + public string? notificationPreviewTitle { get; set; } + /// ///The order without any changes applied. /// - [Description("The order without any changes applied.")] - [NonNull] - public Order? originalOrder { get; set; } - + [Description("The order without any changes applied.")] + [NonNull] + public Order? originalOrder { get; set; } + /// ///Returns the shipping lines on the order that existed before starting the edit. ///Will include any changes that have been made as well as shipping lines added during the current edit. ///Returns only the first 250 shipping lines. /// - [Description("Returns the shipping lines on the order that existed before starting the edit.\nWill include any changes that have been made as well as shipping lines added during the current edit.\nReturns only the first 250 shipping lines.")] - [NonNull] - public IEnumerable? shippingLines { get; set; } - + [Description("Returns the shipping lines on the order that existed before starting the edit.\nWill include any changes that have been made as well as shipping lines added during the current edit.\nReturns only the first 250 shipping lines.")] + [NonNull] + public IEnumerable? shippingLines { get; set; } + /// ///List of changes made to the order during the current edit. /// - [Description("List of changes made to the order during the current edit.")] - [NonNull] - public OrderStagedChangeConnection? stagedChanges { get; set; } - + [Description("List of changes made to the order during the current edit.")] + [NonNull] + public OrderStagedChangeConnection? stagedChanges { get; set; } + /// ///The sum of the quantities for the line items that contribute to the order's subtotal. /// - [Description("The sum of the quantities for the line items that contribute to the order's subtotal.")] - [NonNull] - public int? subtotalLineItemsQuantity { get; set; } - + [Description("The sum of the quantities for the line items that contribute to the order's subtotal.")] + [NonNull] + public int? subtotalLineItemsQuantity { get; set; } + /// ///The subtotal of the line items, in shop and presentment currencies, after all the discounts are applied. The subtotal doesn't include shipping. The subtotal includes taxes for taxes-included orders and excludes taxes for taxes-excluded orders. /// - [Description("The subtotal of the line items, in shop and presentment currencies, after all the discounts are applied. The subtotal doesn't include shipping. The subtotal includes taxes for taxes-included orders and excludes taxes for taxes-excluded orders.")] - public MoneyBag? subtotalPriceSet { get; set; } - + [Description("The subtotal of the line items, in shop and presentment currencies, after all the discounts are applied. The subtotal doesn't include shipping. The subtotal includes taxes for taxes-included orders and excludes taxes for taxes-excluded orders.")] + public MoneyBag? subtotalPriceSet { get; set; } + /// ///Taxes charged for the line item. /// - [Description("Taxes charged for the line item.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("Taxes charged for the line item.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Duties charged on the order. /// - [Description("Duties charged on the order.")] - public TotalDuties? totalDuties { get; set; } - + [Description("Duties charged on the order.")] + public TotalDuties? totalDuties { get; set; } + /// ///Total price of the order less the total amount received from the customer in shop and presentment currencies. /// - [Description("Total price of the order less the total amount received from the customer in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalOutstandingSet { get; set; } - + [Description("Total price of the order less the total amount received from the customer in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalOutstandingSet { get; set; } + /// ///Total amount of the order (includes taxes and discounts) in shop and presentment currencies. /// - [Description("Total amount of the order (includes taxes and discounts) in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - } - + [Description("Total amount of the order (includes taxes and discounts) in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + } + /// ///The calculated costs of handling a return line item. ///Typically, this would cover the costs of inspecting, repackaging, and restocking the item. /// - [Description("The calculated costs of handling a return line item.\nTypically, this would cover the costs of inspecting, repackaging, and restocking the item.")] - public class CalculatedRestockingFee : GraphQLObject, ICalculatedReturnFee - { + [Description("The calculated costs of handling a return line item.\nTypically, this would cover the costs of inspecting, repackaging, and restocking the item.")] + public class CalculatedRestockingFee : GraphQLObject, ICalculatedReturnFee + { /// ///The calculated amount of the return fee, in shop and presentment currencies. /// - [Description("The calculated amount of the return fee, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The calculated amount of the return fee, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The value of the fee as a percentage. /// - [Description("The value of the fee as a percentage.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The value of the fee as a percentage.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///A calculated return. /// - [Description("A calculated return.")] - public class CalculatedReturn : GraphQLObject - { + [Description("A calculated return.")] + public class CalculatedReturn : GraphQLObject + { /// ///A list of calculated exchange line items. /// - [Description("A list of calculated exchange line items.")] - [NonNull] - public IEnumerable? exchangeLineItems { get; set; } - + [Description("A list of calculated exchange line items.")] + [NonNull] + public IEnumerable? exchangeLineItems { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A list of calculated return line items. /// - [Description("A list of calculated return line items.")] - [NonNull] - public IEnumerable? returnLineItems { get; set; } - + [Description("A list of calculated return line items.")] + [NonNull] + public IEnumerable? returnLineItems { get; set; } + /// ///The calculated return shipping fee. /// - [Description("The calculated return shipping fee.")] - public CalculatedReturnShippingFee? returnShippingFee { get; set; } - } - + [Description("The calculated return shipping fee.")] + public CalculatedReturnShippingFee? returnShippingFee { get; set; } + } + /// ///A calculated return fee. /// - [Description("A calculated return fee.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CalculatedRestockingFee), typeDiscriminator: "CalculatedRestockingFee")] - [JsonDerivedType(typeof(CalculatedReturnShippingFee), typeDiscriminator: "CalculatedReturnShippingFee")] - public interface ICalculatedReturnFee : IGraphQLObject - { - public CalculatedRestockingFee? AsCalculatedRestockingFee() => this as CalculatedRestockingFee; - public CalculatedReturnShippingFee? AsCalculatedReturnShippingFee() => this as CalculatedReturnShippingFee; + [Description("A calculated return fee.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CalculatedRestockingFee), typeDiscriminator: "CalculatedRestockingFee")] + [JsonDerivedType(typeof(CalculatedReturnShippingFee), typeDiscriminator: "CalculatedReturnShippingFee")] + public interface ICalculatedReturnFee : IGraphQLObject + { + public CalculatedRestockingFee? AsCalculatedRestockingFee() => this as CalculatedRestockingFee; + public CalculatedReturnShippingFee? AsCalculatedReturnShippingFee() => this as CalculatedReturnShippingFee; /// ///The calculated amount of the return fee, in shop and presentment currencies. /// - [Description("The calculated amount of the return fee, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; } - + [Description("The calculated amount of the return fee, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + } + /// ///A calculated return line item. /// - [Description("A calculated return line item.")] - public class CalculatedReturnLineItem : GraphQLObject - { + [Description("A calculated return line item.")] + public class CalculatedReturnLineItem : GraphQLObject + { /// ///The fulfillment line item from which items are returned. /// - [Description("The fulfillment line item from which items are returned.")] - [NonNull] - public FulfillmentLineItem? fulfillmentLineItem { get; set; } - + [Description("The fulfillment line item from which items are returned.")] + [NonNull] + public FulfillmentLineItem? fulfillmentLineItem { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + public string? id { get; set; } + /// ///The quantity being returned. /// - [Description("The quantity being returned.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity being returned.")] + [NonNull] + public int? quantity { get; set; } + /// ///The restocking fee of the return line item. /// - [Description("The restocking fee of the return line item.")] - public CalculatedRestockingFee? restockingFee { get; set; } - + [Description("The restocking fee of the return line item.")] + public CalculatedRestockingFee? restockingFee { get; set; } + /// ///The subtotal of the return line item before order discounts. /// - [Description("The subtotal of the return line item before order discounts.")] - [NonNull] - public MoneyBag? subtotalBeforeOrderDiscountsSet { get; set; } - + [Description("The subtotal of the return line item before order discounts.")] + [NonNull] + public MoneyBag? subtotalBeforeOrderDiscountsSet { get; set; } + /// ///The subtotal of the return line item. /// - [Description("The subtotal of the return line item.")] - [NonNull] - public MoneyBag? subtotalSet { get; set; } - + [Description("The subtotal of the return line item.")] + [NonNull] + public MoneyBag? subtotalSet { get; set; } + /// ///The total tax of the return line item. /// - [Description("The total tax of the return line item.")] - [NonNull] - public MoneyBag? totalTaxSet { get; set; } - } - + [Description("The total tax of the return line item.")] + [NonNull] + public MoneyBag? totalTaxSet { get; set; } + } + /// ///The calculated cost of the return shipping. /// - [Description("The calculated cost of the return shipping.")] - public class CalculatedReturnShippingFee : GraphQLObject, ICalculatedReturnFee - { + [Description("The calculated cost of the return shipping.")] + public class CalculatedReturnShippingFee : GraphQLObject, ICalculatedReturnFee + { /// ///The calculated amount of the return fee, in shop and presentment currencies. /// - [Description("The calculated amount of the return fee, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The calculated amount of the return fee, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///A discount created by a Shopify script for an order that is being edited. /// - [Description("A discount created by a Shopify script for an order that is being edited.")] - public class CalculatedScriptDiscountApplication : GraphQLObject, ICalculatedDiscountApplication - { + [Description("A discount created by a Shopify script for an order that is being edited.")] + public class CalculatedScriptDiscountApplication : GraphQLObject, ICalculatedDiscountApplication + { /// ///The method by which the discount's value is allocated to its entitled items. /// - [Description("The method by which the discount's value is allocated to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is allocated to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The level at which the discount was applied. /// - [Description("The level at which the discount was applied.")] - [NonNull] - [EnumType(typeof(DiscountApplicationLevel))] - public string? appliedTo { get; set; } - + [Description("The level at which the discount was applied.")] + [NonNull] + [EnumType(typeof(DiscountApplicationLevel))] + public string? appliedTo { get; set; } + /// ///The description of discount application. Indicates the reason why the discount was applied. /// - [Description("The description of discount application. Indicates the reason why the discount was applied.")] - public string? description { get; set; } - + [Description("The description of discount application. Indicates the reason why the discount was applied.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///A shipping line item involved in order editing that may be newly added or have new changes applied. /// - [Description("A shipping line item involved in order editing that may be newly added or have new changes applied.")] - public class CalculatedShippingLine : GraphQLObject - { + [Description("A shipping line item involved in order editing that may be newly added or have new changes applied.")] + public class CalculatedShippingLine : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + public string? id { get; set; } + /// ///The price of the shipping line when sold and before applying discounts. This field includes taxes if `Order.taxesIncluded` is true. Otherwise, this field doesn't include taxes for the shipping line. /// - [Description("The price of the shipping line when sold and before applying discounts. This field includes taxes if `Order.taxesIncluded` is true. Otherwise, this field doesn't include taxes for the shipping line.")] - [NonNull] - public MoneyBag? price { get; set; } - + [Description("The price of the shipping line when sold and before applying discounts. This field includes taxes if `Order.taxesIncluded` is true. Otherwise, this field doesn't include taxes for the shipping line.")] + [NonNull] + public MoneyBag? price { get; set; } + /// ///The staged status of the shipping line. /// - [Description("The staged status of the shipping line.")] - [NonNull] - [EnumType(typeof(CalculatedShippingLineStagedStatus))] - public string? stagedStatus { get; set; } - + [Description("The staged status of the shipping line.")] + [NonNull] + [EnumType(typeof(CalculatedShippingLineStagedStatus))] + public string? stagedStatus { get; set; } + /// ///The title of the shipping line. /// - [Description("The title of the shipping line.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the shipping line.")] + [NonNull] + public string? title { get; set; } + } + /// ///Represents the staged status of a CalculatedShippingLine on a CalculatedOrder. /// - [Description("Represents the staged status of a CalculatedShippingLine on a CalculatedOrder.")] - public enum CalculatedShippingLineStagedStatus - { + [Description("Represents the staged status of a CalculatedShippingLine on a CalculatedOrder.")] + public enum CalculatedShippingLineStagedStatus + { /// ///The shipping line has no staged changes associated with it. /// - [Description("The shipping line has no staged changes associated with it.")] - NONE, + [Description("The shipping line has no staged changes associated with it.")] + NONE, /// ///The shipping line was added as part of the current order edit. /// - [Description("The shipping line was added as part of the current order edit.")] - ADDED, + [Description("The shipping line was added as part of the current order edit.")] + ADDED, /// ///The shipping line was removed as part of the current order edit. /// - [Description("The shipping line was removed as part of the current order edit.")] - REMOVED, - } - - public static class CalculatedShippingLineStagedStatusStringValues - { - public const string NONE = @"NONE"; - public const string ADDED = @"ADDED"; - public const string REMOVED = @"REMOVED"; - } - + [Description("The shipping line was removed as part of the current order edit.")] + REMOVED, + } + + public static class CalculatedShippingLineStagedStatusStringValues + { + public const string NONE = @"NONE"; + public const string ADDED = @"ADDED"; + public const string REMOVED = @"REMOVED"; + } + /// ///Card payment details related to a transaction. /// - [Description("Card payment details related to a transaction.")] - public class CardPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails - { + [Description("Card payment details related to a transaction.")] + public class CardPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails + { /// ///The response code from the address verification system (AVS). The code is always a single letter. /// - [Description("The response code from the address verification system (AVS). The code is always a single letter.")] - public string? avsResultCode { get; set; } - + [Description("The response code from the address verification system (AVS). The code is always a single letter.")] + public string? avsResultCode { get; set; } + /// ///The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number. /// - [Description("The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number.")] - public string? bin { get; set; } - + [Description("The issuer identification number (IIN), formerly known as bank identification number (BIN) of the customer's credit card. This is made up of the first few digits of the credit card number.")] + public string? bin { get; set; } + /// ///The name of the company that issued the customer's credit card. /// - [Description("The name of the company that issued the customer's credit card.")] - public string? company { get; set; } - + [Description("The name of the company that issued the customer's credit card.")] + public string? company { get; set; } + /// ///The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string. /// - [Description("The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string.")] - public string? cvvResultCode { get; set; } - + [Description("The response code from the credit card company indicating whether the customer entered the card security code, or card verification value, correctly. The code is a single letter or empty string.")] + public string? cvvResultCode { get; set; } + /// ///The month in which the used credit card expires. /// - [Description("The month in which the used credit card expires.")] - public int? expirationMonth { get; set; } - + [Description("The month in which the used credit card expires.")] + public int? expirationMonth { get; set; } + /// ///The year in which the used credit card expires. /// - [Description("The year in which the used credit card expires.")] - public int? expirationYear { get; set; } - + [Description("The year in which the used credit card expires.")] + public int? expirationYear { get; set; } + /// ///The holder of the credit card. /// - [Description("The holder of the credit card.")] - public string? name { get; set; } - + [Description("The holder of the credit card.")] + public string? name { get; set; } + /// ///The customer's credit card number, with most of the leading digits redacted. /// - [Description("The customer's credit card number, with most of the leading digits redacted.")] - public string? number { get; set; } - + [Description("The customer's credit card number, with most of the leading digits redacted.")] + public string? number { get; set; } + /// ///The name of payment method used by the buyer. /// - [Description("The name of payment method used by the buyer.")] - public string? paymentMethodName { get; set; } - + [Description("The name of payment method used by the buyer.")] + public string? paymentMethodName { get; set; } + /// ///Digital wallet used for the payment. /// - [Description("Digital wallet used for the payment.")] - [EnumType(typeof(DigitalWallet))] - public string? wallet { get; set; } - } - + [Description("Digital wallet used for the payment.")] + [EnumType(typeof(DigitalWallet))] + public string? wallet { get; set; } + } + /// ///Return type for `carrierServiceCreate` mutation. /// - [Description("Return type for `carrierServiceCreate` mutation.")] - public class CarrierServiceCreatePayload : GraphQLObject - { + [Description("Return type for `carrierServiceCreate` mutation.")] + public class CarrierServiceCreatePayload : GraphQLObject + { /// ///The created carrier service. /// - [Description("The created carrier service.")] - public DeliveryCarrierService? carrierService { get; set; } - + [Description("The created carrier service.")] + public DeliveryCarrierService? carrierService { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CarrierServiceCreate`. /// - [Description("An error that occurs during the execution of `CarrierServiceCreate`.")] - public class CarrierServiceCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CarrierServiceCreate`.")] + public class CarrierServiceCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CarrierServiceCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CarrierServiceCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CarrierServiceCreateUserError`. /// - [Description("Possible error codes that can be returned by `CarrierServiceCreateUserError`.")] - public enum CarrierServiceCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `CarrierServiceCreateUserError`.")] + public enum CarrierServiceCreateUserErrorCode + { /// ///Carrier service creation failed. /// - [Description("Carrier service creation failed.")] - CARRIER_SERVICE_CREATE_FAILED, - } - - public static class CarrierServiceCreateUserErrorCodeStringValues - { - public const string CARRIER_SERVICE_CREATE_FAILED = @"CARRIER_SERVICE_CREATE_FAILED"; - } - + [Description("Carrier service creation failed.")] + CARRIER_SERVICE_CREATE_FAILED, + } + + public static class CarrierServiceCreateUserErrorCodeStringValues + { + public const string CARRIER_SERVICE_CREATE_FAILED = @"CARRIER_SERVICE_CREATE_FAILED"; + } + /// ///Return type for `carrierServiceDelete` mutation. /// - [Description("Return type for `carrierServiceDelete` mutation.")] - public class CarrierServiceDeletePayload : GraphQLObject - { + [Description("Return type for `carrierServiceDelete` mutation.")] + public class CarrierServiceDeletePayload : GraphQLObject + { /// ///The ID of the deleted carrier service. /// - [Description("The ID of the deleted carrier service.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted carrier service.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CarrierServiceDelete`. /// - [Description("An error that occurs during the execution of `CarrierServiceDelete`.")] - public class CarrierServiceDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CarrierServiceDelete`.")] + public class CarrierServiceDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CarrierServiceDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CarrierServiceDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CarrierServiceDeleteUserError`. /// - [Description("Possible error codes that can be returned by `CarrierServiceDeleteUserError`.")] - public enum CarrierServiceDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `CarrierServiceDeleteUserError`.")] + public enum CarrierServiceDeleteUserErrorCode + { /// ///Carrier service deletion failed. /// - [Description("Carrier service deletion failed.")] - CARRIER_SERVICE_DELETE_FAILED, - } - - public static class CarrierServiceDeleteUserErrorCodeStringValues - { - public const string CARRIER_SERVICE_DELETE_FAILED = @"CARRIER_SERVICE_DELETE_FAILED"; - } - + [Description("Carrier service deletion failed.")] + CARRIER_SERVICE_DELETE_FAILED, + } + + public static class CarrierServiceDeleteUserErrorCodeStringValues + { + public const string CARRIER_SERVICE_DELETE_FAILED = @"CARRIER_SERVICE_DELETE_FAILED"; + } + /// ///The set of valid sort keys for the CarrierService query. /// - [Description("The set of valid sort keys for the CarrierService query.")] - public enum CarrierServiceSortKeys - { + [Description("The set of valid sort keys for the CarrierService query.")] + public enum CarrierServiceSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CarrierServiceSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CarrierServiceSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Return type for `carrierServiceUpdate` mutation. /// - [Description("Return type for `carrierServiceUpdate` mutation.")] - public class CarrierServiceUpdatePayload : GraphQLObject - { + [Description("Return type for `carrierServiceUpdate` mutation.")] + public class CarrierServiceUpdatePayload : GraphQLObject + { /// ///The updated carrier service. /// - [Description("The updated carrier service.")] - public DeliveryCarrierService? carrierService { get; set; } - + [Description("The updated carrier service.")] + public DeliveryCarrierService? carrierService { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CarrierServiceUpdate`. /// - [Description("An error that occurs during the execution of `CarrierServiceUpdate`.")] - public class CarrierServiceUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CarrierServiceUpdate`.")] + public class CarrierServiceUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CarrierServiceUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CarrierServiceUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CarrierServiceUpdateUserError`. /// - [Description("Possible error codes that can be returned by `CarrierServiceUpdateUserError`.")] - public enum CarrierServiceUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `CarrierServiceUpdateUserError`.")] + public enum CarrierServiceUpdateUserErrorCode + { /// ///Carrier service update failed. /// - [Description("Carrier service update failed.")] - CARRIER_SERVICE_UPDATE_FAILED, - } - - public static class CarrierServiceUpdateUserErrorCodeStringValues - { - public const string CARRIER_SERVICE_UPDATE_FAILED = @"CARRIER_SERVICE_UPDATE_FAILED"; - } - + [Description("Carrier service update failed.")] + CARRIER_SERVICE_UPDATE_FAILED, + } + + public static class CarrierServiceUpdateUserErrorCodeStringValues + { + public const string CARRIER_SERVICE_UPDATE_FAILED = @"CARRIER_SERVICE_UPDATE_FAILED"; + } + /// ///A deployed cart transformation function that actively modifies how products appear and behave in customer carts. Cart transforms enable sophisticated merchandising strategies by programmatically merging, expanding, or updating cart line items based on custom business logic. /// @@ -9302,275 +9302,275 @@ public static class CarrierServiceUpdateUserErrorCodeStringValues /// ///Learn more about [customized bundles](https://shopify.dev/docs/apps/selling-strategies/bundles/add-a-customized-bundle), and about the [Cart Transform Function API](https://shopify.dev/docs/api/functions/latest/cart-transform). /// - [Description("A deployed cart transformation function that actively modifies how products appear and behave in customer carts. Cart transforms enable sophisticated merchandising strategies by programmatically merging, expanding, or updating cart line items based on custom business logic.\n\nUse the `CartTransform` object to:\n- Monitor active bundling and cart modification logic\n- Track transform function deployment status and configuration\n- Manage error handling behavior for cart processing failures\n- Coordinate multiple transforms when running complex merchandising strategies\n- Analyze transform performance and customer interaction patterns\n\nEach cart transform links to a specific [Shopify Function](https://shopify.dev/docs/apps/build/functions) that contains the actual cart modification logic. The `blockOnFailure` setting determines whether cart processing should halt when the transform encounters errors, or whether it should allow customers to proceed with unmodified carts. This flexibility ensures merchants can balance feature richness with checkout reliability.\n\nTransform functions operate during cart updates, product additions, and checkout initiation, providing multiple touchpoints to enhance the shopping experience. They integrate seamlessly with existing cart APIs while extending functionality beyond standard product catalog capabilities.\n\nThe function ID connects to your deployed function code, while the configuration settings control how the transform behaves in different scenarios. Multiple transforms can work together, processing cart modifications in sequence to support complex merchandising workflows.\n\nLearn more about [customized bundles](https://shopify.dev/docs/apps/selling-strategies/bundles/add-a-customized-bundle), and about the [Cart Transform Function API](https://shopify.dev/docs/api/functions/latest/cart-transform).")] - public class CartTransform : GraphQLObject, IHasMetafields, INode - { + [Description("A deployed cart transformation function that actively modifies how products appear and behave in customer carts. Cart transforms enable sophisticated merchandising strategies by programmatically merging, expanding, or updating cart line items based on custom business logic.\n\nUse the `CartTransform` object to:\n- Monitor active bundling and cart modification logic\n- Track transform function deployment status and configuration\n- Manage error handling behavior for cart processing failures\n- Coordinate multiple transforms when running complex merchandising strategies\n- Analyze transform performance and customer interaction patterns\n\nEach cart transform links to a specific [Shopify Function](https://shopify.dev/docs/apps/build/functions) that contains the actual cart modification logic. The `blockOnFailure` setting determines whether cart processing should halt when the transform encounters errors, or whether it should allow customers to proceed with unmodified carts. This flexibility ensures merchants can balance feature richness with checkout reliability.\n\nTransform functions operate during cart updates, product additions, and checkout initiation, providing multiple touchpoints to enhance the shopping experience. They integrate seamlessly with existing cart APIs while extending functionality beyond standard product catalog capabilities.\n\nThe function ID connects to your deployed function code, while the configuration settings control how the transform behaves in different scenarios. Multiple transforms can work together, processing cart modifications in sequence to support complex merchandising workflows.\n\nLearn more about [customized bundles](https://shopify.dev/docs/apps/selling-strategies/bundles/add-a-customized-bundle), and about the [Cart Transform Function API](https://shopify.dev/docs/api/functions/latest/cart-transform).")] + public class CartTransform : GraphQLObject, IHasMetafields, INode + { /// ///Whether a run failure will block cart and checkout operations. /// - [Description("Whether a run failure will block cart and checkout operations.")] - [NonNull] - public bool? blockOnFailure { get; set; } - + [Description("Whether a run failure will block cart and checkout operations.")] + [NonNull] + public bool? blockOnFailure { get; set; } + /// ///The ID for the Cart Transform function. /// - [Description("The ID for the Cart Transform function.")] - [NonNull] - public string? functionId { get; set; } - + [Description("The ID for the Cart Transform function.")] + [NonNull] + public string? functionId { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + } + /// ///An auto-generated type for paginating through multiple CartTransforms. /// - [Description("An auto-generated type for paginating through multiple CartTransforms.")] - public class CartTransformConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CartTransforms.")] + public class CartTransformConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CartTransformEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CartTransformEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CartTransformEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `cartTransformCreate` mutation. /// - [Description("Return type for `cartTransformCreate` mutation.")] - public class CartTransformCreatePayload : GraphQLObject - { + [Description("Return type for `cartTransformCreate` mutation.")] + public class CartTransformCreatePayload : GraphQLObject + { /// ///The newly created cart transform function. /// - [Description("The newly created cart transform function.")] - public CartTransform? cartTransform { get; set; } - + [Description("The newly created cart transform function.")] + public CartTransform? cartTransform { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CartTransformCreate`. /// - [Description("An error that occurs during the execution of `CartTransformCreate`.")] - public class CartTransformCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CartTransformCreate`.")] + public class CartTransformCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CartTransformCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CartTransformCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CartTransformCreateUserError`. /// - [Description("Possible error codes that can be returned by `CartTransformCreateUserError`.")] - public enum CartTransformCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `CartTransformCreateUserError`.")] + public enum CartTransformCreateUserErrorCode + { /// ///Failed to create cart transform due to invalid input. /// - [Description("Failed to create cart transform due to invalid input.")] - INPUT_INVALID, + [Description("Failed to create cart transform due to invalid input.")] + INPUT_INVALID, /// ///No Shopify Function found for provided function_id. /// - [Description("No Shopify Function found for provided function_id.")] - FUNCTION_NOT_FOUND, + [Description("No Shopify Function found for provided function_id.")] + FUNCTION_NOT_FOUND, /// ///A cart transform function already exists for the provided function_id. /// - [Description("A cart transform function already exists for the provided function_id.")] - FUNCTION_ALREADY_REGISTERED, + [Description("A cart transform function already exists for the provided function_id.")] + FUNCTION_ALREADY_REGISTERED, /// ///Function does not implement the required interface for this cart_transform function. /// - [Description("Function does not implement the required interface for this cart_transform function.")] - FUNCTION_DOES_NOT_IMPLEMENT, + [Description("Function does not implement the required interface for this cart_transform function.")] + FUNCTION_DOES_NOT_IMPLEMENT, /// ///Could not create or update metafields. /// - [Description("Could not create or update metafields.")] - INVALID_METAFIELDS, + [Description("Could not create or update metafields.")] + INVALID_METAFIELDS, /// ///Only one of function_id or function_handle can be provided, not both. /// - [Description("Only one of function_id or function_handle can be provided, not both.")] - MULTIPLE_FUNCTION_IDENTIFIERS, + [Description("Only one of function_id or function_handle can be provided, not both.")] + MULTIPLE_FUNCTION_IDENTIFIERS, /// ///Either function_id or function_handle must be provided. /// - [Description("Either function_id or function_handle must be provided.")] - MISSING_FUNCTION_IDENTIFIER, - } - - public static class CartTransformCreateUserErrorCodeStringValues - { - public const string INPUT_INVALID = @"INPUT_INVALID"; - public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; - public const string FUNCTION_ALREADY_REGISTERED = @"FUNCTION_ALREADY_REGISTERED"; - public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; - public const string INVALID_METAFIELDS = @"INVALID_METAFIELDS"; - public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; - public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; - } - + [Description("Either function_id or function_handle must be provided.")] + MISSING_FUNCTION_IDENTIFIER, + } + + public static class CartTransformCreateUserErrorCodeStringValues + { + public const string INPUT_INVALID = @"INPUT_INVALID"; + public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; + public const string FUNCTION_ALREADY_REGISTERED = @"FUNCTION_ALREADY_REGISTERED"; + public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; + public const string INVALID_METAFIELDS = @"INVALID_METAFIELDS"; + public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; + public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; + } + /// ///Return type for `cartTransformDelete` mutation. /// - [Description("Return type for `cartTransformDelete` mutation.")] - public class CartTransformDeletePayload : GraphQLObject - { + [Description("Return type for `cartTransformDelete` mutation.")] + public class CartTransformDeletePayload : GraphQLObject + { /// ///The globally-unique ID for the deleted cart transform. /// - [Description("The globally-unique ID for the deleted cart transform.")] - public string? deletedId { get; set; } - + [Description("The globally-unique ID for the deleted cart transform.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CartTransformDelete`. /// - [Description("An error that occurs during the execution of `CartTransformDelete`.")] - public class CartTransformDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CartTransformDelete`.")] + public class CartTransformDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CartTransformDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CartTransformDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CartTransformDeleteUserError`. /// - [Description("Possible error codes that can be returned by `CartTransformDeleteUserError`.")] - public enum CartTransformDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `CartTransformDeleteUserError`.")] + public enum CartTransformDeleteUserErrorCode + { /// ///Could not find cart transform for provided id. /// - [Description("Could not find cart transform for provided id.")] - NOT_FOUND, + [Description("Could not find cart transform for provided id.")] + NOT_FOUND, /// ///Unauthorized app scope. /// - [Description("Unauthorized app scope.")] - UNAUTHORIZED_APP_SCOPE, - } - - public static class CartTransformDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; - } - + [Description("Unauthorized app scope.")] + UNAUTHORIZED_APP_SCOPE, + } + + public static class CartTransformDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; + } + /// ///An auto-generated type which holds one CartTransform and a cursor during pagination. /// - [Description("An auto-generated type which holds one CartTransform and a cursor during pagination.")] - public class CartTransformEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CartTransform and a cursor during pagination.")] + public class CartTransformEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CartTransformEdge. /// - [Description("The item at the end of CartTransformEdge.")] - [NonNull] - public CartTransform? node { get; set; } - } - + [Description("The item at the end of CartTransformEdge.")] + [NonNull] + public CartTransform? node { get; set; } + } + /// ///Controls which cart transformation operations apps can perform in your store. This lets you define exactly what types of cart modifications are allowed based on your checkout setup and business needs. /// @@ -9578,31 +9578,31 @@ public class CartTransformEdge : GraphQLObject, IEdge - [Description("Controls which cart transformation operations apps can perform in your store. This lets you define exactly what types of cart modifications are allowed based on your checkout setup and business needs.\n\nThe eligible operations determine what cart transform functions can accomplish, providing a clear boundary for app capabilities within the store's ecosystem.\n\nLearn more about [cart transform operations](https://shopify.dev/docs/api/functions/latest/cart-transform#multiple-operations).")] - public class CartTransformEligibleOperations : GraphQLObject - { + [Description("Controls which cart transformation operations apps can perform in your store. This lets you define exactly what types of cart modifications are allowed based on your checkout setup and business needs.\n\nThe eligible operations determine what cart transform functions can accomplish, providing a clear boundary for app capabilities within the store's ecosystem.\n\nLearn more about [cart transform operations](https://shopify.dev/docs/api/functions/latest/cart-transform#multiple-operations).")] + public class CartTransformEligibleOperations : GraphQLObject + { /// ///The shop is eligible for expand operations. /// - [Description("The shop is eligible for expand operations.")] - [NonNull] - public bool? expandOperation { get; set; } - + [Description("The shop is eligible for expand operations.")] + [NonNull] + public bool? expandOperation { get; set; } + /// ///The shop is eligible for merge operations. /// - [Description("The shop is eligible for merge operations.")] - [NonNull] - public bool? mergeOperation { get; set; } - + [Description("The shop is eligible for merge operations.")] + [NonNull] + public bool? mergeOperation { get; set; } + /// ///The shop is eligible for update operations. /// - [Description("The shop is eligible for update operations.")] - [NonNull] - public bool? updateOperation { get; set; } - } - + [Description("The shop is eligible for update operations.")] + [NonNull] + public bool? updateOperation { get; set; } + } + /// ///Provides access to the cart transform feature configuration for the merchant's store. This wrapper object indicates whether cart transformation capabilities are enabled and what operations are available. /// @@ -9612,1564 +9612,1564 @@ public class CartTransformEligibleOperations : GraphQLObject - [Description("Provides access to the cart transform feature configuration for the merchant's store. This wrapper object indicates whether cart transformation capabilities are enabled and what operations are available.\n\nFor example, when checking if your app can deploy customized bundle features, you would query this object to confirm cart transforms are supported and review the eligible operations.\n\nThe feature configuration helps apps determine compatibility before attempting to create transform functions.\n\nLearn more about [cart transformation](https://shopify.dev/docs/api/admin-graphql/latest/objects/CartTransform).")] - public class CartTransformFeature : GraphQLObject - { + [Description("Provides access to the cart transform feature configuration for the merchant's store. This wrapper object indicates whether cart transformation capabilities are enabled and what operations are available.\n\nFor example, when checking if your app can deploy customized bundle features, you would query this object to confirm cart transforms are supported and review the eligible operations.\n\nThe feature configuration helps apps determine compatibility before attempting to create transform functions.\n\nLearn more about [cart transformation](https://shopify.dev/docs/api/admin-graphql/latest/objects/CartTransform).")] + public class CartTransformFeature : GraphQLObject + { /// ///The cart transform operations eligible for the shop. /// - [Description("The cart transform operations eligible for the shop.")] - [NonNull] - public CartTransformEligibleOperations? eligibleOperations { get; set; } - } - + [Description("The cart transform operations eligible for the shop.")] + [NonNull] + public CartTransformEligibleOperations? eligibleOperations { get; set; } + } + /// ///The rounding adjustment applied to total payment or refund received for an Order involving cash payments. /// - [Description("The rounding adjustment applied to total payment or refund received for an Order involving cash payments.")] - public class CashRoundingAdjustment : GraphQLObject - { + [Description("The rounding adjustment applied to total payment or refund received for an Order involving cash payments.")] + public class CashRoundingAdjustment : GraphQLObject + { /// ///The rounding adjustment that can be applied to totalReceived for an Order involving cash payments in shop and presentment currencies. Could be a positive or negative value. Value is 0 if there's no rounding, or for non-cash payments. /// - [Description("The rounding adjustment that can be applied to totalReceived for an Order involving cash payments in shop and presentment currencies. Could be a positive or negative value. Value is 0 if there's no rounding, or for non-cash payments.")] - [NonNull] - public MoneyBag? paymentSet { get; set; } - + [Description("The rounding adjustment that can be applied to totalReceived for an Order involving cash payments in shop and presentment currencies. Could be a positive or negative value. Value is 0 if there's no rounding, or for non-cash payments.")] + [NonNull] + public MoneyBag? paymentSet { get; set; } + /// ///The rounding adjustment that can be applied to totalRefunded for an Order involving cash payments in shop and presentment currencies. Could be a positive or negative value. Value is 0 if there's no rounding, or for non-cash refunds. /// - [Description("The rounding adjustment that can be applied to totalRefunded for an Order involving cash payments in shop and presentment currencies. Could be a positive or negative value. Value is 0 if there's no rounding, or for non-cash refunds.")] - [NonNull] - public MoneyBag? refundSet { get; set; } - } - + [Description("The rounding adjustment that can be applied to totalRefunded for an Order involving cash payments in shop and presentment currencies. Could be a positive or negative value. Value is 0 if there's no rounding, or for non-cash refunds.")] + [NonNull] + public MoneyBag? refundSet { get; set; } + } + /// ///Tracks an adjustment to the cash in a cash tracking session for a point of sale device over the course of a shift. /// - [Description("Tracks an adjustment to the cash in a cash tracking session for a point of sale device over the course of a shift.")] - public class CashTrackingAdjustment : GraphQLObject, INode - { + [Description("Tracks an adjustment to the cash in a cash tracking session for a point of sale device over the course of a shift.")] + public class CashTrackingAdjustment : GraphQLObject, INode + { /// ///The amount of cash being added or removed. /// - [Description("The amount of cash being added or removed.")] - [NonNull] - public MoneyV2? cash { get; set; } - + [Description("The amount of cash being added or removed.")] + [NonNull] + public MoneyV2? cash { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The note entered when the adjustment was made. /// - [Description("The note entered when the adjustment was made.")] - public string? note { get; set; } - + [Description("The note entered when the adjustment was made.")] + public string? note { get; set; } + /// ///The staff member who made the adjustment. /// - [Description("The staff member who made the adjustment.")] - [NonNull] - public StaffMember? staffMember { get; set; } - + [Description("The staff member who made the adjustment.")] + [NonNull] + public StaffMember? staffMember { get; set; } + /// ///The time when the adjustment was made. /// - [Description("The time when the adjustment was made.")] - [NonNull] - public DateTime? time { get; set; } - } - + [Description("The time when the adjustment was made.")] + [NonNull] + public DateTime? time { get; set; } + } + /// ///An auto-generated type for paginating through multiple CashTrackingAdjustments. /// - [Description("An auto-generated type for paginating through multiple CashTrackingAdjustments.")] - public class CashTrackingAdjustmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CashTrackingAdjustments.")] + public class CashTrackingAdjustmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CashTrackingAdjustmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CashTrackingAdjustmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CashTrackingAdjustmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CashTrackingAdjustment and a cursor during pagination. /// - [Description("An auto-generated type which holds one CashTrackingAdjustment and a cursor during pagination.")] - public class CashTrackingAdjustmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CashTrackingAdjustment and a cursor during pagination.")] + public class CashTrackingAdjustmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CashTrackingAdjustmentEdge. /// - [Description("The item at the end of CashTrackingAdjustmentEdge.")] - [NonNull] - public CashTrackingAdjustment? node { get; set; } - } - + [Description("The item at the end of CashTrackingAdjustmentEdge.")] + [NonNull] + public CashTrackingAdjustment? node { get; set; } + } + /// ///Tracks the balance in a cash drawer for a point of sale device over the course of a shift. /// - [Description("Tracks the balance in a cash drawer for a point of sale device over the course of a shift.")] - public class CashTrackingSession : GraphQLObject, INode - { + [Description("Tracks the balance in a cash drawer for a point of sale device over the course of a shift.")] + public class CashTrackingSession : GraphQLObject, INode + { /// ///The adjustments made to the cash drawer during this session. /// - [Description("The adjustments made to the cash drawer during this session.")] - [NonNull] - public CashTrackingAdjustmentConnection? adjustments { get; set; } - + [Description("The adjustments made to the cash drawer during this session.")] + [NonNull] + public CashTrackingAdjustmentConnection? adjustments { get; set; } + /// ///Whether this session is tracking cash payments. /// - [Description("Whether this session is tracking cash payments.")] - [NonNull] - public bool? cashTrackingEnabled { get; set; } - + [Description("Whether this session is tracking cash payments.")] + [NonNull] + public bool? cashTrackingEnabled { get; set; } + /// ///The cash transactions made during this session. /// - [Description("The cash transactions made during this session.")] - [NonNull] - public OrderTransactionConnection? cashTransactions { get; set; } - + [Description("The cash transactions made during this session.")] + [NonNull] + public OrderTransactionConnection? cashTransactions { get; set; } + /// ///The counted cash balance when the session was closed. /// - [Description("The counted cash balance when the session was closed.")] - public MoneyV2? closingBalance { get; set; } - + [Description("The counted cash balance when the session was closed.")] + public MoneyV2? closingBalance { get; set; } + /// ///The note entered when the session was closed. /// - [Description("The note entered when the session was closed.")] - public string? closingNote { get; set; } - + [Description("The note entered when the session was closed.")] + public string? closingNote { get; set; } + /// ///The user who closed the session. /// - [Description("The user who closed the session.")] - public StaffMember? closingStaffMember { get; set; } - + [Description("The user who closed the session.")] + public StaffMember? closingStaffMember { get; set; } + /// ///When the session was closed. /// - [Description("When the session was closed.")] - public DateTime? closingTime { get; set; } - + [Description("When the session was closed.")] + public DateTime? closingTime { get; set; } + /// ///The expected balance at the end of the session or the expected current balance for sessions that are still open. /// - [Description("The expected balance at the end of the session or the expected current balance for sessions that are still open.")] - [NonNull] - public MoneyV2? expectedBalance { get; set; } - + [Description("The expected balance at the end of the session or the expected current balance for sessions that are still open.")] + [NonNull] + public MoneyV2? expectedBalance { get; set; } + /// ///The amount that was expected to be in the cash drawer at the end of the session, calculated after the session was closed. /// - [Description("The amount that was expected to be in the cash drawer at the end of the session, calculated after the session was closed.")] - public MoneyV2? expectedClosingBalance { get; set; } - + [Description("The amount that was expected to be in the cash drawer at the end of the session, calculated after the session was closed.")] + public MoneyV2? expectedClosingBalance { get; set; } + /// ///The amount expected to be in the cash drawer based on the previous session. /// - [Description("The amount expected to be in the cash drawer based on the previous session.")] - public MoneyV2? expectedOpeningBalance { get; set; } - + [Description("The amount expected to be in the cash drawer based on the previous session.")] + public MoneyV2? expectedOpeningBalance { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The location of the point of sale device during this session. /// - [Description("The location of the point of sale device during this session.")] - public Location? location { get; set; } - + [Description("The location of the point of sale device during this session.")] + public Location? location { get; set; } + /// ///The net cash sales made for the duration of this cash tracking session. /// - [Description("The net cash sales made for the duration of this cash tracking session.")] - [NonNull] - public MoneyV2? netCashSales { get; set; } - + [Description("The net cash sales made for the duration of this cash tracking session.")] + [NonNull] + public MoneyV2? netCashSales { get; set; } + /// ///The counted cash balance when the session was opened. /// - [Description("The counted cash balance when the session was opened.")] - [NonNull] - public MoneyV2? openingBalance { get; set; } - + [Description("The counted cash balance when the session was opened.")] + [NonNull] + public MoneyV2? openingBalance { get; set; } + /// ///The note entered when the session was opened. /// - [Description("The note entered when the session was opened.")] - public string? openingNote { get; set; } - + [Description("The note entered when the session was opened.")] + public string? openingNote { get; set; } + /// ///The user who opened the session. /// - [Description("The user who opened the session.")] - public StaffMember? openingStaffMember { get; set; } - + [Description("The user who opened the session.")] + public StaffMember? openingStaffMember { get; set; } + /// ///When the session was opened. /// - [Description("When the session was opened.")] - [NonNull] - public DateTime? openingTime { get; set; } - + [Description("When the session was opened.")] + [NonNull] + public DateTime? openingTime { get; set; } + /// ///The register name for the point of sale device that this session is tracking cash for. /// - [Description("The register name for the point of sale device that this session is tracking cash for.")] - [NonNull] - public string? registerName { get; set; } - + [Description("The register name for the point of sale device that this session is tracking cash for.")] + [NonNull] + public string? registerName { get; set; } + /// ///The sum of all adjustments made during the session, excluding the final adjustment. /// - [Description("The sum of all adjustments made during the session, excluding the final adjustment.")] - public MoneyV2? totalAdjustments { get; set; } - + [Description("The sum of all adjustments made during the session, excluding the final adjustment.")] + public MoneyV2? totalAdjustments { get; set; } + /// ///The sum of all cash refunds for the duration of this cash tracking session. /// - [Description("The sum of all cash refunds for the duration of this cash tracking session.")] - [NonNull] - public MoneyV2? totalCashRefunds { get; set; } - + [Description("The sum of all cash refunds for the duration of this cash tracking session.")] + [NonNull] + public MoneyV2? totalCashRefunds { get; set; } + /// ///The sum of all cash sales for the duration of this cash tracking session. /// - [Description("The sum of all cash sales for the duration of this cash tracking session.")] - [NonNull] - public MoneyV2? totalCashSales { get; set; } - + [Description("The sum of all cash sales for the duration of this cash tracking session.")] + [NonNull] + public MoneyV2? totalCashSales { get; set; } + /// ///The total discrepancy for the session including starting and ending. /// - [Description("The total discrepancy for the session including starting and ending.")] - public MoneyV2? totalDiscrepancy { get; set; } - } - + [Description("The total discrepancy for the session including starting and ending.")] + public MoneyV2? totalDiscrepancy { get; set; } + } + /// ///An auto-generated type for paginating through multiple CashTrackingSessions. /// - [Description("An auto-generated type for paginating through multiple CashTrackingSessions.")] - public class CashTrackingSessionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CashTrackingSessions.")] + public class CashTrackingSessionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CashTrackingSessionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CashTrackingSessionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CashTrackingSessionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CashTrackingSession and a cursor during pagination. /// - [Description("An auto-generated type which holds one CashTrackingSession and a cursor during pagination.")] - public class CashTrackingSessionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CashTrackingSession and a cursor during pagination.")] + public class CashTrackingSessionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CashTrackingSessionEdge. /// - [Description("The item at the end of CashTrackingSessionEdge.")] - [NonNull] - public CashTrackingSession? node { get; set; } - } - + [Description("The item at the end of CashTrackingSessionEdge.")] + [NonNull] + public CashTrackingSession? node { get; set; } + } + /// ///The set of valid sort keys for the CashTrackingSessionTransactions query. /// - [Description("The set of valid sort keys for the CashTrackingSessionTransactions query.")] - public enum CashTrackingSessionTransactionsSortKeys - { + [Description("The set of valid sort keys for the CashTrackingSessionTransactions query.")] + public enum CashTrackingSessionTransactionsSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `processed_at` value. /// - [Description("Sort by the `processed_at` value.")] - PROCESSED_AT, - } - - public static class CashTrackingSessionTransactionsSortKeysStringValues - { - public const string ID = @"ID"; - public const string PROCESSED_AT = @"PROCESSED_AT"; - } - + [Description("Sort by the `processed_at` value.")] + PROCESSED_AT, + } + + public static class CashTrackingSessionTransactionsSortKeysStringValues + { + public const string ID = @"ID"; + public const string PROCESSED_AT = @"PROCESSED_AT"; + } + /// ///The set of valid sort keys for the CashTrackingSessions query. /// - [Description("The set of valid sort keys for the CashTrackingSessions query.")] - public enum CashTrackingSessionsSortKeys - { + [Description("The set of valid sort keys for the CashTrackingSessions query.")] + public enum CashTrackingSessionsSortKeys + { /// ///Sort by the `closing_time_asc` value. /// - [Description("Sort by the `closing_time_asc` value.")] - CLOSING_TIME_ASC, + [Description("Sort by the `closing_time_asc` value.")] + CLOSING_TIME_ASC, /// ///Sort by the `closing_time_desc` value. /// - [Description("Sort by the `closing_time_desc` value.")] - CLOSING_TIME_DESC, + [Description("Sort by the `closing_time_desc` value.")] + CLOSING_TIME_DESC, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `opening_time_asc` value. /// - [Description("Sort by the `opening_time_asc` value.")] - OPENING_TIME_ASC, + [Description("Sort by the `opening_time_asc` value.")] + OPENING_TIME_ASC, /// ///Sort by the `opening_time_desc` value. /// - [Description("Sort by the `opening_time_desc` value.")] - OPENING_TIME_DESC, + [Description("Sort by the `opening_time_desc` value.")] + OPENING_TIME_DESC, /// ///Sort by the `total_discrepancy_asc` value. /// - [Description("Sort by the `total_discrepancy_asc` value.")] - TOTAL_DISCREPANCY_ASC, + [Description("Sort by the `total_discrepancy_asc` value.")] + TOTAL_DISCREPANCY_ASC, /// ///Sort by the `total_discrepancy_desc` value. /// - [Description("Sort by the `total_discrepancy_desc` value.")] - TOTAL_DISCREPANCY_DESC, - } - - public static class CashTrackingSessionsSortKeysStringValues - { - public const string CLOSING_TIME_ASC = @"CLOSING_TIME_ASC"; - public const string CLOSING_TIME_DESC = @"CLOSING_TIME_DESC"; - public const string ID = @"ID"; - public const string OPENING_TIME_ASC = @"OPENING_TIME_ASC"; - public const string OPENING_TIME_DESC = @"OPENING_TIME_DESC"; - public const string TOTAL_DISCREPANCY_ASC = @"TOTAL_DISCREPANCY_ASC"; - public const string TOTAL_DISCREPANCY_DESC = @"TOTAL_DISCREPANCY_DESC"; - } - + [Description("Sort by the `total_discrepancy_desc` value.")] + TOTAL_DISCREPANCY_DESC, + } + + public static class CashTrackingSessionsSortKeysStringValues + { + public const string CLOSING_TIME_ASC = @"CLOSING_TIME_ASC"; + public const string CLOSING_TIME_DESC = @"CLOSING_TIME_DESC"; + public const string ID = @"ID"; + public const string OPENING_TIME_ASC = @"OPENING_TIME_ASC"; + public const string OPENING_TIME_DESC = @"OPENING_TIME_DESC"; + public const string TOTAL_DISCREPANCY_ASC = @"TOTAL_DISCREPANCY_ASC"; + public const string TOTAL_DISCREPANCY_DESC = @"TOTAL_DISCREPANCY_DESC"; + } + /// ///A list of products with publishing and pricing information. ///A catalog can be associated with a specific context, such as a [`Market`](https://shopify.dev/api/admin-graphql/current/objects/market), [`CompanyLocation`](https://shopify.dev/api/admin-graphql/current/objects/companylocation), or [`App`](https://shopify.dev/api/admin-graphql/current/objects/app). /// - [Description("A list of products with publishing and pricing information.\nA catalog can be associated with a specific context, such as a [`Market`](https://shopify.dev/api/admin-graphql/current/objects/market), [`CompanyLocation`](https://shopify.dev/api/admin-graphql/current/objects/companylocation), or [`App`](https://shopify.dev/api/admin-graphql/current/objects/app).")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AppCatalog), typeDiscriminator: "AppCatalog")] - [JsonDerivedType(typeof(CompanyLocationCatalog), typeDiscriminator: "CompanyLocationCatalog")] - [JsonDerivedType(typeof(MarketCatalog), typeDiscriminator: "MarketCatalog")] - public interface ICatalog : IGraphQLObject, INode - { + [Description("A list of products with publishing and pricing information.\nA catalog can be associated with a specific context, such as a [`Market`](https://shopify.dev/api/admin-graphql/current/objects/market), [`CompanyLocation`](https://shopify.dev/api/admin-graphql/current/objects/companylocation), or [`App`](https://shopify.dev/api/admin-graphql/current/objects/app).")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AppCatalog), typeDiscriminator: "AppCatalog")] + [JsonDerivedType(typeof(CompanyLocationCatalog), typeDiscriminator: "CompanyLocationCatalog")] + [JsonDerivedType(typeof(MarketCatalog), typeDiscriminator: "MarketCatalog")] + public interface ICatalog : IGraphQLObject, INode + { /// ///Most recent catalog operations. /// - [Description("Most recent catalog operations.")] - [NonNull] - public IEnumerable? operations { get; } - + [Description("Most recent catalog operations.")] + [NonNull] + public IEnumerable? operations { get; } + /// ///The price list associated with the catalog. /// - [Description("The price list associated with the catalog.")] - public PriceList? priceList { get; } - + [Description("The price list associated with the catalog.")] + public PriceList? priceList { get; } + /// ///A group of products and collections that's published to a catalog. /// - [Description("A group of products and collections that's published to a catalog.")] - public Publication? publication { get; } - + [Description("A group of products and collections that's published to a catalog.")] + public Publication? publication { get; } + /// ///The status of the catalog. /// - [Description("The status of the catalog.")] - [NonNull] - [EnumType(typeof(CatalogStatus))] - public string? status { get; } - + [Description("The status of the catalog.")] + [NonNull] + [EnumType(typeof(CatalogStatus))] + public string? status { get; } + /// ///The name of the catalog. /// - [Description("The name of the catalog.")] - [NonNull] - public string? title { get; } - } - + [Description("The name of the catalog.")] + [NonNull] + public string? title { get; } + } + /// ///An auto-generated type for paginating through multiple Catalogs. /// - [Description("An auto-generated type for paginating through multiple Catalogs.")] - public class CatalogConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Catalogs.")] + public class CatalogConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CatalogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CatalogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CatalogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for the context in which the catalog's publishing and pricing rules apply. /// - [Description("The input fields for the context in which the catalog's publishing and pricing rules apply.")] - public class CatalogContextInput : GraphQLObject - { + [Description("The input fields for the context in which the catalog's publishing and pricing rules apply.")] + public class CatalogContextInput : GraphQLObject + { /// ///The IDs of the markets to associate to the catalog. /// - [Description("The IDs of the markets to associate to the catalog.")] - public IEnumerable? marketIds { get; set; } - + [Description("The IDs of the markets to associate to the catalog.")] + public IEnumerable? marketIds { get; set; } + /// ///The IDs of the company locations to associate to the catalog. /// - [Description("The IDs of the company locations to associate to the catalog.")] - public IEnumerable? companyLocationIds { get; set; } - } - + [Description("The IDs of the company locations to associate to the catalog.")] + public IEnumerable? companyLocationIds { get; set; } + } + /// ///Return type for `catalogContextUpdate` mutation. /// - [Description("Return type for `catalogContextUpdate` mutation.")] - public class CatalogContextUpdatePayload : GraphQLObject - { + [Description("Return type for `catalogContextUpdate` mutation.")] + public class CatalogContextUpdatePayload : GraphQLObject + { /// ///The updated catalog. /// - [Description("The updated catalog.")] - public ICatalog? catalog { get; set; } - + [Description("The updated catalog.")] + public ICatalog? catalog { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields required to create a catalog. /// - [Description("The input fields required to create a catalog.")] - public class CatalogCreateInput : GraphQLObject - { + [Description("The input fields required to create a catalog.")] + public class CatalogCreateInput : GraphQLObject + { /// ///The name of the catalog. /// - [Description("The name of the catalog.")] - [NonNull] - public string? title { get; set; } - + [Description("The name of the catalog.")] + [NonNull] + public string? title { get; set; } + /// ///The status of the catalog. /// - [Description("The status of the catalog.")] - [NonNull] - [EnumType(typeof(CatalogStatus))] - public string? status { get; set; } - + [Description("The status of the catalog.")] + [NonNull] + [EnumType(typeof(CatalogStatus))] + public string? status { get; set; } + /// ///The context associated with the catalog. /// - [Description("The context associated with the catalog.")] - [NonNull] - public CatalogContextInput? context { get; set; } - + [Description("The context associated with the catalog.")] + [NonNull] + public CatalogContextInput? context { get; set; } + /// ///The ID of the price list to associate to the catalog. /// - [Description("The ID of the price list to associate to the catalog.")] - public string? priceListId { get; set; } - + [Description("The ID of the price list to associate to the catalog.")] + public string? priceListId { get; set; } + /// ///The ID of the publication to associate to the catalog. /// - [Description("The ID of the publication to associate to the catalog.")] - public string? publicationId { get; set; } - } - + [Description("The ID of the publication to associate to the catalog.")] + public string? publicationId { get; set; } + } + /// ///Return type for `catalogCreate` mutation. /// - [Description("Return type for `catalogCreate` mutation.")] - public class CatalogCreatePayload : GraphQLObject - { + [Description("Return type for `catalogCreate` mutation.")] + public class CatalogCreatePayload : GraphQLObject + { /// ///The newly created catalog. /// - [Description("The newly created catalog.")] - public ICatalog? catalog { get; set; } - + [Description("The newly created catalog.")] + public ICatalog? catalog { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A catalog csv operation represents a CSV file import. /// - [Description("A catalog csv operation represents a CSV file import.")] - public class CatalogCsvOperation : GraphQLObject, INode, IResourceOperation, IPublicationOperation - { + [Description("A catalog csv operation represents a CSV file import.")] + public class CatalogCsvOperation : GraphQLObject, INode, IResourceOperation, IPublicationOperation + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The count of processed rows, summing imported, failed, and skipped rows. /// - [Description("The count of processed rows, summing imported, failed, and skipped rows.")] - public int? processedRowCount { get; set; } - + [Description("The count of processed rows, summing imported, failed, and skipped rows.")] + public int? processedRowCount { get; set; } + /// ///Represents a rows objects within this background operation. /// - [Description("Represents a rows objects within this background operation.")] - public RowCount? rowCount { get; set; } - + [Description("Represents a rows objects within this background operation.")] + public RowCount? rowCount { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ResourceOperationStatus))] - public string? status { get; set; } - } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ResourceOperationStatus))] + public string? status { get; set; } + } + /// ///Return type for `catalogDelete` mutation. /// - [Description("Return type for `catalogDelete` mutation.")] - public class CatalogDeletePayload : GraphQLObject - { + [Description("Return type for `catalogDelete` mutation.")] + public class CatalogDeletePayload : GraphQLObject + { /// ///The ID of the deleted catalog. /// - [Description("The ID of the deleted catalog.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted catalog.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Catalog and a cursor during pagination. /// - [Description("An auto-generated type which holds one Catalog and a cursor during pagination.")] - public class CatalogEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Catalog and a cursor during pagination.")] + public class CatalogEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CatalogEdge. /// - [Description("The item at the end of CatalogEdge.")] - [NonNull] - public ICatalog? node { get; set; } - } - + [Description("The item at the end of CatalogEdge.")] + [NonNull] + public ICatalog? node { get; set; } + } + /// ///The set of valid sort keys for the Catalog query. /// - [Description("The set of valid sort keys for the Catalog query.")] - public enum CatalogSortKeys - { + [Description("The set of valid sort keys for the Catalog query.")] + public enum CatalogSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `type` value. /// - [Description("Sort by the `type` value.")] - TYPE, - } - - public static class CatalogSortKeysStringValues - { - public const string ID = @"ID"; - public const string RELEVANCE = @"RELEVANCE"; - public const string TITLE = @"TITLE"; - public const string TYPE = @"TYPE"; - } - + [Description("Sort by the `type` value.")] + TYPE, + } + + public static class CatalogSortKeysStringValues + { + public const string ID = @"ID"; + public const string RELEVANCE = @"RELEVANCE"; + public const string TITLE = @"TITLE"; + public const string TYPE = @"TYPE"; + } + /// ///The state of a catalog. /// - [Description("The state of a catalog.")] - public enum CatalogStatus - { + [Description("The state of a catalog.")] + public enum CatalogStatus + { /// ///The catalog is active. /// - [Description("The catalog is active.")] - ACTIVE, + [Description("The catalog is active.")] + ACTIVE, /// ///The catalog is archived. /// - [Description("The catalog is archived.")] - ARCHIVED, + [Description("The catalog is archived.")] + ARCHIVED, /// ///The catalog is in draft. /// - [Description("The catalog is in draft.")] - DRAFT, - } - - public static class CatalogStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string ARCHIVED = @"ARCHIVED"; - public const string DRAFT = @"DRAFT"; - } - + [Description("The catalog is in draft.")] + DRAFT, + } + + public static class CatalogStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string ARCHIVED = @"ARCHIVED"; + public const string DRAFT = @"DRAFT"; + } + /// ///The associated catalog's type. /// - [Description("The associated catalog's type.")] - public enum CatalogType - { + [Description("The associated catalog's type.")] + public enum CatalogType + { /// ///Not associated to a catalog. /// - [Description("Not associated to a catalog.")] - NONE, + [Description("Not associated to a catalog.")] + NONE, /// ///Catalogs belonging to apps. /// - [Description("Catalogs belonging to apps.")] - APP, + [Description("Catalogs belonging to apps.")] + APP, /// ///Catalogs belonging to company locations. /// - [Description("Catalogs belonging to company locations.")] - COMPANY_LOCATION, + [Description("Catalogs belonging to company locations.")] + COMPANY_LOCATION, /// ///Catalogs belonging to markets. /// - [Description("Catalogs belonging to markets.")] - MARKET, - } - - public static class CatalogTypeStringValues - { - public const string NONE = @"NONE"; - public const string APP = @"APP"; - public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; - public const string MARKET = @"MARKET"; - } - + [Description("Catalogs belonging to markets.")] + MARKET, + } + + public static class CatalogTypeStringValues + { + public const string NONE = @"NONE"; + public const string APP = @"APP"; + public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; + public const string MARKET = @"MARKET"; + } + /// ///The input fields used to update a catalog. /// - [Description("The input fields used to update a catalog.")] - public class CatalogUpdateInput : GraphQLObject - { + [Description("The input fields used to update a catalog.")] + public class CatalogUpdateInput : GraphQLObject + { /// ///The name of the catalog. /// - [Description("The name of the catalog.")] - public string? title { get; set; } - + [Description("The name of the catalog.")] + public string? title { get; set; } + /// ///The status of the catalog. /// - [Description("The status of the catalog.")] - [EnumType(typeof(CatalogStatus))] - public string? status { get; set; } - + [Description("The status of the catalog.")] + [EnumType(typeof(CatalogStatus))] + public string? status { get; set; } + /// ///The context associated with the catalog. /// - [Description("The context associated with the catalog.")] - public CatalogContextInput? context { get; set; } - + [Description("The context associated with the catalog.")] + public CatalogContextInput? context { get; set; } + /// ///The ID of the price list to associate to the catalog. /// - [Description("The ID of the price list to associate to the catalog.")] - public string? priceListId { get; set; } - + [Description("The ID of the price list to associate to the catalog.")] + public string? priceListId { get; set; } + /// ///The ID of the publication to associate to the catalog. /// - [Description("The ID of the publication to associate to the catalog.")] - public string? publicationId { get; set; } - } - + [Description("The ID of the publication to associate to the catalog.")] + public string? publicationId { get; set; } + } + /// ///Return type for `catalogUpdate` mutation. /// - [Description("Return type for `catalogUpdate` mutation.")] - public class CatalogUpdatePayload : GraphQLObject - { + [Description("Return type for `catalogUpdate` mutation.")] + public class CatalogUpdatePayload : GraphQLObject + { /// ///The updated catalog. /// - [Description("The updated catalog.")] - public ICatalog? catalog { get; set; } - + [Description("The updated catalog.")] + public ICatalog? catalog { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors encountered while managing a catalog. /// - [Description("Defines errors encountered while managing a catalog.")] - public class CatalogUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors encountered while managing a catalog.")] + public class CatalogUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CatalogUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CatalogUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CatalogUserError`. /// - [Description("Possible error codes that can be returned by `CatalogUserError`.")] - public enum CatalogUserErrorCode - { + [Description("Possible error codes that can be returned by `CatalogUserError`.")] + public enum CatalogUserErrorCode + { /// ///An app catalog cannot be assigned to a price list. /// - [Description("An app catalog cannot be assigned to a price list.")] - APP_CATALOG_PRICE_LIST_ASSIGNMENT, + [Description("An app catalog cannot be assigned to a price list.")] + APP_CATALOG_PRICE_LIST_ASSIGNMENT, /// ///Catalog failed to save. /// - [Description("Catalog failed to save.")] - CATALOG_FAILED_TO_SAVE, + [Description("Catalog failed to save.")] + CATALOG_FAILED_TO_SAVE, /// ///The catalog wasn't found. /// - [Description("The catalog wasn't found.")] - CATALOG_NOT_FOUND, + [Description("The catalog wasn't found.")] + CATALOG_NOT_FOUND, /// ///A price list cannot be assigned to the primary market. /// - [Description("A price list cannot be assigned to the primary market.")] - PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET, + [Description("A price list cannot be assigned to the primary market.")] + PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET, /// ///Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets. /// - [Description("Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets.")] - CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES, + [Description("Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets.")] + CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES, /// ///Quantity price breaks can be associated only with company location catalogs or catalogs associated with compatible markets. /// - [Description("Quantity price breaks can be associated only with company location catalogs or catalogs associated with compatible markets.")] - CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS, + [Description("Quantity price breaks can be associated only with company location catalogs or catalogs associated with compatible markets.")] + CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS, /// ///The catalog can't be associated with more than one market. /// - [Description("The catalog can't be associated with more than one market.")] - CANNOT_ADD_MORE_THAN_ONE_MARKET, + [Description("The catalog can't be associated with more than one market.")] + CANNOT_ADD_MORE_THAN_ONE_MARKET, /// ///A company location catalog outside of a supported plan can only have an archived status. /// - [Description("A company location catalog outside of a supported plan can only have an archived status.")] - COMPANY_LOCATION_CATALOG_STATUS_PLAN, + [Description("A company location catalog outside of a supported plan can only have an archived status.")] + COMPANY_LOCATION_CATALOG_STATUS_PLAN, /// ///Context driver already assigned to this catalog. /// - [Description("Context driver already assigned to this catalog.")] - CONTEXT_ALREADY_ASSIGNED_TO_CATALOG, + [Description("Context driver already assigned to this catalog.")] + CONTEXT_ALREADY_ASSIGNED_TO_CATALOG, /// ///Cannot save the catalog because the catalog limit for the context was reached. /// - [Description("Cannot save the catalog because the catalog limit for the context was reached.")] - CONTEXT_CATALOG_LIMIT_REACHED, + [Description("Cannot save the catalog because the catalog limit for the context was reached.")] + CONTEXT_CATALOG_LIMIT_REACHED, /// ///The company location could not be found. /// - [Description("The company location could not be found.")] - COMPANY_LOCATION_NOT_FOUND, + [Description("The company location could not be found.")] + COMPANY_LOCATION_NOT_FOUND, /// ///The arguments `contextsToAdd` and `contextsToRemove` must match existing catalog context type. /// - [Description("The arguments `contextsToAdd` and `contextsToRemove` must match existing catalog context type.")] - CONTEXT_DRIVER_MISMATCH, + [Description("The arguments `contextsToAdd` and `contextsToRemove` must match existing catalog context type.")] + CONTEXT_DRIVER_MISMATCH, /// ///A country catalog cannot be assigned to a price list. /// - [Description("A country catalog cannot be assigned to a price list.")] - COUNTRY_CATALOG_PRICE_LIST_ASSIGNMENT, + [Description("A country catalog cannot be assigned to a price list.")] + COUNTRY_CATALOG_PRICE_LIST_ASSIGNMENT, /// ///A country price list cannot be assigned to a catalog. /// - [Description("A country price list cannot be assigned to a catalog.")] - COUNTRY_PRICE_LIST_ASSIGNMENT, + [Description("A country price list cannot be assigned to a catalog.")] + COUNTRY_PRICE_LIST_ASSIGNMENT, /// ///The catalog context type is invalid. /// - [Description("The catalog context type is invalid.")] - INVALID_CATALOG_CONTEXT_TYPE, + [Description("The catalog context type is invalid.")] + INVALID_CATALOG_CONTEXT_TYPE, /// ///A market catalog must have an active status. /// - [Description("A market catalog must have an active status.")] - MARKET_CATALOG_STATUS, + [Description("A market catalog must have an active status.")] + MARKET_CATALOG_STATUS, /// ///Market not found. /// - [Description("Market not found.")] - MARKET_NOT_FOUND, + [Description("Market not found.")] + MARKET_NOT_FOUND, /// ///The catalog's market and price list currencies do not match. /// - [Description("The catalog's market and price list currencies do not match.")] - MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH, + [Description("The catalog's market and price list currencies do not match.")] + MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH, /// ///Market already belongs to another catalog. /// - [Description("Market already belongs to another catalog.")] - MARKET_TAKEN, + [Description("Market already belongs to another catalog.")] + MARKET_TAKEN, /// ///The managed country belongs to another catalog. /// - [Description("The managed country belongs to another catalog.")] - MANAGED_COUNTRY_BELONGS_TO_ANOTHER_CATALOG, + [Description("The managed country belongs to another catalog.")] + MANAGED_COUNTRY_BELONGS_TO_ANOTHER_CATALOG, /// ///Must provide exactly one context type. /// - [Description("Must provide exactly one context type.")] - MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE, + [Description("Must provide exactly one context type.")] + MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE, /// ///Price list failed to save. /// - [Description("Price list failed to save.")] - PRICE_LIST_FAILED_TO_SAVE, + [Description("Price list failed to save.")] + PRICE_LIST_FAILED_TO_SAVE, /// ///Price list not found. /// - [Description("Price list not found.")] - PRICE_LIST_NOT_FOUND, + [Description("Price list not found.")] + PRICE_LIST_NOT_FOUND, /// ///The price list is currently being modified. Please try again later. /// - [Description("The price list is currently being modified. Please try again later.")] - PRICE_LIST_LOCKED, + [Description("The price list is currently being modified. Please try again later.")] + PRICE_LIST_LOCKED, /// ///Publication not found. /// - [Description("Publication not found.")] - PUBLICATION_NOT_FOUND, + [Description("Publication not found.")] + PUBLICATION_NOT_FOUND, /// ///Must have `contexts_to_add` or `contexts_to_remove` argument. /// - [Description("Must have `contexts_to_add` or `contexts_to_remove` argument.")] - REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE, + [Description("Must have `contexts_to_add` or `contexts_to_remove` argument.")] + REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE, /// ///Can't perform this action on a catalog of this type. /// - [Description("Can't perform this action on a catalog of this type.")] - UNSUPPORTED_CATALOG_ACTION, + [Description("Can't perform this action on a catalog of this type.")] + UNSUPPORTED_CATALOG_ACTION, /// ///Cannot create a catalog for an app. /// - [Description("Cannot create a catalog for an app.")] - CANNOT_CREATE_APP_CATALOG, + [Description("Cannot create a catalog for an app.")] + CANNOT_CREATE_APP_CATALOG, /// ///Cannot modify a catalog for an app. /// - [Description("Cannot modify a catalog for an app.")] - CANNOT_MODIFY_APP_CATALOG, + [Description("Cannot modify a catalog for an app.")] + CANNOT_MODIFY_APP_CATALOG, /// ///Cannot delete a catalog for an app. /// - [Description("Cannot delete a catalog for an app.")] - CANNOT_DELETE_APP_CATALOG, + [Description("Cannot delete a catalog for an app.")] + CANNOT_DELETE_APP_CATALOG, /// ///Cannot create a catalog for a market. /// - [Description("Cannot create a catalog for a market.")] - CANNOT_CREATE_MARKET_CATALOG, + [Description("Cannot create a catalog for a market.")] + CANNOT_CREATE_MARKET_CATALOG, /// ///Cannot modify a catalog for a market. /// - [Description("Cannot modify a catalog for a market.")] - CANNOT_MODIFY_MARKET_CATALOG, + [Description("Cannot modify a catalog for a market.")] + CANNOT_MODIFY_MARKET_CATALOG, /// ///Cannot delete a catalog for a market. /// - [Description("Cannot delete a catalog for a market.")] - CANNOT_DELETE_MARKET_CATALOG, + [Description("Cannot delete a catalog for a market.")] + CANNOT_DELETE_MARKET_CATALOG, /// ///Managing this catalog is not supported by your plan. /// - [Description("Managing this catalog is not supported by your plan.")] - UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS, + [Description("Managing this catalog is not supported by your plan.")] + UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///Cannot change context to specified type. /// - [Description("Cannot change context to specified type.")] - INVALID_CONTEXT_CHANGE, - } - - public static class CatalogUserErrorCodeStringValues - { - public const string APP_CATALOG_PRICE_LIST_ASSIGNMENT = @"APP_CATALOG_PRICE_LIST_ASSIGNMENT"; - public const string CATALOG_FAILED_TO_SAVE = @"CATALOG_FAILED_TO_SAVE"; - public const string CATALOG_NOT_FOUND = @"CATALOG_NOT_FOUND"; - public const string PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET = @"PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET"; - public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES"; - public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS"; - public const string CANNOT_ADD_MORE_THAN_ONE_MARKET = @"CANNOT_ADD_MORE_THAN_ONE_MARKET"; - public const string COMPANY_LOCATION_CATALOG_STATUS_PLAN = @"COMPANY_LOCATION_CATALOG_STATUS_PLAN"; - public const string CONTEXT_ALREADY_ASSIGNED_TO_CATALOG = @"CONTEXT_ALREADY_ASSIGNED_TO_CATALOG"; - public const string CONTEXT_CATALOG_LIMIT_REACHED = @"CONTEXT_CATALOG_LIMIT_REACHED"; - public const string COMPANY_LOCATION_NOT_FOUND = @"COMPANY_LOCATION_NOT_FOUND"; - public const string CONTEXT_DRIVER_MISMATCH = @"CONTEXT_DRIVER_MISMATCH"; - public const string COUNTRY_CATALOG_PRICE_LIST_ASSIGNMENT = @"COUNTRY_CATALOG_PRICE_LIST_ASSIGNMENT"; - public const string COUNTRY_PRICE_LIST_ASSIGNMENT = @"COUNTRY_PRICE_LIST_ASSIGNMENT"; - public const string INVALID_CATALOG_CONTEXT_TYPE = @"INVALID_CATALOG_CONTEXT_TYPE"; - public const string MARKET_CATALOG_STATUS = @"MARKET_CATALOG_STATUS"; - public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; - public const string MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH = @"MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH"; - public const string MARKET_TAKEN = @"MARKET_TAKEN"; - public const string MANAGED_COUNTRY_BELONGS_TO_ANOTHER_CATALOG = @"MANAGED_COUNTRY_BELONGS_TO_ANOTHER_CATALOG"; - public const string MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE = @"MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE"; - public const string PRICE_LIST_FAILED_TO_SAVE = @"PRICE_LIST_FAILED_TO_SAVE"; - public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; - public const string PRICE_LIST_LOCKED = @"PRICE_LIST_LOCKED"; - public const string PUBLICATION_NOT_FOUND = @"PUBLICATION_NOT_FOUND"; - public const string REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE = @"REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE"; - public const string UNSUPPORTED_CATALOG_ACTION = @"UNSUPPORTED_CATALOG_ACTION"; - public const string CANNOT_CREATE_APP_CATALOG = @"CANNOT_CREATE_APP_CATALOG"; - public const string CANNOT_MODIFY_APP_CATALOG = @"CANNOT_MODIFY_APP_CATALOG"; - public const string CANNOT_DELETE_APP_CATALOG = @"CANNOT_DELETE_APP_CATALOG"; - public const string CANNOT_CREATE_MARKET_CATALOG = @"CANNOT_CREATE_MARKET_CATALOG"; - public const string CANNOT_MODIFY_MARKET_CATALOG = @"CANNOT_MODIFY_MARKET_CATALOG"; - public const string CANNOT_DELETE_MARKET_CATALOG = @"CANNOT_DELETE_MARKET_CATALOG"; - public const string UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS = @"UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS"; - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string BLANK = @"BLANK"; - public const string INVALID_CONTEXT_CHANGE = @"INVALID_CONTEXT_CHANGE"; - } - + [Description("Cannot change context to specified type.")] + INVALID_CONTEXT_CHANGE, + } + + public static class CatalogUserErrorCodeStringValues + { + public const string APP_CATALOG_PRICE_LIST_ASSIGNMENT = @"APP_CATALOG_PRICE_LIST_ASSIGNMENT"; + public const string CATALOG_FAILED_TO_SAVE = @"CATALOG_FAILED_TO_SAVE"; + public const string CATALOG_NOT_FOUND = @"CATALOG_NOT_FOUND"; + public const string PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET = @"PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET"; + public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES"; + public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS"; + public const string CANNOT_ADD_MORE_THAN_ONE_MARKET = @"CANNOT_ADD_MORE_THAN_ONE_MARKET"; + public const string COMPANY_LOCATION_CATALOG_STATUS_PLAN = @"COMPANY_LOCATION_CATALOG_STATUS_PLAN"; + public const string CONTEXT_ALREADY_ASSIGNED_TO_CATALOG = @"CONTEXT_ALREADY_ASSIGNED_TO_CATALOG"; + public const string CONTEXT_CATALOG_LIMIT_REACHED = @"CONTEXT_CATALOG_LIMIT_REACHED"; + public const string COMPANY_LOCATION_NOT_FOUND = @"COMPANY_LOCATION_NOT_FOUND"; + public const string CONTEXT_DRIVER_MISMATCH = @"CONTEXT_DRIVER_MISMATCH"; + public const string COUNTRY_CATALOG_PRICE_LIST_ASSIGNMENT = @"COUNTRY_CATALOG_PRICE_LIST_ASSIGNMENT"; + public const string COUNTRY_PRICE_LIST_ASSIGNMENT = @"COUNTRY_PRICE_LIST_ASSIGNMENT"; + public const string INVALID_CATALOG_CONTEXT_TYPE = @"INVALID_CATALOG_CONTEXT_TYPE"; + public const string MARKET_CATALOG_STATUS = @"MARKET_CATALOG_STATUS"; + public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; + public const string MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH = @"MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH"; + public const string MARKET_TAKEN = @"MARKET_TAKEN"; + public const string MANAGED_COUNTRY_BELONGS_TO_ANOTHER_CATALOG = @"MANAGED_COUNTRY_BELONGS_TO_ANOTHER_CATALOG"; + public const string MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE = @"MUST_PROVIDE_EXACTLY_ONE_CONTEXT_TYPE"; + public const string PRICE_LIST_FAILED_TO_SAVE = @"PRICE_LIST_FAILED_TO_SAVE"; + public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; + public const string PRICE_LIST_LOCKED = @"PRICE_LIST_LOCKED"; + public const string PUBLICATION_NOT_FOUND = @"PUBLICATION_NOT_FOUND"; + public const string REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE = @"REQUIRES_CONTEXTS_TO_ADD_OR_REMOVE"; + public const string UNSUPPORTED_CATALOG_ACTION = @"UNSUPPORTED_CATALOG_ACTION"; + public const string CANNOT_CREATE_APP_CATALOG = @"CANNOT_CREATE_APP_CATALOG"; + public const string CANNOT_MODIFY_APP_CATALOG = @"CANNOT_MODIFY_APP_CATALOG"; + public const string CANNOT_DELETE_APP_CATALOG = @"CANNOT_DELETE_APP_CATALOG"; + public const string CANNOT_CREATE_MARKET_CATALOG = @"CANNOT_CREATE_MARKET_CATALOG"; + public const string CANNOT_MODIFY_MARKET_CATALOG = @"CANNOT_MODIFY_MARKET_CATALOG"; + public const string CANNOT_DELETE_MARKET_CATALOG = @"CANNOT_DELETE_MARKET_CATALOG"; + public const string UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS = @"UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS"; + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string BLANK = @"BLANK"; + public const string INVALID_CONTEXT_CHANGE = @"INVALID_CONTEXT_CHANGE"; + } + /// ///A channel represents an app where you sell a group of products and collections. ///A channel can be a platform or marketplace such as Facebook or Pinterest, an online store, or POS. /// - [Description("A channel represents an app where you sell a group of products and collections.\nA channel can be a platform or marketplace such as Facebook or Pinterest, an online store, or POS.")] - public class Channel : GraphQLObject, INode - { + [Description("A channel represents an app where you sell a group of products and collections.\nA channel can be a platform or marketplace such as Facebook or Pinterest, an online store, or POS.")] + public class Channel : GraphQLObject, INode + { /// ///The underlying app used by the channel. /// - [Description("The underlying app used by the channel.")] - [NonNull] - public App? app { get; set; } - + [Description("The underlying app used by the channel.")] + [NonNull] + public App? app { get; set; } + /// ///The list of collection publications. Each record represents information about the publication of a collection. /// - [Description("The list of collection publications. Each record represents information about the publication of a collection.")] - [NonNull] - public ResourcePublicationConnection? collectionPublicationsV3 { get; set; } - + [Description("The list of collection publications. Each record represents information about the publication of a collection.")] + [NonNull] + public ResourcePublicationConnection? collectionPublicationsV3 { get; set; } + /// ///The list of collections published to the channel. /// - [Description("The list of collections published to the channel.")] - [NonNull] - public CollectionConnection? collections { get; set; } - + [Description("The list of collections published to the channel.")] + [NonNull] + public CollectionConnection? collections { get; set; } + /// ///The unique identifier for the channel. /// - [Description("The unique identifier for the channel.")] - [NonNull] - public string? handle { get; set; } - + [Description("The unique identifier for the channel.")] + [NonNull] + public string? handle { get; set; } + /// ///Whether the collection is available to the channel. /// - [Description("Whether the collection is available to the channel.")] - [NonNull] - public bool? hasCollection { get; set; } - + [Description("Whether the collection is available to the channel.")] + [NonNull] + public bool? hasCollection { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the channel. /// - [Description("The name of the channel.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the channel.")] + [NonNull] + public string? name { get; set; } + /// ///The menu items for the channel, which also appear as submenu items in the left navigation sidebar in the Shopify admin. /// - [Description("The menu items for the channel, which also appear as submenu items in the left navigation sidebar in the Shopify admin.")] - [Obsolete("Use [AppInstallation.navigationItems](\n https://shopify.dev/api/admin-graphql/current/objects/AppInstallation#field-appinstallation-navigationitems) instead.")] - [NonNull] - public IEnumerable? navigationItems { get; set; } - + [Description("The menu items for the channel, which also appear as submenu items in the left navigation sidebar in the Shopify admin.")] + [Obsolete("Use [AppInstallation.navigationItems](\n https://shopify.dev/api/admin-graphql/current/objects/AppInstallation#field-appinstallation-navigationitems) instead.")] + [NonNull] + public IEnumerable? navigationItems { get; set; } + /// ///Home page for the channel. /// - [Description("Home page for the channel.")] - [Obsolete("Use [AppInstallation.launchUrl](\n https://shopify.dev/api/admin-graphql/current/objects/AppInstallation#field-appinstallation-launchurl) instead.")] - public string? overviewPath { get; set; } - + [Description("Home page for the channel.")] + [Obsolete("Use [AppInstallation.launchUrl](\n https://shopify.dev/api/admin-graphql/current/objects/AppInstallation#field-appinstallation-launchurl) instead.")] + public string? overviewPath { get; set; } + /// ///The product publications for the products published to the channel. /// - [Description("The product publications for the products published to the channel.")] - [Obsolete("Use `productPublicationsV3` instead.")] - [NonNull] - public ProductPublicationConnection? productPublications { get; set; } - + [Description("The product publications for the products published to the channel.")] + [Obsolete("Use `productPublicationsV3` instead.")] + [NonNull] + public ProductPublicationConnection? productPublications { get; set; } + /// ///The list of product publication records for products published to this channel. /// - [Description("The list of product publication records for products published to this channel.")] - [NonNull] - public ResourcePublicationConnection? productPublicationsV3 { get; set; } - + [Description("The list of product publication records for products published to this channel.")] + [NonNull] + public ResourcePublicationConnection? productPublicationsV3 { get; set; } + /// ///The list of products published to the channel. /// - [Description("The list of products published to the channel.")] - [NonNull] - public ProductConnection? products { get; set; } - + [Description("The list of products published to the channel.")] + [NonNull] + public ProductConnection? products { get; set; } + /// ///Retrieves the total count of [`products`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) published to a specific sales channel. Limited to a maximum of 10000 by default. /// - [Description("Retrieves the total count of [`products`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) published to a specific sales channel. Limited to a maximum of 10000 by default.")] - public Count? productsCount { get; set; } - + [Description("Retrieves the total count of [`products`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) published to a specific sales channel. Limited to a maximum of 10000 by default.")] + public Count? productsCount { get; set; } + /// ///Whether the channel supports future publishing. /// - [Description("Whether the channel supports future publishing.")] - [NonNull] - public bool? supportsFuturePublishing { get; set; } - } - + [Description("Whether the channel supports future publishing.")] + [NonNull] + public bool? supportsFuturePublishing { get; set; } + } + /// ///An auto-generated type for paginating through multiple Channels. /// - [Description("An auto-generated type for paginating through multiple Channels.")] - public class ChannelConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Channels.")] + public class ChannelConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ChannelEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ChannelEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ChannelEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///A channel definition represents channels surfaces on the platform. ///A channel definition can be a platform or a subsegment of it such as Facebook Home, Instagram Live, Instagram Shops, or WhatsApp chat. /// - [Description("A channel definition represents channels surfaces on the platform.\nA channel definition can be a platform or a subsegment of it such as Facebook Home, Instagram Live, Instagram Shops, or WhatsApp chat.")] - public class ChannelDefinition : GraphQLObject, INode - { + [Description("A channel definition represents channels surfaces on the platform.\nA channel definition can be a platform or a subsegment of it such as Facebook Home, Instagram Live, Instagram Shops, or WhatsApp chat.")] + public class ChannelDefinition : GraphQLObject, INode + { /// ///Name of the channel that this sub channel belongs to. /// - [Description("Name of the channel that this sub channel belongs to.")] - [NonNull] - public string? channelName { get; set; } - + [Description("Name of the channel that this sub channel belongs to.")] + [NonNull] + public string? channelName { get; set; } + /// ///Unique string used as a public identifier for the channel definition. /// - [Description("Unique string used as a public identifier for the channel definition.")] - [NonNull] - public string? handle { get; set; } - + [Description("Unique string used as a public identifier for the channel definition.")] + [NonNull] + public string? handle { get; set; } + /// ///The unique ID for the channel definition. /// - [Description("The unique ID for the channel definition.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the channel definition.")] + [NonNull] + public string? id { get; set; } + /// ///Whether this channel definition represents a marketplace. /// - [Description("Whether this channel definition represents a marketplace.")] - [NonNull] - public bool? isMarketplace { get; set; } - + [Description("Whether this channel definition represents a marketplace.")] + [NonNull] + public bool? isMarketplace { get; set; } + /// ///Name of the sub channel (e.g. Online Store, Instagram Shopping, TikTok Live). /// - [Description("Name of the sub channel (e.g. Online Store, Instagram Shopping, TikTok Live).")] - [NonNull] - public string? subChannelName { get; set; } - + [Description("Name of the sub channel (e.g. Online Store, Instagram Shopping, TikTok Live).")] + [NonNull] + public string? subChannelName { get; set; } + /// ///Icon displayed when showing the channel in admin. /// - [Description("Icon displayed when showing the channel in admin.")] - [Obsolete("Use App.icon instead")] - public string? svgIcon { get; set; } - } - + [Description("Icon displayed when showing the channel in admin.")] + [Obsolete("Use App.icon instead")] + public string? svgIcon { get; set; } + } + /// ///An auto-generated type which holds one Channel and a cursor during pagination. /// - [Description("An auto-generated type which holds one Channel and a cursor during pagination.")] - public class ChannelEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Channel and a cursor during pagination.")] + public class ChannelEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ChannelEdge. /// - [Description("The item at the end of ChannelEdge.")] - [NonNull] - public Channel? node { get; set; } - } - + [Description("The item at the end of ChannelEdge.")] + [NonNull] + public Channel? node { get; set; } + } + /// ///Contains the information for a given sales channel. /// - [Description("Contains the information for a given sales channel.")] - public class ChannelInformation : GraphQLObject, INode - { + [Description("Contains the information for a given sales channel.")] + public class ChannelInformation : GraphQLObject, INode + { /// ///The app associated with the channel. /// - [Description("The app associated with the channel.")] - [NonNull] - public App? app { get; set; } - + [Description("The app associated with the channel.")] + [NonNull] + public App? app { get; set; } + /// ///The channel definition associated with the channel. /// - [Description("The channel definition associated with the channel.")] - public ChannelDefinition? channelDefinition { get; set; } - + [Description("The channel definition associated with the channel.")] + public ChannelDefinition? channelDefinition { get; set; } + /// ///The unique ID for the channel. /// - [Description("The unique ID for the channel.")] - [NonNull] - public string? channelId { get; set; } - + [Description("The unique ID for the channel.")] + [NonNull] + public string? channelId { get; set; } + /// ///The publishing destination display name or channel name. /// - [Description("The publishing destination display name or channel name.")] - public string? displayName { get; set; } - + [Description("The publishing destination display name or channel name.")] + public string? displayName { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///Configuration for checkout and accounts app. /// - [Description("Configuration for checkout and accounts app.")] - public class CheckoutAndAccountsAppConfiguration : GraphQLObject - { + [Description("Configuration for checkout and accounts app.")] + public class CheckoutAndAccountsAppConfiguration : GraphQLObject + { /// ///The list of allowed origins for checkout and accounts app. /// - [Description("The list of allowed origins for checkout and accounts app.")] - [NonNull] - public IEnumerable? allowedOrigins { get; set; } - + [Description("The list of allowed origins for checkout and accounts app.")] + [NonNull] + public IEnumerable? allowedOrigins { get; set; } + /// ///The checkout flow configuration for checkout and accounts app. /// - [Description("The checkout flow configuration for checkout and accounts app.")] - [NonNull] - public string? checkoutFlowConfiguration { get; set; } - + [Description("The checkout flow configuration for checkout and accounts app.")] + [NonNull] + public string? checkoutFlowConfiguration { get; set; } + /// ///The date and time when the configuration was created. /// - [Description("The date and time when the configuration was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the configuration was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The feature configuration for checkout and accounts app. /// - [Description("The feature configuration for checkout and accounts app.")] - [NonNull] - public string? feature { get; set; } - + [Description("The feature configuration for checkout and accounts app.")] + [NonNull] + public string? feature { get; set; } + /// ///The ID of the configuration. /// - [Description("The ID of the configuration.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the configuration.")] + [NonNull] + public string? id { get; set; } + /// ///The UI configuration for checkout and accounts app. /// - [Description("The UI configuration for checkout and accounts app.")] - [NonNull] - public string? uiConfiguration { get; set; } - + [Description("The UI configuration for checkout and accounts app.")] + [NonNull] + public string? uiConfiguration { get; set; } + /// ///The date and time when the configuration was last updated. /// - [Description("The date and time when the configuration was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the configuration was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `checkoutAndAccountsAppConfigurationDelete` mutation. /// - [Description("Return type for `checkoutAndAccountsAppConfigurationDelete` mutation.")] - public class CheckoutAndAccountsAppConfigurationDeletePayload : GraphQLObject - { + [Description("Return type for `checkoutAndAccountsAppConfigurationDelete` mutation.")] + public class CheckoutAndAccountsAppConfigurationDeletePayload : GraphQLObject + { /// ///The ID of the deleted checkout and accounts app configuration. /// - [Description("The ID of the deleted checkout and accounts app configuration.")] - public string? deletedCheckoutAndAccountsAppConfigurationId { get; set; } - + [Description("The ID of the deleted checkout and accounts app configuration.")] + public string? deletedCheckoutAndAccountsAppConfigurationId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CheckoutAndAccountsAppConfigurationDelete`. /// - [Description("An error that occurs during the execution of `CheckoutAndAccountsAppConfigurationDelete`.")] - public class CheckoutAndAccountsAppConfigurationDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CheckoutAndAccountsAppConfigurationDelete`.")] + public class CheckoutAndAccountsAppConfigurationDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CheckoutAndAccountsAppConfigurationDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CheckoutAndAccountsAppConfigurationDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CheckoutAndAccountsAppConfigurationDeleteUserError`. /// - [Description("Possible error codes that can be returned by `CheckoutAndAccountsAppConfigurationDeleteUserError`.")] - public enum CheckoutAndAccountsAppConfigurationDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `CheckoutAndAccountsAppConfigurationDeleteUserError`.")] + public enum CheckoutAndAccountsAppConfigurationDeleteUserErrorCode + { /// ///The checkout and accounts app configuration was not found. /// - [Description("The checkout and accounts app configuration was not found.")] - CONFIGURATION_NOT_FOUND, + [Description("The checkout and accounts app configuration was not found.")] + CONFIGURATION_NOT_FOUND, /// ///You are not authorized to delete this configuration. /// - [Description("You are not authorized to delete this configuration.")] - UNAUTHORIZED_ACCESS, - } - - public static class CheckoutAndAccountsAppConfigurationDeleteUserErrorCodeStringValues - { - public const string CONFIGURATION_NOT_FOUND = @"CONFIGURATION_NOT_FOUND"; - public const string UNAUTHORIZED_ACCESS = @"UNAUTHORIZED_ACCESS"; - } - + [Description("You are not authorized to delete this configuration.")] + UNAUTHORIZED_ACCESS, + } + + public static class CheckoutAndAccountsAppConfigurationDeleteUserErrorCodeStringValues + { + public const string CONFIGURATION_NOT_FOUND = @"CONFIGURATION_NOT_FOUND"; + public const string UNAUTHORIZED_ACCESS = @"UNAUTHORIZED_ACCESS"; + } + /// ///The input fields specifies the fields required to create or update a checkout and accounts app configuration. /// - [Description("The input fields specifies the fields required to create or update a checkout and accounts app configuration.")] - public class CheckoutAndAccountsAppConfigurationInput : GraphQLObject - { + [Description("The input fields specifies the fields required to create or update a checkout and accounts app configuration.")] + public class CheckoutAndAccountsAppConfigurationInput : GraphQLObject + { /// ///The list of allowed origins for checkout and accounts app. /// - [Description("The list of allowed origins for checkout and accounts app.")] - [NonNull] - public IEnumerable? allowedOrigins { get; set; } - + [Description("The list of allowed origins for checkout and accounts app.")] + [NonNull] + public IEnumerable? allowedOrigins { get; set; } + /// ///The UI configuration for checkout and accounts app. /// - [Description("The UI configuration for checkout and accounts app.")] - public string? uiConfiguration { get; set; } - + [Description("The UI configuration for checkout and accounts app.")] + public string? uiConfiguration { get; set; } + /// ///The feature configuration for checkout and accounts app. /// - [Description("The feature configuration for checkout and accounts app.")] - public string? feature { get; set; } - + [Description("The feature configuration for checkout and accounts app.")] + public string? feature { get; set; } + /// ///The checkout flow configuration for checkout and accounts app. /// - [Description("The checkout flow configuration for checkout and accounts app.")] - public string? checkoutFlowConfiguration { get; set; } - } - + [Description("The checkout flow configuration for checkout and accounts app.")] + public string? checkoutFlowConfiguration { get; set; } + } + /// ///Return type for `checkoutAndAccountsAppConfigurationUpdate` mutation. /// - [Description("Return type for `checkoutAndAccountsAppConfigurationUpdate` mutation.")] - public class CheckoutAndAccountsAppConfigurationUpdatePayload : GraphQLObject - { + [Description("Return type for `checkoutAndAccountsAppConfigurationUpdate` mutation.")] + public class CheckoutAndAccountsAppConfigurationUpdatePayload : GraphQLObject + { /// ///The checkout and accounts app configuration that was created or updated. /// - [Description("The checkout and accounts app configuration that was created or updated.")] - public CheckoutAndAccountsAppConfiguration? checkoutAndAccountsAppConfiguration { get; set; } - + [Description("The checkout and accounts app configuration that was created or updated.")] + public CheckoutAndAccountsAppConfiguration? checkoutAndAccountsAppConfiguration { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CheckoutAndAccountsAppConfigurationUpdate`. /// - [Description("An error that occurs during the execution of `CheckoutAndAccountsAppConfigurationUpdate`.")] - public class CheckoutAndAccountsAppConfigurationUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CheckoutAndAccountsAppConfigurationUpdate`.")] + public class CheckoutAndAccountsAppConfigurationUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CheckoutAndAccountsAppConfigurationUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CheckoutAndAccountsAppConfigurationUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CheckoutAndAccountsAppConfigurationUpdateUserError`. /// - [Description("Possible error codes that can be returned by `CheckoutAndAccountsAppConfigurationUpdateUserError`.")] - public enum CheckoutAndAccountsAppConfigurationUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `CheckoutAndAccountsAppConfigurationUpdateUserError`.")] + public enum CheckoutAndAccountsAppConfigurationUpdateUserErrorCode + { /// ///Invalid API client or shop context. /// - [Description("Invalid API client or shop context.")] - INVALID_CONTEXT, - } - - public static class CheckoutAndAccountsAppConfigurationUpdateUserErrorCodeStringValues - { - public const string INVALID_CONTEXT = @"INVALID_CONTEXT"; - } - + [Description("Invalid API client or shop context.")] + INVALID_CONTEXT, + } + + public static class CheckoutAndAccountsAppConfigurationUpdateUserErrorCodeStringValues + { + public const string INVALID_CONTEXT = @"INVALID_CONTEXT"; + } + /// ///Creates a unified visual identity for your checkout that keeps customers engaged and reinforces your brand throughout the purchase process. This comprehensive branding system lets you control every visual aspect of checkout, from colors and fonts to layouts and imagery, so your checkout feels like a natural extension of your store. /// @@ -11186,222 +11186,222 @@ public static class CheckoutAndAccountsAppConfigurationUpdateUserErrorCodeString /// ///Different color schemes can be defined for various contexts, ensuring optimal contrast and accessibility across different checkout states and customer preferences. /// - [Description("Creates a unified visual identity for your checkout that keeps customers engaged and reinforces your brand throughout the purchase process. This comprehensive branding system lets you control every visual aspect of checkout, from colors and fonts to layouts and imagery, so your checkout feels like a natural extension of your store.\n\nFor example, a luxury fashion retailer can configure their checkout with custom color palettes, premium typography, rounded corners for a softer feel, and branded imagery that matches their main website aesthetic.\n\nUse the `Branding` object to:\n- Configure comprehensive checkout visual identity\n- Coordinate color schemes across all checkout elements\n- Apply consistent typography and spacing standards\n- Manage background imagery and layout customizations\n- Control visibility of various checkout components\n\nThe branding configuration includes design system foundations like color roles, typography scales, and spacing units, plus specific customizations for sections, dividers, and interactive elements. This allows merchants to create cohesive checkout experiences that reinforce their brand identity while maintaining usability standards.\n\nDifferent color schemes can be defined for various contexts, ensuring optimal contrast and accessibility across different checkout states and customer preferences.")] - public class CheckoutBranding : GraphQLObject - { + [Description("Creates a unified visual identity for your checkout that keeps customers engaged and reinforces your brand throughout the purchase process. This comprehensive branding system lets you control every visual aspect of checkout, from colors and fonts to layouts and imagery, so your checkout feels like a natural extension of your store.\n\nFor example, a luxury fashion retailer can configure their checkout with custom color palettes, premium typography, rounded corners for a softer feel, and branded imagery that matches their main website aesthetic.\n\nUse the `Branding` object to:\n- Configure comprehensive checkout visual identity\n- Coordinate color schemes across all checkout elements\n- Apply consistent typography and spacing standards\n- Manage background imagery and layout customizations\n- Control visibility of various checkout components\n\nThe branding configuration includes design system foundations like color roles, typography scales, and spacing units, plus specific customizations for sections, dividers, and interactive elements. This allows merchants to create cohesive checkout experiences that reinforce their brand identity while maintaining usability standards.\n\nDifferent color schemes can be defined for various contexts, ensuring optimal contrast and accessibility across different checkout states and customer preferences.")] + public class CheckoutBranding : GraphQLObject + { /// ///The customizations that apply to specific components or areas of the user interface. /// - [Description("The customizations that apply to specific components or areas of the user interface.")] - public CheckoutBrandingCustomizations? customizations { get; set; } - + [Description("The customizations that apply to specific components or areas of the user interface.")] + public CheckoutBrandingCustomizations? customizations { get; set; } + /// ///The design system allows you to set values that represent specific attributes ///of your brand like color and font. These attributes are used throughout the user ///interface. This brings consistency and allows you to easily make broad design changes. /// - [Description("The design system allows you to set values that represent specific attributes\nof your brand like color and font. These attributes are used throughout the user\ninterface. This brings consistency and allows you to easily make broad design changes.")] - public CheckoutBrandingDesignSystem? designSystem { get; set; } - } - + [Description("The design system allows you to set values that represent specific attributes\nof your brand like color and font. These attributes are used throughout the user\ninterface. This brings consistency and allows you to easily make broad design changes.")] + public CheckoutBrandingDesignSystem? designSystem { get; set; } + } + /// ///The container background style. /// - [Description("The container background style.")] - public enum CheckoutBrandingBackground - { + [Description("The container background style.")] + public enum CheckoutBrandingBackground + { /// ///The Base background style. /// - [Description("The Base background style.")] - BASE, + [Description("The Base background style.")] + BASE, /// ///The Subdued background style. /// - [Description("The Subdued background style.")] - SUBDUED, + [Description("The Subdued background style.")] + SUBDUED, /// ///The Transparent background style. /// - [Description("The Transparent background style.")] - TRANSPARENT, - } - - public static class CheckoutBrandingBackgroundStringValues - { - public const string BASE = @"BASE"; - public const string SUBDUED = @"SUBDUED"; - public const string TRANSPARENT = @"TRANSPARENT"; - } - + [Description("The Transparent background style.")] + TRANSPARENT, + } + + public static class CheckoutBrandingBackgroundStringValues + { + public const string BASE = @"BASE"; + public const string SUBDUED = @"SUBDUED"; + public const string TRANSPARENT = @"TRANSPARENT"; + } + /// ///Possible values for the background style. /// - [Description("Possible values for the background style.")] - public enum CheckoutBrandingBackgroundStyle - { + [Description("Possible values for the background style.")] + public enum CheckoutBrandingBackgroundStyle + { /// ///The Solid background style. /// - [Description("The Solid background style.")] - SOLID, + [Description("The Solid background style.")] + SOLID, /// ///The None background style. /// - [Description("The None background style.")] - NONE, - } - - public static class CheckoutBrandingBackgroundStyleStringValues - { - public const string SOLID = @"SOLID"; - public const string NONE = @"NONE"; - } - + [Description("The None background style.")] + NONE, + } + + public static class CheckoutBrandingBackgroundStyleStringValues + { + public const string SOLID = @"SOLID"; + public const string NONE = @"NONE"; + } + /// ///Possible values for the border. /// - [Description("Possible values for the border.")] - public enum CheckoutBrandingBorder - { + [Description("Possible values for the border.")] + public enum CheckoutBrandingBorder + { /// ///The None border. /// - [Description("The None border.")] - NONE, + [Description("The None border.")] + NONE, /// ///The Block End border. /// - [Description("The Block End border.")] - BLOCK_END, + [Description("The Block End border.")] + BLOCK_END, /// ///The Full border. /// - [Description("The Full border.")] - FULL, - } - - public static class CheckoutBrandingBorderStringValues - { - public const string NONE = @"NONE"; - public const string BLOCK_END = @"BLOCK_END"; - public const string FULL = @"FULL"; - } - + [Description("The Full border.")] + FULL, + } + + public static class CheckoutBrandingBorderStringValues + { + public const string NONE = @"NONE"; + public const string BLOCK_END = @"BLOCK_END"; + public const string FULL = @"FULL"; + } + /// ///The container border style. /// - [Description("The container border style.")] - public enum CheckoutBrandingBorderStyle - { + [Description("The container border style.")] + public enum CheckoutBrandingBorderStyle + { /// ///The Base border style. /// - [Description("The Base border style.")] - BASE, + [Description("The Base border style.")] + BASE, /// ///The Dashed border style. /// - [Description("The Dashed border style.")] - DASHED, + [Description("The Dashed border style.")] + DASHED, /// ///The Dotted border style. /// - [Description("The Dotted border style.")] - DOTTED, - } - - public static class CheckoutBrandingBorderStyleStringValues - { - public const string BASE = @"BASE"; - public const string DASHED = @"DASHED"; - public const string DOTTED = @"DOTTED"; - } - + [Description("The Dotted border style.")] + DOTTED, + } + + public static class CheckoutBrandingBorderStyleStringValues + { + public const string BASE = @"BASE"; + public const string DASHED = @"DASHED"; + public const string DOTTED = @"DOTTED"; + } + /// ///The container border width. /// - [Description("The container border width.")] - public enum CheckoutBrandingBorderWidth - { + [Description("The container border width.")] + public enum CheckoutBrandingBorderWidth + { /// ///The Base border width. /// - [Description("The Base border width.")] - BASE, + [Description("The Base border width.")] + BASE, /// ///The Large 100 border width. /// - [Description("The Large 100 border width.")] - LARGE_100, + [Description("The Large 100 border width.")] + LARGE_100, /// ///The Large 200 border width. /// - [Description("The Large 200 border width.")] - LARGE_200, + [Description("The Large 200 border width.")] + LARGE_200, /// ///The Large border width. /// - [Description("The Large border width.")] - LARGE, - } - - public static class CheckoutBrandingBorderWidthStringValues - { - public const string BASE = @"BASE"; - public const string LARGE_100 = @"LARGE_100"; - public const string LARGE_200 = @"LARGE_200"; - public const string LARGE = @"LARGE"; - } - + [Description("The Large border width.")] + LARGE, + } + + public static class CheckoutBrandingBorderWidthStringValues + { + public const string BASE = @"BASE"; + public const string LARGE_100 = @"LARGE_100"; + public const string LARGE_200 = @"LARGE_200"; + public const string LARGE = @"LARGE"; + } + /// ///The buttons customizations. /// - [Description("The buttons customizations.")] - public class CheckoutBrandingButton : GraphQLObject - { + [Description("The buttons customizations.")] + public class CheckoutBrandingButton : GraphQLObject + { /// ///The background style used for buttons. /// - [Description("The background style used for buttons.")] - [EnumType(typeof(CheckoutBrandingBackgroundStyle))] - public string? background { get; set; } - + [Description("The background style used for buttons.")] + [EnumType(typeof(CheckoutBrandingBackgroundStyle))] + public string? background { get; set; } + /// ///The block padding used for buttons. /// - [Description("The block padding used for buttons.")] - [EnumType(typeof(CheckoutBrandingSpacing))] - public string? blockPadding { get; set; } - + [Description("The block padding used for buttons.")] + [EnumType(typeof(CheckoutBrandingSpacing))] + public string? blockPadding { get; set; } + /// ///The border used for buttons. /// - [Description("The border used for buttons.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border used for buttons.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The corner radius used for buttons. /// - [Description("The corner radius used for buttons.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius used for buttons.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The inline padding used for buttons. /// - [Description("The inline padding used for buttons.")] - [EnumType(typeof(CheckoutBrandingSpacing))] - public string? inlinePadding { get; set; } - + [Description("The inline padding used for buttons.")] + [EnumType(typeof(CheckoutBrandingSpacing))] + public string? inlinePadding { get; set; } + /// ///The typography used for buttons. /// - [Description("The typography used for buttons.")] - public CheckoutBrandingTypographyStyle? typography { get; set; } - } - + [Description("The typography used for buttons.")] + public CheckoutBrandingTypographyStyle? typography { get; set; } + } + /// ///Defines the color palette specifically for button elements within checkout branding, including hover states. These color roles ensure buttons maintain proper contrast and visual hierarchy throughout the checkout experience. /// @@ -11414,149 +11414,149 @@ public class CheckoutBrandingButton : GraphQLObject /// ///Button color roles include background, border, text, icon, accent (for focused states), and decorative elements, plus specific hover state colors that provide clear interactive feedback to customers. /// - [Description("Defines the color palette specifically for button elements within checkout branding, including hover states. These color roles ensure buttons maintain proper contrast and visual hierarchy throughout the checkout experience.\n\nFor example, a sports brand might configure bright accent colors for primary action buttons, with darker hover states and contrasting text colors that maintain accessibility standards.\n\nUse the `ButtonColorRoles` object to:\n- Define button color schemes for different states\n- Ensure proper contrast for accessibility compliance\n- Coordinate button colors with overall brand palette\n\nButton color roles include background, border, text, icon, accent (for focused states), and decorative elements, plus specific hover state colors that provide clear interactive feedback to customers.")] - public class CheckoutBrandingButtonColorRoles : GraphQLObject - { + [Description("Defines the color palette specifically for button elements within checkout branding, including hover states. These color roles ensure buttons maintain proper contrast and visual hierarchy throughout the checkout experience.\n\nFor example, a sports brand might configure bright accent colors for primary action buttons, with darker hover states and contrasting text colors that maintain accessibility standards.\n\nUse the `ButtonColorRoles` object to:\n- Define button color schemes for different states\n- Ensure proper contrast for accessibility compliance\n- Coordinate button colors with overall brand palette\n\nButton color roles include background, border, text, icon, accent (for focused states), and decorative elements, plus specific hover state colors that provide clear interactive feedback to customers.")] + public class CheckoutBrandingButtonColorRoles : GraphQLObject + { /// ///The color of accented objects (links and focused state). /// - [Description("The color of accented objects (links and focused state).")] - public string? accent { get; set; } - + [Description("The color of accented objects (links and focused state).")] + public string? accent { get; set; } + /// ///The color of the background. /// - [Description("The color of the background.")] - public string? background { get; set; } - + [Description("The color of the background.")] + public string? background { get; set; } + /// ///The color of borders. /// - [Description("The color of borders.")] - public string? border { get; set; } - + [Description("The color of borders.")] + public string? border { get; set; } + /// ///The decorative color for highlighting specific parts of the user interface. /// - [Description("The decorative color for highlighting specific parts of the user interface.")] - public string? decorative { get; set; } - + [Description("The decorative color for highlighting specific parts of the user interface.")] + public string? decorative { get; set; } + /// ///The colors of the button on hover. /// - [Description("The colors of the button on hover.")] - public CheckoutBrandingColorRoles? hover { get; set; } - + [Description("The colors of the button on hover.")] + public CheckoutBrandingColorRoles? hover { get; set; } + /// ///The color of icons. /// - [Description("The color of icons.")] - public string? icon { get; set; } - + [Description("The color of icons.")] + public string? icon { get; set; } + /// ///The color of text. /// - [Description("The color of text.")] - public string? text { get; set; } - } - + [Description("The color of text.")] + public string? text { get; set; } + } + /// ///The input fields to set colors for buttons. /// - [Description("The input fields to set colors for buttons.")] - public class CheckoutBrandingButtonColorRolesInput : GraphQLObject - { + [Description("The input fields to set colors for buttons.")] + public class CheckoutBrandingButtonColorRolesInput : GraphQLObject + { /// ///The color of the background. /// - [Description("The color of the background.")] - public string? background { get; set; } - + [Description("The color of the background.")] + public string? background { get; set; } + /// ///The color of text. /// - [Description("The color of text.")] - public string? text { get; set; } - + [Description("The color of text.")] + public string? text { get; set; } + /// ///The color of borders. /// - [Description("The color of borders.")] - public string? border { get; set; } - + [Description("The color of borders.")] + public string? border { get; set; } + /// ///The color of icons. /// - [Description("The color of icons.")] - public string? icon { get; set; } - + [Description("The color of icons.")] + public string? icon { get; set; } + /// ///The color of accented objects (links and focused state). /// - [Description("The color of accented objects (links and focused state).")] - public string? accent { get; set; } - + [Description("The color of accented objects (links and focused state).")] + public string? accent { get; set; } + /// ///The decorative color for highlighting specific parts of the user interface. /// - [Description("The decorative color for highlighting specific parts of the user interface.")] - public string? decorative { get; set; } - + [Description("The decorative color for highlighting specific parts of the user interface.")] + public string? decorative { get; set; } + /// ///The colors of the button on hover. /// - [Description("The colors of the button on hover.")] - public CheckoutBrandingColorRolesInput? hover { get; set; } - } - + [Description("The colors of the button on hover.")] + public CheckoutBrandingColorRolesInput? hover { get; set; } + } + /// ///The input fields used to update the buttons customizations. /// - [Description("The input fields used to update the buttons customizations.")] - public class CheckoutBrandingButtonInput : GraphQLObject - { + [Description("The input fields used to update the buttons customizations.")] + public class CheckoutBrandingButtonInput : GraphQLObject + { /// ///The background style used for buttons. /// - [Description("The background style used for buttons.")] - [EnumType(typeof(CheckoutBrandingBackgroundStyle))] - public string? background { get; set; } - + [Description("The background style used for buttons.")] + [EnumType(typeof(CheckoutBrandingBackgroundStyle))] + public string? background { get; set; } + /// ///The border used for buttons. /// - [Description("The border used for buttons.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border used for buttons.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The corner radius used for buttons. /// - [Description("The corner radius used for buttons.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius used for buttons.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The block padding used for buttons. /// - [Description("The block padding used for buttons.")] - [EnumType(typeof(CheckoutBrandingSpacing))] - public string? blockPadding { get; set; } - + [Description("The block padding used for buttons.")] + [EnumType(typeof(CheckoutBrandingSpacing))] + public string? blockPadding { get; set; } + /// ///The inline padding used for buttons. /// - [Description("The inline padding used for buttons.")] - [EnumType(typeof(CheckoutBrandingSpacing))] - public string? inlinePadding { get; set; } - + [Description("The inline padding used for buttons.")] + [EnumType(typeof(CheckoutBrandingSpacing))] + public string? inlinePadding { get; set; } + /// ///The typography style used for buttons. /// - [Description("The typography style used for buttons.")] - public CheckoutBrandingTypographyStyleInput? typography { get; set; } - } - + [Description("The typography style used for buttons.")] + public CheckoutBrandingTypographyStyleInput? typography { get; set; } + } + /// ///Controls the visibility settings for checkout breadcrumb navigation that shows customers their progress through the purchase journey. This simple customization allows merchants to show or hide the breadcrumb trail based on their checkout flow preferences. /// @@ -11566,31 +11566,31 @@ public class CheckoutBrandingButtonInput : GraphQLObject - [Description("Controls the visibility settings for checkout breadcrumb navigation that shows customers their progress through the purchase journey. This simple customization allows merchants to show or hide the breadcrumb trail based on their checkout flow preferences.\n\nFor example, a single-page checkout experience might hide breadcrumbs to create a more streamlined appearance, while multi-step checkouts can display them to help customers understand their progress.\n\nThe visibility setting provides merchants flexibility in how they present checkout navigation to match their specific user experience strategy.\n\nLearn more about [checkout customization](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBranding).")] - public class CheckoutBrandingBuyerJourney : GraphQLObject - { + [Description("Controls the visibility settings for checkout breadcrumb navigation that shows customers their progress through the purchase journey. This simple customization allows merchants to show or hide the breadcrumb trail based on their checkout flow preferences.\n\nFor example, a single-page checkout experience might hide breadcrumbs to create a more streamlined appearance, while multi-step checkouts can display them to help customers understand their progress.\n\nThe visibility setting provides merchants flexibility in how they present checkout navigation to match their specific user experience strategy.\n\nLearn more about [checkout customization](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBranding).")] + public class CheckoutBrandingBuyerJourney : GraphQLObject + { /// ///An option to display or hide the breadcrumbs that represent the buyer's journey on 3-page checkout. /// - [Description("An option to display or hide the breadcrumbs that represent the buyer's journey on 3-page checkout.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("An option to display or hide the breadcrumbs that represent the buyer's journey on 3-page checkout.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///The input fields for updating breadcrumb customizations, which represent the buyer's journey to checkout. /// - [Description("The input fields for updating breadcrumb customizations, which represent the buyer's journey to checkout.")] - public class CheckoutBrandingBuyerJourneyInput : GraphQLObject - { + [Description("The input fields for updating breadcrumb customizations, which represent the buyer's journey to checkout.")] + public class CheckoutBrandingBuyerJourneyInput : GraphQLObject + { /// ///The visibility customizations for updating breadcrumbs, which represent the buyer's journey to checkout. /// - [Description("The visibility customizations for updating breadcrumbs, which represent the buyer's journey to checkout.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The visibility customizations for updating breadcrumbs, which represent the buyer's journey to checkout.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///Controls the visibility of cart links displayed during checkout. These links allow customers to return to their cart or continue shopping. /// @@ -11598,61 +11598,61 @@ public class CheckoutBrandingBuyerJourneyInput : GraphQLObject - [Description("Controls the visibility of cart links displayed during checkout. These links allow customers to return to their cart or continue shopping.\n\nFor example, an electronics store might hide cart links during final checkout steps to reduce distractions, or show them prominently to encourage customers to add accessories before completing their purchase.\n\nThe `CartLink` object provides visibility settings to control when and how these navigation elements appear based on the merchant's checkout flow strategy.")] - public class CheckoutBrandingCartLink : GraphQLObject - { + [Description("Controls the visibility of cart links displayed during checkout. These links allow customers to return to their cart or continue shopping.\n\nFor example, an electronics store might hide cart links during final checkout steps to reduce distractions, or show them prominently to encourage customers to add accessories before completing their purchase.\n\nThe `CartLink` object provides visibility settings to control when and how these navigation elements appear based on the merchant's checkout flow strategy.")] + public class CheckoutBrandingCartLink : GraphQLObject + { /// ///Whether the cart link is visible at checkout. /// - [Description("Whether the cart link is visible at checkout.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("Whether the cart link is visible at checkout.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///Possible values for the cart link content type for the header. /// - [Description("Possible values for the cart link content type for the header.")] - public enum CheckoutBrandingCartLinkContentType - { + [Description("Possible values for the cart link content type for the header.")] + public enum CheckoutBrandingCartLinkContentType + { /// ///The checkout header content type icon value. /// - [Description("The checkout header content type icon value.")] - ICON, + [Description("The checkout header content type icon value.")] + ICON, /// ///The checkout header content type image value. /// - [Description("The checkout header content type image value.")] - IMAGE, + [Description("The checkout header content type image value.")] + IMAGE, /// ///The checkout header content type text value. /// - [Description("The checkout header content type text value.")] - TEXT, - } - - public static class CheckoutBrandingCartLinkContentTypeStringValues - { - public const string ICON = @"ICON"; - public const string IMAGE = @"IMAGE"; - public const string TEXT = @"TEXT"; - } - + [Description("The checkout header content type text value.")] + TEXT, + } + + public static class CheckoutBrandingCartLinkContentTypeStringValues + { + public const string ICON = @"ICON"; + public const string IMAGE = @"IMAGE"; + public const string TEXT = @"TEXT"; + } + /// ///The input fields for updating the cart link customizations at checkout. /// - [Description("The input fields for updating the cart link customizations at checkout.")] - public class CheckoutBrandingCartLinkInput : GraphQLObject - { + [Description("The input fields for updating the cart link customizations at checkout.")] + public class CheckoutBrandingCartLinkInput : GraphQLObject + { /// ///The input to update the visibility of cart links in checkout. This hides the cart icon on one-page and the cart link in the breadcrumbs/buyer journey on three-page checkout. /// - [Description("The input to update the visibility of cart links in checkout. This hides the cart icon on one-page and the cart link in the breadcrumbs/buyer journey on three-page checkout.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The input to update the visibility of cart links in checkout. This hides the cart icon on one-page and the cart link in the breadcrumbs/buyer journey on three-page checkout.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///Defines the visual styling for checkbox elements throughout the checkout interface, focusing on corner radius customization. This allows merchants to align checkbox appearance with their overall design aesthetic. /// @@ -11660,46 +11660,46 @@ public class CheckoutBrandingCartLinkInput : GraphQLObject - [Description("Defines the visual styling for checkbox elements throughout the checkout interface, focusing on corner radius customization. This allows merchants to align checkbox appearance with their overall design aesthetic.\n\nFor example, a modern minimalist brand might prefer sharp, square checkboxes while a friendly consumer brand could opt for rounded corners to create a softer, more approachable feel.\n\nThe corner radius setting ensures checkboxes integrate seamlessly with the overall checkout design language and brand identity.")] - public class CheckoutBrandingCheckbox : GraphQLObject - { + [Description("Defines the visual styling for checkbox elements throughout the checkout interface, focusing on corner radius customization. This allows merchants to align checkbox appearance with their overall design aesthetic.\n\nFor example, a modern minimalist brand might prefer sharp, square checkboxes while a friendly consumer brand could opt for rounded corners to create a softer, more approachable feel.\n\nThe corner radius setting ensures checkboxes integrate seamlessly with the overall checkout design language and brand identity.")] + public class CheckoutBrandingCheckbox : GraphQLObject + { /// ///The corner radius used for checkboxes. /// - [Description("The corner radius used for checkboxes.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - } - + [Description("The corner radius used for checkboxes.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + /// ///The input fields used to update the checkboxes customizations. /// - [Description("The input fields used to update the checkboxes customizations.")] - public class CheckoutBrandingCheckboxInput : GraphQLObject - { + [Description("The input fields used to update the checkboxes customizations.")] + public class CheckoutBrandingCheckboxInput : GraphQLObject + { /// ///The corner radius used for checkboxes. /// - [Description("The corner radius used for checkboxes.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - } - + [Description("The corner radius used for checkboxes.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + /// ///Controls spacing customization for the grouped variant of choice list components in checkout forms. /// ///The `ChoiceList` object contains settings specifically for the 'group' variant styling through the [`ChoiceListGroup`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBrandingChoiceListGroup) field, which determines the spacing between choice options. /// - [Description("Controls spacing customization for the grouped variant of choice list components in checkout forms.\n\nThe `ChoiceList` object contains settings specifically for the 'group' variant styling through the [`ChoiceListGroup`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBrandingChoiceListGroup) field, which determines the spacing between choice options.")] - public class CheckoutBrandingChoiceList : GraphQLObject - { + [Description("Controls spacing customization for the grouped variant of choice list components in checkout forms.\n\nThe `ChoiceList` object contains settings specifically for the 'group' variant styling through the [`ChoiceListGroup`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBrandingChoiceListGroup) field, which determines the spacing between choice options.")] + public class CheckoutBrandingChoiceList : GraphQLObject + { /// ///The settings that apply to the 'group' variant of ChoiceList. /// - [Description("The settings that apply to the 'group' variant of ChoiceList.")] - public CheckoutBrandingChoiceListGroup? group { get; set; } - } - + [Description("The settings that apply to the 'group' variant of ChoiceList.")] + public CheckoutBrandingChoiceListGroup? group { get; set; } + } + /// ///Controls the spacing between options in the 'group' variant of [`ChoiceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBrandingChoiceList) components. /// @@ -11707,44 +11707,44 @@ public class CheckoutBrandingChoiceList : GraphQLObject - [Description("Controls the spacing between options in the 'group' variant of [`ChoiceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBrandingChoiceList) components.\n\nThis setting adjusts the vertical spacing between choice options to improve readability and visual organization. The spacing value helps create clear separation between options, making it easier for customers to scan and select from available choices.\n\nLearn more about [checkout customization](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBranding).")] - public class CheckoutBrandingChoiceListGroup : GraphQLObject - { + [Description("Controls the spacing between options in the 'group' variant of [`ChoiceList`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBrandingChoiceList) components.\n\nThis setting adjusts the vertical spacing between choice options to improve readability and visual organization. The spacing value helps create clear separation between options, making it easier for customers to scan and select from available choices.\n\nLearn more about [checkout customization](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBranding).")] + public class CheckoutBrandingChoiceListGroup : GraphQLObject + { /// ///The spacing between UI elements in the list. /// - [Description("The spacing between UI elements in the list.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? spacing { get; set; } - } - + [Description("The spacing between UI elements in the list.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? spacing { get; set; } + } + /// ///The input fields to update the settings that apply to the 'group' variant of ChoiceList. /// - [Description("The input fields to update the settings that apply to the 'group' variant of ChoiceList.")] - public class CheckoutBrandingChoiceListGroupInput : GraphQLObject - { + [Description("The input fields to update the settings that apply to the 'group' variant of ChoiceList.")] + public class CheckoutBrandingChoiceListGroupInput : GraphQLObject + { /// ///The spacing between UI elements in the list. /// - [Description("The spacing between UI elements in the list.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? spacing { get; set; } - } - + [Description("The spacing between UI elements in the list.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? spacing { get; set; } + } + /// ///The input fields to use to update the choice list customizations. /// - [Description("The input fields to use to update the choice list customizations.")] - public class CheckoutBrandingChoiceListInput : GraphQLObject - { + [Description("The input fields to use to update the choice list customizations.")] + public class CheckoutBrandingChoiceListInput : GraphQLObject + { /// ///The settings that apply to the 'group' variant of ChoiceList. /// - [Description("The settings that apply to the 'group' variant of ChoiceList.")] - public CheckoutBrandingChoiceListGroupInput? group { get; set; } - } - + [Description("The settings that apply to the 'group' variant of ChoiceList.")] + public CheckoutBrandingChoiceListGroupInput? group { get; set; } + } + /// ///Defines the global color roles for checkout branding. These semantic colors maintain consistency across all checkout elements and provide the foundation for the checkout's visual design system. /// @@ -11758,815 +11758,815 @@ public class CheckoutBrandingChoiceListInput : GraphQLObject - [Description("Defines the global color roles for checkout branding. These semantic colors maintain consistency across all checkout elements and provide the foundation for the checkout's visual design system.\n\nUse global colors to:\n- Set brand colors for primary actions and buttons\n- Define accent colors for links and interactive elements\n- Configure semantic colors for success, warning, and error states\n- Apply decorative colors for visual highlights\n\nFor example, a merchant might set their brand blue for primary buttons, green for success messages, amber for warnings, and red for critical errors, creating a consistent color language throughout checkout.\n\nLearn more about [checkout customization](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBranding).")] - public class CheckoutBrandingColorGlobal : GraphQLObject - { + [Description("Defines the global color roles for checkout branding. These semantic colors maintain consistency across all checkout elements and provide the foundation for the checkout's visual design system.\n\nUse global colors to:\n- Set brand colors for primary actions and buttons\n- Define accent colors for links and interactive elements\n- Configure semantic colors for success, warning, and error states\n- Apply decorative colors for visual highlights\n\nFor example, a merchant might set their brand blue for primary buttons, green for success messages, amber for warnings, and red for critical errors, creating a consistent color language throughout checkout.\n\nLearn more about [checkout customization](https://shopify.dev/docs/api/admin-graphql/latest/objects/CheckoutBranding).")] + public class CheckoutBrandingColorGlobal : GraphQLObject + { /// ///A color used for interaction, like links and focus states. /// - [Description("A color used for interaction, like links and focus states.")] - public string? accent { get; set; } - + [Description("A color used for interaction, like links and focus states.")] + public string? accent { get; set; } + /// ///A color that's strongly associated with the merchant. Currently used for ///primary buttons, for example **Pay now**, and secondary buttons, for example **Buy again**. /// - [Description("A color that's strongly associated with the merchant. Currently used for\nprimary buttons, for example **Pay now**, and secondary buttons, for example **Buy again**.")] - public string? brand { get; set; } - + [Description("A color that's strongly associated with the merchant. Currently used for\nprimary buttons, for example **Pay now**, and secondary buttons, for example **Buy again**.")] + public string? brand { get; set; } + /// ///A semantic color used for components that communicate critical content. For example, a blocking error such as the requirement to enter a valid credit card number. /// - [Description("A semantic color used for components that communicate critical content. For example, a blocking error such as the requirement to enter a valid credit card number.")] - public string? critical { get; set; } - + [Description("A semantic color used for components that communicate critical content. For example, a blocking error such as the requirement to enter a valid credit card number.")] + public string? critical { get; set; } + /// ///A color used to highlight certain areas of the user interface. For example, the [`Text`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/titles-and-text/text#textprops-propertydetail-appearance) component. /// - [Description("A color used to highlight certain areas of the user interface. For example, the [`Text`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/titles-and-text/text#textprops-propertydetail-appearance) component.")] - public string? decorative { get; set; } - + [Description("A color used to highlight certain areas of the user interface. For example, the [`Text`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/titles-and-text/text#textprops-propertydetail-appearance) component.")] + public string? decorative { get; set; } + /// ///A semantic color used for components that communicate general, informative content. /// - [Description("A semantic color used for components that communicate general, informative content.")] - public string? info { get; set; } - + [Description("A semantic color used for components that communicate general, informative content.")] + public string? info { get; set; } + /// ///A semantic color used for components that communicate successful actions or a positive state. /// - [Description("A semantic color used for components that communicate successful actions or a positive state.")] - public string? success { get; set; } - + [Description("A semantic color used for components that communicate successful actions or a positive state.")] + public string? success { get; set; } + /// ///A semantic color used for components that display content that requires attention. For example, something that might be wrong, but not blocking. /// - [Description("A semantic color used for components that display content that requires attention. For example, something that might be wrong, but not blocking.")] - public string? warning { get; set; } - } - + [Description("A semantic color used for components that display content that requires attention. For example, something that might be wrong, but not blocking.")] + public string? warning { get; set; } + } + /// ///The input fields to customize the overall look and feel of the checkout. /// - [Description("The input fields to customize the overall look and feel of the checkout.")] - public class CheckoutBrandingColorGlobalInput : GraphQLObject - { + [Description("The input fields to customize the overall look and feel of the checkout.")] + public class CheckoutBrandingColorGlobalInput : GraphQLObject + { /// ///A semantic color used for components that communicate general, informative content. /// - [Description("A semantic color used for components that communicate general, informative content.")] - public string? info { get; set; } - + [Description("A semantic color used for components that communicate general, informative content.")] + public string? info { get; set; } + /// ///A semantic color used for components that communicate successful actions or a positive state. /// - [Description("A semantic color used for components that communicate successful actions or a positive state.")] - public string? success { get; set; } - + [Description("A semantic color used for components that communicate successful actions or a positive state.")] + public string? success { get; set; } + /// ///A semantic color used for components that display content that requires attention. For example, something that might be wrong, but not blocking. /// - [Description("A semantic color used for components that display content that requires attention. For example, something that might be wrong, but not blocking.")] - public string? warning { get; set; } - + [Description("A semantic color used for components that display content that requires attention. For example, something that might be wrong, but not blocking.")] + public string? warning { get; set; } + /// ///A semantic color used for components that communicate critical content. For example, a blocking error such as the requirement to enter a valid credit card number. /// - [Description("A semantic color used for components that communicate critical content. For example, a blocking error such as the requirement to enter a valid credit card number.")] - public string? critical { get; set; } - + [Description("A semantic color used for components that communicate critical content. For example, a blocking error such as the requirement to enter a valid credit card number.")] + public string? critical { get; set; } + /// ///A color that's strongly associated with the merchant. Currently used for ///primary buttons, such as **Pay now**, and secondary buttons, such as **Buy again**. /// - [Description("A color that's strongly associated with the merchant. Currently used for\nprimary buttons, such as **Pay now**, and secondary buttons, such as **Buy again**.")] - public string? brand { get; set; } - + [Description("A color that's strongly associated with the merchant. Currently used for\nprimary buttons, such as **Pay now**, and secondary buttons, such as **Buy again**.")] + public string? brand { get; set; } + /// ///A color used for interaction, like links and focus states. /// - [Description("A color used for interaction, like links and focus states.")] - public string? accent { get; set; } - + [Description("A color used for interaction, like links and focus states.")] + public string? accent { get; set; } + /// ///A color used to highlight certain areas of the user interface. For example, the [`Text`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/titles-and-text/text#textprops-propertydetail-appearance) component. /// - [Description("A color used to highlight certain areas of the user interface. For example, the [`Text`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/titles-and-text/text#textprops-propertydetail-appearance) component.")] - public string? decorative { get; set; } - } - + [Description("A color used to highlight certain areas of the user interface. For example, the [`Text`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/titles-and-text/text#textprops-propertydetail-appearance) component.")] + public string? decorative { get; set; } + } + /// ///A set of colors to apply to different parts of the UI. /// - [Description("A set of colors to apply to different parts of the UI.")] - public class CheckoutBrandingColorGroup : GraphQLObject - { + [Description("A set of colors to apply to different parts of the UI.")] + public class CheckoutBrandingColorGroup : GraphQLObject + { /// ///A color used for visual accents such as spinners. /// - [Description("A color used for visual accents such as spinners.")] - public string? accent { get; set; } - + [Description("A color used for visual accents such as spinners.")] + public string? accent { get; set; } + /// ///A color used for backgrounds. /// - [Description("A color used for backgrounds.")] - public string? background { get; set; } - + [Description("A color used for backgrounds.")] + public string? background { get; set; } + /// ///A color used for components that sit on backgrounds like text and form controls. /// - [Description("A color used for components that sit on backgrounds like text and form controls.")] - public string? foreground { get; set; } - } - + [Description("A color used for components that sit on backgrounds like text and form controls.")] + public string? foreground { get; set; } + } + /// ///The input fields used to update a color group. /// - [Description("The input fields used to update a color group.")] - public class CheckoutBrandingColorGroupInput : GraphQLObject - { + [Description("The input fields used to update a color group.")] + public class CheckoutBrandingColorGroupInput : GraphQLObject + { /// ///A color used for visual accents such as spinners. /// - [Description("A color used for visual accents such as spinners.")] - public string? accent { get; set; } - + [Description("A color used for visual accents such as spinners.")] + public string? accent { get; set; } + /// ///A color used for backgrounds. /// - [Description("A color used for backgrounds.")] - public string? background { get; set; } - + [Description("A color used for backgrounds.")] + public string? background { get; set; } + /// ///A color used for components that sit on backgrounds like text and form controls. /// - [Description("A color used for components that sit on backgrounds like text and form controls.")] - public string? foreground { get; set; } - } - + [Description("A color used for components that sit on backgrounds like text and form controls.")] + public string? foreground { get; set; } + } + /// ///The color palette. /// - [Description("The color palette.")] - public class CheckoutBrandingColorPalette : GraphQLObject - { + [Description("The color palette.")] + public class CheckoutBrandingColorPalette : GraphQLObject + { /// ///A color group used for loading screens. /// - [Description("A color group used for loading screens.")] - public CheckoutBrandingColorGroup? canvas { get; set; } - + [Description("A color group used for loading screens.")] + public CheckoutBrandingColorGroup? canvas { get; set; } + /// ///A color group used for the main content area. /// - [Description("A color group used for the main content area.")] - public CheckoutBrandingColorGroup? color1 { get; set; } - + [Description("A color group used for the main content area.")] + public CheckoutBrandingColorGroup? color1 { get; set; } + /// ///A color group used for secondary content such as the order summary. /// - [Description("A color group used for secondary content such as the order summary.")] - public CheckoutBrandingColorGroup? color2 { get; set; } - + [Description("A color group used for secondary content such as the order summary.")] + public CheckoutBrandingColorGroup? color2 { get; set; } + /// ///A color group used for critical information such as errors. /// - [Description("A color group used for critical information such as errors.")] - public CheckoutBrandingColorGroup? critical { get; set; } - + [Description("A color group used for critical information such as errors.")] + public CheckoutBrandingColorGroup? critical { get; set; } + /// ///A color group used for interactive components such as links. /// - [Description("A color group used for interactive components such as links.")] - public CheckoutBrandingColorGroup? interactive { get; set; } - + [Description("A color group used for interactive components such as links.")] + public CheckoutBrandingColorGroup? interactive { get; set; } + /// ///A color group used for primary action buttons. /// - [Description("A color group used for primary action buttons.")] - public CheckoutBrandingColorGroup? primary { get; set; } - } - + [Description("A color group used for primary action buttons.")] + public CheckoutBrandingColorGroup? primary { get; set; } + } + /// ///The input fields used to update the color palette. /// - [Description("The input fields used to update the color palette.")] - public class CheckoutBrandingColorPaletteInput : GraphQLObject - { + [Description("The input fields used to update the color palette.")] + public class CheckoutBrandingColorPaletteInput : GraphQLObject + { /// ///A color group used for loading screens. /// - [Description("A color group used for loading screens.")] - public CheckoutBrandingColorGroupInput? canvas { get; set; } - + [Description("A color group used for loading screens.")] + public CheckoutBrandingColorGroupInput? canvas { get; set; } + /// ///A color group used for primary action buttons. /// - [Description("A color group used for primary action buttons.")] - public CheckoutBrandingColorGroupInput? primary { get; set; } - + [Description("A color group used for primary action buttons.")] + public CheckoutBrandingColorGroupInput? primary { get; set; } + /// ///A color group used for interactive components such as links. /// - [Description("A color group used for interactive components such as links.")] - public CheckoutBrandingColorGroupInput? interactive { get; set; } - + [Description("A color group used for interactive components such as links.")] + public CheckoutBrandingColorGroupInput? interactive { get; set; } + /// ///A color group for critical information such as errors. /// - [Description("A color group for critical information such as errors.")] - public CheckoutBrandingColorGroupInput? critical { get; set; } - + [Description("A color group for critical information such as errors.")] + public CheckoutBrandingColorGroupInput? critical { get; set; } + /// ///A color group used for the main content area. /// - [Description("A color group used for the main content area.")] - public CheckoutBrandingColorGroupInput? color1 { get; set; } - + [Description("A color group used for the main content area.")] + public CheckoutBrandingColorGroupInput? color1 { get; set; } + /// ///A color group used for secondary content such as the order summary. /// - [Description("A color group used for secondary content such as the order summary.")] - public CheckoutBrandingColorGroupInput? color2 { get; set; } - } - + [Description("A color group used for secondary content such as the order summary.")] + public CheckoutBrandingColorGroupInput? color2 { get; set; } + } + /// ///A group of colors used together on a surface. /// - [Description("A group of colors used together on a surface.")] - public class CheckoutBrandingColorRoles : GraphQLObject - { + [Description("A group of colors used together on a surface.")] + public class CheckoutBrandingColorRoles : GraphQLObject + { /// ///The color of accented objects (links and focused state). /// - [Description("The color of accented objects (links and focused state).")] - public string? accent { get; set; } - + [Description("The color of accented objects (links and focused state).")] + public string? accent { get; set; } + /// ///The color of the background. /// - [Description("The color of the background.")] - public string? background { get; set; } - + [Description("The color of the background.")] + public string? background { get; set; } + /// ///The color of borders. /// - [Description("The color of borders.")] - public string? border { get; set; } - + [Description("The color of borders.")] + public string? border { get; set; } + /// ///The decorative color for highlighting specific parts of the user interface. /// - [Description("The decorative color for highlighting specific parts of the user interface.")] - public string? decorative { get; set; } - + [Description("The decorative color for highlighting specific parts of the user interface.")] + public string? decorative { get; set; } + /// ///The color of icons. /// - [Description("The color of icons.")] - public string? icon { get; set; } - + [Description("The color of icons.")] + public string? icon { get; set; } + /// ///The color of text. /// - [Description("The color of text.")] - public string? text { get; set; } - } - + [Description("The color of text.")] + public string? text { get; set; } + } + /// ///The input fields for a group of colors used together on a surface. /// - [Description("The input fields for a group of colors used together on a surface.")] - public class CheckoutBrandingColorRolesInput : GraphQLObject - { + [Description("The input fields for a group of colors used together on a surface.")] + public class CheckoutBrandingColorRolesInput : GraphQLObject + { /// ///The color of the background. /// - [Description("The color of the background.")] - public string? background { get; set; } - + [Description("The color of the background.")] + public string? background { get; set; } + /// ///The color of text. /// - [Description("The color of text.")] - public string? text { get; set; } - + [Description("The color of text.")] + public string? text { get; set; } + /// ///The color of borders. /// - [Description("The color of borders.")] - public string? border { get; set; } - + [Description("The color of borders.")] + public string? border { get; set; } + /// ///The color of icons. /// - [Description("The color of icons.")] - public string? icon { get; set; } - + [Description("The color of icons.")] + public string? icon { get; set; } + /// ///The color of accented objects (links and focused state). /// - [Description("The color of accented objects (links and focused state).")] - public string? accent { get; set; } - + [Description("The color of accented objects (links and focused state).")] + public string? accent { get; set; } + /// ///The decorative color for highlighting specific parts of the user interface. /// - [Description("The decorative color for highlighting specific parts of the user interface.")] - public string? decorative { get; set; } - } - + [Description("The decorative color for highlighting specific parts of the user interface.")] + public string? decorative { get; set; } + } + /// ///A base set of color customizations that's applied to an area of Checkout, from which every component ///pulls its colors. /// - [Description("A base set of color customizations that's applied to an area of Checkout, from which every component\npulls its colors.")] - public class CheckoutBrandingColorScheme : GraphQLObject - { + [Description("A base set of color customizations that's applied to an area of Checkout, from which every component\npulls its colors.")] + public class CheckoutBrandingColorScheme : GraphQLObject + { /// ///The main colors of a scheme. Used for the surface background, text, links, and more. /// - [Description("The main colors of a scheme. Used for the surface background, text, links, and more.")] - public CheckoutBrandingColorRoles? @base { get; set; } - + [Description("The main colors of a scheme. Used for the surface background, text, links, and more.")] + public CheckoutBrandingColorRoles? @base { get; set; } + /// ///The colors of form controls, such as the [`TextField`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/textfield) and [`ChoiceList`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/choicelist) components. /// - [Description("The colors of form controls, such as the [`TextField`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/textfield) and [`ChoiceList`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/choicelist) components.")] - public CheckoutBrandingControlColorRoles? control { get; set; } - + [Description("The colors of form controls, such as the [`TextField`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/textfield) and [`ChoiceList`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/choicelist) components.")] + public CheckoutBrandingControlColorRoles? control { get; set; } + /// ///The colors of the primary button. For example, the main payment, or **Pay now** button. /// - [Description("The colors of the primary button. For example, the main payment, or **Pay now** button.")] - public CheckoutBrandingButtonColorRoles? primaryButton { get; set; } - + [Description("The colors of the primary button. For example, the main payment, or **Pay now** button.")] + public CheckoutBrandingButtonColorRoles? primaryButton { get; set; } + /// ///The colors of the secondary button, which is used for secondary actions. For example, **Buy again**. /// - [Description("The colors of the secondary button, which is used for secondary actions. For example, **Buy again**.")] - public CheckoutBrandingButtonColorRoles? secondaryButton { get; set; } - } - + [Description("The colors of the secondary button, which is used for secondary actions. For example, **Buy again**.")] + public CheckoutBrandingButtonColorRoles? secondaryButton { get; set; } + } + /// ///The input fields for a base set of color customizations that's applied to an area of Checkout, from which ///every component pulls its colors. /// - [Description("The input fields for a base set of color customizations that's applied to an area of Checkout, from which\nevery component pulls its colors.")] - public class CheckoutBrandingColorSchemeInput : GraphQLObject - { + [Description("The input fields for a base set of color customizations that's applied to an area of Checkout, from which\nevery component pulls its colors.")] + public class CheckoutBrandingColorSchemeInput : GraphQLObject + { /// ///The main colors of a scheme. Used for the surface background, text, links, and more. /// - [Description("The main colors of a scheme. Used for the surface background, text, links, and more.")] - public CheckoutBrandingColorRolesInput? @base { get; set; } - + [Description("The main colors of a scheme. Used for the surface background, text, links, and more.")] + public CheckoutBrandingColorRolesInput? @base { get; set; } + /// ///The colors of form controls, such as the [`TextField`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/textfield) and [`ChoiceList`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/choicelist) components. /// - [Description("The colors of form controls, such as the [`TextField`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/textfield) and [`ChoiceList`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/choicelist) components.")] - public CheckoutBrandingControlColorRolesInput? control { get; set; } - + [Description("The colors of form controls, such as the [`TextField`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/textfield) and [`ChoiceList`](https://shopify.dev/docs/api/checkout-ui-extensions/latest/components/forms/choicelist) components.")] + public CheckoutBrandingControlColorRolesInput? control { get; set; } + /// ///The colors of the primary button. For example, the main payment, or **Pay now** button. /// - [Description("The colors of the primary button. For example, the main payment, or **Pay now** button.")] - public CheckoutBrandingButtonColorRolesInput? primaryButton { get; set; } - + [Description("The colors of the primary button. For example, the main payment, or **Pay now** button.")] + public CheckoutBrandingButtonColorRolesInput? primaryButton { get; set; } + /// ///The colors of the secondary button, which is used for secondary actions. For example, **Buy again**. /// - [Description("The colors of the secondary button, which is used for secondary actions. For example, **Buy again**.")] - public CheckoutBrandingButtonColorRolesInput? secondaryButton { get; set; } - } - + [Description("The colors of the secondary button, which is used for secondary actions. For example, **Buy again**.")] + public CheckoutBrandingButtonColorRolesInput? secondaryButton { get; set; } + } + /// ///The possible color schemes. /// - [Description("The possible color schemes.")] - public enum CheckoutBrandingColorSchemeSelection - { + [Description("The possible color schemes.")] + public enum CheckoutBrandingColorSchemeSelection + { /// ///The TRANSPARENT color scheme selection. /// - [Description("The TRANSPARENT color scheme selection.")] - TRANSPARENT, + [Description("The TRANSPARENT color scheme selection.")] + TRANSPARENT, /// ///The COLOR_SCHEME1 color scheme selection. /// - [Description("The COLOR_SCHEME1 color scheme selection.")] - COLOR_SCHEME1, + [Description("The COLOR_SCHEME1 color scheme selection.")] + COLOR_SCHEME1, /// ///The COLOR_SCHEME2 color scheme selection. /// - [Description("The COLOR_SCHEME2 color scheme selection.")] - COLOR_SCHEME2, + [Description("The COLOR_SCHEME2 color scheme selection.")] + COLOR_SCHEME2, /// ///The COLOR_SCHEME3 color scheme selection. /// - [Description("The COLOR_SCHEME3 color scheme selection.")] - COLOR_SCHEME3, + [Description("The COLOR_SCHEME3 color scheme selection.")] + COLOR_SCHEME3, /// ///The COLOR_SCHEME4 color scheme selection. /// - [Description("The COLOR_SCHEME4 color scheme selection.")] - COLOR_SCHEME4, - } - - public static class CheckoutBrandingColorSchemeSelectionStringValues - { - public const string TRANSPARENT = @"TRANSPARENT"; - public const string COLOR_SCHEME1 = @"COLOR_SCHEME1"; - public const string COLOR_SCHEME2 = @"COLOR_SCHEME2"; - public const string COLOR_SCHEME3 = @"COLOR_SCHEME3"; - public const string COLOR_SCHEME4 = @"COLOR_SCHEME4"; - } - + [Description("The COLOR_SCHEME4 color scheme selection.")] + COLOR_SCHEME4, + } + + public static class CheckoutBrandingColorSchemeSelectionStringValues + { + public const string TRANSPARENT = @"TRANSPARENT"; + public const string COLOR_SCHEME1 = @"COLOR_SCHEME1"; + public const string COLOR_SCHEME2 = @"COLOR_SCHEME2"; + public const string COLOR_SCHEME3 = @"COLOR_SCHEME3"; + public const string COLOR_SCHEME4 = @"COLOR_SCHEME4"; + } + /// ///The color schemes. /// - [Description("The color schemes.")] - public class CheckoutBrandingColorSchemes : GraphQLObject - { + [Description("The color schemes.")] + public class CheckoutBrandingColorSchemes : GraphQLObject + { /// ///The primary scheme. By default, it’s used for the main area of the interface. /// - [Description("The primary scheme. By default, it’s used for the main area of the interface.")] - public CheckoutBrandingColorScheme? scheme1 { get; set; } - + [Description("The primary scheme. By default, it’s used for the main area of the interface.")] + public CheckoutBrandingColorScheme? scheme1 { get; set; } + /// ///The secondary scheme. By default, it’s used for secondary areas, like Checkout’s Order Summary. /// - [Description("The secondary scheme. By default, it’s used for secondary areas, like Checkout’s Order Summary.")] - public CheckoutBrandingColorScheme? scheme2 { get; set; } - + [Description("The secondary scheme. By default, it’s used for secondary areas, like Checkout’s Order Summary.")] + public CheckoutBrandingColorScheme? scheme2 { get; set; } + /// ///An extra scheme available to customize more surfaces, components or specific states of the user interface. /// - [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] - public CheckoutBrandingColorScheme? scheme3 { get; set; } - + [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] + public CheckoutBrandingColorScheme? scheme3 { get; set; } + /// ///An extra scheme available to customize more surfaces, components or specific states of the user interface. /// - [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] - public CheckoutBrandingColorScheme? scheme4 { get; set; } - } - + [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] + public CheckoutBrandingColorScheme? scheme4 { get; set; } + } + /// ///The input fields for the color schemes. /// - [Description("The input fields for the color schemes.")] - public class CheckoutBrandingColorSchemesInput : GraphQLObject - { + [Description("The input fields for the color schemes.")] + public class CheckoutBrandingColorSchemesInput : GraphQLObject + { /// ///The primary scheme. By default, it’s used for the main area of the interface. /// - [Description("The primary scheme. By default, it’s used for the main area of the interface.")] - public CheckoutBrandingColorSchemeInput? scheme1 { get; set; } - + [Description("The primary scheme. By default, it’s used for the main area of the interface.")] + public CheckoutBrandingColorSchemeInput? scheme1 { get; set; } + /// ///The secondary scheme. By default, it’s used for secondary areas, like Checkout’s Order Summary. /// - [Description("The secondary scheme. By default, it’s used for secondary areas, like Checkout’s Order Summary.")] - public CheckoutBrandingColorSchemeInput? scheme2 { get; set; } - + [Description("The secondary scheme. By default, it’s used for secondary areas, like Checkout’s Order Summary.")] + public CheckoutBrandingColorSchemeInput? scheme2 { get; set; } + /// ///An extra scheme available to customize more surfaces, components or specific states of the user interface. /// - [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] - public CheckoutBrandingColorSchemeInput? scheme3 { get; set; } - + [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] + public CheckoutBrandingColorSchemeInput? scheme3 { get; set; } + /// ///An extra scheme available to customize more surfaces, components or specific states of the user interface. /// - [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] - public CheckoutBrandingColorSchemeInput? scheme4 { get; set; } - } - + [Description("An extra scheme available to customize more surfaces, components or specific states of the user interface.")] + public CheckoutBrandingColorSchemeInput? scheme4 { get; set; } + } + /// ///The possible colors. /// - [Description("The possible colors.")] - public enum CheckoutBrandingColorSelection - { + [Description("The possible colors.")] + public enum CheckoutBrandingColorSelection + { /// ///Transparent color selection. /// - [Description("Transparent color selection.")] - TRANSPARENT, + [Description("Transparent color selection.")] + TRANSPARENT, /// ///Color1 color selection. /// - [Description("Color1 color selection.")] - [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] - COLOR1, + [Description("Color1 color selection.")] + [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] + COLOR1, /// ///Color2 color selection. /// - [Description("Color2 color selection.")] - [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] - COLOR2, - } - - public static class CheckoutBrandingColorSelectionStringValues - { - public const string TRANSPARENT = @"TRANSPARENT"; - [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] - public const string COLOR1 = @"COLOR1"; - [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] - public const string COLOR2 = @"COLOR2"; - } - + [Description("Color2 color selection.")] + [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] + COLOR2, + } + + public static class CheckoutBrandingColorSelectionStringValues + { + public const string TRANSPARENT = @"TRANSPARENT"; + [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] + public const string COLOR1 = @"COLOR1"; + [Obsolete("Modify the control colors for the scheme applied to the desired section instead. For example, to change the control background color when `main` is set to `scheme1`, set `design_system.colors.schemes.scheme1.control.background`.")] + public const string COLOR2 = @"COLOR2"; + } + /// ///The color settings for global colors and color schemes. /// - [Description("The color settings for global colors and color schemes.")] - public class CheckoutBrandingColors : GraphQLObject - { + [Description("The color settings for global colors and color schemes.")] + public class CheckoutBrandingColors : GraphQLObject + { /// ///A group of global colors for customizing the overall look and feel of the user interface. /// - [Description("A group of global colors for customizing the overall look and feel of the user interface.")] - public CheckoutBrandingColorGlobal? global { get; set; } - + [Description("A group of global colors for customizing the overall look and feel of the user interface.")] + public CheckoutBrandingColorGlobal? global { get; set; } + /// ///A set of color schemes which apply to different areas of the user interface. /// - [Description("A set of color schemes which apply to different areas of the user interface.")] - public CheckoutBrandingColorSchemes? schemes { get; set; } - } - + [Description("A set of color schemes which apply to different areas of the user interface.")] + public CheckoutBrandingColorSchemes? schemes { get; set; } + } + /// ///The input fields used to update the color settings for global colors and color schemes. /// - [Description("The input fields used to update the color settings for global colors and color schemes.")] - public class CheckoutBrandingColorsInput : GraphQLObject - { + [Description("The input fields used to update the color settings for global colors and color schemes.")] + public class CheckoutBrandingColorsInput : GraphQLObject + { /// ///The input to update global colors for customizing the overall look and feel of the user interface. /// - [Description("The input to update global colors for customizing the overall look and feel of the user interface.")] - public CheckoutBrandingColorGlobalInput? global { get; set; } - + [Description("The input to update global colors for customizing the overall look and feel of the user interface.")] + public CheckoutBrandingColorGlobalInput? global { get; set; } + /// ///The input to define color schemes which apply to different areas of the user interface. /// - [Description("The input to define color schemes which apply to different areas of the user interface.")] - public CheckoutBrandingColorSchemesInput? schemes { get; set; } - } - + [Description("The input to define color schemes which apply to different areas of the user interface.")] + public CheckoutBrandingColorSchemesInput? schemes { get; set; } + } + /// ///The container's divider customizations. /// - [Description("The container's divider customizations.")] - public class CheckoutBrandingContainerDivider : GraphQLObject - { + [Description("The container's divider customizations.")] + public class CheckoutBrandingContainerDivider : GraphQLObject + { /// ///The divider style. /// - [Description("The divider style.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The divider style.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The divider width. /// - [Description("The divider width.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - + [Description("The divider width.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + /// ///The divider visibility. /// - [Description("The divider visibility.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The divider visibility.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///The input fields used to update a container's divider customizations. /// - [Description("The input fields used to update a container's divider customizations.")] - public class CheckoutBrandingContainerDividerInput : GraphQLObject - { + [Description("The input fields used to update a container's divider customizations.")] + public class CheckoutBrandingContainerDividerInput : GraphQLObject + { /// ///The divider style. /// - [Description("The divider style.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The divider style.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The divider width. /// - [Description("The divider width.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - + [Description("The divider width.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + /// ///The divider visibility. /// - [Description("The divider visibility.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The divider visibility.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///The content container customizations. /// - [Description("The content container customizations.")] - public class CheckoutBrandingContent : GraphQLObject - { + [Description("The content container customizations.")] + public class CheckoutBrandingContent : GraphQLObject + { /// ///The content container's divider style and visibility. /// - [Description("The content container's divider style and visibility.")] - public CheckoutBrandingContainerDivider? divider { get; set; } - } - + [Description("The content container's divider style and visibility.")] + public CheckoutBrandingContainerDivider? divider { get; set; } + } + /// ///The input fields used to update the content container customizations. /// - [Description("The input fields used to update the content container customizations.")] - public class CheckoutBrandingContentInput : GraphQLObject - { + [Description("The input fields used to update the content container customizations.")] + public class CheckoutBrandingContentInput : GraphQLObject + { /// ///Divider style and visibility on the content container. /// - [Description("Divider style and visibility on the content container.")] - public CheckoutBrandingContainerDividerInput? divider { get; set; } - } - + [Description("Divider style and visibility on the content container.")] + public CheckoutBrandingContainerDividerInput? divider { get; set; } + } + /// ///The form controls customizations. /// - [Description("The form controls customizations.")] - public class CheckoutBrandingControl : GraphQLObject - { + [Description("The form controls customizations.")] + public class CheckoutBrandingControl : GraphQLObject + { /// ///The border used for form controls. /// - [Description("The border used for form controls.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border used for form controls.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///Set to TRANSPARENT to define transparent form controls. If null, form controls inherit colors from their scheme settings (for example, the main section inherits from `design_system.colors.schemes.scheme1.control` by default). Note that usage of the `customizations.control.color` setting to customize the form control color is deprecated. /// - [Description("Set to TRANSPARENT to define transparent form controls. If null, form controls inherit colors from their scheme settings (for example, the main section inherits from `design_system.colors.schemes.scheme1.control` by default). Note that usage of the `customizations.control.color` setting to customize the form control color is deprecated.")] - [EnumType(typeof(CheckoutBrandingColorSelection))] - public string? color { get; set; } - + [Description("Set to TRANSPARENT to define transparent form controls. If null, form controls inherit colors from their scheme settings (for example, the main section inherits from `design_system.colors.schemes.scheme1.control` by default). Note that usage of the `customizations.control.color` setting to customize the form control color is deprecated.")] + [EnumType(typeof(CheckoutBrandingColorSelection))] + public string? color { get; set; } + /// ///The corner radius used for form controls. /// - [Description("The corner radius used for form controls.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius used for form controls.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The label position used for form controls. /// - [Description("The label position used for form controls.")] - [EnumType(typeof(CheckoutBrandingLabelPosition))] - public string? labelPosition { get; set; } - } - + [Description("The label position used for form controls.")] + [EnumType(typeof(CheckoutBrandingLabelPosition))] + public string? labelPosition { get; set; } + } + /// ///Colors for form controls. /// - [Description("Colors for form controls.")] - public class CheckoutBrandingControlColorRoles : GraphQLObject - { + [Description("Colors for form controls.")] + public class CheckoutBrandingControlColorRoles : GraphQLObject + { /// ///The color of accented objects (links and focused state). /// - [Description("The color of accented objects (links and focused state).")] - public string? accent { get; set; } - + [Description("The color of accented objects (links and focused state).")] + public string? accent { get; set; } + /// ///The color of the background. /// - [Description("The color of the background.")] - public string? background { get; set; } - + [Description("The color of the background.")] + public string? background { get; set; } + /// ///The color of borders. /// - [Description("The color of borders.")] - public string? border { get; set; } - + [Description("The color of borders.")] + public string? border { get; set; } + /// ///The decorative color for highlighting specific parts of the user interface. /// - [Description("The decorative color for highlighting specific parts of the user interface.")] - public string? decorative { get; set; } - + [Description("The decorative color for highlighting specific parts of the user interface.")] + public string? decorative { get; set; } + /// ///The color of icons. /// - [Description("The color of icons.")] - public string? icon { get; set; } - + [Description("The color of icons.")] + public string? icon { get; set; } + /// ///The colors of selected controls. /// - [Description("The colors of selected controls.")] - public CheckoutBrandingColorRoles? selected { get; set; } - + [Description("The colors of selected controls.")] + public CheckoutBrandingColorRoles? selected { get; set; } + /// ///The color of text. /// - [Description("The color of text.")] - public string? text { get; set; } - } - + [Description("The color of text.")] + public string? text { get; set; } + } + /// ///The input fields to define colors for form controls. /// - [Description("The input fields to define colors for form controls.")] - public class CheckoutBrandingControlColorRolesInput : GraphQLObject - { + [Description("The input fields to define colors for form controls.")] + public class CheckoutBrandingControlColorRolesInput : GraphQLObject + { /// ///The color of the background. /// - [Description("The color of the background.")] - public string? background { get; set; } - + [Description("The color of the background.")] + public string? background { get; set; } + /// ///The color of text. /// - [Description("The color of text.")] - public string? text { get; set; } - + [Description("The color of text.")] + public string? text { get; set; } + /// ///The color of borders. /// - [Description("The color of borders.")] - public string? border { get; set; } - + [Description("The color of borders.")] + public string? border { get; set; } + /// ///The color of icons. /// - [Description("The color of icons.")] - public string? icon { get; set; } - + [Description("The color of icons.")] + public string? icon { get; set; } + /// ///The color of accented objects (links and focused state). /// - [Description("The color of accented objects (links and focused state).")] - public string? accent { get; set; } - + [Description("The color of accented objects (links and focused state).")] + public string? accent { get; set; } + /// ///The decorative color for highlighting specific parts of the user interface. /// - [Description("The decorative color for highlighting specific parts of the user interface.")] - public string? decorative { get; set; } - + [Description("The decorative color for highlighting specific parts of the user interface.")] + public string? decorative { get; set; } + /// ///The colors of selected controls. /// - [Description("The colors of selected controls.")] - public CheckoutBrandingColorRolesInput? selected { get; set; } - } - + [Description("The colors of selected controls.")] + public CheckoutBrandingColorRolesInput? selected { get; set; } + } + /// ///The input fields used to update the form controls customizations. /// - [Description("The input fields used to update the form controls customizations.")] - public class CheckoutBrandingControlInput : GraphQLObject - { + [Description("The input fields used to update the form controls customizations.")] + public class CheckoutBrandingControlInput : GraphQLObject + { /// ///Set to TRANSPARENT to define transparent form controls. If null, form controls inherit colors from their scheme settings (for example, the main section inherits from `design_system.colors.schemes.scheme1.control` by default). Note that usage of the `customizations.control.color` setting to customize the form control color is deprecated. /// - [Description("Set to TRANSPARENT to define transparent form controls. If null, form controls inherit colors from their scheme settings (for example, the main section inherits from `design_system.colors.schemes.scheme1.control` by default). Note that usage of the `customizations.control.color` setting to customize the form control color is deprecated.")] - [EnumType(typeof(CheckoutBrandingColorSelection))] - public string? color { get; set; } - + [Description("Set to TRANSPARENT to define transparent form controls. If null, form controls inherit colors from their scheme settings (for example, the main section inherits from `design_system.colors.schemes.scheme1.control` by default). Note that usage of the `customizations.control.color` setting to customize the form control color is deprecated.")] + [EnumType(typeof(CheckoutBrandingColorSelection))] + public string? color { get; set; } + /// ///The corner radius used for form controls. /// - [Description("The corner radius used for form controls.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius used for form controls.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The border used for form controls. /// - [Description("The border used for form controls.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border used for form controls.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The label position used for form controls. /// - [Description("The label position used for form controls.")] - [EnumType(typeof(CheckoutBrandingLabelPosition))] - public string? labelPosition { get; set; } - } - + [Description("The label position used for form controls.")] + [EnumType(typeof(CheckoutBrandingLabelPosition))] + public string? labelPosition { get; set; } + } + /// ///The options for customizing the corner radius of checkout-related objects. Examples include the primary ///button, the name text fields and the sections within the main area (if they have borders). @@ -12577,975 +12577,975 @@ public class CheckoutBrandingControlInput : GraphQLObject - [Description("The options for customizing the corner radius of checkout-related objects. Examples include the primary\nbutton, the name text fields and the sections within the main area (if they have borders).\nRefer to this complete [list](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius#fieldswith)\nfor objects with customizable corner radii.\n\nThe design system defines the corner radius pixel size for each option. Modify the defaults by setting the\n[designSystem.cornerRadius](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CheckoutBrandingDesignSystemInput#field-checkoutbrandingdesignsysteminput-cornerradius)\ninput fields.")] - public enum CheckoutBrandingCornerRadius - { + [Description("The options for customizing the corner radius of checkout-related objects. Examples include the primary\nbutton, the name text fields and the sections within the main area (if they have borders).\nRefer to this complete [list](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius#fieldswith)\nfor objects with customizable corner radii.\n\nThe design system defines the corner radius pixel size for each option. Modify the defaults by setting the\n[designSystem.cornerRadius](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CheckoutBrandingDesignSystemInput#field-checkoutbrandingdesignsysteminput-cornerradius)\ninput fields.")] + public enum CheckoutBrandingCornerRadius + { /// ///The 0px corner radius (square corners). /// - [Description("The 0px corner radius (square corners).")] - NONE, + [Description("The 0px corner radius (square corners).")] + NONE, /// ///The corner radius with a pixel value defined by designSystem.cornerRadius.small. /// - [Description("The corner radius with a pixel value defined by designSystem.cornerRadius.small.")] - SMALL, + [Description("The corner radius with a pixel value defined by designSystem.cornerRadius.small.")] + SMALL, /// ///The corner radius with a pixel value defined by designSystem.cornerRadius.base. /// - [Description("The corner radius with a pixel value defined by designSystem.cornerRadius.base.")] - BASE, + [Description("The corner radius with a pixel value defined by designSystem.cornerRadius.base.")] + BASE, /// ///The corner radius with a pixel value defined by designSystem.cornerRadius.large. /// - [Description("The corner radius with a pixel value defined by designSystem.cornerRadius.large.")] - LARGE, - } - - public static class CheckoutBrandingCornerRadiusStringValues - { - public const string NONE = @"NONE"; - public const string SMALL = @"SMALL"; - public const string BASE = @"BASE"; - public const string LARGE = @"LARGE"; - } - + [Description("The corner radius with a pixel value defined by designSystem.cornerRadius.large.")] + LARGE, + } + + public static class CheckoutBrandingCornerRadiusStringValues + { + public const string NONE = @"NONE"; + public const string SMALL = @"SMALL"; + public const string BASE = @"BASE"; + public const string LARGE = @"LARGE"; + } + /// ///Define the pixel size of corner radius options. /// - [Description("Define the pixel size of corner radius options.")] - public class CheckoutBrandingCornerRadiusVariables : GraphQLObject - { + [Description("Define the pixel size of corner radius options.")] + public class CheckoutBrandingCornerRadiusVariables : GraphQLObject + { /// ///The value in pixels for base corner radii. Example: 5. /// - [Description("The value in pixels for base corner radii. Example: 5.")] - public int? @base { get; set; } - + [Description("The value in pixels for base corner radii. Example: 5.")] + public int? @base { get; set; } + /// ///The value in pixels for large corner radii. Example: 10. /// - [Description("The value in pixels for large corner radii. Example: 10.")] - public int? large { get; set; } - + [Description("The value in pixels for large corner radii. Example: 10.")] + public int? large { get; set; } + /// ///The value in pixels for small corner radii. Example: 3. /// - [Description("The value in pixels for small corner radii. Example: 3.")] - public int? small { get; set; } - } - + [Description("The value in pixels for small corner radii. Example: 3.")] + public int? small { get; set; } + } + /// ///The input fields used to update the corner radius variables. /// - [Description("The input fields used to update the corner radius variables.")] - public class CheckoutBrandingCornerRadiusVariablesInput : GraphQLObject - { + [Description("The input fields used to update the corner radius variables.")] + public class CheckoutBrandingCornerRadiusVariablesInput : GraphQLObject + { /// ///The value in pixels for small corner radii. It should be greater than zero. Example: 3. /// - [Description("The value in pixels for small corner radii. It should be greater than zero. Example: 3.")] - public int? small { get; set; } - + [Description("The value in pixels for small corner radii. It should be greater than zero. Example: 3.")] + public int? small { get; set; } + /// ///The value in pixels for base corner radii. It should be greater than zero. Example: 5. /// - [Description("The value in pixels for base corner radii. It should be greater than zero. Example: 5.")] - public int? @base { get; set; } - + [Description("The value in pixels for base corner radii. It should be greater than zero. Example: 5.")] + public int? @base { get; set; } + /// ///The value in pixels for large corner radii. It should be greater than zero. Example: 10. /// - [Description("The value in pixels for large corner radii. It should be greater than zero. Example: 10.")] - public int? large { get; set; } - } - + [Description("The value in pixels for large corner radii. It should be greater than zero. Example: 10.")] + public int? large { get; set; } + } + /// ///A custom font. /// - [Description("A custom font.")] - public class CheckoutBrandingCustomFont : GraphQLObject, ICheckoutBrandingFont - { + [Description("A custom font.")] + public class CheckoutBrandingCustomFont : GraphQLObject, ICheckoutBrandingFont + { /// ///Globally unique ID reference to the custom font file. /// - [Description("Globally unique ID reference to the custom font file.")] - public string? genericFileId { get; set; } - + [Description("Globally unique ID reference to the custom font file.")] + public string? genericFileId { get; set; } + /// ///The font sources. /// - [Description("The font sources.")] - public string? sources { get; set; } - + [Description("The font sources.")] + public string? sources { get; set; } + /// ///The font weight. /// - [Description("The font weight.")] - public int? weight { get; set; } - } - + [Description("The font weight.")] + public int? weight { get; set; } + } + /// ///The input fields required to update a custom font group. /// - [Description("The input fields required to update a custom font group.")] - public class CheckoutBrandingCustomFontGroupInput : GraphQLObject - { + [Description("The input fields required to update a custom font group.")] + public class CheckoutBrandingCustomFontGroupInput : GraphQLObject + { /// ///The base font. /// - [Description("The base font.")] - [NonNull] - public CheckoutBrandingCustomFontInput? @base { get; set; } - + [Description("The base font.")] + [NonNull] + public CheckoutBrandingCustomFontInput? @base { get; set; } + /// ///The bold font. /// - [Description("The bold font.")] - [NonNull] - public CheckoutBrandingCustomFontInput? bold { get; set; } - + [Description("The bold font.")] + [NonNull] + public CheckoutBrandingCustomFontInput? bold { get; set; } + /// ///The font loading strategy. /// - [Description("The font loading strategy.")] - [EnumType(typeof(CheckoutBrandingFontLoadingStrategy))] - public string? loadingStrategy { get; set; } - } - + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + } + /// ///The input fields required to update a font. /// - [Description("The input fields required to update a font.")] - public class CheckoutBrandingCustomFontInput : GraphQLObject - { + [Description("The input fields required to update a font.")] + public class CheckoutBrandingCustomFontInput : GraphQLObject + { /// ///The font weight. Its value should be between 100 and 900. /// - [Description("The font weight. Its value should be between 100 and 900.")] - [NonNull] - public int? weight { get; set; } - + [Description("The font weight. Its value should be between 100 and 900.")] + [NonNull] + public int? weight { get; set; } + /// ///A globally-unique ID for a font file uploaded via the Files api. ///Allowed font types are .woff and .woff2. /// - [Description("A globally-unique ID for a font file uploaded via the Files api.\nAllowed font types are .woff and .woff2.")] - [NonNull] - public string? genericFileId { get; set; } - } - + [Description("A globally-unique ID for a font file uploaded via the Files api.\nAllowed font types are .woff and .woff2.")] + [NonNull] + public string? genericFileId { get; set; } + } + /// ///The customizations that apply to specific components or areas of the user interface. /// - [Description("The customizations that apply to specific components or areas of the user interface.")] - public class CheckoutBrandingCustomizations : GraphQLObject - { + [Description("The customizations that apply to specific components or areas of the user interface.")] + public class CheckoutBrandingCustomizations : GraphQLObject + { /// ///The customizations for the breadcrumbs that represent a buyer's journey to the checkout. /// - [Description("The customizations for the breadcrumbs that represent a buyer's journey to the checkout.")] - public CheckoutBrandingBuyerJourney? buyerJourney { get; set; } - + [Description("The customizations for the breadcrumbs that represent a buyer's journey to the checkout.")] + public CheckoutBrandingBuyerJourney? buyerJourney { get; set; } + /// ///The checkout cart link customizations. For example, by setting the visibility field to `HIDDEN`, you can hide the cart icon in the header for one-page checkout, and the cart link in breadcrumbs in three-page checkout. /// - [Description("The checkout cart link customizations. For example, by setting the visibility field to `HIDDEN`, you can hide the cart icon in the header for one-page checkout, and the cart link in breadcrumbs in three-page checkout.")] - public CheckoutBrandingCartLink? cartLink { get; set; } - + [Description("The checkout cart link customizations. For example, by setting the visibility field to `HIDDEN`, you can hide the cart icon in the header for one-page checkout, and the cart link in breadcrumbs in three-page checkout.")] + public CheckoutBrandingCartLink? cartLink { get; set; } + /// ///The checkboxes customizations. /// - [Description("The checkboxes customizations.")] - public CheckoutBrandingCheckbox? checkbox { get; set; } - + [Description("The checkboxes customizations.")] + public CheckoutBrandingCheckbox? checkbox { get; set; } + /// ///The choice list customizations. /// - [Description("The choice list customizations.")] - public CheckoutBrandingChoiceList? choiceList { get; set; } - + [Description("The choice list customizations.")] + public CheckoutBrandingChoiceList? choiceList { get; set; } + /// ///The content container customizations. /// - [Description("The content container customizations.")] - public CheckoutBrandingContent? content { get; set; } - + [Description("The content container customizations.")] + public CheckoutBrandingContent? content { get; set; } + /// ///The form controls customizations. /// - [Description("The form controls customizations.")] - public CheckoutBrandingControl? control { get; set; } - + [Description("The form controls customizations.")] + public CheckoutBrandingControl? control { get; set; } + /// ///The customizations for the page, content, main, and order summary dividers. For example, by setting the borderStyle to `DOTTED`, you can make these dividers render as dotted lines. /// - [Description("The customizations for the page, content, main, and order summary dividers. For example, by setting the borderStyle to `DOTTED`, you can make these dividers render as dotted lines.")] - public CheckoutBrandingDividerStyle? divider { get; set; } - + [Description("The customizations for the page, content, main, and order summary dividers. For example, by setting the borderStyle to `DOTTED`, you can make these dividers render as dotted lines.")] + public CheckoutBrandingDividerStyle? divider { get; set; } + /// ///The express checkout customizations. /// - [Description("The express checkout customizations.")] - public CheckoutBrandingExpressCheckout? expressCheckout { get; set; } - + [Description("The express checkout customizations.")] + public CheckoutBrandingExpressCheckout? expressCheckout { get; set; } + /// ///The favicon image. /// - [Description("The favicon image.")] - public CheckoutBrandingImage? favicon { get; set; } - + [Description("The favicon image.")] + public CheckoutBrandingImage? favicon { get; set; } + /// ///The footer customizations. /// - [Description("The footer customizations.")] - public CheckoutBrandingFooter? footer { get; set; } - + [Description("The footer customizations.")] + public CheckoutBrandingFooter? footer { get; set; } + /// ///The global customizations. /// - [Description("The global customizations.")] - public CheckoutBrandingGlobal? global { get; set; } - + [Description("The global customizations.")] + public CheckoutBrandingGlobal? global { get; set; } + /// ///The header customizations. /// - [Description("The header customizations.")] - public CheckoutBrandingHeader? header { get; set; } - + [Description("The header customizations.")] + public CheckoutBrandingHeader? header { get; set; } + /// ///The Heading Level 1 customizations. /// - [Description("The Heading Level 1 customizations.")] - public CheckoutBrandingHeadingLevel? headingLevel1 { get; set; } - + [Description("The Heading Level 1 customizations.")] + public CheckoutBrandingHeadingLevel? headingLevel1 { get; set; } + /// ///The Heading Level 2 customizations. /// - [Description("The Heading Level 2 customizations.")] - public CheckoutBrandingHeadingLevel? headingLevel2 { get; set; } - + [Description("The Heading Level 2 customizations.")] + public CheckoutBrandingHeadingLevel? headingLevel2 { get; set; } + /// ///The Heading Level 3 customizations. /// - [Description("The Heading Level 3 customizations.")] - public CheckoutBrandingHeadingLevel? headingLevel3 { get; set; } - + [Description("The Heading Level 3 customizations.")] + public CheckoutBrandingHeadingLevel? headingLevel3 { get; set; } + /// ///The main area customizations. /// - [Description("The main area customizations.")] - public CheckoutBrandingMain? main { get; set; } - + [Description("The main area customizations.")] + public CheckoutBrandingMain? main { get; set; } + /// ///The merchandise thumbnails customizations. /// - [Description("The merchandise thumbnails customizations.")] - public CheckoutBrandingMerchandiseThumbnail? merchandiseThumbnail { get; set; } - + [Description("The merchandise thumbnails customizations.")] + public CheckoutBrandingMerchandiseThumbnail? merchandiseThumbnail { get; set; } + /// ///The order summary customizations. /// - [Description("The order summary customizations.")] - public CheckoutBrandingOrderSummary? orderSummary { get; set; } - + [Description("The order summary customizations.")] + public CheckoutBrandingOrderSummary? orderSummary { get; set; } + /// ///The primary buttons customizations. /// - [Description("The primary buttons customizations.")] - public CheckoutBrandingButton? primaryButton { get; set; } - + [Description("The primary buttons customizations.")] + public CheckoutBrandingButton? primaryButton { get; set; } + /// ///The secondary buttons customizations. /// - [Description("The secondary buttons customizations.")] - public CheckoutBrandingButton? secondaryButton { get; set; } - + [Description("The secondary buttons customizations.")] + public CheckoutBrandingButton? secondaryButton { get; set; } + /// ///The selects customizations. /// - [Description("The selects customizations.")] - public CheckoutBrandingSelect? select { get; set; } - + [Description("The selects customizations.")] + public CheckoutBrandingSelect? select { get; set; } + /// ///The text fields customizations. /// - [Description("The text fields customizations.")] - public CheckoutBrandingTextField? textField { get; set; } - } - + [Description("The text fields customizations.")] + public CheckoutBrandingTextField? textField { get; set; } + } + /// ///The input fields used to update the components customizations. /// - [Description("The input fields used to update the components customizations.")] - public class CheckoutBrandingCustomizationsInput : GraphQLObject - { + [Description("The input fields used to update the components customizations.")] + public class CheckoutBrandingCustomizationsInput : GraphQLObject + { /// ///The global customizations. /// - [Description("The global customizations.")] - public CheckoutBrandingGlobalInput? global { get; set; } - + [Description("The global customizations.")] + public CheckoutBrandingGlobalInput? global { get; set; } + /// ///The header customizations. /// - [Description("The header customizations.")] - public CheckoutBrandingHeaderInput? header { get; set; } - + [Description("The header customizations.")] + public CheckoutBrandingHeaderInput? header { get; set; } + /// ///The Heading Level 1 customizations. /// - [Description("The Heading Level 1 customizations.")] - public CheckoutBrandingHeadingLevelInput? headingLevel1 { get; set; } - + [Description("The Heading Level 1 customizations.")] + public CheckoutBrandingHeadingLevelInput? headingLevel1 { get; set; } + /// ///The Heading Level 2 customizations. /// - [Description("The Heading Level 2 customizations.")] - public CheckoutBrandingHeadingLevelInput? headingLevel2 { get; set; } - + [Description("The Heading Level 2 customizations.")] + public CheckoutBrandingHeadingLevelInput? headingLevel2 { get; set; } + /// ///The Heading Level 3 customizations. /// - [Description("The Heading Level 3 customizations.")] - public CheckoutBrandingHeadingLevelInput? headingLevel3 { get; set; } - + [Description("The Heading Level 3 customizations.")] + public CheckoutBrandingHeadingLevelInput? headingLevel3 { get; set; } + /// ///The footer customizations. /// - [Description("The footer customizations.")] - public CheckoutBrandingFooterInput? footer { get; set; } - + [Description("The footer customizations.")] + public CheckoutBrandingFooterInput? footer { get; set; } + /// ///The main area customizations. /// - [Description("The main area customizations.")] - public CheckoutBrandingMainInput? main { get; set; } - + [Description("The main area customizations.")] + public CheckoutBrandingMainInput? main { get; set; } + /// ///The order summary customizations. /// - [Description("The order summary customizations.")] - public CheckoutBrandingOrderSummaryInput? orderSummary { get; set; } - + [Description("The order summary customizations.")] + public CheckoutBrandingOrderSummaryInput? orderSummary { get; set; } + /// ///The form controls customizations. /// - [Description("The form controls customizations.")] - public CheckoutBrandingControlInput? control { get; set; } - + [Description("The form controls customizations.")] + public CheckoutBrandingControlInput? control { get; set; } + /// ///The text fields customizations. /// - [Description("The text fields customizations.")] - public CheckoutBrandingTextFieldInput? textField { get; set; } - + [Description("The text fields customizations.")] + public CheckoutBrandingTextFieldInput? textField { get; set; } + /// ///The checkboxes customizations. /// - [Description("The checkboxes customizations.")] - public CheckoutBrandingCheckboxInput? checkbox { get; set; } - + [Description("The checkboxes customizations.")] + public CheckoutBrandingCheckboxInput? checkbox { get; set; } + /// ///The selects customizations. /// - [Description("The selects customizations.")] - public CheckoutBrandingSelectInput? select { get; set; } - + [Description("The selects customizations.")] + public CheckoutBrandingSelectInput? select { get; set; } + /// ///The primary buttons customizations. /// - [Description("The primary buttons customizations.")] - public CheckoutBrandingButtonInput? primaryButton { get; set; } - + [Description("The primary buttons customizations.")] + public CheckoutBrandingButtonInput? primaryButton { get; set; } + /// ///The secondary buttons customizations. /// - [Description("The secondary buttons customizations.")] - public CheckoutBrandingButtonInput? secondaryButton { get; set; } - + [Description("The secondary buttons customizations.")] + public CheckoutBrandingButtonInput? secondaryButton { get; set; } + /// ///The favicon image (must be of PNG format). /// - [Description("The favicon image (must be of PNG format).")] - public CheckoutBrandingImageInput? favicon { get; set; } - + [Description("The favicon image (must be of PNG format).")] + public CheckoutBrandingImageInput? favicon { get; set; } + /// ///The choice list customizations. /// - [Description("The choice list customizations.")] - public CheckoutBrandingChoiceListInput? choiceList { get; set; } - + [Description("The choice list customizations.")] + public CheckoutBrandingChoiceListInput? choiceList { get; set; } + /// ///The merchandise thumbnails customizations. /// - [Description("The merchandise thumbnails customizations.")] - public CheckoutBrandingMerchandiseThumbnailInput? merchandiseThumbnail { get; set; } - + [Description("The merchandise thumbnails customizations.")] + public CheckoutBrandingMerchandiseThumbnailInput? merchandiseThumbnail { get; set; } + /// ///The express checkout customizations. /// - [Description("The express checkout customizations.")] - public CheckoutBrandingExpressCheckoutInput? expressCheckout { get; set; } - + [Description("The express checkout customizations.")] + public CheckoutBrandingExpressCheckoutInput? expressCheckout { get; set; } + /// ///The content container customizations. /// - [Description("The content container customizations.")] - public CheckoutBrandingContentInput? content { get; set; } - + [Description("The content container customizations.")] + public CheckoutBrandingContentInput? content { get; set; } + /// ///The customizations for the breadcrumbs that represent a buyer's journey to the checkout. /// - [Description("The customizations for the breadcrumbs that represent a buyer's journey to the checkout.")] - public CheckoutBrandingBuyerJourneyInput? buyerJourney { get; set; } - + [Description("The customizations for the breadcrumbs that represent a buyer's journey to the checkout.")] + public CheckoutBrandingBuyerJourneyInput? buyerJourney { get; set; } + /// ///The input for checkout cart link customizations. For example, by setting the visibility field to `HIDDEN`, you can hide the cart icon in the header for one-page checkout, and the cart link in breadcrumbs in three-page checkout. /// - [Description("The input for checkout cart link customizations. For example, by setting the visibility field to `HIDDEN`, you can hide the cart icon in the header for one-page checkout, and the cart link in breadcrumbs in three-page checkout.")] - public CheckoutBrandingCartLinkInput? cartLink { get; set; } - + [Description("The input for checkout cart link customizations. For example, by setting the visibility field to `HIDDEN`, you can hide the cart icon in the header for one-page checkout, and the cart link in breadcrumbs in three-page checkout.")] + public CheckoutBrandingCartLinkInput? cartLink { get; set; } + /// ///The input for the page, content, main, and order summary dividers customizations. For example, by setting the borderStyle to `DOTTED`, you can make these dividers render as dotted lines. /// - [Description("The input for the page, content, main, and order summary dividers customizations. For example, by setting the borderStyle to `DOTTED`, you can make these dividers render as dotted lines.")] - public CheckoutBrandingDividerStyleInput? divider { get; set; } - } - + [Description("The input for the page, content, main, and order summary dividers customizations. For example, by setting the borderStyle to `DOTTED`, you can make these dividers render as dotted lines.")] + public CheckoutBrandingDividerStyleInput? divider { get; set; } + } + /// ///The design system allows you to set values that represent specific attributes ///of your brand like color and font. These attributes are used throughout the user ///interface. This brings consistency and allows you to easily make broad design changes. /// - [Description("The design system allows you to set values that represent specific attributes\nof your brand like color and font. These attributes are used throughout the user\ninterface. This brings consistency and allows you to easily make broad design changes.")] - public class CheckoutBrandingDesignSystem : GraphQLObject - { + [Description("The design system allows you to set values that represent specific attributes\nof your brand like color and font. These attributes are used throughout the user\ninterface. This brings consistency and allows you to easily make broad design changes.")] + public class CheckoutBrandingDesignSystem : GraphQLObject + { /// ///The color palette. /// - [Description("The color palette.")] - [Obsolete("Use `colors` instead.")] - public CheckoutBrandingColorPalette? colorPalette { get; set; } - + [Description("The color palette.")] + [Obsolete("Use `colors` instead.")] + public CheckoutBrandingColorPalette? colorPalette { get; set; } + /// ///The color settings for global colors and color schemes. /// - [Description("The color settings for global colors and color schemes.")] - public CheckoutBrandingColors? colors { get; set; } - + [Description("The color settings for global colors and color schemes.")] + public CheckoutBrandingColors? colors { get; set; } + /// ///The corner radius variables. /// - [Description("The corner radius variables.")] - public CheckoutBrandingCornerRadiusVariables? cornerRadius { get; set; } - + [Description("The corner radius variables.")] + public CheckoutBrandingCornerRadiusVariables? cornerRadius { get; set; } + /// ///The typography. /// - [Description("The typography.")] - public CheckoutBrandingTypography? typography { get; set; } - } - + [Description("The typography.")] + public CheckoutBrandingTypography? typography { get; set; } + } + /// ///The input fields used to update the design system. /// - [Description("The input fields used to update the design system.")] - public class CheckoutBrandingDesignSystemInput : GraphQLObject - { + [Description("The input fields used to update the design system.")] + public class CheckoutBrandingDesignSystemInput : GraphQLObject + { /// ///The color palette. /// - [Description("The color palette.")] - [Obsolete("This field has been replaced by `colors`.")] - public CheckoutBrandingColorPaletteInput? colorPalette { get; set; } - + [Description("The color palette.")] + [Obsolete("This field has been replaced by `colors`.")] + public CheckoutBrandingColorPaletteInput? colorPalette { get; set; } + /// ///The color settings for global colors and color schemes. /// - [Description("The color settings for global colors and color schemes.")] - public CheckoutBrandingColorsInput? colors { get; set; } - + [Description("The color settings for global colors and color schemes.")] + public CheckoutBrandingColorsInput? colors { get; set; } + /// ///The typography. /// - [Description("The typography.")] - public CheckoutBrandingTypographyInput? typography { get; set; } - + [Description("The typography.")] + public CheckoutBrandingTypographyInput? typography { get; set; } + /// ///The corner radius variables. /// - [Description("The corner radius variables.")] - public CheckoutBrandingCornerRadiusVariablesInput? cornerRadius { get; set; } - } - + [Description("The corner radius variables.")] + public CheckoutBrandingCornerRadiusVariablesInput? cornerRadius { get; set; } + } + /// ///The customizations for the page, content, main, and order summary dividers. /// - [Description("The customizations for the page, content, main, and order summary dividers.")] - public class CheckoutBrandingDividerStyle : GraphQLObject - { + [Description("The customizations for the page, content, main, and order summary dividers.")] + public class CheckoutBrandingDividerStyle : GraphQLObject + { /// ///The border style for the divider. /// - [Description("The border style for the divider.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The border style for the divider.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The border width for the divider. /// - [Description("The border width for the divider.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - } - + [Description("The border width for the divider.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + } + /// ///The input fields used to update the page, content, main and order summary dividers customizations. /// - [Description("The input fields used to update the page, content, main and order summary dividers customizations.")] - public class CheckoutBrandingDividerStyleInput : GraphQLObject - { + [Description("The input fields used to update the page, content, main and order summary dividers customizations.")] + public class CheckoutBrandingDividerStyleInput : GraphQLObject + { /// ///The border style for the divider. /// - [Description("The border style for the divider.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The border style for the divider.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The border width for the divider. /// - [Description("The border width for the divider.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - } - + [Description("The border width for the divider.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + } + /// ///The Express Checkout customizations. /// - [Description("The Express Checkout customizations.")] - public class CheckoutBrandingExpressCheckout : GraphQLObject - { + [Description("The Express Checkout customizations.")] + public class CheckoutBrandingExpressCheckout : GraphQLObject + { /// ///The Express Checkout buttons customizations. /// - [Description("The Express Checkout buttons customizations.")] - public CheckoutBrandingExpressCheckoutButton? button { get; set; } - } - + [Description("The Express Checkout buttons customizations.")] + public CheckoutBrandingExpressCheckoutButton? button { get; set; } + } + /// ///The Express Checkout button customizations. /// - [Description("The Express Checkout button customizations.")] - public class CheckoutBrandingExpressCheckoutButton : GraphQLObject - { + [Description("The Express Checkout button customizations.")] + public class CheckoutBrandingExpressCheckoutButton : GraphQLObject + { /// ///The corner radius used for the Express Checkout buttons. /// - [Description("The corner radius used for the Express Checkout buttons.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - } - + [Description("The corner radius used for the Express Checkout buttons.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + /// ///The input fields to use to update the express checkout customizations. /// - [Description("The input fields to use to update the express checkout customizations.")] - public class CheckoutBrandingExpressCheckoutButtonInput : GraphQLObject - { + [Description("The input fields to use to update the express checkout customizations.")] + public class CheckoutBrandingExpressCheckoutButtonInput : GraphQLObject + { /// ///The corner radius used for Express Checkout buttons. /// - [Description("The corner radius used for Express Checkout buttons.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - } - + [Description("The corner radius used for Express Checkout buttons.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + } + /// ///The input fields to use to update the Express Checkout customizations. /// - [Description("The input fields to use to update the Express Checkout customizations.")] - public class CheckoutBrandingExpressCheckoutInput : GraphQLObject - { + [Description("The input fields to use to update the Express Checkout customizations.")] + public class CheckoutBrandingExpressCheckoutInput : GraphQLObject + { /// ///The Express Checkout buttons customizations. /// - [Description("The Express Checkout buttons customizations.")] - public CheckoutBrandingExpressCheckoutButtonInput? button { get; set; } - } - + [Description("The Express Checkout buttons customizations.")] + public CheckoutBrandingExpressCheckoutButtonInput? button { get; set; } + } + /// ///A font. /// - [Description("A font.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CheckoutBrandingCustomFont), typeDiscriminator: "CheckoutBrandingCustomFont")] - [JsonDerivedType(typeof(CheckoutBrandingShopifyFont), typeDiscriminator: "CheckoutBrandingShopifyFont")] - public interface ICheckoutBrandingFont : IGraphQLObject - { - public CheckoutBrandingCustomFont? AsCheckoutBrandingCustomFont() => this as CheckoutBrandingCustomFont; - public CheckoutBrandingShopifyFont? AsCheckoutBrandingShopifyFont() => this as CheckoutBrandingShopifyFont; + [Description("A font.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CheckoutBrandingCustomFont), typeDiscriminator: "CheckoutBrandingCustomFont")] + [JsonDerivedType(typeof(CheckoutBrandingShopifyFont), typeDiscriminator: "CheckoutBrandingShopifyFont")] + public interface ICheckoutBrandingFont : IGraphQLObject + { + public CheckoutBrandingCustomFont? AsCheckoutBrandingCustomFont() => this as CheckoutBrandingCustomFont; + public CheckoutBrandingShopifyFont? AsCheckoutBrandingShopifyFont() => this as CheckoutBrandingShopifyFont; /// ///The font sources. /// - [Description("The font sources.")] - public string? sources { get; } - + [Description("The font sources.")] + public string? sources { get; } + /// ///The font weight. /// - [Description("The font weight.")] - public int? weight { get; } - } - + [Description("The font weight.")] + public int? weight { get; } + } + /// ///A font group. To learn more about updating fonts, refer to the ///[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert) ///mutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling). /// - [Description("A font group. To learn more about updating fonts, refer to the\n[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert)\nmutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling).")] - public class CheckoutBrandingFontGroup : GraphQLObject - { + [Description("A font group. To learn more about updating fonts, refer to the\n[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert)\nmutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling).")] + public class CheckoutBrandingFontGroup : GraphQLObject + { /// ///The base font. /// - [Description("The base font.")] - public ICheckoutBrandingFont? @base { get; set; } - + [Description("The base font.")] + public ICheckoutBrandingFont? @base { get; set; } + /// ///The bold font. /// - [Description("The bold font.")] - public ICheckoutBrandingFont? bold { get; set; } - + [Description("The bold font.")] + public ICheckoutBrandingFont? bold { get; set; } + /// ///The font loading strategy. /// - [Description("The font loading strategy.")] - [EnumType(typeof(CheckoutBrandingFontLoadingStrategy))] - public string? loadingStrategy { get; set; } - + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + /// ///The font group name. /// - [Description("The font group name.")] - public string? name { get; set; } - } - + [Description("The font group name.")] + public string? name { get; set; } + } + /// ///The input fields used to update a font group. To learn more about updating fonts, refer to the ///[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert) ///mutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling). /// - [Description("The input fields used to update a font group. To learn more about updating fonts, refer to the\n[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert)\nmutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling).")] - public class CheckoutBrandingFontGroupInput : GraphQLObject - { + [Description("The input fields used to update a font group. To learn more about updating fonts, refer to the\n[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert)\nmutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling).")] + public class CheckoutBrandingFontGroupInput : GraphQLObject + { /// ///A Shopify font group. /// - [Description("A Shopify font group.")] - public CheckoutBrandingShopifyFontGroupInput? shopifyFontGroup { get; set; } - + [Description("A Shopify font group.")] + public CheckoutBrandingShopifyFontGroupInput? shopifyFontGroup { get; set; } + /// ///A custom font group. /// - [Description("A custom font group.")] - public CheckoutBrandingCustomFontGroupInput? customFontGroup { get; set; } - } - + [Description("A custom font group.")] + public CheckoutBrandingCustomFontGroupInput? customFontGroup { get; set; } + } + /// ///The font loading strategy determines how a font face is displayed after it is loaded or failed to load. ///For more information: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display. /// - [Description("The font loading strategy determines how a font face is displayed after it is loaded or failed to load.\nFor more information: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display.")] - public enum CheckoutBrandingFontLoadingStrategy - { + [Description("The font loading strategy determines how a font face is displayed after it is loaded or failed to load.\nFor more information: https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display.")] + public enum CheckoutBrandingFontLoadingStrategy + { /// ///The font display strategy is defined by the browser user agent. /// - [Description("The font display strategy is defined by the browser user agent.")] - AUTO, + [Description("The font display strategy is defined by the browser user agent.")] + AUTO, /// ///Gives the font face a short block period and an infinite swap period. /// - [Description("Gives the font face a short block period and an infinite swap period.")] - BLOCK, + [Description("Gives the font face a short block period and an infinite swap period.")] + BLOCK, /// ///Gives the font face an extremely small block period and an infinite swap period. /// - [Description("Gives the font face an extremely small block period and an infinite swap period.")] - SWAP, + [Description("Gives the font face an extremely small block period and an infinite swap period.")] + SWAP, /// ///Gives the font face an extremely small block period and a short swap period. /// - [Description("Gives the font face an extremely small block period and a short swap period.")] - FALLBACK, + [Description("Gives the font face an extremely small block period and a short swap period.")] + FALLBACK, /// ///Gives the font face an extremely small block period and no swap period. /// - [Description("Gives the font face an extremely small block period and no swap period.")] - OPTIONAL, - } - - public static class CheckoutBrandingFontLoadingStrategyStringValues - { - public const string AUTO = @"AUTO"; - public const string BLOCK = @"BLOCK"; - public const string SWAP = @"SWAP"; - public const string FALLBACK = @"FALLBACK"; - public const string OPTIONAL = @"OPTIONAL"; - } - + [Description("Gives the font face an extremely small block period and no swap period.")] + OPTIONAL, + } + + public static class CheckoutBrandingFontLoadingStrategyStringValues + { + public const string AUTO = @"AUTO"; + public const string BLOCK = @"BLOCK"; + public const string SWAP = @"SWAP"; + public const string FALLBACK = @"FALLBACK"; + public const string OPTIONAL = @"OPTIONAL"; + } + /// ///The font size. /// - [Description("The font size.")] - public class CheckoutBrandingFontSize : GraphQLObject - { + [Description("The font size.")] + public class CheckoutBrandingFontSize : GraphQLObject + { /// ///The base font size. /// - [Description("The base font size.")] - public decimal? @base { get; set; } - + [Description("The base font size.")] + public decimal? @base { get; set; } + /// ///The scale ratio used to derive all font sizes such as small and large. /// - [Description("The scale ratio used to derive all font sizes such as small and large.")] - public decimal? ratio { get; set; } - } - + [Description("The scale ratio used to derive all font sizes such as small and large.")] + public decimal? ratio { get; set; } + } + /// ///The input fields used to update the font size. /// - [Description("The input fields used to update the font size.")] - public class CheckoutBrandingFontSizeInput : GraphQLObject - { + [Description("The input fields used to update the font size.")] + public class CheckoutBrandingFontSizeInput : GraphQLObject + { /// ///The base font size. Its value should be between 12.0 and 18.0. /// - [Description("The base font size. Its value should be between 12.0 and 18.0.")] - public decimal? @base { get; set; } - + [Description("The base font size. Its value should be between 12.0 and 18.0.")] + public decimal? @base { get; set; } + /// ///The scale ratio used to derive all font sizes such as small and large. Its value should be between 1.0 and 1.4. /// - [Description("The scale ratio used to derive all font sizes such as small and large. Its value should be between 1.0 and 1.4.")] - public decimal? ratio { get; set; } - } - + [Description("The scale ratio used to derive all font sizes such as small and large. Its value should be between 1.0 and 1.4.")] + public decimal? ratio { get; set; } + } + /// ///A container for the footer section customizations. /// - [Description("A container for the footer section customizations.")] - public class CheckoutBrandingFooter : GraphQLObject - { + [Description("A container for the footer section customizations.")] + public class CheckoutBrandingFooter : GraphQLObject + { /// ///The footer alignment. /// - [Description("The footer alignment.")] - [EnumType(typeof(CheckoutBrandingFooterAlignment))] - public string? alignment { get; set; } - + [Description("The footer alignment.")] + [EnumType(typeof(CheckoutBrandingFooterAlignment))] + public string? alignment { get; set; } + /// ///The background style of the footer container. /// - [Description("The background style of the footer container.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the footer container.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The selected color scheme of the footer container. /// - [Description("The selected color scheme of the footer container.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the footer container.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The footer content settings. /// - [Description("The footer content settings.")] - public CheckoutBrandingFooterContent? content { get; set; } - + [Description("The footer content settings.")] + public CheckoutBrandingFooterContent? content { get; set; } + /// ///The divided setting. /// - [Description("The divided setting.")] - public bool? divided { get; set; } - + [Description("The divided setting.")] + public bool? divided { get; set; } + /// ///The padding of the footer container. /// - [Description("The padding of the footer container.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + /// ///The footer position. /// - [Description("The footer position.")] - [EnumType(typeof(CheckoutBrandingFooterPosition))] - public string? position { get; set; } - } - + [Description("The footer position.")] + [EnumType(typeof(CheckoutBrandingFooterPosition))] + public string? position { get; set; } + } + /// ///Possible values for the footer alignment. /// - [Description("Possible values for the footer alignment.")] - public enum CheckoutBrandingFooterAlignment - { + [Description("Possible values for the footer alignment.")] + public enum CheckoutBrandingFooterAlignment + { /// ///The checkout footer alignment Start value. /// - [Description("The checkout footer alignment Start value.")] - START, + [Description("The checkout footer alignment Start value.")] + START, /// ///The checkout footer alignment Center value. /// - [Description("The checkout footer alignment Center value.")] - CENTER, + [Description("The checkout footer alignment Center value.")] + CENTER, /// ///The checkout footer alignment End value. /// - [Description("The checkout footer alignment End value.")] - END, - } - - public static class CheckoutBrandingFooterAlignmentStringValues - { - public const string START = @"START"; - public const string CENTER = @"CENTER"; - public const string END = @"END"; - } - + [Description("The checkout footer alignment End value.")] + END, + } + + public static class CheckoutBrandingFooterAlignmentStringValues + { + public const string START = @"START"; + public const string CENTER = @"CENTER"; + public const string END = @"END"; + } + /// ///The footer content customizations. /// - [Description("The footer content customizations.")] - public class CheckoutBrandingFooterContent : GraphQLObject - { + [Description("The footer content customizations.")] + public class CheckoutBrandingFooterContent : GraphQLObject + { /// ///The visibility settings for footer content. /// - [Description("The visibility settings for footer content.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The visibility settings for footer content.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///The input fields for footer content customizations. /// - [Description("The input fields for footer content customizations.")] - public class CheckoutBrandingFooterContentInput : GraphQLObject - { + [Description("The input fields for footer content customizations.")] + public class CheckoutBrandingFooterContentInput : GraphQLObject + { /// ///The visibility settings for footer content. /// - [Description("The visibility settings for footer content.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The visibility settings for footer content.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///The input fields when mutating the checkout footer settings. /// - [Description("The input fields when mutating the checkout footer settings.")] - public class CheckoutBrandingFooterInput : GraphQLObject - { + [Description("The input fields when mutating the checkout footer settings.")] + public class CheckoutBrandingFooterInput : GraphQLObject + { /// ///The input field for setting the footer position customizations. /// - [Description("The input field for setting the footer position customizations.")] - [EnumType(typeof(CheckoutBrandingFooterPosition))] - public string? position { get; set; } - + [Description("The input field for setting the footer position customizations.")] + [EnumType(typeof(CheckoutBrandingFooterPosition))] + public string? position { get; set; } + /// ///The divided setting. /// - [Description("The divided setting.")] - public bool? divided { get; set; } - + [Description("The divided setting.")] + public bool? divided { get; set; } + /// ///The footer alignment settings. You can set the footer native content alignment to the left, center, or right. /// - [Description("The footer alignment settings. You can set the footer native content alignment to the left, center, or right.")] - [EnumType(typeof(CheckoutBrandingFooterAlignment))] - public string? alignment { get; set; } - + [Description("The footer alignment settings. You can set the footer native content alignment to the left, center, or right.")] + [EnumType(typeof(CheckoutBrandingFooterAlignment))] + public string? alignment { get; set; } + /// ///The input field for setting the footer content customizations. /// - [Description("The input field for setting the footer content customizations.")] - public CheckoutBrandingFooterContentInput? content { get; set; } - + [Description("The input field for setting the footer content customizations.")] + public CheckoutBrandingFooterContentInput? content { get; set; } + /// ///The selected color scheme of the footer container. /// - [Description("The selected color scheme of the footer container.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the footer container.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The background style of the footer container. /// - [Description("The background style of the footer container.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the footer container.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The padding of the footer container. /// - [Description("The padding of the footer container.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - } - + [Description("The padding of the footer container.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + } + /// ///Possible values for the footer position. /// - [Description("Possible values for the footer position.")] - public enum CheckoutBrandingFooterPosition - { + [Description("Possible values for the footer position.")] + public enum CheckoutBrandingFooterPosition + { /// ///The End footer position. /// - [Description("The End footer position.")] - END, + [Description("The End footer position.")] + END, /// ///The Inline footer position. /// - [Description("The Inline footer position.")] - INLINE, - } - - public static class CheckoutBrandingFooterPositionStringValues - { - public const string END = @"END"; - public const string INLINE = @"INLINE"; - } - + [Description("The Inline footer position.")] + INLINE, + } + + public static class CheckoutBrandingFooterPositionStringValues + { + public const string END = @"END"; + public const string INLINE = @"INLINE"; + } + /// ///The global customizations. /// - [Description("The global customizations.")] - public class CheckoutBrandingGlobal : GraphQLObject - { + [Description("The global customizations.")] + public class CheckoutBrandingGlobal : GraphQLObject + { /// ///The global corner radius setting that overrides all other [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius) ///customizations. /// - [Description("The global corner radius setting that overrides all other [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius)\ncustomizations.")] - [EnumType(typeof(CheckoutBrandingGlobalCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The global corner radius setting that overrides all other [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius)\ncustomizations.")] + [EnumType(typeof(CheckoutBrandingGlobalCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The global typography customizations. /// - [Description("The global typography customizations.")] - public CheckoutBrandingTypographyStyleGlobal? typography { get; set; } - } - + [Description("The global typography customizations.")] + public CheckoutBrandingTypographyStyleGlobal? typography { get; set; } + } + /// ///Possible choices to override corner radius customizations on all applicable objects. Note that this selection ///can only be used to set the override to `NONE` (0px). @@ -13553,1289 +13553,1289 @@ public class CheckoutBrandingGlobal : GraphQLObject ///For more customizations options, set the [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius) ///selection on specific objects while leaving the global corner radius unset. /// - [Description("Possible choices to override corner radius customizations on all applicable objects. Note that this selection \ncan only be used to set the override to `NONE` (0px).\n\nFor more customizations options, set the [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius)\nselection on specific objects while leaving the global corner radius unset.")] - public enum CheckoutBrandingGlobalCornerRadius - { + [Description("Possible choices to override corner radius customizations on all applicable objects. Note that this selection \ncan only be used to set the override to `NONE` (0px).\n\nFor more customizations options, set the [corner radius](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius)\nselection on specific objects while leaving the global corner radius unset.")] + public enum CheckoutBrandingGlobalCornerRadius + { /// ///Set the global corner radius override to 0px (square corners). /// - [Description("Set the global corner radius override to 0px (square corners).")] - NONE, - } - - public static class CheckoutBrandingGlobalCornerRadiusStringValues - { - public const string NONE = @"NONE"; - } - + [Description("Set the global corner radius override to 0px (square corners).")] + NONE, + } + + public static class CheckoutBrandingGlobalCornerRadiusStringValues + { + public const string NONE = @"NONE"; + } + /// ///The input fields used to update the global customizations. /// - [Description("The input fields used to update the global customizations.")] - public class CheckoutBrandingGlobalInput : GraphQLObject - { + [Description("The input fields used to update the global customizations.")] + public class CheckoutBrandingGlobalInput : GraphQLObject + { /// ///Select a global corner radius setting that overrides all other [corner radii](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius) ///customizations. /// - [Description("Select a global corner radius setting that overrides all other [corner radii](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius)\ncustomizations.")] - [EnumType(typeof(CheckoutBrandingGlobalCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("Select a global corner radius setting that overrides all other [corner radii](https://shopify.dev/docs/api/admin-graphql/latest/enums/CheckoutBrandingCornerRadius)\ncustomizations.")] + [EnumType(typeof(CheckoutBrandingGlobalCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The global typography customizations. /// - [Description("The global typography customizations.")] - public CheckoutBrandingTypographyStyleGlobalInput? typography { get; set; } - } - + [Description("The global typography customizations.")] + public CheckoutBrandingTypographyStyleGlobalInput? typography { get; set; } + } + /// ///The header customizations. /// - [Description("The header customizations.")] - public class CheckoutBrandingHeader : GraphQLObject - { + [Description("The header customizations.")] + public class CheckoutBrandingHeader : GraphQLObject + { /// ///The header alignment. /// - [Description("The header alignment.")] - [EnumType(typeof(CheckoutBrandingHeaderAlignment))] - public string? alignment { get; set; } - + [Description("The header alignment.")] + [EnumType(typeof(CheckoutBrandingHeaderAlignment))] + public string? alignment { get; set; } + /// ///The background style of the header container. /// - [Description("The background style of the header container.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the header container.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The background image of the header. /// - [Description("The background image of the header.")] - public CheckoutBrandingImage? banner { get; set; } - + [Description("The background image of the header.")] + public CheckoutBrandingImage? banner { get; set; } + /// ///The cart link customizations for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout. /// - [Description("The cart link customizations for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout.")] - public CheckoutBrandingHeaderCartLink? cartLink { get; set; } - + [Description("The cart link customizations for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout.")] + public CheckoutBrandingHeaderCartLink? cartLink { get; set; } + /// ///The selected color scheme of the header container. /// - [Description("The selected color scheme of the header container.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the header container.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The divided setting. /// - [Description("The divided setting.")] - public bool? divided { get; set; } - + [Description("The divided setting.")] + public bool? divided { get; set; } + /// ///The store logo. /// - [Description("The store logo.")] - public CheckoutBrandingLogo? logo { get; set; } - + [Description("The store logo.")] + public CheckoutBrandingLogo? logo { get; set; } + /// ///The padding of the header container. /// - [Description("The padding of the header container.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + /// ///The header position. /// - [Description("The header position.")] - [EnumType(typeof(CheckoutBrandingHeaderPosition))] - public string? position { get; set; } - } - + [Description("The header position.")] + [EnumType(typeof(CheckoutBrandingHeaderPosition))] + public string? position { get; set; } + } + /// ///The possible header alignments. /// - [Description("The possible header alignments.")] - public enum CheckoutBrandingHeaderAlignment - { + [Description("The possible header alignments.")] + public enum CheckoutBrandingHeaderAlignment + { /// ///Start alignment. /// - [Description("Start alignment.")] - START, + [Description("Start alignment.")] + START, /// ///Center alignment. /// - [Description("Center alignment.")] - CENTER, + [Description("Center alignment.")] + CENTER, /// ///End alignment. /// - [Description("End alignment.")] - END, - } - - public static class CheckoutBrandingHeaderAlignmentStringValues - { - public const string START = @"START"; - public const string CENTER = @"CENTER"; - public const string END = @"END"; - } - + [Description("End alignment.")] + END, + } + + public static class CheckoutBrandingHeaderAlignmentStringValues + { + public const string START = @"START"; + public const string CENTER = @"CENTER"; + public const string END = @"END"; + } + /// ///The header cart link customizations. /// - [Description("The header cart link customizations.")] - public class CheckoutBrandingHeaderCartLink : GraphQLObject - { + [Description("The header cart link customizations.")] + public class CheckoutBrandingHeaderCartLink : GraphQLObject + { /// ///The content type for the header back to cart link in 1-page checkout. Setting this to image will render the custom image provided using the image field on the header cart_link object. If no image is provided, the default cart icon will be used. /// - [Description("The content type for the header back to cart link in 1-page checkout. Setting this to image will render the custom image provided using the image field on the header cart_link object. If no image is provided, the default cart icon will be used.")] - [EnumType(typeof(CheckoutBrandingCartLinkContentType))] - public string? contentType { get; set; } - + [Description("The content type for the header back to cart link in 1-page checkout. Setting this to image will render the custom image provided using the image field on the header cart_link object. If no image is provided, the default cart icon will be used.")] + [EnumType(typeof(CheckoutBrandingCartLinkContentType))] + public string? contentType { get; set; } + /// ///The image that's used for the header back to cart link in 1-page checkout when the content type is set to image. /// - [Description("The image that's used for the header back to cart link in 1-page checkout when the content type is set to image.")] - public Image? image { get; set; } - } - + [Description("The image that's used for the header back to cart link in 1-page checkout when the content type is set to image.")] + public Image? image { get; set; } + } + /// ///The input fields for header cart link customizations. /// - [Description("The input fields for header cart link customizations.")] - public class CheckoutBrandingHeaderCartLinkInput : GraphQLObject - { + [Description("The input fields for header cart link customizations.")] + public class CheckoutBrandingHeaderCartLinkInput : GraphQLObject + { /// ///The input for the content type for the header back to cart link in 1-page checkout. Setting this to image will render the custom image provided using the image field on the header cart_link object. If no image is provided, the default cart icon will be used. /// - [Description("The input for the content type for the header back to cart link in 1-page checkout. Setting this to image will render the custom image provided using the image field on the header cart_link object. If no image is provided, the default cart icon will be used.")] - [EnumType(typeof(CheckoutBrandingCartLinkContentType))] - public string? contentType { get; set; } - + [Description("The input for the content type for the header back to cart link in 1-page checkout. Setting this to image will render the custom image provided using the image field on the header cart_link object. If no image is provided, the default cart icon will be used.")] + [EnumType(typeof(CheckoutBrandingCartLinkContentType))] + public string? contentType { get; set; } + /// ///The input for the image that's used for the header back to cart link in 1-page checkout when the content type is set to image. /// - [Description("The input for the image that's used for the header back to cart link in 1-page checkout when the content type is set to image.")] - public CheckoutBrandingImageInput? image { get; set; } - } - + [Description("The input for the image that's used for the header back to cart link in 1-page checkout when the content type is set to image.")] + public CheckoutBrandingImageInput? image { get; set; } + } + /// ///The input fields used to update the header customizations. /// - [Description("The input fields used to update the header customizations.")] - public class CheckoutBrandingHeaderInput : GraphQLObject - { + [Description("The input fields used to update the header customizations.")] + public class CheckoutBrandingHeaderInput : GraphQLObject + { /// ///The header alignment. /// - [Description("The header alignment.")] - [EnumType(typeof(CheckoutBrandingHeaderAlignment))] - public string? alignment { get; set; } - + [Description("The header alignment.")] + [EnumType(typeof(CheckoutBrandingHeaderAlignment))] + public string? alignment { get; set; } + /// ///The header position. /// - [Description("The header position.")] - [EnumType(typeof(CheckoutBrandingHeaderPosition))] - public string? position { get; set; } - + [Description("The header position.")] + [EnumType(typeof(CheckoutBrandingHeaderPosition))] + public string? position { get; set; } + /// ///The store logo. /// - [Description("The store logo.")] - public CheckoutBrandingLogoInput? logo { get; set; } - + [Description("The store logo.")] + public CheckoutBrandingLogoInput? logo { get; set; } + /// ///The background image of the header (must not be of SVG format). /// - [Description("The background image of the header (must not be of SVG format).")] - public CheckoutBrandingImageInput? banner { get; set; } - + [Description("The background image of the header (must not be of SVG format).")] + public CheckoutBrandingImageInput? banner { get; set; } + /// ///The divided setting. /// - [Description("The divided setting.")] - public bool? divided { get; set; } - + [Description("The divided setting.")] + public bool? divided { get; set; } + /// ///The input for cart link customizations for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout. /// - [Description("The input for cart link customizations for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout.")] - public CheckoutBrandingHeaderCartLinkInput? cartLink { get; set; } - + [Description("The input for cart link customizations for 1-page checkout. This field allows to customize the cart icon that renders by default on 1-page checkout.")] + public CheckoutBrandingHeaderCartLinkInput? cartLink { get; set; } + /// ///The selected color scheme of the header container. /// - [Description("The selected color scheme of the header container.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the header container.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The background style of the header container. /// - [Description("The background style of the header container.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the header container.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The padding of the header container. /// - [Description("The padding of the header container.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - } - + [Description("The padding of the header container.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + } + /// ///The possible header positions. /// - [Description("The possible header positions.")] - public enum CheckoutBrandingHeaderPosition - { + [Description("The possible header positions.")] + public enum CheckoutBrandingHeaderPosition + { /// ///Inline position. /// - [Description("Inline position.")] - INLINE, + [Description("Inline position.")] + INLINE, /// ///Secondary inline position. /// - [Description("Secondary inline position.")] - INLINE_SECONDARY, + [Description("Secondary inline position.")] + INLINE_SECONDARY, /// ///Start position. /// - [Description("Start position.")] - START, - } - - public static class CheckoutBrandingHeaderPositionStringValues - { - public const string INLINE = @"INLINE"; - public const string INLINE_SECONDARY = @"INLINE_SECONDARY"; - public const string START = @"START"; - } - + [Description("Start position.")] + START, + } + + public static class CheckoutBrandingHeaderPositionStringValues + { + public const string INLINE = @"INLINE"; + public const string INLINE_SECONDARY = @"INLINE_SECONDARY"; + public const string START = @"START"; + } + /// ///The heading level customizations. /// - [Description("The heading level customizations.")] - public class CheckoutBrandingHeadingLevel : GraphQLObject - { + [Description("The heading level customizations.")] + public class CheckoutBrandingHeadingLevel : GraphQLObject + { /// ///The typography customizations used for headings. /// - [Description("The typography customizations used for headings.")] - public CheckoutBrandingTypographyStyle? typography { get; set; } - } - + [Description("The typography customizations used for headings.")] + public CheckoutBrandingTypographyStyle? typography { get; set; } + } + /// ///The input fields for heading level customizations. /// - [Description("The input fields for heading level customizations.")] - public class CheckoutBrandingHeadingLevelInput : GraphQLObject - { + [Description("The input fields for heading level customizations.")] + public class CheckoutBrandingHeadingLevelInput : GraphQLObject + { /// ///The typography customizations used for headings. /// - [Description("The typography customizations used for headings.")] - public CheckoutBrandingTypographyStyleInput? typography { get; set; } - } - + [Description("The typography customizations used for headings.")] + public CheckoutBrandingTypographyStyleInput? typography { get; set; } + } + /// ///A checkout branding image. /// - [Description("A checkout branding image.")] - public class CheckoutBrandingImage : GraphQLObject - { + [Description("A checkout branding image.")] + public class CheckoutBrandingImage : GraphQLObject + { /// ///The image details. /// - [Description("The image details.")] - public Image? image { get; set; } - } - + [Description("The image details.")] + public Image? image { get; set; } + } + /// ///The input fields used to update a checkout branding image uploaded via the Files API. /// - [Description("The input fields used to update a checkout branding image uploaded via the Files API.")] - public class CheckoutBrandingImageInput : GraphQLObject - { + [Description("The input fields used to update a checkout branding image uploaded via the Files API.")] + public class CheckoutBrandingImageInput : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - public string? mediaImageId { get; set; } - } - + [Description("A globally-unique ID.")] + public string? mediaImageId { get; set; } + } + /// ///The input fields used to upsert the checkout branding settings. /// - [Description("The input fields used to upsert the checkout branding settings.")] - public class CheckoutBrandingInput : GraphQLObject - { + [Description("The input fields used to upsert the checkout branding settings.")] + public class CheckoutBrandingInput : GraphQLObject + { /// ///The design system allows you to set values that represent specific attributes ///of your brand like color and font. These attributes are used throughout the user ///interface. This brings consistency and allows you to easily make broad design changes. /// - [Description("The design system allows you to set values that represent specific attributes\nof your brand like color and font. These attributes are used throughout the user\ninterface. This brings consistency and allows you to easily make broad design changes.")] - public CheckoutBrandingDesignSystemInput? designSystem { get; set; } - + [Description("The design system allows you to set values that represent specific attributes\nof your brand like color and font. These attributes are used throughout the user\ninterface. This brings consistency and allows you to easily make broad design changes.")] + public CheckoutBrandingDesignSystemInput? designSystem { get; set; } + /// ///The customizations that apply to specific components or areas of the user interface. /// - [Description("The customizations that apply to specific components or areas of the user interface.")] - public CheckoutBrandingCustomizationsInput? customizations { get; set; } - } - + [Description("The customizations that apply to specific components or areas of the user interface.")] + public CheckoutBrandingCustomizationsInput? customizations { get; set; } + } + /// ///Possible values for the label position. /// - [Description("Possible values for the label position.")] - public enum CheckoutBrandingLabelPosition - { + [Description("Possible values for the label position.")] + public enum CheckoutBrandingLabelPosition + { /// ///The Inside label position. /// - [Description("The Inside label position.")] - INSIDE, + [Description("The Inside label position.")] + INSIDE, /// ///The Outside label position. /// - [Description("The Outside label position.")] - OUTSIDE, - } - - public static class CheckoutBrandingLabelPositionStringValues - { - public const string INSIDE = @"INSIDE"; - public const string OUTSIDE = @"OUTSIDE"; - } - + [Description("The Outside label position.")] + OUTSIDE, + } + + public static class CheckoutBrandingLabelPositionStringValues + { + public const string INSIDE = @"INSIDE"; + public const string OUTSIDE = @"OUTSIDE"; + } + /// ///The store logo customizations. /// - [Description("The store logo customizations.")] - public class CheckoutBrandingLogo : GraphQLObject - { + [Description("The store logo customizations.")] + public class CheckoutBrandingLogo : GraphQLObject + { /// ///The logo image. /// - [Description("The logo image.")] - public Image? image { get; set; } - + [Description("The logo image.")] + public Image? image { get; set; } + /// ///The maximum width of the logo. /// - [Description("The maximum width of the logo.")] - public int? maxWidth { get; set; } - + [Description("The maximum width of the logo.")] + public int? maxWidth { get; set; } + /// ///The visibility of the logo. /// - [Description("The visibility of the logo.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The visibility of the logo.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///The input fields used to update the logo customizations. /// - [Description("The input fields used to update the logo customizations.")] - public class CheckoutBrandingLogoInput : GraphQLObject - { + [Description("The input fields used to update the logo customizations.")] + public class CheckoutBrandingLogoInput : GraphQLObject + { /// ///The logo image (must not be of SVG format). /// - [Description("The logo image (must not be of SVG format).")] - public CheckoutBrandingImageInput? image { get; set; } - + [Description("The logo image (must not be of SVG format).")] + public CheckoutBrandingImageInput? image { get; set; } + /// ///The maximum width of the logo. /// - [Description("The maximum width of the logo.")] - public int? maxWidth { get; set; } - + [Description("The maximum width of the logo.")] + public int? maxWidth { get; set; } + /// ///The visibility of the logo. /// - [Description("The visibility of the logo.")] - [EnumType(typeof(CheckoutBrandingVisibility))] - public string? visibility { get; set; } - } - + [Description("The visibility of the logo.")] + [EnumType(typeof(CheckoutBrandingVisibility))] + public string? visibility { get; set; } + } + /// ///The main container customizations. /// - [Description("The main container customizations.")] - public class CheckoutBrandingMain : GraphQLObject - { + [Description("The main container customizations.")] + public class CheckoutBrandingMain : GraphQLObject + { /// ///The background image of the main container. /// - [Description("The background image of the main container.")] - public CheckoutBrandingImage? backgroundImage { get; set; } - + [Description("The background image of the main container.")] + public CheckoutBrandingImage? backgroundImage { get; set; } + /// ///The selected color scheme of the main container. /// - [Description("The selected color scheme of the main container.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the main container.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The main container's divider style and visibility. /// - [Description("The main container's divider style and visibility.")] - public CheckoutBrandingContainerDivider? divider { get; set; } - + [Description("The main container's divider style and visibility.")] + public CheckoutBrandingContainerDivider? divider { get; set; } + /// ///The settings for the main sections. /// - [Description("The settings for the main sections.")] - public CheckoutBrandingMainSection? section { get; set; } - } - + [Description("The settings for the main sections.")] + public CheckoutBrandingMainSection? section { get; set; } + } + /// ///The input fields used to update the main container customizations. /// - [Description("The input fields used to update the main container customizations.")] - public class CheckoutBrandingMainInput : GraphQLObject - { + [Description("The input fields used to update the main container customizations.")] + public class CheckoutBrandingMainInput : GraphQLObject + { /// ///The selected color scheme for the main container of the checkout. /// - [Description("The selected color scheme for the main container of the checkout.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme for the main container of the checkout.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The background image of the main container (must not be of SVG format). /// - [Description("The background image of the main container (must not be of SVG format).")] - public CheckoutBrandingImageInput? backgroundImage { get; set; } - + [Description("The background image of the main container (must not be of SVG format).")] + public CheckoutBrandingImageInput? backgroundImage { get; set; } + /// ///Divider style and visibility on the main container. /// - [Description("Divider style and visibility on the main container.")] - public CheckoutBrandingContainerDividerInput? divider { get; set; } - + [Description("Divider style and visibility on the main container.")] + public CheckoutBrandingContainerDividerInput? divider { get; set; } + /// ///The settings for the main sections. /// - [Description("The settings for the main sections.")] - public CheckoutBrandingMainSectionInput? section { get; set; } - } - + [Description("The settings for the main sections.")] + public CheckoutBrandingMainSectionInput? section { get; set; } + } + /// ///The main sections customizations. /// - [Description("The main sections customizations.")] - public class CheckoutBrandingMainSection : GraphQLObject - { + [Description("The main sections customizations.")] + public class CheckoutBrandingMainSection : GraphQLObject + { /// ///The background style of the main sections. /// - [Description("The background style of the main sections.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the main sections.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The border for the main sections. /// - [Description("The border for the main sections.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border for the main sections.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The border style of the main sections. /// - [Description("The border style of the main sections.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The border style of the main sections.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The border width of the main sections. /// - [Description("The border width of the main sections.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - + [Description("The border width of the main sections.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + /// ///The selected color scheme of the main sections. /// - [Description("The selected color scheme of the main sections.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the main sections.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The corner radius of the main sections. /// - [Description("The corner radius of the main sections.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius of the main sections.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The padding of the main sections. /// - [Description("The padding of the main sections.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - + [Description("The padding of the main sections.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + /// ///The shadow of the main sections. /// - [Description("The shadow of the main sections.")] - [EnumType(typeof(CheckoutBrandingShadow))] - public string? shadow { get; set; } - } - + [Description("The shadow of the main sections.")] + [EnumType(typeof(CheckoutBrandingShadow))] + public string? shadow { get; set; } + } + /// ///The input fields used to update the main sections customizations. /// - [Description("The input fields used to update the main sections customizations.")] - public class CheckoutBrandingMainSectionInput : GraphQLObject - { + [Description("The input fields used to update the main sections customizations.")] + public class CheckoutBrandingMainSectionInput : GraphQLObject + { /// ///The selected color scheme for the main sections. /// - [Description("The selected color scheme for the main sections.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme for the main sections.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The background style of the main sections. /// - [Description("The background style of the main sections.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the main sections.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The corner radius of the main sections. /// - [Description("The corner radius of the main sections.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius of the main sections.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The border for the main sections. /// - [Description("The border for the main sections.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border for the main sections.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The border style of the main sections. /// - [Description("The border style of the main sections.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The border style of the main sections.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The border width of the main sections. /// - [Description("The border width of the main sections.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - + [Description("The border width of the main sections.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + /// ///The shadow of the main sections. /// - [Description("The shadow of the main sections.")] - [EnumType(typeof(CheckoutBrandingShadow))] - public string? shadow { get; set; } - + [Description("The shadow of the main sections.")] + [EnumType(typeof(CheckoutBrandingShadow))] + public string? shadow { get; set; } + /// ///The padding of the main sections. /// - [Description("The padding of the main sections.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - } - + [Description("The padding of the main sections.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + } + /// ///The merchandise thumbnails customizations. /// - [Description("The merchandise thumbnails customizations.")] - public class CheckoutBrandingMerchandiseThumbnail : GraphQLObject - { + [Description("The merchandise thumbnails customizations.")] + public class CheckoutBrandingMerchandiseThumbnail : GraphQLObject + { /// ///The settings for the merchandise thumbnail badge. /// - [Description("The settings for the merchandise thumbnail badge.")] - public CheckoutBrandingMerchandiseThumbnailBadge? badge { get; set; } - + [Description("The settings for the merchandise thumbnail badge.")] + public CheckoutBrandingMerchandiseThumbnailBadge? badge { get; set; } + /// ///The border used for merchandise thumbnails. /// - [Description("The border used for merchandise thumbnails.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border used for merchandise thumbnails.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The corner radius used for merchandise thumbnails. /// - [Description("The corner radius used for merchandise thumbnails.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius used for merchandise thumbnails.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The property used to customize how the product image fits within merchandise thumbnails. /// - [Description("The property used to customize how the product image fits within merchandise thumbnails.")] - [EnumType(typeof(CheckoutBrandingObjectFit))] - public string? fit { get; set; } - } - + [Description("The property used to customize how the product image fits within merchandise thumbnails.")] + [EnumType(typeof(CheckoutBrandingObjectFit))] + public string? fit { get; set; } + } + /// ///The merchandise thumbnail badges customizations. /// - [Description("The merchandise thumbnail badges customizations.")] - public class CheckoutBrandingMerchandiseThumbnailBadge : GraphQLObject - { + [Description("The merchandise thumbnail badges customizations.")] + public class CheckoutBrandingMerchandiseThumbnailBadge : GraphQLObject + { /// ///The background used for merchandise thumbnail badges. /// - [Description("The background used for merchandise thumbnail badges.")] - [EnumType(typeof(CheckoutBrandingMerchandiseThumbnailBadgeBackground))] - public string? background { get; set; } - } - + [Description("The background used for merchandise thumbnail badges.")] + [EnumType(typeof(CheckoutBrandingMerchandiseThumbnailBadgeBackground))] + public string? background { get; set; } + } + /// ///The merchandise thumbnail badge background. /// - [Description("The merchandise thumbnail badge background.")] - public enum CheckoutBrandingMerchandiseThumbnailBadgeBackground - { + [Description("The merchandise thumbnail badge background.")] + public enum CheckoutBrandingMerchandiseThumbnailBadgeBackground + { /// ///The Accent background. /// - [Description("The Accent background.")] - ACCENT, + [Description("The Accent background.")] + ACCENT, /// ///The Base background. /// - [Description("The Base background.")] - BASE, - } - - public static class CheckoutBrandingMerchandiseThumbnailBadgeBackgroundStringValues - { - public const string ACCENT = @"ACCENT"; - public const string BASE = @"BASE"; - } - + [Description("The Base background.")] + BASE, + } + + public static class CheckoutBrandingMerchandiseThumbnailBadgeBackgroundStringValues + { + public const string ACCENT = @"ACCENT"; + public const string BASE = @"BASE"; + } + /// ///The input fields used to update the merchandise thumbnail badges customizations. /// - [Description("The input fields used to update the merchandise thumbnail badges customizations.")] - public class CheckoutBrandingMerchandiseThumbnailBadgeInput : GraphQLObject - { + [Description("The input fields used to update the merchandise thumbnail badges customizations.")] + public class CheckoutBrandingMerchandiseThumbnailBadgeInput : GraphQLObject + { /// ///The background used for merchandise thumbnail badges. /// - [Description("The background used for merchandise thumbnail badges.")] - [EnumType(typeof(CheckoutBrandingMerchandiseThumbnailBadgeBackground))] - public string? background { get; set; } - } - + [Description("The background used for merchandise thumbnail badges.")] + [EnumType(typeof(CheckoutBrandingMerchandiseThumbnailBadgeBackground))] + public string? background { get; set; } + } + /// ///The input fields used to update the merchandise thumbnails customizations. /// - [Description("The input fields used to update the merchandise thumbnails customizations.")] - public class CheckoutBrandingMerchandiseThumbnailInput : GraphQLObject - { + [Description("The input fields used to update the merchandise thumbnails customizations.")] + public class CheckoutBrandingMerchandiseThumbnailInput : GraphQLObject + { /// ///The border used for merchandise thumbnails. /// - [Description("The border used for merchandise thumbnails.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border used for merchandise thumbnails.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The corner radius used for merchandise thumbnails. /// - [Description("The corner radius used for merchandise thumbnails.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius used for merchandise thumbnails.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The property used to customize how the product image fits within merchandise thumbnails. /// - [Description("The property used to customize how the product image fits within merchandise thumbnails.")] - [EnumType(typeof(CheckoutBrandingObjectFit))] - public string? fit { get; set; } - + [Description("The property used to customize how the product image fits within merchandise thumbnails.")] + [EnumType(typeof(CheckoutBrandingObjectFit))] + public string? fit { get; set; } + /// ///The settings for the merchandise thumbnail badge. /// - [Description("The settings for the merchandise thumbnail badge.")] - public CheckoutBrandingMerchandiseThumbnailBadgeInput? badge { get; set; } - } - + [Description("The settings for the merchandise thumbnail badge.")] + public CheckoutBrandingMerchandiseThumbnailBadgeInput? badge { get; set; } + } + /// ///Possible values for object fit. /// - [Description("Possible values for object fit.")] - public enum CheckoutBrandingObjectFit - { + [Description("Possible values for object fit.")] + public enum CheckoutBrandingObjectFit + { /// ///The Contain value for fit. The image is scaled to maintain its aspect ratio while fitting within the containing box. The entire image is made to fill the box, while preserving its aspect ratio, so the image will be "letterboxed" if its aspect ratio does not match the aspect ratio of the box. This is the default value. /// - [Description("The Contain value for fit. The image is scaled to maintain its aspect ratio while fitting within the containing box. The entire image is made to fill the box, while preserving its aspect ratio, so the image will be \"letterboxed\" if its aspect ratio does not match the aspect ratio of the box. This is the default value.")] - CONTAIN, + [Description("The Contain value for fit. The image is scaled to maintain its aspect ratio while fitting within the containing box. The entire image is made to fill the box, while preserving its aspect ratio, so the image will be \"letterboxed\" if its aspect ratio does not match the aspect ratio of the box. This is the default value.")] + CONTAIN, /// ///The Cover value for fit. The image is sized to maintain its aspect ratio while filling the entire containing box. If the image’s aspect ratio does not match the aspect ratio of the containing box, then the object will be clipped to fit. /// - [Description("The Cover value for fit. The image is sized to maintain its aspect ratio while filling the entire containing box. If the image’s aspect ratio does not match the aspect ratio of the containing box, then the object will be clipped to fit.")] - COVER, - } - - public static class CheckoutBrandingObjectFitStringValues - { - public const string CONTAIN = @"CONTAIN"; - public const string COVER = @"COVER"; - } - + [Description("The Cover value for fit. The image is sized to maintain its aspect ratio while filling the entire containing box. If the image’s aspect ratio does not match the aspect ratio of the containing box, then the object will be clipped to fit.")] + COVER, + } + + public static class CheckoutBrandingObjectFitStringValues + { + public const string CONTAIN = @"CONTAIN"; + public const string COVER = @"COVER"; + } + /// ///The order summary customizations. /// - [Description("The order summary customizations.")] - public class CheckoutBrandingOrderSummary : GraphQLObject - { + [Description("The order summary customizations.")] + public class CheckoutBrandingOrderSummary : GraphQLObject + { /// ///The background image of the order summary container. /// - [Description("The background image of the order summary container.")] - public CheckoutBrandingImage? backgroundImage { get; set; } - + [Description("The background image of the order summary container.")] + public CheckoutBrandingImage? backgroundImage { get; set; } + /// ///The selected color scheme of the order summary container. /// - [Description("The selected color scheme of the order summary container.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the order summary container.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The order summary container's divider style and visibility. /// - [Description("The order summary container's divider style and visibility.")] - public CheckoutBrandingContainerDivider? divider { get; set; } - + [Description("The order summary container's divider style and visibility.")] + public CheckoutBrandingContainerDivider? divider { get; set; } + /// ///The settings for the order summary sections. /// - [Description("The settings for the order summary sections.")] - public CheckoutBrandingOrderSummarySection? section { get; set; } - } - + [Description("The settings for the order summary sections.")] + public CheckoutBrandingOrderSummarySection? section { get; set; } + } + /// ///The input fields used to update the order summary container customizations. /// - [Description("The input fields used to update the order summary container customizations.")] - public class CheckoutBrandingOrderSummaryInput : GraphQLObject - { + [Description("The input fields used to update the order summary container customizations.")] + public class CheckoutBrandingOrderSummaryInput : GraphQLObject + { /// ///The selected color scheme for the order summary container of the checkout. /// - [Description("The selected color scheme for the order summary container of the checkout.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme for the order summary container of the checkout.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The background image of the order summary container (must not be of SVG format). /// - [Description("The background image of the order summary container (must not be of SVG format).")] - public CheckoutBrandingImageInput? backgroundImage { get; set; } - + [Description("The background image of the order summary container (must not be of SVG format).")] + public CheckoutBrandingImageInput? backgroundImage { get; set; } + /// ///Divider style and visibility on the order summary container. /// - [Description("Divider style and visibility on the order summary container.")] - public CheckoutBrandingContainerDividerInput? divider { get; set; } - + [Description("Divider style and visibility on the order summary container.")] + public CheckoutBrandingContainerDividerInput? divider { get; set; } + /// ///The settings for the order summary sections. /// - [Description("The settings for the order summary sections.")] - public CheckoutBrandingOrderSummarySectionInput? section { get; set; } - } - + [Description("The settings for the order summary sections.")] + public CheckoutBrandingOrderSummarySectionInput? section { get; set; } + } + /// ///The order summary sections customizations. /// - [Description("The order summary sections customizations.")] - public class CheckoutBrandingOrderSummarySection : GraphQLObject - { + [Description("The order summary sections customizations.")] + public class CheckoutBrandingOrderSummarySection : GraphQLObject + { /// ///The background style of the order summary sections. /// - [Description("The background style of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The border for the order summary sections. /// - [Description("The border for the order summary sections.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border for the order summary sections.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The border style of the order summary sections. /// - [Description("The border style of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The border style of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The border width of the order summary sections. /// - [Description("The border width of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - + [Description("The border width of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + /// ///The selected color scheme of the order summary sections. /// - [Description("The selected color scheme of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The corner radius of the order summary sections. /// - [Description("The corner radius of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The padding of the order summary sections. /// - [Description("The padding of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - + [Description("The padding of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + /// ///The shadow of the order summary sections. /// - [Description("The shadow of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingShadow))] - public string? shadow { get; set; } - } - + [Description("The shadow of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingShadow))] + public string? shadow { get; set; } + } + /// ///The input fields used to update the order summary sections customizations. /// - [Description("The input fields used to update the order summary sections customizations.")] - public class CheckoutBrandingOrderSummarySectionInput : GraphQLObject - { + [Description("The input fields used to update the order summary sections customizations.")] + public class CheckoutBrandingOrderSummarySectionInput : GraphQLObject + { /// ///The selected color scheme for the order summary sections. /// - [Description("The selected color scheme for the order summary sections.")] - [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] - public string? colorScheme { get; set; } - + [Description("The selected color scheme for the order summary sections.")] + [EnumType(typeof(CheckoutBrandingColorSchemeSelection))] + public string? colorScheme { get; set; } + /// ///The background style of the order summary sections. /// - [Description("The background style of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingBackground))] - public string? background { get; set; } - + [Description("The background style of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingBackground))] + public string? background { get; set; } + /// ///The corner radius of the order summary sections. /// - [Description("The corner radius of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingCornerRadius))] - public string? cornerRadius { get; set; } - + [Description("The corner radius of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingCornerRadius))] + public string? cornerRadius { get; set; } + /// ///The border for the order summary sections. /// - [Description("The border for the order summary sections.")] - [EnumType(typeof(CheckoutBrandingSimpleBorder))] - public string? border { get; set; } - + [Description("The border for the order summary sections.")] + [EnumType(typeof(CheckoutBrandingSimpleBorder))] + public string? border { get; set; } + /// ///The border style of the order summary sections. /// - [Description("The border style of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingBorderStyle))] - public string? borderStyle { get; set; } - + [Description("The border style of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingBorderStyle))] + public string? borderStyle { get; set; } + /// ///The border width of the order summary sections. /// - [Description("The border width of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingBorderWidth))] - public string? borderWidth { get; set; } - + [Description("The border width of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingBorderWidth))] + public string? borderWidth { get; set; } + /// ///The shadow of the order summary sections. /// - [Description("The shadow of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingShadow))] - public string? shadow { get; set; } - + [Description("The shadow of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingShadow))] + public string? shadow { get; set; } + /// ///The padding of the order summary sections. /// - [Description("The padding of the order summary sections.")] - [EnumType(typeof(CheckoutBrandingSpacingKeyword))] - public string? padding { get; set; } - } - + [Description("The padding of the order summary sections.")] + [EnumType(typeof(CheckoutBrandingSpacingKeyword))] + public string? padding { get; set; } + } + /// ///The selects customizations. /// - [Description("The selects customizations.")] - public class CheckoutBrandingSelect : GraphQLObject - { + [Description("The selects customizations.")] + public class CheckoutBrandingSelect : GraphQLObject + { /// ///The border used for selects. /// - [Description("The border used for selects.")] - [EnumType(typeof(CheckoutBrandingBorder))] - public string? border { get; set; } - + [Description("The border used for selects.")] + [EnumType(typeof(CheckoutBrandingBorder))] + public string? border { get; set; } + /// ///The typography customizations used for selects. /// - [Description("The typography customizations used for selects.")] - public CheckoutBrandingTypographyStyle? typography { get; set; } - } - + [Description("The typography customizations used for selects.")] + public CheckoutBrandingTypographyStyle? typography { get; set; } + } + /// ///The input fields used to update the selects customizations. /// - [Description("The input fields used to update the selects customizations.")] - public class CheckoutBrandingSelectInput : GraphQLObject - { + [Description("The input fields used to update the selects customizations.")] + public class CheckoutBrandingSelectInput : GraphQLObject + { /// ///The border used for selects. /// - [Description("The border used for selects.")] - [EnumType(typeof(CheckoutBrandingBorder))] - public string? border { get; set; } - + [Description("The border used for selects.")] + [EnumType(typeof(CheckoutBrandingBorder))] + public string? border { get; set; } + /// ///The typography customizations used for selects. /// - [Description("The typography customizations used for selects.")] - public CheckoutBrandingTypographyStyleInput? typography { get; set; } - } - + [Description("The typography customizations used for selects.")] + public CheckoutBrandingTypographyStyleInput? typography { get; set; } + } + /// ///The container shadow. /// - [Description("The container shadow.")] - public enum CheckoutBrandingShadow - { + [Description("The container shadow.")] + public enum CheckoutBrandingShadow + { /// ///The Small 200 shadow. /// - [Description("The Small 200 shadow.")] - SMALL_200, + [Description("The Small 200 shadow.")] + SMALL_200, /// ///The Small 100 shadow. /// - [Description("The Small 100 shadow.")] - SMALL_100, + [Description("The Small 100 shadow.")] + SMALL_100, /// ///The Base shadow. /// - [Description("The Base shadow.")] - BASE, + [Description("The Base shadow.")] + BASE, /// ///The Large 100 shadow. /// - [Description("The Large 100 shadow.")] - LARGE_100, + [Description("The Large 100 shadow.")] + LARGE_100, /// ///The Large 200 shadow. /// - [Description("The Large 200 shadow.")] - LARGE_200, - } - - public static class CheckoutBrandingShadowStringValues - { - public const string SMALL_200 = @"SMALL_200"; - public const string SMALL_100 = @"SMALL_100"; - public const string BASE = @"BASE"; - public const string LARGE_100 = @"LARGE_100"; - public const string LARGE_200 = @"LARGE_200"; - } - + [Description("The Large 200 shadow.")] + LARGE_200, + } + + public static class CheckoutBrandingShadowStringValues + { + public const string SMALL_200 = @"SMALL_200"; + public const string SMALL_100 = @"SMALL_100"; + public const string BASE = @"BASE"; + public const string LARGE_100 = @"LARGE_100"; + public const string LARGE_200 = @"LARGE_200"; + } + /// ///A Shopify font. /// - [Description("A Shopify font.")] - public class CheckoutBrandingShopifyFont : GraphQLObject, ICheckoutBrandingFont - { + [Description("A Shopify font.")] + public class CheckoutBrandingShopifyFont : GraphQLObject, ICheckoutBrandingFont + { /// ///The font sources. /// - [Description("The font sources.")] - public string? sources { get; set; } - + [Description("The font sources.")] + public string? sources { get; set; } + /// ///The font weight. /// - [Description("The font weight.")] - public int? weight { get; set; } - } - + [Description("The font weight.")] + public int? weight { get; set; } + } + /// ///The input fields used to update a Shopify font group. /// - [Description("The input fields used to update a Shopify font group.")] - public class CheckoutBrandingShopifyFontGroupInput : GraphQLObject - { + [Description("The input fields used to update a Shopify font group.")] + public class CheckoutBrandingShopifyFontGroupInput : GraphQLObject + { /// ///The Shopify font name from [the list of available fonts](https://shopify.dev/themes/architecture/settings/fonts#available-fonts), such as `Alegreya Sans` or `Anonymous Pro`. /// - [Description("The Shopify font name from [the list of available fonts](https://shopify.dev/themes/architecture/settings/fonts#available-fonts), such as `Alegreya Sans` or `Anonymous Pro`.")] - [NonNull] - public string? name { get; set; } - + [Description("The Shopify font name from [the list of available fonts](https://shopify.dev/themes/architecture/settings/fonts#available-fonts), such as `Alegreya Sans` or `Anonymous Pro`.")] + [NonNull] + public string? name { get; set; } + /// ///The base font weight. /// - [Description("The base font weight.")] - public int? baseWeight { get; set; } - + [Description("The base font weight.")] + public int? baseWeight { get; set; } + /// ///The bold font weight. /// - [Description("The bold font weight.")] - public int? boldWeight { get; set; } - + [Description("The bold font weight.")] + public int? boldWeight { get; set; } + /// ///The font loading strategy. /// - [Description("The font loading strategy.")] - [EnumType(typeof(CheckoutBrandingFontLoadingStrategy))] - public string? loadingStrategy { get; set; } - } - + [Description("The font loading strategy.")] + [EnumType(typeof(CheckoutBrandingFontLoadingStrategy))] + public string? loadingStrategy { get; set; } + } + /// ///Possible values for the simple border. /// - [Description("Possible values for the simple border.")] - public enum CheckoutBrandingSimpleBorder - { + [Description("Possible values for the simple border.")] + public enum CheckoutBrandingSimpleBorder + { /// ///The None simple border. /// - [Description("The None simple border.")] - NONE, + [Description("The None simple border.")] + NONE, /// ///The Full simple border. /// - [Description("The Full simple border.")] - FULL, - } - - public static class CheckoutBrandingSimpleBorderStringValues - { - public const string NONE = @"NONE"; - public const string FULL = @"FULL"; - } - + [Description("The Full simple border.")] + FULL, + } + + public static class CheckoutBrandingSimpleBorderStringValues + { + public const string NONE = @"NONE"; + public const string FULL = @"FULL"; + } + /// ///Possible values for the spacing. /// - [Description("Possible values for the spacing.")] - public enum CheckoutBrandingSpacing - { + [Description("Possible values for the spacing.")] + public enum CheckoutBrandingSpacing + { /// ///The None spacing. /// - [Description("The None spacing.")] - NONE, + [Description("The None spacing.")] + NONE, /// ///The Extra Tight spacing. /// - [Description("The Extra Tight spacing.")] - EXTRA_TIGHT, + [Description("The Extra Tight spacing.")] + EXTRA_TIGHT, /// ///The Tight spacing. /// - [Description("The Tight spacing.")] - TIGHT, + [Description("The Tight spacing.")] + TIGHT, /// ///The Base spacing. /// - [Description("The Base spacing.")] - BASE, + [Description("The Base spacing.")] + BASE, /// ///The Loose spacing. /// - [Description("The Loose spacing.")] - LOOSE, + [Description("The Loose spacing.")] + LOOSE, /// ///The Extra Loose spacing. /// - [Description("The Extra Loose spacing.")] - EXTRA_LOOSE, - } - - public static class CheckoutBrandingSpacingStringValues - { - public const string NONE = @"NONE"; - public const string EXTRA_TIGHT = @"EXTRA_TIGHT"; - public const string TIGHT = @"TIGHT"; - public const string BASE = @"BASE"; - public const string LOOSE = @"LOOSE"; - public const string EXTRA_LOOSE = @"EXTRA_LOOSE"; - } - + [Description("The Extra Loose spacing.")] + EXTRA_LOOSE, + } + + public static class CheckoutBrandingSpacingStringValues + { + public const string NONE = @"NONE"; + public const string EXTRA_TIGHT = @"EXTRA_TIGHT"; + public const string TIGHT = @"TIGHT"; + public const string BASE = @"BASE"; + public const string LOOSE = @"LOOSE"; + public const string EXTRA_LOOSE = @"EXTRA_LOOSE"; + } + /// ///The spacing between UI elements. /// - [Description("The spacing between UI elements.")] - public enum CheckoutBrandingSpacingKeyword - { + [Description("The spacing between UI elements.")] + public enum CheckoutBrandingSpacingKeyword + { /// ///The None spacing. /// - [Description("The None spacing.")] - NONE, + [Description("The None spacing.")] + NONE, /// ///The Base spacing. /// - [Description("The Base spacing.")] - BASE, + [Description("The Base spacing.")] + BASE, /// ///The Small spacing. /// - [Description("The Small spacing.")] - SMALL, + [Description("The Small spacing.")] + SMALL, /// ///The Small 100 spacing. /// - [Description("The Small 100 spacing.")] - SMALL_100, + [Description("The Small 100 spacing.")] + SMALL_100, /// ///The Small 200 spacing. /// - [Description("The Small 200 spacing.")] - SMALL_200, + [Description("The Small 200 spacing.")] + SMALL_200, /// ///The Small 300 spacing. /// - [Description("The Small 300 spacing.")] - SMALL_300, + [Description("The Small 300 spacing.")] + SMALL_300, /// ///The Small 400 spacing. /// - [Description("The Small 400 spacing.")] - SMALL_400, + [Description("The Small 400 spacing.")] + SMALL_400, /// ///The Small 500 spacing. /// - [Description("The Small 500 spacing.")] - SMALL_500, + [Description("The Small 500 spacing.")] + SMALL_500, /// ///The Large spacing. /// - [Description("The Large spacing.")] - LARGE, + [Description("The Large spacing.")] + LARGE, /// ///The Large 100 spacing. /// - [Description("The Large 100 spacing.")] - LARGE_100, + [Description("The Large 100 spacing.")] + LARGE_100, /// ///The Large 200 spacing. /// - [Description("The Large 200 spacing.")] - LARGE_200, + [Description("The Large 200 spacing.")] + LARGE_200, /// ///The Large 300 spacing. /// - [Description("The Large 300 spacing.")] - LARGE_300, + [Description("The Large 300 spacing.")] + LARGE_300, /// ///The Large 400 spacing. /// - [Description("The Large 400 spacing.")] - LARGE_400, + [Description("The Large 400 spacing.")] + LARGE_400, /// ///The Large 500 spacing. /// - [Description("The Large 500 spacing.")] - LARGE_500, - } - - public static class CheckoutBrandingSpacingKeywordStringValues - { - public const string NONE = @"NONE"; - public const string BASE = @"BASE"; - public const string SMALL = @"SMALL"; - public const string SMALL_100 = @"SMALL_100"; - public const string SMALL_200 = @"SMALL_200"; - public const string SMALL_300 = @"SMALL_300"; - public const string SMALL_400 = @"SMALL_400"; - public const string SMALL_500 = @"SMALL_500"; - public const string LARGE = @"LARGE"; - public const string LARGE_100 = @"LARGE_100"; - public const string LARGE_200 = @"LARGE_200"; - public const string LARGE_300 = @"LARGE_300"; - public const string LARGE_400 = @"LARGE_400"; - public const string LARGE_500 = @"LARGE_500"; - } - + [Description("The Large 500 spacing.")] + LARGE_500, + } + + public static class CheckoutBrandingSpacingKeywordStringValues + { + public const string NONE = @"NONE"; + public const string BASE = @"BASE"; + public const string SMALL = @"SMALL"; + public const string SMALL_100 = @"SMALL_100"; + public const string SMALL_200 = @"SMALL_200"; + public const string SMALL_300 = @"SMALL_300"; + public const string SMALL_400 = @"SMALL_400"; + public const string SMALL_500 = @"SMALL_500"; + public const string LARGE = @"LARGE"; + public const string LARGE_100 = @"LARGE_100"; + public const string LARGE_200 = @"LARGE_200"; + public const string LARGE_300 = @"LARGE_300"; + public const string LARGE_400 = @"LARGE_400"; + public const string LARGE_500 = @"LARGE_500"; + } + /// ///The text fields customizations. /// - [Description("The text fields customizations.")] - public class CheckoutBrandingTextField : GraphQLObject - { + [Description("The text fields customizations.")] + public class CheckoutBrandingTextField : GraphQLObject + { /// ///The border used for text fields. /// - [Description("The border used for text fields.")] - [EnumType(typeof(CheckoutBrandingBorder))] - public string? border { get; set; } - + [Description("The border used for text fields.")] + [EnumType(typeof(CheckoutBrandingBorder))] + public string? border { get; set; } + /// ///The typography customizations used for text fields. /// - [Description("The typography customizations used for text fields.")] - public CheckoutBrandingTypographyStyle? typography { get; set; } - } - + [Description("The typography customizations used for text fields.")] + public CheckoutBrandingTypographyStyle? typography { get; set; } + } + /// ///The input fields used to update the text fields customizations. /// - [Description("The input fields used to update the text fields customizations.")] - public class CheckoutBrandingTextFieldInput : GraphQLObject - { + [Description("The input fields used to update the text fields customizations.")] + public class CheckoutBrandingTextFieldInput : GraphQLObject + { /// ///The border used for text fields. /// - [Description("The border used for text fields.")] - [EnumType(typeof(CheckoutBrandingBorder))] - public string? border { get; set; } - + [Description("The border used for text fields.")] + [EnumType(typeof(CheckoutBrandingBorder))] + public string? border { get; set; } + /// ///The typography customizations used for text fields. /// - [Description("The typography customizations used for text fields.")] - public CheckoutBrandingTypographyStyleInput? typography { get; set; } - } - + [Description("The typography customizations used for text fields.")] + public CheckoutBrandingTypographyStyleInput? typography { get; set; } + } + /// ///The typography settings used for checkout-related text. Use these settings to customize the ///font family and size for primary and secondary text elements. @@ -14843,144 +14843,144 @@ public class CheckoutBrandingTextFieldInput : GraphQLObject - [Description("The typography settings used for checkout-related text. Use these settings to customize the\nfont family and size for primary and secondary text elements.\n\nRefer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography)\nfor further information on typography customization.")] - public class CheckoutBrandingTypography : GraphQLObject - { + [Description("The typography settings used for checkout-related text. Use these settings to customize the\nfont family and size for primary and secondary text elements.\n\nRefer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography)\nfor further information on typography customization.")] + public class CheckoutBrandingTypography : GraphQLObject + { /// ///A font group used for most components such as text, buttons and form controls. /// - [Description("A font group used for most components such as text, buttons and form controls.")] - public CheckoutBrandingFontGroup? primary { get; set; } - + [Description("A font group used for most components such as text, buttons and form controls.")] + public CheckoutBrandingFontGroup? primary { get; set; } + /// ///A font group used for heading components by default. /// - [Description("A font group used for heading components by default.")] - public CheckoutBrandingFontGroup? secondary { get; set; } - + [Description("A font group used for heading components by default.")] + public CheckoutBrandingFontGroup? secondary { get; set; } + /// ///The font size design system (base size in pixels and scaling between different sizes). /// - [Description("The font size design system (base size in pixels and scaling between different sizes).")] - public CheckoutBrandingFontSize? size { get; set; } - } - + [Description("The font size design system (base size in pixels and scaling between different sizes).")] + public CheckoutBrandingFontSize? size { get; set; } + } + /// ///The font selection. /// - [Description("The font selection.")] - public enum CheckoutBrandingTypographyFont - { + [Description("The font selection.")] + public enum CheckoutBrandingTypographyFont + { /// ///The primary font. /// - [Description("The primary font.")] - PRIMARY, + [Description("The primary font.")] + PRIMARY, /// ///The secondary font. /// - [Description("The secondary font.")] - SECONDARY, - } - - public static class CheckoutBrandingTypographyFontStringValues - { - public const string PRIMARY = @"PRIMARY"; - public const string SECONDARY = @"SECONDARY"; - } - + [Description("The secondary font.")] + SECONDARY, + } + + public static class CheckoutBrandingTypographyFontStringValues + { + public const string PRIMARY = @"PRIMARY"; + public const string SECONDARY = @"SECONDARY"; + } + /// ///The input fields used to update the typography. Refer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography) ///for more information on how to set these fields. /// - [Description("The input fields used to update the typography. Refer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography)\nfor more information on how to set these fields.")] - public class CheckoutBrandingTypographyInput : GraphQLObject - { + [Description("The input fields used to update the typography. Refer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography)\nfor more information on how to set these fields.")] + public class CheckoutBrandingTypographyInput : GraphQLObject + { /// ///The font size. /// - [Description("The font size.")] - public CheckoutBrandingFontSizeInput? size { get; set; } - + [Description("The font size.")] + public CheckoutBrandingFontSizeInput? size { get; set; } + /// ///A font group used for most components such as text, buttons and form controls. /// - [Description("A font group used for most components such as text, buttons and form controls.")] - public CheckoutBrandingFontGroupInput? primary { get; set; } - + [Description("A font group used for most components such as text, buttons and form controls.")] + public CheckoutBrandingFontGroupInput? primary { get; set; } + /// ///A font group used for heading components by default. /// - [Description("A font group used for heading components by default.")] - public CheckoutBrandingFontGroupInput? secondary { get; set; } - } - + [Description("A font group used for heading components by default.")] + public CheckoutBrandingFontGroupInput? secondary { get; set; } + } + /// ///Possible values for the typography kerning. /// - [Description("Possible values for the typography kerning.")] - public enum CheckoutBrandingTypographyKerning - { + [Description("Possible values for the typography kerning.")] + public enum CheckoutBrandingTypographyKerning + { /// ///Base or default kerning. /// - [Description("Base or default kerning.")] - BASE, + [Description("Base or default kerning.")] + BASE, /// ///Loose kerning, leaving more space than the default in between characters. /// - [Description("Loose kerning, leaving more space than the default in between characters.")] - LOOSE, + [Description("Loose kerning, leaving more space than the default in between characters.")] + LOOSE, /// ///Extra loose kerning, leaving even more space in between characters. /// - [Description("Extra loose kerning, leaving even more space in between characters.")] - EXTRA_LOOSE, - } - - public static class CheckoutBrandingTypographyKerningStringValues - { - public const string BASE = @"BASE"; - public const string LOOSE = @"LOOSE"; - public const string EXTRA_LOOSE = @"EXTRA_LOOSE"; - } - + [Description("Extra loose kerning, leaving even more space in between characters.")] + EXTRA_LOOSE, + } + + public static class CheckoutBrandingTypographyKerningStringValues + { + public const string BASE = @"BASE"; + public const string LOOSE = @"LOOSE"; + public const string EXTRA_LOOSE = @"EXTRA_LOOSE"; + } + /// ///Possible values for the typography letter case. /// - [Description("Possible values for the typography letter case.")] - public enum CheckoutBrandingTypographyLetterCase - { + [Description("Possible values for the typography letter case.")] + public enum CheckoutBrandingTypographyLetterCase + { /// ///All letters are is lower case. /// - [Description("All letters are is lower case.")] - LOWER, + [Description("All letters are is lower case.")] + LOWER, /// ///No letter casing applied. /// - [Description("No letter casing applied.")] - NONE, + [Description("No letter casing applied.")] + NONE, /// ///Capitalize the first letter of each word. /// - [Description("Capitalize the first letter of each word.")] - TITLE, + [Description("Capitalize the first letter of each word.")] + TITLE, /// ///All letters are uppercase. /// - [Description("All letters are uppercase.")] - UPPER, - } - - public static class CheckoutBrandingTypographyLetterCaseStringValues - { - public const string LOWER = @"LOWER"; - public const string NONE = @"NONE"; - public const string TITLE = @"TITLE"; - public const string UPPER = @"UPPER"; - } - + [Description("All letters are uppercase.")] + UPPER, + } + + public static class CheckoutBrandingTypographyLetterCaseStringValues + { + public const string LOWER = @"LOWER"; + public const string NONE = @"NONE"; + public const string TITLE = @"TITLE"; + public const string UPPER = @"UPPER"; + } + /// ///Possible choices for the font size. /// @@ -14989,539 +14989,539 @@ public static class CheckoutBrandingTypographyLetterCaseStringValues ///object. Refer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography) ///for more information. /// - [Description("Possible choices for the font size.\n\nNote that the value in pixels of these settings can be customized with the\n[typography size](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CheckoutBrandingFontSizeInput)\nobject. Refer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography)\nfor more information.")] - public enum CheckoutBrandingTypographySize - { + [Description("Possible choices for the font size.\n\nNote that the value in pixels of these settings can be customized with the\n[typography size](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/CheckoutBrandingFontSizeInput)\nobject. Refer to the [typography tutorial](https://shopify.dev/docs/apps/checkout/styling/customize-typography)\nfor more information.")] + public enum CheckoutBrandingTypographySize + { /// ///The extra small font size. Example: 10px. /// - [Description("The extra small font size. Example: 10px.")] - EXTRA_SMALL, + [Description("The extra small font size. Example: 10px.")] + EXTRA_SMALL, /// ///The small font size. Example: 12px. /// - [Description("The small font size. Example: 12px.")] - SMALL, + [Description("The small font size. Example: 12px.")] + SMALL, /// ///The base font size. Example: 14px. /// - [Description("The base font size. Example: 14px.")] - BASE, + [Description("The base font size. Example: 14px.")] + BASE, /// ///The medium font size. Example: 16px. /// - [Description("The medium font size. Example: 16px.")] - MEDIUM, + [Description("The medium font size. Example: 16px.")] + MEDIUM, /// ///The large font size. Example: 19px. /// - [Description("The large font size. Example: 19px.")] - LARGE, + [Description("The large font size. Example: 19px.")] + LARGE, /// ///The extra large font size. Example: 21px. /// - [Description("The extra large font size. Example: 21px.")] - EXTRA_LARGE, + [Description("The extra large font size. Example: 21px.")] + EXTRA_LARGE, /// ///The extra extra large font size. Example: 24px. /// - [Description("The extra extra large font size. Example: 24px.")] - EXTRA_EXTRA_LARGE, - } - - public static class CheckoutBrandingTypographySizeStringValues - { - public const string EXTRA_SMALL = @"EXTRA_SMALL"; - public const string SMALL = @"SMALL"; - public const string BASE = @"BASE"; - public const string MEDIUM = @"MEDIUM"; - public const string LARGE = @"LARGE"; - public const string EXTRA_LARGE = @"EXTRA_LARGE"; - public const string EXTRA_EXTRA_LARGE = @"EXTRA_EXTRA_LARGE"; - } - + [Description("The extra extra large font size. Example: 24px.")] + EXTRA_EXTRA_LARGE, + } + + public static class CheckoutBrandingTypographySizeStringValues + { + public const string EXTRA_SMALL = @"EXTRA_SMALL"; + public const string SMALL = @"SMALL"; + public const string BASE = @"BASE"; + public const string MEDIUM = @"MEDIUM"; + public const string LARGE = @"LARGE"; + public const string EXTRA_LARGE = @"EXTRA_LARGE"; + public const string EXTRA_EXTRA_LARGE = @"EXTRA_EXTRA_LARGE"; + } + /// ///The typography customizations. /// - [Description("The typography customizations.")] - public class CheckoutBrandingTypographyStyle : GraphQLObject - { + [Description("The typography customizations.")] + public class CheckoutBrandingTypographyStyle : GraphQLObject + { /// ///The font. /// - [Description("The font.")] - [EnumType(typeof(CheckoutBrandingTypographyFont))] - public string? font { get; set; } - + [Description("The font.")] + [EnumType(typeof(CheckoutBrandingTypographyFont))] + public string? font { get; set; } + /// ///The kerning. /// - [Description("The kerning.")] - [EnumType(typeof(CheckoutBrandingTypographyKerning))] - public string? kerning { get; set; } - + [Description("The kerning.")] + [EnumType(typeof(CheckoutBrandingTypographyKerning))] + public string? kerning { get; set; } + /// ///The letter case. /// - [Description("The letter case.")] - [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] - public string? letterCase { get; set; } - + [Description("The letter case.")] + [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + /// ///The font size. /// - [Description("The font size.")] - [EnumType(typeof(CheckoutBrandingTypographySize))] - public string? size { get; set; } - + [Description("The font size.")] + [EnumType(typeof(CheckoutBrandingTypographySize))] + public string? size { get; set; } + /// ///The font weight. /// - [Description("The font weight.")] - [EnumType(typeof(CheckoutBrandingTypographyWeight))] - public string? weight { get; set; } - } - + [Description("The font weight.")] + [EnumType(typeof(CheckoutBrandingTypographyWeight))] + public string? weight { get; set; } + } + /// ///The global typography customizations. /// - [Description("The global typography customizations.")] - public class CheckoutBrandingTypographyStyleGlobal : GraphQLObject - { + [Description("The global typography customizations.")] + public class CheckoutBrandingTypographyStyleGlobal : GraphQLObject + { /// ///The kerning. /// - [Description("The kerning.")] - [EnumType(typeof(CheckoutBrandingTypographyKerning))] - public string? kerning { get; set; } - + [Description("The kerning.")] + [EnumType(typeof(CheckoutBrandingTypographyKerning))] + public string? kerning { get; set; } + /// ///The letter case. /// - [Description("The letter case.")] - [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] - public string? letterCase { get; set; } - } - + [Description("The letter case.")] + [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + } + /// ///The input fields used to update the global typography customizations. /// - [Description("The input fields used to update the global typography customizations.")] - public class CheckoutBrandingTypographyStyleGlobalInput : GraphQLObject - { + [Description("The input fields used to update the global typography customizations.")] + public class CheckoutBrandingTypographyStyleGlobalInput : GraphQLObject + { /// ///The letter case. /// - [Description("The letter case.")] - [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] - public string? letterCase { get; set; } - + [Description("The letter case.")] + [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + /// ///The kerning. /// - [Description("The kerning.")] - [EnumType(typeof(CheckoutBrandingTypographyKerning))] - public string? kerning { get; set; } - } - + [Description("The kerning.")] + [EnumType(typeof(CheckoutBrandingTypographyKerning))] + public string? kerning { get; set; } + } + /// ///The input fields used to update the typography customizations. /// - [Description("The input fields used to update the typography customizations.")] - public class CheckoutBrandingTypographyStyleInput : GraphQLObject - { + [Description("The input fields used to update the typography customizations.")] + public class CheckoutBrandingTypographyStyleInput : GraphQLObject + { /// ///The font. /// - [Description("The font.")] - [EnumType(typeof(CheckoutBrandingTypographyFont))] - public string? font { get; set; } - + [Description("The font.")] + [EnumType(typeof(CheckoutBrandingTypographyFont))] + public string? font { get; set; } + /// ///The font size. /// - [Description("The font size.")] - [EnumType(typeof(CheckoutBrandingTypographySize))] - public string? size { get; set; } - + [Description("The font size.")] + [EnumType(typeof(CheckoutBrandingTypographySize))] + public string? size { get; set; } + /// ///The font weight. /// - [Description("The font weight.")] - [EnumType(typeof(CheckoutBrandingTypographyWeight))] - public string? weight { get; set; } - + [Description("The font weight.")] + [EnumType(typeof(CheckoutBrandingTypographyWeight))] + public string? weight { get; set; } + /// ///The letter case. /// - [Description("The letter case.")] - [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] - public string? letterCase { get; set; } - + [Description("The letter case.")] + [EnumType(typeof(CheckoutBrandingTypographyLetterCase))] + public string? letterCase { get; set; } + /// ///The kerning. /// - [Description("The kerning.")] - [EnumType(typeof(CheckoutBrandingTypographyKerning))] - public string? kerning { get; set; } - } - + [Description("The kerning.")] + [EnumType(typeof(CheckoutBrandingTypographyKerning))] + public string? kerning { get; set; } + } + /// ///Possible values for the font weight. /// - [Description("Possible values for the font weight.")] - public enum CheckoutBrandingTypographyWeight - { + [Description("Possible values for the font weight.")] + public enum CheckoutBrandingTypographyWeight + { /// ///The base weight. /// - [Description("The base weight.")] - BASE, + [Description("The base weight.")] + BASE, /// ///The bold weight. /// - [Description("The bold weight.")] - BOLD, - } - - public static class CheckoutBrandingTypographyWeightStringValues - { - public const string BASE = @"BASE"; - public const string BOLD = @"BOLD"; - } - + [Description("The bold weight.")] + BOLD, + } + + public static class CheckoutBrandingTypographyWeightStringValues + { + public const string BASE = @"BASE"; + public const string BOLD = @"BOLD"; + } + /// ///Return type for `checkoutBrandingUpsert` mutation. /// - [Description("Return type for `checkoutBrandingUpsert` mutation.")] - public class CheckoutBrandingUpsertPayload : GraphQLObject - { + [Description("Return type for `checkoutBrandingUpsert` mutation.")] + public class CheckoutBrandingUpsertPayload : GraphQLObject + { /// ///Returns the new checkout branding settings. /// - [Description("Returns the new checkout branding settings.")] - public CheckoutBranding? checkoutBranding { get; set; } - + [Description("Returns the new checkout branding settings.")] + public CheckoutBranding? checkoutBranding { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CheckoutBrandingUpsert`. /// - [Description("An error that occurs during the execution of `CheckoutBrandingUpsert`.")] - public class CheckoutBrandingUpsertUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CheckoutBrandingUpsert`.")] + public class CheckoutBrandingUpsertUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CheckoutBrandingUpsertUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CheckoutBrandingUpsertUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CheckoutBrandingUpsertUserError`. /// - [Description("Possible error codes that can be returned by `CheckoutBrandingUpsertUserError`.")] - public enum CheckoutBrandingUpsertUserErrorCode - { + [Description("Possible error codes that can be returned by `CheckoutBrandingUpsertUserError`.")] + public enum CheckoutBrandingUpsertUserErrorCode + { /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, - } - - public static class CheckoutBrandingUpsertUserErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - } - + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, + } + + public static class CheckoutBrandingUpsertUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + } + /// ///Possible visibility states. /// - [Description("Possible visibility states.")] - public enum CheckoutBrandingVisibility - { + [Description("Possible visibility states.")] + public enum CheckoutBrandingVisibility + { /// ///The Hidden visibility setting. /// - [Description("The Hidden visibility setting.")] - HIDDEN, + [Description("The Hidden visibility setting.")] + HIDDEN, /// ///The Visible visibility setting. /// - [Description("The Visible visibility setting.")] - VISIBLE, - } - - public static class CheckoutBrandingVisibilityStringValues - { - public const string HIDDEN = @"HIDDEN"; - public const string VISIBLE = @"VISIBLE"; - } - + [Description("The Visible visibility setting.")] + VISIBLE, + } + + public static class CheckoutBrandingVisibilityStringValues + { + public const string HIDDEN = @"HIDDEN"; + public const string VISIBLE = @"VISIBLE"; + } + /// ///A checkout profile defines the branding settings and the UI extensions for a store's checkout. A checkout profile could be published or draft. A store might have at most one published checkout profile, which is used to render their live checkout. The store could also have multiple draft profiles that were created, previewed, and published using the admin checkout editor. /// - [Description("A checkout profile defines the branding settings and the UI extensions for a store's checkout. A checkout profile could be published or draft. A store might have at most one published checkout profile, which is used to render their live checkout. The store could also have multiple draft profiles that were created, previewed, and published using the admin checkout editor.")] - public class CheckoutProfile : GraphQLObject, INode - { + [Description("A checkout profile defines the branding settings and the UI extensions for a store's checkout. A checkout profile could be published or draft. A store might have at most one published checkout profile, which is used to render their live checkout. The store could also have multiple draft profiles that were created, previewed, and published using the admin checkout editor.")] + public class CheckoutProfile : GraphQLObject, INode + { /// ///The date and time when the checkout profile was created. /// - [Description("The date and time when the checkout profile was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the checkout profile was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The date and time when the checkout profile was last edited. /// - [Description("The date and time when the checkout profile was last edited.")] - [NonNull] - public DateTime? editedAt { get; set; } - + [Description("The date and time when the checkout profile was last edited.")] + [NonNull] + public DateTime? editedAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the checkout profile is published or not. /// - [Description("Whether the checkout profile is published or not.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether the checkout profile is published or not.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///The profile name. /// - [Description("The profile name.")] - [NonNull] - public string? name { get; set; } - + [Description("The profile name.")] + [NonNull] + public string? name { get; set; } + /// ///Whether the checkout profile Thank You Page and Order Status Page are actively using extensibility or not. /// - [Description("Whether the checkout profile Thank You Page and Order Status Page are actively using extensibility or not.")] - [NonNull] - public bool? typOspPagesActive { get; set; } - + [Description("Whether the checkout profile Thank You Page and Order Status Page are actively using extensibility or not.")] + [NonNull] + public bool? typOspPagesActive { get; set; } + /// ///The date and time when the checkout profile was last updated. /// - [Description("The date and time when the checkout profile was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the checkout profile was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple CheckoutProfiles. /// - [Description("An auto-generated type for paginating through multiple CheckoutProfiles.")] - public class CheckoutProfileConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CheckoutProfiles.")] + public class CheckoutProfileConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CheckoutProfileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CheckoutProfileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CheckoutProfileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CheckoutProfile and a cursor during pagination. /// - [Description("An auto-generated type which holds one CheckoutProfile and a cursor during pagination.")] - public class CheckoutProfileEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CheckoutProfile and a cursor during pagination.")] + public class CheckoutProfileEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CheckoutProfileEdge. /// - [Description("The item at the end of CheckoutProfileEdge.")] - [NonNull] - public CheckoutProfile? node { get; set; } - } - + [Description("The item at the end of CheckoutProfileEdge.")] + [NonNull] + public CheckoutProfile? node { get; set; } + } + /// ///The set of valid sort keys for the CheckoutProfile query. /// - [Description("The set of valid sort keys for the CheckoutProfile query.")] - public enum CheckoutProfileSortKeys - { + [Description("The set of valid sort keys for the CheckoutProfile query.")] + public enum CheckoutProfileSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `edited_at` value. /// - [Description("Sort by the `edited_at` value.")] - EDITED_AT, + [Description("Sort by the `edited_at` value.")] + EDITED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `is_published` value. /// - [Description("Sort by the `is_published` value.")] - IS_PUBLISHED, + [Description("Sort by the `is_published` value.")] + IS_PUBLISHED, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CheckoutProfileSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string EDITED_AT = @"EDITED_AT"; - public const string ID = @"ID"; - public const string IS_PUBLISHED = @"IS_PUBLISHED"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CheckoutProfileSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string EDITED_AT = @"EDITED_AT"; + public const string ID = @"ID"; + public const string IS_PUBLISHED = @"IS_PUBLISHED"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The input fields for adding products to the Combined Listing. /// - [Description("The input fields for adding products to the Combined Listing.")] - public class ChildProductRelationInput : GraphQLObject - { + [Description("The input fields for adding products to the Combined Listing.")] + public class ChildProductRelationInput : GraphQLObject + { /// ///The ID of the child product. /// - [Description("The ID of the child product.")] - [NonNull] - public string? childProductId { get; set; } - + [Description("The ID of the child product.")] + [NonNull] + public string? childProductId { get; set; } + /// ///The parent option values. /// - [Description("The parent option values.")] - [NonNull] - public IEnumerable? selectedParentOptionValues { get; set; } - } - + [Description("The parent option values.")] + [NonNull] + public IEnumerable? selectedParentOptionValues { get; set; } + } + /// ///An error produced by a running job. /// - [Description("An error produced by a running job.")] - public class CliHydrogenStorefrontJobError : GraphQLObject - { + [Description("An error produced by a running job.")] + public class CliHydrogenStorefrontJobError : GraphQLObject + { /// ///The error code. /// - [Description("The error code.")] - [NonNull] - public string? code { get; set; } - + [Description("The error code.")] + [NonNull] + public string? code { get; set; } + /// ///A translated error message. /// - [Description("A translated error message.")] - public string? message { get; set; } - } - + [Description("A translated error message.")] + public string? message { get; set; } + } + /// ///The set of valid sort keys for the CodeDiscount query. /// - [Description("The set of valid sort keys for the CodeDiscount query.")] - public enum CodeDiscountSortKeys - { + [Description("The set of valid sort keys for the CodeDiscount query.")] + public enum CodeDiscountSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `ends_at` value. /// - [Description("Sort by the `ends_at` value.")] - ENDS_AT, + [Description("Sort by the `ends_at` value.")] + ENDS_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `starts_at` value. /// - [Description("Sort by the `starts_at` value.")] - STARTS_AT, + [Description("Sort by the `starts_at` value.")] + STARTS_AT, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CodeDiscountSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ENDS_AT = @"ENDS_AT"; - public const string ID = @"ID"; - public const string RELEVANCE = @"RELEVANCE"; - public const string STARTS_AT = @"STARTS_AT"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CodeDiscountSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ENDS_AT = @"ENDS_AT"; + public const string ID = @"ID"; + public const string RELEVANCE = @"RELEVANCE"; + public const string STARTS_AT = @"STARTS_AT"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The `Collection` object represents a group of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) ///that merchants can organize to make their stores easier to browse and help customers find related products. @@ -15554,45 +15554,45 @@ public static class CodeDiscountSortKeysStringValues /// ///Learn about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities). /// - [Description("The `Collection` object represents a group of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat merchants can organize to make their stores easier to browse and help customers find related products.\nCollections serve as the primary way to categorize and display products across\n[online stores](https://shopify.dev/docs/apps/build/online-store),\n[sales channels](https://shopify.dev/docs/apps/build/sales-channels), and marketing campaigns.\n\nThere are two types of collections:\n\n- **[Custom (manual) collections](https://help.shopify.com/manual/products/collections/manual-shopify-collection)**: You specify the products to include in a collection.\n- **[Smart (automated) collections](https://help.shopify.com/manual/products/collections/automated-collections)**: You define rules, and products matching those rules are automatically included in the collection.\n\nThe `Collection` object provides information to:\n\n- Organize products by category, season, or promotion.\n- Automate product grouping using rules (for example, by tag, type, or price).\n- Configure product sorting and display order (for example, alphabetical, best-selling, price, or manual).\n- Manage collection visibility and publication across sales channels.\n- Add rich descriptions, images, and metadata to enhance discovery.\n\n> Note:\n> Collections are unpublished by default. To make them available to customers,\nuse the [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\nmutation after creation.\n\nCollections can be displayed in a store with Shopify's theme system through [Liquid templates](https://shopify.dev/docs/storefronts/themes/architecture/templates/collection)\nand can be customized with [template suffixes](https://shopify.dev/docs/storefronts/themes/architecture/templates/alternate-templates)\nfor unique layouts. They also support advanced features like translated content, resource feedback,\nand contextual publication for location-based catalogs.\n\nLearn about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] - public class Collection : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode, IPublishable, IMetafieldReference, IMetafieldReferencer - { + [Description("The `Collection` object represents a group of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat merchants can organize to make their stores easier to browse and help customers find related products.\nCollections serve as the primary way to categorize and display products across\n[online stores](https://shopify.dev/docs/apps/build/online-store),\n[sales channels](https://shopify.dev/docs/apps/build/sales-channels), and marketing campaigns.\n\nThere are two types of collections:\n\n- **[Custom (manual) collections](https://help.shopify.com/manual/products/collections/manual-shopify-collection)**: You specify the products to include in a collection.\n- **[Smart (automated) collections](https://help.shopify.com/manual/products/collections/automated-collections)**: You define rules, and products matching those rules are automatically included in the collection.\n\nThe `Collection` object provides information to:\n\n- Organize products by category, season, or promotion.\n- Automate product grouping using rules (for example, by tag, type, or price).\n- Configure product sorting and display order (for example, alphabetical, best-selling, price, or manual).\n- Manage collection visibility and publication across sales channels.\n- Add rich descriptions, images, and metadata to enhance discovery.\n\n> Note:\n> Collections are unpublished by default. To make them available to customers,\nuse the [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\nmutation after creation.\n\nCollections can be displayed in a store with Shopify's theme system through [Liquid templates](https://shopify.dev/docs/storefronts/themes/architecture/templates/collection)\nand can be customized with [template suffixes](https://shopify.dev/docs/storefronts/themes/architecture/templates/alternate-templates)\nfor unique layouts. They also support advanced features like translated content, resource feedback,\nand contextual publication for location-based catalogs.\n\nLearn about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] + public class Collection : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode, IPublishable, IMetafieldReference, IMetafieldReferencer + { /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - public Count? availablePublicationsCount { get; set; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + public Count? availablePublicationsCount { get; set; } + /// ///A single-line, text-only description of the collection, stripped of any HTML tags and formatting that were included in the description. /// - [Description("A single-line, text-only description of the collection, stripped of any HTML tags and formatting that were included in the description.")] - [NonNull] - public string? description { get; set; } - + [Description("A single-line, text-only description of the collection, stripped of any HTML tags and formatting that were included in the description.")] + [NonNull] + public string? description { get; set; } + /// ///The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme. /// - [Description("The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme.")] - [NonNull] - public string? descriptionHtml { get; set; } - + [Description("The description of the collection, including any HTML tags and formatting. This content is typically displayed to customers, such as on an online store, depending on the theme.")] + [NonNull] + public string? descriptionHtml { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///Information about the collection that's provided through resource feedback. /// - [Description("Information about the collection that's provided through resource feedback.")] - public ResourceFeedback? feedback { get; set; } - + [Description("Information about the collection that's provided through resource feedback.")] + public ResourceFeedback? feedback { get; set; } + /// ///A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title `Summer Catalog 2022` might have the handle `summer-catalog-2022`. /// @@ -15600,543 +15600,543 @@ public class Collection : GraphQLObject, IHasEvents, IHasMetafieldDe /// ///The handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes. /// - [Description("A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title `Summer Catalog 2022` might have the handle `summer-catalog-2022`.\n\nIf the title is changed, the handle doesn't automatically change.\n\nThe handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique string that identifies the collection. If a handle isn't specified when a collection is created, it's automatically generated from the collection's original title, and typically includes words from the title separated by hyphens. For example, a collection that was created with the title `Summer Catalog 2022` might have the handle `summer-catalog-2022`.\n\nIf the title is changed, the handle doesn't automatically change.\n\nThe handle can be used in themes by the Liquid templating language to refer to the collection, but using the ID is preferred because it never changes.")] + [NonNull] + public string? handle { get; set; } + /// ///Whether the collection includes the specified product. /// - [Description("Whether the collection includes the specified product.")] - [NonNull] - public bool? hasProduct { get; set; } - + [Description("Whether the collection includes the specified product.")] + [NonNull] + public bool? hasProduct { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image associated with the collection. /// - [Description("The image associated with the collection.")] - public Image? image { get; set; } - + [Description("The image associated with the collection.")] + public Image? image { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The products that are included in the collection. /// - [Description("The products that are included in the collection.")] - [NonNull] - public ProductConnection? products { get; set; } - + [Description("The products that are included in the collection.")] + [NonNull] + public ProductConnection? products { get; set; } + /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - [Obsolete("Use `resourcePublicationsCount` instead.")] - [NonNull] - public int? publicationCount { get; set; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + [Obsolete("Use `resourcePublicationsCount` instead.")] + [NonNull] + public int? publicationCount { get; set; } + /// ///The channels where the collection is published. /// - [Description("The channels where the collection is published.")] - [Obsolete("Use `resourcePublications` instead.")] - [NonNull] - public CollectionPublicationConnection? publications { get; set; } - + [Description("The channels where the collection is published.")] + [Obsolete("Use `resourcePublications` instead.")] + [NonNull] + public CollectionPublicationConnection? publications { get; set; } + /// ///Whether the resource is published to a specific channel. /// - [Description("Whether the resource is published to a specific channel.")] - [Obsolete("Use `publishedOnPublication` instead.")] - [NonNull] - public bool? publishedOnChannel { get; set; } - + [Description("Whether the resource is published to a specific channel.")] + [Obsolete("Use `publishedOnPublication` instead.")] + [NonNull] + public bool? publishedOnChannel { get; set; } + /// ///Whether the resource is published to a ///[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). ///For example, the resource might be published to the online store channel. /// - [Description("Whether the resource is published to a\n[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).\nFor example, the resource might be published to the online store channel.")] - [Obsolete("Use `publishedOnCurrentPublication` instead.")] - [NonNull] - public bool? publishedOnCurrentChannel { get; set; } - + [Description("Whether the resource is published to a\n[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).\nFor example, the resource might be published to the online store channel.")] + [Obsolete("Use `publishedOnCurrentPublication` instead.")] + [NonNull] + public bool? publishedOnCurrentChannel { get; set; } + /// ///Whether the resource is published to the app's ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). ///For example, the resource might be published to the app's online store channel. /// - [Description("Whether the resource is published to the app's\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).\nFor example, the resource might be published to the app's online store channel.")] - [NonNull] - public bool? publishedOnCurrentPublication { get; set; } - + [Description("Whether the resource is published to the app's\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).\nFor example, the resource might be published to the app's online store channel.")] + [NonNull] + public bool? publishedOnCurrentPublication { get; set; } + /// ///Whether the resource is published to a specified ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("Whether the resource is published to a specified\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public bool? publishedOnPublication { get; set; } - + [Description("Whether the resource is published to a specified\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public bool? publishedOnPublication { get; set; } + /// ///The list of resources that are published to a ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("The list of resources that are published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public ResourcePublicationConnection? resourcePublications { get; set; } - + [Description("The list of resources that are published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public ResourcePublicationConnection? resourcePublications { get; set; } + /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - public Count? resourcePublicationsCount { get; set; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + public Count? resourcePublicationsCount { get; set; } + /// ///The list of resources that are either published or staged to be published to a ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("The list of resources that are either published or staged to be published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public ResourcePublicationV2Connection? resourcePublicationsV2 { get; set; } - + [Description("The list of resources that are either published or staged to be published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public ResourcePublicationV2Connection? resourcePublicationsV2 { get; set; } + /// ///For a smart (automated) collection, specifies the rules that determine whether a product is included. /// - [Description("For a smart (automated) collection, specifies the rules that determine whether a product is included.")] - public CollectionRuleSet? ruleSet { get; set; } - + [Description("For a smart (automated) collection, specifies the rules that determine whether a product is included.")] + public CollectionRuleSet? ruleSet { get; set; } + /// ///If the default SEO fields for page title and description have been modified, contains the modified information. /// - [Description("If the default SEO fields for page title and description have been modified, contains the modified information.")] - [NonNull] - public SEO? seo { get; set; } - + [Description("If the default SEO fields for page title and description have been modified, contains the modified information.")] + [NonNull] + public SEO? seo { get; set; } + /// ///The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store. /// - [Description("The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store.")] - [NonNull] - [EnumType(typeof(CollectionSortOrder))] - public string? sortOrder { get; set; } - + [Description("The order in which the products in the collection are displayed by default in the Shopify admin and in sales channels, such as an online store.")] + [NonNull] + [EnumType(typeof(CollectionSortOrder))] + public string? sortOrder { get; set; } + /// ///The Storefront GraphQL API ID of the `Collection`. /// ///As of the `2022-04` version release, the Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead. /// - [Description("The Storefront GraphQL API ID of the `Collection`.\n\nAs of the `2022-04` version release, the Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] - [Obsolete("Use `id` instead.")] - [NonNull] - public string? storefrontId { get; set; } - + [Description("The Storefront GraphQL API ID of the `Collection`.\n\nAs of the `2022-04` version release, the Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] + [Obsolete("Use `id` instead.")] + [NonNull] + public string? storefrontId { get; set; } + /// ///The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is `custom`, then the collection is using the `collection.custom.liquid` template. If the value is `null`, then the collection is using the default `collection.liquid` template. /// - [Description("The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is `custom`, then the collection is using the `collection.custom.liquid` template. If the value is `null`, then the collection is using the default `collection.liquid` template.")] - public string? templateSuffix { get; set; } - + [Description("The suffix of the Liquid template being used to show the collection in an online store. For example, if the value is `custom`, then the collection is using the `collection.custom.liquid` template. If the value is `null`, then the collection is using the default `collection.liquid` template.")] + public string? templateSuffix { get; set; } + /// ///The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store. /// - [Description("The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store.")] - [NonNull] - public string? title { get; set; } - + [Description("The name of the collection. It's displayed in the Shopify admin and is typically displayed in sales channels, such as an online store.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The list of channels that the resource is not published to. /// - [Description("The list of channels that the resource is not published to.")] - [Obsolete("Use `unpublishedPublications` instead.")] - [NonNull] - public ChannelConnection? unpublishedChannels { get; set; } - + [Description("The list of channels that the resource is not published to.")] + [Obsolete("Use `unpublishedPublications` instead.")] + [NonNull] + public ChannelConnection? unpublishedChannels { get; set; } + /// ///The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that the resource isn't published to. /// - [Description("The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat the resource isn't published to.")] - [NonNull] - public PublicationConnection? unpublishedPublications { get; set; } - + [Description("The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat the resource isn't published to.")] + [NonNull] + public PublicationConnection? unpublishedPublications { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the collection was last modified. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the collection was last modified.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the collection was last modified.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `collectionAddProducts` mutation. /// - [Description("Return type for `collectionAddProducts` mutation.")] - public class CollectionAddProductsPayload : GraphQLObject - { + [Description("Return type for `collectionAddProducts` mutation.")] + public class CollectionAddProductsPayload : GraphQLObject + { /// ///The updated collection. Returns `null` if an error is raised. /// - [Description("The updated collection. Returns `null` if an error is raised.")] - public Collection? collection { get; set; } - + [Description("The updated collection. Returns `null` if an error is raised.")] + public Collection? collection { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `collectionAddProductsV2` mutation. /// - [Description("Return type for `collectionAddProductsV2` mutation.")] - public class CollectionAddProductsV2Payload : GraphQLObject - { + [Description("Return type for `collectionAddProductsV2` mutation.")] + public class CollectionAddProductsV2Payload : GraphQLObject + { /// ///The asynchronous job adding the products. /// - [Description("The asynchronous job adding the products.")] - public Job? job { get; set; } - + [Description("The asynchronous job adding the products.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CollectionAddProductsV2`. /// - [Description("An error that occurs during the execution of `CollectionAddProductsV2`.")] - public class CollectionAddProductsV2UserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CollectionAddProductsV2`.")] + public class CollectionAddProductsV2UserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CollectionAddProductsV2UserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CollectionAddProductsV2UserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CollectionAddProductsV2UserError`. /// - [Description("Possible error codes that can be returned by `CollectionAddProductsV2UserError`.")] - public enum CollectionAddProductsV2UserErrorCode - { + [Description("Possible error codes that can be returned by `CollectionAddProductsV2UserError`.")] + public enum CollectionAddProductsV2UserErrorCode + { /// ///Can't manually add products to a smart collection. /// - [Description("Can't manually add products to a smart collection.")] - CANT_ADD_TO_SMART_COLLECTION, + [Description("Can't manually add products to a smart collection.")] + CANT_ADD_TO_SMART_COLLECTION, /// ///Collection doesn't exist. /// - [Description("Collection doesn't exist.")] - COLLECTION_DOES_NOT_EXIST, - } - - public static class CollectionAddProductsV2UserErrorCodeStringValues - { - public const string CANT_ADD_TO_SMART_COLLECTION = @"CANT_ADD_TO_SMART_COLLECTION"; - public const string COLLECTION_DOES_NOT_EXIST = @"COLLECTION_DOES_NOT_EXIST"; - } - + [Description("Collection doesn't exist.")] + COLLECTION_DOES_NOT_EXIST, + } + + public static class CollectionAddProductsV2UserErrorCodeStringValues + { + public const string CANT_ADD_TO_SMART_COLLECTION = @"CANT_ADD_TO_SMART_COLLECTION"; + public const string COLLECTION_DOES_NOT_EXIST = @"COLLECTION_DOES_NOT_EXIST"; + } + /// ///An auto-generated type for paginating through multiple Collections. /// - [Description("An auto-generated type for paginating through multiple Collections.")] - public class CollectionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Collections.")] + public class CollectionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CollectionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CollectionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CollectionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `collectionCreate` mutation. /// - [Description("Return type for `collectionCreate` mutation.")] - public class CollectionCreatePayload : GraphQLObject - { + [Description("Return type for `collectionCreate` mutation.")] + public class CollectionCreatePayload : GraphQLObject + { /// ///The collection that has been created. /// - [Description("The collection that has been created.")] - public Collection? collection { get; set; } - + [Description("The collection that has been created.")] + public Collection? collection { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for specifying the collection to delete. /// - [Description("The input fields for specifying the collection to delete.")] - public class CollectionDeleteInput : GraphQLObject - { + [Description("The input fields for specifying the collection to delete.")] + public class CollectionDeleteInput : GraphQLObject + { /// ///The ID of the collection to be deleted. /// - [Description("The ID of the collection to be deleted.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the collection to be deleted.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `collectionDelete` mutation. /// - [Description("Return type for `collectionDelete` mutation.")] - public class CollectionDeletePayload : GraphQLObject - { + [Description("Return type for `collectionDelete` mutation.")] + public class CollectionDeletePayload : GraphQLObject + { /// ///The ID of the collection that was deleted. Returns `null` if the collection doesn't exist. /// - [Description("The ID of the collection that was deleted. Returns `null` if the collection doesn't exist.")] - public string? deletedCollectionId { get; set; } - + [Description("The ID of the collection that was deleted. Returns `null` if the collection doesn't exist.")] + public string? deletedCollectionId { get; set; } + /// ///The shop associated with the collection. /// - [Description("The shop associated with the collection.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The shop associated with the collection.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Collection and a cursor during pagination. /// - [Description("An auto-generated type which holds one Collection and a cursor during pagination.")] - public class CollectionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Collection and a cursor during pagination.")] + public class CollectionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CollectionEdge. /// - [Description("The item at the end of CollectionEdge.")] - [NonNull] - public Collection? node { get; set; } - } - + [Description("The item at the end of CollectionEdge.")] + [NonNull] + public Collection? node { get; set; } + } + /// ///The input fields for identifying a collection. /// - [Description("The input fields for identifying a collection.")] - public class CollectionIdentifierInput : GraphQLObject - { + [Description("The input fields for identifying a collection.")] + public class CollectionIdentifierInput : GraphQLObject + { /// ///The ID of the collection. /// - [Description("The ID of the collection.")] - public string? id { get; set; } - + [Description("The ID of the collection.")] + public string? id { get; set; } + /// ///The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the collection. /// - [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the collection.")] - public UniqueMetafieldValueInput? customId { get; set; } - + [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the collection.")] + public UniqueMetafieldValueInput? customId { get; set; } + /// ///The handle of the collection. /// - [Description("The handle of the collection.")] - public string? handle { get; set; } - } - + [Description("The handle of the collection.")] + public string? handle { get; set; } + } + /// ///The input fields required to create a collection. /// - [Description("The input fields required to create a collection.")] - public class CollectionInput : GraphQLObject - { + [Description("The input fields required to create a collection.")] + public class CollectionInput : GraphQLObject + { /// ///The description of the collection, in HTML format. /// - [Description("The description of the collection, in HTML format.")] - public string? descriptionHtml { get; set; } - + [Description("The description of the collection, in HTML format.")] + public string? descriptionHtml { get; set; } + /// ///A unique human-friendly string for the collection. Automatically generated from the collection's title. /// - [Description("A unique human-friendly string for the collection. Automatically generated from the collection's title.")] - public string? handle { get; set; } - + [Description("A unique human-friendly string for the collection. Automatically generated from the collection's title.")] + public string? handle { get; set; } + /// ///Specifies the collection to update or create a new collection if absent. Required for updating a collection. /// - [Description("Specifies the collection to update or create a new collection if absent. Required for updating a collection.")] - public string? id { get; set; } - + [Description("Specifies the collection to update or create a new collection if absent. Required for updating a collection.")] + public string? id { get; set; } + /// ///The image associated with the collection. /// - [Description("The image associated with the collection.")] - public ImageInput? image { get; set; } - + [Description("The image associated with the collection.")] + public ImageInput? image { get; set; } + /// ///Initial list of collection products. Only valid with `collectionCreate` and without rules. /// - [Description("Initial list of collection products. Only valid with `collectionCreate` and without rules.")] - public IEnumerable? products { get; set; } - + [Description("Initial list of collection products. Only valid with `collectionCreate` and without rules.")] + public IEnumerable? products { get; set; } + /// ///Initial list of collection publications. Only valid with `collectionCreate`. /// - [Description("Initial list of collection publications. Only valid with `collectionCreate`.")] - [Obsolete("Use PublishablePublish instead.")] - public IEnumerable? publications { get; set; } - + [Description("Initial list of collection publications. Only valid with `collectionCreate`.")] + [Obsolete("Use PublishablePublish instead.")] + public IEnumerable? publications { get; set; } + /// ///The rules used to assign products to the collection. /// - [Description("The rules used to assign products to the collection.")] - public CollectionRuleSetInput? ruleSet { get; set; } - + [Description("The rules used to assign products to the collection.")] + public CollectionRuleSetInput? ruleSet { get; set; } + /// ///The theme template used when viewing the collection in a store. /// - [Description("The theme template used when viewing the collection in a store.")] - public string? templateSuffix { get; set; } - + [Description("The theme template used when viewing the collection in a store.")] + public string? templateSuffix { get; set; } + /// ///The order in which the collection's products are sorted. /// - [Description("The order in which the collection's products are sorted.")] - [EnumType(typeof(CollectionSortOrder))] - public string? sortOrder { get; set; } - + [Description("The order in which the collection's products are sorted.")] + [EnumType(typeof(CollectionSortOrder))] + public string? sortOrder { get; set; } + /// ///The title of the collection. Required for creating a new collection. /// - [Description("The title of the collection. Required for creating a new collection.")] - public string? title { get; set; } - + [Description("The title of the collection. Required for creating a new collection.")] + public string? title { get; set; } + /// ///The metafields to associate with the collection. /// - [Description("The metafields to associate with the collection.")] - public IEnumerable? metafields { get; set; } - + [Description("The metafields to associate with the collection.")] + public IEnumerable? metafields { get; set; } + /// ///SEO information for the collection. /// - [Description("SEO information for the collection.")] - public SEOInput? seo { get; set; } - + [Description("SEO information for the collection.")] + public SEOInput? seo { get; set; } + /// ///Indicates whether a redirect is required after a new handle has been provided. ///If true, then the old handle is redirected to the new one automatically. /// - [Description("Indicates whether a redirect is required after a new handle has been provided.\nIf true, then the old handle is redirected to the new one automatically.")] - public bool? redirectNewHandle { get; set; } - } - + [Description("Indicates whether a redirect is required after a new handle has been provided.\nIf true, then the old handle is redirected to the new one automatically.")] + public bool? redirectNewHandle { get; set; } + } + /// ///Represents the publication status and settings for a collection across different sales channels. This tracks where collections are published, when they were published, and any channel-specific configuration. /// @@ -16157,449 +16157,449 @@ public class CollectionInput : GraphQLObject /// ///Learn more about [sales channel management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("Represents the publication status and settings for a collection across different sales channels. This tracks where collections are published, when they were published, and any channel-specific configuration.\n\nFor example, a \"Holiday Gifts\" collection might be published to the online store and Facebook Shop but not to the POS channel, with different publication dates for each channel based on marketing strategy.\n\nUse `CollectionPublication` to:\n- Track collection visibility across multiple sales channels\n- Manage channel-specific collection settings and availability\n- Monitor publication history and timing for collections\n- Control where collections appear in customer-facing channels\n- Implement channel-specific collection management workflows\n\nEach publication record includes the channel information, publication status, and timing details. This enables merchants to control collection visibility strategically across their sales channels.\n\nCollections can have different publication settings per channel, allowing for targeted marketing and inventory management. For instance, wholesale collections might only be published to B2B channels while retail collections appear in consumer-facing channels.\n\nThe publication system integrates with Shopify's broader channel management, ensuring collections appear consistently across the merchant's sales ecosystem while respecting channel-specific rules and permissions.\n\nLearn more about [sales channel management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - public class CollectionPublication : GraphQLObject - { + [Description("Represents the publication status and settings for a collection across different sales channels. This tracks where collections are published, when they were published, and any channel-specific configuration.\n\nFor example, a \"Holiday Gifts\" collection might be published to the online store and Facebook Shop but not to the POS channel, with different publication dates for each channel based on marketing strategy.\n\nUse `CollectionPublication` to:\n- Track collection visibility across multiple sales channels\n- Manage channel-specific collection settings and availability\n- Monitor publication history and timing for collections\n- Control where collections appear in customer-facing channels\n- Implement channel-specific collection management workflows\n\nEach publication record includes the channel information, publication status, and timing details. This enables merchants to control collection visibility strategically across their sales channels.\n\nCollections can have different publication settings per channel, allowing for targeted marketing and inventory management. For instance, wholesale collections might only be published to B2B channels while retail collections appear in consumer-facing channels.\n\nThe publication system integrates with Shopify's broader channel management, ensuring collections appear consistently across the merchant's sales ecosystem while respecting channel-specific rules and permissions.\n\nLearn more about [sales channel management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + public class CollectionPublication : GraphQLObject + { /// ///The channel where the collection will be published. /// - [Description("The channel where the collection will be published.")] - [Obsolete("Use `publication` instead.")] - [NonNull] - public Channel? channel { get; set; } - + [Description("The channel where the collection will be published.")] + [Obsolete("Use `publication` instead.")] + [NonNull] + public Channel? channel { get; set; } + /// ///The collection to be published on the publication. /// - [Description("The collection to be published on the publication.")] - [NonNull] - public Collection? collection { get; set; } - + [Description("The collection to be published on the publication.")] + [NonNull] + public Collection? collection { get; set; } + /// ///Whether the publication is published or not. /// - [Description("Whether the publication is published or not.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether the publication is published or not.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///The publication where the collection will be published. /// - [Description("The publication where the collection will be published.")] - [NonNull] - public Publication? publication { get; set; } - + [Description("The publication where the collection will be published.")] + [NonNull] + public Publication? publication { get; set; } + /// ///The date that the publication was or is going to be published. /// - [Description("The date that the publication was or is going to be published.")] - [NonNull] - public DateTime? publishDate { get; set; } - } - + [Description("The date that the publication was or is going to be published.")] + [NonNull] + public DateTime? publishDate { get; set; } + } + /// ///An auto-generated type for paginating through multiple CollectionPublications. /// - [Description("An auto-generated type for paginating through multiple CollectionPublications.")] - public class CollectionPublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CollectionPublications.")] + public class CollectionPublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CollectionPublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CollectionPublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CollectionPublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CollectionPublication and a cursor during pagination. /// - [Description("An auto-generated type which holds one CollectionPublication and a cursor during pagination.")] - public class CollectionPublicationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CollectionPublication and a cursor during pagination.")] + public class CollectionPublicationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CollectionPublicationEdge. /// - [Description("The item at the end of CollectionPublicationEdge.")] - [NonNull] - public CollectionPublication? node { get; set; } - } - + [Description("The item at the end of CollectionPublicationEdge.")] + [NonNull] + public CollectionPublication? node { get; set; } + } + /// ///The input fields for publications to which a collection will be published. /// - [Description("The input fields for publications to which a collection will be published.")] - public class CollectionPublicationInput : GraphQLObject - { + [Description("The input fields for publications to which a collection will be published.")] + public class CollectionPublicationInput : GraphQLObject + { /// ///The ID of the publication. /// - [Description("The ID of the publication.")] - public string? publicationId { get; set; } - + [Description("The ID of the publication.")] + public string? publicationId { get; set; } + /// ///The ID of the channel. /// - [Description("The ID of the channel.")] - [Obsolete("Use publicationId instead.")] - public string? channelId { get; set; } - - [Obsolete("Use publicationId instead.")] - public string? channelHandle { get; set; } - } - + [Description("The ID of the channel.")] + [Obsolete("Use publicationId instead.")] + public string? channelId { get; set; } + + [Obsolete("Use publicationId instead.")] + public string? channelHandle { get; set; } + } + /// ///The input fields for specifying a collection to publish and the sales channels to publish it to. /// - [Description("The input fields for specifying a collection to publish and the sales channels to publish it to.")] - public class CollectionPublishInput : GraphQLObject - { + [Description("The input fields for specifying a collection to publish and the sales channels to publish it to.")] + public class CollectionPublishInput : GraphQLObject + { /// ///The collection to create or update publications for. /// - [Description("The collection to create or update publications for.")] - [NonNull] - public string? id { get; set; } - + [Description("The collection to create or update publications for.")] + [NonNull] + public string? id { get; set; } + /// ///The channels where the collection will be published. /// - [Description("The channels where the collection will be published.")] - [NonNull] - public IEnumerable? collectionPublications { get; set; } - } - + [Description("The channels where the collection will be published.")] + [NonNull] + public IEnumerable? collectionPublications { get; set; } + } + /// ///Return type for `collectionPublish` mutation. /// - [Description("Return type for `collectionPublish` mutation.")] - public class CollectionPublishPayload : GraphQLObject - { + [Description("Return type for `collectionPublish` mutation.")] + public class CollectionPublishPayload : GraphQLObject + { /// ///The published collection. /// - [Description("The published collection.")] - public Collection? collection { get; set; } - + [Description("The published collection.")] + public Collection? collection { get; set; } + /// ///The channels where the collection has been published. /// - [Description("The channels where the collection has been published.")] - public IEnumerable? collectionPublications { get; set; } - + [Description("The channels where the collection has been published.")] + public IEnumerable? collectionPublications { get; set; } + /// ///The shop associated with the collection. /// - [Description("The shop associated with the collection.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The shop associated with the collection.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `collectionRemoveProducts` mutation. /// - [Description("Return type for `collectionRemoveProducts` mutation.")] - public class CollectionRemoveProductsPayload : GraphQLObject - { + [Description("Return type for `collectionRemoveProducts` mutation.")] + public class CollectionRemoveProductsPayload : GraphQLObject + { /// ///The asynchronous job removing the products. /// - [Description("The asynchronous job removing the products.")] - public Job? job { get; set; } - + [Description("The asynchronous job removing the products.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `collectionReorderProducts` mutation. /// - [Description("Return type for `collectionReorderProducts` mutation.")] - public class CollectionReorderProductsPayload : GraphQLObject - { + [Description("Return type for `collectionReorderProducts` mutation.")] + public class CollectionReorderProductsPayload : GraphQLObject + { /// ///The asynchronous job reordering the products. /// - [Description("The asynchronous job reordering the products.")] - public Job? job { get; set; } - + [Description("The asynchronous job reordering the products.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Errors related to order customer removal. /// - [Description("Errors related to order customer removal.")] - public class CollectionReorderProductsUserError : GraphQLObject, IDisplayableError - { + [Description("Errors related to order customer removal.")] + public class CollectionReorderProductsUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CollectionReorderProductsUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CollectionReorderProductsUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CollectionReorderProductsUserError`. /// - [Description("Possible error codes that can be returned by `CollectionReorderProductsUserError`.")] - public enum CollectionReorderProductsUserErrorCode - { + [Description("Possible error codes that can be returned by `CollectionReorderProductsUserError`.")] + public enum CollectionReorderProductsUserErrorCode + { /// ///Products are currently being reordered. Please try again later. /// - [Description("Products are currently being reordered. Please try again later.")] - TOO_MANY_ATTEMPTS_TO_REORDER_PRODUCTS, + [Description("Products are currently being reordered. Please try again later.")] + TOO_MANY_ATTEMPTS_TO_REORDER_PRODUCTS, /// ///The collection was not found. Please check the collection ID and try again. /// - [Description("The collection was not found. Please check the collection ID and try again.")] - COLLECTION_NOT_FOUND, + [Description("The collection was not found. Please check the collection ID and try again.")] + COLLECTION_NOT_FOUND, /// ///The collection is not manually sorted. Can't reorder products unless collection is manually sorted. /// - [Description("The collection is not manually sorted. Can't reorder products unless collection is manually sorted.")] - MANUALLY_SORTED_COLLECTION, + [Description("The collection is not manually sorted. Can't reorder products unless collection is manually sorted.")] + MANUALLY_SORTED_COLLECTION, /// ///The move is invalid. /// - [Description("The move is invalid.")] - INVALID_MOVE, - } - - public static class CollectionReorderProductsUserErrorCodeStringValues - { - public const string TOO_MANY_ATTEMPTS_TO_REORDER_PRODUCTS = @"TOO_MANY_ATTEMPTS_TO_REORDER_PRODUCTS"; - public const string COLLECTION_NOT_FOUND = @"COLLECTION_NOT_FOUND"; - public const string MANUALLY_SORTED_COLLECTION = @"MANUALLY_SORTED_COLLECTION"; - public const string INVALID_MOVE = @"INVALID_MOVE"; - } - + [Description("The move is invalid.")] + INVALID_MOVE, + } + + public static class CollectionReorderProductsUserErrorCodeStringValues + { + public const string TOO_MANY_ATTEMPTS_TO_REORDER_PRODUCTS = @"TOO_MANY_ATTEMPTS_TO_REORDER_PRODUCTS"; + public const string COLLECTION_NOT_FOUND = @"COLLECTION_NOT_FOUND"; + public const string MANUALLY_SORTED_COLLECTION = @"MANUALLY_SORTED_COLLECTION"; + public const string INVALID_MOVE = @"INVALID_MOVE"; + } + /// ///Represents at rule that's used to assign products to a collection. /// - [Description("Represents at rule that's used to assign products to a collection.")] - public class CollectionRule : GraphQLObject - { + [Description("Represents at rule that's used to assign products to a collection.")] + public class CollectionRule : GraphQLObject + { /// ///The attribute that the rule focuses on. For example, `title` or `product_type`. /// - [Description("The attribute that the rule focuses on. For example, `title` or `product_type`.")] - [NonNull] - [EnumType(typeof(CollectionRuleColumn))] - public string? column { get; set; } - + [Description("The attribute that the rule focuses on. For example, `title` or `product_type`.")] + [NonNull] + [EnumType(typeof(CollectionRuleColumn))] + public string? column { get; set; } + /// ///The value that the operator is applied to. For example, `Hats`. /// - [Description("The value that the operator is applied to. For example, `Hats`.")] - [NonNull] - public string? condition { get; set; } - + [Description("The value that the operator is applied to. For example, `Hats`.")] + [NonNull] + public string? condition { get; set; } + /// ///The value that the operator is applied to. /// - [Description("The value that the operator is applied to.")] - public ICollectionRuleConditionObject? conditionObject { get; set; } - + [Description("The value that the operator is applied to.")] + public ICollectionRuleConditionObject? conditionObject { get; set; } + /// ///The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`. /// - [Description("The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`.")] - [NonNull] - [EnumType(typeof(CollectionRuleRelation))] - public string? relation { get; set; } - } - + [Description("The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`.")] + [NonNull] + [EnumType(typeof(CollectionRuleRelation))] + public string? relation { get; set; } + } + /// ///Specifies the taxonomy category to used for the condition. /// - [Description("Specifies the taxonomy category to used for the condition.")] - public class CollectionRuleCategoryCondition : GraphQLObject, ICollectionRuleConditionObject - { + [Description("Specifies the taxonomy category to used for the condition.")] + public class CollectionRuleCategoryCondition : GraphQLObject, ICollectionRuleConditionObject + { /// ///The taxonomy category used as condition. /// - [Description("The taxonomy category used as condition.")] - [NonNull] - public TaxonomyCategory? value { get; set; } - } - + [Description("The taxonomy category used as condition.")] + [NonNull] + public TaxonomyCategory? value { get; set; } + } + /// ///Specifies the attribute of a product being used to populate the smart collection. /// - [Description("Specifies the attribute of a product being used to populate the smart collection.")] - public enum CollectionRuleColumn - { + [Description("Specifies the attribute of a product being used to populate the smart collection.")] + public enum CollectionRuleColumn + { /// ///The [`tag`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.tags) attribute. /// - [Description("The [`tag`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.tags) attribute.")] - TAG, + [Description("The [`tag`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.tags) attribute.")] + TAG, /// ///The [`title`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.title) attribute. /// - [Description("The [`title`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.title) attribute.")] - TITLE, + [Description("The [`title`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.title) attribute.")] + TITLE, /// ///The [`type`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.productType) attribute. /// - [Description("The [`type`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.productType) attribute.")] - TYPE, + [Description("The [`type`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.productType) attribute.")] + TYPE, /// ///The [`product_taxonomy_node_id`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.productCategory) attribute. /// - [Description("The [`product_taxonomy_node_id`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.productCategory) attribute.")] - PRODUCT_TAXONOMY_NODE_ID, + [Description("The [`product_taxonomy_node_id`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.productCategory) attribute.")] + PRODUCT_TAXONOMY_NODE_ID, /// ///This rule type is designed to dynamically include products in a smart collection based on their category id. ///When a specific product category is set as a condition, this rule will match products that are directly assigned to the specified category. /// - [Description("This rule type is designed to dynamically include products in a smart collection based on their category id.\nWhen a specific product category is set as a condition, this rule will match products that are directly assigned to the specified category.")] - PRODUCT_CATEGORY_ID, + [Description("This rule type is designed to dynamically include products in a smart collection based on their category id.\nWhen a specific product category is set as a condition, this rule will match products that are directly assigned to the specified category.")] + PRODUCT_CATEGORY_ID, /// ///This rule type is designed to dynamically include products in a smart collection based on their category id. ///When a specific product category is set as a condition, this rule will not only match products that are ///directly assigned to the specified category but also include any products categorized under any descendant of that category. /// - [Description("This rule type is designed to dynamically include products in a smart collection based on their category id.\nWhen a specific product category is set as a condition, this rule will not only match products that are\ndirectly assigned to the specified category but also include any products categorized under any descendant of that category.")] - PRODUCT_CATEGORY_ID_WITH_DESCENDANTS, + [Description("This rule type is designed to dynamically include products in a smart collection based on their category id.\nWhen a specific product category is set as a condition, this rule will not only match products that are\ndirectly assigned to the specified category but also include any products categorized under any descendant of that category.")] + PRODUCT_CATEGORY_ID_WITH_DESCENDANTS, /// ///The [`vendor`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.vendor) attribute. /// - [Description("The [`vendor`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.vendor) attribute.")] - VENDOR, + [Description("The [`vendor`](https://shopify.dev/api/admin-graphql/latest/objects/Product#field-Product.fields.vendor) attribute.")] + VENDOR, /// ///The [`variant_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.price) attribute. /// - [Description("The [`variant_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.price) attribute.")] - VARIANT_PRICE, + [Description("The [`variant_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.price) attribute.")] + VARIANT_PRICE, /// ///An attribute evaluated based on the `compare_at_price` attribute of the product's variants. ///With `is_set` relation, the rule matches products with at least one variant with `compare_at_price` set. ///With `is_not_set` relation, the rule matches matches products with at least one variant with `compare_at_price` not set. /// - [Description("An attribute evaluated based on the `compare_at_price` attribute of the product's variants.\nWith `is_set` relation, the rule matches products with at least one variant with `compare_at_price` set.\nWith `is_not_set` relation, the rule matches matches products with at least one variant with `compare_at_price` not set.")] - IS_PRICE_REDUCED, + [Description("An attribute evaluated based on the `compare_at_price` attribute of the product's variants.\nWith `is_set` relation, the rule matches products with at least one variant with `compare_at_price` set.\nWith `is_not_set` relation, the rule matches matches products with at least one variant with `compare_at_price` not set.")] + IS_PRICE_REDUCED, /// ///The [`variant_compare_at_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.compareAtPrice) attribute. /// - [Description("The [`variant_compare_at_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.compareAtPrice) attribute.")] - VARIANT_COMPARE_AT_PRICE, + [Description("The [`variant_compare_at_price`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.compareAtPrice) attribute.")] + VARIANT_COMPARE_AT_PRICE, /// ///The [`variant_weight`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.inventoryItem.measurement.weight) attribute. /// - [Description("The [`variant_weight`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.inventoryItem.measurement.weight) attribute.")] - VARIANT_WEIGHT, + [Description("The [`variant_weight`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.inventoryItem.measurement.weight) attribute.")] + VARIANT_WEIGHT, /// ///The [`variant_inventory`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.inventoryQuantity) attribute. /// - [Description("The [`variant_inventory`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.inventoryQuantity) attribute.")] - VARIANT_INVENTORY, + [Description("The [`variant_inventory`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.inventoryQuantity) attribute.")] + VARIANT_INVENTORY, /// ///The [`variant_title`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.title) attribute. /// - [Description("The [`variant_title`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.title) attribute.")] - VARIANT_TITLE, + [Description("The [`variant_title`](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant#field-ProductVariant.fields.title) attribute.")] + VARIANT_TITLE, /// ///This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true. /// - [Description("This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true.")] - PRODUCT_METAFIELD_DEFINITION, + [Description("This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true.")] + PRODUCT_METAFIELD_DEFINITION, /// ///This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true. /// - [Description("This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true.")] - VARIANT_METAFIELD_DEFINITION, - } - - public static class CollectionRuleColumnStringValues - { - public const string TAG = @"TAG"; - public const string TITLE = @"TITLE"; - public const string TYPE = @"TYPE"; - public const string PRODUCT_TAXONOMY_NODE_ID = @"PRODUCT_TAXONOMY_NODE_ID"; - public const string PRODUCT_CATEGORY_ID = @"PRODUCT_CATEGORY_ID"; - public const string PRODUCT_CATEGORY_ID_WITH_DESCENDANTS = @"PRODUCT_CATEGORY_ID_WITH_DESCENDANTS"; - public const string VENDOR = @"VENDOR"; - public const string VARIANT_PRICE = @"VARIANT_PRICE"; - public const string IS_PRICE_REDUCED = @"IS_PRICE_REDUCED"; - public const string VARIANT_COMPARE_AT_PRICE = @"VARIANT_COMPARE_AT_PRICE"; - public const string VARIANT_WEIGHT = @"VARIANT_WEIGHT"; - public const string VARIANT_INVENTORY = @"VARIANT_INVENTORY"; - public const string VARIANT_TITLE = @"VARIANT_TITLE"; - public const string PRODUCT_METAFIELD_DEFINITION = @"PRODUCT_METAFIELD_DEFINITION"; - public const string VARIANT_METAFIELD_DEFINITION = @"VARIANT_METAFIELD_DEFINITION"; - } - + [Description("This category includes metafield definitions that have the `useAsCollectionCondition` flag set to true.")] + VARIANT_METAFIELD_DEFINITION, + } + + public static class CollectionRuleColumnStringValues + { + public const string TAG = @"TAG"; + public const string TITLE = @"TITLE"; + public const string TYPE = @"TYPE"; + public const string PRODUCT_TAXONOMY_NODE_ID = @"PRODUCT_TAXONOMY_NODE_ID"; + public const string PRODUCT_CATEGORY_ID = @"PRODUCT_CATEGORY_ID"; + public const string PRODUCT_CATEGORY_ID_WITH_DESCENDANTS = @"PRODUCT_CATEGORY_ID_WITH_DESCENDANTS"; + public const string VENDOR = @"VENDOR"; + public const string VARIANT_PRICE = @"VARIANT_PRICE"; + public const string IS_PRICE_REDUCED = @"IS_PRICE_REDUCED"; + public const string VARIANT_COMPARE_AT_PRICE = @"VARIANT_COMPARE_AT_PRICE"; + public const string VARIANT_WEIGHT = @"VARIANT_WEIGHT"; + public const string VARIANT_INVENTORY = @"VARIANT_INVENTORY"; + public const string VARIANT_TITLE = @"VARIANT_TITLE"; + public const string PRODUCT_METAFIELD_DEFINITION = @"PRODUCT_METAFIELD_DEFINITION"; + public const string VARIANT_METAFIELD_DEFINITION = @"VARIANT_METAFIELD_DEFINITION"; + } + /// ///Specifies object for the condition of the rule. /// - [Description("Specifies object for the condition of the rule.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CollectionRuleCategoryCondition), typeDiscriminator: "CollectionRuleCategoryCondition")] - [JsonDerivedType(typeof(CollectionRuleMetafieldCondition), typeDiscriminator: "CollectionRuleMetafieldCondition")] - [JsonDerivedType(typeof(CollectionRuleProductCategoryCondition), typeDiscriminator: "CollectionRuleProductCategoryCondition")] - [JsonDerivedType(typeof(CollectionRuleTextCondition), typeDiscriminator: "CollectionRuleTextCondition")] - public interface ICollectionRuleConditionObject : IGraphQLObject - { - public CollectionRuleCategoryCondition? AsCollectionRuleCategoryCondition() => this as CollectionRuleCategoryCondition; - public CollectionRuleMetafieldCondition? AsCollectionRuleMetafieldCondition() => this as CollectionRuleMetafieldCondition; - public CollectionRuleProductCategoryCondition? AsCollectionRuleProductCategoryCondition() => this as CollectionRuleProductCategoryCondition; - public CollectionRuleTextCondition? AsCollectionRuleTextCondition() => this as CollectionRuleTextCondition; - } - + [Description("Specifies object for the condition of the rule.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CollectionRuleCategoryCondition), typeDiscriminator: "CollectionRuleCategoryCondition")] + [JsonDerivedType(typeof(CollectionRuleMetafieldCondition), typeDiscriminator: "CollectionRuleMetafieldCondition")] + [JsonDerivedType(typeof(CollectionRuleProductCategoryCondition), typeDiscriminator: "CollectionRuleProductCategoryCondition")] + [JsonDerivedType(typeof(CollectionRuleTextCondition), typeDiscriminator: "CollectionRuleTextCondition")] + public interface ICollectionRuleConditionObject : IGraphQLObject + { + public CollectionRuleCategoryCondition? AsCollectionRuleCategoryCondition() => this as CollectionRuleCategoryCondition; + public CollectionRuleMetafieldCondition? AsCollectionRuleMetafieldCondition() => this as CollectionRuleMetafieldCondition; + public CollectionRuleProductCategoryCondition? AsCollectionRuleProductCategoryCondition() => this as CollectionRuleProductCategoryCondition; + public CollectionRuleTextCondition? AsCollectionRuleTextCondition() => this as CollectionRuleTextCondition; + } + /// ///Defines the available columns and relationships that can be used when creating rules for smart collections. This provides the schema for building automated collection logic based on product attributes. /// @@ -16615,7816 +16615,7816 @@ public interface ICollectionRuleConditionObject : IGraphQLObject /// ///Learn more about [smart collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection). /// - [Description("Defines the available columns and relationships that can be used when creating rules for smart collections. This provides the schema for building automated collection logic based on product attributes.\n\nFor example, merchants can create rules like \"product type equals 'Shirts'\" or \"vendor contains 'Nike'\" using the conditions defined in this object to automatically populate collections.\n\nUse `CollectionRuleConditions` to:\n- Discovering valid field options for smart collection rule interfaces\n- Understanding which conditions are available for automated collections\n- Exploring available product attributes for collection automation\n- Learning about proper field relationships for rule implementation\n\nThe conditions define which product fields can be used in smart collection rules and what types of comparisons are allowed for each field.\n\nLearn more about [smart collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] - public class CollectionRuleConditions : GraphQLObject - { + [Description("Defines the available columns and relationships that can be used when creating rules for smart collections. This provides the schema for building automated collection logic based on product attributes.\n\nFor example, merchants can create rules like \"product type equals 'Shirts'\" or \"vendor contains 'Nike'\" using the conditions defined in this object to automatically populate collections.\n\nUse `CollectionRuleConditions` to:\n- Discovering valid field options for smart collection rule interfaces\n- Understanding which conditions are available for automated collections\n- Exploring available product attributes for collection automation\n- Learning about proper field relationships for rule implementation\n\nThe conditions define which product fields can be used in smart collection rules and what types of comparisons are allowed for each field.\n\nLearn more about [smart collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] + public class CollectionRuleConditions : GraphQLObject + { /// ///Allowed relations of the rule. /// - [Description("Allowed relations of the rule.")] - [NonNull] - public IEnumerable? allowedRelations { get; set; } - + [Description("Allowed relations of the rule.")] + [NonNull] + public IEnumerable? allowedRelations { get; set; } + /// ///Most commonly used relation for this rule. /// - [Description("Most commonly used relation for this rule.")] - [NonNull] - [EnumType(typeof(CollectionRuleRelation))] - public string? defaultRelation { get; set; } - + [Description("Most commonly used relation for this rule.")] + [NonNull] + [EnumType(typeof(CollectionRuleRelation))] + public string? defaultRelation { get; set; } + /// ///Additional attributes defining the rule. /// - [Description("Additional attributes defining the rule.")] - public ICollectionRuleConditionsRuleObject? ruleObject { get; set; } - + [Description("Additional attributes defining the rule.")] + public ICollectionRuleConditionsRuleObject? ruleObject { get; set; } + /// ///Type of the rule. /// - [Description("Type of the rule.")] - [NonNull] - [EnumType(typeof(CollectionRuleColumn))] - public string? ruleType { get; set; } - } - + [Description("Type of the rule.")] + [NonNull] + [EnumType(typeof(CollectionRuleColumn))] + public string? ruleType { get; set; } + } + /// ///Specifies object with additional rule attributes. /// - [Description("Specifies object with additional rule attributes.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CollectionRuleMetafieldCondition), typeDiscriminator: "CollectionRuleMetafieldCondition")] - public interface ICollectionRuleConditionsRuleObject : IGraphQLObject - { - public CollectionRuleMetafieldCondition? AsCollectionRuleMetafieldCondition() => this as CollectionRuleMetafieldCondition; + [Description("Specifies object with additional rule attributes.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CollectionRuleMetafieldCondition), typeDiscriminator: "CollectionRuleMetafieldCondition")] + public interface ICollectionRuleConditionsRuleObject : IGraphQLObject + { + public CollectionRuleMetafieldCondition? AsCollectionRuleMetafieldCondition() => this as CollectionRuleMetafieldCondition; /// ///The metafield condition display name associated to the rule. /// - [Description("The metafield condition display name associated to the rule.")] - public string? metafieldConditionDisplayName { get; set; } - + [Description("The metafield condition display name associated to the rule.")] + public string? metafieldConditionDisplayName { get; set; } + /// ///The metafield definition associated with the condition. /// - [Description("The metafield definition associated with the condition.")] - [NonNull] - public MetafieldDefinition? metafieldDefinition { get; set; } - } - + [Description("The metafield definition associated with the condition.")] + [NonNull] + public MetafieldDefinition? metafieldDefinition { get; set; } + } + /// ///The input fields for a rule to associate with a collection. /// - [Description("The input fields for a rule to associate with a collection.")] - public class CollectionRuleInput : GraphQLObject - { + [Description("The input fields for a rule to associate with a collection.")] + public class CollectionRuleInput : GraphQLObject + { /// ///The attribute that the rule focuses on. For example, `title` or `product_type`. /// - [Description("The attribute that the rule focuses on. For example, `title` or `product_type`.")] - [NonNull] - [EnumType(typeof(CollectionRuleColumn))] - public string? column { get; set; } - + [Description("The attribute that the rule focuses on. For example, `title` or `product_type`.")] + [NonNull] + [EnumType(typeof(CollectionRuleColumn))] + public string? column { get; set; } + /// ///The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`. /// - [Description("The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`.")] - [NonNull] - [EnumType(typeof(CollectionRuleRelation))] - public string? relation { get; set; } - + [Description("The type of operator that the rule is based on. For example, `equals`, `contains`, or `not_equals`.")] + [NonNull] + [EnumType(typeof(CollectionRuleRelation))] + public string? relation { get; set; } + /// ///The value that the operator is applied to. For example, `Hats`. /// - [Description("The value that the operator is applied to. For example, `Hats`.")] - [NonNull] - public string? condition { get; set; } - + [Description("The value that the operator is applied to. For example, `Hats`.")] + [NonNull] + public string? condition { get; set; } + /// ///The object ID that points to additional attributes for the collection rule. ///This is only required when using metafield definition rules. /// - [Description("The object ID that points to additional attributes for the collection rule.\nThis is only required when using metafield definition rules.")] - public string? conditionObjectId { get; set; } - } - + [Description("The object ID that points to additional attributes for the collection rule.\nThis is only required when using metafield definition rules.")] + public string? conditionObjectId { get; set; } + } + /// ///Identifies a metafield definition used as a rule for the smart collection. /// - [Description("Identifies a metafield definition used as a rule for the smart collection.")] - public class CollectionRuleMetafieldCondition : GraphQLObject, ICollectionRuleConditionObject, ICollectionRuleConditionsRuleObject - { + [Description("Identifies a metafield definition used as a rule for the smart collection.")] + public class CollectionRuleMetafieldCondition : GraphQLObject, ICollectionRuleConditionObject, ICollectionRuleConditionsRuleObject + { /// ///The metafield condition display name associated to the rule. /// - [Description("The metafield condition display name associated to the rule.")] - public string? metafieldConditionDisplayName { get; set; } - + [Description("The metafield condition display name associated to the rule.")] + public string? metafieldConditionDisplayName { get; set; } + /// ///The metafield definition associated with the condition. /// - [Description("The metafield definition associated with the condition.")] - [NonNull] - public MetafieldDefinition? metafieldDefinition { get; set; } - } - + [Description("The metafield definition associated with the condition.")] + [NonNull] + public MetafieldDefinition? metafieldDefinition { get; set; } + } + /// ///Specifies the condition for a Product Category field. /// - [Description("Specifies the condition for a Product Category field.")] - public class CollectionRuleProductCategoryCondition : GraphQLObject, ICollectionRuleConditionObject - { + [Description("Specifies the condition for a Product Category field.")] + public class CollectionRuleProductCategoryCondition : GraphQLObject, ICollectionRuleConditionObject + { /// ///The value of the condition. /// - [Description("The value of the condition.")] - [NonNull] - public ProductTaxonomyNode? value { get; set; } - } - + [Description("The value of the condition.")] + [NonNull] + public ProductTaxonomyNode? value { get; set; } + } + /// ///Specifies the relationship between the `column` and the `condition`. /// - [Description("Specifies the relationship between the `column` and the `condition`.")] - public enum CollectionRuleRelation - { + [Description("Specifies the relationship between the `column` and the `condition`.")] + public enum CollectionRuleRelation + { /// ///The attribute contains the condition. /// - [Description("The attribute contains the condition.")] - CONTAINS, + [Description("The attribute contains the condition.")] + CONTAINS, /// ///The attribute ends with the condition. /// - [Description("The attribute ends with the condition.")] - ENDS_WITH, + [Description("The attribute ends with the condition.")] + ENDS_WITH, /// ///The attribute is equal to the condition. /// - [Description("The attribute is equal to the condition.")] - EQUALS, + [Description("The attribute is equal to the condition.")] + EQUALS, /// ///The attribute is greater than the condition. /// - [Description("The attribute is greater than the condition.")] - GREATER_THAN, + [Description("The attribute is greater than the condition.")] + GREATER_THAN, /// ///The attribute is not set (equal to `null`). /// - [Description("The attribute is not set (equal to `null`).")] - IS_NOT_SET, + [Description("The attribute is not set (equal to `null`).")] + IS_NOT_SET, /// ///The attribute is set (not equal to `null`). /// - [Description("The attribute is set (not equal to `null`).")] - IS_SET, + [Description("The attribute is set (not equal to `null`).")] + IS_SET, /// ///The attribute is less than the condition. /// - [Description("The attribute is less than the condition.")] - LESS_THAN, + [Description("The attribute is less than the condition.")] + LESS_THAN, /// ///The attribute does not contain the condition. /// - [Description("The attribute does not contain the condition.")] - NOT_CONTAINS, + [Description("The attribute does not contain the condition.")] + NOT_CONTAINS, /// ///The attribute does not equal the condition. /// - [Description("The attribute does not equal the condition.")] - NOT_EQUALS, + [Description("The attribute does not equal the condition.")] + NOT_EQUALS, /// ///The attribute starts with the condition. /// - [Description("The attribute starts with the condition.")] - STARTS_WITH, - } - - public static class CollectionRuleRelationStringValues - { - public const string CONTAINS = @"CONTAINS"; - public const string ENDS_WITH = @"ENDS_WITH"; - public const string EQUALS = @"EQUALS"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string IS_NOT_SET = @"IS_NOT_SET"; - public const string IS_SET = @"IS_SET"; - public const string LESS_THAN = @"LESS_THAN"; - public const string NOT_CONTAINS = @"NOT_CONTAINS"; - public const string NOT_EQUALS = @"NOT_EQUALS"; - public const string STARTS_WITH = @"STARTS_WITH"; - } - + [Description("The attribute starts with the condition.")] + STARTS_WITH, + } + + public static class CollectionRuleRelationStringValues + { + public const string CONTAINS = @"CONTAINS"; + public const string ENDS_WITH = @"ENDS_WITH"; + public const string EQUALS = @"EQUALS"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string IS_NOT_SET = @"IS_NOT_SET"; + public const string IS_SET = @"IS_SET"; + public const string LESS_THAN = @"LESS_THAN"; + public const string NOT_CONTAINS = @"NOT_CONTAINS"; + public const string NOT_EQUALS = @"NOT_EQUALS"; + public const string STARTS_WITH = @"STARTS_WITH"; + } + /// ///The set of rules that are used to determine which products are included in the collection. /// - [Description("The set of rules that are used to determine which products are included in the collection.")] - public class CollectionRuleSet : GraphQLObject - { + [Description("The set of rules that are used to determine which products are included in the collection.")] + public class CollectionRuleSet : GraphQLObject + { /// ///Whether products must match any or all of the rules to be included in the collection. ///If true, then products must match at least one of the rules to be included in the collection. ///If false, then products must match all of the rules to be included in the collection. /// - [Description("Whether products must match any or all of the rules to be included in the collection.\nIf true, then products must match at least one of the rules to be included in the collection.\nIf false, then products must match all of the rules to be included in the collection.")] - [NonNull] - public bool? appliedDisjunctively { get; set; } - + [Description("Whether products must match any or all of the rules to be included in the collection.\nIf true, then products must match at least one of the rules to be included in the collection.\nIf false, then products must match all of the rules to be included in the collection.")] + [NonNull] + public bool? appliedDisjunctively { get; set; } + /// ///The rules used to assign products to the collection. /// - [Description("The rules used to assign products to the collection.")] - [NonNull] - public IEnumerable? rules { get; set; } - } - + [Description("The rules used to assign products to the collection.")] + [NonNull] + public IEnumerable? rules { get; set; } + } + /// ///The input fields for a rule set of the collection. /// - [Description("The input fields for a rule set of the collection.")] - public class CollectionRuleSetInput : GraphQLObject - { + [Description("The input fields for a rule set of the collection.")] + public class CollectionRuleSetInput : GraphQLObject + { /// ///Whether products must match any or all of the rules to be included in the collection. ///If true, then products must match at least one of the rules to be included in the collection. ///If false, then products must match all of the rules to be included in the collection. /// - [Description("Whether products must match any or all of the rules to be included in the collection.\nIf true, then products must match at least one of the rules to be included in the collection.\nIf false, then products must match all of the rules to be included in the collection.")] - [NonNull] - public bool? appliedDisjunctively { get; set; } - + [Description("Whether products must match any or all of the rules to be included in the collection.\nIf true, then products must match at least one of the rules to be included in the collection.\nIf false, then products must match all of the rules to be included in the collection.")] + [NonNull] + public bool? appliedDisjunctively { get; set; } + /// ///The rules used to assign products to the collection. /// - [Description("The rules used to assign products to the collection.")] - public IEnumerable? rules { get; set; } - } - + [Description("The rules used to assign products to the collection.")] + public IEnumerable? rules { get; set; } + } + /// ///Specifies the condition for a text field. /// - [Description("Specifies the condition for a text field.")] - public class CollectionRuleTextCondition : GraphQLObject, ICollectionRuleConditionObject - { + [Description("Specifies the condition for a text field.")] + public class CollectionRuleTextCondition : GraphQLObject, ICollectionRuleConditionObject + { /// ///The value of the condition. /// - [Description("The value of the condition.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the condition.")] + [NonNull] + public string? value { get; set; } + } + /// ///The set of valid sort keys for the Collection query. /// - [Description("The set of valid sort keys for the Collection query.")] - public enum CollectionSortKeys - { + [Description("The set of valid sort keys for the Collection query.")] + public enum CollectionSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `sort_order` value. /// - [Description("Sort by the `sort_order` value.")] - SORT_ORDER, + [Description("Sort by the `sort_order` value.")] + SORT_ORDER, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CollectionSortKeysStringValues - { - public const string ID = @"ID"; - public const string RELEVANCE = @"RELEVANCE"; - public const string SORT_ORDER = @"SORT_ORDER"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CollectionSortKeysStringValues + { + public const string ID = @"ID"; + public const string RELEVANCE = @"RELEVANCE"; + public const string SORT_ORDER = @"SORT_ORDER"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Specifies the sort order for the products in the collection. /// - [Description("Specifies the sort order for the products in the collection.")] - public enum CollectionSortOrder - { + [Description("Specifies the sort order for the products in the collection.")] + public enum CollectionSortOrder + { /// ///Alphabetically, in ascending order (A - Z). /// - [Description("Alphabetically, in ascending order (A - Z).")] - ALPHA_ASC, + [Description("Alphabetically, in ascending order (A - Z).")] + ALPHA_ASC, /// ///Alphabetically, in descending order (Z - A). /// - [Description("Alphabetically, in descending order (Z - A).")] - ALPHA_DESC, + [Description("Alphabetically, in descending order (Z - A).")] + ALPHA_DESC, /// ///By best-selling products. /// - [Description("By best-selling products.")] - BEST_SELLING, + [Description("By best-selling products.")] + BEST_SELLING, /// ///By date created, in ascending order (oldest - newest). /// - [Description("By date created, in ascending order (oldest - newest).")] - CREATED, + [Description("By date created, in ascending order (oldest - newest).")] + CREATED, /// ///By date created, in descending order (newest - oldest). /// - [Description("By date created, in descending order (newest - oldest).")] - CREATED_DESC, + [Description("By date created, in descending order (newest - oldest).")] + CREATED_DESC, /// ///In the order set manually by the merchant. /// - [Description("In the order set manually by the merchant.")] - MANUAL, + [Description("In the order set manually by the merchant.")] + MANUAL, /// ///By price, in ascending order (lowest - highest). /// - [Description("By price, in ascending order (lowest - highest).")] - PRICE_ASC, + [Description("By price, in ascending order (lowest - highest).")] + PRICE_ASC, /// ///By price, in descending order (highest - lowest). /// - [Description("By price, in descending order (highest - lowest).")] - PRICE_DESC, - } - - public static class CollectionSortOrderStringValues - { - public const string ALPHA_ASC = @"ALPHA_ASC"; - public const string ALPHA_DESC = @"ALPHA_DESC"; - public const string BEST_SELLING = @"BEST_SELLING"; - public const string CREATED = @"CREATED"; - public const string CREATED_DESC = @"CREATED_DESC"; - public const string MANUAL = @"MANUAL"; - public const string PRICE_ASC = @"PRICE_ASC"; - public const string PRICE_DESC = @"PRICE_DESC"; - } - + [Description("By price, in descending order (highest - lowest).")] + PRICE_DESC, + } + + public static class CollectionSortOrderStringValues + { + public const string ALPHA_ASC = @"ALPHA_ASC"; + public const string ALPHA_DESC = @"ALPHA_DESC"; + public const string BEST_SELLING = @"BEST_SELLING"; + public const string CREATED = @"CREATED"; + public const string CREATED_DESC = @"CREATED_DESC"; + public const string MANUAL = @"MANUAL"; + public const string PRICE_ASC = @"PRICE_ASC"; + public const string PRICE_DESC = @"PRICE_DESC"; + } + /// ///The input fields for specifying the collection to unpublish and the sales channels to remove it from. /// - [Description("The input fields for specifying the collection to unpublish and the sales channels to remove it from.")] - public class CollectionUnpublishInput : GraphQLObject - { + [Description("The input fields for specifying the collection to unpublish and the sales channels to remove it from.")] + public class CollectionUnpublishInput : GraphQLObject + { /// ///The collection to create or update publications for. /// - [Description("The collection to create or update publications for.")] - [NonNull] - public string? id { get; set; } - + [Description("The collection to create or update publications for.")] + [NonNull] + public string? id { get; set; } + /// ///The channels where the collection is published. /// - [Description("The channels where the collection is published.")] - [NonNull] - public IEnumerable? collectionPublications { get; set; } - } - + [Description("The channels where the collection is published.")] + [NonNull] + public IEnumerable? collectionPublications { get; set; } + } + /// ///Return type for `collectionUnpublish` mutation. /// - [Description("Return type for `collectionUnpublish` mutation.")] - public class CollectionUnpublishPayload : GraphQLObject - { + [Description("Return type for `collectionUnpublish` mutation.")] + public class CollectionUnpublishPayload : GraphQLObject + { /// ///The collection that has been unpublished. /// - [Description("The collection that has been unpublished.")] - public Collection? collection { get; set; } - + [Description("The collection that has been unpublished.")] + public Collection? collection { get; set; } + /// ///The shop associated with the collection. /// - [Description("The shop associated with the collection.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The shop associated with the collection.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `collectionUpdate` mutation. /// - [Description("Return type for `collectionUpdate` mutation.")] - public class CollectionUpdatePayload : GraphQLObject - { + [Description("Return type for `collectionUpdate` mutation.")] + public class CollectionUpdatePayload : GraphQLObject + { /// ///The updated collection. /// - [Description("The updated collection.")] - public Collection? collection { get; set; } - + [Description("The updated collection.")] + public Collection? collection { get; set; } + /// ///The asynchronous job updating the products based on the new rule set. /// - [Description("The asynchronous job updating the products based on the new rule set.")] - public Job? job { get; set; } - + [Description("The asynchronous job updating the products based on the new rule set.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The data type of a column. /// - [Description("The data type of a column.")] - public enum ColumnDataType - { + [Description("The data type of a column.")] + public enum ColumnDataType + { /// ///Represents an unspecified data type. /// - [Description("Represents an unspecified data type.")] - UNSPECIFIED, + [Description("Represents an unspecified data type.")] + UNSPECIFIED, /// ///Represents a monetary value. /// - [Description("Represents a monetary value.")] - MONEY, + [Description("Represents a monetary value.")] + MONEY, /// ///Represents a percentage value. /// - [Description("Represents a percentage value.")] - PERCENT, + [Description("Represents a percentage value.")] + PERCENT, /// ///Represents an integer value. /// - [Description("Represents an integer value.")] - INTEGER, + [Description("Represents an integer value.")] + INTEGER, /// ///Represents a floating point value. /// - [Description("Represents a floating point value.")] - FLOAT, + [Description("Represents a floating point value.")] + FLOAT, /// ///Represents a decimal value. /// - [Description("Represents a decimal value.")] - DECIMAL, + [Description("Represents a decimal value.")] + DECIMAL, /// ///Represents a string value. /// - [Description("Represents a string value.")] - STRING, + [Description("Represents a string value.")] + STRING, /// ///Represents a boolean value. /// - [Description("Represents a boolean value.")] - BOOLEAN, + [Description("Represents a boolean value.")] + BOOLEAN, /// ///Represents a timestamp value in seconds. /// - [Description("Represents a timestamp value in seconds.")] - TIMESTAMP, + [Description("Represents a timestamp value in seconds.")] + TIMESTAMP, /// ///Represents a minute-level timestamp value. /// - [Description("Represents a minute-level timestamp value.")] - MINUTE_TIMESTAMP, + [Description("Represents a minute-level timestamp value.")] + MINUTE_TIMESTAMP, /// ///Represents a hour-level timestamp value. /// - [Description("Represents a hour-level timestamp value.")] - HOUR_TIMESTAMP, + [Description("Represents a hour-level timestamp value.")] + HOUR_TIMESTAMP, /// ///Represents a day-level timestamp value. /// - [Description("Represents a day-level timestamp value.")] - DAY_TIMESTAMP, + [Description("Represents a day-level timestamp value.")] + DAY_TIMESTAMP, /// ///Represents a week-level timestamp value. /// - [Description("Represents a week-level timestamp value.")] - WEEK_TIMESTAMP, + [Description("Represents a week-level timestamp value.")] + WEEK_TIMESTAMP, /// ///Represents a month-level timestamp value. /// - [Description("Represents a month-level timestamp value.")] - MONTH_TIMESTAMP, + [Description("Represents a month-level timestamp value.")] + MONTH_TIMESTAMP, /// ///Represents a quarter-level timestamp value. /// - [Description("Represents a quarter-level timestamp value.")] - QUARTER_TIMESTAMP, + [Description("Represents a quarter-level timestamp value.")] + QUARTER_TIMESTAMP, /// ///Represents a year-level timestamp value. /// - [Description("Represents a year-level timestamp value.")] - YEAR_TIMESTAMP, + [Description("Represents a year-level timestamp value.")] + YEAR_TIMESTAMP, /// ///Represents a day of week value. /// - [Description("Represents a day of week value.")] - DAY_OF_WEEK, + [Description("Represents a day of week value.")] + DAY_OF_WEEK, /// ///Represents an hour of day value. /// - [Description("Represents an hour of day value.")] - HOUR_OF_DAY, + [Description("Represents an hour of day value.")] + HOUR_OF_DAY, /// ///Represents an identity value. /// - [Description("Represents an identity value.")] - IDENTITY, + [Description("Represents an identity value.")] + IDENTITY, /// ///Represents a month of year value. /// - [Description("Represents a month of year value.")] - MONTH_OF_YEAR, + [Description("Represents a month of year value.")] + MONTH_OF_YEAR, /// ///Represents a week of year value. /// - [Description("Represents a week of year value.")] - WEEK_OF_YEAR, + [Description("Represents a week of year value.")] + WEEK_OF_YEAR, /// ///Represents a second-level timestamp value. /// - [Description("Represents a second-level timestamp value.")] - SECOND_TIMESTAMP, + [Description("Represents a second-level timestamp value.")] + SECOND_TIMESTAMP, /// ///Represents an array of values. /// - [Description("Represents an array of values.")] - ARRAY, + [Description("Represents an array of values.")] + ARRAY, /// ///Represents a duration in milliseconds. /// - [Description("Represents a duration in milliseconds.")] - MILLISECOND_DURATION, + [Description("Represents a duration in milliseconds.")] + MILLISECOND_DURATION, /// ///Represents a duration in seconds. /// - [Description("Represents a duration in seconds.")] - SECOND_DURATION, + [Description("Represents a duration in seconds.")] + SECOND_DURATION, /// ///Represents a duration in minutes. /// - [Description("Represents a duration in minutes.")] - MINUTE_DURATION, + [Description("Represents a duration in minutes.")] + MINUTE_DURATION, /// ///Represents a duration in hours. /// - [Description("Represents a duration in hours.")] - HOUR_DURATION, + [Description("Represents a duration in hours.")] + HOUR_DURATION, /// ///Represents a duration in days. /// - [Description("Represents a duration in days.")] - DAY_DURATION, - } - - public static class ColumnDataTypeStringValues - { - public const string UNSPECIFIED = @"UNSPECIFIED"; - public const string MONEY = @"MONEY"; - public const string PERCENT = @"PERCENT"; - public const string INTEGER = @"INTEGER"; - public const string FLOAT = @"FLOAT"; - public const string DECIMAL = @"DECIMAL"; - public const string STRING = @"STRING"; - public const string BOOLEAN = @"BOOLEAN"; - public const string TIMESTAMP = @"TIMESTAMP"; - public const string MINUTE_TIMESTAMP = @"MINUTE_TIMESTAMP"; - public const string HOUR_TIMESTAMP = @"HOUR_TIMESTAMP"; - public const string DAY_TIMESTAMP = @"DAY_TIMESTAMP"; - public const string WEEK_TIMESTAMP = @"WEEK_TIMESTAMP"; - public const string MONTH_TIMESTAMP = @"MONTH_TIMESTAMP"; - public const string QUARTER_TIMESTAMP = @"QUARTER_TIMESTAMP"; - public const string YEAR_TIMESTAMP = @"YEAR_TIMESTAMP"; - public const string DAY_OF_WEEK = @"DAY_OF_WEEK"; - public const string HOUR_OF_DAY = @"HOUR_OF_DAY"; - public const string IDENTITY = @"IDENTITY"; - public const string MONTH_OF_YEAR = @"MONTH_OF_YEAR"; - public const string WEEK_OF_YEAR = @"WEEK_OF_YEAR"; - public const string SECOND_TIMESTAMP = @"SECOND_TIMESTAMP"; - public const string ARRAY = @"ARRAY"; - public const string MILLISECOND_DURATION = @"MILLISECOND_DURATION"; - public const string SECOND_DURATION = @"SECOND_DURATION"; - public const string MINUTE_DURATION = @"MINUTE_DURATION"; - public const string HOUR_DURATION = @"HOUR_DURATION"; - public const string DAY_DURATION = @"DAY_DURATION"; - } - + [Description("Represents a duration in days.")] + DAY_DURATION, + } + + public static class ColumnDataTypeStringValues + { + public const string UNSPECIFIED = @"UNSPECIFIED"; + public const string MONEY = @"MONEY"; + public const string PERCENT = @"PERCENT"; + public const string INTEGER = @"INTEGER"; + public const string FLOAT = @"FLOAT"; + public const string DECIMAL = @"DECIMAL"; + public const string STRING = @"STRING"; + public const string BOOLEAN = @"BOOLEAN"; + public const string TIMESTAMP = @"TIMESTAMP"; + public const string MINUTE_TIMESTAMP = @"MINUTE_TIMESTAMP"; + public const string HOUR_TIMESTAMP = @"HOUR_TIMESTAMP"; + public const string DAY_TIMESTAMP = @"DAY_TIMESTAMP"; + public const string WEEK_TIMESTAMP = @"WEEK_TIMESTAMP"; + public const string MONTH_TIMESTAMP = @"MONTH_TIMESTAMP"; + public const string QUARTER_TIMESTAMP = @"QUARTER_TIMESTAMP"; + public const string YEAR_TIMESTAMP = @"YEAR_TIMESTAMP"; + public const string DAY_OF_WEEK = @"DAY_OF_WEEK"; + public const string HOUR_OF_DAY = @"HOUR_OF_DAY"; + public const string IDENTITY = @"IDENTITY"; + public const string MONTH_OF_YEAR = @"MONTH_OF_YEAR"; + public const string WEEK_OF_YEAR = @"WEEK_OF_YEAR"; + public const string SECOND_TIMESTAMP = @"SECOND_TIMESTAMP"; + public const string ARRAY = @"ARRAY"; + public const string MILLISECOND_DURATION = @"MILLISECOND_DURATION"; + public const string SECOND_DURATION = @"SECOND_DURATION"; + public const string MINUTE_DURATION = @"MINUTE_DURATION"; + public const string HOUR_DURATION = @"HOUR_DURATION"; + public const string DAY_DURATION = @"DAY_DURATION"; + } + /// ///A combined listing of products. /// - [Description("A combined listing of products.")] - public class CombinedListing : GraphQLObject - { + [Description("A combined listing of products.")] + public class CombinedListing : GraphQLObject + { /// ///A list of child products in the combined listing. /// - [Description("A list of child products in the combined listing.")] - [NonNull] - public CombinedListingChildConnection? combinedListingChildren { get; set; } - + [Description("A list of child products in the combined listing.")] + [NonNull] + public CombinedListingChildConnection? combinedListingChildren { get; set; } + /// ///The parent product. /// - [Description("The parent product.")] - [NonNull] - public Product? parentProduct { get; set; } - } - + [Description("The parent product.")] + [NonNull] + public Product? parentProduct { get; set; } + } + /// ///A child of a combined listing. /// - [Description("A child of a combined listing.")] - public class CombinedListingChild : GraphQLObject - { + [Description("A child of a combined listing.")] + public class CombinedListingChild : GraphQLObject + { /// ///The parent variant. /// - [Description("The parent variant.")] - [NonNull] - public ProductVariant? parentVariant { get; set; } - + [Description("The parent variant.")] + [NonNull] + public ProductVariant? parentVariant { get; set; } + /// ///The child product. /// - [Description("The child product.")] - [NonNull] - public Product? product { get; set; } - } - + [Description("The child product.")] + [NonNull] + public Product? product { get; set; } + } + /// ///An auto-generated type for paginating through multiple CombinedListingChildren. /// - [Description("An auto-generated type for paginating through multiple CombinedListingChildren.")] - public class CombinedListingChildConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CombinedListingChildren.")] + public class CombinedListingChildConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CombinedListingChildEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CombinedListingChildEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CombinedListingChildEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CombinedListingChild and a cursor during pagination. /// - [Description("An auto-generated type which holds one CombinedListingChild and a cursor during pagination.")] - public class CombinedListingChildEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CombinedListingChild and a cursor during pagination.")] + public class CombinedListingChildEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CombinedListingChildEdge. /// - [Description("The item at the end of CombinedListingChildEdge.")] - [NonNull] - public CombinedListingChild? node { get; set; } - } - + [Description("The item at the end of CombinedListingChildEdge.")] + [NonNull] + public CombinedListingChild? node { get; set; } + } + /// ///Return type for `combinedListingUpdate` mutation. /// - [Description("Return type for `combinedListingUpdate` mutation.")] - public class CombinedListingUpdatePayload : GraphQLObject - { + [Description("Return type for `combinedListingUpdate` mutation.")] + public class CombinedListingUpdatePayload : GraphQLObject + { /// ///The parent product. /// - [Description("The parent product.")] - public Product? product { get; set; } - + [Description("The parent product.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CombinedListingUpdate`. /// - [Description("An error that occurs during the execution of `CombinedListingUpdate`.")] - public class CombinedListingUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CombinedListingUpdate`.")] + public class CombinedListingUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CombinedListingUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CombinedListingUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CombinedListingUpdateUserError`. /// - [Description("Possible error codes that can be returned by `CombinedListingUpdateUserError`.")] - public enum CombinedListingUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `CombinedListingUpdateUserError`.")] + public enum CombinedListingUpdateUserErrorCode + { /// ///Unable to add duplicated products. /// - [Description("Unable to add duplicated products.")] - CANNOT_HAVE_DUPLICATED_PRODUCTS, + [Description("Unable to add duplicated products.")] + CANNOT_HAVE_DUPLICATED_PRODUCTS, /// ///Unable to add a product that is a parent. /// - [Description("Unable to add a product that is a parent.")] - CANNOT_HAVE_PARENT_AS_CHILD, + [Description("Unable to add a product that is a parent.")] + CANNOT_HAVE_PARENT_AS_CHILD, /// ///Option values cannot be repeated. /// - [Description("Option values cannot be repeated.")] - CANNOT_HAVE_REPEATED_OPTION_VALUES, + [Description("Option values cannot be repeated.")] + CANNOT_HAVE_REPEATED_OPTION_VALUES, /// ///Unable to add products with repeated options. /// - [Description("Unable to add products with repeated options.")] - CANNOT_HAVE_REPEATED_OPTIONS, + [Description("Unable to add products with repeated options.")] + CANNOT_HAVE_REPEATED_OPTIONS, /// ///Unable to add options values that are already in use. /// - [Description("Unable to add options values that are already in use.")] - CANT_ADD_OPTIONS_VALUES_IF_ALREADY_EXISTS, + [Description("Unable to add options values that are already in use.")] + CANT_ADD_OPTIONS_VALUES_IF_ALREADY_EXISTS, /// ///Combined listings feature is not enabled. /// - [Description("Combined listings feature is not enabled.")] - COMBINED_LISTINGS_NOT_ENABLED, + [Description("Combined listings feature is not enabled.")] + COMBINED_LISTINGS_NOT_ENABLED, /// ///Cannot perform edit and remove on same products. /// - [Description("Cannot perform edit and remove on same products.")] - EDIT_AND_REMOVE_ON_SAME_PRODUCTS, + [Description("Cannot perform edit and remove on same products.")] + EDIT_AND_REMOVE_ON_SAME_PRODUCTS, /// ///Unable to add products. /// - [Description("Unable to add products.")] - FAILED_TO_ADD_PRODUCTS, + [Description("Unable to add products.")] + FAILED_TO_ADD_PRODUCTS, /// ///Unable to remove products. /// - [Description("Unable to remove products.")] - FAILED_TO_REMOVE_PRODUCTS, + [Description("Unable to remove products.")] + FAILED_TO_REMOVE_PRODUCTS, /// ///Unable to update products. /// - [Description("Unable to update products.")] - FAILED_TO_UPDATE_PRODUCTS, + [Description("Unable to update products.")] + FAILED_TO_UPDATE_PRODUCTS, /// ///An option linked to a metafield cannot be linked to a different metafield. /// - [Description("An option linked to a metafield cannot be linked to a different metafield.")] - LINKED_METAFIELD_CANNOT_BE_CHANGED, + [Description("An option linked to a metafield cannot be linked to a different metafield.")] + LINKED_METAFIELD_CANNOT_BE_CHANGED, /// ///Linked metafield value missing from `optionsAndValues` field. /// - [Description("Linked metafield value missing from `optionsAndValues` field.")] - LINKED_METAFIELD_VALUE_MISSING, + [Description("Linked metafield value missing from `optionsAndValues` field.")] + LINKED_METAFIELD_VALUE_MISSING, /// ///The same metafield cannot be linked to multiple options. /// - [Description("The same metafield cannot be linked to multiple options.")] - LINKED_METAFIELDS_CANNOT_BE_REPEATED, + [Description("The same metafield cannot be linked to multiple options.")] + LINKED_METAFIELDS_CANNOT_BE_REPEATED, /// ///Linked options are currently not supported for this shop. /// - [Description("Linked options are currently not supported for this shop.")] - LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, + [Description("Linked options are currently not supported for this shop.")] + LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, /// ///The optionsAndValues field is required for this operation. /// - [Description("The optionsAndValues field is required for this operation.")] - MISSING_OPTION_VALUES, + [Description("The optionsAndValues field is required for this operation.")] + MISSING_OPTION_VALUES, /// ///Selected option values cannot be empty. /// - [Description("Selected option values cannot be empty.")] - MUST_HAVE_SELECTED_OPTION_VALUES, + [Description("Selected option values cannot be empty.")] + MUST_HAVE_SELECTED_OPTION_VALUES, /// ///Unable to add products with blank option names. /// - [Description("Unable to add products with blank option names.")] - OPTION_NAME_CANNOT_BE_BLANK, + [Description("Unable to add products with blank option names.")] + OPTION_NAME_CANNOT_BE_BLANK, /// ///Option name contains invalid characters. /// - [Description("Option name contains invalid characters.")] - OPTION_NAME_CONTAINS_INVALID_CHARACTERS, + [Description("Option name contains invalid characters.")] + OPTION_NAME_CONTAINS_INVALID_CHARACTERS, /// ///Option does not exist. /// - [Description("Option does not exist.")] - OPTION_NOT_FOUND, + [Description("Option does not exist.")] + OPTION_NOT_FOUND, /// ///All child products must include the same options. /// - [Description("All child products must include the same options.")] - OPTIONS_MUST_BE_EQUAL_TO_THE_OTHER_COMPONENTS, + [Description("All child products must include the same options.")] + OPTIONS_MUST_BE_EQUAL_TO_THE_OTHER_COMPONENTS, /// ///Unable to update options with blank option values. /// - [Description("Unable to update options with blank option values.")] - OPTION_VALUES_CANNOT_BE_BLANK, + [Description("Unable to update options with blank option values.")] + OPTION_VALUES_CANNOT_BE_BLANK, /// ///Unable to update options with no option values. /// - [Description("Unable to update options with no option values.")] - OPTION_VALUES_CANNOT_BE_EMPTY, + [Description("Unable to update options with no option values.")] + OPTION_VALUES_CANNOT_BE_EMPTY, /// ///The options_and_values field must contain all option values used in the combined listing. /// - [Description("The options_and_values field must contain all option values used in the combined listing.")] - OPTION_VALUES_MUST_BE_COMPLETE, + [Description("The options_and_values field must contain all option values used in the combined listing.")] + OPTION_VALUES_MUST_BE_COMPLETE, /// ///Parent product cannot be a combined listing child. /// - [Description("Parent product cannot be a combined listing child.")] - PARENT_PRODUCT_CANNOT_BE_COMBINED_LISTING_CHILD, + [Description("Parent product cannot be a combined listing child.")] + PARENT_PRODUCT_CANNOT_BE_COMBINED_LISTING_CHILD, /// ///Unable to update components for a product that isn't a combined listing. /// - [Description("Unable to update components for a product that isn't a combined listing.")] - PARENT_PRODUCT_MUST_BE_A_COMBINED_LISTING, + [Description("Unable to update components for a product that isn't a combined listing.")] + PARENT_PRODUCT_MUST_BE_A_COMBINED_LISTING, /// ///The combined listing parent product must have a product category to use linked metafield options. /// - [Description("The combined listing parent product must have a product category to use linked metafield options.")] - PARENT_PRODUCT_MUST_HAVE_CATEGORY, + [Description("The combined listing parent product must have a product category to use linked metafield options.")] + PARENT_PRODUCT_MUST_HAVE_CATEGORY, /// ///Parent product not found. /// - [Description("Parent product not found.")] - PARENT_PRODUCT_NOT_FOUND, + [Description("Parent product not found.")] + PARENT_PRODUCT_NOT_FOUND, /// ///Unable to add a product that is already a child. /// - [Description("Unable to add a product that is already a child.")] - PRODUCT_IS_ALREADY_A_CHILD, + [Description("Unable to add a product that is already a child.")] + PRODUCT_IS_ALREADY_A_CHILD, /// ///Failed to remove mebmership due to invalid input. /// - [Description("Failed to remove mebmership due to invalid input.")] - PRODUCT_MEMBERSHIP_NOT_FOUND, + [Description("Failed to remove mebmership due to invalid input.")] + PRODUCT_MEMBERSHIP_NOT_FOUND, /// ///Unable to add products that do not exist. /// - [Description("Unable to add products that do not exist.")] - PRODUCT_NOT_FOUND, + [Description("Unable to add products that do not exist.")] + PRODUCT_NOT_FOUND, /// ///The title cannot be longer than 255 characters. /// - [Description("The title cannot be longer than 255 characters.")] - TITLE_TOO_LONG, + [Description("The title cannot be longer than 255 characters.")] + TITLE_TOO_LONG, /// ///You have reached the maximum number of variants across all products for an individual combined listing. /// - [Description("You have reached the maximum number of variants across all products for an individual combined listing.")] - TOO_MANY_VARIANTS, + [Description("You have reached the maximum number of variants across all products for an individual combined listing.")] + TOO_MANY_VARIANTS, /// ///You have reached the maximum number of products that can be added to an individual combined listing. /// - [Description("You have reached the maximum number of products that can be added to an individual combined listing.")] - TOO_MANY_PRODUCTS, + [Description("You have reached the maximum number of products that can be added to an individual combined listing.")] + TOO_MANY_PRODUCTS, /// ///An unexpected error occurred. /// - [Description("An unexpected error occurred.")] - UNEXPECTED_ERROR, - } - - public static class CombinedListingUpdateUserErrorCodeStringValues - { - public const string CANNOT_HAVE_DUPLICATED_PRODUCTS = @"CANNOT_HAVE_DUPLICATED_PRODUCTS"; - public const string CANNOT_HAVE_PARENT_AS_CHILD = @"CANNOT_HAVE_PARENT_AS_CHILD"; - public const string CANNOT_HAVE_REPEATED_OPTION_VALUES = @"CANNOT_HAVE_REPEATED_OPTION_VALUES"; - public const string CANNOT_HAVE_REPEATED_OPTIONS = @"CANNOT_HAVE_REPEATED_OPTIONS"; - public const string CANT_ADD_OPTIONS_VALUES_IF_ALREADY_EXISTS = @"CANT_ADD_OPTIONS_VALUES_IF_ALREADY_EXISTS"; - public const string COMBINED_LISTINGS_NOT_ENABLED = @"COMBINED_LISTINGS_NOT_ENABLED"; - public const string EDIT_AND_REMOVE_ON_SAME_PRODUCTS = @"EDIT_AND_REMOVE_ON_SAME_PRODUCTS"; - public const string FAILED_TO_ADD_PRODUCTS = @"FAILED_TO_ADD_PRODUCTS"; - public const string FAILED_TO_REMOVE_PRODUCTS = @"FAILED_TO_REMOVE_PRODUCTS"; - public const string FAILED_TO_UPDATE_PRODUCTS = @"FAILED_TO_UPDATE_PRODUCTS"; - public const string LINKED_METAFIELD_CANNOT_BE_CHANGED = @"LINKED_METAFIELD_CANNOT_BE_CHANGED"; - public const string LINKED_METAFIELD_VALUE_MISSING = @"LINKED_METAFIELD_VALUE_MISSING"; - public const string LINKED_METAFIELDS_CANNOT_BE_REPEATED = @"LINKED_METAFIELDS_CANNOT_BE_REPEATED"; - public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; - public const string MISSING_OPTION_VALUES = @"MISSING_OPTION_VALUES"; - public const string MUST_HAVE_SELECTED_OPTION_VALUES = @"MUST_HAVE_SELECTED_OPTION_VALUES"; - public const string OPTION_NAME_CANNOT_BE_BLANK = @"OPTION_NAME_CANNOT_BE_BLANK"; - public const string OPTION_NAME_CONTAINS_INVALID_CHARACTERS = @"OPTION_NAME_CONTAINS_INVALID_CHARACTERS"; - public const string OPTION_NOT_FOUND = @"OPTION_NOT_FOUND"; - public const string OPTIONS_MUST_BE_EQUAL_TO_THE_OTHER_COMPONENTS = @"OPTIONS_MUST_BE_EQUAL_TO_THE_OTHER_COMPONENTS"; - public const string OPTION_VALUES_CANNOT_BE_BLANK = @"OPTION_VALUES_CANNOT_BE_BLANK"; - public const string OPTION_VALUES_CANNOT_BE_EMPTY = @"OPTION_VALUES_CANNOT_BE_EMPTY"; - public const string OPTION_VALUES_MUST_BE_COMPLETE = @"OPTION_VALUES_MUST_BE_COMPLETE"; - public const string PARENT_PRODUCT_CANNOT_BE_COMBINED_LISTING_CHILD = @"PARENT_PRODUCT_CANNOT_BE_COMBINED_LISTING_CHILD"; - public const string PARENT_PRODUCT_MUST_BE_A_COMBINED_LISTING = @"PARENT_PRODUCT_MUST_BE_A_COMBINED_LISTING"; - public const string PARENT_PRODUCT_MUST_HAVE_CATEGORY = @"PARENT_PRODUCT_MUST_HAVE_CATEGORY"; - public const string PARENT_PRODUCT_NOT_FOUND = @"PARENT_PRODUCT_NOT_FOUND"; - public const string PRODUCT_IS_ALREADY_A_CHILD = @"PRODUCT_IS_ALREADY_A_CHILD"; - public const string PRODUCT_MEMBERSHIP_NOT_FOUND = @"PRODUCT_MEMBERSHIP_NOT_FOUND"; - public const string PRODUCT_NOT_FOUND = @"PRODUCT_NOT_FOUND"; - public const string TITLE_TOO_LONG = @"TITLE_TOO_LONG"; - public const string TOO_MANY_VARIANTS = @"TOO_MANY_VARIANTS"; - public const string TOO_MANY_PRODUCTS = @"TOO_MANY_PRODUCTS"; - public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; - } - + [Description("An unexpected error occurred.")] + UNEXPECTED_ERROR, + } + + public static class CombinedListingUpdateUserErrorCodeStringValues + { + public const string CANNOT_HAVE_DUPLICATED_PRODUCTS = @"CANNOT_HAVE_DUPLICATED_PRODUCTS"; + public const string CANNOT_HAVE_PARENT_AS_CHILD = @"CANNOT_HAVE_PARENT_AS_CHILD"; + public const string CANNOT_HAVE_REPEATED_OPTION_VALUES = @"CANNOT_HAVE_REPEATED_OPTION_VALUES"; + public const string CANNOT_HAVE_REPEATED_OPTIONS = @"CANNOT_HAVE_REPEATED_OPTIONS"; + public const string CANT_ADD_OPTIONS_VALUES_IF_ALREADY_EXISTS = @"CANT_ADD_OPTIONS_VALUES_IF_ALREADY_EXISTS"; + public const string COMBINED_LISTINGS_NOT_ENABLED = @"COMBINED_LISTINGS_NOT_ENABLED"; + public const string EDIT_AND_REMOVE_ON_SAME_PRODUCTS = @"EDIT_AND_REMOVE_ON_SAME_PRODUCTS"; + public const string FAILED_TO_ADD_PRODUCTS = @"FAILED_TO_ADD_PRODUCTS"; + public const string FAILED_TO_REMOVE_PRODUCTS = @"FAILED_TO_REMOVE_PRODUCTS"; + public const string FAILED_TO_UPDATE_PRODUCTS = @"FAILED_TO_UPDATE_PRODUCTS"; + public const string LINKED_METAFIELD_CANNOT_BE_CHANGED = @"LINKED_METAFIELD_CANNOT_BE_CHANGED"; + public const string LINKED_METAFIELD_VALUE_MISSING = @"LINKED_METAFIELD_VALUE_MISSING"; + public const string LINKED_METAFIELDS_CANNOT_BE_REPEATED = @"LINKED_METAFIELDS_CANNOT_BE_REPEATED"; + public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; + public const string MISSING_OPTION_VALUES = @"MISSING_OPTION_VALUES"; + public const string MUST_HAVE_SELECTED_OPTION_VALUES = @"MUST_HAVE_SELECTED_OPTION_VALUES"; + public const string OPTION_NAME_CANNOT_BE_BLANK = @"OPTION_NAME_CANNOT_BE_BLANK"; + public const string OPTION_NAME_CONTAINS_INVALID_CHARACTERS = @"OPTION_NAME_CONTAINS_INVALID_CHARACTERS"; + public const string OPTION_NOT_FOUND = @"OPTION_NOT_FOUND"; + public const string OPTIONS_MUST_BE_EQUAL_TO_THE_OTHER_COMPONENTS = @"OPTIONS_MUST_BE_EQUAL_TO_THE_OTHER_COMPONENTS"; + public const string OPTION_VALUES_CANNOT_BE_BLANK = @"OPTION_VALUES_CANNOT_BE_BLANK"; + public const string OPTION_VALUES_CANNOT_BE_EMPTY = @"OPTION_VALUES_CANNOT_BE_EMPTY"; + public const string OPTION_VALUES_MUST_BE_COMPLETE = @"OPTION_VALUES_MUST_BE_COMPLETE"; + public const string PARENT_PRODUCT_CANNOT_BE_COMBINED_LISTING_CHILD = @"PARENT_PRODUCT_CANNOT_BE_COMBINED_LISTING_CHILD"; + public const string PARENT_PRODUCT_MUST_BE_A_COMBINED_LISTING = @"PARENT_PRODUCT_MUST_BE_A_COMBINED_LISTING"; + public const string PARENT_PRODUCT_MUST_HAVE_CATEGORY = @"PARENT_PRODUCT_MUST_HAVE_CATEGORY"; + public const string PARENT_PRODUCT_NOT_FOUND = @"PARENT_PRODUCT_NOT_FOUND"; + public const string PRODUCT_IS_ALREADY_A_CHILD = @"PRODUCT_IS_ALREADY_A_CHILD"; + public const string PRODUCT_MEMBERSHIP_NOT_FOUND = @"PRODUCT_MEMBERSHIP_NOT_FOUND"; + public const string PRODUCT_NOT_FOUND = @"PRODUCT_NOT_FOUND"; + public const string TITLE_TOO_LONG = @"TITLE_TOO_LONG"; + public const string TOO_MANY_VARIANTS = @"TOO_MANY_VARIANTS"; + public const string TOO_MANY_PRODUCTS = @"TOO_MANY_PRODUCTS"; + public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; + } + /// ///The role of the combined listing. /// - [Description("The role of the combined listing.")] - public enum CombinedListingsRole - { + [Description("The role of the combined listing.")] + public enum CombinedListingsRole + { /// ///The product is the parent of a combined listing. /// - [Description("The product is the parent of a combined listing.")] - PARENT, + [Description("The product is the parent of a combined listing.")] + PARENT, /// ///The product is the child of a combined listing. /// - [Description("The product is the child of a combined listing.")] - CHILD, - } - - public static class CombinedListingsRoleStringValues - { - public const string PARENT = @"PARENT"; - public const string CHILD = @"CHILD"; - } - + [Description("The product is the child of a combined listing.")] + CHILD, + } + + public static class CombinedListingsRoleStringValues + { + public const string PARENT = @"PARENT"; + public const string CHILD = @"CHILD"; + } + /// ///A comment on an article. /// - [Description("A comment on an article.")] - public class Comment : GraphQLObject, IHasEvents, INode - { + [Description("A comment on an article.")] + public class Comment : GraphQLObject, IHasEvents, INode + { /// ///The article associated with the comment. /// - [Description("The article associated with the comment.")] - public Article? article { get; set; } - + [Description("The article associated with the comment.")] + public Article? article { get; set; } + /// ///The comment’s author. /// - [Description("The comment’s author.")] - [NonNull] - public CommentAuthor? author { get; set; } - + [Description("The comment’s author.")] + [NonNull] + public CommentAuthor? author { get; set; } + /// ///The content of the comment. /// - [Description("The content of the comment.")] - [NonNull] - public string? body { get; set; } - + [Description("The content of the comment.")] + [NonNull] + public string? body { get; set; } + /// ///The content of the comment, complete with HTML formatting. /// - [Description("The content of the comment, complete with HTML formatting.")] - [NonNull] - public string? bodyHtml { get; set; } - + [Description("The content of the comment, complete with HTML formatting.")] + [NonNull] + public string? bodyHtml { get; set; } + /// ///The date and time when the comment was created. /// - [Description("The date and time when the comment was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the comment was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The IP address of the commenter. /// - [Description("The IP address of the commenter.")] - public string? ip { get; set; } - + [Description("The IP address of the commenter.")] + public string? ip { get; set; } + /// ///Whether or not the comment is published. /// - [Description("Whether or not the comment is published.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether or not the comment is published.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///The date and time when the comment was published. /// - [Description("The date and time when the comment was published.")] - public DateTime? publishedAt { get; set; } - + [Description("The date and time when the comment was published.")] + public DateTime? publishedAt { get; set; } + /// ///The status of the comment. /// - [Description("The status of the comment.")] - [NonNull] - [EnumType(typeof(CommentStatus))] - public string? status { get; set; } - + [Description("The status of the comment.")] + [NonNull] + [EnumType(typeof(CommentStatus))] + public string? status { get; set; } + /// ///The date and time when the comment was last updated. /// - [Description("The date and time when the comment was last updated.")] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the comment was last updated.")] + public DateTime? updatedAt { get; set; } + /// ///The user agent of the commenter. /// - [Description("The user agent of the commenter.")] - public string? userAgent { get; set; } - } - + [Description("The user agent of the commenter.")] + public string? userAgent { get; set; } + } + /// ///Return type for `commentApprove` mutation. /// - [Description("Return type for `commentApprove` mutation.")] - public class CommentApprovePayload : GraphQLObject - { + [Description("Return type for `commentApprove` mutation.")] + public class CommentApprovePayload : GraphQLObject + { /// ///The comment that was approved. /// - [Description("The comment that was approved.")] - public Comment? comment { get; set; } - + [Description("The comment that was approved.")] + public Comment? comment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CommentApprove`. /// - [Description("An error that occurs during the execution of `CommentApprove`.")] - public class CommentApproveUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CommentApprove`.")] + public class CommentApproveUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CommentApproveUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CommentApproveUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CommentApproveUserError`. /// - [Description("Possible error codes that can be returned by `CommentApproveUserError`.")] - public enum CommentApproveUserErrorCode - { + [Description("Possible error codes that can be returned by `CommentApproveUserError`.")] + public enum CommentApproveUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class CommentApproveUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class CommentApproveUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///The author of a comment. /// - [Description("The author of a comment.")] - public class CommentAuthor : GraphQLObject - { + [Description("The author of a comment.")] + public class CommentAuthor : GraphQLObject + { /// ///The author's email. /// - [Description("The author's email.")] - [NonNull] - public string? email { get; set; } - + [Description("The author's email.")] + [NonNull] + public string? email { get; set; } + /// ///The author’s name. /// - [Description("The author’s name.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The author’s name.")] + [NonNull] + public string? name { get; set; } + } + /// ///An auto-generated type for paginating through multiple Comments. /// - [Description("An auto-generated type for paginating through multiple Comments.")] - public class CommentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Comments.")] + public class CommentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CommentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CommentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CommentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `commentDelete` mutation. /// - [Description("Return type for `commentDelete` mutation.")] - public class CommentDeletePayload : GraphQLObject - { + [Description("Return type for `commentDelete` mutation.")] + public class CommentDeletePayload : GraphQLObject + { /// ///The ID of the comment that was deleted. /// - [Description("The ID of the comment that was deleted.")] - public string? deletedCommentId { get; set; } - + [Description("The ID of the comment that was deleted.")] + public string? deletedCommentId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CommentDelete`. /// - [Description("An error that occurs during the execution of `CommentDelete`.")] - public class CommentDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CommentDelete`.")] + public class CommentDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CommentDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CommentDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CommentDeleteUserError`. /// - [Description("Possible error codes that can be returned by `CommentDeleteUserError`.")] - public enum CommentDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `CommentDeleteUserError`.")] + public enum CommentDeleteUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class CommentDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class CommentDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///An auto-generated type which holds one Comment and a cursor during pagination. /// - [Description("An auto-generated type which holds one Comment and a cursor during pagination.")] - public class CommentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Comment and a cursor during pagination.")] + public class CommentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CommentEdge. /// - [Description("The item at the end of CommentEdge.")] - [NonNull] - public Comment? node { get; set; } - } - + [Description("The item at the end of CommentEdge.")] + [NonNull] + public Comment? node { get; set; } + } + /// ///Comment events are generated by staff members of a shop. ///They are created when a staff member adds a comment to the timeline of an order, draft order, customer, or transfer. /// - [Description("Comment events are generated by staff members of a shop.\nThey are created when a staff member adds a comment to the timeline of an order, draft order, customer, or transfer.")] - public class CommentEvent : GraphQLObject, IEvent, INode - { + [Description("Comment events are generated by staff members of a shop.\nThey are created when a staff member adds a comment to the timeline of an order, draft order, customer, or transfer.")] + public class CommentEvent : GraphQLObject, IEvent, INode + { /// ///The action that occured. /// - [Description("The action that occured.")] - [NonNull] - public string? action { get; set; } - + [Description("The action that occured.")] + [NonNull] + public string? action { get; set; } + /// ///The name of the app that created the event. /// - [Description("The name of the app that created the event.")] - public string? appTitle { get; set; } - + [Description("The name of the app that created the event.")] + public string? appTitle { get; set; } + /// ///The attachments associated with the comment event. /// - [Description("The attachments associated with the comment event.")] - [NonNull] - public IEnumerable? attachments { get; set; } - + [Description("The attachments associated with the comment event.")] + [NonNull] + public IEnumerable? attachments { get; set; } + /// ///Whether the event was created by an app. /// - [Description("Whether the event was created by an app.")] - [NonNull] - public bool? attributeToApp { get; set; } - + [Description("Whether the event was created by an app.")] + [NonNull] + public bool? attributeToApp { get; set; } + /// ///Whether the event was caused by an admin user. /// - [Description("Whether the event was caused by an admin user.")] - [NonNull] - public bool? attributeToUser { get; set; } - + [Description("Whether the event was caused by an admin user.")] + [NonNull] + public bool? attributeToUser { get; set; } + /// ///The name of the user that authored the comment event. /// - [Description("The name of the user that authored the comment event.")] - [NonNull] - public StaffMember? author { get; set; } - + [Description("The name of the user that authored the comment event.")] + [NonNull] + public StaffMember? author { get; set; } + /// ///Whether the comment event can be deleted. If true, then the comment event can be deleted. /// - [Description("Whether the comment event can be deleted. If true, then the comment event can be deleted.")] - [NonNull] - public bool? canDelete { get; set; } - + [Description("Whether the comment event can be deleted. If true, then the comment event can be deleted.")] + [NonNull] + public bool? canDelete { get; set; } + /// ///Whether the comment event can be edited. If true, then the comment event can be edited. /// - [Description("Whether the comment event can be edited. If true, then the comment event can be edited.")] - [NonNull] - public bool? canEdit { get; set; } - + [Description("Whether the comment event can be edited. If true, then the comment event can be edited.")] + [NonNull] + public bool? canEdit { get; set; } + /// ///The date and time when the event was created. /// - [Description("The date and time when the event was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the event was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Whether the event is critical. /// - [Description("Whether the event is critical.")] - [NonNull] - public bool? criticalAlert { get; set; } - + [Description("Whether the event is critical.")] + [NonNull] + public bool? criticalAlert { get; set; } + /// ///Whether the comment event has been edited. If true, then the comment event has been edited. /// - [Description("Whether the comment event has been edited. If true, then the comment event has been edited.")] - [NonNull] - public bool? edited { get; set; } - + [Description("Whether the comment event has been edited. If true, then the comment event has been edited.")] + [NonNull] + public bool? edited { get; set; } + /// ///The object reference associated with the comment event. For example, a product or discount). /// - [Description("The object reference associated with the comment event. For example, a product or discount).")] - public ICommentEventEmbed? embed { get; set; } - + [Description("The object reference associated with the comment event. For example, a product or discount).")] + public ICommentEventEmbed? embed { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Human readable text that describes the event. /// - [Description("Human readable text that describes the event.")] - [NonNull] - public string? message { get; set; } - + [Description("Human readable text that describes the event.")] + [NonNull] + public string? message { get; set; } + /// ///The raw body of the comment event. /// - [Description("The raw body of the comment event.")] - [NonNull] - public string? rawMessage { get; set; } - + [Description("The raw body of the comment event.")] + [NonNull] + public string? rawMessage { get; set; } + /// ///The parent subject to which the comment event belongs. /// - [Description("The parent subject to which the comment event belongs.")] - public ICommentEventSubject? subject { get; set; } - } - + [Description("The parent subject to which the comment event belongs.")] + public ICommentEventSubject? subject { get; set; } + } + /// ///A file attachment associated to a comment event. /// - [Description("A file attachment associated to a comment event.")] - public class CommentEventAttachment : GraphQLObject - { + [Description("A file attachment associated to a comment event.")] + public class CommentEventAttachment : GraphQLObject + { /// ///The file extension of the comment event attachment, indicating the file format. /// - [Description("The file extension of the comment event attachment, indicating the file format.")] - public string? fileExtension { get; set; } - + [Description("The file extension of the comment event attachment, indicating the file format.")] + public string? fileExtension { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image attached to the comment event. /// - [Description("The image attached to the comment event.")] - public Image? image { get; set; } - + [Description("The image attached to the comment event.")] + public Image? image { get; set; } + /// ///The filename of the comment event attachment. /// - [Description("The filename of the comment event attachment.")] - [NonNull] - public string? name { get; set; } - + [Description("The filename of the comment event attachment.")] + [NonNull] + public string? name { get; set; } + /// ///The size of the attachment. /// - [Description("The size of the attachment.")] - [NonNull] - public int? size { get; set; } - + [Description("The size of the attachment.")] + [NonNull] + public int? size { get; set; } + /// ///The URL of the attachment. /// - [Description("The URL of the attachment.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL of the attachment.")] + [NonNull] + public string? url { get; set; } + } + /// ///The main embed of a comment event. /// - [Description("The main embed of a comment event.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - public interface ICommentEventEmbed : IGraphQLObject - { - public Customer? AsCustomer() => this as Customer; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; - public Order? AsOrder() => this as Order; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; + [Description("The main embed of a comment event.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + public interface ICommentEventEmbed : IGraphQLObject + { + public Customer? AsCustomer() => this as Customer; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; + public Order? AsOrder() => this as Order; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; /// ///A list of events associated with the customer. /// - [Description("A list of events associated with the customer.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("A list of events associated with the customer.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + } + /// ///The subject line of a comment event. /// - [Description("The subject line of a comment event.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] - public interface ICommentEventSubject : IGraphQLObject - { - public Company? AsCompany() => this as Company; - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public Customer? AsCustomer() => this as Customer; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; - public Order? AsOrder() => this as Order; - public PriceRule? AsPriceRule() => this as PriceRule; + [Description("The subject line of a comment event.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] + public interface ICommentEventSubject : IGraphQLObject + { + public Company? AsCompany() => this as Company; + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public Customer? AsCustomer() => this as Customer; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; + public Order? AsOrder() => this as Order; + public PriceRule? AsPriceRule() => this as PriceRule; /// ///Whether the timeline subject has a timeline comment. If true, then a timeline comment exists. /// - [Description("Whether the timeline subject has a timeline comment. If true, then a timeline comment exists.")] - [NonNull] - public bool? hasTimelineComment { get; } - + [Description("Whether the timeline subject has a timeline comment. If true, then a timeline comment exists.")] + [NonNull] + public bool? hasTimelineComment { get; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + } + /// ///Return type for `commentNotSpam` mutation. /// - [Description("Return type for `commentNotSpam` mutation.")] - public class CommentNotSpamPayload : GraphQLObject - { + [Description("Return type for `commentNotSpam` mutation.")] + public class CommentNotSpamPayload : GraphQLObject + { /// ///The comment that was marked as not spam. /// - [Description("The comment that was marked as not spam.")] - public Comment? comment { get; set; } - + [Description("The comment that was marked as not spam.")] + public Comment? comment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CommentNotSpam`. /// - [Description("An error that occurs during the execution of `CommentNotSpam`.")] - public class CommentNotSpamUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CommentNotSpam`.")] + public class CommentNotSpamUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CommentNotSpamUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CommentNotSpamUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CommentNotSpamUserError`. /// - [Description("Possible error codes that can be returned by `CommentNotSpamUserError`.")] - public enum CommentNotSpamUserErrorCode - { + [Description("Possible error codes that can be returned by `CommentNotSpamUserError`.")] + public enum CommentNotSpamUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class CommentNotSpamUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class CommentNotSpamUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///Possible comment policies for a blog. /// - [Description("Possible comment policies for a blog.")] - public enum CommentPolicy - { + [Description("Possible comment policies for a blog.")] + public enum CommentPolicy + { /// ///Readers can post comments to blog articles without moderation. /// - [Description("Readers can post comments to blog articles without moderation.")] - AUTO_PUBLISHED, + [Description("Readers can post comments to blog articles without moderation.")] + AUTO_PUBLISHED, /// ///Readers cannot post comments to blog articles. /// - [Description("Readers cannot post comments to blog articles.")] - CLOSED, + [Description("Readers cannot post comments to blog articles.")] + CLOSED, /// ///Readers can post comments to blog articles, but comments must be moderated before they appear. /// - [Description("Readers can post comments to blog articles, but comments must be moderated before they appear.")] - MODERATED, - } - - public static class CommentPolicyStringValues - { - public const string AUTO_PUBLISHED = @"AUTO_PUBLISHED"; - public const string CLOSED = @"CLOSED"; - public const string MODERATED = @"MODERATED"; - } - + [Description("Readers can post comments to blog articles, but comments must be moderated before they appear.")] + MODERATED, + } + + public static class CommentPolicyStringValues + { + public const string AUTO_PUBLISHED = @"AUTO_PUBLISHED"; + public const string CLOSED = @"CLOSED"; + public const string MODERATED = @"MODERATED"; + } + /// ///The set of valid sort keys for the Comment query. /// - [Description("The set of valid sort keys for the Comment query.")] - public enum CommentSortKeys - { + [Description("The set of valid sort keys for the Comment query.")] + public enum CommentSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class CommentSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class CommentSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///Return type for `commentSpam` mutation. /// - [Description("Return type for `commentSpam` mutation.")] - public class CommentSpamPayload : GraphQLObject - { + [Description("Return type for `commentSpam` mutation.")] + public class CommentSpamPayload : GraphQLObject + { /// ///The comment that was marked as spam. /// - [Description("The comment that was marked as spam.")] - public Comment? comment { get; set; } - + [Description("The comment that was marked as spam.")] + public Comment? comment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CommentSpam`. /// - [Description("An error that occurs during the execution of `CommentSpam`.")] - public class CommentSpamUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CommentSpam`.")] + public class CommentSpamUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CommentSpamUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CommentSpamUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CommentSpamUserError`. /// - [Description("Possible error codes that can be returned by `CommentSpamUserError`.")] - public enum CommentSpamUserErrorCode - { + [Description("Possible error codes that can be returned by `CommentSpamUserError`.")] + public enum CommentSpamUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class CommentSpamUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class CommentSpamUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///The status of a comment. /// - [Description("The status of a comment.")] - public enum CommentStatus - { + [Description("The status of a comment.")] + public enum CommentStatus + { /// ///The comment is marked as spam. /// - [Description("The comment is marked as spam.")] - SPAM, + [Description("The comment is marked as spam.")] + SPAM, /// ///The comment has been removed. /// - [Description("The comment has been removed.")] - REMOVED, + [Description("The comment has been removed.")] + REMOVED, /// ///The comment is published. /// - [Description("The comment is published.")] - PUBLISHED, + [Description("The comment is published.")] + PUBLISHED, /// ///The comment is unapproved. /// - [Description("The comment is unapproved.")] - UNAPPROVED, + [Description("The comment is unapproved.")] + UNAPPROVED, /// ///The comment is pending approval. /// - [Description("The comment is pending approval.")] - PENDING, - } - - public static class CommentStatusStringValues - { - public const string SPAM = @"SPAM"; - public const string REMOVED = @"REMOVED"; - public const string PUBLISHED = @"PUBLISHED"; - public const string UNAPPROVED = @"UNAPPROVED"; - public const string PENDING = @"PENDING"; - } - + [Description("The comment is pending approval.")] + PENDING, + } + + public static class CommentStatusStringValues + { + public const string SPAM = @"SPAM"; + public const string REMOVED = @"REMOVED"; + public const string PUBLISHED = @"PUBLISHED"; + public const string UNAPPROVED = @"UNAPPROVED"; + public const string PENDING = @"PENDING"; + } + /// ///Return type for `companiesDelete` mutation. /// - [Description("Return type for `companiesDelete` mutation.")] - public class CompaniesDeletePayload : GraphQLObject - { + [Description("Return type for `companiesDelete` mutation.")] + public class CompaniesDeletePayload : GraphQLObject + { /// ///A list of IDs of the deleted companies. /// - [Description("A list of IDs of the deleted companies.")] - public IEnumerable? deletedCompanyIds { get; set; } - + [Description("A list of IDs of the deleted companies.")] + public IEnumerable? deletedCompanyIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents information about a company which is also a customer of the shop. /// - [Description("Represents information about a company which is also a customer of the shop.")] - public class Company : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INavigable, INode, IMetafieldReference, IMetafieldReferencer - { + [Description("Represents information about a company which is also a customer of the shop.")] + public class Company : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INavigable, INode, IMetafieldReference, IMetafieldReferencer + { /// ///The number of contacts that belong to the company. /// - [Description("The number of contacts that belong to the company.")] - [Obsolete("Use `contactsCount` instead.")] - [NonNull] - public int? contactCount { get; set; } - + [Description("The number of contacts that belong to the company.")] + [Obsolete("Use `contactsCount` instead.")] + [NonNull] + public int? contactCount { get; set; } + /// ///The list of roles for the company contacts. /// - [Description("The list of roles for the company contacts.")] - [NonNull] - public CompanyContactRoleConnection? contactRoles { get; set; } - + [Description("The list of roles for the company contacts.")] + [NonNull] + public CompanyContactRoleConnection? contactRoles { get; set; } + /// ///The list of contacts in the company. /// - [Description("The list of contacts in the company.")] - [NonNull] - public CompanyContactConnection? contacts { get; set; } - + [Description("The list of contacts in the company.")] + [NonNull] + public CompanyContactConnection? contacts { get; set; } + /// ///The number of contacts that belong to the company. /// - [Description("The number of contacts that belong to the company.")] - public Count? contactsCount { get; set; } - + [Description("The number of contacts that belong to the company.")] + public Count? contactsCount { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was created in Shopify. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was created in Shopify.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was created in Shopify.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company became the customer. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company became the customer.")] - [NonNull] - public DateTime? customerSince { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company became the customer.")] + [NonNull] + public DateTime? customerSince { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The role proposed by default for a contact at the company. /// - [Description("The role proposed by default for a contact at the company.")] - public CompanyContactRole? defaultRole { get; set; } - + [Description("The role proposed by default for a contact at the company.")] + public CompanyContactRole? defaultRole { get; set; } + /// ///The list of the company's draft orders. /// - [Description("The list of the company's draft orders.")] - [NonNull] - public DraftOrderConnection? draftOrders { get; set; } - + [Description("The list of the company's draft orders.")] + [NonNull] + public DraftOrderConnection? draftOrders { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A unique externally-supplied ID for the company. /// - [Description("A unique externally-supplied ID for the company.")] - public string? externalId { get; set; } - + [Description("A unique externally-supplied ID for the company.")] + public string? externalId { get; set; } + /// ///Whether the merchant added a timeline comment to the company. /// - [Description("Whether the merchant added a timeline comment to the company.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether the merchant added a timeline comment to the company.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The lifetime duration of the company, since it became a customer of the shop. Examples: `2 days`, `3 months`, `1 year`. /// - [Description("The lifetime duration of the company, since it became a customer of the shop. Examples: `2 days`, `3 months`, `1 year`.")] - [NonNull] - public string? lifetimeDuration { get; set; } - + [Description("The lifetime duration of the company, since it became a customer of the shop. Examples: `2 days`, `3 months`, `1 year`.")] + [NonNull] + public string? lifetimeDuration { get; set; } + /// ///The list of locations in the company. /// - [Description("The list of locations in the company.")] - [NonNull] - public CompanyLocationConnection? locations { get; set; } - + [Description("The list of locations in the company.")] + [NonNull] + public CompanyLocationConnection? locations { get; set; } + /// ///The number of locations that belong to the company. /// - [Description("The number of locations that belong to the company.")] - public Count? locationsCount { get; set; } - + [Description("The number of locations that belong to the company.")] + public Count? locationsCount { get; set; } + /// ///The main contact for the company. /// - [Description("The main contact for the company.")] - public CompanyContact? mainContact { get; set; } - + [Description("The main contact for the company.")] + public CompanyContact? mainContact { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The name of the company. /// - [Description("The name of the company.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the company.")] + [NonNull] + public string? name { get; set; } + /// ///A note about the company. /// - [Description("A note about the company.")] - public string? note { get; set; } - + [Description("A note about the company.")] + public string? note { get; set; } + /// ///The list of the company's orders. /// - [Description("The list of the company's orders.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("The list of the company's orders.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///The total number of orders placed for this company, across all its locations. /// - [Description("The total number of orders placed for this company, across all its locations.")] - public Count? ordersCount { get; set; } - + [Description("The total number of orders placed for this company, across all its locations.")] + public Count? ordersCount { get; set; } + /// ///The total amount spent by this company, across all its locations. /// - [Description("The total amount spent by this company, across all its locations.")] - [NonNull] - public MoneyV2? totalSpent { get; set; } - + [Description("The total amount spent by this company, across all its locations.")] + [NonNull] + public MoneyV2? totalSpent { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was last modified. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was last modified.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company was last modified.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Represents a billing or shipping address for a company location. /// - [Description("Represents a billing or shipping address for a company location.")] - public class CompanyAddress : GraphQLObject, INode - { + [Description("Represents a billing or shipping address for a company location.")] + public class CompanyAddress : GraphQLObject, INode + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - [NonNull] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + [NonNull] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The name of the company. /// - [Description("The name of the company.")] - [NonNull] - public string? companyName { get; set; } - + [Description("The name of the company.")] + [NonNull] + public string? companyName { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - public string? country { get; set; } - + [Description("The name of the country.")] + public string? country { get; set; } + /// ///The two-letter code for the country of the address. ///For example, US. /// - [Description("The two-letter code for the country of the address.\nFor example, US.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter code for the country of the address.\nFor example, US.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The first name of the recipient. /// - [Description("The first name of the recipient.")] - public string? firstName { get; set; } - + [Description("The first name of the recipient.")] + public string? firstName { get; set; } + /// ///The formatted version of the address. /// - [Description("The formatted version of the address.")] - [NonNull] - public IEnumerable? formattedAddress { get; set; } - + [Description("The formatted version of the address.")] + [NonNull] + public IEnumerable? formattedAddress { get; set; } + /// ///A comma-separated list of the values for city, province, and country. /// - [Description("A comma-separated list of the values for city, province, and country.")] - public string? formattedArea { get; set; } - + [Description("A comma-separated list of the values for city, province, and country.")] + public string? formattedArea { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The last name of the recipient. /// - [Description("The last name of the recipient.")] - public string? lastName { get; set; } - + [Description("The last name of the recipient.")] + public string? lastName { get; set; } + /// ///A unique phone number for the customer. ///Formatted using E.164 standard. For example, _+16135551111_. /// - [Description("A unique phone number for the customer.\nFormatted using E.164 standard. For example, _+16135551111_.")] - public string? phone { get; set; } - + [Description("A unique phone number for the customer.\nFormatted using E.164 standard. For example, _+16135551111_.")] + public string? phone { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + public string? province { get; set; } + /// ///The identity of the recipient e.g. 'Receiving Department'. /// - [Description("The identity of the recipient e.g. 'Receiving Department'.")] - public string? recipient { get; set; } - + [Description("The identity of the recipient e.g. 'Receiving Department'.")] + public string? recipient { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company address was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + /// ///The alphanumeric code for the region. ///For example, ON. /// - [Description("The alphanumeric code for the region.\nFor example, ON.")] - public string? zoneCode { get; set; } - } - + [Description("The alphanumeric code for the region.\nFor example, ON.")] + public string? zoneCode { get; set; } + } + /// ///Return type for `companyAddressDelete` mutation. /// - [Description("Return type for `companyAddressDelete` mutation.")] - public class CompanyAddressDeletePayload : GraphQLObject - { + [Description("Return type for `companyAddressDelete` mutation.")] + public class CompanyAddressDeletePayload : GraphQLObject + { /// ///The ID of the deleted address. /// - [Description("The ID of the deleted address.")] - public string? deletedAddressId { get; set; } - + [Description("The ID of the deleted address.")] + public string? deletedAddressId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields to create or update the address of a company location. /// - [Description("The input fields to create or update the address of a company location.")] - public class CompanyAddressInput : GraphQLObject - { + [Description("The input fields to create or update the address of a company location.")] + public class CompanyAddressInput : GraphQLObject + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + /// ///The identity of the recipient e.g. 'Receiving Department'. /// - [Description("The identity of the recipient e.g. 'Receiving Department'.")] - public string? recipient { get; set; } - + [Description("The identity of the recipient e.g. 'Receiving Department'.")] + public string? recipient { get; set; } + /// ///The first name of the recipient. /// - [Description("The first name of the recipient.")] - public string? firstName { get; set; } - + [Description("The first name of the recipient.")] + public string? firstName { get; set; } + /// ///The last name of the recipient. /// - [Description("The last name of the recipient.")] - public string? lastName { get; set; } - + [Description("The last name of the recipient.")] + public string? lastName { get; set; } + /// ///A phone number for the recipient. Formatted using E.164 standard. For example, _+16135551111_. /// - [Description("A phone number for the recipient. Formatted using E.164 standard. For example, _+16135551111_.")] - public string? phone { get; set; } - + [Description("A phone number for the recipient. Formatted using E.164 standard. For example, _+16135551111_.")] + public string? phone { get; set; } + /// ///The alphanumeric code for the region of the address, such as the province, state, or district. For example, `ON` for Ontario, Canada. /// - [Description("The alphanumeric code for the region of the address, such as the province, state, or district. For example, `ON` for Ontario, Canada.")] - public string? zoneCode { get; set; } - + [Description("The alphanumeric code for the region of the address, such as the province, state, or district. For example, `ON` for Ontario, Canada.")] + public string? zoneCode { get; set; } + /// ///The two-letter code ([ISO 3166-1 alpha-2]](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format) for the country of the address. For example, `US`` for the United States. /// - [Description("The two-letter code ([ISO 3166-1 alpha-2]](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format) for the country of the address. For example, `US`` for the United States.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - } - + [Description("The two-letter code ([ISO 3166-1 alpha-2]](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format) for the country of the address. For example, `US`` for the United States.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + } + /// ///The valid values for the address type of a company. /// - [Description("The valid values for the address type of a company.")] - public enum CompanyAddressType - { + [Description("The valid values for the address type of a company.")] + public enum CompanyAddressType + { /// ///The address is a billing address. /// - [Description("The address is a billing address.")] - BILLING, + [Description("The address is a billing address.")] + BILLING, /// ///The address is a shipping address. /// - [Description("The address is a shipping address.")] - SHIPPING, - } - - public static class CompanyAddressTypeStringValues - { - public const string BILLING = @"BILLING"; - public const string SHIPPING = @"SHIPPING"; - } - + [Description("The address is a shipping address.")] + SHIPPING, + } + + public static class CompanyAddressTypeStringValues + { + public const string BILLING = @"BILLING"; + public const string SHIPPING = @"SHIPPING"; + } + /// ///Return type for `companyAssignCustomerAsContact` mutation. /// - [Description("Return type for `companyAssignCustomerAsContact` mutation.")] - public class CompanyAssignCustomerAsContactPayload : GraphQLObject - { + [Description("Return type for `companyAssignCustomerAsContact` mutation.")] + public class CompanyAssignCustomerAsContactPayload : GraphQLObject + { /// ///The created company contact. /// - [Description("The created company contact.")] - public CompanyContact? companyContact { get; set; } - + [Description("The created company contact.")] + public CompanyContact? companyContact { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyAssignMainContact` mutation. /// - [Description("Return type for `companyAssignMainContact` mutation.")] - public class CompanyAssignMainContactPayload : GraphQLObject - { + [Description("Return type for `companyAssignMainContact` mutation.")] + public class CompanyAssignMainContactPayload : GraphQLObject + { /// ///The company for which the main contact is assigned. /// - [Description("The company for which the main contact is assigned.")] - public Company? company { get; set; } - + [Description("The company for which the main contact is assigned.")] + public Company? company { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple Companies. /// - [Description("An auto-generated type for paginating through multiple Companies.")] - public class CompanyConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Companies.")] + public class CompanyConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CompanyEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CompanyEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CompanyEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer). /// - [Description("A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer).")] - public class CompanyContact : GraphQLObject, INode - { + [Description("A person that acts on behalf of company associated to [a customer](https://shopify.dev/api/admin-graphql/latest/objects/customer).")] + public class CompanyContact : GraphQLObject, INode + { /// ///The company to which the contact belongs. /// - [Description("The company to which the contact belongs.")] - [NonNull] - public Company? company { get; set; } - + [Description("The company to which the contact belongs.")] + [NonNull] + public Company? company { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was created at Shopify. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was created at Shopify.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was created at Shopify.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The customer associated to this contact. /// - [Description("The customer associated to this contact.")] - [NonNull] - public Customer? customer { get; set; } - + [Description("The customer associated to this contact.")] + [NonNull] + public Customer? customer { get; set; } + /// ///The list of draft orders for the company contact. /// - [Description("The list of draft orders for the company contact.")] - [NonNull] - public DraftOrderConnection? draftOrders { get; set; } - + [Description("The list of draft orders for the company contact.")] + [NonNull] + public DraftOrderConnection? draftOrders { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the contact is the main contact of the company. /// - [Description("Whether the contact is the main contact of the company.")] - [NonNull] - public bool? isMainContact { get; set; } - + [Description("Whether the contact is the main contact of the company.")] + [NonNull] + public bool? isMainContact { get; set; } + /// ///The lifetime duration of the company contact, since its creation date on Shopify. Examples: `1 year`, `2 months`, `3 days`. /// - [Description("The lifetime duration of the company contact, since its creation date on Shopify. Examples: `1 year`, `2 months`, `3 days`.")] - [NonNull] - public string? lifetimeDuration { get; set; } - + [Description("The lifetime duration of the company contact, since its creation date on Shopify. Examples: `1 year`, `2 months`, `3 days`.")] + [NonNull] + public string? lifetimeDuration { get; set; } + /// ///The company contact's locale (language). /// - [Description("The company contact's locale (language).")] - public string? locale { get; set; } - + [Description("The company contact's locale (language).")] + public string? locale { get; set; } + /// ///The list of orders for the company contact. /// - [Description("The list of orders for the company contact.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("The list of orders for the company contact.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///The list of roles assigned to this company contact. /// - [Description("The list of roles assigned to this company contact.")] - [NonNull] - public CompanyContactRoleAssignmentConnection? roleAssignments { get; set; } - + [Description("The list of roles assigned to this company contact.")] + [NonNull] + public CompanyContactRoleAssignmentConnection? roleAssignments { get; set; } + /// ///The company contact's job title. /// - [Description("The company contact's job title.")] - public string? title { get; set; } - + [Description("The company contact's job title.")] + public string? title { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company contact was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `companyContactAssignRole` mutation. /// - [Description("Return type for `companyContactAssignRole` mutation.")] - public class CompanyContactAssignRolePayload : GraphQLObject - { + [Description("Return type for `companyContactAssignRole` mutation.")] + public class CompanyContactAssignRolePayload : GraphQLObject + { /// ///The company contact role assignment. /// - [Description("The company contact role assignment.")] - public CompanyContactRoleAssignment? companyContactRoleAssignment { get; set; } - + [Description("The company contact role assignment.")] + public CompanyContactRoleAssignment? companyContactRoleAssignment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyContactAssignRoles` mutation. /// - [Description("Return type for `companyContactAssignRoles` mutation.")] - public class CompanyContactAssignRolesPayload : GraphQLObject - { + [Description("Return type for `companyContactAssignRoles` mutation.")] + public class CompanyContactAssignRolesPayload : GraphQLObject + { /// ///A list of newly created assignments of company contacts to a company location. /// - [Description("A list of newly created assignments of company contacts to a company location.")] - public IEnumerable? roleAssignments { get; set; } - + [Description("A list of newly created assignments of company contacts to a company location.")] + public IEnumerable? roleAssignments { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple CompanyContacts. /// - [Description("An auto-generated type for paginating through multiple CompanyContacts.")] - public class CompanyContactConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CompanyContacts.")] + public class CompanyContactConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CompanyContactEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CompanyContactEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CompanyContactEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `companyContactCreate` mutation. /// - [Description("Return type for `companyContactCreate` mutation.")] - public class CompanyContactCreatePayload : GraphQLObject - { + [Description("Return type for `companyContactCreate` mutation.")] + public class CompanyContactCreatePayload : GraphQLObject + { /// ///The created company contact. /// - [Description("The created company contact.")] - public CompanyContact? companyContact { get; set; } - + [Description("The created company contact.")] + public CompanyContact? companyContact { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyContactDelete` mutation. /// - [Description("Return type for `companyContactDelete` mutation.")] - public class CompanyContactDeletePayload : GraphQLObject - { + [Description("Return type for `companyContactDelete` mutation.")] + public class CompanyContactDeletePayload : GraphQLObject + { /// ///The ID of the deleted company contact. /// - [Description("The ID of the deleted company contact.")] - public string? deletedCompanyContactId { get; set; } - + [Description("The ID of the deleted company contact.")] + public string? deletedCompanyContactId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one CompanyContact and a cursor during pagination. /// - [Description("An auto-generated type which holds one CompanyContact and a cursor during pagination.")] - public class CompanyContactEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CompanyContact and a cursor during pagination.")] + public class CompanyContactEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CompanyContactEdge. /// - [Description("The item at the end of CompanyContactEdge.")] - [NonNull] - public CompanyContact? node { get; set; } - } - + [Description("The item at the end of CompanyContactEdge.")] + [NonNull] + public CompanyContact? node { get; set; } + } + /// ///The input fields for company contact attributes when creating or updating a company contact. /// - [Description("The input fields for company contact attributes when creating or updating a company contact.")] - public class CompanyContactInput : GraphQLObject - { + [Description("The input fields for company contact attributes when creating or updating a company contact.")] + public class CompanyContactInput : GraphQLObject + { /// ///The company contact's first name. /// - [Description("The company contact's first name.")] - public string? firstName { get; set; } - + [Description("The company contact's first name.")] + public string? firstName { get; set; } + /// ///The company contact's last name. /// - [Description("The company contact's last name.")] - public string? lastName { get; set; } - + [Description("The company contact's last name.")] + public string? lastName { get; set; } + /// ///The unique email address of the company contact. /// - [Description("The unique email address of the company contact.")] - public string? email { get; set; } - + [Description("The unique email address of the company contact.")] + public string? email { get; set; } + /// ///The title of the company contact. /// - [Description("The title of the company contact.")] - public string? title { get; set; } - + [Description("The title of the company contact.")] + public string? title { get; set; } + /// ///The contact's locale. /// - [Description("The contact's locale.")] - public string? locale { get; set; } - + [Description("The contact's locale.")] + public string? locale { get; set; } + /// ///The phone number of the company contact. /// - [Description("The phone number of the company contact.")] - public string? phone { get; set; } - } - + [Description("The phone number of the company contact.")] + public string? phone { get; set; } + } + /// ///Return type for `companyContactRemoveFromCompany` mutation. /// - [Description("Return type for `companyContactRemoveFromCompany` mutation.")] - public class CompanyContactRemoveFromCompanyPayload : GraphQLObject - { + [Description("Return type for `companyContactRemoveFromCompany` mutation.")] + public class CompanyContactRemoveFromCompanyPayload : GraphQLObject + { /// ///The ID of the removed company contact. /// - [Description("The ID of the removed company contact.")] - public string? removedCompanyContactId { get; set; } - + [Description("The ID of the removed company contact.")] + public string? removedCompanyContactId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyContactRevokeRole` mutation. /// - [Description("Return type for `companyContactRevokeRole` mutation.")] - public class CompanyContactRevokeRolePayload : GraphQLObject - { + [Description("Return type for `companyContactRevokeRole` mutation.")] + public class CompanyContactRevokeRolePayload : GraphQLObject + { /// ///The role assignment that was revoked. /// - [Description("The role assignment that was revoked.")] - public string? revokedCompanyContactRoleAssignmentId { get; set; } - + [Description("The role assignment that was revoked.")] + public string? revokedCompanyContactRoleAssignmentId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyContactRevokeRoles` mutation. /// - [Description("Return type for `companyContactRevokeRoles` mutation.")] - public class CompanyContactRevokeRolesPayload : GraphQLObject - { + [Description("Return type for `companyContactRevokeRoles` mutation.")] + public class CompanyContactRevokeRolesPayload : GraphQLObject + { /// ///A list of role assignment IDs that were removed from the company contact. /// - [Description("A list of role assignment IDs that were removed from the company contact.")] - public IEnumerable? revokedRoleAssignmentIds { get; set; } - + [Description("A list of role assignment IDs that were removed from the company contact.")] + public IEnumerable? revokedRoleAssignmentIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The role for a [company contact](https://shopify.dev/api/admin-graphql/latest/objects/companycontact). /// - [Description("The role for a [company contact](https://shopify.dev/api/admin-graphql/latest/objects/companycontact).")] - public class CompanyContactRole : GraphQLObject, INode - { + [Description("The role for a [company contact](https://shopify.dev/api/admin-graphql/latest/objects/companycontact).")] + public class CompanyContactRole : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of a role. ///For example, `admin` or `buyer`. /// - [Description("The name of a role.\nFor example, `admin` or `buyer`.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of a role.\nFor example, `admin` or `buyer`.")] + [NonNull] + public string? name { get; set; } + /// ///A note for the role. /// - [Description("A note for the role.")] - public string? note { get; set; } - } - + [Description("A note for the role.")] + public string? note { get; set; } + } + /// ///The input fields for the role and location to assign to a company contact. /// - [Description("The input fields for the role and location to assign to a company contact.")] - public class CompanyContactRoleAssign : GraphQLObject - { + [Description("The input fields for the role and location to assign to a company contact.")] + public class CompanyContactRoleAssign : GraphQLObject + { /// ///The role ID. /// - [Description("The role ID.")] - [NonNull] - public string? companyContactRoleId { get; set; } - + [Description("The role ID.")] + [NonNull] + public string? companyContactRoleId { get; set; } + /// ///The location. /// - [Description("The location.")] - [NonNull] - public string? companyLocationId { get; set; } - } - + [Description("The location.")] + [NonNull] + public string? companyLocationId { get; set; } + } + /// ///The CompanyContactRoleAssignment describes the company and location associated to a company contact's role. /// - [Description("The CompanyContactRoleAssignment describes the company and location associated to a company contact's role.")] - public class CompanyContactRoleAssignment : GraphQLObject, INode - { + [Description("The CompanyContactRoleAssignment describes the company and location associated to a company contact's role.")] + public class CompanyContactRoleAssignment : GraphQLObject, INode + { /// ///The company this role assignment belongs to. /// - [Description("The company this role assignment belongs to.")] - [NonNull] - public Company? company { get; set; } - + [Description("The company this role assignment belongs to.")] + [NonNull] + public Company? company { get; set; } + /// ///The company contact for whom this role is assigned. /// - [Description("The company contact for whom this role is assigned.")] - [NonNull] - public CompanyContact? companyContact { get; set; } - + [Description("The company contact for whom this role is assigned.")] + [NonNull] + public CompanyContact? companyContact { get; set; } + /// ///The company location to which the role is assigned. /// - [Description("The company location to which the role is assigned.")] - [NonNull] - public CompanyLocation? companyLocation { get; set; } - + [Description("The company location to which the role is assigned.")] + [NonNull] + public CompanyLocation? companyLocation { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The role that's assigned to the company contact. /// - [Description("The role that's assigned to the company contact.")] - [NonNull] - public CompanyContactRole? role { get; set; } - + [Description("The role that's assigned to the company contact.")] + [NonNull] + public CompanyContactRole? role { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the assignment record was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple CompanyContactRoleAssignments. /// - [Description("An auto-generated type for paginating through multiple CompanyContactRoleAssignments.")] - public class CompanyContactRoleAssignmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CompanyContactRoleAssignments.")] + public class CompanyContactRoleAssignmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CompanyContactRoleAssignmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CompanyContactRoleAssignmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CompanyContactRoleAssignmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CompanyContactRoleAssignment and a cursor during pagination. /// - [Description("An auto-generated type which holds one CompanyContactRoleAssignment and a cursor during pagination.")] - public class CompanyContactRoleAssignmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CompanyContactRoleAssignment and a cursor during pagination.")] + public class CompanyContactRoleAssignmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CompanyContactRoleAssignmentEdge. /// - [Description("The item at the end of CompanyContactRoleAssignmentEdge.")] - [NonNull] - public CompanyContactRoleAssignment? node { get; set; } - } - + [Description("The item at the end of CompanyContactRoleAssignmentEdge.")] + [NonNull] + public CompanyContactRoleAssignment? node { get; set; } + } + /// ///The set of valid sort keys for the CompanyContactRoleAssignment query. /// - [Description("The set of valid sort keys for the CompanyContactRoleAssignment query.")] - public enum CompanyContactRoleAssignmentSortKeys - { + [Description("The set of valid sort keys for the CompanyContactRoleAssignment query.")] + public enum CompanyContactRoleAssignmentSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `location_name` value. /// - [Description("Sort by the `location_name` value.")] - LOCATION_NAME, + [Description("Sort by the `location_name` value.")] + LOCATION_NAME, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CompanyContactRoleAssignmentSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string LOCATION_NAME = @"LOCATION_NAME"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CompanyContactRoleAssignmentSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string LOCATION_NAME = @"LOCATION_NAME"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///An auto-generated type for paginating through multiple CompanyContactRoles. /// - [Description("An auto-generated type for paginating through multiple CompanyContactRoles.")] - public class CompanyContactRoleConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CompanyContactRoles.")] + public class CompanyContactRoleConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CompanyContactRoleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CompanyContactRoleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CompanyContactRoleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CompanyContactRole and a cursor during pagination. /// - [Description("An auto-generated type which holds one CompanyContactRole and a cursor during pagination.")] - public class CompanyContactRoleEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CompanyContactRole and a cursor during pagination.")] + public class CompanyContactRoleEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CompanyContactRoleEdge. /// - [Description("The item at the end of CompanyContactRoleEdge.")] - [NonNull] - public CompanyContactRole? node { get; set; } - } - + [Description("The item at the end of CompanyContactRoleEdge.")] + [NonNull] + public CompanyContactRole? node { get; set; } + } + /// ///The set of valid sort keys for the CompanyContactRole query. /// - [Description("The set of valid sort keys for the CompanyContactRole query.")] - public enum CompanyContactRoleSortKeys - { + [Description("The set of valid sort keys for the CompanyContactRole query.")] + public enum CompanyContactRoleSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CompanyContactRoleSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CompanyContactRoleSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Return type for `companyContactSendWelcomeEmail` mutation. /// - [Description("Return type for `companyContactSendWelcomeEmail` mutation.")] - public class CompanyContactSendWelcomeEmailPayload : GraphQLObject - { + [Description("Return type for `companyContactSendWelcomeEmail` mutation.")] + public class CompanyContactSendWelcomeEmailPayload : GraphQLObject + { /// ///The company contact to whom a welcome email was sent. /// - [Description("The company contact to whom a welcome email was sent.")] - public CompanyContact? companyContact { get; set; } - + [Description("The company contact to whom a welcome email was sent.")] + public CompanyContact? companyContact { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of valid sort keys for the CompanyContact query. /// - [Description("The set of valid sort keys for the CompanyContact query.")] - public enum CompanyContactSortKeys - { + [Description("The set of valid sort keys for the CompanyContact query.")] + public enum CompanyContactSortKeys + { /// ///Sort by the `company_id` value. /// - [Description("Sort by the `company_id` value.")] - COMPANY_ID, + [Description("Sort by the `company_id` value.")] + COMPANY_ID, /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `email` value. /// - [Description("Sort by the `email` value.")] - EMAIL, + [Description("Sort by the `email` value.")] + EMAIL, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `name_email` value. /// - [Description("Sort by the `name_email` value.")] - NAME_EMAIL, + [Description("Sort by the `name_email` value.")] + NAME_EMAIL, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CompanyContactSortKeysStringValues - { - public const string COMPANY_ID = @"COMPANY_ID"; - public const string CREATED_AT = @"CREATED_AT"; - public const string EMAIL = @"EMAIL"; - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string NAME_EMAIL = @"NAME_EMAIL"; - public const string RELEVANCE = @"RELEVANCE"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CompanyContactSortKeysStringValues + { + public const string COMPANY_ID = @"COMPANY_ID"; + public const string CREATED_AT = @"CREATED_AT"; + public const string EMAIL = @"EMAIL"; + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string NAME_EMAIL = @"NAME_EMAIL"; + public const string RELEVANCE = @"RELEVANCE"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Return type for `companyContactUpdate` mutation. /// - [Description("Return type for `companyContactUpdate` mutation.")] - public class CompanyContactUpdatePayload : GraphQLObject - { + [Description("Return type for `companyContactUpdate` mutation.")] + public class CompanyContactUpdatePayload : GraphQLObject + { /// ///The updated company contact. /// - [Description("The updated company contact.")] - public CompanyContact? companyContact { get; set; } - + [Description("The updated company contact.")] + public CompanyContact? companyContact { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyContactsDelete` mutation. /// - [Description("Return type for `companyContactsDelete` mutation.")] - public class CompanyContactsDeletePayload : GraphQLObject - { + [Description("Return type for `companyContactsDelete` mutation.")] + public class CompanyContactsDeletePayload : GraphQLObject + { /// ///The list of IDs of the deleted company contacts. /// - [Description("The list of IDs of the deleted company contacts.")] - public IEnumerable? deletedCompanyContactIds { get; set; } - + [Description("The list of IDs of the deleted company contacts.")] + public IEnumerable? deletedCompanyContactIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields and values for creating a company and its associated resources. /// - [Description("The input fields and values for creating a company and its associated resources.")] - public class CompanyCreateInput : GraphQLObject - { + [Description("The input fields and values for creating a company and its associated resources.")] + public class CompanyCreateInput : GraphQLObject + { /// ///The attributes for the company. /// - [Description("The attributes for the company.")] - [NonNull] - public CompanyInput? company { get; set; } - + [Description("The attributes for the company.")] + [NonNull] + public CompanyInput? company { get; set; } + /// ///The attributes for the company contact. /// - [Description("The attributes for the company contact.")] - public CompanyContactInput? companyContact { get; set; } - + [Description("The attributes for the company contact.")] + public CompanyContactInput? companyContact { get; set; } + /// ///The attributes for the company location. /// - [Description("The attributes for the company location.")] - public CompanyLocationInput? companyLocation { get; set; } - } - + [Description("The attributes for the company location.")] + public CompanyLocationInput? companyLocation { get; set; } + } + /// ///Return type for `companyCreate` mutation. /// - [Description("Return type for `companyCreate` mutation.")] - public class CompanyCreatePayload : GraphQLObject - { + [Description("Return type for `companyCreate` mutation.")] + public class CompanyCreatePayload : GraphQLObject + { /// ///The created company. /// - [Description("The created company.")] - public Company? company { get; set; } - + [Description("The created company.")] + public Company? company { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyDelete` mutation. /// - [Description("Return type for `companyDelete` mutation.")] - public class CompanyDeletePayload : GraphQLObject - { + [Description("Return type for `companyDelete` mutation.")] + public class CompanyDeletePayload : GraphQLObject + { /// ///The ID of the deleted company. /// - [Description("The ID of the deleted company.")] - public string? deletedCompanyId { get; set; } - + [Description("The ID of the deleted company.")] + public string? deletedCompanyId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Company and a cursor during pagination. /// - [Description("An auto-generated type which holds one Company and a cursor during pagination.")] - public class CompanyEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Company and a cursor during pagination.")] + public class CompanyEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CompanyEdge. /// - [Description("The item at the end of CompanyEdge.")] - [NonNull] - public Company? node { get; set; } - } - + [Description("The item at the end of CompanyEdge.")] + [NonNull] + public Company? node { get; set; } + } + /// ///The input fields for company attributes when creating or updating a company. /// - [Description("The input fields for company attributes when creating or updating a company.")] - public class CompanyInput : GraphQLObject - { + [Description("The input fields for company attributes when creating or updating a company.")] + public class CompanyInput : GraphQLObject + { /// ///The name of the company. /// - [Description("The name of the company.")] - public string? name { get; set; } - + [Description("The name of the company.")] + public string? name { get; set; } + /// ///A note about the company. /// - [Description("A note about the company.")] - public string? note { get; set; } - + [Description("A note about the company.")] + public string? note { get; set; } + /// ///A unique externally-supplied ID for the company. /// - [Description("A unique externally-supplied ID for the company.")] - public string? externalId { get; set; } - + [Description("A unique externally-supplied ID for the company.")] + public string? externalId { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at /// which the company became the customer. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at\n which the company became the customer.")] - public DateTime? customerSince { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at\n which the company became the customer.")] + public DateTime? customerSince { get; set; } + } + /// ///A location or branch of a [company that's a customer](https://shopify.dev/api/admin-graphql/latest/objects/company) of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location. /// - [Description("A location or branch of a [company that's a customer](https://shopify.dev/api/admin-graphql/latest/objects/company) of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location.")] - public class CompanyLocation : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasStoreCreditAccounts, INavigable, INode, IMetafieldReferencer - { + [Description("A location or branch of a [company that's a customer](https://shopify.dev/api/admin-graphql/latest/objects/company) of the shop. Configuration of B2B relationship, for example prices lists and checkout settings, may be done for a location.")] + public class CompanyLocation : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasStoreCreditAccounts, INavigable, INode, IMetafieldReferencer + { /// ///The address used as billing address for the location. /// - [Description("The address used as billing address for the location.")] - public CompanyAddress? billingAddress { get; set; } - + [Description("The address used as billing address for the location.")] + public CompanyAddress? billingAddress { get; set; } + /// ///The configuration for the buyer's B2B checkout. /// - [Description("The configuration for the buyer's B2B checkout.")] - public BuyerExperienceConfiguration? buyerExperienceConfiguration { get; set; } - + [Description("The configuration for the buyer's B2B checkout.")] + public BuyerExperienceConfiguration? buyerExperienceConfiguration { get; set; } + /// ///The list of catalogs associated with the company location. /// - [Description("The list of catalogs associated with the company location.")] - [NonNull] - public CatalogConnection? catalogs { get; set; } - + [Description("The list of catalogs associated with the company location.")] + [NonNull] + public CatalogConnection? catalogs { get; set; } + /// ///The number of catalogs associated with the company location. Limited to a maximum of 10000 by default. /// - [Description("The number of catalogs associated with the company location. Limited to a maximum of 10000 by default.")] - public Count? catalogsCount { get; set; } - + [Description("The number of catalogs associated with the company location. Limited to a maximum of 10000 by default.")] + public Count? catalogsCount { get; set; } + /// ///The company that the company location belongs to. /// - [Description("The company that the company location belongs to.")] - [NonNull] - public Company? company { get; set; } - + [Description("The company that the company location belongs to.")] + [NonNull] + public Company? company { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was created in Shopify. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was created in Shopify.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was created in Shopify.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market. /// - [Description("The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The location's currency based on the shipping address. If the shipping address is empty, then the value is the shop's primary market.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The list of draft orders for the company location. /// - [Description("The list of draft orders for the company location.")] - [NonNull] - public DraftOrderConnection? draftOrders { get; set; } - + [Description("The list of draft orders for the company location.")] + [NonNull] + public DraftOrderConnection? draftOrders { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A unique externally-supplied ID for the company location. /// - [Description("A unique externally-supplied ID for the company location.")] - public string? externalId { get; set; } - + [Description("A unique externally-supplied ID for the company location.")] + public string? externalId { get; set; } + /// ///Whether the company location has a price list with the specified ID. /// - [Description("Whether the company location has a price list with the specified ID.")] - [NonNull] - public bool? hasPriceList { get; set; } - + [Description("Whether the company location has a price list with the specified ID.")] + [NonNull] + public bool? hasPriceList { get; set; } + /// ///Whether the merchant added a timeline comment to the company location. /// - [Description("Whether the merchant added a timeline comment to the company location.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether the merchant added a timeline comment to the company location.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the company location is assigned a specific catalog. /// - [Description("Whether the company location is assigned a specific catalog.")] - [NonNull] - public bool? inCatalog { get; set; } - + [Description("Whether the company location is assigned a specific catalog.")] + [NonNull] + public bool? inCatalog { get; set; } + /// ///The preferred locale of the company location. /// - [Description("The preferred locale of the company location.")] - public string? locale { get; set; } - + [Description("The preferred locale of the company location.")] + public string? locale { get; set; } + /// ///The market that includes the location's shipping address. If the shipping address is empty, then the value is the shop's primary market. /// - [Description("The market that includes the location's shipping address. If the shipping address is empty, then the value is the shop's primary market.")] - [Obsolete("This `market` field will be removed in a future version of the API.")] - [NonNull] - public Market? market { get; set; } - + [Description("The market that includes the location's shipping address. If the shipping address is empty, then the value is the shop's primary market.")] + [Obsolete("This `market` field will be removed in a future version of the API.")] + [NonNull] + public Market? market { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The name of the company location. /// - [Description("The name of the company location.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the company location.")] + [NonNull] + public string? name { get; set; } + /// ///A note about the company location. /// - [Description("A note about the company location.")] - public string? note { get; set; } - + [Description("A note about the company location.")] + public string? note { get; set; } + /// ///The total number of orders placed for the location. /// - [Description("The total number of orders placed for the location.")] - [Obsolete("Use `ordersCount` instead.")] - [NonNull] - public int? orderCount { get; set; } - + [Description("The total number of orders placed for the location.")] + [Obsolete("Use `ordersCount` instead.")] + [NonNull] + public int? orderCount { get; set; } + /// ///The list of orders for the company location. /// - [Description("The list of orders for the company location.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("The list of orders for the company location.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///The total number of orders placed for the location. /// - [Description("The total number of orders placed for the location.")] - public Count? ordersCount { get; set; } - + [Description("The total number of orders placed for the location.")] + public Count? ordersCount { get; set; } + /// ///The phone number of the company location. /// - [Description("The phone number of the company location.")] - public string? phone { get; set; } - + [Description("The phone number of the company location.")] + public string? phone { get; set; } + /// ///The list of price lists for the company location. /// - [Description("The list of price lists for the company location.")] - [NonNull] - public PriceListConnection? priceLists { get; set; } - + [Description("The list of price lists for the company location.")] + [NonNull] + public PriceListConnection? priceLists { get; set; } + /// ///The list of roles assigned to the company location. /// - [Description("The list of roles assigned to the company location.")] - [NonNull] - public CompanyContactRoleAssignmentConnection? roleAssignments { get; set; } - + [Description("The list of roles assigned to the company location.")] + [NonNull] + public CompanyContactRoleAssignmentConnection? roleAssignments { get; set; } + /// ///The address used as shipping address for the location. /// - [Description("The address used as shipping address for the location.")] - public CompanyAddress? shippingAddress { get; set; } - + [Description("The address used as shipping address for the location.")] + public CompanyAddress? shippingAddress { get; set; } + /// ///The list of staff members assigned to the company location. /// - [Description("The list of staff members assigned to the company location.")] - [NonNull] - public CompanyLocationStaffMemberAssignmentConnection? staffMemberAssignments { get; set; } - + [Description("The list of staff members assigned to the company location.")] + [NonNull] + public CompanyLocationStaffMemberAssignmentConnection? staffMemberAssignments { get; set; } + /// ///Returns a list of store credit accounts that belong to the owner resource. ///A store credit account owner can hold multiple accounts each with a different currency. /// - [Description("Returns a list of store credit accounts that belong to the owner resource.\nA store credit account owner can hold multiple accounts each with a different currency.")] - [NonNull] - public StoreCreditAccountConnection? storeCreditAccounts { get; set; } - + [Description("Returns a list of store credit accounts that belong to the owner resource.\nA store credit account owner can hold multiple accounts each with a different currency.")] + [NonNull] + public StoreCreditAccountConnection? storeCreditAccounts { get; set; } + /// ///The list of tax exemptions applied to the location. /// - [Description("The list of tax exemptions applied to the location.")] - [Obsolete("Use `taxSettings` instead.")] - [NonNull] - public IEnumerable? taxExemptions { get; set; } - + [Description("The list of tax exemptions applied to the location.")] + [Obsolete("Use `taxSettings` instead.")] + [NonNull] + public IEnumerable? taxExemptions { get; set; } + /// ///The tax registration ID for the company location. /// - [Description("The tax registration ID for the company location.")] - [Obsolete("Use `taxSettings` instead.")] - public string? taxRegistrationId { get; set; } - + [Description("The tax registration ID for the company location.")] + [Obsolete("Use `taxSettings` instead.")] + public string? taxRegistrationId { get; set; } + /// ///The tax settings for the company location. /// - [Description("The tax settings for the company location.")] - [NonNull] - public CompanyLocationTaxSettings? taxSettings { get; set; } - + [Description("The tax settings for the company location.")] + [NonNull] + public CompanyLocationTaxSettings? taxSettings { get; set; } + /// ///The total amount spent by the location. /// - [Description("The total amount spent by the location.")] - [NonNull] - public MoneyV2? totalSpent { get; set; } - + [Description("The total amount spent by the location.")] + [NonNull] + public MoneyV2? totalSpent { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was last modified. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was last modified.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) at which the company location was last modified.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `companyLocationAssignAddress` mutation. /// - [Description("Return type for `companyLocationAssignAddress` mutation.")] - public class CompanyLocationAssignAddressPayload : GraphQLObject - { + [Description("Return type for `companyLocationAssignAddress` mutation.")] + public class CompanyLocationAssignAddressPayload : GraphQLObject + { /// ///The list of updated addresses on the company location. /// - [Description("The list of updated addresses on the company location.")] - public IEnumerable? addresses { get; set; } - + [Description("The list of updated addresses on the company location.")] + public IEnumerable? addresses { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationAssignRoles` mutation. /// - [Description("Return type for `companyLocationAssignRoles` mutation.")] - public class CompanyLocationAssignRolesPayload : GraphQLObject - { + [Description("Return type for `companyLocationAssignRoles` mutation.")] + public class CompanyLocationAssignRolesPayload : GraphQLObject + { /// ///A list of newly created assignments of company contacts to a company location. /// - [Description("A list of newly created assignments of company contacts to a company location.")] - public IEnumerable? roleAssignments { get; set; } - + [Description("A list of newly created assignments of company contacts to a company location.")] + public IEnumerable? roleAssignments { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationAssignStaffMembers` mutation. /// - [Description("Return type for `companyLocationAssignStaffMembers` mutation.")] - public class CompanyLocationAssignStaffMembersPayload : GraphQLObject - { + [Description("Return type for `companyLocationAssignStaffMembers` mutation.")] + public class CompanyLocationAssignStaffMembersPayload : GraphQLObject + { /// ///The list of created staff member assignments. /// - [Description("The list of created staff member assignments.")] - public IEnumerable? companyLocationStaffMemberAssignments { get; set; } - + [Description("The list of created staff member assignments.")] + public IEnumerable? companyLocationStaffMemberAssignments { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationAssignTaxExemptions` mutation. /// - [Description("Return type for `companyLocationAssignTaxExemptions` mutation.")] - public class CompanyLocationAssignTaxExemptionsPayload : GraphQLObject - { + [Description("Return type for `companyLocationAssignTaxExemptions` mutation.")] + public class CompanyLocationAssignTaxExemptionsPayload : GraphQLObject + { /// ///The updated company location. /// - [Description("The updated company location.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("The updated company location.")] + public CompanyLocation? companyLocation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A list of products with publishing and pricing information associated with company locations. /// - [Description("A list of products with publishing and pricing information associated with company locations.")] - public class CompanyLocationCatalog : GraphQLObject, ICatalog, INode - { + [Description("A list of products with publishing and pricing information associated with company locations.")] + public class CompanyLocationCatalog : GraphQLObject, ICatalog, INode + { /// ///The company locations associated with the catalog. /// - [Description("The company locations associated with the catalog.")] - [NonNull] - public CompanyLocationConnection? companyLocations { get; set; } - + [Description("The company locations associated with the catalog.")] + [NonNull] + public CompanyLocationConnection? companyLocations { get; set; } + /// ///The number of company locations associated with the catalog. /// - [Description("The number of company locations associated with the catalog.")] - public Count? companyLocationsCount { get; set; } - + [Description("The number of company locations associated with the catalog.")] + public Count? companyLocationsCount { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Most recent catalog operations. /// - [Description("Most recent catalog operations.")] - [NonNull] - public IEnumerable? operations { get; set; } - + [Description("Most recent catalog operations.")] + [NonNull] + public IEnumerable? operations { get; set; } + /// ///The price list associated with the catalog. /// - [Description("The price list associated with the catalog.")] - public PriceList? priceList { get; set; } - + [Description("The price list associated with the catalog.")] + public PriceList? priceList { get; set; } + /// ///A group of products and collections that's published to a catalog. /// - [Description("A group of products and collections that's published to a catalog.")] - public Publication? publication { get; set; } - + [Description("A group of products and collections that's published to a catalog.")] + public Publication? publication { get; set; } + /// ///The status of the catalog. /// - [Description("The status of the catalog.")] - [NonNull] - [EnumType(typeof(CatalogStatus))] - public string? status { get; set; } - + [Description("The status of the catalog.")] + [NonNull] + [EnumType(typeof(CatalogStatus))] + public string? status { get; set; } + /// ///The name of the catalog. /// - [Description("The name of the catalog.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the catalog.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple CompanyLocations. /// - [Description("An auto-generated type for paginating through multiple CompanyLocations.")] - public class CompanyLocationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CompanyLocations.")] + public class CompanyLocationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CompanyLocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CompanyLocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CompanyLocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `companyLocationCreate` mutation. /// - [Description("Return type for `companyLocationCreate` mutation.")] - public class CompanyLocationCreatePayload : GraphQLObject - { + [Description("Return type for `companyLocationCreate` mutation.")] + public class CompanyLocationCreatePayload : GraphQLObject + { /// ///The created company location. /// - [Description("The created company location.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("The created company location.")] + public CompanyLocation? companyLocation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationCreateTaxRegistration` mutation. /// - [Description("Return type for `companyLocationCreateTaxRegistration` mutation.")] - public class CompanyLocationCreateTaxRegistrationPayload : GraphQLObject - { + [Description("Return type for `companyLocationCreateTaxRegistration` mutation.")] + public class CompanyLocationCreateTaxRegistrationPayload : GraphQLObject + { /// ///The company location with the created tax registration. /// - [Description("The company location with the created tax registration.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("The company location with the created tax registration.")] + public CompanyLocation? companyLocation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationDelete` mutation. /// - [Description("Return type for `companyLocationDelete` mutation.")] - public class CompanyLocationDeletePayload : GraphQLObject - { + [Description("Return type for `companyLocationDelete` mutation.")] + public class CompanyLocationDeletePayload : GraphQLObject + { /// ///The ID of the deleted company location. /// - [Description("The ID of the deleted company location.")] - public string? deletedCompanyLocationId { get; set; } - + [Description("The ID of the deleted company location.")] + public string? deletedCompanyLocationId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one CompanyLocation and a cursor during pagination. /// - [Description("An auto-generated type which holds one CompanyLocation and a cursor during pagination.")] - public class CompanyLocationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CompanyLocation and a cursor during pagination.")] + public class CompanyLocationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CompanyLocationEdge. /// - [Description("The item at the end of CompanyLocationEdge.")] - [NonNull] - public CompanyLocation? node { get; set; } - } - + [Description("The item at the end of CompanyLocationEdge.")] + [NonNull] + public CompanyLocation? node { get; set; } + } + /// ///The input fields for company location when creating or updating a company location. /// - [Description("The input fields for company location when creating or updating a company location.")] - public class CompanyLocationInput : GraphQLObject - { + [Description("The input fields for company location when creating or updating a company location.")] + public class CompanyLocationInput : GraphQLObject + { /// ///The name of the company location. /// - [Description("The name of the company location.")] - public string? name { get; set; } - + [Description("The name of the company location.")] + public string? name { get; set; } + /// ///The phone number of the company location. /// - [Description("The phone number of the company location.")] - public string? phone { get; set; } - + [Description("The phone number of the company location.")] + public string? phone { get; set; } + /// ///The preferred locale of the company location. /// - [Description("The preferred locale of the company location.")] - public string? locale { get; set; } - + [Description("The preferred locale of the company location.")] + public string? locale { get; set; } + /// ///A unique externally-supplied ID for the company location. /// - [Description("A unique externally-supplied ID for the company location.")] - public string? externalId { get; set; } - + [Description("A unique externally-supplied ID for the company location.")] + public string? externalId { get; set; } + /// ///A note about the company location. /// - [Description("A note about the company location.")] - public string? note { get; set; } - + [Description("A note about the company location.")] + public string? note { get; set; } + /// ///The configuration for the buyer's checkout at the company location. /// - [Description("The configuration for the buyer's checkout at the company location.")] - public BuyerExperienceConfigurationInput? buyerExperienceConfiguration { get; set; } - + [Description("The configuration for the buyer's checkout at the company location.")] + public BuyerExperienceConfigurationInput? buyerExperienceConfiguration { get; set; } + /// ///The input fields to create or update the billing address for a company location. /// - [Description("The input fields to create or update the billing address for a company location.")] - public CompanyAddressInput? billingAddress { get; set; } - + [Description("The input fields to create or update the billing address for a company location.")] + public CompanyAddressInput? billingAddress { get; set; } + /// ///The input fields to create or update the shipping address for a company location. /// - [Description("The input fields to create or update the shipping address for a company location.")] - public CompanyAddressInput? shippingAddress { get; set; } - + [Description("The input fields to create or update the shipping address for a company location.")] + public CompanyAddressInput? shippingAddress { get; set; } + /// ///Whether the billing address is the same as the shipping address. If the value is true, then the input for `billingAddress` is ignored. /// - [Description("Whether the billing address is the same as the shipping address. If the value is true, then the input for `billingAddress` is ignored.")] - public bool? billingSameAsShipping { get; set; } - + [Description("Whether the billing address is the same as the shipping address. If the value is true, then the input for `billingAddress` is ignored.")] + public bool? billingSameAsShipping { get; set; } + /// ///The tax registration ID of the company location. /// - [Description("The tax registration ID of the company location.")] - public string? taxRegistrationId { get; set; } - + [Description("The tax registration ID of the company location.")] + public string? taxRegistrationId { get; set; } + /// ///The list of tax exemptions to apply to the company location. /// - [Description("The list of tax exemptions to apply to the company location.")] - public IEnumerable? taxExemptions { get; set; } - + [Description("The list of tax exemptions to apply to the company location.")] + public IEnumerable? taxExemptions { get; set; } + /// ///Whether the location is exempt from taxes. /// - [Description("Whether the location is exempt from taxes.")] - public bool? taxExempt { get; set; } - } - + [Description("Whether the location is exempt from taxes.")] + public bool? taxExempt { get; set; } + } + /// ///Return type for `companyLocationRemoveStaffMembers` mutation. /// - [Description("Return type for `companyLocationRemoveStaffMembers` mutation.")] - public class CompanyLocationRemoveStaffMembersPayload : GraphQLObject - { + [Description("Return type for `companyLocationRemoveStaffMembers` mutation.")] + public class CompanyLocationRemoveStaffMembersPayload : GraphQLObject + { /// ///The list of IDs of the deleted staff member assignment. /// - [Description("The list of IDs of the deleted staff member assignment.")] - public IEnumerable? deletedCompanyLocationStaffMemberAssignmentIds { get; set; } - + [Description("The list of IDs of the deleted staff member assignment.")] + public IEnumerable? deletedCompanyLocationStaffMemberAssignmentIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationRevokeRoles` mutation. /// - [Description("Return type for `companyLocationRevokeRoles` mutation.")] - public class CompanyLocationRevokeRolesPayload : GraphQLObject - { + [Description("Return type for `companyLocationRevokeRoles` mutation.")] + public class CompanyLocationRevokeRolesPayload : GraphQLObject + { /// ///A list of role assignment IDs that were removed from the company location. /// - [Description("A list of role assignment IDs that were removed from the company location.")] - public IEnumerable? revokedRoleAssignmentIds { get; set; } - + [Description("A list of role assignment IDs that were removed from the company location.")] + public IEnumerable? revokedRoleAssignmentIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationRevokeTaxExemptions` mutation. /// - [Description("Return type for `companyLocationRevokeTaxExemptions` mutation.")] - public class CompanyLocationRevokeTaxExemptionsPayload : GraphQLObject - { + [Description("Return type for `companyLocationRevokeTaxExemptions` mutation.")] + public class CompanyLocationRevokeTaxExemptionsPayload : GraphQLObject + { /// ///The updated company location. /// - [Description("The updated company location.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("The updated company location.")] + public CompanyLocation? companyLocation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyLocationRevokeTaxRegistration` mutation. /// - [Description("Return type for `companyLocationRevokeTaxRegistration` mutation.")] - public class CompanyLocationRevokeTaxRegistrationPayload : GraphQLObject - { + [Description("Return type for `companyLocationRevokeTaxRegistration` mutation.")] + public class CompanyLocationRevokeTaxRegistrationPayload : GraphQLObject + { /// ///The updated company location. /// - [Description("The updated company location.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("The updated company location.")] + public CompanyLocation? companyLocation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for the role and contact to assign on a location. /// - [Description("The input fields for the role and contact to assign on a location.")] - public class CompanyLocationRoleAssign : GraphQLObject - { + [Description("The input fields for the role and contact to assign on a location.")] + public class CompanyLocationRoleAssign : GraphQLObject + { /// ///The role ID. /// - [Description("The role ID.")] - [NonNull] - public string? companyContactRoleId { get; set; } - + [Description("The role ID.")] + [NonNull] + public string? companyContactRoleId { get; set; } + /// ///The company contact ID.. /// - [Description("The company contact ID..")] - [NonNull] - public string? companyContactId { get; set; } - } - + [Description("The company contact ID..")] + [NonNull] + public string? companyContactId { get; set; } + } + /// ///The set of valid sort keys for the CompanyLocation query. /// - [Description("The set of valid sort keys for the CompanyLocation query.")] - public enum CompanyLocationSortKeys - { + [Description("The set of valid sort keys for the CompanyLocation query.")] + public enum CompanyLocationSortKeys + { /// ///Sort by the `company_and_location_name` value. /// - [Description("Sort by the `company_and_location_name` value.")] - COMPANY_AND_LOCATION_NAME, + [Description("Sort by the `company_and_location_name` value.")] + COMPANY_AND_LOCATION_NAME, /// ///Sort by the `company_id` value. /// - [Description("Sort by the `company_id` value.")] - COMPANY_ID, + [Description("Sort by the `company_id` value.")] + COMPANY_ID, /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CompanyLocationSortKeysStringValues - { - public const string COMPANY_AND_LOCATION_NAME = @"COMPANY_AND_LOCATION_NAME"; - public const string COMPANY_ID = @"COMPANY_ID"; - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string RELEVANCE = @"RELEVANCE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CompanyLocationSortKeysStringValues + { + public const string COMPANY_AND_LOCATION_NAME = @"COMPANY_AND_LOCATION_NAME"; + public const string COMPANY_ID = @"COMPANY_ID"; + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string RELEVANCE = @"RELEVANCE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///A representation of store's staff member who is assigned to a [company location](https://shopify.dev/api/admin-graphql/latest/objects/CompanyLocation) of the shop. The staff member's actions will be limited to objects associated with the assigned company location. /// - [Description("A representation of store's staff member who is assigned to a [company location](https://shopify.dev/api/admin-graphql/latest/objects/CompanyLocation) of the shop. The staff member's actions will be limited to objects associated with the assigned company location.")] - public class CompanyLocationStaffMemberAssignment : GraphQLObject, INode - { + [Description("A representation of store's staff member who is assigned to a [company location](https://shopify.dev/api/admin-graphql/latest/objects/CompanyLocation) of the shop. The staff member's actions will be limited to objects associated with the assigned company location.")] + public class CompanyLocationStaffMemberAssignment : GraphQLObject, INode + { /// ///The company location the staff member is assigned to. /// - [Description("The company location the staff member is assigned to.")] - [NonNull] - public CompanyLocation? companyLocation { get; set; } - + [Description("The company location the staff member is assigned to.")] + [NonNull] + public CompanyLocation? companyLocation { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Represents the data of a staff member who's assigned to a company location. /// - [Description("Represents the data of a staff member who's assigned to a company location.")] - [NonNull] - public StaffMember? staffMember { get; set; } - } - + [Description("Represents the data of a staff member who's assigned to a company location.")] + [NonNull] + public StaffMember? staffMember { get; set; } + } + /// ///An auto-generated type for paginating through multiple CompanyLocationStaffMemberAssignments. /// - [Description("An auto-generated type for paginating through multiple CompanyLocationStaffMemberAssignments.")] - public class CompanyLocationStaffMemberAssignmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CompanyLocationStaffMemberAssignments.")] + public class CompanyLocationStaffMemberAssignmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CompanyLocationStaffMemberAssignmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CompanyLocationStaffMemberAssignmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CompanyLocationStaffMemberAssignmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CompanyLocationStaffMemberAssignment and a cursor during pagination. /// - [Description("An auto-generated type which holds one CompanyLocationStaffMemberAssignment and a cursor during pagination.")] - public class CompanyLocationStaffMemberAssignmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CompanyLocationStaffMemberAssignment and a cursor during pagination.")] + public class CompanyLocationStaffMemberAssignmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CompanyLocationStaffMemberAssignmentEdge. /// - [Description("The item at the end of CompanyLocationStaffMemberAssignmentEdge.")] - [NonNull] - public CompanyLocationStaffMemberAssignment? node { get; set; } - } - + [Description("The item at the end of CompanyLocationStaffMemberAssignmentEdge.")] + [NonNull] + public CompanyLocationStaffMemberAssignment? node { get; set; } + } + /// ///The set of valid sort keys for the CompanyLocationStaffMemberAssignment query. /// - [Description("The set of valid sort keys for the CompanyLocationStaffMemberAssignment query.")] - public enum CompanyLocationStaffMemberAssignmentSortKeys - { + [Description("The set of valid sort keys for the CompanyLocationStaffMemberAssignment query.")] + public enum CompanyLocationStaffMemberAssignmentSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CompanyLocationStaffMemberAssignmentSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CompanyLocationStaffMemberAssignmentSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Represents the tax settings for a company location. /// - [Description("Represents the tax settings for a company location.")] - public class CompanyLocationTaxSettings : GraphQLObject - { + [Description("Represents the tax settings for a company location.")] + public class CompanyLocationTaxSettings : GraphQLObject + { /// ///Whether the location is exempt from taxes. /// - [Description("Whether the location is exempt from taxes.")] - [NonNull] - public bool? taxExempt { get; set; } - + [Description("Whether the location is exempt from taxes.")] + [NonNull] + public bool? taxExempt { get; set; } + /// ///The list of tax exemptions applied to the location. /// - [Description("The list of tax exemptions applied to the location.")] - [NonNull] - public IEnumerable? taxExemptions { get; set; } - + [Description("The list of tax exemptions applied to the location.")] + [NonNull] + public IEnumerable? taxExemptions { get; set; } + /// ///The tax registration ID for the company location. /// - [Description("The tax registration ID for the company location.")] - public string? taxRegistrationId { get; set; } - } - + [Description("The tax registration ID for the company location.")] + public string? taxRegistrationId { get; set; } + } + /// ///Return type for `companyLocationTaxSettingsUpdate` mutation. /// - [Description("Return type for `companyLocationTaxSettingsUpdate` mutation.")] - public class CompanyLocationTaxSettingsUpdatePayload : GraphQLObject - { + [Description("Return type for `companyLocationTaxSettingsUpdate` mutation.")] + public class CompanyLocationTaxSettingsUpdatePayload : GraphQLObject + { /// ///The company location with the updated tax settings. /// - [Description("The company location with the updated tax settings.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("The company location with the updated tax settings.")] + public CompanyLocation? companyLocation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for company location when creating or updating a company location. /// - [Description("The input fields for company location when creating or updating a company location.")] - public class CompanyLocationUpdateInput : GraphQLObject - { + [Description("The input fields for company location when creating or updating a company location.")] + public class CompanyLocationUpdateInput : GraphQLObject + { /// ///The name of the company location. /// - [Description("The name of the company location.")] - public string? name { get; set; } - + [Description("The name of the company location.")] + public string? name { get; set; } + /// ///The phone number of the company location. /// - [Description("The phone number of the company location.")] - public string? phone { get; set; } - + [Description("The phone number of the company location.")] + public string? phone { get; set; } + /// ///The preferred locale of the company location. /// - [Description("The preferred locale of the company location.")] - public string? locale { get; set; } - + [Description("The preferred locale of the company location.")] + public string? locale { get; set; } + /// ///A unique externally-supplied ID for the company location. /// - [Description("A unique externally-supplied ID for the company location.")] - public string? externalId { get; set; } - + [Description("A unique externally-supplied ID for the company location.")] + public string? externalId { get; set; } + /// ///A note about the company location. /// - [Description("A note about the company location.")] - public string? note { get; set; } - + [Description("A note about the company location.")] + public string? note { get; set; } + /// ///The configuration for the buyer's checkout at the company location. /// - [Description("The configuration for the buyer's checkout at the company location.")] - public BuyerExperienceConfigurationInput? buyerExperienceConfiguration { get; set; } - } - + [Description("The configuration for the buyer's checkout at the company location.")] + public BuyerExperienceConfigurationInput? buyerExperienceConfiguration { get; set; } + } + /// ///Return type for `companyLocationUpdate` mutation. /// - [Description("Return type for `companyLocationUpdate` mutation.")] - public class CompanyLocationUpdatePayload : GraphQLObject - { + [Description("Return type for `companyLocationUpdate` mutation.")] + public class CompanyLocationUpdatePayload : GraphQLObject + { /// ///The updated company location. /// - [Description("The updated company location.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("The updated company location.")] + public CompanyLocation? companyLocation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A condition checking the company location a visitor is purchasing for. /// - [Description("A condition checking the company location a visitor is purchasing for.")] - public class CompanyLocationsCondition : GraphQLObject - { + [Description("A condition checking the company location a visitor is purchasing for.")] + public class CompanyLocationsCondition : GraphQLObject + { /// ///The application level for the condition. /// - [Description("The application level for the condition.")] - [EnumType(typeof(MarketConditionApplicationType))] - public string? applicationLevel { get; set; } - + [Description("The application level for the condition.")] + [EnumType(typeof(MarketConditionApplicationType))] + public string? applicationLevel { get; set; } + /// ///The company locations that comprise the market. /// - [Description("The company locations that comprise the market.")] - [NonNull] - public CompanyLocationConnection? companyLocations { get; set; } - } - + [Description("The company locations that comprise the market.")] + [NonNull] + public CompanyLocationConnection? companyLocations { get; set; } + } + /// ///Return type for `companyLocationsDelete` mutation. /// - [Description("Return type for `companyLocationsDelete` mutation.")] - public class CompanyLocationsDeletePayload : GraphQLObject - { + [Description("Return type for `companyLocationsDelete` mutation.")] + public class CompanyLocationsDeletePayload : GraphQLObject + { /// ///A list of IDs of the deleted company locations. /// - [Description("A list of IDs of the deleted company locations.")] - public IEnumerable? deletedCompanyLocationIds { get; set; } - + [Description("A list of IDs of the deleted company locations.")] + public IEnumerable? deletedCompanyLocationIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `companyRevokeMainContact` mutation. /// - [Description("Return type for `companyRevokeMainContact` mutation.")] - public class CompanyRevokeMainContactPayload : GraphQLObject - { + [Description("Return type for `companyRevokeMainContact` mutation.")] + public class CompanyRevokeMainContactPayload : GraphQLObject + { /// ///The company from which the main contact is revoked. /// - [Description("The company from which the main contact is revoked.")] - public Company? company { get; set; } - + [Description("The company from which the main contact is revoked.")] + public Company? company { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of valid sort keys for the Company query. /// - [Description("The set of valid sort keys for the Company query.")] - public enum CompanySortKeys - { + [Description("The set of valid sort keys for the Company query.")] + public enum CompanySortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `order_count` value. /// - [Description("Sort by the `order_count` value.")] - ORDER_COUNT, + [Description("Sort by the `order_count` value.")] + ORDER_COUNT, /// ///Sort by the `since_date` value. /// - [Description("Sort by the `since_date` value.")] - SINCE_DATE, + [Description("Sort by the `since_date` value.")] + SINCE_DATE, /// ///Sort by the `total_spent` value. /// - [Description("Sort by the `total_spent` value.")] - TOTAL_SPENT, + [Description("Sort by the `total_spent` value.")] + TOTAL_SPENT, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CompanySortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string ORDER_COUNT = @"ORDER_COUNT"; - public const string SINCE_DATE = @"SINCE_DATE"; - public const string TOTAL_SPENT = @"TOTAL_SPENT"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CompanySortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string ORDER_COUNT = @"ORDER_COUNT"; + public const string SINCE_DATE = @"SINCE_DATE"; + public const string TOTAL_SPENT = @"TOTAL_SPENT"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Return type for `companyUpdate` mutation. /// - [Description("Return type for `companyUpdate` mutation.")] - public class CompanyUpdatePayload : GraphQLObject - { + [Description("Return type for `companyUpdate` mutation.")] + public class CompanyUpdatePayload : GraphQLObject + { /// ///The updated company. /// - [Description("The updated company.")] - public Company? company { get; set; } - + [Description("The updated company.")] + public Company? company { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A consent policy describes the level of consent that the merchant requires from the user before actually ///collecting and processing the data. /// - [Description("A consent policy describes the level of consent that the merchant requires from the user before actually\ncollecting and processing the data.")] - public class ConsentPolicy : GraphQLObject, INode - { + [Description("A consent policy describes the level of consent that the merchant requires from the user before actually\ncollecting and processing the data.")] + public class ConsentPolicy : GraphQLObject, INode + { /// ///Whether consent is required for the region. /// - [Description("Whether consent is required for the region.")] - public bool? consentRequired { get; set; } - + [Description("Whether consent is required for the region.")] + public bool? consentRequired { get; set; } + /// ///The `ISO 3166` country code for which the policy applies. /// - [Description("The `ISO 3166` country code for which the policy applies.")] - [EnumType(typeof(PrivacyCountryCode))] - public string? countryCode { get; set; } - + [Description("The `ISO 3166` country code for which the policy applies.")] + [EnumType(typeof(PrivacyCountryCode))] + public string? countryCode { get; set; } + /// ///Whether data sale opt-out is required for the region. /// - [Description("Whether data sale opt-out is required for the region.")] - public bool? dataSaleOptOutRequired { get; set; } - + [Description("Whether data sale opt-out is required for the region.")] + public bool? dataSaleOptOutRequired { get; set; } + /// ///The global ID of the consent policy. IDs prefixed with `SD-` are system default policies. /// - [Description("The global ID of the consent policy. IDs prefixed with `SD-` are system default policies.")] - [NonNull] - public string? id { get; set; } - + [Description("The global ID of the consent policy. IDs prefixed with `SD-` are system default policies.")] + [NonNull] + public string? id { get; set; } + /// ///The `ISO 3166` region code for which the policy applies. /// - [Description("The `ISO 3166` region code for which the policy applies.")] - public string? regionCode { get; set; } - + [Description("The `ISO 3166` region code for which the policy applies.")] + public string? regionCode { get; set; } + /// ///The global ID of the shop that owns the policy. /// - [Description("The global ID of the shop that owns the policy.")] - [NonNull] - public string? shopId { get; set; } - } - + [Description("The global ID of the shop that owns the policy.")] + [NonNull] + public string? shopId { get; set; } + } + /// ///The errors encountered while performing mutations on consent policies. /// - [Description("The errors encountered while performing mutations on consent policies.")] - public class ConsentPolicyError : GraphQLObject, IDisplayableError - { + [Description("The errors encountered while performing mutations on consent policies.")] + public class ConsentPolicyError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ConsentPolicyErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ConsentPolicyErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ConsentPolicyError`. /// - [Description("Possible error codes that can be returned by `ConsentPolicyError`.")] - public enum ConsentPolicyErrorCode - { + [Description("Possible error codes that can be returned by `ConsentPolicyError`.")] + public enum ConsentPolicyErrorCode + { /// ///Country code is required. /// - [Description("Country code is required.")] - COUNTRY_CODE_REQUIRED, + [Description("Country code is required.")] + COUNTRY_CODE_REQUIRED, /// ///Region code is required for countries with existing regional policies. /// - [Description("Region code is required for countries with existing regional policies.")] - REGION_CODE_REQUIRED, + [Description("Region code is required for countries with existing regional policies.")] + REGION_CODE_REQUIRED, /// ///Region code must match the country code. /// - [Description("Region code must match the country code.")] - REGION_CODE_MUST_MATCH_COUNTRY_CODE, + [Description("Region code must match the country code.")] + REGION_CODE_MUST_MATCH_COUNTRY_CODE, /// ///Shopify's cookie banner must be disabled. /// - [Description("Shopify's cookie banner must be disabled.")] - SHOPIFY_COOKIE_BANNER_NOT_DISABLED, + [Description("Shopify's cookie banner must be disabled.")] + SHOPIFY_COOKIE_BANNER_NOT_DISABLED, /// ///Unsupported consent policy. /// - [Description("Unsupported consent policy.")] - UNSUPORTED_CONSENT_POLICY, - } - - public static class ConsentPolicyErrorCodeStringValues - { - public const string COUNTRY_CODE_REQUIRED = @"COUNTRY_CODE_REQUIRED"; - public const string REGION_CODE_REQUIRED = @"REGION_CODE_REQUIRED"; - public const string REGION_CODE_MUST_MATCH_COUNTRY_CODE = @"REGION_CODE_MUST_MATCH_COUNTRY_CODE"; - public const string SHOPIFY_COOKIE_BANNER_NOT_DISABLED = @"SHOPIFY_COOKIE_BANNER_NOT_DISABLED"; - public const string UNSUPORTED_CONSENT_POLICY = @"UNSUPORTED_CONSENT_POLICY"; - } - + [Description("Unsupported consent policy.")] + UNSUPORTED_CONSENT_POLICY, + } + + public static class ConsentPolicyErrorCodeStringValues + { + public const string COUNTRY_CODE_REQUIRED = @"COUNTRY_CODE_REQUIRED"; + public const string REGION_CODE_REQUIRED = @"REGION_CODE_REQUIRED"; + public const string REGION_CODE_MUST_MATCH_COUNTRY_CODE = @"REGION_CODE_MUST_MATCH_COUNTRY_CODE"; + public const string SHOPIFY_COOKIE_BANNER_NOT_DISABLED = @"SHOPIFY_COOKIE_BANNER_NOT_DISABLED"; + public const string UNSUPORTED_CONSENT_POLICY = @"UNSUPORTED_CONSENT_POLICY"; + } + /// ///The input fields for a consent policy to be updated or created. /// - [Description("The input fields for a consent policy to be updated or created.")] - public class ConsentPolicyInput : GraphQLObject - { + [Description("The input fields for a consent policy to be updated or created.")] + public class ConsentPolicyInput : GraphQLObject + { /// ///The `ISO 3166` country code for which the policy applies. /// - [Description("The `ISO 3166` country code for which the policy applies.")] - [EnumType(typeof(PrivacyCountryCode))] - public string? countryCode { get; set; } - + [Description("The `ISO 3166` country code for which the policy applies.")] + [EnumType(typeof(PrivacyCountryCode))] + public string? countryCode { get; set; } + /// ///The `ISO 3166` region code for which the policy applies. /// - [Description("The `ISO 3166` region code for which the policy applies.")] - public string? regionCode { get; set; } - + [Description("The `ISO 3166` region code for which the policy applies.")] + public string? regionCode { get; set; } + /// ///Whether consent is required for the region. /// - [Description("Whether consent is required for the region.")] - public bool? consentRequired { get; set; } - + [Description("Whether consent is required for the region.")] + public bool? consentRequired { get; set; } + /// ///Whether data sale opt-out is required for the region. /// - [Description("Whether data sale opt-out is required for the region.")] - public bool? dataSaleOptOutRequired { get; set; } - } - + [Description("Whether data sale opt-out is required for the region.")] + public bool? dataSaleOptOutRequired { get; set; } + } + /// ///A country or region code. /// - [Description("A country or region code.")] - public class ConsentPolicyRegion : GraphQLObject - { + [Description("A country or region code.")] + public class ConsentPolicyRegion : GraphQLObject + { /// ///The `ISO 3166` country code for which the policy applies. /// - [Description("The `ISO 3166` country code for which the policy applies.")] - [EnumType(typeof(PrivacyCountryCode))] - public string? countryCode { get; set; } - + [Description("The `ISO 3166` country code for which the policy applies.")] + [EnumType(typeof(PrivacyCountryCode))] + public string? countryCode { get; set; } + /// ///The `ISO 3166` region code for which the policy applies. /// - [Description("The `ISO 3166` region code for which the policy applies.")] - public string? regionCode { get; set; } - } - + [Description("The `ISO 3166` region code for which the policy applies.")] + public string? regionCode { get; set; } + } + /// ///Return type for `consentPolicyUpdate` mutation. /// - [Description("Return type for `consentPolicyUpdate` mutation.")] - public class ConsentPolicyUpdatePayload : GraphQLObject - { + [Description("Return type for `consentPolicyUpdate` mutation.")] + public class ConsentPolicyUpdatePayload : GraphQLObject + { /// ///All updated and created consent policies. The consent policies that haven't been modified as part of the mutation aren't returned. /// - [Description("All updated and created consent policies. The consent policies that haven't been modified as part of the mutation aren't returned.")] - public IEnumerable? updatedPolicies { get; set; } - + [Description("All updated and created consent policies. The consent policies that haven't been modified as part of the mutation aren't returned.")] + public IEnumerable? updatedPolicies { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for the context data that determines the pricing of a variant. Refer to [Product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product?example=Get+the+price+range+for+a+product+for+buyers+from+Canada)for more information on how to use this input object. /// - [Description("The input fields for the context data that determines the pricing of a variant. Refer to [Product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product?example=Get+the+price+range+for+a+product+for+buyers+from+Canada)for more information on how to use this input object.")] - public class ContextualPricingContext : GraphQLObject - { + [Description("The input fields for the context data that determines the pricing of a variant. Refer to [Product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product?example=Get+the+price+range+for+a+product+for+buyers+from+Canada)for more information on how to use this input object.")] + public class ContextualPricingContext : GraphQLObject + { /// ///The country code used to fetch country-specific prices. /// - [Description("The country code used to fetch country-specific prices.")] - [EnumType(typeof(CountryCode))] - public string? country { get; set; } - + [Description("The country code used to fetch country-specific prices.")] + [EnumType(typeof(CountryCode))] + public string? country { get; set; } + /// ///The CompanyLocation ID used to fetch company location specific prices. /// - [Description("The CompanyLocation ID used to fetch company location specific prices.")] - public string? companyLocationId { get; set; } - + [Description("The CompanyLocation ID used to fetch company location specific prices.")] + public string? companyLocationId { get; set; } + /// ///The Location ID used to fetch location specific prices. /// - [Description("The Location ID used to fetch location specific prices.")] - public string? locationId { get; set; } - } - + [Description("The Location ID used to fetch location specific prices.")] + public string? locationId { get; set; } + } + /// ///The context data that determines the publication status of a product. /// - [Description("The context data that determines the publication status of a product.")] - public class ContextualPublicationContext : GraphQLObject - { + [Description("The context data that determines the publication status of a product.")] + public class ContextualPublicationContext : GraphQLObject + { /// ///The country code used to fetch country-specific publication. /// - [Description("The country code used to fetch country-specific publication.")] - [EnumType(typeof(CountryCode))] - public string? country { get; set; } - + [Description("The country code used to fetch country-specific publication.")] + [EnumType(typeof(CountryCode))] + public string? country { get; set; } + /// ///The company location ID used to fetch company-specific publication. /// - [Description("The company location ID used to fetch company-specific publication.")] - public string? companyLocationId { get; set; } - + [Description("The company location ID used to fetch company-specific publication.")] + public string? companyLocationId { get; set; } + /// ///The Location ID used to fetch the publication status of a product. /// - [Description("The Location ID used to fetch the publication status of a product.")] - public string? locationId { get; set; } - } - + [Description("The Location ID used to fetch the publication status of a product.")] + public string? locationId { get; set; } + } + /// ///A shop's banner settings. /// - [Description("A shop's banner settings.")] - public class CookieBanner : GraphQLObject, IHasPublishedTranslations - { + [Description("A shop's banner settings.")] + public class CookieBanner : GraphQLObject, IHasPublishedTranslations + { /// ///Indicates if the banner is auto managed. /// - [Description("Indicates if the banner is auto managed.")] - [NonNull] - public bool? autoManaged { get; set; } - + [Description("Indicates if the banner is auto managed.")] + [NonNull] + public bool? autoManaged { get; set; } + /// ///Indicates if the banner is enabled. /// - [Description("Indicates if the banner is enabled.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Indicates if the banner is enabled.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + } + /// ///Details for count of elements. /// - [Description("Details for count of elements.")] - public class Count : GraphQLObject - { + [Description("Details for count of elements.")] + public class Count : GraphQLObject + { /// ///The count of elements. /// - [Description("The count of elements.")] - [NonNull] - public int? count { get; set; } - + [Description("The count of elements.")] + [NonNull] + public int? count { get; set; } + /// ///The count's precision, or the exactness of the value. /// - [Description("The count's precision, or the exactness of the value.")] - [NonNull] - [EnumType(typeof(CountPrecision))] - public string? precision { get; set; } - } - + [Description("The count's precision, or the exactness of the value.")] + [NonNull] + [EnumType(typeof(CountPrecision))] + public string? precision { get; set; } + } + /// ///The precision of the value returned by a count field. /// - [Description("The precision of the value returned by a count field.")] - public enum CountPrecision - { + [Description("The precision of the value returned by a count field.")] + public enum CountPrecision + { /// ///The count is exactly the value. A write may not be reflected instantaneously. /// - [Description("The count is exactly the value. A write may not be reflected instantaneously.")] - EXACT, + [Description("The count is exactly the value. A write may not be reflected instantaneously.")] + EXACT, /// ///The count is at least the value. A limit was imposed and reached. /// - [Description("The count is at least the value. A limit was imposed and reached.")] - AT_LEAST, - } - - public static class CountPrecisionStringValues - { - public const string EXACT = @"EXACT"; - public const string AT_LEAST = @"AT_LEAST"; - } - + [Description("The count is at least the value. A limit was imposed and reached.")] + AT_LEAST, + } + + public static class CountPrecisionStringValues + { + public const string EXACT = @"EXACT"; + public const string AT_LEAST = @"AT_LEAST"; + } + /// ///The list of all the countries from the combined shipping zones for the shop. /// - [Description("The list of all the countries from the combined shipping zones for the shop.")] - public class CountriesInShippingZones : GraphQLObject - { + [Description("The list of all the countries from the combined shipping zones for the shop.")] + public class CountriesInShippingZones : GraphQLObject + { /// ///The list of all the countries from all the combined shipping zones. /// - [Description("The list of all the countries from all the combined shipping zones.")] - [NonNull] - public IEnumerable? countryCodes { get; set; } - + [Description("The list of all the countries from all the combined shipping zones.")] + [NonNull] + public IEnumerable? countryCodes { get; set; } + /// ///Whether 'Rest of World' has been defined in any of the shipping zones. /// - [Description("Whether 'Rest of World' has been defined in any of the shipping zones.")] - [NonNull] - public bool? includeRestOfWorld { get; set; } - } - + [Description("Whether 'Rest of World' has been defined in any of the shipping zones.")] + [NonNull] + public bool? includeRestOfWorld { get; set; } + } + /// ///The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines. ///If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision ///of another country. For example, the territories associated with Spain are represented by the country code `ES`, ///and the territories associated with the United States of America are represented by the country code `US`. /// - [Description("The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.\nIf a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision\nof another country. For example, the territories associated with Spain are represented by the country code `ES`,\nand the territories associated with the United States of America are represented by the country code `US`.")] - public enum CountryCode - { + [Description("The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.\nIf a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision\nof another country. For example, the territories associated with Spain are represented by the country code `ES`,\nand the territories associated with the United States of America are represented by the country code `US`.")] + public enum CountryCode + { /// ///Afghanistan. /// - [Description("Afghanistan.")] - AF, + [Description("Afghanistan.")] + AF, /// ///Åland Islands. /// - [Description("Åland Islands.")] - AX, + [Description("Åland Islands.")] + AX, /// ///Albania. /// - [Description("Albania.")] - AL, + [Description("Albania.")] + AL, /// ///Algeria. /// - [Description("Algeria.")] - DZ, + [Description("Algeria.")] + DZ, /// ///Andorra. /// - [Description("Andorra.")] - AD, + [Description("Andorra.")] + AD, /// ///Angola. /// - [Description("Angola.")] - AO, + [Description("Angola.")] + AO, /// ///Anguilla. /// - [Description("Anguilla.")] - AI, + [Description("Anguilla.")] + AI, /// ///Antigua & Barbuda. /// - [Description("Antigua & Barbuda.")] - AG, + [Description("Antigua & Barbuda.")] + AG, /// ///Argentina. /// - [Description("Argentina.")] - AR, + [Description("Argentina.")] + AR, /// ///Armenia. /// - [Description("Armenia.")] - AM, + [Description("Armenia.")] + AM, /// ///Aruba. /// - [Description("Aruba.")] - AW, + [Description("Aruba.")] + AW, /// ///Ascension Island. /// - [Description("Ascension Island.")] - AC, + [Description("Ascension Island.")] + AC, /// ///Australia. /// - [Description("Australia.")] - AU, + [Description("Australia.")] + AU, /// ///Austria. /// - [Description("Austria.")] - AT, + [Description("Austria.")] + AT, /// ///Azerbaijan. /// - [Description("Azerbaijan.")] - AZ, + [Description("Azerbaijan.")] + AZ, /// ///Bahamas. /// - [Description("Bahamas.")] - BS, + [Description("Bahamas.")] + BS, /// ///Bahrain. /// - [Description("Bahrain.")] - BH, + [Description("Bahrain.")] + BH, /// ///Bangladesh. /// - [Description("Bangladesh.")] - BD, + [Description("Bangladesh.")] + BD, /// ///Barbados. /// - [Description("Barbados.")] - BB, + [Description("Barbados.")] + BB, /// ///Belarus. /// - [Description("Belarus.")] - BY, + [Description("Belarus.")] + BY, /// ///Belgium. /// - [Description("Belgium.")] - BE, + [Description("Belgium.")] + BE, /// ///Belize. /// - [Description("Belize.")] - BZ, + [Description("Belize.")] + BZ, /// ///Benin. /// - [Description("Benin.")] - BJ, + [Description("Benin.")] + BJ, /// ///Bermuda. /// - [Description("Bermuda.")] - BM, + [Description("Bermuda.")] + BM, /// ///Bhutan. /// - [Description("Bhutan.")] - BT, + [Description("Bhutan.")] + BT, /// ///Bolivia. /// - [Description("Bolivia.")] - BO, + [Description("Bolivia.")] + BO, /// ///Bosnia & Herzegovina. /// - [Description("Bosnia & Herzegovina.")] - BA, + [Description("Bosnia & Herzegovina.")] + BA, /// ///Botswana. /// - [Description("Botswana.")] - BW, + [Description("Botswana.")] + BW, /// ///Bouvet Island. /// - [Description("Bouvet Island.")] - BV, + [Description("Bouvet Island.")] + BV, /// ///Brazil. /// - [Description("Brazil.")] - BR, + [Description("Brazil.")] + BR, /// ///British Indian Ocean Territory. /// - [Description("British Indian Ocean Territory.")] - IO, + [Description("British Indian Ocean Territory.")] + IO, /// ///Brunei. /// - [Description("Brunei.")] - BN, + [Description("Brunei.")] + BN, /// ///Bulgaria. /// - [Description("Bulgaria.")] - BG, + [Description("Bulgaria.")] + BG, /// ///Burkina Faso. /// - [Description("Burkina Faso.")] - BF, + [Description("Burkina Faso.")] + BF, /// ///Burundi. /// - [Description("Burundi.")] - BI, + [Description("Burundi.")] + BI, /// ///Cambodia. /// - [Description("Cambodia.")] - KH, + [Description("Cambodia.")] + KH, /// ///Canada. /// - [Description("Canada.")] - CA, + [Description("Canada.")] + CA, /// ///Cape Verde. /// - [Description("Cape Verde.")] - CV, + [Description("Cape Verde.")] + CV, /// ///Caribbean Netherlands. /// - [Description("Caribbean Netherlands.")] - BQ, + [Description("Caribbean Netherlands.")] + BQ, /// ///Cayman Islands. /// - [Description("Cayman Islands.")] - KY, + [Description("Cayman Islands.")] + KY, /// ///Central African Republic. /// - [Description("Central African Republic.")] - CF, + [Description("Central African Republic.")] + CF, /// ///Chad. /// - [Description("Chad.")] - TD, + [Description("Chad.")] + TD, /// ///Chile. /// - [Description("Chile.")] - CL, + [Description("Chile.")] + CL, /// ///China. /// - [Description("China.")] - CN, + [Description("China.")] + CN, /// ///Christmas Island. /// - [Description("Christmas Island.")] - CX, + [Description("Christmas Island.")] + CX, /// ///Cocos (Keeling) Islands. /// - [Description("Cocos (Keeling) Islands.")] - CC, + [Description("Cocos (Keeling) Islands.")] + CC, /// ///Colombia. /// - [Description("Colombia.")] - CO, + [Description("Colombia.")] + CO, /// ///Comoros. /// - [Description("Comoros.")] - KM, + [Description("Comoros.")] + KM, /// ///Congo - Brazzaville. /// - [Description("Congo - Brazzaville.")] - CG, + [Description("Congo - Brazzaville.")] + CG, /// ///Congo - Kinshasa. /// - [Description("Congo - Kinshasa.")] - CD, + [Description("Congo - Kinshasa.")] + CD, /// ///Cook Islands. /// - [Description("Cook Islands.")] - CK, + [Description("Cook Islands.")] + CK, /// ///Costa Rica. /// - [Description("Costa Rica.")] - CR, + [Description("Costa Rica.")] + CR, /// ///Croatia. /// - [Description("Croatia.")] - HR, + [Description("Croatia.")] + HR, /// ///Cuba. /// - [Description("Cuba.")] - CU, + [Description("Cuba.")] + CU, /// ///Curaçao. /// - [Description("Curaçao.")] - CW, + [Description("Curaçao.")] + CW, /// ///Cyprus. /// - [Description("Cyprus.")] - CY, + [Description("Cyprus.")] + CY, /// ///Czechia. /// - [Description("Czechia.")] - CZ, + [Description("Czechia.")] + CZ, /// ///Côte d’Ivoire. /// - [Description("Côte d’Ivoire.")] - CI, + [Description("Côte d’Ivoire.")] + CI, /// ///Denmark. /// - [Description("Denmark.")] - DK, + [Description("Denmark.")] + DK, /// ///Djibouti. /// - [Description("Djibouti.")] - DJ, + [Description("Djibouti.")] + DJ, /// ///Dominica. /// - [Description("Dominica.")] - DM, + [Description("Dominica.")] + DM, /// ///Dominican Republic. /// - [Description("Dominican Republic.")] - DO, + [Description("Dominican Republic.")] + DO, /// ///Ecuador. /// - [Description("Ecuador.")] - EC, + [Description("Ecuador.")] + EC, /// ///Egypt. /// - [Description("Egypt.")] - EG, + [Description("Egypt.")] + EG, /// ///El Salvador. /// - [Description("El Salvador.")] - SV, + [Description("El Salvador.")] + SV, /// ///Equatorial Guinea. /// - [Description("Equatorial Guinea.")] - GQ, + [Description("Equatorial Guinea.")] + GQ, /// ///Eritrea. /// - [Description("Eritrea.")] - ER, + [Description("Eritrea.")] + ER, /// ///Estonia. /// - [Description("Estonia.")] - EE, + [Description("Estonia.")] + EE, /// ///Eswatini. /// - [Description("Eswatini.")] - SZ, + [Description("Eswatini.")] + SZ, /// ///Ethiopia. /// - [Description("Ethiopia.")] - ET, + [Description("Ethiopia.")] + ET, /// ///Falkland Islands. /// - [Description("Falkland Islands.")] - FK, + [Description("Falkland Islands.")] + FK, /// ///Faroe Islands. /// - [Description("Faroe Islands.")] - FO, + [Description("Faroe Islands.")] + FO, /// ///Fiji. /// - [Description("Fiji.")] - FJ, + [Description("Fiji.")] + FJ, /// ///Finland. /// - [Description("Finland.")] - FI, + [Description("Finland.")] + FI, /// ///France. /// - [Description("France.")] - FR, + [Description("France.")] + FR, /// ///French Guiana. /// - [Description("French Guiana.")] - GF, + [Description("French Guiana.")] + GF, /// ///French Polynesia. /// - [Description("French Polynesia.")] - PF, + [Description("French Polynesia.")] + PF, /// ///French Southern Territories. /// - [Description("French Southern Territories.")] - TF, + [Description("French Southern Territories.")] + TF, /// ///Gabon. /// - [Description("Gabon.")] - GA, + [Description("Gabon.")] + GA, /// ///Gambia. /// - [Description("Gambia.")] - GM, + [Description("Gambia.")] + GM, /// ///Georgia. /// - [Description("Georgia.")] - GE, + [Description("Georgia.")] + GE, /// ///Germany. /// - [Description("Germany.")] - DE, + [Description("Germany.")] + DE, /// ///Ghana. /// - [Description("Ghana.")] - GH, + [Description("Ghana.")] + GH, /// ///Gibraltar. /// - [Description("Gibraltar.")] - GI, + [Description("Gibraltar.")] + GI, /// ///Greece. /// - [Description("Greece.")] - GR, + [Description("Greece.")] + GR, /// ///Greenland. /// - [Description("Greenland.")] - GL, + [Description("Greenland.")] + GL, /// ///Grenada. /// - [Description("Grenada.")] - GD, + [Description("Grenada.")] + GD, /// ///Guadeloupe. /// - [Description("Guadeloupe.")] - GP, + [Description("Guadeloupe.")] + GP, /// ///Guatemala. /// - [Description("Guatemala.")] - GT, + [Description("Guatemala.")] + GT, /// ///Guernsey. /// - [Description("Guernsey.")] - GG, + [Description("Guernsey.")] + GG, /// ///Guinea. /// - [Description("Guinea.")] - GN, + [Description("Guinea.")] + GN, /// ///Guinea-Bissau. /// - [Description("Guinea-Bissau.")] - GW, + [Description("Guinea-Bissau.")] + GW, /// ///Guyana. /// - [Description("Guyana.")] - GY, + [Description("Guyana.")] + GY, /// ///Haiti. /// - [Description("Haiti.")] - HT, + [Description("Haiti.")] + HT, /// ///Heard & McDonald Islands. /// - [Description("Heard & McDonald Islands.")] - HM, + [Description("Heard & McDonald Islands.")] + HM, /// ///Vatican City. /// - [Description("Vatican City.")] - VA, + [Description("Vatican City.")] + VA, /// ///Honduras. /// - [Description("Honduras.")] - HN, + [Description("Honduras.")] + HN, /// ///Hong Kong SAR. /// - [Description("Hong Kong SAR.")] - HK, + [Description("Hong Kong SAR.")] + HK, /// ///Hungary. /// - [Description("Hungary.")] - HU, + [Description("Hungary.")] + HU, /// ///Iceland. /// - [Description("Iceland.")] - IS, + [Description("Iceland.")] + IS, /// ///India. /// - [Description("India.")] - IN, + [Description("India.")] + IN, /// ///Indonesia. /// - [Description("Indonesia.")] - ID, + [Description("Indonesia.")] + ID, /// ///Iran. /// - [Description("Iran.")] - IR, + [Description("Iran.")] + IR, /// ///Iraq. /// - [Description("Iraq.")] - IQ, + [Description("Iraq.")] + IQ, /// ///Ireland. /// - [Description("Ireland.")] - IE, + [Description("Ireland.")] + IE, /// ///Isle of Man. /// - [Description("Isle of Man.")] - IM, + [Description("Isle of Man.")] + IM, /// ///Israel. /// - [Description("Israel.")] - IL, + [Description("Israel.")] + IL, /// ///Italy. /// - [Description("Italy.")] - IT, + [Description("Italy.")] + IT, /// ///Jamaica. /// - [Description("Jamaica.")] - JM, + [Description("Jamaica.")] + JM, /// ///Japan. /// - [Description("Japan.")] - JP, + [Description("Japan.")] + JP, /// ///Jersey. /// - [Description("Jersey.")] - JE, + [Description("Jersey.")] + JE, /// ///Jordan. /// - [Description("Jordan.")] - JO, + [Description("Jordan.")] + JO, /// ///Kazakhstan. /// - [Description("Kazakhstan.")] - KZ, + [Description("Kazakhstan.")] + KZ, /// ///Kenya. /// - [Description("Kenya.")] - KE, + [Description("Kenya.")] + KE, /// ///Kiribati. /// - [Description("Kiribati.")] - KI, + [Description("Kiribati.")] + KI, /// ///North Korea. /// - [Description("North Korea.")] - KP, + [Description("North Korea.")] + KP, /// ///Kosovo. /// - [Description("Kosovo.")] - XK, + [Description("Kosovo.")] + XK, /// ///Kuwait. /// - [Description("Kuwait.")] - KW, + [Description("Kuwait.")] + KW, /// ///Kyrgyzstan. /// - [Description("Kyrgyzstan.")] - KG, + [Description("Kyrgyzstan.")] + KG, /// ///Laos. /// - [Description("Laos.")] - LA, + [Description("Laos.")] + LA, /// ///Latvia. /// - [Description("Latvia.")] - LV, + [Description("Latvia.")] + LV, /// ///Lebanon. /// - [Description("Lebanon.")] - LB, + [Description("Lebanon.")] + LB, /// ///Lesotho. /// - [Description("Lesotho.")] - LS, + [Description("Lesotho.")] + LS, /// ///Liberia. /// - [Description("Liberia.")] - LR, + [Description("Liberia.")] + LR, /// ///Libya. /// - [Description("Libya.")] - LY, + [Description("Libya.")] + LY, /// ///Liechtenstein. /// - [Description("Liechtenstein.")] - LI, + [Description("Liechtenstein.")] + LI, /// ///Lithuania. /// - [Description("Lithuania.")] - LT, + [Description("Lithuania.")] + LT, /// ///Luxembourg. /// - [Description("Luxembourg.")] - LU, + [Description("Luxembourg.")] + LU, /// ///Macao SAR. /// - [Description("Macao SAR.")] - MO, + [Description("Macao SAR.")] + MO, /// ///Madagascar. /// - [Description("Madagascar.")] - MG, + [Description("Madagascar.")] + MG, /// ///Malawi. /// - [Description("Malawi.")] - MW, + [Description("Malawi.")] + MW, /// ///Malaysia. /// - [Description("Malaysia.")] - MY, + [Description("Malaysia.")] + MY, /// ///Maldives. /// - [Description("Maldives.")] - MV, + [Description("Maldives.")] + MV, /// ///Mali. /// - [Description("Mali.")] - ML, + [Description("Mali.")] + ML, /// ///Malta. /// - [Description("Malta.")] - MT, + [Description("Malta.")] + MT, /// ///Martinique. /// - [Description("Martinique.")] - MQ, + [Description("Martinique.")] + MQ, /// ///Mauritania. /// - [Description("Mauritania.")] - MR, + [Description("Mauritania.")] + MR, /// ///Mauritius. /// - [Description("Mauritius.")] - MU, + [Description("Mauritius.")] + MU, /// ///Mayotte. /// - [Description("Mayotte.")] - YT, + [Description("Mayotte.")] + YT, /// ///Mexico. /// - [Description("Mexico.")] - MX, + [Description("Mexico.")] + MX, /// ///Moldova. /// - [Description("Moldova.")] - MD, + [Description("Moldova.")] + MD, /// ///Monaco. /// - [Description("Monaco.")] - MC, + [Description("Monaco.")] + MC, /// ///Mongolia. /// - [Description("Mongolia.")] - MN, + [Description("Mongolia.")] + MN, /// ///Montenegro. /// - [Description("Montenegro.")] - ME, + [Description("Montenegro.")] + ME, /// ///Montserrat. /// - [Description("Montserrat.")] - MS, + [Description("Montserrat.")] + MS, /// ///Morocco. /// - [Description("Morocco.")] - MA, + [Description("Morocco.")] + MA, /// ///Mozambique. /// - [Description("Mozambique.")] - MZ, + [Description("Mozambique.")] + MZ, /// ///Myanmar (Burma). /// - [Description("Myanmar (Burma).")] - MM, + [Description("Myanmar (Burma).")] + MM, /// ///Namibia. /// - [Description("Namibia.")] - NA, + [Description("Namibia.")] + NA, /// ///Nauru. /// - [Description("Nauru.")] - NR, + [Description("Nauru.")] + NR, /// ///Nepal. /// - [Description("Nepal.")] - NP, + [Description("Nepal.")] + NP, /// ///Netherlands. /// - [Description("Netherlands.")] - NL, + [Description("Netherlands.")] + NL, /// ///Netherlands Antilles. /// - [Description("Netherlands Antilles.")] - AN, + [Description("Netherlands Antilles.")] + AN, /// ///New Caledonia. /// - [Description("New Caledonia.")] - NC, + [Description("New Caledonia.")] + NC, /// ///New Zealand. /// - [Description("New Zealand.")] - NZ, + [Description("New Zealand.")] + NZ, /// ///Nicaragua. /// - [Description("Nicaragua.")] - NI, + [Description("Nicaragua.")] + NI, /// ///Niger. /// - [Description("Niger.")] - NE, + [Description("Niger.")] + NE, /// ///Nigeria. /// - [Description("Nigeria.")] - NG, + [Description("Nigeria.")] + NG, /// ///Niue. /// - [Description("Niue.")] - NU, + [Description("Niue.")] + NU, /// ///Norfolk Island. /// - [Description("Norfolk Island.")] - NF, + [Description("Norfolk Island.")] + NF, /// ///North Macedonia. /// - [Description("North Macedonia.")] - MK, + [Description("North Macedonia.")] + MK, /// ///Norway. /// - [Description("Norway.")] - NO, + [Description("Norway.")] + NO, /// ///Oman. /// - [Description("Oman.")] - OM, + [Description("Oman.")] + OM, /// ///Pakistan. /// - [Description("Pakistan.")] - PK, + [Description("Pakistan.")] + PK, /// ///Palestinian Territories. /// - [Description("Palestinian Territories.")] - PS, + [Description("Palestinian Territories.")] + PS, /// ///Panama. /// - [Description("Panama.")] - PA, + [Description("Panama.")] + PA, /// ///Papua New Guinea. /// - [Description("Papua New Guinea.")] - PG, + [Description("Papua New Guinea.")] + PG, /// ///Paraguay. /// - [Description("Paraguay.")] - PY, + [Description("Paraguay.")] + PY, /// ///Peru. /// - [Description("Peru.")] - PE, + [Description("Peru.")] + PE, /// ///Philippines. /// - [Description("Philippines.")] - PH, + [Description("Philippines.")] + PH, /// ///Pitcairn Islands. /// - [Description("Pitcairn Islands.")] - PN, + [Description("Pitcairn Islands.")] + PN, /// ///Poland. /// - [Description("Poland.")] - PL, + [Description("Poland.")] + PL, /// ///Portugal. /// - [Description("Portugal.")] - PT, + [Description("Portugal.")] + PT, /// ///Qatar. /// - [Description("Qatar.")] - QA, + [Description("Qatar.")] + QA, /// ///Cameroon. /// - [Description("Cameroon.")] - CM, + [Description("Cameroon.")] + CM, /// ///Réunion. /// - [Description("Réunion.")] - RE, + [Description("Réunion.")] + RE, /// ///Romania. /// - [Description("Romania.")] - RO, + [Description("Romania.")] + RO, /// ///Russia. /// - [Description("Russia.")] - RU, + [Description("Russia.")] + RU, /// ///Rwanda. /// - [Description("Rwanda.")] - RW, + [Description("Rwanda.")] + RW, /// ///St. Barthélemy. /// - [Description("St. Barthélemy.")] - BL, + [Description("St. Barthélemy.")] + BL, /// ///St. Helena. /// - [Description("St. Helena.")] - SH, + [Description("St. Helena.")] + SH, /// ///St. Kitts & Nevis. /// - [Description("St. Kitts & Nevis.")] - KN, + [Description("St. Kitts & Nevis.")] + KN, /// ///St. Lucia. /// - [Description("St. Lucia.")] - LC, + [Description("St. Lucia.")] + LC, /// ///St. Martin. /// - [Description("St. Martin.")] - MF, + [Description("St. Martin.")] + MF, /// ///St. Pierre & Miquelon. /// - [Description("St. Pierre & Miquelon.")] - PM, + [Description("St. Pierre & Miquelon.")] + PM, /// ///Samoa. /// - [Description("Samoa.")] - WS, + [Description("Samoa.")] + WS, /// ///San Marino. /// - [Description("San Marino.")] - SM, + [Description("San Marino.")] + SM, /// ///São Tomé & Príncipe. /// - [Description("São Tomé & Príncipe.")] - ST, + [Description("São Tomé & Príncipe.")] + ST, /// ///Saudi Arabia. /// - [Description("Saudi Arabia.")] - SA, + [Description("Saudi Arabia.")] + SA, /// ///Senegal. /// - [Description("Senegal.")] - SN, + [Description("Senegal.")] + SN, /// ///Serbia. /// - [Description("Serbia.")] - RS, + [Description("Serbia.")] + RS, /// ///Seychelles. /// - [Description("Seychelles.")] - SC, + [Description("Seychelles.")] + SC, /// ///Sierra Leone. /// - [Description("Sierra Leone.")] - SL, + [Description("Sierra Leone.")] + SL, /// ///Singapore. /// - [Description("Singapore.")] - SG, + [Description("Singapore.")] + SG, /// ///Sint Maarten. /// - [Description("Sint Maarten.")] - SX, + [Description("Sint Maarten.")] + SX, /// ///Slovakia. /// - [Description("Slovakia.")] - SK, + [Description("Slovakia.")] + SK, /// ///Slovenia. /// - [Description("Slovenia.")] - SI, + [Description("Slovenia.")] + SI, /// ///Solomon Islands. /// - [Description("Solomon Islands.")] - SB, + [Description("Solomon Islands.")] + SB, /// ///Somalia. /// - [Description("Somalia.")] - SO, + [Description("Somalia.")] + SO, /// ///South Africa. /// - [Description("South Africa.")] - ZA, + [Description("South Africa.")] + ZA, /// ///South Georgia & South Sandwich Islands. /// - [Description("South Georgia & South Sandwich Islands.")] - GS, + [Description("South Georgia & South Sandwich Islands.")] + GS, /// ///South Korea. /// - [Description("South Korea.")] - KR, + [Description("South Korea.")] + KR, /// ///South Sudan. /// - [Description("South Sudan.")] - SS, + [Description("South Sudan.")] + SS, /// ///Spain. /// - [Description("Spain.")] - ES, + [Description("Spain.")] + ES, /// ///Sri Lanka. /// - [Description("Sri Lanka.")] - LK, + [Description("Sri Lanka.")] + LK, /// ///St. Vincent & Grenadines. /// - [Description("St. Vincent & Grenadines.")] - VC, + [Description("St. Vincent & Grenadines.")] + VC, /// ///Sudan. /// - [Description("Sudan.")] - SD, + [Description("Sudan.")] + SD, /// ///Suriname. /// - [Description("Suriname.")] - SR, + [Description("Suriname.")] + SR, /// ///Svalbard & Jan Mayen. /// - [Description("Svalbard & Jan Mayen.")] - SJ, + [Description("Svalbard & Jan Mayen.")] + SJ, /// ///Sweden. /// - [Description("Sweden.")] - SE, + [Description("Sweden.")] + SE, /// ///Switzerland. /// - [Description("Switzerland.")] - CH, + [Description("Switzerland.")] + CH, /// ///Syria. /// - [Description("Syria.")] - SY, + [Description("Syria.")] + SY, /// ///Taiwan. /// - [Description("Taiwan.")] - TW, + [Description("Taiwan.")] + TW, /// ///Tajikistan. /// - [Description("Tajikistan.")] - TJ, + [Description("Tajikistan.")] + TJ, /// ///Tanzania. /// - [Description("Tanzania.")] - TZ, + [Description("Tanzania.")] + TZ, /// ///Thailand. /// - [Description("Thailand.")] - TH, + [Description("Thailand.")] + TH, /// ///Timor-Leste. /// - [Description("Timor-Leste.")] - TL, + [Description("Timor-Leste.")] + TL, /// ///Togo. /// - [Description("Togo.")] - TG, + [Description("Togo.")] + TG, /// ///Tokelau. /// - [Description("Tokelau.")] - TK, + [Description("Tokelau.")] + TK, /// ///Tonga. /// - [Description("Tonga.")] - TO, + [Description("Tonga.")] + TO, /// ///Trinidad & Tobago. /// - [Description("Trinidad & Tobago.")] - TT, + [Description("Trinidad & Tobago.")] + TT, /// ///Tristan da Cunha. /// - [Description("Tristan da Cunha.")] - TA, + [Description("Tristan da Cunha.")] + TA, /// ///Tunisia. /// - [Description("Tunisia.")] - TN, + [Description("Tunisia.")] + TN, /// ///Türkiye. /// - [Description("Türkiye.")] - TR, + [Description("Türkiye.")] + TR, /// ///Turkmenistan. /// - [Description("Turkmenistan.")] - TM, + [Description("Turkmenistan.")] + TM, /// ///Turks & Caicos Islands. /// - [Description("Turks & Caicos Islands.")] - TC, + [Description("Turks & Caicos Islands.")] + TC, /// ///Tuvalu. /// - [Description("Tuvalu.")] - TV, + [Description("Tuvalu.")] + TV, /// ///Uganda. /// - [Description("Uganda.")] - UG, + [Description("Uganda.")] + UG, /// ///Ukraine. /// - [Description("Ukraine.")] - UA, + [Description("Ukraine.")] + UA, /// ///United Arab Emirates. /// - [Description("United Arab Emirates.")] - AE, + [Description("United Arab Emirates.")] + AE, /// ///United Kingdom. /// - [Description("United Kingdom.")] - GB, + [Description("United Kingdom.")] + GB, /// ///United States. /// - [Description("United States.")] - US, + [Description("United States.")] + US, /// ///U.S. Outlying Islands. /// - [Description("U.S. Outlying Islands.")] - UM, + [Description("U.S. Outlying Islands.")] + UM, /// ///Uruguay. /// - [Description("Uruguay.")] - UY, + [Description("Uruguay.")] + UY, /// ///Uzbekistan. /// - [Description("Uzbekistan.")] - UZ, + [Description("Uzbekistan.")] + UZ, /// ///Vanuatu. /// - [Description("Vanuatu.")] - VU, + [Description("Vanuatu.")] + VU, /// ///Venezuela. /// - [Description("Venezuela.")] - VE, + [Description("Venezuela.")] + VE, /// ///Vietnam. /// - [Description("Vietnam.")] - VN, + [Description("Vietnam.")] + VN, /// ///British Virgin Islands. /// - [Description("British Virgin Islands.")] - VG, + [Description("British Virgin Islands.")] + VG, /// ///Wallis & Futuna. /// - [Description("Wallis & Futuna.")] - WF, + [Description("Wallis & Futuna.")] + WF, /// ///Western Sahara. /// - [Description("Western Sahara.")] - EH, + [Description("Western Sahara.")] + EH, /// ///Yemen. /// - [Description("Yemen.")] - YE, + [Description("Yemen.")] + YE, /// ///Zambia. /// - [Description("Zambia.")] - ZM, + [Description("Zambia.")] + ZM, /// ///Zimbabwe. /// - [Description("Zimbabwe.")] - ZW, + [Description("Zimbabwe.")] + ZW, /// ///Unknown Region. /// - [Description("Unknown Region.")] - ZZ, - } - - public static class CountryCodeStringValues - { - public const string AF = @"AF"; - public const string AX = @"AX"; - public const string AL = @"AL"; - public const string DZ = @"DZ"; - public const string AD = @"AD"; - public const string AO = @"AO"; - public const string AI = @"AI"; - public const string AG = @"AG"; - public const string AR = @"AR"; - public const string AM = @"AM"; - public const string AW = @"AW"; - public const string AC = @"AC"; - public const string AU = @"AU"; - public const string AT = @"AT"; - public const string AZ = @"AZ"; - public const string BS = @"BS"; - public const string BH = @"BH"; - public const string BD = @"BD"; - public const string BB = @"BB"; - public const string BY = @"BY"; - public const string BE = @"BE"; - public const string BZ = @"BZ"; - public const string BJ = @"BJ"; - public const string BM = @"BM"; - public const string BT = @"BT"; - public const string BO = @"BO"; - public const string BA = @"BA"; - public const string BW = @"BW"; - public const string BV = @"BV"; - public const string BR = @"BR"; - public const string IO = @"IO"; - public const string BN = @"BN"; - public const string BG = @"BG"; - public const string BF = @"BF"; - public const string BI = @"BI"; - public const string KH = @"KH"; - public const string CA = @"CA"; - public const string CV = @"CV"; - public const string BQ = @"BQ"; - public const string KY = @"KY"; - public const string CF = @"CF"; - public const string TD = @"TD"; - public const string CL = @"CL"; - public const string CN = @"CN"; - public const string CX = @"CX"; - public const string CC = @"CC"; - public const string CO = @"CO"; - public const string KM = @"KM"; - public const string CG = @"CG"; - public const string CD = @"CD"; - public const string CK = @"CK"; - public const string CR = @"CR"; - public const string HR = @"HR"; - public const string CU = @"CU"; - public const string CW = @"CW"; - public const string CY = @"CY"; - public const string CZ = @"CZ"; - public const string CI = @"CI"; - public const string DK = @"DK"; - public const string DJ = @"DJ"; - public const string DM = @"DM"; - public const string DO = @"DO"; - public const string EC = @"EC"; - public const string EG = @"EG"; - public const string SV = @"SV"; - public const string GQ = @"GQ"; - public const string ER = @"ER"; - public const string EE = @"EE"; - public const string SZ = @"SZ"; - public const string ET = @"ET"; - public const string FK = @"FK"; - public const string FO = @"FO"; - public const string FJ = @"FJ"; - public const string FI = @"FI"; - public const string FR = @"FR"; - public const string GF = @"GF"; - public const string PF = @"PF"; - public const string TF = @"TF"; - public const string GA = @"GA"; - public const string GM = @"GM"; - public const string GE = @"GE"; - public const string DE = @"DE"; - public const string GH = @"GH"; - public const string GI = @"GI"; - public const string GR = @"GR"; - public const string GL = @"GL"; - public const string GD = @"GD"; - public const string GP = @"GP"; - public const string GT = @"GT"; - public const string GG = @"GG"; - public const string GN = @"GN"; - public const string GW = @"GW"; - public const string GY = @"GY"; - public const string HT = @"HT"; - public const string HM = @"HM"; - public const string VA = @"VA"; - public const string HN = @"HN"; - public const string HK = @"HK"; - public const string HU = @"HU"; - public const string IS = @"IS"; - public const string IN = @"IN"; - public const string ID = @"ID"; - public const string IR = @"IR"; - public const string IQ = @"IQ"; - public const string IE = @"IE"; - public const string IM = @"IM"; - public const string IL = @"IL"; - public const string IT = @"IT"; - public const string JM = @"JM"; - public const string JP = @"JP"; - public const string JE = @"JE"; - public const string JO = @"JO"; - public const string KZ = @"KZ"; - public const string KE = @"KE"; - public const string KI = @"KI"; - public const string KP = @"KP"; - public const string XK = @"XK"; - public const string KW = @"KW"; - public const string KG = @"KG"; - public const string LA = @"LA"; - public const string LV = @"LV"; - public const string LB = @"LB"; - public const string LS = @"LS"; - public const string LR = @"LR"; - public const string LY = @"LY"; - public const string LI = @"LI"; - public const string LT = @"LT"; - public const string LU = @"LU"; - public const string MO = @"MO"; - public const string MG = @"MG"; - public const string MW = @"MW"; - public const string MY = @"MY"; - public const string MV = @"MV"; - public const string ML = @"ML"; - public const string MT = @"MT"; - public const string MQ = @"MQ"; - public const string MR = @"MR"; - public const string MU = @"MU"; - public const string YT = @"YT"; - public const string MX = @"MX"; - public const string MD = @"MD"; - public const string MC = @"MC"; - public const string MN = @"MN"; - public const string ME = @"ME"; - public const string MS = @"MS"; - public const string MA = @"MA"; - public const string MZ = @"MZ"; - public const string MM = @"MM"; - public const string NA = @"NA"; - public const string NR = @"NR"; - public const string NP = @"NP"; - public const string NL = @"NL"; - public const string AN = @"AN"; - public const string NC = @"NC"; - public const string NZ = @"NZ"; - public const string NI = @"NI"; - public const string NE = @"NE"; - public const string NG = @"NG"; - public const string NU = @"NU"; - public const string NF = @"NF"; - public const string MK = @"MK"; - public const string NO = @"NO"; - public const string OM = @"OM"; - public const string PK = @"PK"; - public const string PS = @"PS"; - public const string PA = @"PA"; - public const string PG = @"PG"; - public const string PY = @"PY"; - public const string PE = @"PE"; - public const string PH = @"PH"; - public const string PN = @"PN"; - public const string PL = @"PL"; - public const string PT = @"PT"; - public const string QA = @"QA"; - public const string CM = @"CM"; - public const string RE = @"RE"; - public const string RO = @"RO"; - public const string RU = @"RU"; - public const string RW = @"RW"; - public const string BL = @"BL"; - public const string SH = @"SH"; - public const string KN = @"KN"; - public const string LC = @"LC"; - public const string MF = @"MF"; - public const string PM = @"PM"; - public const string WS = @"WS"; - public const string SM = @"SM"; - public const string ST = @"ST"; - public const string SA = @"SA"; - public const string SN = @"SN"; - public const string RS = @"RS"; - public const string SC = @"SC"; - public const string SL = @"SL"; - public const string SG = @"SG"; - public const string SX = @"SX"; - public const string SK = @"SK"; - public const string SI = @"SI"; - public const string SB = @"SB"; - public const string SO = @"SO"; - public const string ZA = @"ZA"; - public const string GS = @"GS"; - public const string KR = @"KR"; - public const string SS = @"SS"; - public const string ES = @"ES"; - public const string LK = @"LK"; - public const string VC = @"VC"; - public const string SD = @"SD"; - public const string SR = @"SR"; - public const string SJ = @"SJ"; - public const string SE = @"SE"; - public const string CH = @"CH"; - public const string SY = @"SY"; - public const string TW = @"TW"; - public const string TJ = @"TJ"; - public const string TZ = @"TZ"; - public const string TH = @"TH"; - public const string TL = @"TL"; - public const string TG = @"TG"; - public const string TK = @"TK"; - public const string TO = @"TO"; - public const string TT = @"TT"; - public const string TA = @"TA"; - public const string TN = @"TN"; - public const string TR = @"TR"; - public const string TM = @"TM"; - public const string TC = @"TC"; - public const string TV = @"TV"; - public const string UG = @"UG"; - public const string UA = @"UA"; - public const string AE = @"AE"; - public const string GB = @"GB"; - public const string US = @"US"; - public const string UM = @"UM"; - public const string UY = @"UY"; - public const string UZ = @"UZ"; - public const string VU = @"VU"; - public const string VE = @"VE"; - public const string VN = @"VN"; - public const string VG = @"VG"; - public const string WF = @"WF"; - public const string EH = @"EH"; - public const string YE = @"YE"; - public const string ZM = @"ZM"; - public const string ZW = @"ZW"; - public const string ZZ = @"ZZ"; - } - + [Description("Unknown Region.")] + ZZ, + } + + public static class CountryCodeStringValues + { + public const string AF = @"AF"; + public const string AX = @"AX"; + public const string AL = @"AL"; + public const string DZ = @"DZ"; + public const string AD = @"AD"; + public const string AO = @"AO"; + public const string AI = @"AI"; + public const string AG = @"AG"; + public const string AR = @"AR"; + public const string AM = @"AM"; + public const string AW = @"AW"; + public const string AC = @"AC"; + public const string AU = @"AU"; + public const string AT = @"AT"; + public const string AZ = @"AZ"; + public const string BS = @"BS"; + public const string BH = @"BH"; + public const string BD = @"BD"; + public const string BB = @"BB"; + public const string BY = @"BY"; + public const string BE = @"BE"; + public const string BZ = @"BZ"; + public const string BJ = @"BJ"; + public const string BM = @"BM"; + public const string BT = @"BT"; + public const string BO = @"BO"; + public const string BA = @"BA"; + public const string BW = @"BW"; + public const string BV = @"BV"; + public const string BR = @"BR"; + public const string IO = @"IO"; + public const string BN = @"BN"; + public const string BG = @"BG"; + public const string BF = @"BF"; + public const string BI = @"BI"; + public const string KH = @"KH"; + public const string CA = @"CA"; + public const string CV = @"CV"; + public const string BQ = @"BQ"; + public const string KY = @"KY"; + public const string CF = @"CF"; + public const string TD = @"TD"; + public const string CL = @"CL"; + public const string CN = @"CN"; + public const string CX = @"CX"; + public const string CC = @"CC"; + public const string CO = @"CO"; + public const string KM = @"KM"; + public const string CG = @"CG"; + public const string CD = @"CD"; + public const string CK = @"CK"; + public const string CR = @"CR"; + public const string HR = @"HR"; + public const string CU = @"CU"; + public const string CW = @"CW"; + public const string CY = @"CY"; + public const string CZ = @"CZ"; + public const string CI = @"CI"; + public const string DK = @"DK"; + public const string DJ = @"DJ"; + public const string DM = @"DM"; + public const string DO = @"DO"; + public const string EC = @"EC"; + public const string EG = @"EG"; + public const string SV = @"SV"; + public const string GQ = @"GQ"; + public const string ER = @"ER"; + public const string EE = @"EE"; + public const string SZ = @"SZ"; + public const string ET = @"ET"; + public const string FK = @"FK"; + public const string FO = @"FO"; + public const string FJ = @"FJ"; + public const string FI = @"FI"; + public const string FR = @"FR"; + public const string GF = @"GF"; + public const string PF = @"PF"; + public const string TF = @"TF"; + public const string GA = @"GA"; + public const string GM = @"GM"; + public const string GE = @"GE"; + public const string DE = @"DE"; + public const string GH = @"GH"; + public const string GI = @"GI"; + public const string GR = @"GR"; + public const string GL = @"GL"; + public const string GD = @"GD"; + public const string GP = @"GP"; + public const string GT = @"GT"; + public const string GG = @"GG"; + public const string GN = @"GN"; + public const string GW = @"GW"; + public const string GY = @"GY"; + public const string HT = @"HT"; + public const string HM = @"HM"; + public const string VA = @"VA"; + public const string HN = @"HN"; + public const string HK = @"HK"; + public const string HU = @"HU"; + public const string IS = @"IS"; + public const string IN = @"IN"; + public const string ID = @"ID"; + public const string IR = @"IR"; + public const string IQ = @"IQ"; + public const string IE = @"IE"; + public const string IM = @"IM"; + public const string IL = @"IL"; + public const string IT = @"IT"; + public const string JM = @"JM"; + public const string JP = @"JP"; + public const string JE = @"JE"; + public const string JO = @"JO"; + public const string KZ = @"KZ"; + public const string KE = @"KE"; + public const string KI = @"KI"; + public const string KP = @"KP"; + public const string XK = @"XK"; + public const string KW = @"KW"; + public const string KG = @"KG"; + public const string LA = @"LA"; + public const string LV = @"LV"; + public const string LB = @"LB"; + public const string LS = @"LS"; + public const string LR = @"LR"; + public const string LY = @"LY"; + public const string LI = @"LI"; + public const string LT = @"LT"; + public const string LU = @"LU"; + public const string MO = @"MO"; + public const string MG = @"MG"; + public const string MW = @"MW"; + public const string MY = @"MY"; + public const string MV = @"MV"; + public const string ML = @"ML"; + public const string MT = @"MT"; + public const string MQ = @"MQ"; + public const string MR = @"MR"; + public const string MU = @"MU"; + public const string YT = @"YT"; + public const string MX = @"MX"; + public const string MD = @"MD"; + public const string MC = @"MC"; + public const string MN = @"MN"; + public const string ME = @"ME"; + public const string MS = @"MS"; + public const string MA = @"MA"; + public const string MZ = @"MZ"; + public const string MM = @"MM"; + public const string NA = @"NA"; + public const string NR = @"NR"; + public const string NP = @"NP"; + public const string NL = @"NL"; + public const string AN = @"AN"; + public const string NC = @"NC"; + public const string NZ = @"NZ"; + public const string NI = @"NI"; + public const string NE = @"NE"; + public const string NG = @"NG"; + public const string NU = @"NU"; + public const string NF = @"NF"; + public const string MK = @"MK"; + public const string NO = @"NO"; + public const string OM = @"OM"; + public const string PK = @"PK"; + public const string PS = @"PS"; + public const string PA = @"PA"; + public const string PG = @"PG"; + public const string PY = @"PY"; + public const string PE = @"PE"; + public const string PH = @"PH"; + public const string PN = @"PN"; + public const string PL = @"PL"; + public const string PT = @"PT"; + public const string QA = @"QA"; + public const string CM = @"CM"; + public const string RE = @"RE"; + public const string RO = @"RO"; + public const string RU = @"RU"; + public const string RW = @"RW"; + public const string BL = @"BL"; + public const string SH = @"SH"; + public const string KN = @"KN"; + public const string LC = @"LC"; + public const string MF = @"MF"; + public const string PM = @"PM"; + public const string WS = @"WS"; + public const string SM = @"SM"; + public const string ST = @"ST"; + public const string SA = @"SA"; + public const string SN = @"SN"; + public const string RS = @"RS"; + public const string SC = @"SC"; + public const string SL = @"SL"; + public const string SG = @"SG"; + public const string SX = @"SX"; + public const string SK = @"SK"; + public const string SI = @"SI"; + public const string SB = @"SB"; + public const string SO = @"SO"; + public const string ZA = @"ZA"; + public const string GS = @"GS"; + public const string KR = @"KR"; + public const string SS = @"SS"; + public const string ES = @"ES"; + public const string LK = @"LK"; + public const string VC = @"VC"; + public const string SD = @"SD"; + public const string SR = @"SR"; + public const string SJ = @"SJ"; + public const string SE = @"SE"; + public const string CH = @"CH"; + public const string SY = @"SY"; + public const string TW = @"TW"; + public const string TJ = @"TJ"; + public const string TZ = @"TZ"; + public const string TH = @"TH"; + public const string TL = @"TL"; + public const string TG = @"TG"; + public const string TK = @"TK"; + public const string TO = @"TO"; + public const string TT = @"TT"; + public const string TA = @"TA"; + public const string TN = @"TN"; + public const string TR = @"TR"; + public const string TM = @"TM"; + public const string TC = @"TC"; + public const string TV = @"TV"; + public const string UG = @"UG"; + public const string UA = @"UA"; + public const string AE = @"AE"; + public const string GB = @"GB"; + public const string US = @"US"; + public const string UM = @"UM"; + public const string UY = @"UY"; + public const string UZ = @"UZ"; + public const string VU = @"VU"; + public const string VE = @"VE"; + public const string VN = @"VN"; + public const string VG = @"VG"; + public const string WF = @"WF"; + public const string EH = @"EH"; + public const string YE = @"YE"; + public const string ZM = @"ZM"; + public const string ZW = @"ZW"; + public const string ZZ = @"ZZ"; + } + /// ///The country-specific harmonized system code and ISO country code for an inventory item. /// - [Description("The country-specific harmonized system code and ISO country code for an inventory item.")] - public class CountryHarmonizedSystemCode : GraphQLObject - { + [Description("The country-specific harmonized system code and ISO country code for an inventory item.")] + public class CountryHarmonizedSystemCode : GraphQLObject + { /// ///The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. /// - [Description("The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The country-specific harmonized system code. These are usually longer than 6 digits. /// - [Description("The country-specific harmonized system code. These are usually longer than 6 digits.")] - [NonNull] - public string? harmonizedSystemCode { get; set; } - } - + [Description("The country-specific harmonized system code. These are usually longer than 6 digits.")] + [NonNull] + public string? harmonizedSystemCode { get; set; } + } + /// ///An auto-generated type for paginating through multiple CountryHarmonizedSystemCodes. /// - [Description("An auto-generated type for paginating through multiple CountryHarmonizedSystemCodes.")] - public class CountryHarmonizedSystemCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CountryHarmonizedSystemCodes.")] + public class CountryHarmonizedSystemCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CountryHarmonizedSystemCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CountryHarmonizedSystemCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CountryHarmonizedSystemCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CountryHarmonizedSystemCode and a cursor during pagination. /// - [Description("An auto-generated type which holds one CountryHarmonizedSystemCode and a cursor during pagination.")] - public class CountryHarmonizedSystemCodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CountryHarmonizedSystemCode and a cursor during pagination.")] + public class CountryHarmonizedSystemCodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CountryHarmonizedSystemCodeEdge. /// - [Description("The item at the end of CountryHarmonizedSystemCodeEdge.")] - [NonNull] - public CountryHarmonizedSystemCode? node { get; set; } - } - + [Description("The item at the end of CountryHarmonizedSystemCodeEdge.")] + [NonNull] + public CountryHarmonizedSystemCode? node { get; set; } + } + /// ///The input fields required to specify a harmonized system code. /// - [Description("The input fields required to specify a harmonized system code.")] - public class CountryHarmonizedSystemCodeInput : GraphQLObject - { + [Description("The input fields required to specify a harmonized system code.")] + public class CountryHarmonizedSystemCodeInput : GraphQLObject + { /// ///Country specific harmonized system code. /// - [Description("Country specific harmonized system code.")] - [NonNull] - public string? harmonizedSystemCode { get; set; } - + [Description("Country specific harmonized system code.")] + [NonNull] + public string? harmonizedSystemCode { get; set; } + /// ///The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. Represents global harmonized system code when set to null. /// - [Description("The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. Represents global harmonized system code when set to null.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - } - + [Description("The ISO 3166-1 alpha-2 country code for the country that issued the specified harmonized system code. Represents global harmonized system code when set to null.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + } + /// ///The input fields required to create a media object. /// - [Description("The input fields required to create a media object.")] - public class CreateMediaInput : GraphQLObject - { + [Description("The input fields required to create a media object.")] + public class CreateMediaInput : GraphQLObject + { /// ///The original source of the media object. This might be an external URL or a staged upload URL. /// - [Description("The original source of the media object. This might be an external URL or a staged upload URL.")] - public string? originalSource { get; set; } - + [Description("The original source of the media object. This might be an external URL or a staged upload URL.")] + public string? originalSource { get; set; } + /// ///The alt text associated with the media. /// - [Description("The alt text associated with the media.")] - public string? alt { get; set; } - + [Description("The alt text associated with the media.")] + public string? alt { get; set; } + /// ///The media content type. /// - [Description("The media content type.")] - [EnumType(typeof(MediaContentType))] - public string? mediaContentType { get; set; } - } - + [Description("The media content type.")] + [EnumType(typeof(MediaContentType))] + public string? mediaContentType { get; set; } + } + /// ///The part of the image that should remain after cropping. /// - [Description("The part of the image that should remain after cropping.")] - public enum CropRegion - { + [Description("The part of the image that should remain after cropping.")] + public enum CropRegion + { /// ///Keep the center of the image. /// - [Description("Keep the center of the image.")] - CENTER, + [Description("Keep the center of the image.")] + CENTER, /// ///Keep the top of the image. /// - [Description("Keep the top of the image.")] - TOP, + [Description("Keep the top of the image.")] + TOP, /// ///Keep the bottom of the image. /// - [Description("Keep the bottom of the image.")] - BOTTOM, + [Description("Keep the bottom of the image.")] + BOTTOM, /// ///Keep the left of the image. /// - [Description("Keep the left of the image.")] - LEFT, + [Description("Keep the left of the image.")] + LEFT, /// ///Keep the right of the image. /// - [Description("Keep the right of the image.")] - RIGHT, + [Description("Keep the right of the image.")] + RIGHT, /// ///Crop the exact region of the image specified by the crop_left, crop_top, crop_width and crop_height parameters. /// - [Description("Crop the exact region of the image specified by the crop_left, crop_top, crop_width and crop_height parameters.")] - REGION, - } - - public static class CropRegionStringValues - { - public const string CENTER = @"CENTER"; - public const string TOP = @"TOP"; - public const string BOTTOM = @"BOTTOM"; - public const string LEFT = @"LEFT"; - public const string RIGHT = @"RIGHT"; - public const string REGION = @"REGION"; - } - + [Description("Crop the exact region of the image specified by the crop_left, crop_top, crop_width and crop_height parameters.")] + REGION, + } + + public static class CropRegionStringValues + { + public const string CENTER = @"CENTER"; + public const string TOP = @"TOP"; + public const string BOTTOM = @"BOTTOM"; + public const string LEFT = @"LEFT"; + public const string RIGHT = @"RIGHT"; + public const string REGION = @"REGION"; + } + /// ///The input fields for defining an arbitrary cropping region. /// - [Description("The input fields for defining an arbitrary cropping region.")] - public class CropRegionInput : GraphQLObject - { + [Description("The input fields for defining an arbitrary cropping region.")] + public class CropRegionInput : GraphQLObject + { /// ///Left position of the region of the image to extract when using the region crop mode. /// - [Description("Left position of the region of the image to extract when using the region crop mode.")] - [NonNull] - public int? left { get; set; } - + [Description("Left position of the region of the image to extract when using the region crop mode.")] + [NonNull] + public int? left { get; set; } + /// ///Top position of the region of the image to extract when using the region crop mode. /// - [Description("Top position of the region of the image to extract when using the region crop mode.")] - [NonNull] - public int? top { get; set; } - + [Description("Top position of the region of the image to extract when using the region crop mode.")] + [NonNull] + public int? top { get; set; } + /// ///Width of the region of the image to extract when using the region crop mode. /// - [Description("Width of the region of the image to extract when using the region crop mode.")] - [NonNull] - public int? width { get; set; } - + [Description("Width of the region of the image to extract when using the region crop mode.")] + [NonNull] + public int? width { get; set; } + /// ///Height of the region of the image to extract when using the region crop mode. /// - [Description("Height of the region of the image to extract when using the region crop mode.")] - [NonNull] - public int? height { get; set; } - } - + [Description("Height of the region of the image to extract when using the region crop mode.")] + [NonNull] + public int? height { get; set; } + } + /// ///The currency codes that represent the world currencies throughout the Admin API. Currency codes include ///[standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes, non-standard codes, ///digital currency codes. /// - [Description("The currency codes that represent the world currencies throughout the Admin API. Currency codes include\n[standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes, non-standard codes,\ndigital currency codes.")] - public enum CurrencyCode - { + [Description("The currency codes that represent the world currencies throughout the Admin API. Currency codes include\n[standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes, non-standard codes,\ndigital currency codes.")] + public enum CurrencyCode + { /// ///United States Dollars (USD). /// - [Description("United States Dollars (USD).")] - USD, + [Description("United States Dollars (USD).")] + USD, /// ///Euro (EUR). /// - [Description("Euro (EUR).")] - EUR, + [Description("Euro (EUR).")] + EUR, /// ///United Kingdom Pounds (GBP). /// - [Description("United Kingdom Pounds (GBP).")] - GBP, + [Description("United Kingdom Pounds (GBP).")] + GBP, /// ///Canadian Dollars (CAD). /// - [Description("Canadian Dollars (CAD).")] - CAD, + [Description("Canadian Dollars (CAD).")] + CAD, /// ///Afghan Afghani (AFN). /// - [Description("Afghan Afghani (AFN).")] - AFN, + [Description("Afghan Afghani (AFN).")] + AFN, /// ///Albanian Lek (ALL). /// - [Description("Albanian Lek (ALL).")] - ALL, + [Description("Albanian Lek (ALL).")] + ALL, /// ///Algerian Dinar (DZD). /// - [Description("Algerian Dinar (DZD).")] - DZD, + [Description("Algerian Dinar (DZD).")] + DZD, /// ///Angolan Kwanza (AOA). /// - [Description("Angolan Kwanza (AOA).")] - AOA, + [Description("Angolan Kwanza (AOA).")] + AOA, /// ///Argentine Pesos (ARS). /// - [Description("Argentine Pesos (ARS).")] - ARS, + [Description("Argentine Pesos (ARS).")] + ARS, /// ///Armenian Dram (AMD). /// - [Description("Armenian Dram (AMD).")] - AMD, + [Description("Armenian Dram (AMD).")] + AMD, /// ///Aruban Florin (AWG). /// - [Description("Aruban Florin (AWG).")] - AWG, + [Description("Aruban Florin (AWG).")] + AWG, /// ///Australian Dollars (AUD). /// - [Description("Australian Dollars (AUD).")] - AUD, + [Description("Australian Dollars (AUD).")] + AUD, /// ///Barbadian Dollar (BBD). /// - [Description("Barbadian Dollar (BBD).")] - BBD, + [Description("Barbadian Dollar (BBD).")] + BBD, /// ///Azerbaijani Manat (AZN). /// - [Description("Azerbaijani Manat (AZN).")] - AZN, + [Description("Azerbaijani Manat (AZN).")] + AZN, /// ///Bangladesh Taka (BDT). /// - [Description("Bangladesh Taka (BDT).")] - BDT, + [Description("Bangladesh Taka (BDT).")] + BDT, /// ///Bahamian Dollar (BSD). /// - [Description("Bahamian Dollar (BSD).")] - BSD, + [Description("Bahamian Dollar (BSD).")] + BSD, /// ///Bahraini Dinar (BHD). /// - [Description("Bahraini Dinar (BHD).")] - BHD, + [Description("Bahraini Dinar (BHD).")] + BHD, /// ///Burundian Franc (BIF). /// - [Description("Burundian Franc (BIF).")] - BIF, + [Description("Burundian Franc (BIF).")] + BIF, /// ///Belarusian Ruble (BYN). /// - [Description("Belarusian Ruble (BYN).")] - BYN, + [Description("Belarusian Ruble (BYN).")] + BYN, /// ///Belize Dollar (BZD). /// - [Description("Belize Dollar (BZD).")] - BZD, + [Description("Belize Dollar (BZD).")] + BZD, /// ///Bermudian Dollar (BMD). /// - [Description("Bermudian Dollar (BMD).")] - BMD, + [Description("Bermudian Dollar (BMD).")] + BMD, /// ///Bhutanese Ngultrum (BTN). /// - [Description("Bhutanese Ngultrum (BTN).")] - BTN, + [Description("Bhutanese Ngultrum (BTN).")] + BTN, /// ///Bosnia and Herzegovina Convertible Mark (BAM). /// - [Description("Bosnia and Herzegovina Convertible Mark (BAM).")] - BAM, + [Description("Bosnia and Herzegovina Convertible Mark (BAM).")] + BAM, /// ///Brazilian Real (BRL). /// - [Description("Brazilian Real (BRL).")] - BRL, + [Description("Brazilian Real (BRL).")] + BRL, /// ///Bolivian Boliviano (BOB). /// - [Description("Bolivian Boliviano (BOB).")] - BOB, + [Description("Bolivian Boliviano (BOB).")] + BOB, /// ///Botswana Pula (BWP). /// - [Description("Botswana Pula (BWP).")] - BWP, + [Description("Botswana Pula (BWP).")] + BWP, /// ///Brunei Dollar (BND). /// - [Description("Brunei Dollar (BND).")] - BND, + [Description("Brunei Dollar (BND).")] + BND, /// ///Bulgarian Lev (BGN). /// - [Description("Bulgarian Lev (BGN).")] - BGN, + [Description("Bulgarian Lev (BGN).")] + BGN, /// ///Burmese Kyat (MMK). /// - [Description("Burmese Kyat (MMK).")] - MMK, + [Description("Burmese Kyat (MMK).")] + MMK, /// ///Cambodian Riel. /// - [Description("Cambodian Riel.")] - KHR, + [Description("Cambodian Riel.")] + KHR, /// ///Cape Verdean escudo (CVE). /// - [Description("Cape Verdean escudo (CVE).")] - CVE, + [Description("Cape Verdean escudo (CVE).")] + CVE, /// ///Cayman Dollars (KYD). /// - [Description("Cayman Dollars (KYD).")] - KYD, + [Description("Cayman Dollars (KYD).")] + KYD, /// ///Central African CFA Franc (XAF). /// - [Description("Central African CFA Franc (XAF).")] - XAF, + [Description("Central African CFA Franc (XAF).")] + XAF, /// ///Chilean Peso (CLP). /// - [Description("Chilean Peso (CLP).")] - CLP, + [Description("Chilean Peso (CLP).")] + CLP, /// ///Chinese Yuan Renminbi (CNY). /// - [Description("Chinese Yuan Renminbi (CNY).")] - CNY, + [Description("Chinese Yuan Renminbi (CNY).")] + CNY, /// ///Colombian Peso (COP). /// - [Description("Colombian Peso (COP).")] - COP, + [Description("Colombian Peso (COP).")] + COP, /// ///Comorian Franc (KMF). /// - [Description("Comorian Franc (KMF).")] - KMF, + [Description("Comorian Franc (KMF).")] + KMF, /// ///Congolese franc (CDF). /// - [Description("Congolese franc (CDF).")] - CDF, + [Description("Congolese franc (CDF).")] + CDF, /// ///Costa Rican Colones (CRC). /// - [Description("Costa Rican Colones (CRC).")] - CRC, + [Description("Costa Rican Colones (CRC).")] + CRC, /// ///Croatian Kuna (HRK). /// - [Description("Croatian Kuna (HRK).")] - HRK, + [Description("Croatian Kuna (HRK).")] + HRK, /// ///Czech Koruny (CZK). /// - [Description("Czech Koruny (CZK).")] - CZK, + [Description("Czech Koruny (CZK).")] + CZK, /// ///Danish Kroner (DKK). /// - [Description("Danish Kroner (DKK).")] - DKK, + [Description("Danish Kroner (DKK).")] + DKK, /// ///Djiboutian Franc (DJF). /// - [Description("Djiboutian Franc (DJF).")] - DJF, + [Description("Djiboutian Franc (DJF).")] + DJF, /// ///Dominican Peso (DOP). /// - [Description("Dominican Peso (DOP).")] - DOP, + [Description("Dominican Peso (DOP).")] + DOP, /// ///East Caribbean Dollar (XCD). /// - [Description("East Caribbean Dollar (XCD).")] - XCD, + [Description("East Caribbean Dollar (XCD).")] + XCD, /// ///Egyptian Pound (EGP). /// - [Description("Egyptian Pound (EGP).")] - EGP, + [Description("Egyptian Pound (EGP).")] + EGP, /// ///Eritrean Nakfa (ERN). /// - [Description("Eritrean Nakfa (ERN).")] - ERN, + [Description("Eritrean Nakfa (ERN).")] + ERN, /// ///Ethiopian Birr (ETB). /// - [Description("Ethiopian Birr (ETB).")] - ETB, + [Description("Ethiopian Birr (ETB).")] + ETB, /// ///Falkland Islands Pounds (FKP). /// - [Description("Falkland Islands Pounds (FKP).")] - FKP, + [Description("Falkland Islands Pounds (FKP).")] + FKP, /// ///CFP Franc (XPF). /// - [Description("CFP Franc (XPF).")] - XPF, + [Description("CFP Franc (XPF).")] + XPF, /// ///Fijian Dollars (FJD). /// - [Description("Fijian Dollars (FJD).")] - FJD, + [Description("Fijian Dollars (FJD).")] + FJD, /// ///Gibraltar Pounds (GIP). /// - [Description("Gibraltar Pounds (GIP).")] - GIP, + [Description("Gibraltar Pounds (GIP).")] + GIP, /// ///Gambian Dalasi (GMD). /// - [Description("Gambian Dalasi (GMD).")] - GMD, + [Description("Gambian Dalasi (GMD).")] + GMD, /// ///Ghanaian Cedi (GHS). /// - [Description("Ghanaian Cedi (GHS).")] - GHS, + [Description("Ghanaian Cedi (GHS).")] + GHS, /// ///Guatemalan Quetzal (GTQ). /// - [Description("Guatemalan Quetzal (GTQ).")] - GTQ, + [Description("Guatemalan Quetzal (GTQ).")] + GTQ, /// ///Guyanese Dollar (GYD). /// - [Description("Guyanese Dollar (GYD).")] - GYD, + [Description("Guyanese Dollar (GYD).")] + GYD, /// ///Georgian Lari (GEL). /// - [Description("Georgian Lari (GEL).")] - GEL, + [Description("Georgian Lari (GEL).")] + GEL, /// ///Guinean Franc (GNF). /// - [Description("Guinean Franc (GNF).")] - GNF, + [Description("Guinean Franc (GNF).")] + GNF, /// ///Haitian Gourde (HTG). /// - [Description("Haitian Gourde (HTG).")] - HTG, + [Description("Haitian Gourde (HTG).")] + HTG, /// ///Honduran Lempira (HNL). /// - [Description("Honduran Lempira (HNL).")] - HNL, + [Description("Honduran Lempira (HNL).")] + HNL, /// ///Hong Kong Dollars (HKD). /// - [Description("Hong Kong Dollars (HKD).")] - HKD, + [Description("Hong Kong Dollars (HKD).")] + HKD, /// ///Hungarian Forint (HUF). /// - [Description("Hungarian Forint (HUF).")] - HUF, + [Description("Hungarian Forint (HUF).")] + HUF, /// ///Icelandic Kronur (ISK). /// - [Description("Icelandic Kronur (ISK).")] - ISK, + [Description("Icelandic Kronur (ISK).")] + ISK, /// ///Indian Rupees (INR). /// - [Description("Indian Rupees (INR).")] - INR, + [Description("Indian Rupees (INR).")] + INR, /// ///Indonesian Rupiah (IDR). /// - [Description("Indonesian Rupiah (IDR).")] - IDR, + [Description("Indonesian Rupiah (IDR).")] + IDR, /// ///Israeli New Shekel (NIS). /// - [Description("Israeli New Shekel (NIS).")] - ILS, + [Description("Israeli New Shekel (NIS).")] + ILS, /// ///Iranian Rial (IRR). /// - [Description("Iranian Rial (IRR).")] - IRR, + [Description("Iranian Rial (IRR).")] + IRR, /// ///Iraqi Dinar (IQD). /// - [Description("Iraqi Dinar (IQD).")] - IQD, + [Description("Iraqi Dinar (IQD).")] + IQD, /// ///Jamaican Dollars (JMD). /// - [Description("Jamaican Dollars (JMD).")] - JMD, + [Description("Jamaican Dollars (JMD).")] + JMD, /// ///Japanese Yen (JPY). /// - [Description("Japanese Yen (JPY).")] - JPY, + [Description("Japanese Yen (JPY).")] + JPY, /// ///Jersey Pound. /// - [Description("Jersey Pound.")] - JEP, + [Description("Jersey Pound.")] + JEP, /// ///Jordanian Dinar (JOD). /// - [Description("Jordanian Dinar (JOD).")] - JOD, + [Description("Jordanian Dinar (JOD).")] + JOD, /// ///Kazakhstani Tenge (KZT). /// - [Description("Kazakhstani Tenge (KZT).")] - KZT, + [Description("Kazakhstani Tenge (KZT).")] + KZT, /// ///Kenyan Shilling (KES). /// - [Description("Kenyan Shilling (KES).")] - KES, + [Description("Kenyan Shilling (KES).")] + KES, /// ///Kiribati Dollar (KID). /// - [Description("Kiribati Dollar (KID).")] - KID, + [Description("Kiribati Dollar (KID).")] + KID, /// ///Kuwaiti Dinar (KWD). /// - [Description("Kuwaiti Dinar (KWD).")] - KWD, + [Description("Kuwaiti Dinar (KWD).")] + KWD, /// ///Kyrgyzstani Som (KGS). /// - [Description("Kyrgyzstani Som (KGS).")] - KGS, + [Description("Kyrgyzstani Som (KGS).")] + KGS, /// ///Laotian Kip (LAK). /// - [Description("Laotian Kip (LAK).")] - LAK, + [Description("Laotian Kip (LAK).")] + LAK, /// ///Latvian Lati (LVL). /// - [Description("Latvian Lati (LVL).")] - LVL, + [Description("Latvian Lati (LVL).")] + LVL, /// ///Lebanese Pounds (LBP). /// - [Description("Lebanese Pounds (LBP).")] - LBP, + [Description("Lebanese Pounds (LBP).")] + LBP, /// ///Lesotho Loti (LSL). /// - [Description("Lesotho Loti (LSL).")] - LSL, + [Description("Lesotho Loti (LSL).")] + LSL, /// ///Liberian Dollar (LRD). /// - [Description("Liberian Dollar (LRD).")] - LRD, + [Description("Liberian Dollar (LRD).")] + LRD, /// ///Libyan Dinar (LYD). /// - [Description("Libyan Dinar (LYD).")] - LYD, + [Description("Libyan Dinar (LYD).")] + LYD, /// ///Lithuanian Litai (LTL). /// - [Description("Lithuanian Litai (LTL).")] - LTL, + [Description("Lithuanian Litai (LTL).")] + LTL, /// ///Malagasy Ariary (MGA). /// - [Description("Malagasy Ariary (MGA).")] - MGA, + [Description("Malagasy Ariary (MGA).")] + MGA, /// ///Macedonia Denar (MKD). /// - [Description("Macedonia Denar (MKD).")] - MKD, + [Description("Macedonia Denar (MKD).")] + MKD, /// ///Macanese Pataca (MOP). /// - [Description("Macanese Pataca (MOP).")] - MOP, + [Description("Macanese Pataca (MOP).")] + MOP, /// ///Malawian Kwacha (MWK). /// - [Description("Malawian Kwacha (MWK).")] - MWK, + [Description("Malawian Kwacha (MWK).")] + MWK, /// ///Maldivian Rufiyaa (MVR). /// - [Description("Maldivian Rufiyaa (MVR).")] - MVR, + [Description("Maldivian Rufiyaa (MVR).")] + MVR, /// ///Mauritanian Ouguiya (MRU). /// - [Description("Mauritanian Ouguiya (MRU).")] - MRU, + [Description("Mauritanian Ouguiya (MRU).")] + MRU, /// ///Mexican Pesos (MXN). /// - [Description("Mexican Pesos (MXN).")] - MXN, + [Description("Mexican Pesos (MXN).")] + MXN, /// ///Malaysian Ringgits (MYR). /// - [Description("Malaysian Ringgits (MYR).")] - MYR, + [Description("Malaysian Ringgits (MYR).")] + MYR, /// ///Mauritian Rupee (MUR). /// - [Description("Mauritian Rupee (MUR).")] - MUR, + [Description("Mauritian Rupee (MUR).")] + MUR, /// ///Moldovan Leu (MDL). /// - [Description("Moldovan Leu (MDL).")] - MDL, + [Description("Moldovan Leu (MDL).")] + MDL, /// ///Moroccan Dirham. /// - [Description("Moroccan Dirham.")] - MAD, + [Description("Moroccan Dirham.")] + MAD, /// ///Mongolian Tugrik. /// - [Description("Mongolian Tugrik.")] - MNT, + [Description("Mongolian Tugrik.")] + MNT, /// ///Mozambican Metical. /// - [Description("Mozambican Metical.")] - MZN, + [Description("Mozambican Metical.")] + MZN, /// ///Namibian Dollar. /// - [Description("Namibian Dollar.")] - NAD, + [Description("Namibian Dollar.")] + NAD, /// ///Nepalese Rupee (NPR). /// - [Description("Nepalese Rupee (NPR).")] - NPR, + [Description("Nepalese Rupee (NPR).")] + NPR, /// ///Netherlands Antillean Guilder. /// - [Description("Netherlands Antillean Guilder.")] - ANG, + [Description("Netherlands Antillean Guilder.")] + ANG, /// ///New Zealand Dollars (NZD). /// - [Description("New Zealand Dollars (NZD).")] - NZD, + [Description("New Zealand Dollars (NZD).")] + NZD, /// ///Nicaraguan Córdoba (NIO). /// - [Description("Nicaraguan Córdoba (NIO).")] - NIO, + [Description("Nicaraguan Córdoba (NIO).")] + NIO, /// ///Nigerian Naira (NGN). /// - [Description("Nigerian Naira (NGN).")] - NGN, + [Description("Nigerian Naira (NGN).")] + NGN, /// ///Norwegian Kroner (NOK). /// - [Description("Norwegian Kroner (NOK).")] - NOK, + [Description("Norwegian Kroner (NOK).")] + NOK, /// ///Omani Rial (OMR). /// - [Description("Omani Rial (OMR).")] - OMR, + [Description("Omani Rial (OMR).")] + OMR, /// ///Panamian Balboa (PAB). /// - [Description("Panamian Balboa (PAB).")] - PAB, + [Description("Panamian Balboa (PAB).")] + PAB, /// ///Pakistani Rupee (PKR). /// - [Description("Pakistani Rupee (PKR).")] - PKR, + [Description("Pakistani Rupee (PKR).")] + PKR, /// ///Papua New Guinean Kina (PGK). /// - [Description("Papua New Guinean Kina (PGK).")] - PGK, + [Description("Papua New Guinean Kina (PGK).")] + PGK, /// ///Paraguayan Guarani (PYG). /// - [Description("Paraguayan Guarani (PYG).")] - PYG, + [Description("Paraguayan Guarani (PYG).")] + PYG, /// ///Peruvian Nuevo Sol (PEN). /// - [Description("Peruvian Nuevo Sol (PEN).")] - PEN, + [Description("Peruvian Nuevo Sol (PEN).")] + PEN, /// ///Philippine Peso (PHP). /// - [Description("Philippine Peso (PHP).")] - PHP, + [Description("Philippine Peso (PHP).")] + PHP, /// ///Polish Zlotych (PLN). /// - [Description("Polish Zlotych (PLN).")] - PLN, + [Description("Polish Zlotych (PLN).")] + PLN, /// ///Qatari Rial (QAR). /// - [Description("Qatari Rial (QAR).")] - QAR, + [Description("Qatari Rial (QAR).")] + QAR, /// ///Romanian Lei (RON). /// - [Description("Romanian Lei (RON).")] - RON, + [Description("Romanian Lei (RON).")] + RON, /// ///Russian Rubles (RUB). /// - [Description("Russian Rubles (RUB).")] - RUB, + [Description("Russian Rubles (RUB).")] + RUB, /// ///Rwandan Franc (RWF). /// - [Description("Rwandan Franc (RWF).")] - RWF, + [Description("Rwandan Franc (RWF).")] + RWF, /// ///Samoan Tala (WST). /// - [Description("Samoan Tala (WST).")] - WST, + [Description("Samoan Tala (WST).")] + WST, /// ///Saint Helena Pounds (SHP). /// - [Description("Saint Helena Pounds (SHP).")] - SHP, + [Description("Saint Helena Pounds (SHP).")] + SHP, /// ///Saudi Riyal (SAR). /// - [Description("Saudi Riyal (SAR).")] - SAR, + [Description("Saudi Riyal (SAR).")] + SAR, /// ///Serbian dinar (RSD). /// - [Description("Serbian dinar (RSD).")] - RSD, + [Description("Serbian dinar (RSD).")] + RSD, /// ///Seychellois Rupee (SCR). /// - [Description("Seychellois Rupee (SCR).")] - SCR, + [Description("Seychellois Rupee (SCR).")] + SCR, /// ///Sierra Leonean Leone (SLL). /// - [Description("Sierra Leonean Leone (SLL).")] - SLL, + [Description("Sierra Leonean Leone (SLL).")] + SLL, /// ///Singapore Dollars (SGD). /// - [Description("Singapore Dollars (SGD).")] - SGD, + [Description("Singapore Dollars (SGD).")] + SGD, /// ///Sudanese Pound (SDG). /// - [Description("Sudanese Pound (SDG).")] - SDG, + [Description("Sudanese Pound (SDG).")] + SDG, /// ///Somali Shilling (SOS). /// - [Description("Somali Shilling (SOS).")] - SOS, + [Description("Somali Shilling (SOS).")] + SOS, /// ///Syrian Pound (SYP). /// - [Description("Syrian Pound (SYP).")] - SYP, + [Description("Syrian Pound (SYP).")] + SYP, /// ///South African Rand (ZAR). /// - [Description("South African Rand (ZAR).")] - ZAR, + [Description("South African Rand (ZAR).")] + ZAR, /// ///South Korean Won (KRW). /// - [Description("South Korean Won (KRW).")] - KRW, + [Description("South Korean Won (KRW).")] + KRW, /// ///South Sudanese Pound (SSP). /// - [Description("South Sudanese Pound (SSP).")] - SSP, + [Description("South Sudanese Pound (SSP).")] + SSP, /// ///Solomon Islands Dollar (SBD). /// - [Description("Solomon Islands Dollar (SBD).")] - SBD, + [Description("Solomon Islands Dollar (SBD).")] + SBD, /// ///Sri Lankan Rupees (LKR). /// - [Description("Sri Lankan Rupees (LKR).")] - LKR, + [Description("Sri Lankan Rupees (LKR).")] + LKR, /// ///Surinamese Dollar (SRD). /// - [Description("Surinamese Dollar (SRD).")] - SRD, + [Description("Surinamese Dollar (SRD).")] + SRD, /// ///Swazi Lilangeni (SZL). /// - [Description("Swazi Lilangeni (SZL).")] - SZL, + [Description("Swazi Lilangeni (SZL).")] + SZL, /// ///Swedish Kronor (SEK). /// - [Description("Swedish Kronor (SEK).")] - SEK, + [Description("Swedish Kronor (SEK).")] + SEK, /// ///Swiss Francs (CHF). /// - [Description("Swiss Francs (CHF).")] - CHF, + [Description("Swiss Francs (CHF).")] + CHF, /// ///Taiwan Dollars (TWD). /// - [Description("Taiwan Dollars (TWD).")] - TWD, + [Description("Taiwan Dollars (TWD).")] + TWD, /// ///Thai baht (THB). /// - [Description("Thai baht (THB).")] - THB, + [Description("Thai baht (THB).")] + THB, /// ///Tajikistani Somoni (TJS). /// - [Description("Tajikistani Somoni (TJS).")] - TJS, + [Description("Tajikistani Somoni (TJS).")] + TJS, /// ///Tanzanian Shilling (TZS). /// - [Description("Tanzanian Shilling (TZS).")] - TZS, + [Description("Tanzanian Shilling (TZS).")] + TZS, /// ///Tongan Pa'anga (TOP). /// - [Description("Tongan Pa'anga (TOP).")] - TOP, + [Description("Tongan Pa'anga (TOP).")] + TOP, /// ///Trinidad and Tobago Dollars (TTD). /// - [Description("Trinidad and Tobago Dollars (TTD).")] - TTD, + [Description("Trinidad and Tobago Dollars (TTD).")] + TTD, /// ///Tunisian Dinar (TND). /// - [Description("Tunisian Dinar (TND).")] - TND, + [Description("Tunisian Dinar (TND).")] + TND, /// ///Turkish Lira (TRY). /// - [Description("Turkish Lira (TRY).")] - TRY, + [Description("Turkish Lira (TRY).")] + TRY, /// ///Turkmenistani Manat (TMT). /// - [Description("Turkmenistani Manat (TMT).")] - TMT, + [Description("Turkmenistani Manat (TMT).")] + TMT, /// ///Ugandan Shilling (UGX). /// - [Description("Ugandan Shilling (UGX).")] - UGX, + [Description("Ugandan Shilling (UGX).")] + UGX, /// ///Ukrainian Hryvnia (UAH). /// - [Description("Ukrainian Hryvnia (UAH).")] - UAH, + [Description("Ukrainian Hryvnia (UAH).")] + UAH, /// ///United Arab Emirates Dirham (AED). /// - [Description("United Arab Emirates Dirham (AED).")] - AED, + [Description("United Arab Emirates Dirham (AED).")] + AED, /// ///Uruguayan Pesos (UYU). /// - [Description("Uruguayan Pesos (UYU).")] - UYU, + [Description("Uruguayan Pesos (UYU).")] + UYU, /// ///Uzbekistan som (UZS). /// - [Description("Uzbekistan som (UZS).")] - UZS, + [Description("Uzbekistan som (UZS).")] + UZS, /// ///Vanuatu Vatu (VUV). /// - [Description("Vanuatu Vatu (VUV).")] - VUV, + [Description("Vanuatu Vatu (VUV).")] + VUV, /// ///Venezuelan Bolivares Soberanos (VES). /// - [Description("Venezuelan Bolivares Soberanos (VES).")] - VES, + [Description("Venezuelan Bolivares Soberanos (VES).")] + VES, /// ///Vietnamese đồng (VND). /// - [Description("Vietnamese đồng (VND).")] - VND, + [Description("Vietnamese đồng (VND).")] + VND, /// ///West African CFA franc (XOF). /// - [Description("West African CFA franc (XOF).")] - XOF, + [Description("West African CFA franc (XOF).")] + XOF, /// ///Yemeni Rial (YER). /// - [Description("Yemeni Rial (YER).")] - YER, + [Description("Yemeni Rial (YER).")] + YER, /// ///Zambian Kwacha (ZMW). /// - [Description("Zambian Kwacha (ZMW).")] - ZMW, + [Description("Zambian Kwacha (ZMW).")] + ZMW, /// ///United States Dollars Coin (USDC). /// - [Description("United States Dollars Coin (USDC).")] - USDC, + [Description("United States Dollars Coin (USDC).")] + USDC, /// ///Belarusian Ruble (BYR). /// - [Description("Belarusian Ruble (BYR).")] - [Obsolete("Use `BYN` instead.")] - BYR, + [Description("Belarusian Ruble (BYR).")] + [Obsolete("Use `BYN` instead.")] + BYR, /// ///Sao Tome And Principe Dobra (STD). /// - [Description("Sao Tome And Principe Dobra (STD).")] - [Obsolete("Use `STN` instead.")] - STD, + [Description("Sao Tome And Principe Dobra (STD).")] + [Obsolete("Use `STN` instead.")] + STD, /// ///Sao Tome And Principe Dobra (STN). /// - [Description("Sao Tome And Principe Dobra (STN).")] - STN, + [Description("Sao Tome And Principe Dobra (STN).")] + STN, /// ///Venezuelan Bolivares (VED). /// - [Description("Venezuelan Bolivares (VED).")] - VED, + [Description("Venezuelan Bolivares (VED).")] + VED, /// ///Venezuelan Bolivares (VEF). /// - [Description("Venezuelan Bolivares (VEF).")] - [Obsolete("Use `VES` instead.")] - VEF, + [Description("Venezuelan Bolivares (VEF).")] + [Obsolete("Use `VES` instead.")] + VEF, /// ///Unrecognized currency. /// - [Description("Unrecognized currency.")] - XXX, - } - - public static class CurrencyCodeStringValues - { - public const string USD = @"USD"; - public const string EUR = @"EUR"; - public const string GBP = @"GBP"; - public const string CAD = @"CAD"; - public const string AFN = @"AFN"; - public const string ALL = @"ALL"; - public const string DZD = @"DZD"; - public const string AOA = @"AOA"; - public const string ARS = @"ARS"; - public const string AMD = @"AMD"; - public const string AWG = @"AWG"; - public const string AUD = @"AUD"; - public const string BBD = @"BBD"; - public const string AZN = @"AZN"; - public const string BDT = @"BDT"; - public const string BSD = @"BSD"; - public const string BHD = @"BHD"; - public const string BIF = @"BIF"; - public const string BYN = @"BYN"; - public const string BZD = @"BZD"; - public const string BMD = @"BMD"; - public const string BTN = @"BTN"; - public const string BAM = @"BAM"; - public const string BRL = @"BRL"; - public const string BOB = @"BOB"; - public const string BWP = @"BWP"; - public const string BND = @"BND"; - public const string BGN = @"BGN"; - public const string MMK = @"MMK"; - public const string KHR = @"KHR"; - public const string CVE = @"CVE"; - public const string KYD = @"KYD"; - public const string XAF = @"XAF"; - public const string CLP = @"CLP"; - public const string CNY = @"CNY"; - public const string COP = @"COP"; - public const string KMF = @"KMF"; - public const string CDF = @"CDF"; - public const string CRC = @"CRC"; - public const string HRK = @"HRK"; - public const string CZK = @"CZK"; - public const string DKK = @"DKK"; - public const string DJF = @"DJF"; - public const string DOP = @"DOP"; - public const string XCD = @"XCD"; - public const string EGP = @"EGP"; - public const string ERN = @"ERN"; - public const string ETB = @"ETB"; - public const string FKP = @"FKP"; - public const string XPF = @"XPF"; - public const string FJD = @"FJD"; - public const string GIP = @"GIP"; - public const string GMD = @"GMD"; - public const string GHS = @"GHS"; - public const string GTQ = @"GTQ"; - public const string GYD = @"GYD"; - public const string GEL = @"GEL"; - public const string GNF = @"GNF"; - public const string HTG = @"HTG"; - public const string HNL = @"HNL"; - public const string HKD = @"HKD"; - public const string HUF = @"HUF"; - public const string ISK = @"ISK"; - public const string INR = @"INR"; - public const string IDR = @"IDR"; - public const string ILS = @"ILS"; - public const string IRR = @"IRR"; - public const string IQD = @"IQD"; - public const string JMD = @"JMD"; - public const string JPY = @"JPY"; - public const string JEP = @"JEP"; - public const string JOD = @"JOD"; - public const string KZT = @"KZT"; - public const string KES = @"KES"; - public const string KID = @"KID"; - public const string KWD = @"KWD"; - public const string KGS = @"KGS"; - public const string LAK = @"LAK"; - public const string LVL = @"LVL"; - public const string LBP = @"LBP"; - public const string LSL = @"LSL"; - public const string LRD = @"LRD"; - public const string LYD = @"LYD"; - public const string LTL = @"LTL"; - public const string MGA = @"MGA"; - public const string MKD = @"MKD"; - public const string MOP = @"MOP"; - public const string MWK = @"MWK"; - public const string MVR = @"MVR"; - public const string MRU = @"MRU"; - public const string MXN = @"MXN"; - public const string MYR = @"MYR"; - public const string MUR = @"MUR"; - public const string MDL = @"MDL"; - public const string MAD = @"MAD"; - public const string MNT = @"MNT"; - public const string MZN = @"MZN"; - public const string NAD = @"NAD"; - public const string NPR = @"NPR"; - public const string ANG = @"ANG"; - public const string NZD = @"NZD"; - public const string NIO = @"NIO"; - public const string NGN = @"NGN"; - public const string NOK = @"NOK"; - public const string OMR = @"OMR"; - public const string PAB = @"PAB"; - public const string PKR = @"PKR"; - public const string PGK = @"PGK"; - public const string PYG = @"PYG"; - public const string PEN = @"PEN"; - public const string PHP = @"PHP"; - public const string PLN = @"PLN"; - public const string QAR = @"QAR"; - public const string RON = @"RON"; - public const string RUB = @"RUB"; - public const string RWF = @"RWF"; - public const string WST = @"WST"; - public const string SHP = @"SHP"; - public const string SAR = @"SAR"; - public const string RSD = @"RSD"; - public const string SCR = @"SCR"; - public const string SLL = @"SLL"; - public const string SGD = @"SGD"; - public const string SDG = @"SDG"; - public const string SOS = @"SOS"; - public const string SYP = @"SYP"; - public const string ZAR = @"ZAR"; - public const string KRW = @"KRW"; - public const string SSP = @"SSP"; - public const string SBD = @"SBD"; - public const string LKR = @"LKR"; - public const string SRD = @"SRD"; - public const string SZL = @"SZL"; - public const string SEK = @"SEK"; - public const string CHF = @"CHF"; - public const string TWD = @"TWD"; - public const string THB = @"THB"; - public const string TJS = @"TJS"; - public const string TZS = @"TZS"; - public const string TOP = @"TOP"; - public const string TTD = @"TTD"; - public const string TND = @"TND"; - public const string TRY = @"TRY"; - public const string TMT = @"TMT"; - public const string UGX = @"UGX"; - public const string UAH = @"UAH"; - public const string AED = @"AED"; - public const string UYU = @"UYU"; - public const string UZS = @"UZS"; - public const string VUV = @"VUV"; - public const string VES = @"VES"; - public const string VND = @"VND"; - public const string XOF = @"XOF"; - public const string YER = @"YER"; - public const string ZMW = @"ZMW"; - public const string USDC = @"USDC"; - [Obsolete("Use `BYN` instead.")] - public const string BYR = @"BYR"; - [Obsolete("Use `STN` instead.")] - public const string STD = @"STD"; - public const string STN = @"STN"; - public const string VED = @"VED"; - [Obsolete("Use `VES` instead.")] - public const string VEF = @"VEF"; - public const string XXX = @"XXX"; - } - + [Description("Unrecognized currency.")] + XXX, + } + + public static class CurrencyCodeStringValues + { + public const string USD = @"USD"; + public const string EUR = @"EUR"; + public const string GBP = @"GBP"; + public const string CAD = @"CAD"; + public const string AFN = @"AFN"; + public const string ALL = @"ALL"; + public const string DZD = @"DZD"; + public const string AOA = @"AOA"; + public const string ARS = @"ARS"; + public const string AMD = @"AMD"; + public const string AWG = @"AWG"; + public const string AUD = @"AUD"; + public const string BBD = @"BBD"; + public const string AZN = @"AZN"; + public const string BDT = @"BDT"; + public const string BSD = @"BSD"; + public const string BHD = @"BHD"; + public const string BIF = @"BIF"; + public const string BYN = @"BYN"; + public const string BZD = @"BZD"; + public const string BMD = @"BMD"; + public const string BTN = @"BTN"; + public const string BAM = @"BAM"; + public const string BRL = @"BRL"; + public const string BOB = @"BOB"; + public const string BWP = @"BWP"; + public const string BND = @"BND"; + public const string BGN = @"BGN"; + public const string MMK = @"MMK"; + public const string KHR = @"KHR"; + public const string CVE = @"CVE"; + public const string KYD = @"KYD"; + public const string XAF = @"XAF"; + public const string CLP = @"CLP"; + public const string CNY = @"CNY"; + public const string COP = @"COP"; + public const string KMF = @"KMF"; + public const string CDF = @"CDF"; + public const string CRC = @"CRC"; + public const string HRK = @"HRK"; + public const string CZK = @"CZK"; + public const string DKK = @"DKK"; + public const string DJF = @"DJF"; + public const string DOP = @"DOP"; + public const string XCD = @"XCD"; + public const string EGP = @"EGP"; + public const string ERN = @"ERN"; + public const string ETB = @"ETB"; + public const string FKP = @"FKP"; + public const string XPF = @"XPF"; + public const string FJD = @"FJD"; + public const string GIP = @"GIP"; + public const string GMD = @"GMD"; + public const string GHS = @"GHS"; + public const string GTQ = @"GTQ"; + public const string GYD = @"GYD"; + public const string GEL = @"GEL"; + public const string GNF = @"GNF"; + public const string HTG = @"HTG"; + public const string HNL = @"HNL"; + public const string HKD = @"HKD"; + public const string HUF = @"HUF"; + public const string ISK = @"ISK"; + public const string INR = @"INR"; + public const string IDR = @"IDR"; + public const string ILS = @"ILS"; + public const string IRR = @"IRR"; + public const string IQD = @"IQD"; + public const string JMD = @"JMD"; + public const string JPY = @"JPY"; + public const string JEP = @"JEP"; + public const string JOD = @"JOD"; + public const string KZT = @"KZT"; + public const string KES = @"KES"; + public const string KID = @"KID"; + public const string KWD = @"KWD"; + public const string KGS = @"KGS"; + public const string LAK = @"LAK"; + public const string LVL = @"LVL"; + public const string LBP = @"LBP"; + public const string LSL = @"LSL"; + public const string LRD = @"LRD"; + public const string LYD = @"LYD"; + public const string LTL = @"LTL"; + public const string MGA = @"MGA"; + public const string MKD = @"MKD"; + public const string MOP = @"MOP"; + public const string MWK = @"MWK"; + public const string MVR = @"MVR"; + public const string MRU = @"MRU"; + public const string MXN = @"MXN"; + public const string MYR = @"MYR"; + public const string MUR = @"MUR"; + public const string MDL = @"MDL"; + public const string MAD = @"MAD"; + public const string MNT = @"MNT"; + public const string MZN = @"MZN"; + public const string NAD = @"NAD"; + public const string NPR = @"NPR"; + public const string ANG = @"ANG"; + public const string NZD = @"NZD"; + public const string NIO = @"NIO"; + public const string NGN = @"NGN"; + public const string NOK = @"NOK"; + public const string OMR = @"OMR"; + public const string PAB = @"PAB"; + public const string PKR = @"PKR"; + public const string PGK = @"PGK"; + public const string PYG = @"PYG"; + public const string PEN = @"PEN"; + public const string PHP = @"PHP"; + public const string PLN = @"PLN"; + public const string QAR = @"QAR"; + public const string RON = @"RON"; + public const string RUB = @"RUB"; + public const string RWF = @"RWF"; + public const string WST = @"WST"; + public const string SHP = @"SHP"; + public const string SAR = @"SAR"; + public const string RSD = @"RSD"; + public const string SCR = @"SCR"; + public const string SLL = @"SLL"; + public const string SGD = @"SGD"; + public const string SDG = @"SDG"; + public const string SOS = @"SOS"; + public const string SYP = @"SYP"; + public const string ZAR = @"ZAR"; + public const string KRW = @"KRW"; + public const string SSP = @"SSP"; + public const string SBD = @"SBD"; + public const string LKR = @"LKR"; + public const string SRD = @"SRD"; + public const string SZL = @"SZL"; + public const string SEK = @"SEK"; + public const string CHF = @"CHF"; + public const string TWD = @"TWD"; + public const string THB = @"THB"; + public const string TJS = @"TJS"; + public const string TZS = @"TZS"; + public const string TOP = @"TOP"; + public const string TTD = @"TTD"; + public const string TND = @"TND"; + public const string TRY = @"TRY"; + public const string TMT = @"TMT"; + public const string UGX = @"UGX"; + public const string UAH = @"UAH"; + public const string AED = @"AED"; + public const string UYU = @"UYU"; + public const string UZS = @"UZS"; + public const string VUV = @"VUV"; + public const string VES = @"VES"; + public const string VND = @"VND"; + public const string XOF = @"XOF"; + public const string YER = @"YER"; + public const string ZMW = @"ZMW"; + public const string USDC = @"USDC"; + [Obsolete("Use `BYN` instead.")] + public const string BYR = @"BYR"; + [Obsolete("Use `STN` instead.")] + public const string STD = @"STD"; + public const string STN = @"STN"; + public const string VED = @"VED"; + [Obsolete("Use `VES` instead.")] + public const string VEF = @"VEF"; + public const string XXX = @"XXX"; + } + /// ///Represents a currency exchange adjustment applied to an order transaction. /// - [Description("Represents a currency exchange adjustment applied to an order transaction.")] - public class CurrencyExchangeAdjustment : GraphQLObject, INode - { + [Description("Represents a currency exchange adjustment applied to an order transaction.")] + public class CurrencyExchangeAdjustment : GraphQLObject, INode + { /// ///The adjustment amount in both shop and presentment currencies. /// - [Description("The adjustment amount in both shop and presentment currencies.")] - [NonNull] - public MoneyV2? adjustment { get; set; } - + [Description("The adjustment amount in both shop and presentment currencies.")] + [NonNull] + public MoneyV2? adjustment { get; set; } + /// ///The final amount in both shop and presentment currencies after the adjustment. /// - [Description("The final amount in both shop and presentment currencies after the adjustment.")] - [NonNull] - public MoneyV2? finalAmountSet { get; set; } - + [Description("The final amount in both shop and presentment currencies after the adjustment.")] + [NonNull] + public MoneyV2? finalAmountSet { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The original amount in both shop and presentment currencies before the adjustment. /// - [Description("The original amount in both shop and presentment currencies before the adjustment.")] - [NonNull] - public MoneyV2? originalAmountSet { get; set; } - } - + [Description("The original amount in both shop and presentment currencies before the adjustment.")] + [NonNull] + public MoneyV2? originalAmountSet { get; set; } + } + /// ///Currency formats configured for the merchant. These formats are available to use within Liquid. /// - [Description("Currency formats configured for the merchant. These formats are available to use within Liquid.")] - public class CurrencyFormats : GraphQLObject - { + [Description("Currency formats configured for the merchant. These formats are available to use within Liquid.")] + public class CurrencyFormats : GraphQLObject + { /// ///Money without currency in HTML. /// - [Description("Money without currency in HTML.")] - [NonNull] - public string? moneyFormat { get; set; } - + [Description("Money without currency in HTML.")] + [NonNull] + public string? moneyFormat { get; set; } + /// ///Money without currency in emails. /// - [Description("Money without currency in emails.")] - [NonNull] - public string? moneyInEmailsFormat { get; set; } - + [Description("Money without currency in emails.")] + [NonNull] + public string? moneyInEmailsFormat { get; set; } + /// ///Money with currency in HTML. /// - [Description("Money with currency in HTML.")] - [NonNull] - public string? moneyWithCurrencyFormat { get; set; } - + [Description("Money with currency in HTML.")] + [NonNull] + public string? moneyWithCurrencyFormat { get; set; } + /// ///Money with currency in emails. /// - [Description("Money with currency in emails.")] - [NonNull] - public string? moneyWithCurrencyInEmailsFormat { get; set; } - } - + [Description("Money with currency in emails.")] + [NonNull] + public string? moneyWithCurrencyInEmailsFormat { get; set; } + } + /// ///A setting for a presentment currency. /// - [Description("A setting for a presentment currency.")] - public class CurrencySetting : GraphQLObject - { + [Description("A setting for a presentment currency.")] + public class CurrencySetting : GraphQLObject + { /// ///The currency's ISO code. /// - [Description("The currency's ISO code.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The currency's ISO code.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///The full name of the currency. /// - [Description("The full name of the currency.")] - [NonNull] - public string? currencyName { get; set; } - + [Description("The full name of the currency.")] + [NonNull] + public string? currencyName { get; set; } + /// ///Whether the currency is enabled or not. An enabled currency setting is visible to buyers and allows orders to be generated with that currency as presentment. /// - [Description("Whether the currency is enabled or not. An enabled currency setting is visible to buyers and allows orders to be generated with that currency as presentment.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Whether the currency is enabled or not. An enabled currency setting is visible to buyers and allows orders to be generated with that currency as presentment.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The manual rate, if enabled, that applies to this currency when converting from shop currency. This rate is specific to the associated market's currency setting. /// - [Description("The manual rate, if enabled, that applies to this currency when converting from shop currency. This rate is specific to the associated market's currency setting.")] - public decimal? manualRate { get; set; } - + [Description("The manual rate, if enabled, that applies to this currency when converting from shop currency. This rate is specific to the associated market's currency setting.")] + public decimal? manualRate { get; set; } + /// ///The date and time when the active exchange rate for the currency was last modified. It can be the automatic rate's creation date, or the manual rate's last updated at date if active. /// - [Description("The date and time when the active exchange rate for the currency was last modified. It can be the automatic rate's creation date, or the manual rate's last updated at date if active.")] - public DateTime? rateUpdatedAt { get; set; } - } - + [Description("The date and time when the active exchange rate for the currency was last modified. It can be the automatic rate's creation date, or the manual rate's last updated at date if active.")] + public DateTime? rateUpdatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple CurrencySettings. /// - [Description("An auto-generated type for paginating through multiple CurrencySettings.")] - public class CurrencySettingConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CurrencySettings.")] + public class CurrencySettingConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CurrencySettingEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CurrencySettingEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CurrencySettingEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CurrencySetting and a cursor during pagination. /// - [Description("An auto-generated type which holds one CurrencySetting and a cursor during pagination.")] - public class CurrencySettingEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CurrencySetting and a cursor during pagination.")] + public class CurrencySettingEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CurrencySettingEdge. /// - [Description("The item at the end of CurrencySettingEdge.")] - [NonNull] - public CurrencySetting? node { get; set; } - } - + [Description("The item at the end of CurrencySettingEdge.")] + [NonNull] + public CurrencySetting? node { get; set; } + } + /// ///The input fields for a custom shipping package used to pack shipment. /// - [Description("The input fields for a custom shipping package used to pack shipment.")] - public class CustomShippingPackageInput : GraphQLObject - { + [Description("The input fields for a custom shipping package used to pack shipment.")] + public class CustomShippingPackageInput : GraphQLObject + { /// ///Weight of the empty shipping package. /// - [Description("Weight of the empty shipping package.")] - public WeightInput? weight { get; set; } - + [Description("Weight of the empty shipping package.")] + public WeightInput? weight { get; set; } + /// ///Outside dimensions of the empty shipping package. /// - [Description("Outside dimensions of the empty shipping package.")] - public ObjectDimensionsInput? dimensions { get; set; } - + [Description("Outside dimensions of the empty shipping package.")] + public ObjectDimensionsInput? dimensions { get; set; } + /// ///The default package is the one used to calculate shipping costs on checkout. /// - [Description("The default package is the one used to calculate shipping costs on checkout.")] - public bool? @default { get; set; } - + [Description("The default package is the one used to calculate shipping costs on checkout.")] + public bool? @default { get; set; } + /// ///Descriptive name for the package. /// - [Description("Descriptive name for the package.")] - public string? name { get; set; } - + [Description("Descriptive name for the package.")] + public string? name { get; set; } + /// ///Type of package. /// - [Description("Type of package.")] - [EnumType(typeof(ShippingPackageType))] - public string? type { get; set; } - } - + [Description("Type of package.")] + [EnumType(typeof(ShippingPackageType))] + public string? type { get; set; } + } + /// ///Possible custom storefront environment types. /// - [Description("Possible custom storefront environment types.")] - public enum CustomStorefrontEnvironmentType - { + [Description("Possible custom storefront environment types.")] + public enum CustomStorefrontEnvironmentType + { /// ///The environment has no associated branch. /// - [Description("The environment has no associated branch.")] - PREVIEW, + [Description("The environment has no associated branch.")] + PREVIEW, /// ///The environment is used by your production branch. /// - [Description("The environment is used by your production branch.")] - PRODUCTION, + [Description("The environment is used by your production branch.")] + PRODUCTION, /// ///The environment is used by a specific non-production branch. /// - [Description("The environment is used by a specific non-production branch.")] - CUSTOM, - } - - public static class CustomStorefrontEnvironmentTypeStringValues - { - public const string PREVIEW = @"PREVIEW"; - public const string PRODUCTION = @"PRODUCTION"; - public const string CUSTOM = @"CUSTOM"; - } - + [Description("The environment is used by a specific non-production branch.")] + CUSTOM, + } + + public static class CustomStorefrontEnvironmentTypeStringValues + { + public const string PREVIEW = @"PREVIEW"; + public const string PRODUCTION = @"PRODUCTION"; + public const string CUSTOM = @"CUSTOM"; + } + /// ///Represents information about a customer of the shop, such as the customer's contact details, their order ///history, and whether they've agreed to receive marketing material by email. /// ///**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data. /// - [Description("Represents information about a customer of the shop, such as the customer's contact details, their order\nhistory, and whether they've agreed to receive marketing material by email.\n\n**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data.")] - public class Customer : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasStoreCreditAccounts, ILegacyInteroperability, INode, ICommentEventEmbed, IMetafieldReference, IMetafieldReferencer, IPurchasingEntity - { + [Description("Represents information about a customer of the shop, such as the customer's contact details, their order\nhistory, and whether they've agreed to receive marketing material by email.\n\n**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data.")] + public class Customer : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasStoreCreditAccounts, ILegacyInteroperability, INode, ICommentEventEmbed, IMetafieldReference, IMetafieldReferencer, IPurchasingEntity + { /// ///A list of addresses associated with the customer. /// - [Description("A list of addresses associated with the customer.")] - [NonNull] - public IEnumerable? addresses { get; set; } - + [Description("A list of addresses associated with the customer.")] + [NonNull] + public IEnumerable? addresses { get; set; } + /// ///The addresses associated with the customer. /// - [Description("The addresses associated with the customer.")] - [NonNull] - public MailingAddressConnection? addressesV2 { get; set; } - + [Description("The addresses associated with the customer.")] + [NonNull] + public MailingAddressConnection? addressesV2 { get; set; } + /// ///The total amount that the customer has spent on orders in their lifetime. /// - [Description("The total amount that the customer has spent on orders in their lifetime.")] - [NonNull] - public MoneyV2? amountSpent { get; set; } - + [Description("The total amount that the customer has spent on orders in their lifetime.")] + [NonNull] + public MoneyV2? amountSpent { get; set; } + /// ///Whether the merchant can delete the customer from their store. /// ///A customer can be deleted from a store only if they haven't yet made an order. After a customer makes an ///order, they can't be deleted from a store. /// - [Description("Whether the merchant can delete the customer from their store.\n\nA customer can be deleted from a store only if they haven't yet made an order. After a customer makes an\norder, they can't be deleted from a store.")] - [NonNull] - public bool? canDelete { get; set; } - + [Description("Whether the merchant can delete the customer from their store.\n\nA customer can be deleted from a store only if they haven't yet made an order. After a customer makes an\norder, they can't be deleted from a store.")] + [NonNull] + public bool? canDelete { get; set; } + /// ///A list of the customer's company contact profiles. /// - [Description("A list of the customer's company contact profiles.")] - [NonNull] - public IEnumerable? companyContactProfiles { get; set; } - + [Description("A list of the customer's company contact profiles.")] + [NonNull] + public IEnumerable? companyContactProfiles { get; set; } + /// ///The date and time when the customer was added to the store. /// - [Description("The date and time when the customer was added to the store.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the customer was added to the store.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Whether the customer has opted out of having their data sold. /// - [Description("Whether the customer has opted out of having their data sold.")] - [NonNull] - public bool? dataSaleOptOut { get; set; } - + [Description("Whether the customer has opted out of having their data sold.")] + [NonNull] + public bool? dataSaleOptOut { get; set; } + /// ///The default address associated with the customer. /// - [Description("The default address associated with the customer.")] - public MailingAddress? defaultAddress { get; set; } - + [Description("The default address associated with the customer.")] + public MailingAddress? defaultAddress { get; set; } + /// ///The customer's default email address. /// - [Description("The customer's default email address.")] - public CustomerEmailAddress? defaultEmailAddress { get; set; } - + [Description("The customer's default email address.")] + public CustomerEmailAddress? defaultEmailAddress { get; set; } + /// ///The customer's default phone number. /// - [Description("The customer's default phone number.")] - public CustomerPhoneNumber? defaultPhoneNumber { get; set; } - + [Description("The customer's default phone number.")] + public CustomerPhoneNumber? defaultPhoneNumber { get; set; } + /// ///The full name of the customer, based on the values for first_name and last_name. If the first_name and ///last_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number. /// - [Description("The full name of the customer, based on the values for first_name and last_name. If the first_name and\nlast_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The full name of the customer, based on the values for first_name and last_name. If the first_name and\nlast_name are not available, then this falls back to the customer's email address, and if that is not available, the customer's phone number.")] + [NonNull] + public string? displayName { get; set; } + /// ///The customer's email address. /// - [Description("The customer's email address.")] - [Obsolete("Use `defaultEmailAddress.emailAddress` instead.")] - public string? email { get; set; } - + [Description("The customer's email address.")] + [Obsolete("Use `defaultEmailAddress.emailAddress` instead.")] + public string? email { get; set; } + /// ///The current email marketing state for the customer. ///If the customer doesn't have an email address, then this property is `null`. /// - [Description("The current email marketing state for the customer.\nIf the customer doesn't have an email address, then this property is `null`.")] - [Obsolete("Use `defaultEmailAddress.marketingState`, `defaultEmailAddress.marketingOptInLevel`, `defaultEmailAddress.marketingUpdatedAt`, and `defaultEmailAddress.sourceLocation` instead.")] - public CustomerEmailMarketingConsentState? emailMarketingConsent { get; set; } - + [Description("The current email marketing state for the customer.\nIf the customer doesn't have an email address, then this property is `null`.")] + [Obsolete("Use `defaultEmailAddress.marketingState`, `defaultEmailAddress.marketingOptInLevel`, `defaultEmailAddress.marketingUpdatedAt`, and `defaultEmailAddress.sourceLocation` instead.")] + public CustomerEmailMarketingConsentState? emailMarketingConsent { get; set; } + /// ///A list of events associated with the customer. /// - [Description("A list of events associated with the customer.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("A list of events associated with the customer.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///The customer's first name. /// - [Description("The customer's first name.")] - public string? firstName { get; set; } - + [Description("The customer's first name.")] + public string? firstName { get; set; } + /// ///Whether the merchant has added timeline comments about the customer on the customer's page. /// - [Description("Whether the merchant has added timeline comments about the customer on the customer's page.")] - [Obsolete("To query for comments on the timeline, use the `events` connection and a 'query' argument containing `verb:comment`, or look for a 'CommentEvent' in the `__typename` of `events`.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether the merchant has added timeline comments about the customer on the customer's page.")] + [Obsolete("To query for comments on the timeline, use the `events` connection and a 'query' argument containing `verb:comment`, or look for a 'CommentEvent' in the `__typename` of `events`.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image associated with the customer. /// - [Description("The image associated with the customer.")] - [NonNull] - public Image? image { get; set; } - + [Description("The image associated with the customer.")] + [NonNull] + public Image? image { get; set; } + /// ///The customer's last name. /// - [Description("The customer's last name.")] - public string? lastName { get; set; } - + [Description("The customer's last name.")] + public string? lastName { get; set; } + /// ///The customer's last order. /// - [Description("The customer's last order.")] - public Order? lastOrder { get; set; } - + [Description("The customer's last order.")] + public Order? lastOrder { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The amount of time since the customer was first added to the store. /// ///Example: 'about 12 years'. /// - [Description("The amount of time since the customer was first added to the store.\n\nExample: 'about 12 years'.")] - [NonNull] - public string? lifetimeDuration { get; set; } - + [Description("The amount of time since the customer was first added to the store.\n\nExample: 'about 12 years'.")] + [NonNull] + public string? lifetimeDuration { get; set; } + /// ///The customer's locale. /// - [Description("The customer's locale.")] - [NonNull] - public string? locale { get; set; } - + [Description("The customer's locale.")] + [NonNull] + public string? locale { get; set; } + /// ///The market that includes the customer’s default address. /// - [Description("The market that includes the customer’s default address.")] - [Obsolete("This `market` field will be removed in a future version of the API.")] - public Market? market { get; set; } - + [Description("The market that includes the customer’s default address.")] + [Obsolete("This `market` field will be removed in a future version of the API.")] + public Market? market { get; set; } + /// ///Whether the customer can be merged with another customer. /// - [Description("Whether the customer can be merged with another customer.")] - [NonNull] - public CustomerMergeable? mergeable { get; set; } - + [Description("Whether the customer can be merged with another customer.")] + [NonNull] + public CustomerMergeable? mergeable { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///A unique identifier for the customer that's used with Multipass login. /// - [Description("A unique identifier for the customer that's used with Multipass login.")] - public string? multipassIdentifier { get; set; } - + [Description("A unique identifier for the customer that's used with Multipass login.")] + public string? multipassIdentifier { get; set; } + /// ///A note about the customer. /// - [Description("A note about the customer.")] - public string? note { get; set; } - + [Description("A note about the customer.")] + public string? note { get; set; } + /// ///The number of orders that the customer has made at the store in their lifetime. /// - [Description("The number of orders that the customer has made at the store in their lifetime.")] - [NonNull] - public ulong? numberOfOrders { get; set; } - + [Description("The number of orders that the customer has made at the store in their lifetime.")] + [NonNull] + public ulong? numberOfOrders { get; set; } + /// ///A list of the customer's orders. /// - [Description("A list of the customer's orders.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("A list of the customer's orders.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///A list of the customer's payment methods. /// - [Description("A list of the customer's payment methods.")] - [NonNull] - public CustomerPaymentMethodConnection? paymentMethods { get; set; } - + [Description("A list of the customer's payment methods.")] + [NonNull] + public CustomerPaymentMethodConnection? paymentMethods { get; set; } + /// ///The customer's phone number. /// - [Description("The customer's phone number.")] - [Obsolete("Use `defaultPhoneNumber.phoneNumber` instead.")] - public string? phone { get; set; } - + [Description("The customer's phone number.")] + [Obsolete("Use `defaultPhoneNumber.phoneNumber` instead.")] + public string? phone { get; set; } + /// ///Possible subscriber states of a customer defined by their subscription contracts. /// - [Description("Possible subscriber states of a customer defined by their subscription contracts.")] - [NonNull] - [EnumType(typeof(CustomerProductSubscriberStatus))] - public string? productSubscriberStatus { get; set; } - + [Description("Possible subscriber states of a customer defined by their subscription contracts.")] + [NonNull] + [EnumType(typeof(CustomerProductSubscriberStatus))] + public string? productSubscriberStatus { get; set; } + /// ///The current SMS marketing state for the customer's phone number. /// ///If the customer does not have a phone number, then this property is `null`. /// - [Description("The current SMS marketing state for the customer's phone number.\n\nIf the customer does not have a phone number, then this property is `null`.")] - [Obsolete("Use `defaultPhoneNumber.marketingState`, `defaultPhoneNumber.marketingOptInLevel`, `defaultPhoneNumber.marketingUpdatedAt`, `defaultPhoneNumber.marketingCollectedFrom`, and `defaultPhoneNumber.sourceLocation` instead.")] - public CustomerSmsMarketingConsentState? smsMarketingConsent { get; set; } - + [Description("The current SMS marketing state for the customer's phone number.\n\nIf the customer does not have a phone number, then this property is `null`.")] + [Obsolete("Use `defaultPhoneNumber.marketingState`, `defaultPhoneNumber.marketingOptInLevel`, `defaultPhoneNumber.marketingUpdatedAt`, `defaultPhoneNumber.marketingCollectedFrom`, and `defaultPhoneNumber.sourceLocation` instead.")] + public CustomerSmsMarketingConsentState? smsMarketingConsent { get; set; } + /// ///The state of the customer's account with the shop. /// ///Please note that this only meaningful when Classic Customer Accounts is active. /// - [Description("The state of the customer's account with the shop.\n\nPlease note that this only meaningful when Classic Customer Accounts is active.")] - [NonNull] - [EnumType(typeof(CustomerState))] - public string? state { get; set; } - + [Description("The state of the customer's account with the shop.\n\nPlease note that this only meaningful when Classic Customer Accounts is active.")] + [NonNull] + [EnumType(typeof(CustomerState))] + public string? state { get; set; } + /// ///The statistics for a given customer. /// - [Description("The statistics for a given customer.")] - [NonNull] - public CustomerStatistics? statistics { get; set; } - + [Description("The statistics for a given customer.")] + [NonNull] + public CustomerStatistics? statistics { get; set; } + /// ///Returns a list of store credit accounts that belong to the owner resource. ///A store credit account owner can hold multiple accounts each with a different currency. /// - [Description("Returns a list of store credit accounts that belong to the owner resource.\nA store credit account owner can hold multiple accounts each with a different currency.")] - [NonNull] - public StoreCreditAccountConnection? storeCreditAccounts { get; set; } - + [Description("Returns a list of store credit accounts that belong to the owner resource.\nA store credit account owner can hold multiple accounts each with a different currency.")] + [NonNull] + public StoreCreditAccountConnection? storeCreditAccounts { get; set; } + /// ///A list of the customer's subscription contracts. /// - [Description("A list of the customer's subscription contracts.")] - [NonNull] - public SubscriptionContractConnection? subscriptionContracts { get; set; } - + [Description("A list of the customer's subscription contracts.")] + [NonNull] + public SubscriptionContractConnection? subscriptionContracts { get; set; } + /// ///A comma separated list of tags that have been added to the customer. /// - [Description("A comma separated list of tags that have been added to the customer.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("A comma separated list of tags that have been added to the customer.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///Whether the customer is exempt from being charged taxes on their orders. /// - [Description("Whether the customer is exempt from being charged taxes on their orders.")] - [NonNull] - public bool? taxExempt { get; set; } - + [Description("Whether the customer is exempt from being charged taxes on their orders.")] + [NonNull] + public bool? taxExempt { get; set; } + /// ///The list of tax exemptions applied to the customer. /// - [Description("The list of tax exemptions applied to the customer.")] - [NonNull] - public IEnumerable? taxExemptions { get; set; } - + [Description("The list of tax exemptions applied to the customer.")] + [NonNull] + public IEnumerable? taxExemptions { get; set; } + /// ///The URL to unsubscribe the customer from the mailing list. /// - [Description("The URL to unsubscribe the customer from the mailing list.")] - [Obsolete("Use `defaultEmailAddress.marketingUnsubscribeUrl` instead.")] - [NonNull] - public string? unsubscribeUrl { get; set; } - + [Description("The URL to unsubscribe the customer from the mailing list.")] + [Obsolete("Use `defaultEmailAddress.marketingUnsubscribeUrl` instead.")] + [NonNull] + public string? unsubscribeUrl { get; set; } + /// ///The date and time when the customer was last updated. /// - [Description("The date and time when the customer was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the customer was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///Whether the email address is formatted correctly. /// @@ -24432,1204 +24432,1204 @@ public class Customer : GraphQLObject, ICommentEventSubject, IHasEvent ///belongs to an existing domain. This doesn't guarantee that ///the email address actually exists. /// - [Description("Whether the email address is formatted correctly.\n\nReturns `true` when the email is formatted correctly and\nbelongs to an existing domain. This doesn't guarantee that\nthe email address actually exists.")] - [Obsolete("Use `defaultEmailAddress.validFormat` instead.")] - [NonNull] - public bool? validEmailAddress { get; set; } - + [Description("Whether the email address is formatted correctly.\n\nReturns `true` when the email is formatted correctly and\nbelongs to an existing domain. This doesn't guarantee that\nthe email address actually exists.")] + [Obsolete("Use `defaultEmailAddress.validFormat` instead.")] + [NonNull] + public bool? validEmailAddress { get; set; } + /// ///Whether the customer has verified their email address. Defaults to `true` if the customer is created through the Shopify admin or API. /// - [Description("Whether the customer has verified their email address. Defaults to `true` if the customer is created through the Shopify admin or API.")] - [NonNull] - public bool? verifiedEmail { get; set; } - } - + [Description("Whether the customer has verified their email address. Defaults to `true` if the customer is created through the Shopify admin or API.")] + [NonNull] + public bool? verifiedEmail { get; set; } + } + /// ///An app extension page for the customer account navigation menu. /// - [Description("An app extension page for the customer account navigation menu.")] - public class CustomerAccountAppExtensionPage : GraphQLObject, ICustomerAccountPage, INavigable, INode - { + [Description("An app extension page for the customer account navigation menu.")] + public class CustomerAccountAppExtensionPage : GraphQLObject, ICustomerAccountPage, INavigable, INode + { /// ///The UUID of the app extension. /// - [Description("The UUID of the app extension.")] - public string? appExtensionUuid { get; set; } - + [Description("The UUID of the app extension.")] + public string? appExtensionUuid { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///A unique, human-friendly string for the customer account page. /// - [Description("A unique, human-friendly string for the customer account page.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the customer account page.")] + [NonNull] + public string? handle { get; set; } + /// ///The unique ID for the customer account page. /// - [Description("The unique ID for the customer account page.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the customer account page.")] + [NonNull] + public string? id { get; set; } + /// ///The title of the customer account page. /// - [Description("The title of the customer account page.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the customer account page.")] + [NonNull] + public string? title { get; set; } + } + /// ///A native page for the customer account navigation menu. /// - [Description("A native page for the customer account navigation menu.")] - public class CustomerAccountNativePage : GraphQLObject, ICustomerAccountPage, INavigable, INode - { + [Description("A native page for the customer account navigation menu.")] + public class CustomerAccountNativePage : GraphQLObject, ICustomerAccountPage, INavigable, INode + { /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///A unique, human-friendly string for the customer account page. /// - [Description("A unique, human-friendly string for the customer account page.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the customer account page.")] + [NonNull] + public string? handle { get; set; } + /// ///The unique ID for the customer account page. /// - [Description("The unique ID for the customer account page.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the customer account page.")] + [NonNull] + public string? id { get; set; } + /// ///The type of customer account native page. /// - [Description("The type of customer account native page.")] - [NonNull] - [EnumType(typeof(CustomerAccountNativePagePageType))] - public string? pageType { get; set; } - + [Description("The type of customer account native page.")] + [NonNull] + [EnumType(typeof(CustomerAccountNativePagePageType))] + public string? pageType { get; set; } + /// ///The title of the customer account page. /// - [Description("The title of the customer account page.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the customer account page.")] + [NonNull] + public string? title { get; set; } + } + /// ///The type of customer account native page. /// - [Description("The type of customer account native page.")] - public enum CustomerAccountNativePagePageType - { + [Description("The type of customer account native page.")] + public enum CustomerAccountNativePagePageType + { /// ///An orders page type. /// - [Description("An orders page type.")] - NATIVE_ORDERS, + [Description("An orders page type.")] + NATIVE_ORDERS, /// ///A settings page type. /// - [Description("A settings page type.")] - NATIVE_SETTINGS, + [Description("A settings page type.")] + NATIVE_SETTINGS, /// ///A profile page type. /// - [Description("A profile page type.")] - NATIVE_PROFILE, + [Description("A profile page type.")] + NATIVE_PROFILE, /// ///An unknown page type. Represents new page types that may be added in future versions. /// - [Description("An unknown page type. Represents new page types that may be added in future versions.")] - UNKNOWN, - } - - public static class CustomerAccountNativePagePageTypeStringValues - { - public const string NATIVE_ORDERS = @"NATIVE_ORDERS"; - public const string NATIVE_SETTINGS = @"NATIVE_SETTINGS"; - public const string NATIVE_PROFILE = @"NATIVE_PROFILE"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("An unknown page type. Represents new page types that may be added in future versions.")] + UNKNOWN, + } + + public static class CustomerAccountNativePagePageTypeStringValues + { + public const string NATIVE_ORDERS = @"NATIVE_ORDERS"; + public const string NATIVE_SETTINGS = @"NATIVE_SETTINGS"; + public const string NATIVE_PROFILE = @"NATIVE_PROFILE"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///A customer account page. /// - [Description("A customer account page.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CustomerAccountAppExtensionPage), typeDiscriminator: "CustomerAccountAppExtensionPage")] - [JsonDerivedType(typeof(CustomerAccountNativePage), typeDiscriminator: "CustomerAccountNativePage")] - public interface ICustomerAccountPage : IGraphQLObject, INavigable, INode - { + [Description("A customer account page.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CustomerAccountAppExtensionPage), typeDiscriminator: "CustomerAccountAppExtensionPage")] + [JsonDerivedType(typeof(CustomerAccountNativePage), typeDiscriminator: "CustomerAccountNativePage")] + public interface ICustomerAccountPage : IGraphQLObject, INavigable, INode + { /// ///A unique, human-friendly string for the customer account page. /// - [Description("A unique, human-friendly string for the customer account page.")] - [NonNull] - public string? handle { get; } - + [Description("A unique, human-friendly string for the customer account page.")] + [NonNull] + public string? handle { get; } + /// ///The title of the customer account page. /// - [Description("The title of the customer account page.")] - [NonNull] - public string? title { get; } - } - + [Description("The title of the customer account page.")] + [NonNull] + public string? title { get; } + } + /// ///An auto-generated type for paginating through multiple CustomerAccountPages. /// - [Description("An auto-generated type for paginating through multiple CustomerAccountPages.")] - public class CustomerAccountPageConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CustomerAccountPages.")] + public class CustomerAccountPageConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CustomerAccountPageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CustomerAccountPageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CustomerAccountPageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CustomerAccountPage and a cursor during pagination. /// - [Description("An auto-generated type which holds one CustomerAccountPage and a cursor during pagination.")] - public class CustomerAccountPageEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CustomerAccountPage and a cursor during pagination.")] + public class CustomerAccountPageEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CustomerAccountPageEdge. /// - [Description("The item at the end of CustomerAccountPageEdge.")] - [NonNull] - public ICustomerAccountPage? node { get; set; } - } - + [Description("The item at the end of CustomerAccountPageEdge.")] + [NonNull] + public ICustomerAccountPage? node { get; set; } + } + /// ///Information about the shop's customer accounts. /// - [Description("Information about the shop's customer accounts.")] - public class CustomerAccountsV2 : GraphQLObject - { + [Description("Information about the shop's customer accounts.")] + public class CustomerAccountsV2 : GraphQLObject + { /// ///Indicates which version of customer accounts the merchant is using in online store and checkout. /// - [Description("Indicates which version of customer accounts the merchant is using in online store and checkout.")] - [NonNull] - [EnumType(typeof(CustomerAccountsVersion))] - public string? customerAccountsVersion { get; set; } - + [Description("Indicates which version of customer accounts the merchant is using in online store and checkout.")] + [NonNull] + [EnumType(typeof(CustomerAccountsVersion))] + public string? customerAccountsVersion { get; set; } + /// ///Login links are shown in online store and checkout. /// - [Description("Login links are shown in online store and checkout.")] - [NonNull] - public bool? loginLinksVisibleOnStorefrontAndCheckout { get; set; } - + [Description("Login links are shown in online store and checkout.")] + [NonNull] + public bool? loginLinksVisibleOnStorefrontAndCheckout { get; set; } + /// ///Customers are required to log in to their account before checkout. /// - [Description("Customers are required to log in to their account before checkout.")] - [NonNull] - public bool? loginRequiredAtCheckout { get; set; } - + [Description("Customers are required to log in to their account before checkout.")] + [NonNull] + public bool? loginRequiredAtCheckout { get; set; } + /// ///The root url for the customer accounts pages. /// - [Description("The root url for the customer accounts pages.")] - public string? url { get; set; } - } - + [Description("The root url for the customer accounts pages.")] + public string? url { get; set; } + } + /// ///The login redirection target for customer accounts. /// - [Description("The login redirection target for customer accounts.")] - public enum CustomerAccountsVersion - { + [Description("The login redirection target for customer accounts.")] + public enum CustomerAccountsVersion + { /// ///The customer is redirected to the classic customer accounts login page. /// - [Description("The customer is redirected to the classic customer accounts login page.")] - CLASSIC, + [Description("The customer is redirected to the classic customer accounts login page.")] + CLASSIC, /// ///The customer is redirected to the new customer accounts login page. /// - [Description("The customer is redirected to the new customer accounts login page.")] - NEW_CUSTOMER_ACCOUNTS, - } - - public static class CustomerAccountsVersionStringValues - { - public const string CLASSIC = @"CLASSIC"; - public const string NEW_CUSTOMER_ACCOUNTS = @"NEW_CUSTOMER_ACCOUNTS"; - } - + [Description("The customer is redirected to the new customer accounts login page.")] + NEW_CUSTOMER_ACCOUNTS, + } + + public static class CustomerAccountsVersionStringValues + { + public const string CLASSIC = @"CLASSIC"; + public const string NEW_CUSTOMER_ACCOUNTS = @"NEW_CUSTOMER_ACCOUNTS"; + } + /// ///Return type for `customerAddTaxExemptions` mutation. /// - [Description("Return type for `customerAddTaxExemptions` mutation.")] - public class CustomerAddTaxExemptionsPayload : GraphQLObject - { + [Description("Return type for `customerAddTaxExemptions` mutation.")] + public class CustomerAddTaxExemptionsPayload : GraphQLObject + { /// ///The updated customer. /// - [Description("The updated customer.")] - public Customer? customer { get; set; } - + [Description("The updated customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerAddressCreate` mutation. /// - [Description("Return type for `customerAddressCreate` mutation.")] - public class CustomerAddressCreatePayload : GraphQLObject - { + [Description("Return type for `customerAddressCreate` mutation.")] + public class CustomerAddressCreatePayload : GraphQLObject + { /// ///The created address. /// - [Description("The created address.")] - public MailingAddress? address { get; set; } - + [Description("The created address.")] + public MailingAddress? address { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerAddressDelete` mutation. /// - [Description("Return type for `customerAddressDelete` mutation.")] - public class CustomerAddressDeletePayload : GraphQLObject - { + [Description("Return type for `customerAddressDelete` mutation.")] + public class CustomerAddressDeletePayload : GraphQLObject + { /// ///The ID of the address deleted from the customer. /// - [Description("The ID of the address deleted from the customer.")] - public string? deletedAddressId { get; set; } - + [Description("The ID of the address deleted from the customer.")] + public string? deletedAddressId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerAddressUpdate` mutation. /// - [Description("Return type for `customerAddressUpdate` mutation.")] - public class CustomerAddressUpdatePayload : GraphQLObject - { + [Description("Return type for `customerAddressUpdate` mutation.")] + public class CustomerAddressUpdatePayload : GraphQLObject + { /// ///The updated address. /// - [Description("The updated address.")] - public MailingAddress? address { get; set; } - + [Description("The updated address.")] + public MailingAddress? address { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerCancelDataErasureUserError`. /// - [Description("Possible error codes that can be returned by `CustomerCancelDataErasureUserError`.")] - public enum CustomerCancelDataErasureErrorCode - { + [Description("Possible error codes that can be returned by `CustomerCancelDataErasureUserError`.")] + public enum CustomerCancelDataErasureErrorCode + { /// ///Customer does not exist. /// - [Description("Customer does not exist.")] - DOES_NOT_EXIST, + [Description("Customer does not exist.")] + DOES_NOT_EXIST, /// ///Failed to cancel customer data erasure. /// - [Description("Failed to cancel customer data erasure.")] - FAILED_TO_CANCEL, + [Description("Failed to cancel customer data erasure.")] + FAILED_TO_CANCEL, /// ///Customer's data is not scheduled for erasure. /// - [Description("Customer's data is not scheduled for erasure.")] - NOT_BEING_ERASED, + [Description("Customer's data is not scheduled for erasure.")] + NOT_BEING_ERASED, /// ///Only the original requester can cancel this data erasure. /// - [Description("Only the original requester can cancel this data erasure.")] - UNAUTHORIZED_CANCELLATION, - } - - public static class CustomerCancelDataErasureErrorCodeStringValues - { - public const string DOES_NOT_EXIST = @"DOES_NOT_EXIST"; - public const string FAILED_TO_CANCEL = @"FAILED_TO_CANCEL"; - public const string NOT_BEING_ERASED = @"NOT_BEING_ERASED"; - public const string UNAUTHORIZED_CANCELLATION = @"UNAUTHORIZED_CANCELLATION"; - } - + [Description("Only the original requester can cancel this data erasure.")] + UNAUTHORIZED_CANCELLATION, + } + + public static class CustomerCancelDataErasureErrorCodeStringValues + { + public const string DOES_NOT_EXIST = @"DOES_NOT_EXIST"; + public const string FAILED_TO_CANCEL = @"FAILED_TO_CANCEL"; + public const string NOT_BEING_ERASED = @"NOT_BEING_ERASED"; + public const string UNAUTHORIZED_CANCELLATION = @"UNAUTHORIZED_CANCELLATION"; + } + /// ///Return type for `customerCancelDataErasure` mutation. /// - [Description("Return type for `customerCancelDataErasure` mutation.")] - public class CustomerCancelDataErasurePayload : GraphQLObject - { + [Description("Return type for `customerCancelDataErasure` mutation.")] + public class CustomerCancelDataErasurePayload : GraphQLObject + { /// ///The ID of the customer whose pending data erasure has been cancelled. /// - [Description("The ID of the customer whose pending data erasure has been cancelled.")] - public string? customerId { get; set; } - + [Description("The ID of the customer whose pending data erasure has been cancelled.")] + public string? customerId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs when cancelling a customer data erasure request. /// - [Description("An error that occurs when cancelling a customer data erasure request.")] - public class CustomerCancelDataErasureUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs when cancelling a customer data erasure request.")] + public class CustomerCancelDataErasureUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerCancelDataErasureErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerCancelDataErasureErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///An auto-generated type for paginating through multiple Customers. /// - [Description("An auto-generated type for paginating through multiple Customers.")] - public class CustomerConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Customers.")] + public class CustomerConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CustomerEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CustomerEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CustomerEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The source that collected the customer's consent to receive marketing materials. /// - [Description("The source that collected the customer's consent to receive marketing materials.")] - public enum CustomerConsentCollectedFrom - { + [Description("The source that collected the customer's consent to receive marketing materials.")] + public enum CustomerConsentCollectedFrom + { /// ///The customer consent was collected by Shopify. /// - [Description("The customer consent was collected by Shopify.")] - SHOPIFY, + [Description("The customer consent was collected by Shopify.")] + SHOPIFY, /// ///The customer consent was collected outside of Shopify. /// - [Description("The customer consent was collected outside of Shopify.")] - OTHER, - } - - public static class CustomerConsentCollectedFromStringValues - { - public const string SHOPIFY = @"SHOPIFY"; - public const string OTHER = @"OTHER"; - } - + [Description("The customer consent was collected outside of Shopify.")] + OTHER, + } + + public static class CustomerConsentCollectedFromStringValues + { + public const string SHOPIFY = @"SHOPIFY"; + public const string OTHER = @"OTHER"; + } + /// ///Return type for `customerCreate` mutation. /// - [Description("Return type for `customerCreate` mutation.")] - public class CustomerCreatePayload : GraphQLObject - { + [Description("Return type for `customerCreate` mutation.")] + public class CustomerCreatePayload : GraphQLObject + { /// ///The created customer. /// - [Description("The created customer.")] - public Customer? customer { get; set; } - + [Description("The created customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a card instrument for customer payment method. /// - [Description("Represents a card instrument for customer payment method.")] - public class CustomerCreditCard : GraphQLObject, ICustomerPaymentInstrument - { + [Description("Represents a card instrument for customer payment method.")] + public class CustomerCreditCard : GraphQLObject, ICustomerPaymentInstrument + { /// ///The billing address of the card. /// - [Description("The billing address of the card.")] - public CustomerCreditCardBillingAddress? billingAddress { get; set; } - + [Description("The billing address of the card.")] + public CustomerCreditCardBillingAddress? billingAddress { get; set; } + /// ///The brand of the card. /// - [Description("The brand of the card.")] - [NonNull] - public string? brand { get; set; } - + [Description("The brand of the card.")] + [NonNull] + public string? brand { get; set; } + /// ///Whether the card is about to expire. /// - [Description("Whether the card is about to expire.")] - [NonNull] - public bool? expiresSoon { get; set; } - + [Description("Whether the card is about to expire.")] + [NonNull] + public bool? expiresSoon { get; set; } + /// ///The expiry month of the card. /// - [Description("The expiry month of the card.")] - [NonNull] - public int? expiryMonth { get; set; } - + [Description("The expiry month of the card.")] + [NonNull] + public int? expiryMonth { get; set; } + /// ///The expiry year of the card. /// - [Description("The expiry year of the card.")] - [NonNull] - public int? expiryYear { get; set; } - + [Description("The expiry year of the card.")] + [NonNull] + public int? expiryYear { get; set; } + /// ///The card's BIN number. /// - [Description("The card's BIN number.")] - public string? firstDigits { get; set; } - + [Description("The card's BIN number.")] + public string? firstDigits { get; set; } + /// ///The payment method can be revoked if there are no active subscription contracts. /// - [Description("The payment method can be revoked if there are no active subscription contracts.")] - [NonNull] - public bool? isRevocable { get; set; } - + [Description("The payment method can be revoked if there are no active subscription contracts.")] + [NonNull] + public bool? isRevocable { get; set; } + /// ///The last 4 digits of the card. /// - [Description("The last 4 digits of the card.")] - [NonNull] - public string? lastDigits { get; set; } - + [Description("The last 4 digits of the card.")] + [NonNull] + public string? lastDigits { get; set; } + /// ///The masked card number with only the last 4 digits displayed. /// - [Description("The masked card number with only the last 4 digits displayed.")] - [NonNull] - public string? maskedNumber { get; set; } - + [Description("The masked card number with only the last 4 digits displayed.")] + [NonNull] + public string? maskedNumber { get; set; } + /// ///The name of the card holder. /// - [Description("The name of the card holder.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the card holder.")] + [NonNull] + public string? name { get; set; } + /// ///The source of the card if coming from a wallet such as Apple Pay. /// - [Description("The source of the card if coming from a wallet such as Apple Pay.")] - public string? source { get; set; } - + [Description("The source of the card if coming from a wallet such as Apple Pay.")] + public string? source { get; set; } + /// ///The last 4 digits of the Device Account Number. /// - [Description("The last 4 digits of the Device Account Number.")] - public string? virtualLastDigits { get; set; } - } - + [Description("The last 4 digits of the Device Account Number.")] + public string? virtualLastDigits { get; set; } + } + /// ///The billing address of a credit card payment instrument. /// - [Description("The billing address of a credit card payment instrument.")] - public class CustomerCreditCardBillingAddress : GraphQLObject - { + [Description("The billing address of a credit card payment instrument.")] + public class CustomerCreditCardBillingAddress : GraphQLObject + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - public string? country { get; set; } - + [Description("The name of the country.")] + public string? country { get; set; } + /// ///The two-letter code for the country of the address. ///For example, US. /// - [Description("The two-letter code for the country of the address.\nFor example, US.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter code for the country of the address.\nFor example, US.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The first name in the billing address. /// - [Description("The first name in the billing address.")] - public string? firstName { get; set; } - + [Description("The first name in the billing address.")] + public string? firstName { get; set; } + /// ///The last name in the billing address. /// - [Description("The last name in the billing address.")] - public string? lastName { get; set; } - + [Description("The last name in the billing address.")] + public string? lastName { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + public string? province { get; set; } + /// ///The alphanumeric code for the region. ///For example, ON. /// - [Description("The alphanumeric code for the region.\nFor example, ON.")] - public string? provinceCode { get; set; } - + [Description("The alphanumeric code for the region.\nFor example, ON.")] + public string? provinceCode { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + } + /// ///The input fields to delete a customer. /// - [Description("The input fields to delete a customer.")] - public class CustomerDeleteInput : GraphQLObject - { + [Description("The input fields to delete a customer.")] + public class CustomerDeleteInput : GraphQLObject + { /// ///The ID of the customer to delete. /// - [Description("The ID of the customer to delete.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the customer to delete.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `customerDelete` mutation. /// - [Description("Return type for `customerDelete` mutation.")] - public class CustomerDeletePayload : GraphQLObject - { + [Description("Return type for `customerDelete` mutation.")] + public class CustomerDeletePayload : GraphQLObject + { /// ///The ID of the deleted customer. /// - [Description("The ID of the deleted customer.")] - public string? deletedCustomerId { get; set; } - + [Description("The ID of the deleted customer.")] + public string? deletedCustomerId { get; set; } + /// ///The shop of the deleted customer. /// - [Description("The shop of the deleted customer.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The shop of the deleted customer.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Customer and a cursor during pagination. /// - [Description("An auto-generated type which holds one Customer and a cursor during pagination.")] - public class CustomerEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Customer and a cursor during pagination.")] + public class CustomerEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CustomerEdge. /// - [Description("The item at the end of CustomerEdge.")] - [NonNull] - public Customer? node { get; set; } - } - + [Description("The item at the end of CustomerEdge.")] + [NonNull] + public Customer? node { get; set; } + } + /// ///Represents an email address. /// - [Description("Represents an email address.")] - public class CustomerEmailAddress : GraphQLObject - { + [Description("Represents an email address.")] + public class CustomerEmailAddress : GraphQLObject + { /// ///The customer's default email address. /// - [Description("The customer's default email address.")] - [NonNull] - public string? emailAddress { get; set; } - + [Description("The customer's default email address.")] + [NonNull] + public string? emailAddress { get; set; } + /// ///The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, ///received when the marketing consent was updated. /// - [Description("The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines,\nreceived when the marketing consent was updated.")] - [EnumType(typeof(CustomerMarketingOptInLevel))] - public string? marketingOptInLevel { get; set; } - + [Description("The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines,\nreceived when the marketing consent was updated.")] + [EnumType(typeof(CustomerMarketingOptInLevel))] + public string? marketingOptInLevel { get; set; } + /// ///Whether the customer has subscribed to email marketing. /// - [Description("Whether the customer has subscribed to email marketing.")] - [NonNull] - [EnumType(typeof(CustomerEmailAddressMarketingState))] - public string? marketingState { get; set; } - + [Description("Whether the customer has subscribed to email marketing.")] + [NonNull] + [EnumType(typeof(CustomerEmailAddressMarketingState))] + public string? marketingState { get; set; } + /// ///The URL to unsubscribe a member from all mailing lists. /// - [Description("The URL to unsubscribe a member from all mailing lists.")] - [NonNull] - public string? marketingUnsubscribeUrl { get; set; } - + [Description("The URL to unsubscribe a member from all mailing lists.")] + [NonNull] + public string? marketingUnsubscribeUrl { get; set; } + /// ///The date and time at which the marketing consent was updated. /// ///No date is provided if the email address never updated its marketing consent. /// - [Description("The date and time at which the marketing consent was updated.\n\nNo date is provided if the email address never updated its marketing consent.")] - public DateTime? marketingUpdatedAt { get; set; } - + [Description("The date and time at which the marketing consent was updated.\n\nNo date is provided if the email address never updated its marketing consent.")] + public DateTime? marketingUpdatedAt { get; set; } + /// ///Whether the customer has opted in to having their opened emails tracked. /// - [Description("Whether the customer has opted in to having their opened emails tracked.")] - [NonNull] - [EnumType(typeof(CustomerEmailAddressOpenTrackingLevel))] - public string? openTrackingLevel { get; set; } - + [Description("Whether the customer has opted in to having their opened emails tracked.")] + [NonNull] + [EnumType(typeof(CustomerEmailAddressOpenTrackingLevel))] + public string? openTrackingLevel { get; set; } + /// ///The URL that can be used to opt a customer in or out of email open tracking. /// - [Description("The URL that can be used to opt a customer in or out of email open tracking.")] - [NonNull] - public string? openTrackingUrl { get; set; } - + [Description("The URL that can be used to opt a customer in or out of email open tracking.")] + [NonNull] + public string? openTrackingUrl { get; set; } + /// ///The location where the customer consented to receive marketing material by email. /// - [Description("The location where the customer consented to receive marketing material by email.")] - public Location? sourceLocation { get; set; } - + [Description("The location where the customer consented to receive marketing material by email.")] + public Location? sourceLocation { get; set; } + /// ///Whether the email address is formatted correctly. /// ///Returns `true` when the email is formatted correctly. This doesn't guarantee that the email address ///actually exists. /// - [Description("Whether the email address is formatted correctly.\n\nReturns `true` when the email is formatted correctly. This doesn't guarantee that the email address\nactually exists.")] - [NonNull] - public bool? validFormat { get; set; } - } - + [Description("Whether the email address is formatted correctly.\n\nReturns `true` when the email is formatted correctly. This doesn't guarantee that the email address\nactually exists.")] + [NonNull] + public bool? validFormat { get; set; } + } + /// ///Possible marketing states for the customer’s email address. /// - [Description("Possible marketing states for the customer’s email address.")] - public enum CustomerEmailAddressMarketingState - { + [Description("Possible marketing states for the customer’s email address.")] + public enum CustomerEmailAddressMarketingState + { /// ///The customer’s email address marketing state is invalid. /// - [Description("The customer’s email address marketing state is invalid.")] - INVALID, + [Description("The customer’s email address marketing state is invalid.")] + INVALID, /// ///The customer is not subscribed to email marketing. /// - [Description("The customer is not subscribed to email marketing.")] - NOT_SUBSCRIBED, + [Description("The customer is not subscribed to email marketing.")] + NOT_SUBSCRIBED, /// ///The customer is in the process of subscribing to email marketing. /// - [Description("The customer is in the process of subscribing to email marketing.")] - PENDING, + [Description("The customer is in the process of subscribing to email marketing.")] + PENDING, /// ///The customer is subscribed to email marketing. /// - [Description("The customer is subscribed to email marketing.")] - SUBSCRIBED, + [Description("The customer is subscribed to email marketing.")] + SUBSCRIBED, /// ///The customer is not subscribed to email marketing but was previously subscribed. /// - [Description("The customer is not subscribed to email marketing but was previously subscribed.")] - UNSUBSCRIBED, - } - - public static class CustomerEmailAddressMarketingStateStringValues - { - public const string INVALID = @"INVALID"; - public const string NOT_SUBSCRIBED = @"NOT_SUBSCRIBED"; - public const string PENDING = @"PENDING"; - public const string SUBSCRIBED = @"SUBSCRIBED"; - public const string UNSUBSCRIBED = @"UNSUBSCRIBED"; - } - + [Description("The customer is not subscribed to email marketing but was previously subscribed.")] + UNSUBSCRIBED, + } + + public static class CustomerEmailAddressMarketingStateStringValues + { + public const string INVALID = @"INVALID"; + public const string NOT_SUBSCRIBED = @"NOT_SUBSCRIBED"; + public const string PENDING = @"PENDING"; + public const string SUBSCRIBED = @"SUBSCRIBED"; + public const string UNSUBSCRIBED = @"UNSUBSCRIBED"; + } + /// ///The different levels related to whether a customer has opted in to having their opened emails tracked. /// - [Description("The different levels related to whether a customer has opted in to having their opened emails tracked.")] - public enum CustomerEmailAddressOpenTrackingLevel - { + [Description("The different levels related to whether a customer has opted in to having their opened emails tracked.")] + public enum CustomerEmailAddressOpenTrackingLevel + { /// ///The customer has not specified whether they want to opt in or out of having their open emails tracked. /// - [Description("The customer has not specified whether they want to opt in or out of having their open emails tracked.")] - UNKNOWN, + [Description("The customer has not specified whether they want to opt in or out of having their open emails tracked.")] + UNKNOWN, /// ///The customer has opted in to having their open emails tracked. /// - [Description("The customer has opted in to having their open emails tracked.")] - OPTED_IN, + [Description("The customer has opted in to having their open emails tracked.")] + OPTED_IN, /// ///The customer has opted out of having their open emails tracked. /// - [Description("The customer has opted out of having their open emails tracked.")] - OPTED_OUT, - } - - public static class CustomerEmailAddressOpenTrackingLevelStringValues - { - public const string UNKNOWN = @"UNKNOWN"; - public const string OPTED_IN = @"OPTED_IN"; - public const string OPTED_OUT = @"OPTED_OUT"; - } - + [Description("The customer has opted out of having their open emails tracked.")] + OPTED_OUT, + } + + public static class CustomerEmailAddressOpenTrackingLevelStringValues + { + public const string UNKNOWN = @"UNKNOWN"; + public const string OPTED_IN = @"OPTED_IN"; + public const string OPTED_OUT = @"OPTED_OUT"; + } + /// ///Information that describes when a customer consented to /// receiving marketing material by email. /// - [Description("Information that describes when a customer consented to\n receiving marketing material by email.")] - public class CustomerEmailMarketingConsentInput : GraphQLObject - { + [Description("Information that describes when a customer consented to\n receiving marketing material by email.")] + public class CustomerEmailMarketingConsentInput : GraphQLObject + { /// ///The customer opt-in level at the time of subscribing to marketing material. /// - [Description("The customer opt-in level at the time of subscribing to marketing material.")] - [EnumType(typeof(CustomerMarketingOptInLevel))] - public string? marketingOptInLevel { get; set; } - + [Description("The customer opt-in level at the time of subscribing to marketing material.")] + [EnumType(typeof(CustomerMarketingOptInLevel))] + public string? marketingOptInLevel { get; set; } + /// ///The current marketing state associated with the customer's email. /// If the customer doesn't have an email, then this field is `null`. /// - [Description("The current marketing state associated with the customer's email.\n If the customer doesn't have an email, then this field is `null`.")] - [NonNull] - [EnumType(typeof(CustomerEmailMarketingState))] - public string? marketingState { get; set; } - + [Description("The current marketing state associated with the customer's email.\n If the customer doesn't have an email, then this field is `null`.")] + [NonNull] + [EnumType(typeof(CustomerEmailMarketingState))] + public string? marketingState { get; set; } + /// ///The latest date and time when the customer consented or objected to /// receiving marketing material by email. /// - [Description("The latest date and time when the customer consented or objected to\n receiving marketing material by email.")] - public DateTime? consentUpdatedAt { get; set; } - + [Description("The latest date and time when the customer consented or objected to\n receiving marketing material by email.")] + public DateTime? consentUpdatedAt { get; set; } + /// ///Identifies the location where the customer consented to receiving marketing material by email. /// - [Description("Identifies the location where the customer consented to receiving marketing material by email.")] - public string? sourceLocationId { get; set; } - } - + [Description("Identifies the location where the customer consented to receiving marketing material by email.")] + public string? sourceLocationId { get; set; } + } + /// ///The record of when a customer consented to receive marketing material by email. /// - [Description("The record of when a customer consented to receive marketing material by email.")] - public class CustomerEmailMarketingConsentState : GraphQLObject - { + [Description("The record of when a customer consented to receive marketing material by email.")] + public class CustomerEmailMarketingConsentState : GraphQLObject + { /// ///The date and time at which the customer consented to receive marketing material by email. ///The customer's consent state reflects the consent record with the most recent `consent_updated_at` date. ///If no date is provided, then the date and time at which the consent information was sent is used. /// - [Description("The date and time at which the customer consented to receive marketing material by email.\nThe customer's consent state reflects the consent record with the most recent `consent_updated_at` date.\nIf no date is provided, then the date and time at which the consent information was sent is used.")] - public DateTime? consentUpdatedAt { get; set; } - + [Description("The date and time at which the customer consented to receive marketing material by email.\nThe customer's consent state reflects the consent record with the most recent `consent_updated_at` date.\nIf no date is provided, then the date and time at which the consent information was sent is used.")] + public DateTime? consentUpdatedAt { get; set; } + /// ///The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, ///that the customer gave when they consented to receive marketing material by email. /// - [Description("The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines,\nthat the customer gave when they consented to receive marketing material by email.")] - [EnumType(typeof(CustomerMarketingOptInLevel))] - public string? marketingOptInLevel { get; set; } - + [Description("The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines,\nthat the customer gave when they consented to receive marketing material by email.")] + [EnumType(typeof(CustomerMarketingOptInLevel))] + public string? marketingOptInLevel { get; set; } + /// ///The current email marketing state for the customer. /// - [Description("The current email marketing state for the customer.")] - [NonNull] - [EnumType(typeof(CustomerEmailMarketingState))] - public string? marketingState { get; set; } - + [Description("The current email marketing state for the customer.")] + [NonNull] + [EnumType(typeof(CustomerEmailMarketingState))] + public string? marketingState { get; set; } + /// ///The location where the customer consented to receive marketing material by email. /// - [Description("The location where the customer consented to receive marketing material by email.")] - public Location? sourceLocation { get; set; } - } - + [Description("The location where the customer consented to receive marketing material by email.")] + public Location? sourceLocation { get; set; } + } + /// ///The input fields for the email consent information to update for a given customer ID. /// - [Description("The input fields for the email consent information to update for a given customer ID.")] - public class CustomerEmailMarketingConsentUpdateInput : GraphQLObject - { + [Description("The input fields for the email consent information to update for a given customer ID.")] + public class CustomerEmailMarketingConsentUpdateInput : GraphQLObject + { /// ///The ID of the customer for which to update the email marketing consent information. The customer must have a unique email address associated to the record. If not, add the email address using the `customerUpdate` mutation first. /// - [Description("The ID of the customer for which to update the email marketing consent information. The customer must have a unique email address associated to the record. If not, add the email address using the `customerUpdate` mutation first.")] - [NonNull] - public string? customerId { get; set; } - + [Description("The ID of the customer for which to update the email marketing consent information. The customer must have a unique email address associated to the record. If not, add the email address using the `customerUpdate` mutation first.")] + [NonNull] + public string? customerId { get; set; } + /// ///The marketing consent information when the customer consented to receiving marketing material by email. /// - [Description("The marketing consent information when the customer consented to receiving marketing material by email.")] - [NonNull] - public CustomerEmailMarketingConsentInput? emailMarketingConsent { get; set; } - } - + [Description("The marketing consent information when the customer consented to receiving marketing material by email.")] + [NonNull] + public CustomerEmailMarketingConsentInput? emailMarketingConsent { get; set; } + } + /// ///Return type for `customerEmailMarketingConsentUpdate` mutation. /// - [Description("Return type for `customerEmailMarketingConsentUpdate` mutation.")] - public class CustomerEmailMarketingConsentUpdatePayload : GraphQLObject - { + [Description("Return type for `customerEmailMarketingConsentUpdate` mutation.")] + public class CustomerEmailMarketingConsentUpdatePayload : GraphQLObject + { /// ///The updated customer. /// - [Description("The updated customer.")] - public Customer? customer { get; set; } - + [Description("The updated customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CustomerEmailMarketingConsentUpdate`. /// - [Description("An error that occurs during the execution of `CustomerEmailMarketingConsentUpdate`.")] - public class CustomerEmailMarketingConsentUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CustomerEmailMarketingConsentUpdate`.")] + public class CustomerEmailMarketingConsentUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerEmailMarketingConsentUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerEmailMarketingConsentUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerEmailMarketingConsentUpdateUserError`. /// - [Description("Possible error codes that can be returned by `CustomerEmailMarketingConsentUpdateUserError`.")] - public enum CustomerEmailMarketingConsentUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerEmailMarketingConsentUpdateUserError`.")] + public enum CustomerEmailMarketingConsentUpdateUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///Missing a required argument. /// - [Description("Missing a required argument.")] - MISSING_ARGUMENT, - } - - public static class CustomerEmailMarketingConsentUpdateUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string INCLUSION = @"INCLUSION"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; - } - + [Description("Missing a required argument.")] + MISSING_ARGUMENT, + } + + public static class CustomerEmailMarketingConsentUpdateUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string INCLUSION = @"INCLUSION"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; + } + /// ///The possible email marketing states for a customer. /// - [Description("The possible email marketing states for a customer.")] - public enum CustomerEmailMarketingState - { + [Description("The possible email marketing states for a customer.")] + public enum CustomerEmailMarketingState + { /// ///The customer isn't subscribed to email marketing. /// - [Description("The customer isn't subscribed to email marketing.")] - NOT_SUBSCRIBED, + [Description("The customer isn't subscribed to email marketing.")] + NOT_SUBSCRIBED, /// ///The customer is in the process of subscribing to email marketing. /// - [Description("The customer is in the process of subscribing to email marketing.")] - PENDING, + [Description("The customer is in the process of subscribing to email marketing.")] + PENDING, /// ///The customer is subscribed to email marketing. /// - [Description("The customer is subscribed to email marketing.")] - SUBSCRIBED, + [Description("The customer is subscribed to email marketing.")] + SUBSCRIBED, /// ///The customer isn't currently subscribed to email marketing but was previously subscribed. /// - [Description("The customer isn't currently subscribed to email marketing but was previously subscribed.")] - UNSUBSCRIBED, + [Description("The customer isn't currently subscribed to email marketing but was previously subscribed.")] + UNSUBSCRIBED, /// ///The customer's personal data is erased. This value is internally-set and read-only. /// - [Description("The customer's personal data is erased. This value is internally-set and read-only.")] - REDACTED, + [Description("The customer's personal data is erased. This value is internally-set and read-only.")] + REDACTED, /// ///The customer’s email address marketing state is invalid. /// - [Description("The customer’s email address marketing state is invalid.")] - INVALID, - } - - public static class CustomerEmailMarketingStateStringValues - { - public const string NOT_SUBSCRIBED = @"NOT_SUBSCRIBED"; - public const string PENDING = @"PENDING"; - public const string SUBSCRIBED = @"SUBSCRIBED"; - public const string UNSUBSCRIBED = @"UNSUBSCRIBED"; - public const string REDACTED = @"REDACTED"; - public const string INVALID = @"INVALID"; - } - + [Description("The customer’s email address marketing state is invalid.")] + INVALID, + } + + public static class CustomerEmailMarketingStateStringValues + { + public const string NOT_SUBSCRIBED = @"NOT_SUBSCRIBED"; + public const string PENDING = @"PENDING"; + public const string SUBSCRIBED = @"SUBSCRIBED"; + public const string UNSUBSCRIBED = @"UNSUBSCRIBED"; + public const string REDACTED = @"REDACTED"; + public const string INVALID = @"INVALID"; + } + /// ///Return type for `customerGenerateAccountActivationUrl` mutation. /// - [Description("Return type for `customerGenerateAccountActivationUrl` mutation.")] - public class CustomerGenerateAccountActivationUrlPayload : GraphQLObject - { + [Description("Return type for `customerGenerateAccountActivationUrl` mutation.")] + public class CustomerGenerateAccountActivationUrlPayload : GraphQLObject + { /// ///The generated account activation URL. /// - [Description("The generated account activation URL.")] - public string? accountActivationUrl { get; set; } - + [Description("The generated account activation URL.")] + public string? accountActivationUrl { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for identifying a customer. /// - [Description("The input fields for identifying a customer.")] - public class CustomerIdentifierInput : GraphQLObject - { + [Description("The input fields for identifying a customer.")] + public class CustomerIdentifierInput : GraphQLObject + { /// ///The ID of the customer. /// - [Description("The ID of the customer.")] - public string? id { get; set; } - + [Description("The ID of the customer.")] + public string? id { get; set; } + /// ///The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the customer. /// - [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the customer.")] - public UniqueMetafieldValueInput? customId { get; set; } - + [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the customer.")] + public UniqueMetafieldValueInput? customId { get; set; } + /// ///The email address of the customer. /// - [Description("The email address of the customer.")] - public string? emailAddress { get; set; } - + [Description("The email address of the customer.")] + public string? emailAddress { get; set; } + /// ///The phone number of the customer. /// - [Description("The phone number of the customer.")] - public string? phoneNumber { get; set; } - } - + [Description("The phone number of the customer.")] + public string? phoneNumber { get; set; } + } + /// ///The input fields and values to use when creating or updating a customer. /// - [Description("The input fields and values to use when creating or updating a customer.")] - public class CustomerInput : GraphQLObject - { + [Description("The input fields and values to use when creating or updating a customer.")] + public class CustomerInput : GraphQLObject + { /// ///The addresses for a customer. /// - [Description("The addresses for a customer.")] - public IEnumerable? addresses { get; set; } - + [Description("The addresses for a customer.")] + public IEnumerable? addresses { get; set; } + /// ///The unique email address of the customer. /// - [Description("The unique email address of the customer.")] - public string? email { get; set; } - + [Description("The unique email address of the customer.")] + public string? email { get; set; } + /// ///The customer's first name. /// - [Description("The customer's first name.")] - public string? firstName { get; set; } - + [Description("The customer's first name.")] + public string? firstName { get; set; } + /// ///The ID of the customer to update. /// - [Description("The ID of the customer to update.")] - public string? id { get; set; } - + [Description("The ID of the customer to update.")] + public string? id { get; set; } + /// ///The customer's last name. /// - [Description("The customer's last name.")] - public string? lastName { get; set; } - + [Description("The customer's last name.")] + public string? lastName { get; set; } + /// ///The customer's locale. /// - [Description("The customer's locale.")] - public string? locale { get; set; } - + [Description("The customer's locale.")] + public string? locale { get; set; } + /// ///Additional metafields to associate to the customer. /// - [Description("Additional metafields to associate to the customer.")] - public IEnumerable? metafields { get; set; } - + [Description("Additional metafields to associate to the customer.")] + public IEnumerable? metafields { get; set; } + /// ///A note about the customer. /// - [Description("A note about the customer.")] - public string? note { get; set; } - + [Description("A note about the customer.")] + public string? note { get; set; } + /// ///The unique phone number for the customer. /// - [Description("The unique phone number for the customer.")] - public string? phone { get; set; } - + [Description("The unique phone number for the customer.")] + public string? phone { get; set; } + /// ///A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: `["tag1", "tag2", "tag3"]`, `"tag1, tag2, tag3"` /// @@ -25637,2516 +25637,2516 @@ public class CustomerInput : GraphQLObject ///existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: `[\"tag1\", \"tag2\", \"tag3\"]`, `\"tag1, tag2, tag3\"`\n\nUpdating `tags` overwrites any existing tags that were previously added to the customer. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - public IEnumerable? tags { get; set; } - + [Description("A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: `[\"tag1\", \"tag2\", \"tag3\"]`, `\"tag1, tag2, tag3\"`\n\nUpdating `tags` overwrites any existing tags that were previously added to the customer. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + public IEnumerable? tags { get; set; } + /// ///Information that describes when the customer consented to receiving marketing /// material by email. The `email` field is required when creating a customer with email marketing /// consent information. /// - [Description("Information that describes when the customer consented to receiving marketing\n material by email. The `email` field is required when creating a customer with email marketing\n consent information.")] - public CustomerEmailMarketingConsentInput? emailMarketingConsent { get; set; } - + [Description("Information that describes when the customer consented to receiving marketing\n material by email. The `email` field is required when creating a customer with email marketing\n consent information.")] + public CustomerEmailMarketingConsentInput? emailMarketingConsent { get; set; } + /// ///The marketing consent information when the customer consented to receiving marketing /// material by SMS. The `phone` field is required when creating a customer with SMS /// marketing consent information. /// - [Description("The marketing consent information when the customer consented to receiving marketing\n material by SMS. The `phone` field is required when creating a customer with SMS\n marketing consent information.")] - public CustomerSmsMarketingConsentInput? smsMarketingConsent { get; set; } - + [Description("The marketing consent information when the customer consented to receiving marketing\n material by SMS. The `phone` field is required when creating a customer with SMS\n marketing consent information.")] + public CustomerSmsMarketingConsentInput? smsMarketingConsent { get; set; } + /// ///Whether the customer is exempt from paying taxes on their order. /// - [Description("Whether the customer is exempt from paying taxes on their order.")] - public bool? taxExempt { get; set; } - + [Description("Whether the customer is exempt from paying taxes on their order.")] + public bool? taxExempt { get; set; } + /// ///The list of tax exemptions to apply to the customer. /// - [Description("The list of tax exemptions to apply to the customer.")] - public IEnumerable? taxExemptions { get; set; } - + [Description("The list of tax exemptions to apply to the customer.")] + public IEnumerable? taxExemptions { get; set; } + /// ///A unique identifier for the customer that's used with Multipass login. /// - [Description("A unique identifier for the customer that's used with Multipass login.")] - public string? multipassIdentifier { get; set; } - } - + [Description("A unique identifier for the customer that's used with Multipass login.")] + public string? multipassIdentifier { get; set; } + } + /// ///Represents a customer's visiting activities on a shop's online store. /// - [Description("Represents a customer's visiting activities on a shop's online store.")] - public class CustomerJourney : GraphQLObject - { + [Description("Represents a customer's visiting activities on a shop's online store.")] + public class CustomerJourney : GraphQLObject + { /// ///The position of the current order within the customer's order history. /// - [Description("The position of the current order within the customer's order history.")] - [NonNull] - public int? customerOrderIndex { get; set; } - + [Description("The position of the current order within the customer's order history.")] + [NonNull] + public int? customerOrderIndex { get; set; } + /// ///The amount of days between first session and order creation date. First session represents first session since the last order, or first session within the 30 day attribution window, if more than 30 days has passed since the last order. /// - [Description("The amount of days between first session and order creation date. First session represents first session since the last order, or first session within the 30 day attribution window, if more than 30 days has passed since the last order.")] - [NonNull] - public int? daysToConversion { get; set; } - + [Description("The amount of days between first session and order creation date. First session represents first session since the last order, or first session within the 30 day attribution window, if more than 30 days has passed since the last order.")] + [NonNull] + public int? daysToConversion { get; set; } + /// ///The customer's first session going into the shop. /// - [Description("The customer's first session going into the shop.")] - [NonNull] - public CustomerVisit? firstVisit { get; set; } - + [Description("The customer's first session going into the shop.")] + [NonNull] + public CustomerVisit? firstVisit { get; set; } + /// ///The last session before an order is made. /// - [Description("The last session before an order is made.")] - public CustomerVisit? lastVisit { get; set; } - + [Description("The last session before an order is made.")] + public CustomerVisit? lastVisit { get; set; } + /// ///Events preceding a customer order, such as shop sessions. /// - [Description("Events preceding a customer order, such as shop sessions.")] - [NonNull] - public IEnumerable? moments { get; set; } - } - + [Description("Events preceding a customer order, such as shop sessions.")] + [NonNull] + public IEnumerable? moments { get; set; } + } + /// ///Represents a customer's visiting activities on a shop's online store. /// - [Description("Represents a customer's visiting activities on a shop's online store.")] - public class CustomerJourneySummary : GraphQLObject - { + [Description("Represents a customer's visiting activities on a shop's online store.")] + public class CustomerJourneySummary : GraphQLObject + { /// ///The position of the current order within the customer's order history. Test orders aren't included. /// - [Description("The position of the current order within the customer's order history. Test orders aren't included.")] - public int? customerOrderIndex { get; set; } - + [Description("The position of the current order within the customer's order history. Test orders aren't included.")] + public int? customerOrderIndex { get; set; } + /// ///The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order. /// - [Description("The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order.")] - public int? daysToConversion { get; set; } - + [Description("The number of days between the first session and the order creation date. The first session represents the first session since the last order, or the first session within the 30 day attribution window, if more than 30 days have passed since the last order.")] + public int? daysToConversion { get; set; } + /// ///The customer's first session going into the shop. /// - [Description("The customer's first session going into the shop.")] - public CustomerVisit? firstVisit { get; set; } - + [Description("The customer's first session going into the shop.")] + public CustomerVisit? firstVisit { get; set; } + /// ///The last session before an order is made. /// - [Description("The last session before an order is made.")] - public CustomerVisit? lastVisit { get; set; } - + [Description("The last session before an order is made.")] + public CustomerVisit? lastVisit { get; set; } + /// ///The events preceding a customer's order, such as shop sessions. /// - [Description("The events preceding a customer's order, such as shop sessions.")] - public CustomerMomentConnection? moments { get; set; } - + [Description("The events preceding a customer's order, such as shop sessions.")] + public CustomerMomentConnection? moments { get; set; } + /// ///Whether the attributed sessions for the order have been created yet. /// - [Description("Whether the attributed sessions for the order have been created yet.")] - [NonNull] - public bool? ready { get; set; } - } - + [Description("Whether the attributed sessions for the order have been created yet.")] + [NonNull] + public bool? ready { get; set; } + } + /// ///The possible values for the marketing subscription opt-in level enabled at the time the customer consented to receive marketing information. /// ///The levels are defined by [the M3AAWG best practices guideline /// document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf). /// - [Description("The possible values for the marketing subscription opt-in level enabled at the time the customer consented to receive marketing information.\n\nThe levels are defined by [the M3AAWG best practices guideline\n document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf).")] - public enum CustomerMarketingOptInLevel - { + [Description("The possible values for the marketing subscription opt-in level enabled at the time the customer consented to receive marketing information.\n\nThe levels are defined by [the M3AAWG best practices guideline\n document](https://www.m3aawg.org/sites/maawg/files/news/M3AAWG_Senders_BCP_Ver3-2015-02.pdf).")] + public enum CustomerMarketingOptInLevel + { /// ///After providing their information, the customer receives marketing information without any ///intermediate steps. /// - [Description("After providing their information, the customer receives marketing information without any\nintermediate steps.")] - SINGLE_OPT_IN, + [Description("After providing their information, the customer receives marketing information without any\nintermediate steps.")] + SINGLE_OPT_IN, /// ///After providing their information, the customer receives a confirmation and is required to ///perform a intermediate step before receiving marketing information. /// - [Description("After providing their information, the customer receives a confirmation and is required to\nperform a intermediate step before receiving marketing information.")] - CONFIRMED_OPT_IN, + [Description("After providing their information, the customer receives a confirmation and is required to\nperform a intermediate step before receiving marketing information.")] + CONFIRMED_OPT_IN, /// ///The customer receives marketing information but how they were opted in is unknown. /// - [Description("The customer receives marketing information but how they were opted in is unknown.")] - UNKNOWN, - } - - public static class CustomerMarketingOptInLevelStringValues - { - public const string SINGLE_OPT_IN = @"SINGLE_OPT_IN"; - public const string CONFIRMED_OPT_IN = @"CONFIRMED_OPT_IN"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("The customer receives marketing information but how they were opted in is unknown.")] + UNKNOWN, + } + + public static class CustomerMarketingOptInLevelStringValues + { + public const string SINGLE_OPT_IN = @"SINGLE_OPT_IN"; + public const string CONFIRMED_OPT_IN = @"CONFIRMED_OPT_IN"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///The error blocking a customer merge. /// - [Description("The error blocking a customer merge.")] - public class CustomerMergeError : GraphQLObject - { + [Description("The error blocking a customer merge.")] + public class CustomerMergeError : GraphQLObject + { /// ///The list of fields preventing the customer from being merged. /// - [Description("The list of fields preventing the customer from being merged.")] - [NonNull] - public IEnumerable? errorFields { get; set; } - + [Description("The list of fields preventing the customer from being merged.")] + [NonNull] + public IEnumerable? errorFields { get; set; } + /// ///The customer merge error message. /// - [Description("The customer merge error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The customer merge error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerMergeUserError`. /// - [Description("Possible error codes that can be returned by `CustomerMergeUserError`.")] - public enum CustomerMergeErrorCode - { + [Description("Possible error codes that can be returned by `CustomerMergeUserError`.")] + public enum CustomerMergeErrorCode + { /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///The customer cannot be merged. /// - [Description("The customer cannot be merged.")] - INVALID_CUSTOMER, + [Description("The customer cannot be merged.")] + INVALID_CUSTOMER, /// ///The customer ID is invalid. /// - [Description("The customer ID is invalid.")] - INVALID_CUSTOMER_ID, + [Description("The customer ID is invalid.")] + INVALID_CUSTOMER_ID, /// ///The customer cannot be merged because it has associated gift cards. /// - [Description("The customer cannot be merged because it has associated gift cards.")] - CUSTOMER_HAS_GIFT_CARDS, + [Description("The customer cannot be merged because it has associated gift cards.")] + CUSTOMER_HAS_GIFT_CARDS, /// ///The customer is missing the attribute requested for override. /// - [Description("The customer is missing the attribute requested for override.")] - MISSING_OVERRIDE_ATTRIBUTE, + [Description("The customer is missing the attribute requested for override.")] + MISSING_OVERRIDE_ATTRIBUTE, /// ///The override attribute is invalid. /// - [Description("The override attribute is invalid.")] - OVERRIDE_ATTRIBUTE_INVALID, - } - - public static class CustomerMergeErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string INVALID_CUSTOMER = @"INVALID_CUSTOMER"; - public const string INVALID_CUSTOMER_ID = @"INVALID_CUSTOMER_ID"; - public const string CUSTOMER_HAS_GIFT_CARDS = @"CUSTOMER_HAS_GIFT_CARDS"; - public const string MISSING_OVERRIDE_ATTRIBUTE = @"MISSING_OVERRIDE_ATTRIBUTE"; - public const string OVERRIDE_ATTRIBUTE_INVALID = @"OVERRIDE_ATTRIBUTE_INVALID"; - } - + [Description("The override attribute is invalid.")] + OVERRIDE_ATTRIBUTE_INVALID, + } + + public static class CustomerMergeErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string INVALID_CUSTOMER = @"INVALID_CUSTOMER"; + public const string INVALID_CUSTOMER_ID = @"INVALID_CUSTOMER_ID"; + public const string CUSTOMER_HAS_GIFT_CARDS = @"CUSTOMER_HAS_GIFT_CARDS"; + public const string MISSING_OVERRIDE_ATTRIBUTE = @"MISSING_OVERRIDE_ATTRIBUTE"; + public const string OVERRIDE_ATTRIBUTE_INVALID = @"OVERRIDE_ATTRIBUTE_INVALID"; + } + /// ///The types of the hard blockers preventing a customer from being merged to another customer. /// - [Description("The types of the hard blockers preventing a customer from being merged to another customer.")] - public enum CustomerMergeErrorFieldType - { + [Description("The types of the hard blockers preventing a customer from being merged to another customer.")] + public enum CustomerMergeErrorFieldType + { /// ///The customer does not exist. /// - [Description("The customer does not exist.")] - DELETED_AT, + [Description("The customer does not exist.")] + DELETED_AT, /// ///The customer has a pending or completed redaction. /// - [Description("The customer has a pending or completed redaction.")] - REDACTED_AT, + [Description("The customer has a pending or completed redaction.")] + REDACTED_AT, /// ///The customer has a subscription history. /// - [Description("The customer has a subscription history.")] - SUBSCRIPTIONS, + [Description("The customer has a subscription history.")] + SUBSCRIPTIONS, /// ///The customer has a merge in progress. /// - [Description("The customer has a merge in progress.")] - MERGE_IN_PROGRESS, + [Description("The customer has a merge in progress.")] + MERGE_IN_PROGRESS, /// ///The customer has gift cards. /// - [Description("The customer has gift cards.")] - GIFT_CARDS, + [Description("The customer has gift cards.")] + GIFT_CARDS, /// ///The override fields are invalid. /// - [Description("The override fields are invalid.")] - OVERRIDE_FIELDS, + [Description("The override fields are invalid.")] + OVERRIDE_FIELDS, /// ///The customer has store credit. /// - [Description("The customer has store credit.")] - STORE_CREDIT, + [Description("The customer has store credit.")] + STORE_CREDIT, /// ///The customer is a company contact. /// - [Description("The customer is a company contact.")] - COMPANY_CONTACT, + [Description("The customer is a company contact.")] + COMPANY_CONTACT, /// ///The customer has payment methods. /// - [Description("The customer has payment methods.")] - CUSTOMER_PAYMENT_METHODS, + [Description("The customer has payment methods.")] + CUSTOMER_PAYMENT_METHODS, /// ///The customer has a pending data request. /// - [Description("The customer has a pending data request.")] - PENDING_DATA_REQUEST, + [Description("The customer has a pending data request.")] + PENDING_DATA_REQUEST, /// ///The customer has a multipass identifier. /// - [Description("The customer has a multipass identifier.")] - MULTIPASS_IDENTIFIER, - } - - public static class CustomerMergeErrorFieldTypeStringValues - { - public const string DELETED_AT = @"DELETED_AT"; - public const string REDACTED_AT = @"REDACTED_AT"; - public const string SUBSCRIPTIONS = @"SUBSCRIPTIONS"; - public const string MERGE_IN_PROGRESS = @"MERGE_IN_PROGRESS"; - public const string GIFT_CARDS = @"GIFT_CARDS"; - public const string OVERRIDE_FIELDS = @"OVERRIDE_FIELDS"; - public const string STORE_CREDIT = @"STORE_CREDIT"; - public const string COMPANY_CONTACT = @"COMPANY_CONTACT"; - public const string CUSTOMER_PAYMENT_METHODS = @"CUSTOMER_PAYMENT_METHODS"; - public const string PENDING_DATA_REQUEST = @"PENDING_DATA_REQUEST"; - public const string MULTIPASS_IDENTIFIER = @"MULTIPASS_IDENTIFIER"; - } - + [Description("The customer has a multipass identifier.")] + MULTIPASS_IDENTIFIER, + } + + public static class CustomerMergeErrorFieldTypeStringValues + { + public const string DELETED_AT = @"DELETED_AT"; + public const string REDACTED_AT = @"REDACTED_AT"; + public const string SUBSCRIPTIONS = @"SUBSCRIPTIONS"; + public const string MERGE_IN_PROGRESS = @"MERGE_IN_PROGRESS"; + public const string GIFT_CARDS = @"GIFT_CARDS"; + public const string OVERRIDE_FIELDS = @"OVERRIDE_FIELDS"; + public const string STORE_CREDIT = @"STORE_CREDIT"; + public const string COMPANY_CONTACT = @"COMPANY_CONTACT"; + public const string CUSTOMER_PAYMENT_METHODS = @"CUSTOMER_PAYMENT_METHODS"; + public const string PENDING_DATA_REQUEST = @"PENDING_DATA_REQUEST"; + public const string MULTIPASS_IDENTIFIER = @"MULTIPASS_IDENTIFIER"; + } + /// ///The input fields to override default customer merge rules. /// - [Description("The input fields to override default customer merge rules.")] - public class CustomerMergeOverrideFields : GraphQLObject - { + [Description("The input fields to override default customer merge rules.")] + public class CustomerMergeOverrideFields : GraphQLObject + { /// ///The ID of the customer whose first name will be kept. /// - [Description("The ID of the customer whose first name will be kept.")] - public string? customerIdOfFirstNameToKeep { get; set; } - + [Description("The ID of the customer whose first name will be kept.")] + public string? customerIdOfFirstNameToKeep { get; set; } + /// ///The ID of the customer whose last name will be kept. /// - [Description("The ID of the customer whose last name will be kept.")] - public string? customerIdOfLastNameToKeep { get; set; } - + [Description("The ID of the customer whose last name will be kept.")] + public string? customerIdOfLastNameToKeep { get; set; } + /// ///The ID of the customer whose email will be kept. /// - [Description("The ID of the customer whose email will be kept.")] - public string? customerIdOfEmailToKeep { get; set; } - + [Description("The ID of the customer whose email will be kept.")] + public string? customerIdOfEmailToKeep { get; set; } + /// ///The ID of the customer whose phone number will be kept. /// - [Description("The ID of the customer whose phone number will be kept.")] - public string? customerIdOfPhoneNumberToKeep { get; set; } - + [Description("The ID of the customer whose phone number will be kept.")] + public string? customerIdOfPhoneNumberToKeep { get; set; } + /// ///The ID of the customer whose default address will be kept. /// - [Description("The ID of the customer whose default address will be kept.")] - public string? customerIdOfDefaultAddressToKeep { get; set; } - + [Description("The ID of the customer whose default address will be kept.")] + public string? customerIdOfDefaultAddressToKeep { get; set; } + /// ///The note to keep. /// - [Description("The note to keep.")] - public string? note { get; set; } - + [Description("The note to keep.")] + public string? note { get; set; } + /// ///The tags to keep. /// - [Description("The tags to keep.")] - public IEnumerable? tags { get; set; } - } - + [Description("The tags to keep.")] + public IEnumerable? tags { get; set; } + } + /// ///Return type for `customerMerge` mutation. /// - [Description("Return type for `customerMerge` mutation.")] - public class CustomerMergePayload : GraphQLObject - { + [Description("Return type for `customerMerge` mutation.")] + public class CustomerMergePayload : GraphQLObject + { /// ///The asynchronous job for merging the customers. /// - [Description("The asynchronous job for merging the customers.")] - public Job? job { get; set; } - + [Description("The asynchronous job for merging the customers.")] + public Job? job { get; set; } + /// ///The ID of the customer resulting from the merge. /// - [Description("The ID of the customer resulting from the merge.")] - public string? resultingCustomerId { get; set; } - + [Description("The ID of the customer resulting from the merge.")] + public string? resultingCustomerId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A preview of the results of a customer merge request. /// - [Description("A preview of the results of a customer merge request.")] - public class CustomerMergePreview : GraphQLObject - { + [Description("A preview of the results of a customer merge request.")] + public class CustomerMergePreview : GraphQLObject + { /// ///The fields that can be used to override the default fields. /// - [Description("The fields that can be used to override the default fields.")] - public CustomerMergePreviewAlternateFields? alternateFields { get; set; } - + [Description("The fields that can be used to override the default fields.")] + public CustomerMergePreviewAlternateFields? alternateFields { get; set; } + /// ///The fields that will block the merge if the two customers are merged. /// - [Description("The fields that will block the merge if the two customers are merged.")] - public CustomerMergePreviewBlockingFields? blockingFields { get; set; } - + [Description("The fields that will block the merge if the two customers are merged.")] + public CustomerMergePreviewBlockingFields? blockingFields { get; set; } + /// ///The errors blocking the customer merge. /// - [Description("The errors blocking the customer merge.")] - public IEnumerable? customerMergeErrors { get; set; } - + [Description("The errors blocking the customer merge.")] + public IEnumerable? customerMergeErrors { get; set; } + /// ///The fields that will be kept if the two customers are merged. /// - [Description("The fields that will be kept if the two customers are merged.")] - public CustomerMergePreviewDefaultFields? defaultFields { get; set; } - + [Description("The fields that will be kept if the two customers are merged.")] + public CustomerMergePreviewDefaultFields? defaultFields { get; set; } + /// ///The resulting customer ID if the two customers are merged. /// - [Description("The resulting customer ID if the two customers are merged.")] - public string? resultingCustomerId { get; set; } - } - + [Description("The resulting customer ID if the two customers are merged.")] + public string? resultingCustomerId { get; set; } + } + /// ///The fields that can be used to override the default fields. /// - [Description("The fields that can be used to override the default fields.")] - public class CustomerMergePreviewAlternateFields : GraphQLObject - { + [Description("The fields that can be used to override the default fields.")] + public class CustomerMergePreviewAlternateFields : GraphQLObject + { /// ///The default address of a customer. /// - [Description("The default address of a customer.")] - public MailingAddress? defaultAddress { get; set; } - + [Description("The default address of a customer.")] + public MailingAddress? defaultAddress { get; set; } + /// ///The email state of a customer. /// - [Description("The email state of a customer.")] - public CustomerEmailAddress? email { get; set; } - + [Description("The email state of a customer.")] + public CustomerEmailAddress? email { get; set; } + /// ///The first name of a customer. /// - [Description("The first name of a customer.")] - public string? firstName { get; set; } - + [Description("The first name of a customer.")] + public string? firstName { get; set; } + /// ///The last name of a customer. /// - [Description("The last name of a customer.")] - public string? lastName { get; set; } - + [Description("The last name of a customer.")] + public string? lastName { get; set; } + /// ///The phone number state of a customer. /// - [Description("The phone number state of a customer.")] - public CustomerPhoneNumber? phoneNumber { get; set; } - } - + [Description("The phone number state of a customer.")] + public CustomerPhoneNumber? phoneNumber { get; set; } + } + /// ///The blocking fields of a customer merge preview. These fields will block customer merge unless edited. /// - [Description("The blocking fields of a customer merge preview. These fields will block customer merge unless edited.")] - public class CustomerMergePreviewBlockingFields : GraphQLObject - { + [Description("The blocking fields of a customer merge preview. These fields will block customer merge unless edited.")] + public class CustomerMergePreviewBlockingFields : GraphQLObject + { /// ///The merged note resulting from a customer merge. The merged note is over the 5000 character limit and will block customer merge. /// - [Description("The merged note resulting from a customer merge. The merged note is over the 5000 character limit and will block customer merge.")] - public string? note { get; set; } - + [Description("The merged note resulting from a customer merge. The merged note is over the 5000 character limit and will block customer merge.")] + public string? note { get; set; } + /// ///The merged tags resulting from a customer merge. The merged tags are over the 250 limit and will block customer merge. /// - [Description("The merged tags resulting from a customer merge. The merged tags are over the 250 limit and will block customer merge.")] - [NonNull] - public IEnumerable? tags { get; set; } - } - + [Description("The merged tags resulting from a customer merge. The merged tags are over the 250 limit and will block customer merge.")] + [NonNull] + public IEnumerable? tags { get; set; } + } + /// ///The fields that will be kept as part of a customer merge preview. /// - [Description("The fields that will be kept as part of a customer merge preview.")] - public class CustomerMergePreviewDefaultFields : GraphQLObject - { + [Description("The fields that will be kept as part of a customer merge preview.")] + public class CustomerMergePreviewDefaultFields : GraphQLObject + { /// ///The merged addresses resulting from a customer merge. /// - [Description("The merged addresses resulting from a customer merge.")] - [NonNull] - public MailingAddressConnection? addresses { get; set; } - + [Description("The merged addresses resulting from a customer merge.")] + [NonNull] + public MailingAddressConnection? addresses { get; set; } + /// ///The default address resulting from a customer merge. /// - [Description("The default address resulting from a customer merge.")] - public MailingAddress? defaultAddress { get; set; } - + [Description("The default address resulting from a customer merge.")] + public MailingAddress? defaultAddress { get; set; } + /// ///The total number of customer-specific discounts resulting from a customer merge. /// - [Description("The total number of customer-specific discounts resulting from a customer merge.")] - [NonNull] - public ulong? discountNodeCount { get; set; } - + [Description("The total number of customer-specific discounts resulting from a customer merge.")] + [NonNull] + public ulong? discountNodeCount { get; set; } + /// ///The merged customer-specific discounts resulting from a customer merge. /// - [Description("The merged customer-specific discounts resulting from a customer merge.")] - [NonNull] - public DiscountNodeConnection? discountNodes { get; set; } - + [Description("The merged customer-specific discounts resulting from a customer merge.")] + [NonNull] + public DiscountNodeConnection? discountNodes { get; set; } + /// ///The full name of the customer, based on the values for `first_name` and `last_name`. If `first_name` and `last_name` aren't available, then this field falls back to the customer's email address. If the customer's email isn't available, then this field falls back to the customer's phone number. /// - [Description("The full name of the customer, based on the values for `first_name` and `last_name`. If `first_name` and `last_name` aren't available, then this field falls back to the customer's email address. If the customer's email isn't available, then this field falls back to the customer's phone number.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The full name of the customer, based on the values for `first_name` and `last_name`. If `first_name` and `last_name` aren't available, then this field falls back to the customer's email address. If the customer's email isn't available, then this field falls back to the customer's phone number.")] + [NonNull] + public string? displayName { get; set; } + /// ///The total number of merged draft orders. /// - [Description("The total number of merged draft orders.")] - [NonNull] - public ulong? draftOrderCount { get; set; } - + [Description("The total number of merged draft orders.")] + [NonNull] + public ulong? draftOrderCount { get; set; } + /// ///The merged draft orders resulting from a customer merge. /// - [Description("The merged draft orders resulting from a customer merge.")] - [NonNull] - public DraftOrderConnection? draftOrders { get; set; } - + [Description("The merged draft orders resulting from a customer merge.")] + [NonNull] + public DraftOrderConnection? draftOrders { get; set; } + /// ///The email state of a customer. /// - [Description("The email state of a customer.")] - public CustomerEmailAddress? email { get; set; } - + [Description("The email state of a customer.")] + public CustomerEmailAddress? email { get; set; } + /// ///The first name resulting from a customer merge. /// - [Description("The first name resulting from a customer merge.")] - public string? firstName { get; set; } - + [Description("The first name resulting from a customer merge.")] + public string? firstName { get; set; } + /// ///The total number of merged gift cards. /// - [Description("The total number of merged gift cards.")] - [NonNull] - public ulong? giftCardCount { get; set; } - + [Description("The total number of merged gift cards.")] + [NonNull] + public ulong? giftCardCount { get; set; } + /// ///The merged gift cards resulting from a customer merge. /// - [Description("The merged gift cards resulting from a customer merge.")] - [NonNull] - public GiftCardConnection? giftCards { get; set; } - + [Description("The merged gift cards resulting from a customer merge.")] + [NonNull] + public GiftCardConnection? giftCards { get; set; } + /// ///The last name resulting from a customer merge. /// - [Description("The last name resulting from a customer merge.")] - public string? lastName { get; set; } - + [Description("The last name resulting from a customer merge.")] + public string? lastName { get; set; } + /// ///The total number of merged metafields. /// - [Description("The total number of merged metafields.")] - [NonNull] - public ulong? metafieldCount { get; set; } - + [Description("The total number of merged metafields.")] + [NonNull] + public ulong? metafieldCount { get; set; } + /// ///The merged note resulting from a customer merge. /// - [Description("The merged note resulting from a customer merge.")] - public string? note { get; set; } - + [Description("The merged note resulting from a customer merge.")] + public string? note { get; set; } + /// ///The total number of merged orders. /// - [Description("The total number of merged orders.")] - [NonNull] - public ulong? orderCount { get; set; } - + [Description("The total number of merged orders.")] + [NonNull] + public ulong? orderCount { get; set; } + /// ///The merged orders resulting from a customer merge. /// - [Description("The merged orders resulting from a customer merge.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("The merged orders resulting from a customer merge.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///The phone number state of a customer. /// - [Description("The phone number state of a customer.")] - public CustomerPhoneNumber? phoneNumber { get; set; } - + [Description("The phone number state of a customer.")] + public CustomerPhoneNumber? phoneNumber { get; set; } + /// ///The merged tags resulting from a customer merge. /// - [Description("The merged tags resulting from a customer merge.")] - [NonNull] - public IEnumerable? tags { get; set; } - } - + [Description("The merged tags resulting from a customer merge.")] + [NonNull] + public IEnumerable? tags { get; set; } + } + /// ///A merge request for merging two customers. /// - [Description("A merge request for merging two customers.")] - public class CustomerMergeRequest : GraphQLObject - { + [Description("A merge request for merging two customers.")] + public class CustomerMergeRequest : GraphQLObject + { /// ///The merge errors that occurred during the customer merge request. /// - [Description("The merge errors that occurred during the customer merge request.")] - [NonNull] - public IEnumerable? customerMergeErrors { get; set; } - + [Description("The merge errors that occurred during the customer merge request.")] + [NonNull] + public IEnumerable? customerMergeErrors { get; set; } + /// ///The UUID of the merge job. /// - [Description("The UUID of the merge job.")] - public string? jobId { get; set; } - + [Description("The UUID of the merge job.")] + public string? jobId { get; set; } + /// ///The ID of the customer resulting from the merge. /// - [Description("The ID of the customer resulting from the merge.")] - [NonNull] - public string? resultingCustomerId { get; set; } - + [Description("The ID of the customer resulting from the merge.")] + [NonNull] + public string? resultingCustomerId { get; set; } + /// ///The status of the customer merge request. /// - [Description("The status of the customer merge request.")] - [NonNull] - [EnumType(typeof(CustomerMergeRequestStatus))] - public string? status { get; set; } - } - + [Description("The status of the customer merge request.")] + [NonNull] + [EnumType(typeof(CustomerMergeRequestStatus))] + public string? status { get; set; } + } + /// ///The status of the customer merge request. /// - [Description("The status of the customer merge request.")] - public enum CustomerMergeRequestStatus - { + [Description("The status of the customer merge request.")] + public enum CustomerMergeRequestStatus + { /// ///The customer merge request has been requested. /// - [Description("The customer merge request has been requested.")] - REQUESTED, + [Description("The customer merge request has been requested.")] + REQUESTED, /// ///The customer merge request is currently in progress. /// - [Description("The customer merge request is currently in progress.")] - IN_PROGRESS, + [Description("The customer merge request is currently in progress.")] + IN_PROGRESS, /// ///The customer merge request has been completed. /// - [Description("The customer merge request has been completed.")] - COMPLETED, + [Description("The customer merge request has been completed.")] + COMPLETED, /// ///The customer merge request has failed. /// - [Description("The customer merge request has failed.")] - FAILED, - } - - public static class CustomerMergeRequestStatusStringValues - { - public const string REQUESTED = @"REQUESTED"; - public const string IN_PROGRESS = @"IN_PROGRESS"; - public const string COMPLETED = @"COMPLETED"; - public const string FAILED = @"FAILED"; - } - + [Description("The customer merge request has failed.")] + FAILED, + } + + public static class CustomerMergeRequestStatusStringValues + { + public const string REQUESTED = @"REQUESTED"; + public const string IN_PROGRESS = @"IN_PROGRESS"; + public const string COMPLETED = @"COMPLETED"; + public const string FAILED = @"FAILED"; + } + /// ///An error that occurs while merging two customers. /// - [Description("An error that occurs while merging two customers.")] - public class CustomerMergeUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs while merging two customers.")] + public class CustomerMergeUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerMergeErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerMergeErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///An object that represents whether a customer can be merged with another customer. /// - [Description("An object that represents whether a customer can be merged with another customer.")] - public class CustomerMergeable : GraphQLObject - { + [Description("An object that represents whether a customer can be merged with another customer.")] + public class CustomerMergeable : GraphQLObject + { /// ///The list of fields preventing the customer from being merged. /// - [Description("The list of fields preventing the customer from being merged.")] - [NonNull] - public IEnumerable? errorFields { get; set; } - + [Description("The list of fields preventing the customer from being merged.")] + [NonNull] + public IEnumerable? errorFields { get; set; } + /// ///Whether the customer can be merged with another customer. /// - [Description("Whether the customer can be merged with another customer.")] - [NonNull] - public bool? isMergeable { get; set; } - + [Description("Whether the customer can be merged with another customer.")] + [NonNull] + public bool? isMergeable { get; set; } + /// ///The merge request if one is currently in progress. /// - [Description("The merge request if one is currently in progress.")] - public CustomerMergeRequest? mergeInProgress { get; set; } - + [Description("The merge request if one is currently in progress.")] + public CustomerMergeRequest? mergeInProgress { get; set; } + /// ///The reason why the customer can't be merged with another customer. /// - [Description("The reason why the customer can't be merged with another customer.")] - public string? reason { get; set; } - } - + [Description("The reason why the customer can't be merged with another customer.")] + public string? reason { get; set; } + } + /// ///Represents a session preceding an order, often used for building a timeline of events leading to an order. /// - [Description("Represents a session preceding an order, often used for building a timeline of events leading to an order.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CustomerVisit), typeDiscriminator: "CustomerVisit")] - public interface ICustomerMoment : IGraphQLObject - { - public CustomerVisit? AsCustomerVisit() => this as CustomerVisit; + [Description("Represents a session preceding an order, often used for building a timeline of events leading to an order.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CustomerVisit), typeDiscriminator: "CustomerVisit")] + public interface ICustomerMoment : IGraphQLObject + { + public CustomerVisit? AsCustomerVisit() => this as CustomerVisit; /// ///The date and time when the customer's session occurred. /// - [Description("The date and time when the customer's session occurred.")] - [NonNull] - public DateTime? occurredAt { get; } - } - + [Description("The date and time when the customer's session occurred.")] + [NonNull] + public DateTime? occurredAt { get; } + } + /// ///An auto-generated type for paginating through multiple CustomerMoments. /// - [Description("An auto-generated type for paginating through multiple CustomerMoments.")] - public class CustomerMomentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CustomerMoments.")] + public class CustomerMomentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CustomerMomentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CustomerMomentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CustomerMomentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CustomerMoment and a cursor during pagination. /// - [Description("An auto-generated type which holds one CustomerMoment and a cursor during pagination.")] - public class CustomerMomentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CustomerMoment and a cursor during pagination.")] + public class CustomerMomentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CustomerMomentEdge. /// - [Description("The item at the end of CustomerMomentEdge.")] - [NonNull] - public ICustomerMoment? node { get; set; } - } - + [Description("The item at the end of CustomerMomentEdge.")] + [NonNull] + public ICustomerMoment? node { get; set; } + } + /// ///All possible instruments for CustomerPaymentMethods. /// - [Description("All possible instruments for CustomerPaymentMethods.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(BankAccount), typeDiscriminator: "BankAccount")] - [JsonDerivedType(typeof(CustomerCreditCard), typeDiscriminator: "CustomerCreditCard")] - [JsonDerivedType(typeof(CustomerPaypalBillingAgreement), typeDiscriminator: "CustomerPaypalBillingAgreement")] - [JsonDerivedType(typeof(CustomerShopPayAgreement), typeDiscriminator: "CustomerShopPayAgreement")] - public interface ICustomerPaymentInstrument : IGraphQLObject - { - public BankAccount? AsBankAccount() => this as BankAccount; - public CustomerCreditCard? AsCustomerCreditCard() => this as CustomerCreditCard; - public CustomerPaypalBillingAgreement? AsCustomerPaypalBillingAgreement() => this as CustomerPaypalBillingAgreement; - public CustomerShopPayAgreement? AsCustomerShopPayAgreement() => this as CustomerShopPayAgreement; - } - + [Description("All possible instruments for CustomerPaymentMethods.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(BankAccount), typeDiscriminator: "BankAccount")] + [JsonDerivedType(typeof(CustomerCreditCard), typeDiscriminator: "CustomerCreditCard")] + [JsonDerivedType(typeof(CustomerPaypalBillingAgreement), typeDiscriminator: "CustomerPaypalBillingAgreement")] + [JsonDerivedType(typeof(CustomerShopPayAgreement), typeDiscriminator: "CustomerShopPayAgreement")] + public interface ICustomerPaymentInstrument : IGraphQLObject + { + public BankAccount? AsBankAccount() => this as BankAccount; + public CustomerCreditCard? AsCustomerCreditCard() => this as CustomerCreditCard; + public CustomerPaypalBillingAgreement? AsCustomerPaypalBillingAgreement() => this as CustomerPaypalBillingAgreement; + public CustomerShopPayAgreement? AsCustomerShopPayAgreement() => this as CustomerShopPayAgreement; + } + /// ///The billing address of a payment instrument. /// - [Description("The billing address of a payment instrument.")] - public class CustomerPaymentInstrumentBillingAddress : GraphQLObject - { + [Description("The billing address of a payment instrument.")] + public class CustomerPaymentInstrumentBillingAddress : GraphQLObject + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - public string? country { get; set; } - + [Description("The name of the country.")] + public string? country { get; set; } + /// ///The two-letter code for the country of the address. ///For example, US. /// - [Description("The two-letter code for the country of the address.\nFor example, US.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter code for the country of the address.\nFor example, US.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The name of the buyer of the address. /// - [Description("The name of the buyer of the address.")] - public string? name { get; set; } - + [Description("The name of the buyer of the address.")] + public string? name { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + public string? province { get; set; } + /// ///The alphanumeric code for the region. ///For example, ON. /// - [Description("The alphanumeric code for the region.\nFor example, ON.")] - public string? provinceCode { get; set; } - + [Description("The alphanumeric code for the region.\nFor example, ON.")] + public string? provinceCode { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + } + /// ///A customer's payment method. /// - [Description("A customer's payment method.")] - public class CustomerPaymentMethod : GraphQLObject, INode - { + [Description("A customer's payment method.")] + public class CustomerPaymentMethod : GraphQLObject, INode + { /// ///The customer to whom the payment method belongs. /// - [Description("The customer to whom the payment method belongs.")] - public Customer? customer { get; set; } - + [Description("The customer to whom the payment method belongs.")] + public Customer? customer { get; set; } + /// ///The ID of this payment method. /// - [Description("The ID of this payment method.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of this payment method.")] + [NonNull] + public string? id { get; set; } + /// ///The instrument for this payment method. /// - [Description("The instrument for this payment method.")] - public ICustomerPaymentInstrument? instrument { get; set; } - + [Description("The instrument for this payment method.")] + public ICustomerPaymentInstrument? instrument { get; set; } + /// ///The mandates associated with the payment method. /// - [Description("The mandates associated with the payment method.")] - [NonNull] - public PaymentMandateResourceConnection? mandates { get; set; } - + [Description("The mandates associated with the payment method.")] + [NonNull] + public PaymentMandateResourceConnection? mandates { get; set; } + /// ///The time that the payment method was revoked. /// - [Description("The time that the payment method was revoked.")] - public DateTime? revokedAt { get; set; } - + [Description("The time that the payment method was revoked.")] + public DateTime? revokedAt { get; set; } + /// ///The revocation reason for this payment method. /// - [Description("The revocation reason for this payment method.")] - [EnumType(typeof(CustomerPaymentMethodRevocationReason))] - public string? revokedReason { get; set; } - + [Description("The revocation reason for this payment method.")] + [EnumType(typeof(CustomerPaymentMethodRevocationReason))] + public string? revokedReason { get; set; } + /// ///List Subscription Contracts. /// - [Description("List Subscription Contracts.")] - [NonNull] - public SubscriptionContractConnection? subscriptionContracts { get; set; } - } - + [Description("List Subscription Contracts.")] + [NonNull] + public SubscriptionContractConnection? subscriptionContracts { get; set; } + } + /// ///An auto-generated type for paginating through multiple CustomerPaymentMethods. /// - [Description("An auto-generated type for paginating through multiple CustomerPaymentMethods.")] - public class CustomerPaymentMethodConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CustomerPaymentMethods.")] + public class CustomerPaymentMethodConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CustomerPaymentMethodEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CustomerPaymentMethodEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CustomerPaymentMethodEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `customerPaymentMethodCreateFromDuplicationData` mutation. /// - [Description("Return type for `customerPaymentMethodCreateFromDuplicationData` mutation.")] - public class CustomerPaymentMethodCreateFromDuplicationDataPayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodCreateFromDuplicationData` mutation.")] + public class CustomerPaymentMethodCreateFromDuplicationDataPayload : GraphQLObject + { /// ///The customer payment method. /// - [Description("The customer payment method.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CustomerPaymentMethodCreateFromDuplicationData`. /// - [Description("An error that occurs during the execution of `CustomerPaymentMethodCreateFromDuplicationData`.")] - public class CustomerPaymentMethodCreateFromDuplicationDataUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CustomerPaymentMethodCreateFromDuplicationData`.")] + public class CustomerPaymentMethodCreateFromDuplicationDataUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerPaymentMethodCreateFromDuplicationDataUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerPaymentMethodCreateFromDuplicationDataUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerPaymentMethodCreateFromDuplicationDataUserError`. /// - [Description("Possible error codes that can be returned by `CustomerPaymentMethodCreateFromDuplicationDataUserError`.")] - public enum CustomerPaymentMethodCreateFromDuplicationDataUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerPaymentMethodCreateFromDuplicationDataUserError`.")] + public enum CustomerPaymentMethodCreateFromDuplicationDataUserErrorCode + { /// ///Too many requests. /// - [Description("Too many requests.")] - TOO_MANY_REQUESTS, + [Description("Too many requests.")] + TOO_MANY_REQUESTS, /// ///Customer doesn't exist. /// - [Description("Customer doesn't exist.")] - CUSTOMER_DOES_NOT_EXIST, + [Description("Customer doesn't exist.")] + CUSTOMER_DOES_NOT_EXIST, /// ///Invalid encrypted duplication data. /// - [Description("Invalid encrypted duplication data.")] - INVALID_ENCRYPTED_DUPLICATION_DATA, - } - - public static class CustomerPaymentMethodCreateFromDuplicationDataUserErrorCodeStringValues - { - public const string TOO_MANY_REQUESTS = @"TOO_MANY_REQUESTS"; - public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; - public const string INVALID_ENCRYPTED_DUPLICATION_DATA = @"INVALID_ENCRYPTED_DUPLICATION_DATA"; - } - + [Description("Invalid encrypted duplication data.")] + INVALID_ENCRYPTED_DUPLICATION_DATA, + } + + public static class CustomerPaymentMethodCreateFromDuplicationDataUserErrorCodeStringValues + { + public const string TOO_MANY_REQUESTS = @"TOO_MANY_REQUESTS"; + public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; + public const string INVALID_ENCRYPTED_DUPLICATION_DATA = @"INVALID_ENCRYPTED_DUPLICATION_DATA"; + } + /// ///Return type for `customerPaymentMethodCreditCardCreate` mutation. /// - [Description("Return type for `customerPaymentMethodCreditCardCreate` mutation.")] - public class CustomerPaymentMethodCreditCardCreatePayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodCreditCardCreate` mutation.")] + public class CustomerPaymentMethodCreditCardCreatePayload : GraphQLObject + { /// ///The customer payment method. /// - [Description("The customer payment method.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///If the card verification result is processing. When this is true, customer_payment_method will be null. /// - [Description("If the card verification result is processing. When this is true, customer_payment_method will be null.")] - public bool? processing { get; set; } - + [Description("If the card verification result is processing. When this is true, customer_payment_method will be null.")] + public bool? processing { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerPaymentMethodCreditCardUpdate` mutation. /// - [Description("Return type for `customerPaymentMethodCreditCardUpdate` mutation.")] - public class CustomerPaymentMethodCreditCardUpdatePayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodCreditCardUpdate` mutation.")] + public class CustomerPaymentMethodCreditCardUpdatePayload : GraphQLObject + { /// ///The customer payment method. /// - [Description("The customer payment method.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///If the card verification result is processing. When this is true, customer_payment_method will be null. /// - [Description("If the card verification result is processing. When this is true, customer_payment_method will be null.")] - public bool? processing { get; set; } - + [Description("If the card verification result is processing. When this is true, customer_payment_method will be null.")] + public bool? processing { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination. /// - [Description("An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.")] - public class CustomerPaymentMethodEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CustomerPaymentMethod and a cursor during pagination.")] + public class CustomerPaymentMethodEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CustomerPaymentMethodEdge. /// - [Description("The item at the end of CustomerPaymentMethodEdge.")] - [NonNull] - public CustomerPaymentMethod? node { get; set; } - } - + [Description("The item at the end of CustomerPaymentMethodEdge.")] + [NonNull] + public CustomerPaymentMethod? node { get; set; } + } + /// ///Return type for `customerPaymentMethodGetDuplicationData` mutation. /// - [Description("Return type for `customerPaymentMethodGetDuplicationData` mutation.")] - public class CustomerPaymentMethodGetDuplicationDataPayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodGetDuplicationData` mutation.")] + public class CustomerPaymentMethodGetDuplicationDataPayload : GraphQLObject + { /// ///The encrypted data from the payment method to be duplicated. /// - [Description("The encrypted data from the payment method to be duplicated.")] - public string? encryptedDuplicationData { get; set; } - + [Description("The encrypted data from the payment method to be duplicated.")] + public string? encryptedDuplicationData { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CustomerPaymentMethodGetDuplicationData`. /// - [Description("An error that occurs during the execution of `CustomerPaymentMethodGetDuplicationData`.")] - public class CustomerPaymentMethodGetDuplicationDataUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CustomerPaymentMethodGetDuplicationData`.")] + public class CustomerPaymentMethodGetDuplicationDataUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerPaymentMethodGetDuplicationDataUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerPaymentMethodGetDuplicationDataUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerPaymentMethodGetDuplicationDataUserError`. /// - [Description("Possible error codes that can be returned by `CustomerPaymentMethodGetDuplicationDataUserError`.")] - public enum CustomerPaymentMethodGetDuplicationDataUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerPaymentMethodGetDuplicationDataUserError`.")] + public enum CustomerPaymentMethodGetDuplicationDataUserErrorCode + { /// ///Payment method doesn't exist. /// - [Description("Payment method doesn't exist.")] - PAYMENT_METHOD_DOES_NOT_EXIST, + [Description("Payment method doesn't exist.")] + PAYMENT_METHOD_DOES_NOT_EXIST, /// ///Invalid payment instrument. /// - [Description("Invalid payment instrument.")] - INVALID_INSTRUMENT, + [Description("Invalid payment instrument.")] + INVALID_INSTRUMENT, /// ///Too many requests. /// - [Description("Too many requests.")] - TOO_MANY_REQUESTS, + [Description("Too many requests.")] + TOO_MANY_REQUESTS, /// ///Customer doesn't exist. /// - [Description("Customer doesn't exist.")] - CUSTOMER_DOES_NOT_EXIST, + [Description("Customer doesn't exist.")] + CUSTOMER_DOES_NOT_EXIST, /// ///Target shop cannot be the same as the source. /// - [Description("Target shop cannot be the same as the source.")] - SAME_SHOP, + [Description("Target shop cannot be the same as the source.")] + SAME_SHOP, /// ///Must be targeted to another shop in the same organization. /// - [Description("Must be targeted to another shop in the same organization.")] - INVALID_ORGANIZATION_SHOP, - } - - public static class CustomerPaymentMethodGetDuplicationDataUserErrorCodeStringValues - { - public const string PAYMENT_METHOD_DOES_NOT_EXIST = @"PAYMENT_METHOD_DOES_NOT_EXIST"; - public const string INVALID_INSTRUMENT = @"INVALID_INSTRUMENT"; - public const string TOO_MANY_REQUESTS = @"TOO_MANY_REQUESTS"; - public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; - public const string SAME_SHOP = @"SAME_SHOP"; - public const string INVALID_ORGANIZATION_SHOP = @"INVALID_ORGANIZATION_SHOP"; - } - + [Description("Must be targeted to another shop in the same organization.")] + INVALID_ORGANIZATION_SHOP, + } + + public static class CustomerPaymentMethodGetDuplicationDataUserErrorCodeStringValues + { + public const string PAYMENT_METHOD_DOES_NOT_EXIST = @"PAYMENT_METHOD_DOES_NOT_EXIST"; + public const string INVALID_INSTRUMENT = @"INVALID_INSTRUMENT"; + public const string TOO_MANY_REQUESTS = @"TOO_MANY_REQUESTS"; + public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; + public const string SAME_SHOP = @"SAME_SHOP"; + public const string INVALID_ORGANIZATION_SHOP = @"INVALID_ORGANIZATION_SHOP"; + } + /// ///Return type for `customerPaymentMethodGetUpdateUrl` mutation. /// - [Description("Return type for `customerPaymentMethodGetUpdateUrl` mutation.")] - public class CustomerPaymentMethodGetUpdateUrlPayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodGetUpdateUrl` mutation.")] + public class CustomerPaymentMethodGetUpdateUrlPayload : GraphQLObject + { /// ///The URL to redirect the customer to update the payment method. /// - [Description("The URL to redirect the customer to update the payment method.")] - public string? updatePaymentMethodUrl { get; set; } - + [Description("The URL to redirect the customer to update the payment method.")] + public string? updatePaymentMethodUrl { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `CustomerPaymentMethodGetUpdateUrl`. /// - [Description("An error that occurs during the execution of `CustomerPaymentMethodGetUpdateUrl`.")] - public class CustomerPaymentMethodGetUpdateUrlUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `CustomerPaymentMethodGetUpdateUrl`.")] + public class CustomerPaymentMethodGetUpdateUrlUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerPaymentMethodGetUpdateUrlUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerPaymentMethodGetUpdateUrlUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerPaymentMethodGetUpdateUrlUserError`. /// - [Description("Possible error codes that can be returned by `CustomerPaymentMethodGetUpdateUrlUserError`.")] - public enum CustomerPaymentMethodGetUpdateUrlUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerPaymentMethodGetUpdateUrlUserError`.")] + public enum CustomerPaymentMethodGetUpdateUrlUserErrorCode + { /// ///Payment method doesn't exist. /// - [Description("Payment method doesn't exist.")] - PAYMENT_METHOD_DOES_NOT_EXIST, + [Description("Payment method doesn't exist.")] + PAYMENT_METHOD_DOES_NOT_EXIST, /// ///Invalid payment instrument. /// - [Description("Invalid payment instrument.")] - INVALID_INSTRUMENT, + [Description("Invalid payment instrument.")] + INVALID_INSTRUMENT, /// ///Too many requests. /// - [Description("Too many requests.")] - TOO_MANY_REQUESTS, + [Description("Too many requests.")] + TOO_MANY_REQUESTS, /// ///Customer doesn't exist. /// - [Description("Customer doesn't exist.")] - CUSTOMER_DOES_NOT_EXIST, - } - - public static class CustomerPaymentMethodGetUpdateUrlUserErrorCodeStringValues - { - public const string PAYMENT_METHOD_DOES_NOT_EXIST = @"PAYMENT_METHOD_DOES_NOT_EXIST"; - public const string INVALID_INSTRUMENT = @"INVALID_INSTRUMENT"; - public const string TOO_MANY_REQUESTS = @"TOO_MANY_REQUESTS"; - public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; - } - + [Description("Customer doesn't exist.")] + CUSTOMER_DOES_NOT_EXIST, + } + + public static class CustomerPaymentMethodGetUpdateUrlUserErrorCodeStringValues + { + public const string PAYMENT_METHOD_DOES_NOT_EXIST = @"PAYMENT_METHOD_DOES_NOT_EXIST"; + public const string INVALID_INSTRUMENT = @"INVALID_INSTRUMENT"; + public const string TOO_MANY_REQUESTS = @"TOO_MANY_REQUESTS"; + public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; + } + /// ///Return type for `customerPaymentMethodPaypalBillingAgreementCreate` mutation. /// - [Description("Return type for `customerPaymentMethodPaypalBillingAgreementCreate` mutation.")] - public class CustomerPaymentMethodPaypalBillingAgreementCreatePayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodPaypalBillingAgreementCreate` mutation.")] + public class CustomerPaymentMethodPaypalBillingAgreementCreatePayload : GraphQLObject + { /// ///The customer payment method. /// - [Description("The customer payment method.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerPaymentMethodPaypalBillingAgreementUpdate` mutation. /// - [Description("Return type for `customerPaymentMethodPaypalBillingAgreementUpdate` mutation.")] - public class CustomerPaymentMethodPaypalBillingAgreementUpdatePayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodPaypalBillingAgreementUpdate` mutation.")] + public class CustomerPaymentMethodPaypalBillingAgreementUpdatePayload : GraphQLObject + { /// ///The customer payment method. /// - [Description("The customer payment method.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerPaymentMethodRemoteCreate` mutation. /// - [Description("Return type for `customerPaymentMethodRemoteCreate` mutation.")] - public class CustomerPaymentMethodRemoteCreatePayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodRemoteCreate` mutation.")] + public class CustomerPaymentMethodRemoteCreatePayload : GraphQLObject + { /// ///The customer payment method. Note that the returned payment method may initially be in an incomplete state. Developers should poll this payment method using the customerPaymentMethod query until all required payment details have been processed. /// - [Description("The customer payment method. Note that the returned payment method may initially be in an incomplete state. Developers should poll this payment method using the customerPaymentMethod query until all required payment details have been processed.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method. Note that the returned payment method may initially be in an incomplete state. Developers should poll this payment method using the customerPaymentMethod query until all required payment details have been processed.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for a remote gateway payment method, only one remote reference permitted. /// - [Description("The input fields for a remote gateway payment method, only one remote reference permitted.")] - public class CustomerPaymentMethodRemoteInput : GraphQLObject - { + [Description("The input fields for a remote gateway payment method, only one remote reference permitted.")] + public class CustomerPaymentMethodRemoteInput : GraphQLObject + { /// ///Input containing the fields for a remote stripe credit card. /// - [Description("Input containing the fields for a remote stripe credit card.")] - public RemoteStripePaymentMethodInput? stripePaymentMethod { get; set; } - + [Description("Input containing the fields for a remote stripe credit card.")] + public RemoteStripePaymentMethodInput? stripePaymentMethod { get; set; } + /// ///The input fields for a remote authorize net customer profile. /// - [Description("The input fields for a remote authorize net customer profile.")] - public RemoteAuthorizeNetCustomerPaymentProfileInput? authorizeNetCustomerPaymentProfile { get; set; } - + [Description("The input fields for a remote authorize net customer profile.")] + public RemoteAuthorizeNetCustomerPaymentProfileInput? authorizeNetCustomerPaymentProfile { get; set; } + /// ///The input fields for a remote Braintree customer profile. /// - [Description("The input fields for a remote Braintree customer profile.")] - public RemoteBraintreePaymentMethodInput? braintreePaymentMethod { get; set; } - + [Description("The input fields for a remote Braintree customer profile.")] + public RemoteBraintreePaymentMethodInput? braintreePaymentMethod { get; set; } + /// ///The input fields for a remote Adyen customer payment method. /// - [Description("The input fields for a remote Adyen customer payment method.")] - public RemoteAdyenPaymentMethodInput? adyenPaymentMethod { get; set; } - + [Description("The input fields for a remote Adyen customer payment method.")] + public RemoteAdyenPaymentMethodInput? adyenPaymentMethod { get; set; } + /// ///The input fields for a remote PayPal customer payment method. /// - [Description("The input fields for a remote PayPal customer payment method.")] - public RemotePaypalPaymentMethodInput? paypalPaymentMethod { get; set; } - } - + [Description("The input fields for a remote PayPal customer payment method.")] + public RemotePaypalPaymentMethodInput? paypalPaymentMethod { get; set; } + } + /// ///Represents an error in the input of a mutation. /// - [Description("Represents an error in the input of a mutation.")] - public class CustomerPaymentMethodRemoteUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error in the input of a mutation.")] + public class CustomerPaymentMethodRemoteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerPaymentMethodRemoteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerPaymentMethodRemoteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerPaymentMethodRemoteUserError`. /// - [Description("Possible error codes that can be returned by `CustomerPaymentMethodRemoteUserError`.")] - public enum CustomerPaymentMethodRemoteUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerPaymentMethodRemoteUserError`.")] + public enum CustomerPaymentMethodRemoteUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///Exactly one remote reference is required. /// - [Description("Exactly one remote reference is required.")] - EXACTLY_ONE_REMOTE_REFERENCE_REQUIRED, + [Description("Exactly one remote reference is required.")] + EXACTLY_ONE_REMOTE_REFERENCE_REQUIRED, /// ///Adyen is not enabled for subscriptions. /// - [Description("Adyen is not enabled for subscriptions.")] - ADYEN_NOT_ENABLED_FOR_SUBSCRIPTIONS, + [Description("Adyen is not enabled for subscriptions.")] + ADYEN_NOT_ENABLED_FOR_SUBSCRIPTIONS, /// ///Authorize.net is not enabled for subscriptions. /// - [Description("Authorize.net is not enabled for subscriptions.")] - AUTHORIZE_NET_NOT_ENABLED_FOR_SUBSCRIPTIONS, + [Description("Authorize.net is not enabled for subscriptions.")] + AUTHORIZE_NET_NOT_ENABLED_FOR_SUBSCRIPTIONS, /// ///Braintree is not enabled for subscriptions. /// - [Description("Braintree is not enabled for subscriptions.")] - BRAINTREE_NOT_ENABLED_FOR_SUBSCRIPTIONS, - } - - public static class CustomerPaymentMethodRemoteUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string PRESENT = @"PRESENT"; - public const string TAKEN = @"TAKEN"; - public const string BLANK = @"BLANK"; - public const string EXACTLY_ONE_REMOTE_REFERENCE_REQUIRED = @"EXACTLY_ONE_REMOTE_REFERENCE_REQUIRED"; - public const string ADYEN_NOT_ENABLED_FOR_SUBSCRIPTIONS = @"ADYEN_NOT_ENABLED_FOR_SUBSCRIPTIONS"; - public const string AUTHORIZE_NET_NOT_ENABLED_FOR_SUBSCRIPTIONS = @"AUTHORIZE_NET_NOT_ENABLED_FOR_SUBSCRIPTIONS"; - public const string BRAINTREE_NOT_ENABLED_FOR_SUBSCRIPTIONS = @"BRAINTREE_NOT_ENABLED_FOR_SUBSCRIPTIONS"; - } - + [Description("Braintree is not enabled for subscriptions.")] + BRAINTREE_NOT_ENABLED_FOR_SUBSCRIPTIONS, + } + + public static class CustomerPaymentMethodRemoteUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string PRESENT = @"PRESENT"; + public const string TAKEN = @"TAKEN"; + public const string BLANK = @"BLANK"; + public const string EXACTLY_ONE_REMOTE_REFERENCE_REQUIRED = @"EXACTLY_ONE_REMOTE_REFERENCE_REQUIRED"; + public const string ADYEN_NOT_ENABLED_FOR_SUBSCRIPTIONS = @"ADYEN_NOT_ENABLED_FOR_SUBSCRIPTIONS"; + public const string AUTHORIZE_NET_NOT_ENABLED_FOR_SUBSCRIPTIONS = @"AUTHORIZE_NET_NOT_ENABLED_FOR_SUBSCRIPTIONS"; + public const string BRAINTREE_NOT_ENABLED_FOR_SUBSCRIPTIONS = @"BRAINTREE_NOT_ENABLED_FOR_SUBSCRIPTIONS"; + } + /// ///The revocation reason types for a customer payment method. /// - [Description("The revocation reason types for a customer payment method.")] - public enum CustomerPaymentMethodRevocationReason - { + [Description("The revocation reason types for a customer payment method.")] + public enum CustomerPaymentMethodRevocationReason + { /// ///The Authorize.net payment gateway is not enabled. /// - [Description("The Authorize.net payment gateway is not enabled.")] - AUTHORIZE_NET_GATEWAY_NOT_ENABLED, + [Description("The Authorize.net payment gateway is not enabled.")] + AUTHORIZE_NET_GATEWAY_NOT_ENABLED, /// ///Authorize.net did not return any payment methods. Make sure that the correct Authorize.net account is linked. /// - [Description("Authorize.net did not return any payment methods. Make sure that the correct Authorize.net account is linked.")] - AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD, + [Description("Authorize.net did not return any payment methods. Make sure that the correct Authorize.net account is linked.")] + AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD, /// ///The credit card failed to update. /// - [Description("The credit card failed to update.")] - FAILED_TO_UPDATE_CREDIT_CARD, + [Description("The credit card failed to update.")] + FAILED_TO_UPDATE_CREDIT_CARD, /// ///Failed to contact the Stripe API. /// - [Description("Failed to contact the Stripe API.")] - STRIPE_API_AUTHENTICATION_ERROR, + [Description("Failed to contact the Stripe API.")] + STRIPE_API_AUTHENTICATION_ERROR, /// ///Invalid request. Failed to retrieve payment method from Stripe. /// - [Description("Invalid request. Failed to retrieve payment method from Stripe.")] - STRIPE_API_INVALID_REQUEST_ERROR, + [Description("Invalid request. Failed to retrieve payment method from Stripe.")] + STRIPE_API_INVALID_REQUEST_ERROR, /// ///The Stripe payment gateway is not enabled. /// - [Description("The Stripe payment gateway is not enabled.")] - STRIPE_GATEWAY_NOT_ENABLED, + [Description("The Stripe payment gateway is not enabled.")] + STRIPE_GATEWAY_NOT_ENABLED, /// ///Stripe did not return any payment methods. Make sure that the correct Stripe account is linked. /// - [Description("Stripe did not return any payment methods. Make sure that the correct Stripe account is linked.")] - STRIPE_RETURNED_NO_PAYMENT_METHOD, + [Description("Stripe did not return any payment methods. Make sure that the correct Stripe account is linked.")] + STRIPE_RETURNED_NO_PAYMENT_METHOD, /// ///The Stripe payment method type should be card. /// - [Description("The Stripe payment method type should be card.")] - STRIPE_PAYMENT_METHOD_NOT_CARD, + [Description("The Stripe payment method type should be card.")] + STRIPE_PAYMENT_METHOD_NOT_CARD, /// ///Failed to contact Braintree API. /// - [Description("Failed to contact Braintree API.")] - BRAINTREE_API_AUTHENTICATION_ERROR, + [Description("Failed to contact Braintree API.")] + BRAINTREE_API_AUTHENTICATION_ERROR, /// ///The Braintree payment gateway is not enabled. /// - [Description("The Braintree payment gateway is not enabled.")] - BRAINTREE_GATEWAY_NOT_ENABLED, + [Description("The Braintree payment gateway is not enabled.")] + BRAINTREE_GATEWAY_NOT_ENABLED, /// ///Braintree returned no payment methods. Make sure the correct Braintree account is linked. /// - [Description("Braintree returned no payment methods. Make sure the correct Braintree account is linked.")] - BRAINTREE_RETURNED_NO_PAYMENT_METHOD, + [Description("Braintree returned no payment methods. Make sure the correct Braintree account is linked.")] + BRAINTREE_RETURNED_NO_PAYMENT_METHOD, /// ///The Braintree payment method type should be a credit card or Apple Pay card. /// - [Description("The Braintree payment method type should be a credit card or Apple Pay card.")] - BRAINTREE_PAYMENT_METHOD_NOT_CARD, + [Description("The Braintree payment method type should be a credit card or Apple Pay card.")] + BRAINTREE_PAYMENT_METHOD_NOT_CARD, /// ///Verification of payment method failed. /// - [Description("Verification of payment method failed.")] - PAYMENT_METHOD_VERIFICATION_FAILED, + [Description("Verification of payment method failed.")] + PAYMENT_METHOD_VERIFICATION_FAILED, /// ///Verification of the payment method failed due to 3DS not being supported. /// - [Description("Verification of the payment method failed due to 3DS not being supported.")] - THREE_D_SECURE_FLOW_IN_VERIFICATION_NOT_IMPLEMENTED, + [Description("Verification of the payment method failed due to 3DS not being supported.")] + THREE_D_SECURE_FLOW_IN_VERIFICATION_NOT_IMPLEMENTED, /// ///The payment method was manually revoked. /// - [Description("The payment method was manually revoked.")] - MANUALLY_REVOKED, + [Description("The payment method was manually revoked.")] + MANUALLY_REVOKED, /// ///The billing address failed to retrieve. /// - [Description("The billing address failed to retrieve.")] - FAILED_TO_RETRIEVE_BILLING_ADDRESS, + [Description("The billing address failed to retrieve.")] + FAILED_TO_RETRIEVE_BILLING_ADDRESS, /// ///The payment method was replaced with an existing payment method. The associated contracts have been migrated to the other payment method. /// - [Description("The payment method was replaced with an existing payment method. The associated contracts have been migrated to the other payment method.")] - MERGED, + [Description("The payment method was replaced with an existing payment method. The associated contracts have been migrated to the other payment method.")] + MERGED, /// ///The customer redacted their payment method. /// - [Description("The customer redacted their payment method.")] - CUSTOMER_REDACTED, + [Description("The customer redacted their payment method.")] + CUSTOMER_REDACTED, /// ///Too many consecutive failed attempts. /// - [Description("Too many consecutive failed attempts.")] - TOO_MANY_CONSECUTIVE_FAILURES, + [Description("Too many consecutive failed attempts.")] + TOO_MANY_CONSECUTIVE_FAILURES, /// ///CVV attempts limit exceeded. /// - [Description("CVV attempts limit exceeded.")] - CVV_ATTEMPTS_LIMIT_EXCEEDED, - } - - public static class CustomerPaymentMethodRevocationReasonStringValues - { - public const string AUTHORIZE_NET_GATEWAY_NOT_ENABLED = @"AUTHORIZE_NET_GATEWAY_NOT_ENABLED"; - public const string AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD = @"AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD"; - public const string FAILED_TO_UPDATE_CREDIT_CARD = @"FAILED_TO_UPDATE_CREDIT_CARD"; - public const string STRIPE_API_AUTHENTICATION_ERROR = @"STRIPE_API_AUTHENTICATION_ERROR"; - public const string STRIPE_API_INVALID_REQUEST_ERROR = @"STRIPE_API_INVALID_REQUEST_ERROR"; - public const string STRIPE_GATEWAY_NOT_ENABLED = @"STRIPE_GATEWAY_NOT_ENABLED"; - public const string STRIPE_RETURNED_NO_PAYMENT_METHOD = @"STRIPE_RETURNED_NO_PAYMENT_METHOD"; - public const string STRIPE_PAYMENT_METHOD_NOT_CARD = @"STRIPE_PAYMENT_METHOD_NOT_CARD"; - public const string BRAINTREE_API_AUTHENTICATION_ERROR = @"BRAINTREE_API_AUTHENTICATION_ERROR"; - public const string BRAINTREE_GATEWAY_NOT_ENABLED = @"BRAINTREE_GATEWAY_NOT_ENABLED"; - public const string BRAINTREE_RETURNED_NO_PAYMENT_METHOD = @"BRAINTREE_RETURNED_NO_PAYMENT_METHOD"; - public const string BRAINTREE_PAYMENT_METHOD_NOT_CARD = @"BRAINTREE_PAYMENT_METHOD_NOT_CARD"; - public const string PAYMENT_METHOD_VERIFICATION_FAILED = @"PAYMENT_METHOD_VERIFICATION_FAILED"; - public const string THREE_D_SECURE_FLOW_IN_VERIFICATION_NOT_IMPLEMENTED = @"THREE_D_SECURE_FLOW_IN_VERIFICATION_NOT_IMPLEMENTED"; - public const string MANUALLY_REVOKED = @"MANUALLY_REVOKED"; - public const string FAILED_TO_RETRIEVE_BILLING_ADDRESS = @"FAILED_TO_RETRIEVE_BILLING_ADDRESS"; - public const string MERGED = @"MERGED"; - public const string CUSTOMER_REDACTED = @"CUSTOMER_REDACTED"; - public const string TOO_MANY_CONSECUTIVE_FAILURES = @"TOO_MANY_CONSECUTIVE_FAILURES"; - public const string CVV_ATTEMPTS_LIMIT_EXCEEDED = @"CVV_ATTEMPTS_LIMIT_EXCEEDED"; - } - + [Description("CVV attempts limit exceeded.")] + CVV_ATTEMPTS_LIMIT_EXCEEDED, + } + + public static class CustomerPaymentMethodRevocationReasonStringValues + { + public const string AUTHORIZE_NET_GATEWAY_NOT_ENABLED = @"AUTHORIZE_NET_GATEWAY_NOT_ENABLED"; + public const string AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD = @"AUTHORIZE_NET_RETURNED_NO_PAYMENT_METHOD"; + public const string FAILED_TO_UPDATE_CREDIT_CARD = @"FAILED_TO_UPDATE_CREDIT_CARD"; + public const string STRIPE_API_AUTHENTICATION_ERROR = @"STRIPE_API_AUTHENTICATION_ERROR"; + public const string STRIPE_API_INVALID_REQUEST_ERROR = @"STRIPE_API_INVALID_REQUEST_ERROR"; + public const string STRIPE_GATEWAY_NOT_ENABLED = @"STRIPE_GATEWAY_NOT_ENABLED"; + public const string STRIPE_RETURNED_NO_PAYMENT_METHOD = @"STRIPE_RETURNED_NO_PAYMENT_METHOD"; + public const string STRIPE_PAYMENT_METHOD_NOT_CARD = @"STRIPE_PAYMENT_METHOD_NOT_CARD"; + public const string BRAINTREE_API_AUTHENTICATION_ERROR = @"BRAINTREE_API_AUTHENTICATION_ERROR"; + public const string BRAINTREE_GATEWAY_NOT_ENABLED = @"BRAINTREE_GATEWAY_NOT_ENABLED"; + public const string BRAINTREE_RETURNED_NO_PAYMENT_METHOD = @"BRAINTREE_RETURNED_NO_PAYMENT_METHOD"; + public const string BRAINTREE_PAYMENT_METHOD_NOT_CARD = @"BRAINTREE_PAYMENT_METHOD_NOT_CARD"; + public const string PAYMENT_METHOD_VERIFICATION_FAILED = @"PAYMENT_METHOD_VERIFICATION_FAILED"; + public const string THREE_D_SECURE_FLOW_IN_VERIFICATION_NOT_IMPLEMENTED = @"THREE_D_SECURE_FLOW_IN_VERIFICATION_NOT_IMPLEMENTED"; + public const string MANUALLY_REVOKED = @"MANUALLY_REVOKED"; + public const string FAILED_TO_RETRIEVE_BILLING_ADDRESS = @"FAILED_TO_RETRIEVE_BILLING_ADDRESS"; + public const string MERGED = @"MERGED"; + public const string CUSTOMER_REDACTED = @"CUSTOMER_REDACTED"; + public const string TOO_MANY_CONSECUTIVE_FAILURES = @"TOO_MANY_CONSECUTIVE_FAILURES"; + public const string CVV_ATTEMPTS_LIMIT_EXCEEDED = @"CVV_ATTEMPTS_LIMIT_EXCEEDED"; + } + /// ///Return type for `customerPaymentMethodRevoke` mutation. /// - [Description("Return type for `customerPaymentMethodRevoke` mutation.")] - public class CustomerPaymentMethodRevokePayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodRevoke` mutation.")] + public class CustomerPaymentMethodRevokePayload : GraphQLObject + { /// ///The ID of the revoked customer payment method. /// - [Description("The ID of the revoked customer payment method.")] - public string? revokedCustomerPaymentMethodId { get; set; } - + [Description("The ID of the revoked customer payment method.")] + public string? revokedCustomerPaymentMethodId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerPaymentMethodSendUpdateEmail` mutation. /// - [Description("Return type for `customerPaymentMethodSendUpdateEmail` mutation.")] - public class CustomerPaymentMethodSendUpdateEmailPayload : GraphQLObject - { + [Description("Return type for `customerPaymentMethodSendUpdateEmail` mutation.")] + public class CustomerPaymentMethodSendUpdateEmailPayload : GraphQLObject + { /// ///The customer to whom an update payment method email was sent. /// - [Description("The customer to whom an update payment method email was sent.")] - public Customer? customer { get; set; } - + [Description("The customer to whom an update payment method email was sent.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents an error in the input of a mutation. /// - [Description("Represents an error in the input of a mutation.")] - public class CustomerPaymentMethodUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error in the input of a mutation.")] + public class CustomerPaymentMethodUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerPaymentMethodUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerPaymentMethodUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerPaymentMethodUserError`. /// - [Description("Possible error codes that can be returned by `CustomerPaymentMethodUserError`.")] - public enum CustomerPaymentMethodUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerPaymentMethodUserError`.")] + public enum CustomerPaymentMethodUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, - } - - public static class CustomerPaymentMethodUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string PRESENT = @"PRESENT"; - public const string TAKEN = @"TAKEN"; - } - + [Description("The input value is already taken.")] + TAKEN, + } + + public static class CustomerPaymentMethodUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string PRESENT = @"PRESENT"; + public const string TAKEN = @"TAKEN"; + } + /// ///Represents a PayPal instrument for customer payment method. /// - [Description("Represents a PayPal instrument for customer payment method.")] - public class CustomerPaypalBillingAgreement : GraphQLObject, ICustomerPaymentInstrument - { + [Description("Represents a PayPal instrument for customer payment method.")] + public class CustomerPaypalBillingAgreement : GraphQLObject, ICustomerPaymentInstrument + { /// ///The billing address of this payment method. /// - [Description("The billing address of this payment method.")] - public CustomerPaymentInstrumentBillingAddress? billingAddress { get; set; } - + [Description("The billing address of this payment method.")] + public CustomerPaymentInstrumentBillingAddress? billingAddress { get; set; } + /// ///Whether the PayPal billing agreement is inactive. /// - [Description("Whether the PayPal billing agreement is inactive.")] - [NonNull] - public bool? inactive { get; set; } - + [Description("Whether the PayPal billing agreement is inactive.")] + [NonNull] + public bool? inactive { get; set; } + /// ///Whether the payment method can be revoked.The payment method can be revoked if there are no active subscription contracts. /// - [Description("Whether the payment method can be revoked.The payment method can be revoked if there are no active subscription contracts.")] - [NonNull] - public bool? isRevocable { get; set; } - + [Description("Whether the payment method can be revoked.The payment method can be revoked if there are no active subscription contracts.")] + [NonNull] + public bool? isRevocable { get; set; } + /// ///The customers's PayPal account email address. /// - [Description("The customers's PayPal account email address.")] - public string? paypalAccountEmail { get; set; } - } - + [Description("The customers's PayPal account email address.")] + public string? paypalAccountEmail { get; set; } + } + /// ///A phone number. /// - [Description("A phone number.")] - public class CustomerPhoneNumber : GraphQLObject - { + [Description("A phone number.")] + public class CustomerPhoneNumber : GraphQLObject + { /// ///The source from which the SMS marketing information for the customer was collected. /// - [Description("The source from which the SMS marketing information for the customer was collected.")] - [EnumType(typeof(CustomerConsentCollectedFrom))] - public string? marketingCollectedFrom { get; set; } - + [Description("The source from which the SMS marketing information for the customer was collected.")] + [EnumType(typeof(CustomerConsentCollectedFrom))] + public string? marketingCollectedFrom { get; set; } + /// ///The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines, ///received when the marketing consent was updated. /// - [Description("The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines,\nreceived when the marketing consent was updated.")] - [EnumType(typeof(CustomerMarketingOptInLevel))] - public string? marketingOptInLevel { get; set; } - + [Description("The marketing subscription opt-in level, as described by the M3AAWG best practices guidelines,\nreceived when the marketing consent was updated.")] + [EnumType(typeof(CustomerMarketingOptInLevel))] + public string? marketingOptInLevel { get; set; } + /// ///Whether the customer has subscribed to SMS marketing material. /// - [Description("Whether the customer has subscribed to SMS marketing material.")] - [NonNull] - [EnumType(typeof(CustomerSmsMarketingState))] - public string? marketingState { get; set; } - + [Description("Whether the customer has subscribed to SMS marketing material.")] + [NonNull] + [EnumType(typeof(CustomerSmsMarketingState))] + public string? marketingState { get; set; } + /// ///The date and time at which the marketing consent was updated. /// ///No date is provided if the email address never updated its marketing consent. /// - [Description("The date and time at which the marketing consent was updated.\n\nNo date is provided if the email address never updated its marketing consent.")] - public DateTime? marketingUpdatedAt { get; set; } - + [Description("The date and time at which the marketing consent was updated.\n\nNo date is provided if the email address never updated its marketing consent.")] + public DateTime? marketingUpdatedAt { get; set; } + /// ///A customer's phone number. /// - [Description("A customer's phone number.")] - [NonNull] - public string? phoneNumber { get; set; } - + [Description("A customer's phone number.")] + [NonNull] + public string? phoneNumber { get; set; } + /// ///The location where the customer consented to receive marketing material by SMS. /// - [Description("The location where the customer consented to receive marketing material by SMS.")] - public Location? sourceLocation { get; set; } - } - + [Description("The location where the customer consented to receive marketing material by SMS.")] + public Location? sourceLocation { get; set; } + } + /// ///The valid tiers for the predicted spend of a customer with a shop. /// - [Description("The valid tiers for the predicted spend of a customer with a shop.")] - public enum CustomerPredictedSpendTier - { + [Description("The valid tiers for the predicted spend of a customer with a shop.")] + public enum CustomerPredictedSpendTier + { /// ///The customer's spending is predicted to be in the top spending range for the shop in the following year. /// - [Description("The customer's spending is predicted to be in the top spending range for the shop in the following year.")] - HIGH, + [Description("The customer's spending is predicted to be in the top spending range for the shop in the following year.")] + HIGH, /// ///The customer's spending is predicted to be in the normal spending range for the shop in the following year. /// - [Description("The customer's spending is predicted to be in the normal spending range for the shop in the following year.")] - MEDIUM, + [Description("The customer's spending is predicted to be in the normal spending range for the shop in the following year.")] + MEDIUM, /// ///The customer's spending is predicted to be zero, or in the lowest spending range for the shop in the following year. /// - [Description("The customer's spending is predicted to be zero, or in the lowest spending range for the shop in the following year.")] - LOW, - } - - public static class CustomerPredictedSpendTierStringValues - { - public const string HIGH = @"HIGH"; - public const string MEDIUM = @"MEDIUM"; - public const string LOW = @"LOW"; - } - + [Description("The customer's spending is predicted to be zero, or in the lowest spending range for the shop in the following year.")] + LOW, + } + + public static class CustomerPredictedSpendTierStringValues + { + public const string HIGH = @"HIGH"; + public const string MEDIUM = @"MEDIUM"; + public const string LOW = @"LOW"; + } + /// ///The possible product subscription states for a customer, as defined by the customer's subscription contracts. /// - [Description("The possible product subscription states for a customer, as defined by the customer's subscription contracts.")] - public enum CustomerProductSubscriberStatus - { + [Description("The possible product subscription states for a customer, as defined by the customer's subscription contracts.")] + public enum CustomerProductSubscriberStatus + { /// ///The customer has at least one active subscription contract. /// - [Description("The customer has at least one active subscription contract.")] - ACTIVE, + [Description("The customer has at least one active subscription contract.")] + ACTIVE, /// ///The customer's last subscription contract was cancelled and there are no other active or paused ///subscription contracts. /// - [Description("The customer's last subscription contract was cancelled and there are no other active or paused\nsubscription contracts.")] - CANCELLED, + [Description("The customer's last subscription contract was cancelled and there are no other active or paused\nsubscription contracts.")] + CANCELLED, /// ///The customer's last subscription contract expired and there are no other active or paused ///subscription contracts. /// - [Description("The customer's last subscription contract expired and there are no other active or paused\nsubscription contracts.")] - EXPIRED, + [Description("The customer's last subscription contract expired and there are no other active or paused\nsubscription contracts.")] + EXPIRED, /// ///The customer's last subscription contract failed and there are no other active or paused ///subscription contracts. /// - [Description("The customer's last subscription contract failed and there are no other active or paused\nsubscription contracts.")] - FAILED, + [Description("The customer's last subscription contract failed and there are no other active or paused\nsubscription contracts.")] + FAILED, /// ///The customer has never had a subscription contract. /// - [Description("The customer has never had a subscription contract.")] - NEVER_SUBSCRIBED, + [Description("The customer has never had a subscription contract.")] + NEVER_SUBSCRIBED, /// ///The customer has at least one paused subscription contract and there are no other active ///subscription contracts. /// - [Description("The customer has at least one paused subscription contract and there are no other active\nsubscription contracts.")] - PAUSED, - } - - public static class CustomerProductSubscriberStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string CANCELLED = @"CANCELLED"; - public const string EXPIRED = @"EXPIRED"; - public const string FAILED = @"FAILED"; - public const string NEVER_SUBSCRIBED = @"NEVER_SUBSCRIBED"; - public const string PAUSED = @"PAUSED"; - } - + [Description("The customer has at least one paused subscription contract and there are no other active\nsubscription contracts.")] + PAUSED, + } + + public static class CustomerProductSubscriberStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string CANCELLED = @"CANCELLED"; + public const string EXPIRED = @"EXPIRED"; + public const string FAILED = @"FAILED"; + public const string NEVER_SUBSCRIBED = @"NEVER_SUBSCRIBED"; + public const string PAUSED = @"PAUSED"; + } + /// ///Return type for `customerRemoveTaxExemptions` mutation. /// - [Description("Return type for `customerRemoveTaxExemptions` mutation.")] - public class CustomerRemoveTaxExemptionsPayload : GraphQLObject - { + [Description("Return type for `customerRemoveTaxExemptions` mutation.")] + public class CustomerRemoveTaxExemptionsPayload : GraphQLObject + { /// ///The updated customer. /// - [Description("The updated customer.")] - public Customer? customer { get; set; } - + [Description("The updated customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerReplaceTaxExemptions` mutation. /// - [Description("Return type for `customerReplaceTaxExemptions` mutation.")] - public class CustomerReplaceTaxExemptionsPayload : GraphQLObject - { + [Description("Return type for `customerReplaceTaxExemptions` mutation.")] + public class CustomerReplaceTaxExemptionsPayload : GraphQLObject + { /// ///The updated customer. /// - [Description("The updated customer.")] - public Customer? customer { get; set; } - + [Description("The updated customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerRequestDataErasureUserError`. /// - [Description("Possible error codes that can be returned by `CustomerRequestDataErasureUserError`.")] - public enum CustomerRequestDataErasureErrorCode - { + [Description("Possible error codes that can be returned by `CustomerRequestDataErasureUserError`.")] + public enum CustomerRequestDataErasureErrorCode + { /// ///Customer does not exist. /// - [Description("Customer does not exist.")] - DOES_NOT_EXIST, + [Description("Customer does not exist.")] + DOES_NOT_EXIST, /// ///Failed to request customer data erasure. /// - [Description("Failed to request customer data erasure.")] - FAILED_TO_REQUEST, - } - - public static class CustomerRequestDataErasureErrorCodeStringValues - { - public const string DOES_NOT_EXIST = @"DOES_NOT_EXIST"; - public const string FAILED_TO_REQUEST = @"FAILED_TO_REQUEST"; - } - + [Description("Failed to request customer data erasure.")] + FAILED_TO_REQUEST, + } + + public static class CustomerRequestDataErasureErrorCodeStringValues + { + public const string DOES_NOT_EXIST = @"DOES_NOT_EXIST"; + public const string FAILED_TO_REQUEST = @"FAILED_TO_REQUEST"; + } + /// ///Return type for `customerRequestDataErasure` mutation. /// - [Description("Return type for `customerRequestDataErasure` mutation.")] - public class CustomerRequestDataErasurePayload : GraphQLObject - { + [Description("Return type for `customerRequestDataErasure` mutation.")] + public class CustomerRequestDataErasurePayload : GraphQLObject + { /// ///The ID of the customer that will be erased. /// - [Description("The ID of the customer that will be erased.")] - public string? customerId { get; set; } - + [Description("The ID of the customer that will be erased.")] + public string? customerId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs when requesting a customer data erasure. /// - [Description("An error that occurs when requesting a customer data erasure.")] - public class CustomerRequestDataErasureUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs when requesting a customer data erasure.")] + public class CustomerRequestDataErasureUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerRequestDataErasureErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerRequestDataErasureErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The RFM (Recency, Frequency, Monetary) group for a customer. /// - [Description("The RFM (Recency, Frequency, Monetary) group for a customer.")] - public enum CustomerRfmGroup - { + [Description("The RFM (Recency, Frequency, Monetary) group for a customer.")] + public enum CustomerRfmGroup + { /// ///Customers with very recent purchases, many orders, and the most spend. /// - [Description("Customers with very recent purchases, many orders, and the most spend.")] - CHAMPIONS, + [Description("Customers with very recent purchases, many orders, and the most spend.")] + CHAMPIONS, /// ///Customers with recent purchases, many orders, and the most spend. /// - [Description("Customers with recent purchases, many orders, and the most spend.")] - LOYAL, + [Description("Customers with recent purchases, many orders, and the most spend.")] + LOYAL, /// ///Customers with recent purchases, some orders, and moderate spend. /// - [Description("Customers with recent purchases, some orders, and moderate spend.")] - ACTIVE, + [Description("Customers with recent purchases, some orders, and moderate spend.")] + ACTIVE, /// ///Customers with very recent purchases, few orders, and low spend. /// - [Description("Customers with very recent purchases, few orders, and low spend.")] - NEW, + [Description("Customers with very recent purchases, few orders, and low spend.")] + NEW, /// ///Customers with recent purchases, few orders, and low spend. /// - [Description("Customers with recent purchases, few orders, and low spend.")] - PROMISING, + [Description("Customers with recent purchases, few orders, and low spend.")] + PROMISING, /// ///Customers with recent purchases, some orders, and moderate spend. /// - [Description("Customers with recent purchases, some orders, and moderate spend.")] - NEEDS_ATTENTION, + [Description("Customers with recent purchases, some orders, and moderate spend.")] + NEEDS_ATTENTION, /// ///Customers without recent purchases, fewer orders, and with lower spend. /// - [Description("Customers without recent purchases, fewer orders, and with lower spend.")] - ALMOST_LOST, + [Description("Customers without recent purchases, fewer orders, and with lower spend.")] + ALMOST_LOST, /// ///Customers without recent purchases, but with a very strong history of orders and spend. /// - [Description("Customers without recent purchases, but with a very strong history of orders and spend.")] - PREVIOUSLY_LOYAL, + [Description("Customers without recent purchases, but with a very strong history of orders and spend.")] + PREVIOUSLY_LOYAL, /// ///Customers without recent purchases, but with a strong history of orders and spend. /// - [Description("Customers without recent purchases, but with a strong history of orders and spend.")] - AT_RISK, + [Description("Customers without recent purchases, but with a strong history of orders and spend.")] + AT_RISK, /// ///Customers without recent orders, with infrequent orders, and with low spend. /// - [Description("Customers without recent orders, with infrequent orders, and with low spend.")] - DORMANT, + [Description("Customers without recent orders, with infrequent orders, and with low spend.")] + DORMANT, /// ///Customers with no orders yet. /// - [Description("Customers with no orders yet.")] - PROSPECTS, - } - - public static class CustomerRfmGroupStringValues - { - public const string CHAMPIONS = @"CHAMPIONS"; - public const string LOYAL = @"LOYAL"; - public const string ACTIVE = @"ACTIVE"; - public const string NEW = @"NEW"; - public const string PROMISING = @"PROMISING"; - public const string NEEDS_ATTENTION = @"NEEDS_ATTENTION"; - public const string ALMOST_LOST = @"ALMOST_LOST"; - public const string PREVIOUSLY_LOYAL = @"PREVIOUSLY_LOYAL"; - public const string AT_RISK = @"AT_RISK"; - public const string DORMANT = @"DORMANT"; - public const string PROSPECTS = @"PROSPECTS"; - } - + [Description("Customers with no orders yet.")] + PROSPECTS, + } + + public static class CustomerRfmGroupStringValues + { + public const string CHAMPIONS = @"CHAMPIONS"; + public const string LOYAL = @"LOYAL"; + public const string ACTIVE = @"ACTIVE"; + public const string NEW = @"NEW"; + public const string PROMISING = @"PROMISING"; + public const string NEEDS_ATTENTION = @"NEEDS_ATTENTION"; + public const string ALMOST_LOST = @"ALMOST_LOST"; + public const string PREVIOUSLY_LOYAL = @"PREVIOUSLY_LOYAL"; + public const string AT_RISK = @"AT_RISK"; + public const string DORMANT = @"DORMANT"; + public const string PROSPECTS = @"PROSPECTS"; + } + /// ///The set of valid sort keys for the CustomerSavedSearch query. /// - [Description("The set of valid sort keys for the CustomerSavedSearch query.")] - public enum CustomerSavedSearchSortKeys - { + [Description("The set of valid sort keys for the CustomerSavedSearch query.")] + public enum CustomerSavedSearchSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, - } - - public static class CustomerSavedSearchSortKeysStringValues - { - public const string ID = @"ID"; - public const string NAME = @"NAME"; - } - + [Description("Sort by the `name` value.")] + NAME, + } + + public static class CustomerSavedSearchSortKeysStringValues + { + public const string ID = @"ID"; + public const string NAME = @"NAME"; + } + /// ///The member of a segment. /// - [Description("The member of a segment.")] - public class CustomerSegmentMember : GraphQLObject, IHasMetafields - { + [Description("The member of a segment.")] + public class CustomerSegmentMember : GraphQLObject, IHasMetafields + { /// ///The total amount of money that the member has spent on orders. /// - [Description("The total amount of money that the member has spent on orders.")] - public MoneyV2? amountSpent { get; set; } - + [Description("The total amount of money that the member has spent on orders.")] + public MoneyV2? amountSpent { get; set; } + /// ///The member's default address. /// - [Description("The member's default address.")] - public MailingAddress? defaultAddress { get; set; } - + [Description("The member's default address.")] + public MailingAddress? defaultAddress { get; set; } + /// ///The member's default email address. /// - [Description("The member's default email address.")] - public CustomerEmailAddress? defaultEmailAddress { get; set; } - + [Description("The member's default email address.")] + public CustomerEmailAddress? defaultEmailAddress { get; set; } + /// ///The member's default phone number. /// - [Description("The member's default phone number.")] - public CustomerPhoneNumber? defaultPhoneNumber { get; set; } - + [Description("The member's default phone number.")] + public CustomerPhoneNumber? defaultPhoneNumber { get; set; } + /// ///The full name of the member, which is based on the values of the `first_name` and `last_name` fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used. /// - [Description("The full name of the member, which is based on the values of the `first_name` and `last_name` fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The full name of the member, which is based on the values of the `first_name` and `last_name` fields. If the member's first name and last name aren't available, then the customer's email address is used. If the customer's email address isn't available, then the customer's phone number is used.")] + [NonNull] + public string? displayName { get; set; } + /// ///The member's first name. /// - [Description("The member's first name.")] - public string? firstName { get; set; } - + [Description("The member's first name.")] + public string? firstName { get; set; } + /// ///The member’s ID. /// - [Description("The member’s ID.")] - [NonNull] - public string? id { get; set; } - + [Description("The member’s ID.")] + [NonNull] + public string? id { get; set; } + /// ///The member's last name. /// - [Description("The member's last name.")] - public string? lastName { get; set; } - + [Description("The member's last name.")] + public string? lastName { get; set; } + /// ///The ID of the member's most recent order. /// - [Description("The ID of the member's most recent order.")] - public string? lastOrderId { get; set; } - + [Description("The ID of the member's most recent order.")] + public string? lastOrderId { get; set; } + /// ///Whether the customer can be merged with another customer. /// - [Description("Whether the customer can be merged with another customer.")] - [NonNull] - public CustomerMergeable? mergeable { get; set; } - + [Description("Whether the customer can be merged with another customer.")] + [NonNull] + public CustomerMergeable? mergeable { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///A note about the member. /// - [Description("A note about the member.")] - public string? note { get; set; } - + [Description("A note about the member.")] + public string? note { get; set; } + /// ///The total number of orders that the member has made. /// - [Description("The total number of orders that the member has made.")] - public ulong? numberOfOrders { get; set; } - } - + [Description("The total number of orders that the member has made.")] + public ulong? numberOfOrders { get; set; } + } + /// ///The connection type for the `CustomerSegmentMembers` object. /// - [Description("The connection type for the `CustomerSegmentMembers` object.")] - public class CustomerSegmentMemberConnection : GraphQLObject, IConnectionWithEdges - { + [Description("The connection type for the `CustomerSegmentMembers` object.")] + public class CustomerSegmentMemberConnection : GraphQLObject, IConnectionWithEdges + { /// ///A list of edges. /// - [Description("A list of edges.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("A list of edges.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + /// ///The statistics for a given segment. /// - [Description("The statistics for a given segment.")] - [NonNull] - public SegmentStatistics? statistics { get; set; } - + [Description("The statistics for a given segment.")] + [NonNull] + public SegmentStatistics? statistics { get; set; } + /// ///The total number of members in a given segment. /// - [Description("The total number of members in a given segment.")] - [NonNull] - public int? totalCount { get; set; } - } - + [Description("The total number of members in a given segment.")] + [NonNull] + public int? totalCount { get; set; } + } + /// ///An auto-generated type which holds one CustomerSegmentMember and a cursor during pagination. /// - [Description("An auto-generated type which holds one CustomerSegmentMember and a cursor during pagination.")] - public class CustomerSegmentMemberEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CustomerSegmentMember and a cursor during pagination.")] + public class CustomerSegmentMemberEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CustomerSegmentMemberEdge. /// - [Description("The item at the end of CustomerSegmentMemberEdge.")] - [NonNull] - public CustomerSegmentMember? node { get; set; } - } - + [Description("The item at the end of CustomerSegmentMemberEdge.")] + [NonNull] + public CustomerSegmentMember? node { get; set; } + } + /// ///A job to determine a list of members, such as customers, that are associated with an individual segment. /// - [Description("A job to determine a list of members, such as customers, that are associated with an individual segment.")] - public class CustomerSegmentMembersQuery : GraphQLObject, IJobResult, INode - { + [Description("A job to determine a list of members, such as customers, that are associated with an individual segment.")] + public class CustomerSegmentMembersQuery : GraphQLObject, IJobResult, INode + { /// ///The current total number of members in a given segment. /// - [Description("The current total number of members in a given segment.")] - [NonNull] - public int? currentCount { get; set; } - + [Description("The current total number of members in a given segment.")] + [NonNull] + public int? currentCount { get; set; } + /// ///This indicates if the job is still queued or has been run. /// - [Description("This indicates if the job is still queued or has been run.")] - [NonNull] - public bool? done { get; set; } - + [Description("This indicates if the job is still queued or has been run.")] + [NonNull] + public bool? done { get; set; } + /// ///A globally-unique ID that's returned when running an asynchronous mutation. /// - [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `customerSegmentMembersQueryCreate` mutation. /// - [Description("Return type for `customerSegmentMembersQueryCreate` mutation.")] - public class CustomerSegmentMembersQueryCreatePayload : GraphQLObject - { + [Description("Return type for `customerSegmentMembersQueryCreate` mutation.")] + public class CustomerSegmentMembersQueryCreatePayload : GraphQLObject + { /// ///The newly created customer segment members query. /// - [Description("The newly created customer segment members query.")] - public CustomerSegmentMembersQuery? customerSegmentMembersQuery { get; set; } - + [Description("The newly created customer segment members query.")] + public CustomerSegmentMembersQuery? customerSegmentMembersQuery { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields and values for creating a customer segment members query. /// - [Description("The input fields and values for creating a customer segment members query.")] - public class CustomerSegmentMembersQueryInput : GraphQLObject - { + [Description("The input fields and values for creating a customer segment members query.")] + public class CustomerSegmentMembersQueryInput : GraphQLObject + { /// ///The ID of the segment. /// - [Description("The ID of the segment.")] - public string? segmentId { get; set; } - + [Description("The ID of the segment.")] + public string? segmentId { get; set; } + /// ///The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as `email_subscription_status = 'SUBSCRIBED'` with [this syntax](https://shopify.dev/api/shopifyql/segment-query-language-reference). /// - [Description("The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as `email_subscription_status = 'SUBSCRIBED'` with [this syntax](https://shopify.dev/api/shopifyql/segment-query-language-reference).")] - public string? query { get; set; } - + [Description("The query that's used to filter the members. The query is composed of a combination of conditions on facts about customers such as `email_subscription_status = 'SUBSCRIBED'` with [this syntax](https://shopify.dev/api/shopifyql/segment-query-language-reference).")] + public string? query { get; set; } + /// ///Reverse the order of the list. The sorting behaviour defaults to ascending order. /// - [Description("Reverse the order of the list. The sorting behaviour defaults to ascending order.")] - public bool? reverse { get; set; } - + [Description("Reverse the order of the list. The sorting behaviour defaults to ascending order.")] + public bool? reverse { get; set; } + /// ///Sort the list by a given key. /// - [Description("Sort the list by a given key.")] - public string? sortKey { get; set; } - } - + [Description("Sort the list by a given key.")] + public string? sortKey { get; set; } + } + /// ///Represents a customer segment members query custom error. /// - [Description("Represents a customer segment members query custom error.")] - public class CustomerSegmentMembersQueryUserError : GraphQLObject, IDisplayableError - { + [Description("Represents a customer segment members query custom error.")] + public class CustomerSegmentMembersQueryUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerSegmentMembersQueryUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerSegmentMembersQueryUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerSegmentMembersQueryUserError`. /// - [Description("Possible error codes that can be returned by `CustomerSegmentMembersQueryUserError`.")] - public enum CustomerSegmentMembersQueryUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerSegmentMembersQueryUserError`.")] + public enum CustomerSegmentMembersQueryUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class CustomerSegmentMembersQueryUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class CustomerSegmentMembersQueryUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///Return type for `customerSendAccountInviteEmail` mutation. /// - [Description("Return type for `customerSendAccountInviteEmail` mutation.")] - public class CustomerSendAccountInviteEmailPayload : GraphQLObject - { + [Description("Return type for `customerSendAccountInviteEmail` mutation.")] + public class CustomerSendAccountInviteEmailPayload : GraphQLObject + { /// ///The customer to whom an account invite email was sent. /// - [Description("The customer to whom an account invite email was sent.")] - public Customer? customer { get; set; } - + [Description("The customer to whom an account invite email was sent.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors for customerSendAccountInviteEmail mutation. /// - [Description("Defines errors for customerSendAccountInviteEmail mutation.")] - public class CustomerSendAccountInviteEmailUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors for customerSendAccountInviteEmail mutation.")] + public class CustomerSendAccountInviteEmailUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerSendAccountInviteEmailUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerSendAccountInviteEmailUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerSendAccountInviteEmailUserError`. /// - [Description("Possible error codes that can be returned by `CustomerSendAccountInviteEmailUserError`.")] - public enum CustomerSendAccountInviteEmailUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerSendAccountInviteEmailUserError`.")] + public enum CustomerSendAccountInviteEmailUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class CustomerSendAccountInviteEmailUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class CustomerSendAccountInviteEmailUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///The input fields required to identify a customer. /// - [Description("The input fields required to identify a customer.")] - public class CustomerSetIdentifiers : GraphQLObject - { + [Description("The input fields required to identify a customer.")] + public class CustomerSetIdentifiers : GraphQLObject + { /// ///ID of customer to update. /// - [Description("ID of customer to update.")] - public string? id { get; set; } - + [Description("ID of customer to update.")] + public string? id { get; set; } + /// ///Email address of the customer to upsert. /// - [Description("Email address of the customer to upsert.")] - public string? email { get; set; } - + [Description("Email address of the customer to upsert.")] + public string? email { get; set; } + /// ///Phone number of the customer to upsert. /// - [Description("Phone number of the customer to upsert.")] - public string? phone { get; set; } - + [Description("Phone number of the customer to upsert.")] + public string? phone { get; set; } + /// ///Custom ID of customer to upsert. /// - [Description("Custom ID of customer to upsert.")] - public UniqueMetafieldValueInput? customId { get; set; } - } - + [Description("Custom ID of customer to upsert.")] + public UniqueMetafieldValueInput? customId { get; set; } + } + /// ///The input fields and values to use when creating or updating a customer. /// - [Description("The input fields and values to use when creating or updating a customer.")] - public class CustomerSetInput : GraphQLObject - { + [Description("The input fields and values to use when creating or updating a customer.")] + public class CustomerSetInput : GraphQLObject + { /// ///The addresses for a customer. /// - [Description("The addresses for a customer.")] - public IEnumerable? addresses { get; set; } - + [Description("The addresses for a customer.")] + public IEnumerable? addresses { get; set; } + /// ///The unique email address of the customer. /// - [Description("The unique email address of the customer.")] - public string? email { get; set; } - + [Description("The unique email address of the customer.")] + public string? email { get; set; } + /// ///The customer's first name. /// - [Description("The customer's first name.")] - public string? firstName { get; set; } - + [Description("The customer's first name.")] + public string? firstName { get; set; } + /// ///Specifies the customer to update. If absent, a new customer is created. /// - [Description("Specifies the customer to update. If absent, a new customer is created.")] - [Obsolete("To update a customer use `identifier` argument instead.")] - public string? id { get; set; } - + [Description("Specifies the customer to update. If absent, a new customer is created.")] + [Obsolete("To update a customer use `identifier` argument instead.")] + public string? id { get; set; } + /// ///The customer's last name. /// - [Description("The customer's last name.")] - public string? lastName { get; set; } - + [Description("The customer's last name.")] + public string? lastName { get; set; } + /// ///The customer's locale. /// - [Description("The customer's locale.")] - public string? locale { get; set; } - + [Description("The customer's locale.")] + public string? locale { get; set; } + /// ///A note about the customer. /// - [Description("A note about the customer.")] - public string? note { get; set; } - + [Description("A note about the customer.")] + public string? note { get; set; } + /// ///The unique phone number for the customer. /// - [Description("The unique phone number for the customer.")] - public string? phone { get; set; } - + [Description("The unique phone number for the customer.")] + public string? phone { get; set; } + /// ///A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: `["tag1", "tag2", "tag3"]`, `"tag1, tag2, tag3"` /// @@ -28154,1303 +28154,1303 @@ public class CustomerSetInput : GraphQLObject ///existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: `[\"tag1\", \"tag2\", \"tag3\"]`, `\"tag1, tag2, tag3\"`\n\nUpdating `tags` overwrites any existing tags that were previously added to the customer. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - public IEnumerable? tags { get; set; } - + [Description("A list of tags to associate with the customer. Can be an array or a comma-separated list. Example values: `[\"tag1\", \"tag2\", \"tag3\"]`, `\"tag1, tag2, tag3\"`\n\nUpdating `tags` overwrites any existing tags that were previously added to the customer. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + public IEnumerable? tags { get; set; } + /// ///Whether the customer is exempt from paying taxes on their order. /// - [Description("Whether the customer is exempt from paying taxes on their order.")] - public bool? taxExempt { get; set; } - + [Description("Whether the customer is exempt from paying taxes on their order.")] + public bool? taxExempt { get; set; } + /// ///The list of tax exemptions to apply to the customer. /// - [Description("The list of tax exemptions to apply to the customer.")] - public IEnumerable? taxExemptions { get; set; } - } - + [Description("The list of tax exemptions to apply to the customer.")] + public IEnumerable? taxExemptions { get; set; } + } + /// ///Return type for `customerSet` mutation. /// - [Description("Return type for `customerSet` mutation.")] - public class CustomerSetPayload : GraphQLObject - { + [Description("Return type for `customerSet` mutation.")] + public class CustomerSetPayload : GraphQLObject + { /// ///The created or updated customer. /// - [Description("The created or updated customer.")] - public Customer? customer { get; set; } - + [Description("The created or updated customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors for CustomerSet mutation. /// - [Description("Defines errors for CustomerSet mutation.")] - public class CustomerSetUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors for CustomerSet mutation.")] + public class CustomerSetUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerSetUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerSetUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerSetUserError`. /// - [Description("Possible error codes that can be returned by `CustomerSetUserError`.")] - public enum CustomerSetUserErrorCode - { + [Description("Possible error codes that can be returned by `CustomerSetUserError`.")] + public enum CustomerSetUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The id field is not allowed if identifier is provided. /// - [Description("The id field is not allowed if identifier is provided.")] - ID_NOT_ALLOWED, + [Description("The id field is not allowed if identifier is provided.")] + ID_NOT_ALLOWED, /// ///The input field corresponding to the identifier is required. /// - [Description("The input field corresponding to the identifier is required.")] - MISSING_FIELD_REQUIRED, + [Description("The input field corresponding to the identifier is required.")] + MISSING_FIELD_REQUIRED, /// ///The identifier value does not match the value of the corresponding field in the input. /// - [Description("The identifier value does not match the value of the corresponding field in the input.")] - INPUT_MISMATCH, + [Description("The identifier value does not match the value of the corresponding field in the input.")] + INPUT_MISMATCH, /// ///Resource matching the identifier was not found. /// - [Description("Resource matching the identifier was not found.")] - NOT_FOUND, + [Description("Resource matching the identifier was not found.")] + NOT_FOUND, /// ///The input argument `metafields` (if present) must contain the `customId` value. /// - [Description("The input argument `metafields` (if present) must contain the `customId` value.")] - METAFIELD_MISMATCH, - } - - public static class CustomerSetUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string INCLUSION = @"INCLUSION"; - public const string TAKEN = @"TAKEN"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string PRESENT = @"PRESENT"; - public const string BLANK = @"BLANK"; - public const string ID_NOT_ALLOWED = @"ID_NOT_ALLOWED"; - public const string MISSING_FIELD_REQUIRED = @"MISSING_FIELD_REQUIRED"; - public const string INPUT_MISMATCH = @"INPUT_MISMATCH"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string METAFIELD_MISMATCH = @"METAFIELD_MISMATCH"; - } - + [Description("The input argument `metafields` (if present) must contain the `customId` value.")] + METAFIELD_MISMATCH, + } + + public static class CustomerSetUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string INCLUSION = @"INCLUSION"; + public const string TAKEN = @"TAKEN"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string PRESENT = @"PRESENT"; + public const string BLANK = @"BLANK"; + public const string ID_NOT_ALLOWED = @"ID_NOT_ALLOWED"; + public const string MISSING_FIELD_REQUIRED = @"MISSING_FIELD_REQUIRED"; + public const string INPUT_MISMATCH = @"INPUT_MISMATCH"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string METAFIELD_MISMATCH = @"METAFIELD_MISMATCH"; + } + /// ///Represents a Shop Pay card instrument for customer payment method. /// - [Description("Represents a Shop Pay card instrument for customer payment method.")] - public class CustomerShopPayAgreement : GraphQLObject, ICustomerPaymentInstrument - { + [Description("Represents a Shop Pay card instrument for customer payment method.")] + public class CustomerShopPayAgreement : GraphQLObject, ICustomerPaymentInstrument + { /// ///The billing address of the card. /// - [Description("The billing address of the card.")] - public CustomerCreditCardBillingAddress? billingAddress { get; set; } - + [Description("The billing address of the card.")] + public CustomerCreditCardBillingAddress? billingAddress { get; set; } + /// ///Whether the card is about to expire. /// - [Description("Whether the card is about to expire.")] - [NonNull] - public bool? expiresSoon { get; set; } - + [Description("Whether the card is about to expire.")] + [NonNull] + public bool? expiresSoon { get; set; } + /// ///The expiry month of the card. /// - [Description("The expiry month of the card.")] - [NonNull] - public int? expiryMonth { get; set; } - + [Description("The expiry month of the card.")] + [NonNull] + public int? expiryMonth { get; set; } + /// ///The expiry year of the card. /// - [Description("The expiry year of the card.")] - [NonNull] - public int? expiryYear { get; set; } - + [Description("The expiry year of the card.")] + [NonNull] + public int? expiryYear { get; set; } + /// ///Whether the Shop Pay billing agreement is inactive. /// - [Description("Whether the Shop Pay billing agreement is inactive.")] - [NonNull] - public bool? inactive { get; set; } - + [Description("Whether the Shop Pay billing agreement is inactive.")] + [NonNull] + public bool? inactive { get; set; } + /// ///The payment method can be revoked if there are no active subscription contracts. /// - [Description("The payment method can be revoked if there are no active subscription contracts.")] - [NonNull] - public bool? isRevocable { get; set; } - + [Description("The payment method can be revoked if there are no active subscription contracts.")] + [NonNull] + public bool? isRevocable { get; set; } + /// ///The last 4 digits of the card. /// - [Description("The last 4 digits of the card.")] - [NonNull] - public string? lastDigits { get; set; } - + [Description("The last 4 digits of the card.")] + [NonNull] + public string? lastDigits { get; set; } + /// ///The masked card number with only the last 4 digits displayed. /// - [Description("The masked card number with only the last 4 digits displayed.")] - [NonNull] - public string? maskedNumber { get; set; } - + [Description("The masked card number with only the last 4 digits displayed.")] + [NonNull] + public string? maskedNumber { get; set; } + /// ///The name of the card holder. /// - [Description("The name of the card holder.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the card holder.")] + [NonNull] + public string? name { get; set; } + } + /// ///An error that occurs during execution of an SMS marketing consent mutation. /// - [Description("An error that occurs during execution of an SMS marketing consent mutation.")] - public class CustomerSmsMarketingConsentError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during execution of an SMS marketing consent mutation.")] + public class CustomerSmsMarketingConsentError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(CustomerSmsMarketingConsentErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(CustomerSmsMarketingConsentErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `CustomerSmsMarketingConsentError`. /// - [Description("Possible error codes that can be returned by `CustomerSmsMarketingConsentError`.")] - public enum CustomerSmsMarketingConsentErrorCode - { + [Description("Possible error codes that can be returned by `CustomerSmsMarketingConsentError`.")] + public enum CustomerSmsMarketingConsentErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///Missing a required argument. /// - [Description("Missing a required argument.")] - MISSING_ARGUMENT, - } - - public static class CustomerSmsMarketingConsentErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string INCLUSION = @"INCLUSION"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; - } - + [Description("Missing a required argument.")] + MISSING_ARGUMENT, + } + + public static class CustomerSmsMarketingConsentErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string INCLUSION = @"INCLUSION"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; + } + /// ///The marketing consent information when the customer consented to /// receiving marketing material by SMS. /// - [Description("The marketing consent information when the customer consented to\n receiving marketing material by SMS.")] - public class CustomerSmsMarketingConsentInput : GraphQLObject - { + [Description("The marketing consent information when the customer consented to\n receiving marketing material by SMS.")] + public class CustomerSmsMarketingConsentInput : GraphQLObject + { /// ///The marketing subscription opt-in level that was set when the customer consented to receive marketing information. /// - [Description("The marketing subscription opt-in level that was set when the customer consented to receive marketing information.")] - [EnumType(typeof(CustomerMarketingOptInLevel))] - public string? marketingOptInLevel { get; set; } - + [Description("The marketing subscription opt-in level that was set when the customer consented to receive marketing information.")] + [EnumType(typeof(CustomerMarketingOptInLevel))] + public string? marketingOptInLevel { get; set; } + /// ///The current SMS marketing state for the customer. /// - [Description("The current SMS marketing state for the customer.")] - [NonNull] - [EnumType(typeof(CustomerSmsMarketingState))] - public string? marketingState { get; set; } - + [Description("The current SMS marketing state for the customer.")] + [NonNull] + [EnumType(typeof(CustomerSmsMarketingState))] + public string? marketingState { get; set; } + /// ///The date and time when the customer consented to receive marketing material by SMS. ///If no date is provided, then the date and time when the consent information was sent is used. /// - [Description("The date and time when the customer consented to receive marketing material by SMS.\nIf no date is provided, then the date and time when the consent information was sent is used.")] - public DateTime? consentUpdatedAt { get; set; } - + [Description("The date and time when the customer consented to receive marketing material by SMS.\nIf no date is provided, then the date and time when the consent information was sent is used.")] + public DateTime? consentUpdatedAt { get; set; } + /// ///Identifies the location where the customer consented to receiving marketing material by SMS. /// - [Description("Identifies the location where the customer consented to receiving marketing material by SMS.")] - public string? sourceLocationId { get; set; } - } - + [Description("Identifies the location where the customer consented to receiving marketing material by SMS.")] + public string? sourceLocationId { get; set; } + } + /// ///The record of when a customer consented to receive marketing material by SMS. /// ///The customer's consent state reflects the record with the most recent date when consent was updated. /// - [Description("The record of when a customer consented to receive marketing material by SMS.\n\nThe customer's consent state reflects the record with the most recent date when consent was updated.")] - public class CustomerSmsMarketingConsentState : GraphQLObject - { + [Description("The record of when a customer consented to receive marketing material by SMS.\n\nThe customer's consent state reflects the record with the most recent date when consent was updated.")] + public class CustomerSmsMarketingConsentState : GraphQLObject + { /// ///The source from which the SMS marketing information for the customer was collected. /// - [Description("The source from which the SMS marketing information for the customer was collected.")] - [EnumType(typeof(CustomerConsentCollectedFrom))] - public string? consentCollectedFrom { get; set; } - + [Description("The source from which the SMS marketing information for the customer was collected.")] + [EnumType(typeof(CustomerConsentCollectedFrom))] + public string? consentCollectedFrom { get; set; } + /// ///The date and time when the customer consented to receive marketing material by SMS. ///If no date is provided, then the date and time when the consent information was sent is used. /// - [Description("The date and time when the customer consented to receive marketing material by SMS.\nIf no date is provided, then the date and time when the consent information was sent is used.")] - public DateTime? consentUpdatedAt { get; set; } - + [Description("The date and time when the customer consented to receive marketing material by SMS.\nIf no date is provided, then the date and time when the consent information was sent is used.")] + public DateTime? consentUpdatedAt { get; set; } + /// ///The marketing subscription opt-in level that was set when the customer consented to receive marketing information. /// - [Description("The marketing subscription opt-in level that was set when the customer consented to receive marketing information.")] - [NonNull] - [EnumType(typeof(CustomerMarketingOptInLevel))] - public string? marketingOptInLevel { get; set; } - + [Description("The marketing subscription opt-in level that was set when the customer consented to receive marketing information.")] + [NonNull] + [EnumType(typeof(CustomerMarketingOptInLevel))] + public string? marketingOptInLevel { get; set; } + /// ///The current SMS marketing state for the customer. /// - [Description("The current SMS marketing state for the customer.")] - [NonNull] - [EnumType(typeof(CustomerSmsMarketingState))] - public string? marketingState { get; set; } - + [Description("The current SMS marketing state for the customer.")] + [NonNull] + [EnumType(typeof(CustomerSmsMarketingState))] + public string? marketingState { get; set; } + /// ///The location where the customer consented to receive marketing material by SMS. /// - [Description("The location where the customer consented to receive marketing material by SMS.")] - public Location? sourceLocation { get; set; } - } - + [Description("The location where the customer consented to receive marketing material by SMS.")] + public Location? sourceLocation { get; set; } + } + /// ///The input fields for updating SMS marketing consent information for a given customer ID. /// - [Description("The input fields for updating SMS marketing consent information for a given customer ID.")] - public class CustomerSmsMarketingConsentUpdateInput : GraphQLObject - { + [Description("The input fields for updating SMS marketing consent information for a given customer ID.")] + public class CustomerSmsMarketingConsentUpdateInput : GraphQLObject + { /// ///The ID of the customer to update the SMS marketing consent information for. The customer must have a unique phone number associated to the record. If not, add the phone number using the `customerUpdate` mutation first. /// - [Description("The ID of the customer to update the SMS marketing consent information for. The customer must have a unique phone number associated to the record. If not, add the phone number using the `customerUpdate` mutation first.")] - [NonNull] - public string? customerId { get; set; } - + [Description("The ID of the customer to update the SMS marketing consent information for. The customer must have a unique phone number associated to the record. If not, add the phone number using the `customerUpdate` mutation first.")] + [NonNull] + public string? customerId { get; set; } + /// ///The marketing consent information when the customer consented to receiving marketing material by SMS. /// - [Description("The marketing consent information when the customer consented to receiving marketing material by SMS.")] - [NonNull] - public CustomerSmsMarketingConsentInput? smsMarketingConsent { get; set; } - } - + [Description("The marketing consent information when the customer consented to receiving marketing material by SMS.")] + [NonNull] + public CustomerSmsMarketingConsentInput? smsMarketingConsent { get; set; } + } + /// ///Return type for `customerSmsMarketingConsentUpdate` mutation. /// - [Description("Return type for `customerSmsMarketingConsentUpdate` mutation.")] - public class CustomerSmsMarketingConsentUpdatePayload : GraphQLObject - { + [Description("Return type for `customerSmsMarketingConsentUpdate` mutation.")] + public class CustomerSmsMarketingConsentUpdatePayload : GraphQLObject + { /// ///The updated customer. /// - [Description("The updated customer.")] - public Customer? customer { get; set; } - + [Description("The updated customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The valid SMS marketing states for a customer’s phone number. /// - [Description("The valid SMS marketing states for a customer’s phone number.")] - public enum CustomerSmsMarketingState - { + [Description("The valid SMS marketing states for a customer’s phone number.")] + public enum CustomerSmsMarketingState + { /// ///The customer hasn't subscribed to SMS marketing. /// - [Description("The customer hasn't subscribed to SMS marketing.")] - NOT_SUBSCRIBED, + [Description("The customer hasn't subscribed to SMS marketing.")] + NOT_SUBSCRIBED, /// ///The customer is in the process of subscribing to SMS marketing. /// - [Description("The customer is in the process of subscribing to SMS marketing.")] - PENDING, + [Description("The customer is in the process of subscribing to SMS marketing.")] + PENDING, /// ///The customer is subscribed to SMS marketing. /// - [Description("The customer is subscribed to SMS marketing.")] - SUBSCRIBED, + [Description("The customer is subscribed to SMS marketing.")] + SUBSCRIBED, /// ///The customer isn't currently subscribed to SMS marketing but was previously subscribed. /// - [Description("The customer isn't currently subscribed to SMS marketing but was previously subscribed.")] - UNSUBSCRIBED, + [Description("The customer isn't currently subscribed to SMS marketing but was previously subscribed.")] + UNSUBSCRIBED, /// ///The customer's personal data is erased. This value is internally-set and read-only. /// - [Description("The customer's personal data is erased. This value is internally-set and read-only.")] - REDACTED, - } - - public static class CustomerSmsMarketingStateStringValues - { - public const string NOT_SUBSCRIBED = @"NOT_SUBSCRIBED"; - public const string PENDING = @"PENDING"; - public const string SUBSCRIBED = @"SUBSCRIBED"; - public const string UNSUBSCRIBED = @"UNSUBSCRIBED"; - public const string REDACTED = @"REDACTED"; - } - + [Description("The customer's personal data is erased. This value is internally-set and read-only.")] + REDACTED, + } + + public static class CustomerSmsMarketingStateStringValues + { + public const string NOT_SUBSCRIBED = @"NOT_SUBSCRIBED"; + public const string PENDING = @"PENDING"; + public const string SUBSCRIBED = @"SUBSCRIBED"; + public const string UNSUBSCRIBED = @"UNSUBSCRIBED"; + public const string REDACTED = @"REDACTED"; + } + /// ///The set of valid sort keys for the Customer query. /// - [Description("The set of valid sort keys for the Customer query.")] - public enum CustomerSortKeys - { + [Description("The set of valid sort keys for the Customer query.")] + public enum CustomerSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `location` value. /// - [Description("Sort by the `location` value.")] - LOCATION, + [Description("Sort by the `location` value.")] + LOCATION, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class CustomerSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string LOCATION = @"LOCATION"; - public const string NAME = @"NAME"; - public const string RELEVANCE = @"RELEVANCE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class CustomerSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string LOCATION = @"LOCATION"; + public const string NAME = @"NAME"; + public const string RELEVANCE = @"RELEVANCE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The valid values for the state of a customer's account with a shop. /// - [Description("The valid values for the state of a customer's account with a shop.")] - public enum CustomerState - { + [Description("The valid values for the state of a customer's account with a shop.")] + public enum CustomerState + { /// ///The customer declined the email invite to create an account. /// - [Description("The customer declined the email invite to create an account.")] - DECLINED, + [Description("The customer declined the email invite to create an account.")] + DECLINED, /// ///The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time. /// - [Description("The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.")] - DISABLED, + [Description("The customer doesn't have an active account. Customer accounts can be disabled from the Shopify admin at any time.")] + DISABLED, /// ///The customer has created an account. /// - [Description("The customer has created an account.")] - ENABLED, + [Description("The customer has created an account.")] + ENABLED, /// ///The customer has received an email invite to create an account. /// - [Description("The customer has received an email invite to create an account.")] - INVITED, - } - - public static class CustomerStateStringValues - { - public const string DECLINED = @"DECLINED"; - public const string DISABLED = @"DISABLED"; - public const string ENABLED = @"ENABLED"; - public const string INVITED = @"INVITED"; - } - + [Description("The customer has received an email invite to create an account.")] + INVITED, + } + + public static class CustomerStateStringValues + { + public const string DECLINED = @"DECLINED"; + public const string DISABLED = @"DISABLED"; + public const string ENABLED = @"ENABLED"; + public const string INVITED = @"INVITED"; + } + /// ///A customer's computed statistics. /// - [Description("A customer's computed statistics.")] - public class CustomerStatistics : GraphQLObject - { + [Description("A customer's computed statistics.")] + public class CustomerStatistics : GraphQLObject + { /// ///The predicted spend tier of a customer with a shop. /// - [Description("The predicted spend tier of a customer with a shop.")] - [EnumType(typeof(CustomerPredictedSpendTier))] - public string? predictedSpendTier { get; set; } - + [Description("The predicted spend tier of a customer with a shop.")] + [EnumType(typeof(CustomerPredictedSpendTier))] + public string? predictedSpendTier { get; set; } + /// ///The RFM (Recency, Frequency, Monetary) group of the customer. /// - [Description("The RFM (Recency, Frequency, Monetary) group of the customer.")] - [EnumType(typeof(CustomerRfmGroup))] - public string? rfmGroup { get; set; } - } - + [Description("The RFM (Recency, Frequency, Monetary) group of the customer.")] + [EnumType(typeof(CustomerRfmGroup))] + public string? rfmGroup { get; set; } + } + /// ///Return type for `customerUpdateDefaultAddress` mutation. /// - [Description("Return type for `customerUpdateDefaultAddress` mutation.")] - public class CustomerUpdateDefaultAddressPayload : GraphQLObject - { + [Description("Return type for `customerUpdateDefaultAddress` mutation.")] + public class CustomerUpdateDefaultAddressPayload : GraphQLObject + { /// ///The customer whose address was updated. /// - [Description("The customer whose address was updated.")] - public Customer? customer { get; set; } - + [Description("The customer whose address was updated.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `customerUpdate` mutation. /// - [Description("Return type for `customerUpdate` mutation.")] - public class CustomerUpdatePayload : GraphQLObject - { + [Description("Return type for `customerUpdate` mutation.")] + public class CustomerUpdatePayload : GraphQLObject + { /// ///The updated customer. /// - [Description("The updated customer.")] - public Customer? customer { get; set; } - + [Description("The updated customer.")] + public Customer? customer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a customer's session visiting a shop's online store, including information about the marketing activity attributed to starting the session. /// - [Description("Represents a customer's session visiting a shop's online store, including information about the marketing activity attributed to starting the session.")] - public class CustomerVisit : GraphQLObject, ICustomerMoment, INode - { + [Description("Represents a customer's session visiting a shop's online store, including information about the marketing activity attributed to starting the session.")] + public class CustomerVisit : GraphQLObject, ICustomerMoment, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///URL of the first page the customer landed on for the session. /// - [Description("URL of the first page the customer landed on for the session.")] - public string? landingPage { get; set; } - + [Description("URL of the first page the customer landed on for the session.")] + public string? landingPage { get; set; } + /// ///Landing page information with URL linked in HTML. For example, the first page the customer visited was store.myshopify.com/products/1. /// - [Description("Landing page information with URL linked in HTML. For example, the first page the customer visited was store.myshopify.com/products/1.")] - public string? landingPageHtml { get; set; } - + [Description("Landing page information with URL linked in HTML. For example, the first page the customer visited was store.myshopify.com/products/1.")] + public string? landingPageHtml { get; set; } + /// ///Represent actions taken by an app, on behalf of a merchant, ///to market Shopify resources such as products, collections, and discounts. /// - [Description("Represent actions taken by an app, on behalf of a merchant,\nto market Shopify resources such as products, collections, and discounts.")] - public MarketingEvent? marketingEvent { get; set; } - + [Description("Represent actions taken by an app, on behalf of a merchant,\nto market Shopify resources such as products, collections, and discounts.")] + public MarketingEvent? marketingEvent { get; set; } + /// ///The date and time when the customer's session occurred. /// - [Description("The date and time when the customer's session occurred.")] - [NonNull] - public DateTime? occurredAt { get; set; } - + [Description("The date and time when the customer's session occurred.")] + [NonNull] + public DateTime? occurredAt { get; set; } + /// ///Marketing referral code from the link that the customer clicked to visit the store. ///Supports the following URL attributes: _ref_, _source_, or _r_. ///For example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2. /// - [Description("Marketing referral code from the link that the customer clicked to visit the store.\nSupports the following URL attributes: _ref_, _source_, or _r_.\nFor example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2.")] - public string? referralCode { get; set; } - + [Description("Marketing referral code from the link that the customer clicked to visit the store.\nSupports the following URL attributes: _ref_, _source_, or _r_.\nFor example, if the URL is myshopifystore.com/products/slide?ref=j2tj1tn2, then this value is j2tj1tn2.")] + public string? referralCode { get; set; } + /// ///Referral information with URLs linked in HTML. /// - [Description("Referral information with URLs linked in HTML.")] - [NonNull] - public string? referralInfoHtml { get; set; } - + [Description("Referral information with URLs linked in HTML.")] + [NonNull] + public string? referralInfoHtml { get; set; } + /// ///Webpage where the customer clicked a link that sent them to the online store. ///For example, _https://randomblog.com/page1_ or _android-app://com.google.android.gm_. /// - [Description("Webpage where the customer clicked a link that sent them to the online store.\nFor example, _https://randomblog.com/page1_ or _android-app://com.google.android.gm_.")] - public string? referrerUrl { get; set; } - + [Description("Webpage where the customer clicked a link that sent them to the online store.\nFor example, _https://randomblog.com/page1_ or _android-app://com.google.android.gm_.")] + public string? referrerUrl { get; set; } + /// ///Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct, ///a website domain, QR code, or unknown. /// - [Description("Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct,\na website domain, QR code, or unknown.")] - [NonNull] - public string? source { get; set; } - + [Description("Source from which the customer visited the store, such as a platform (Facebook, Google), email, direct,\na website domain, QR code, or unknown.")] + [NonNull] + public string? source { get; set; } + /// ///Describes the source explicitly for first or last session. /// - [Description("Describes the source explicitly for first or last session.")] - public string? sourceDescription { get; set; } - + [Description("Describes the source explicitly for first or last session.")] + public string? sourceDescription { get; set; } + /// ///Type of marketing tactic. /// - [Description("Type of marketing tactic.")] - [EnumType(typeof(MarketingTactic))] - public string? sourceType { get; set; } - + [Description("Type of marketing tactic.")] + [EnumType(typeof(MarketingTactic))] + public string? sourceType { get; set; } + /// ///A set of UTM parameters gathered from the URL parameters of the referrer. /// - [Description("A set of UTM parameters gathered from the URL parameters of the referrer.")] - public UTMParameters? utmParameters { get; set; } - } - + [Description("A set of UTM parameters gathered from the URL parameters of the referrer.")] + public UTMParameters? utmParameters { get; set; } + } + /// ///This type returns the information about the product and product variant from a customer visit. /// - [Description("This type returns the information about the product and product variant from a customer visit.")] - public class CustomerVisitProductInfo : GraphQLObject - { + [Description("This type returns the information about the product and product variant from a customer visit.")] + public class CustomerVisitProductInfo : GraphQLObject + { /// ///The product information. If `null`, then the product was deleted from the store. /// - [Description("The product information. If `null`, then the product was deleted from the store.")] - public Product? product { get; set; } - + [Description("The product information. If `null`, then the product was deleted from the store.")] + public Product? product { get; set; } + /// ///The quantity of the product that the customer requested. /// - [Description("The quantity of the product that the customer requested.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the product that the customer requested.")] + [NonNull] + public int? quantity { get; set; } + /// ///The product variant information, if the product variant exists. /// - [Description("The product variant information, if the product variant exists.")] - public ProductVariant? variant { get; set; } - } - + [Description("The product variant information, if the product variant exists.")] + public ProductVariant? variant { get; set; } + } + /// ///An auto-generated type for paginating through multiple CustomerVisitProductInfos. /// - [Description("An auto-generated type for paginating through multiple CustomerVisitProductInfos.")] - public class CustomerVisitProductInfoConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple CustomerVisitProductInfos.")] + public class CustomerVisitProductInfoConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in CustomerVisitProductInfoEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in CustomerVisitProductInfoEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in CustomerVisitProductInfoEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one CustomerVisitProductInfo and a cursor during pagination. /// - [Description("An auto-generated type which holds one CustomerVisitProductInfo and a cursor during pagination.")] - public class CustomerVisitProductInfoEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one CustomerVisitProductInfo and a cursor during pagination.")] + public class CustomerVisitProductInfoEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of CustomerVisitProductInfoEdge. /// - [Description("The item at the end of CustomerVisitProductInfoEdge.")] - [NonNull] - public CustomerVisitProductInfo? node { get; set; } - } - + [Description("The item at the end of CustomerVisitProductInfoEdge.")] + [NonNull] + public CustomerVisitProductInfo? node { get; set; } + } + /// ///A shop's data sale opt out page. /// - [Description("A shop's data sale opt out page.")] - public class DataSaleOptOutPage : GraphQLObject - { + [Description("A shop's data sale opt out page.")] + public class DataSaleOptOutPage : GraphQLObject + { /// ///If the data sale opt out page is auto managed. /// - [Description("If the data sale opt out page is auto managed.")] - [NonNull] - public bool? autoManaged { get; set; } - } - + [Description("If the data sale opt out page is auto managed.")] + [NonNull] + public bool? autoManaged { get; set; } + } + /// ///Return type for `dataSaleOptOut` mutation. /// - [Description("Return type for `dataSaleOptOut` mutation.")] - public class DataSaleOptOutPayload : GraphQLObject - { + [Description("Return type for `dataSaleOptOut` mutation.")] + public class DataSaleOptOutPayload : GraphQLObject + { /// ///The ID of the customer whose email address has been opted out of data sale. /// - [Description("The ID of the customer whose email address has been opted out of data sale.")] - public string? customerId { get; set; } - + [Description("The ID of the customer whose email address has been opted out of data sale.")] + public string? customerId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `DataSaleOptOut`. /// - [Description("An error that occurs during the execution of `DataSaleOptOut`.")] - public class DataSaleOptOutUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `DataSaleOptOut`.")] + public class DataSaleOptOutUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DataSaleOptOutUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DataSaleOptOutUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DataSaleOptOutUserError`. /// - [Description("Possible error codes that can be returned by `DataSaleOptOutUserError`.")] - public enum DataSaleOptOutUserErrorCode - { + [Description("Possible error codes that can be returned by `DataSaleOptOutUserError`.")] + public enum DataSaleOptOutUserErrorCode + { /// ///Data sale opt out failed. /// - [Description("Data sale opt out failed.")] - FAILED, - } - - public static class DataSaleOptOutUserErrorCodeStringValues - { - public const string FAILED = @"FAILED"; - } - + [Description("Data sale opt out failed.")] + FAILED, + } + + public static class DataSaleOptOutUserErrorCodeStringValues + { + public const string FAILED = @"FAILED"; + } + /// ///Days of the week from Monday to Sunday. /// - [Description("Days of the week from Monday to Sunday.")] - public enum DayOfTheWeek - { + [Description("Days of the week from Monday to Sunday.")] + public enum DayOfTheWeek + { /// ///Monday. /// - [Description("Monday.")] - MONDAY, + [Description("Monday.")] + MONDAY, /// ///Tuesday. /// - [Description("Tuesday.")] - TUESDAY, + [Description("Tuesday.")] + TUESDAY, /// ///Wednesday. /// - [Description("Wednesday.")] - WEDNESDAY, + [Description("Wednesday.")] + WEDNESDAY, /// ///Thursday. /// - [Description("Thursday.")] - THURSDAY, + [Description("Thursday.")] + THURSDAY, /// ///Friday. /// - [Description("Friday.")] - FRIDAY, + [Description("Friday.")] + FRIDAY, /// ///Saturday. /// - [Description("Saturday.")] - SATURDAY, + [Description("Saturday.")] + SATURDAY, /// ///Sunday. /// - [Description("Sunday.")] - SUNDAY, - } - - public static class DayOfTheWeekStringValues - { - public const string MONDAY = @"MONDAY"; - public const string TUESDAY = @"TUESDAY"; - public const string WEDNESDAY = @"WEDNESDAY"; - public const string THURSDAY = @"THURSDAY"; - public const string FRIDAY = @"FRIDAY"; - public const string SATURDAY = @"SATURDAY"; - public const string SUNDAY = @"SUNDAY"; - } - + [Description("Sunday.")] + SUNDAY, + } + + public static class DayOfTheWeekStringValues + { + public const string MONDAY = @"MONDAY"; + public const string TUESDAY = @"TUESDAY"; + public const string WEDNESDAY = @"WEDNESDAY"; + public const string THURSDAY = @"THURSDAY"; + public const string FRIDAY = @"FRIDAY"; + public const string SATURDAY = @"SATURDAY"; + public const string SUNDAY = @"SUNDAY"; + } + /// ///A token that delegates a set of scopes from the original permission. /// ///To learn more about creating delegate access tokens, refer to ///[Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens). /// - [Description("A token that delegates a set of scopes from the original permission.\n\nTo learn more about creating delegate access tokens, refer to\n[Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens).")] - public class DelegateAccessToken : GraphQLObject - { + [Description("A token that delegates a set of scopes from the original permission.\n\nTo learn more about creating delegate access tokens, refer to\n[Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens).")] + public class DelegateAccessToken : GraphQLObject + { /// ///The list of permissions associated with the token. /// - [Description("The list of permissions associated with the token.")] - [NonNull] - public IEnumerable? accessScopes { get; set; } - + [Description("The list of permissions associated with the token.")] + [NonNull] + public IEnumerable? accessScopes { get; set; } + /// ///The issued delegate access token. /// - [Description("The issued delegate access token.")] - [NonNull] - public string? accessToken { get; set; } - + [Description("The issued delegate access token.")] + [NonNull] + public string? accessToken { get; set; } + /// ///The date and time when the delegate access token was created. /// - [Description("The date and time when the delegate access token was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - } - + [Description("The date and time when the delegate access token was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + } + /// ///Return type for `delegateAccessTokenCreate` mutation. /// - [Description("Return type for `delegateAccessTokenCreate` mutation.")] - public class DelegateAccessTokenCreatePayload : GraphQLObject - { + [Description("Return type for `delegateAccessTokenCreate` mutation.")] + public class DelegateAccessTokenCreatePayload : GraphQLObject + { /// ///The delegate access token. /// - [Description("The delegate access token.")] - public DelegateAccessToken? delegateAccessToken { get; set; } - + [Description("The delegate access token.")] + public DelegateAccessToken? delegateAccessToken { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `DelegateAccessTokenCreate`. /// - [Description("An error that occurs during the execution of `DelegateAccessTokenCreate`.")] - public class DelegateAccessTokenCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `DelegateAccessTokenCreate`.")] + public class DelegateAccessTokenCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DelegateAccessTokenCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DelegateAccessTokenCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DelegateAccessTokenCreateUserError`. /// - [Description("Possible error codes that can be returned by `DelegateAccessTokenCreateUserError`.")] - public enum DelegateAccessTokenCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `DelegateAccessTokenCreateUserError`.")] + public enum DelegateAccessTokenCreateUserErrorCode + { /// ///The access scope can't be empty. /// - [Description("The access scope can't be empty.")] - EMPTY_ACCESS_SCOPE, + [Description("The access scope can't be empty.")] + EMPTY_ACCESS_SCOPE, /// ///The parent access token can't be a delegate token. /// - [Description("The parent access token can't be a delegate token.")] - DELEGATE_ACCESS_TOKEN, + [Description("The parent access token can't be a delegate token.")] + DELEGATE_ACCESS_TOKEN, /// ///The expires_in value must be greater than 0. /// - [Description("The expires_in value must be greater than 0.")] - NEGATIVE_EXPIRES_IN, + [Description("The expires_in value must be greater than 0.")] + NEGATIVE_EXPIRES_IN, /// ///The delegate token can't expire after the parent token. /// - [Description("The delegate token can't expire after the parent token.")] - EXPIRES_AFTER_PARENT, + [Description("The delegate token can't expire after the parent token.")] + EXPIRES_AFTER_PARENT, /// ///The parent access token can't have a refresh token. /// - [Description("The parent access token can't have a refresh token.")] - REFRESH_TOKEN, + [Description("The parent access token can't have a refresh token.")] + REFRESH_TOKEN, /// ///Persistence failed. /// - [Description("Persistence failed.")] - PERSISTENCE_FAILED, + [Description("Persistence failed.")] + PERSISTENCE_FAILED, /// ///Unknown scopes. /// - [Description("Unknown scopes.")] - UNKNOWN_SCOPES, - } - - public static class DelegateAccessTokenCreateUserErrorCodeStringValues - { - public const string EMPTY_ACCESS_SCOPE = @"EMPTY_ACCESS_SCOPE"; - public const string DELEGATE_ACCESS_TOKEN = @"DELEGATE_ACCESS_TOKEN"; - public const string NEGATIVE_EXPIRES_IN = @"NEGATIVE_EXPIRES_IN"; - public const string EXPIRES_AFTER_PARENT = @"EXPIRES_AFTER_PARENT"; - public const string REFRESH_TOKEN = @"REFRESH_TOKEN"; - public const string PERSISTENCE_FAILED = @"PERSISTENCE_FAILED"; - public const string UNKNOWN_SCOPES = @"UNKNOWN_SCOPES"; - } - + [Description("Unknown scopes.")] + UNKNOWN_SCOPES, + } + + public static class DelegateAccessTokenCreateUserErrorCodeStringValues + { + public const string EMPTY_ACCESS_SCOPE = @"EMPTY_ACCESS_SCOPE"; + public const string DELEGATE_ACCESS_TOKEN = @"DELEGATE_ACCESS_TOKEN"; + public const string NEGATIVE_EXPIRES_IN = @"NEGATIVE_EXPIRES_IN"; + public const string EXPIRES_AFTER_PARENT = @"EXPIRES_AFTER_PARENT"; + public const string REFRESH_TOKEN = @"REFRESH_TOKEN"; + public const string PERSISTENCE_FAILED = @"PERSISTENCE_FAILED"; + public const string UNKNOWN_SCOPES = @"UNKNOWN_SCOPES"; + } + /// ///Return type for `delegateAccessTokenDestroy` mutation. /// - [Description("Return type for `delegateAccessTokenDestroy` mutation.")] - public class DelegateAccessTokenDestroyPayload : GraphQLObject - { + [Description("Return type for `delegateAccessTokenDestroy` mutation.")] + public class DelegateAccessTokenDestroyPayload : GraphQLObject + { /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The status of the delegate access token destroy operation. Returns true if successful. /// - [Description("The status of the delegate access token destroy operation. Returns true if successful.")] - public bool? status { get; set; } - + [Description("The status of the delegate access token destroy operation. Returns true if successful.")] + public bool? status { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `DelegateAccessTokenDestroy`. /// - [Description("An error that occurs during the execution of `DelegateAccessTokenDestroy`.")] - public class DelegateAccessTokenDestroyUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `DelegateAccessTokenDestroy`.")] + public class DelegateAccessTokenDestroyUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DelegateAccessTokenDestroyUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DelegateAccessTokenDestroyUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DelegateAccessTokenDestroyUserError`. /// - [Description("Possible error codes that can be returned by `DelegateAccessTokenDestroyUserError`.")] - public enum DelegateAccessTokenDestroyUserErrorCode - { + [Description("Possible error codes that can be returned by `DelegateAccessTokenDestroyUserError`.")] + public enum DelegateAccessTokenDestroyUserErrorCode + { /// ///Persistence failed. /// - [Description("Persistence failed.")] - PERSISTENCE_FAILED, + [Description("Persistence failed.")] + PERSISTENCE_FAILED, /// ///Access token not found. /// - [Description("Access token not found.")] - ACCESS_TOKEN_NOT_FOUND, + [Description("Access token not found.")] + ACCESS_TOKEN_NOT_FOUND, /// ///Cannot delete parent access token. /// - [Description("Cannot delete parent access token.")] - CAN_ONLY_DELETE_DELEGATE_TOKENS, + [Description("Cannot delete parent access token.")] + CAN_ONLY_DELETE_DELEGATE_TOKENS, /// ///Access denied. /// - [Description("Access denied.")] - ACCESS_DENIED, - } - - public static class DelegateAccessTokenDestroyUserErrorCodeStringValues - { - public const string PERSISTENCE_FAILED = @"PERSISTENCE_FAILED"; - public const string ACCESS_TOKEN_NOT_FOUND = @"ACCESS_TOKEN_NOT_FOUND"; - public const string CAN_ONLY_DELETE_DELEGATE_TOKENS = @"CAN_ONLY_DELETE_DELEGATE_TOKENS"; - public const string ACCESS_DENIED = @"ACCESS_DENIED"; - } - + [Description("Access denied.")] + ACCESS_DENIED, + } + + public static class DelegateAccessTokenDestroyUserErrorCodeStringValues + { + public const string PERSISTENCE_FAILED = @"PERSISTENCE_FAILED"; + public const string ACCESS_TOKEN_NOT_FOUND = @"ACCESS_TOKEN_NOT_FOUND"; + public const string CAN_ONLY_DELETE_DELEGATE_TOKENS = @"CAN_ONLY_DELETE_DELEGATE_TOKENS"; + public const string ACCESS_DENIED = @"ACCESS_DENIED"; + } + /// ///The input fields for a delegate access token. /// - [Description("The input fields for a delegate access token.")] - public class DelegateAccessTokenInput : GraphQLObject - { + [Description("The input fields for a delegate access token.")] + public class DelegateAccessTokenInput : GraphQLObject + { /// ///The list of scopes that will be delegated to the new access token. /// - [Description("The list of scopes that will be delegated to the new access token.")] - [NonNull] - public IEnumerable? delegateAccessScope { get; set; } - + [Description("The list of scopes that will be delegated to the new access token.")] + [NonNull] + public IEnumerable? delegateAccessScope { get; set; } + /// ///The amount of time, in seconds, after which the delegate access token is no longer valid. /// - [Description("The amount of time, in seconds, after which the delegate access token is no longer valid.")] - public int? expiresIn { get; set; } - } - + [Description("The amount of time, in seconds, after which the delegate access token is no longer valid.")] + public int? expiresIn { get; set; } + } + /// ///Deletion events chronicle the destruction of resources (e.g. products and collections). ///Once deleted, the deletion event is the only trace of the original's existence, ///as the resource itself has been removed and can no longer be accessed. /// - [Description("Deletion events chronicle the destruction of resources (e.g. products and collections).\nOnce deleted, the deletion event is the only trace of the original's existence,\nas the resource itself has been removed and can no longer be accessed.")] - public class DeletionEvent : GraphQLObject - { + [Description("Deletion events chronicle the destruction of resources (e.g. products and collections).\nOnce deleted, the deletion event is the only trace of the original's existence,\nas the resource itself has been removed and can no longer be accessed.")] + public class DeletionEvent : GraphQLObject + { /// ///The date and time when the deletion event for the related resource was generated. /// - [Description("The date and time when the deletion event for the related resource was generated.")] - [NonNull] - public DateTime? occurredAt { get; set; } - + [Description("The date and time when the deletion event for the related resource was generated.")] + [NonNull] + public DateTime? occurredAt { get; set; } + /// ///The ID of the resource that was deleted. /// - [Description("The ID of the resource that was deleted.")] - [NonNull] - public string? subjectId { get; set; } - + [Description("The ID of the resource that was deleted.")] + [NonNull] + public string? subjectId { get; set; } + /// ///The type of resource that was deleted. /// - [Description("The type of resource that was deleted.")] - [NonNull] - [EnumType(typeof(DeletionEventSubjectType))] - public string? subjectType { get; set; } - } - + [Description("The type of resource that was deleted.")] + [NonNull] + [EnumType(typeof(DeletionEventSubjectType))] + public string? subjectType { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeletionEvents. /// - [Description("An auto-generated type for paginating through multiple DeletionEvents.")] - public class DeletionEventConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeletionEvents.")] + public class DeletionEventConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeletionEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeletionEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeletionEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DeletionEvent and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeletionEvent and a cursor during pagination.")] - public class DeletionEventEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeletionEvent and a cursor during pagination.")] + public class DeletionEventEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeletionEventEdge. /// - [Description("The item at the end of DeletionEventEdge.")] - [NonNull] - public DeletionEvent? node { get; set; } - } - + [Description("The item at the end of DeletionEventEdge.")] + [NonNull] + public DeletionEvent? node { get; set; } + } + /// ///The set of valid sort keys for the DeletionEvent query. /// - [Description("The set of valid sort keys for the DeletionEvent query.")] - public enum DeletionEventSortKeys - { + [Description("The set of valid sort keys for the DeletionEvent query.")] + public enum DeletionEventSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class DeletionEventSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class DeletionEventSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///The supported subject types of deletion events. /// - [Description("The supported subject types of deletion events.")] - public enum DeletionEventSubjectType - { - COLLECTION, - PRODUCT, - } - - public static class DeletionEventSubjectTypeStringValues - { - public const string COLLECTION = @"COLLECTION"; - public const string PRODUCT = @"PRODUCT"; - } - + [Description("The supported subject types of deletion events.")] + public enum DeletionEventSubjectType + { + COLLECTION, + PRODUCT, + } + + public static class DeletionEventSubjectTypeStringValues + { + public const string COLLECTION = @"COLLECTION"; + public const string PRODUCT = @"PRODUCT"; + } + /// ///A shipping service and a list of countries that the service is available for. /// - [Description("A shipping service and a list of countries that the service is available for.")] - public class DeliveryAvailableService : GraphQLObject - { + [Description("A shipping service and a list of countries that the service is available for.")] + public class DeliveryAvailableService : GraphQLObject + { /// ///The countries the service provider ships to. /// - [Description("The countries the service provider ships to.")] - [NonNull] - public DeliveryCountryCodesOrRestOfWorld? countries { get; set; } - + [Description("The countries the service provider ships to.")] + [NonNull] + public DeliveryCountryCodesOrRestOfWorld? countries { get; set; } + /// ///The name of the service. /// - [Description("The name of the service.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the service.")] + [NonNull] + public string? name { get; set; } + } + /// ///Represents a branded promise presented to buyers. /// - [Description("Represents a branded promise presented to buyers.")] - public class DeliveryBrandedPromise : GraphQLObject - { + [Description("Represents a branded promise presented to buyers.")] + public class DeliveryBrandedPromise : GraphQLObject + { /// ///The handle of the branded promise. For example: `shop_promise`. /// - [Description("The handle of the branded promise. For example: `shop_promise`.")] - [NonNull] - public string? handle { get; set; } - + [Description("The handle of the branded promise. For example: `shop_promise`.")] + [NonNull] + public string? handle { get; set; } + /// ///The name of the branded promise. For example: `Shop Promise`. /// - [Description("The name of the branded promise. For example: `Shop Promise`.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the branded promise. For example: `Shop Promise`.")] + [NonNull] + public string? name { get; set; } + } + /// ///A carrier service (also known as a carrier calculated service or shipping service) provides real-time shipping rates to Shopify. Some common carrier services include Canada Post, FedEx, UPS, and USPS. The term **carrier** is often used interchangeably with the terms **shipping company** and **rate provider**. /// @@ -29615,3290 +29615,3290 @@ public class DeliveryBrandedPromise : GraphQLObject /// ///If any of these fields differ, or if the cache has expired since the original request, then new shipping rates are requested. The cache expires 15 minutes after rates are successfully returned. If an error occurs, then the cache expires after 30 seconds. /// - [Description("A carrier service (also known as a carrier calculated service or shipping service) provides real-time shipping rates to Shopify. Some common carrier services include Canada Post, FedEx, UPS, and USPS. The term **carrier** is often used interchangeably with the terms **shipping company** and **rate provider**.\n\nUsing the CarrierService resource, you can add a carrier service to a shop and then provide a list of applicable shipping rates at checkout. You can even use the cart data to adjust shipping rates and offer shipping discounts based on what is in the customer's cart.\n\n## Requirements for accessing the CarrierService resource\nTo access the CarrierService resource, add the `write_shipping` permission to your app's requested scopes. For more information, see [API access scopes](https://shopify.dev/docs/admin-api/access-scopes).\n\nYour app's request to create a carrier service will fail unless the store installing your carrier service meets one of the following requirements:\n* It's on the Advanced Shopify plan or higher.\n* It's on the Shopify plan with yearly billing, or the carrier service feature has been added to the store for a monthly fee. For more information, contact [Shopify Support](https://help.shopify.com/questions).\n* It's a development store.\n\n> Note:\n> If a store changes its Shopify plan, then the store's association with a carrier service is deactivated if the store no long meets one of the requirements above.\n\n## Providing shipping rates to Shopify\nWhen adding a carrier service to a store, you need to provide a POST endpoint rooted in the `callbackUrl` property where Shopify can retrieve applicable shipping rates. The callback URL should be a public endpoint that expects these requests from Shopify.\n\n### Example shipping rate request sent to a carrier service\n\n```json\n{\n \"rate\": {\n \"origin\": {\n \"country\": \"CA\",\n \"postal_code\": \"K2P1L4\",\n \"province\": \"ON\",\n \"city\": \"Ottawa\",\n \"name\": null,\n \"address1\": \"150 Elgin St.\",\n \"address2\": \"\",\n \"address3\": null,\n \"phone\": null,\n \"fax\": null,\n \"email\": null,\n \"address_type\": null,\n \"company_name\": \"Jamie D's Emporium\"\n },\n \"destination\": {\n \"country\": \"CA\",\n \"postal_code\": \"K1M1M4\",\n \"province\": \"ON\",\n \"city\": \"Ottawa\",\n \"name\": \"Bob Norman\",\n \"address1\": \"24 Sussex Dr.\",\n \"address2\": \"\",\n \"address3\": null,\n \"phone\": null,\n \"fax\": null,\n \"email\": null,\n \"address_type\": null,\n \"company_name\": null\n },\n \"items\": [{\n \"name\": \"Short Sleeve T-Shirt\",\n \"sku\": \"\",\n \"quantity\": 1,\n \"grams\": 1000,\n \"price\": 1999,\n \"vendor\": \"Jamie D's Emporium\",\n \"requires_shipping\": true,\n \"taxable\": true,\n \"fulfillment_service\": \"manual\",\n \"properties\": null,\n \"product_id\": 48447225880,\n \"variant_id\": 258644705304\n }],\n \"currency\": \"USD\",\n \"locale\": \"en\"\n }\n}\n```\n\n### Example response\n```json\n{\n \"rates\": [\n {\n \"service_name\": \"canadapost-overnight\",\n \"service_code\": \"ON\",\n \"total_price\": \"1295\",\n \"description\": \"This is the fastest option by far\",\n \"currency\": \"CAD\",\n \"min_delivery_date\": \"2013-04-12 14:48:45 -0400\",\n \"max_delivery_date\": \"2013-04-12 14:48:45 -0400\"\n },\n {\n \"service_name\": \"fedex-2dayground\",\n \"service_code\": \"2D\",\n \"total_price\": \"2934\",\n \"currency\": \"USD\",\n \"min_delivery_date\": \"2013-04-12 14:48:45 -0400\",\n \"max_delivery_date\": \"2013-04-12 14:48:45 -0400\"\n },\n {\n \"service_name\": \"fedex-priorityovernight\",\n \"service_code\": \"1D\",\n \"total_price\": \"3587\",\n \"currency\": \"USD\",\n \"min_delivery_date\": \"2013-04-12 14:48:45 -0400\",\n \"max_delivery_date\": \"2013-04-12 14:48:45 -0400\"\n }\n ]\n}\n```\n\nThe `address3`, `fax`, `address_type`, and `company_name` fields are returned by specific [ActiveShipping](https://github.com/Shopify/active_shipping) providers. For API-created carrier services, you should use only the following shipping address fields:\n* `address1`\n* `address2`\n* `city`\n* `zip`\n* `province`\n* `country`\n\nOther values remain as `null` and are not sent to the callback URL.\n\n### Response fields\n\nWhen Shopify requests shipping rates using your callback URL, the response object `rates` must be a JSON array of objects with the following fields. Required fields must be included in the response for the carrier service integration to work properly.\n\n| Field | Required | Description |\n| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `service_name` | Yes | The name of the rate, which customers see at checkout. For example: `Expedited Mail`. |\n| `description` | Yes | A description of the rate, which customers see at checkout. For example: `Includes tracking and insurance`. |\n| `service_code` | Yes | A unique code associated with the rate. For example: `expedited_mail`. |\n| `currency` | Yes | The currency of the shipping rate. |\n| `total_price` | Yes | The total price expressed in subunits. If the currency doesn't use subunits, then the value must be multiplied by 100. For example: `\"total_price\": 500` for 5.00 CAD, `\"total_price\": 100000` for 1000 JPY. |\n| `phone_required` | No | Whether the customer must provide a phone number at checkout. |\n| `min_delivery_date` | No | The earliest delivery date for the displayed rate. |\n| `max_delivery_date` | No | The latest delivery date for the displayed rate to still be valid. |\n\n### Special conditions\n\n* To indicate that this carrier service cannot handle this shipping request, return an empty array and any successful (20x) HTTP code.\n* To force backup rates instead, return a 40x or 50x HTTP code with any content. A good choice is the regular 404 Not Found code.\n* Redirects (30x codes) will only be followed for the same domain as the original callback URL. Attempting to redirect to a different domain will trigger backup rates.\n* There is no retry mechanism. The response must be successful on the first try, within the time budget listed below. Timeouts or errors will trigger backup rates.\n\n## Response Timeouts\n\nThe read timeout for rate requests are dynamic, based on the number of requests per minute (RPM). These limits are applied to each shop-app pair. The timeout values are as follows.\n\n| RPM Range | Timeout |\n| ------------- | ---------- |\n| Under 1500 | 10s |\n| 1500 to 3000 | 5s |\n| Over 3000 | 3s |\n\n> Note:\n> These values are upper limits and should not be interpretted as a goal to develop towards. Shopify is constantly evaluating the performance of the platform and working towards improving resilience as well as app capabilities. As such, these numbers may be adjusted outside of our normal versioning timelines.\n\n## Server-side caching of requests\nShopify provides server-side caching to reduce the number of requests it makes. Any shipping rate request that identically matches the following fields will be retrieved from Shopify's cache of the initial response:\n* variant IDs\n* default shipping box weight and dimensions\n* variant quantities\n* carrier service ID\n* origin address\n* destination address\n* item weights and signatures\n\nIf any of these fields differ, or if the cache has expired since the original request, then new shipping rates are requested. The cache expires 15 minutes after rates are successfully returned. If an error occurs, then the cache expires after 30 seconds.")] - public class DeliveryCarrierService : GraphQLObject, INode - { + [Description("A carrier service (also known as a carrier calculated service or shipping service) provides real-time shipping rates to Shopify. Some common carrier services include Canada Post, FedEx, UPS, and USPS. The term **carrier** is often used interchangeably with the terms **shipping company** and **rate provider**.\n\nUsing the CarrierService resource, you can add a carrier service to a shop and then provide a list of applicable shipping rates at checkout. You can even use the cart data to adjust shipping rates and offer shipping discounts based on what is in the customer's cart.\n\n## Requirements for accessing the CarrierService resource\nTo access the CarrierService resource, add the `write_shipping` permission to your app's requested scopes. For more information, see [API access scopes](https://shopify.dev/docs/admin-api/access-scopes).\n\nYour app's request to create a carrier service will fail unless the store installing your carrier service meets one of the following requirements:\n* It's on the Advanced Shopify plan or higher.\n* It's on the Shopify plan with yearly billing, or the carrier service feature has been added to the store for a monthly fee. For more information, contact [Shopify Support](https://help.shopify.com/questions).\n* It's a development store.\n\n> Note:\n> If a store changes its Shopify plan, then the store's association with a carrier service is deactivated if the store no long meets one of the requirements above.\n\n## Providing shipping rates to Shopify\nWhen adding a carrier service to a store, you need to provide a POST endpoint rooted in the `callbackUrl` property where Shopify can retrieve applicable shipping rates. The callback URL should be a public endpoint that expects these requests from Shopify.\n\n### Example shipping rate request sent to a carrier service\n\n```json\n{\n \"rate\": {\n \"origin\": {\n \"country\": \"CA\",\n \"postal_code\": \"K2P1L4\",\n \"province\": \"ON\",\n \"city\": \"Ottawa\",\n \"name\": null,\n \"address1\": \"150 Elgin St.\",\n \"address2\": \"\",\n \"address3\": null,\n \"phone\": null,\n \"fax\": null,\n \"email\": null,\n \"address_type\": null,\n \"company_name\": \"Jamie D's Emporium\"\n },\n \"destination\": {\n \"country\": \"CA\",\n \"postal_code\": \"K1M1M4\",\n \"province\": \"ON\",\n \"city\": \"Ottawa\",\n \"name\": \"Bob Norman\",\n \"address1\": \"24 Sussex Dr.\",\n \"address2\": \"\",\n \"address3\": null,\n \"phone\": null,\n \"fax\": null,\n \"email\": null,\n \"address_type\": null,\n \"company_name\": null\n },\n \"items\": [{\n \"name\": \"Short Sleeve T-Shirt\",\n \"sku\": \"\",\n \"quantity\": 1,\n \"grams\": 1000,\n \"price\": 1999,\n \"vendor\": \"Jamie D's Emporium\",\n \"requires_shipping\": true,\n \"taxable\": true,\n \"fulfillment_service\": \"manual\",\n \"properties\": null,\n \"product_id\": 48447225880,\n \"variant_id\": 258644705304\n }],\n \"currency\": \"USD\",\n \"locale\": \"en\"\n }\n}\n```\n\n### Example response\n```json\n{\n \"rates\": [\n {\n \"service_name\": \"canadapost-overnight\",\n \"service_code\": \"ON\",\n \"total_price\": \"1295\",\n \"description\": \"This is the fastest option by far\",\n \"currency\": \"CAD\",\n \"min_delivery_date\": \"2013-04-12 14:48:45 -0400\",\n \"max_delivery_date\": \"2013-04-12 14:48:45 -0400\"\n },\n {\n \"service_name\": \"fedex-2dayground\",\n \"service_code\": \"2D\",\n \"total_price\": \"2934\",\n \"currency\": \"USD\",\n \"min_delivery_date\": \"2013-04-12 14:48:45 -0400\",\n \"max_delivery_date\": \"2013-04-12 14:48:45 -0400\"\n },\n {\n \"service_name\": \"fedex-priorityovernight\",\n \"service_code\": \"1D\",\n \"total_price\": \"3587\",\n \"currency\": \"USD\",\n \"min_delivery_date\": \"2013-04-12 14:48:45 -0400\",\n \"max_delivery_date\": \"2013-04-12 14:48:45 -0400\"\n }\n ]\n}\n```\n\nThe `address3`, `fax`, `address_type`, and `company_name` fields are returned by specific [ActiveShipping](https://github.com/Shopify/active_shipping) providers. For API-created carrier services, you should use only the following shipping address fields:\n* `address1`\n* `address2`\n* `city`\n* `zip`\n* `province`\n* `country`\n\nOther values remain as `null` and are not sent to the callback URL.\n\n### Response fields\n\nWhen Shopify requests shipping rates using your callback URL, the response object `rates` must be a JSON array of objects with the following fields. Required fields must be included in the response for the carrier service integration to work properly.\n\n| Field | Required | Description |\n| ----------------------- | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |\n| `service_name` | Yes | The name of the rate, which customers see at checkout. For example: `Expedited Mail`. |\n| `description` | Yes | A description of the rate, which customers see at checkout. For example: `Includes tracking and insurance`. |\n| `service_code` | Yes | A unique code associated with the rate. For example: `expedited_mail`. |\n| `currency` | Yes | The currency of the shipping rate. |\n| `total_price` | Yes | The total price expressed in subunits. If the currency doesn't use subunits, then the value must be multiplied by 100. For example: `\"total_price\": 500` for 5.00 CAD, `\"total_price\": 100000` for 1000 JPY. |\n| `phone_required` | No | Whether the customer must provide a phone number at checkout. |\n| `min_delivery_date` | No | The earliest delivery date for the displayed rate. |\n| `max_delivery_date` | No | The latest delivery date for the displayed rate to still be valid. |\n\n### Special conditions\n\n* To indicate that this carrier service cannot handle this shipping request, return an empty array and any successful (20x) HTTP code.\n* To force backup rates instead, return a 40x or 50x HTTP code with any content. A good choice is the regular 404 Not Found code.\n* Redirects (30x codes) will only be followed for the same domain as the original callback URL. Attempting to redirect to a different domain will trigger backup rates.\n* There is no retry mechanism. The response must be successful on the first try, within the time budget listed below. Timeouts or errors will trigger backup rates.\n\n## Response Timeouts\n\nThe read timeout for rate requests are dynamic, based on the number of requests per minute (RPM). These limits are applied to each shop-app pair. The timeout values are as follows.\n\n| RPM Range | Timeout |\n| ------------- | ---------- |\n| Under 1500 | 10s |\n| 1500 to 3000 | 5s |\n| Over 3000 | 3s |\n\n> Note:\n> These values are upper limits and should not be interpretted as a goal to develop towards. Shopify is constantly evaluating the performance of the platform and working towards improving resilience as well as app capabilities. As such, these numbers may be adjusted outside of our normal versioning timelines.\n\n## Server-side caching of requests\nShopify provides server-side caching to reduce the number of requests it makes. Any shipping rate request that identically matches the following fields will be retrieved from Shopify's cache of the initial response:\n* variant IDs\n* default shipping box weight and dimensions\n* variant quantities\n* carrier service ID\n* origin address\n* destination address\n* item weights and signatures\n\nIf any of these fields differ, or if the cache has expired since the original request, then new shipping rates are requested. The cache expires 15 minutes after rates are successfully returned. If an error occurs, then the cache expires after 30 seconds.")] + public class DeliveryCarrierService : GraphQLObject, INode + { /// ///Whether the carrier service is active. /// - [Description("Whether the carrier service is active.")] - [NonNull] - public bool? active { get; set; } - + [Description("Whether the carrier service is active.")] + [NonNull] + public bool? active { get; set; } + /// ///The list of services offered for given destinations. /// - [Description("The list of services offered for given destinations.")] - [NonNull] - public IEnumerable? availableServicesForCountries { get; set; } - + [Description("The list of services offered for given destinations.")] + [NonNull] + public IEnumerable? availableServicesForCountries { get; set; } + /// ///The URL endpoint that Shopify needs to retrieve shipping rates. /// - [Description("The URL endpoint that Shopify needs to retrieve shipping rates.")] - public string? callbackUrl { get; set; } - + [Description("The URL endpoint that Shopify needs to retrieve shipping rates.")] + public string? callbackUrl { get; set; } + /// ///The properly formatted name of the shipping service provider, ready to display. /// - [Description("The properly formatted name of the shipping service provider, ready to display.")] - public string? formattedName { get; set; } - + [Description("The properly formatted name of the shipping service provider, ready to display.")] + public string? formattedName { get; set; } + /// ///The logo of the service provider. /// - [Description("The logo of the service provider.")] - [NonNull] - public Image? icon { get; set; } - + [Description("The logo of the service provider.")] + [NonNull] + public Image? icon { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the shipping service provider. /// - [Description("The name of the shipping service provider.")] - public string? name { get; set; } - + [Description("The name of the shipping service provider.")] + public string? name { get; set; } + /// ///Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. /// - [Description("Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples.")] - [NonNull] - public bool? supportsServiceDiscovery { get; set; } - } - + [Description("Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples.")] + [NonNull] + public bool? supportsServiceDiscovery { get; set; } + } + /// ///A carrier service and the associated list of shop locations. /// - [Description("A carrier service and the associated list of shop locations.")] - public class DeliveryCarrierServiceAndLocations : GraphQLObject - { + [Description("A carrier service and the associated list of shop locations.")] + public class DeliveryCarrierServiceAndLocations : GraphQLObject + { /// ///The carrier service. /// - [Description("The carrier service.")] - [NonNull] - public DeliveryCarrierService? carrierService { get; set; } - + [Description("The carrier service.")] + [NonNull] + public DeliveryCarrierService? carrierService { get; set; } + /// ///The list of locations that support this carrier service. /// - [Description("The list of locations that support this carrier service.")] - [NonNull] - public IEnumerable? locations { get; set; } - } - + [Description("The list of locations that support this carrier service.")] + [NonNull] + public IEnumerable? locations { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeliveryCarrierServices. /// - [Description("An auto-generated type for paginating through multiple DeliveryCarrierServices.")] - public class DeliveryCarrierServiceConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeliveryCarrierServices.")] + public class DeliveryCarrierServiceConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeliveryCarrierServiceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeliveryCarrierServiceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeliveryCarrierServiceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields required to create a carrier service. /// - [Description("The input fields required to create a carrier service.")] - public class DeliveryCarrierServiceCreateInput : GraphQLObject - { + [Description("The input fields required to create a carrier service.")] + public class DeliveryCarrierServiceCreateInput : GraphQLObject + { /// ///The name of the shipping service as seen by merchants and their customers. /// - [Description("The name of the shipping service as seen by merchants and their customers.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the shipping service as seen by merchants and their customers.")] + [NonNull] + public string? name { get; set; } + /// ///The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL. /// - [Description("The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL.")] - [NonNull] - public string? callbackUrl { get; set; } - + [Description("The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL.")] + [NonNull] + public string? callbackUrl { get; set; } + /// ///Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. /// - [Description("Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples.")] - [NonNull] - public bool? supportsServiceDiscovery { get; set; } - + [Description("Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples.")] + [NonNull] + public bool? supportsServiceDiscovery { get; set; } + /// ///Whether this carrier service is active. If `true`, then the service will be available to serve rates in checkout. /// - [Description("Whether this carrier service is active. If `true`, then the service will be available to serve rates in checkout.")] - [NonNull] - public bool? active { get; set; } - } - + [Description("Whether this carrier service is active. If `true`, then the service will be available to serve rates in checkout.")] + [NonNull] + public bool? active { get; set; } + } + /// ///An auto-generated type which holds one DeliveryCarrierService and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeliveryCarrierService and a cursor during pagination.")] - public class DeliveryCarrierServiceEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeliveryCarrierService and a cursor during pagination.")] + public class DeliveryCarrierServiceEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeliveryCarrierServiceEdge. /// - [Description("The item at the end of DeliveryCarrierServiceEdge.")] - [NonNull] - public DeliveryCarrierService? node { get; set; } - } - + [Description("The item at the end of DeliveryCarrierServiceEdge.")] + [NonNull] + public DeliveryCarrierService? node { get; set; } + } + /// ///The input fields used to update a carrier service. /// - [Description("The input fields used to update a carrier service.")] - public class DeliveryCarrierServiceUpdateInput : GraphQLObject - { + [Description("The input fields used to update a carrier service.")] + public class DeliveryCarrierServiceUpdateInput : GraphQLObject + { /// ///The global ID of the carrier service to update. /// - [Description("The global ID of the carrier service to update.")] - [NonNull] - public string? id { get; set; } - + [Description("The global ID of the carrier service to update.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the shipping service as seen by merchants and their customers. /// - [Description("The name of the shipping service as seen by merchants and their customers.")] - public string? name { get; set; } - + [Description("The name of the shipping service as seen by merchants and their customers.")] + public string? name { get; set; } + /// ///The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL. /// - [Description("The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL.")] - public string? callbackUrl { get; set; } - + [Description("The URL endpoint that Shopify needs to retrieve shipping rates. This must be a public URL.")] + public string? callbackUrl { get; set; } + /// ///Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples. /// - [Description("Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples.")] - public bool? supportsServiceDiscovery { get; set; } - + [Description("Whether merchants are able to send dummy data to your service through the Shopify admin to see shipping rate examples.")] + public bool? supportsServiceDiscovery { get; set; } + /// ///Whether this carrier service is active. If `true`, then the service will be available to serve rates in checkout. /// - [Description("Whether this carrier service is active. If `true`, then the service will be available to serve rates in checkout.")] - public bool? active { get; set; } - } - + [Description("Whether this carrier service is active. If `true`, then the service will be available to serve rates in checkout.")] + public bool? active { get; set; } + } + /// ///A condition that must pass for a delivery method definition to be applied to an order. /// - [Description("A condition that must pass for a delivery method definition to be applied to an order.")] - public class DeliveryCondition : GraphQLObject, INode - { + [Description("A condition that must pass for a delivery method definition to be applied to an order.")] + public class DeliveryCondition : GraphQLObject, INode + { /// ///The value (weight or price) that the condition field is compared to. /// - [Description("The value (weight or price) that the condition field is compared to.")] - [NonNull] - public IDeliveryConditionCriteria? conditionCriteria { get; set; } - + [Description("The value (weight or price) that the condition field is compared to.")] + [NonNull] + public IDeliveryConditionCriteria? conditionCriteria { get; set; } + /// ///The field to compare the criterion value against, using the operator. /// - [Description("The field to compare the criterion value against, using the operator.")] - [NonNull] - [EnumType(typeof(DeliveryConditionField))] - public string? field { get; set; } - + [Description("The field to compare the criterion value against, using the operator.")] + [NonNull] + [EnumType(typeof(DeliveryConditionField))] + public string? field { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The operator to compare the field and criterion value. /// - [Description("The operator to compare the field and criterion value.")] - [NonNull] - [EnumType(typeof(DeliveryConditionOperator))] - public string? @operator { get; set; } - } - + [Description("The operator to compare the field and criterion value.")] + [NonNull] + [EnumType(typeof(DeliveryConditionOperator))] + public string? @operator { get; set; } + } + /// ///The value (weight or price) that the condition field is compared to. /// - [Description("The value (weight or price) that the condition field is compared to.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] - [JsonDerivedType(typeof(Weight), typeDiscriminator: "Weight")] - public interface IDeliveryConditionCriteria : IGraphQLObject - { - public MoneyV2? AsMoneyV2() => this as MoneyV2; - public Weight? AsWeight() => this as Weight; - } - + [Description("The value (weight or price) that the condition field is compared to.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] + [JsonDerivedType(typeof(Weight), typeDiscriminator: "Weight")] + public interface IDeliveryConditionCriteria : IGraphQLObject + { + public MoneyV2? AsMoneyV2() => this as MoneyV2; + public Weight? AsWeight() => this as Weight; + } + /// ///The field type that the condition will be applied to. /// - [Description("The field type that the condition will be applied to.")] - public enum DeliveryConditionField - { + [Description("The field type that the condition will be applied to.")] + public enum DeliveryConditionField + { /// ///The condition will check against the total weight of the order. /// - [Description("The condition will check against the total weight of the order.")] - TOTAL_WEIGHT, + [Description("The condition will check against the total weight of the order.")] + TOTAL_WEIGHT, /// ///The condition will check against the total price of the order. /// - [Description("The condition will check against the total price of the order.")] - TOTAL_PRICE, - } - - public static class DeliveryConditionFieldStringValues - { - public const string TOTAL_WEIGHT = @"TOTAL_WEIGHT"; - public const string TOTAL_PRICE = @"TOTAL_PRICE"; - } - + [Description("The condition will check against the total price of the order.")] + TOTAL_PRICE, + } + + public static class DeliveryConditionFieldStringValues + { + public const string TOTAL_WEIGHT = @"TOTAL_WEIGHT"; + public const string TOTAL_PRICE = @"TOTAL_PRICE"; + } + /// ///The operator to use to determine if the condition passes. /// - [Description("The operator to use to determine if the condition passes.")] - public enum DeliveryConditionOperator - { + [Description("The operator to use to determine if the condition passes.")] + public enum DeliveryConditionOperator + { /// ///The condition will check whether the field is greater than or equal to the criterion. /// - [Description("The condition will check whether the field is greater than or equal to the criterion.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("The condition will check whether the field is greater than or equal to the criterion.")] + GREATER_THAN_OR_EQUAL_TO, /// ///The condition will check if the field is less than or equal to the criterion. /// - [Description("The condition will check if the field is less than or equal to the criterion.")] - LESS_THAN_OR_EQUAL_TO, - } - - public static class DeliveryConditionOperatorStringValues - { - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - } - + [Description("The condition will check if the field is less than or equal to the criterion.")] + LESS_THAN_OR_EQUAL_TO, + } + + public static class DeliveryConditionOperatorStringValues + { + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + } + /// ///A country that is used to define a shipping zone. /// - [Description("A country that is used to define a shipping zone.")] - public class DeliveryCountry : GraphQLObject, INode - { + [Description("A country that is used to define a shipping zone.")] + public class DeliveryCountry : GraphQLObject, INode + { /// ///A two-letter country code in ISO 3166-1 alpha-2 standard. ///It also includes a flag indicating whether the country should be ///a part of the 'Rest Of World' shipping zone. /// - [Description("A two-letter country code in ISO 3166-1 alpha-2 standard.\nIt also includes a flag indicating whether the country should be\na part of the 'Rest Of World' shipping zone.")] - [NonNull] - public DeliveryCountryCodeOrRestOfWorld? code { get; set; } - + [Description("A two-letter country code in ISO 3166-1 alpha-2 standard.\nIt also includes a flag indicating whether the country should be\na part of the 'Rest Of World' shipping zone.")] + [NonNull] + public DeliveryCountryCodeOrRestOfWorld? code { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The full name of the country. /// - [Description("The full name of the country.")] - [NonNull] - public string? name { get; set; } - + [Description("The full name of the country.")] + [NonNull] + public string? name { get; set; } + /// ///The list of regions associated with this country. /// - [Description("The list of regions associated with this country.")] - [NonNull] - public IEnumerable? provinces { get; set; } - + [Description("The list of regions associated with this country.")] + [NonNull] + public IEnumerable? provinces { get; set; } + /// ///The translated name of the country. The translation returned is based on the system's locale. /// - [Description("The translated name of the country. The translation returned is based on the system's locale.")] - [NonNull] - public string? translatedName { get; set; } - } - + [Description("The translated name of the country. The translation returned is based on the system's locale.")] + [NonNull] + public string? translatedName { get; set; } + } + /// ///The country details and the associated shipping zone. /// - [Description("The country details and the associated shipping zone.")] - public class DeliveryCountryAndZone : GraphQLObject - { + [Description("The country details and the associated shipping zone.")] + public class DeliveryCountryAndZone : GraphQLObject + { /// ///The country details. /// - [Description("The country details.")] - [NonNull] - public DeliveryCountry? country { get; set; } - + [Description("The country details.")] + [NonNull] + public DeliveryCountry? country { get; set; } + /// ///The name of the shipping zone. /// - [Description("The name of the shipping zone.")] - [NonNull] - public string? zone { get; set; } - } - + [Description("The name of the shipping zone.")] + [NonNull] + public string? zone { get; set; } + } + /// ///The country code and whether the country is a part of the 'Rest Of World' shipping zone. /// - [Description("The country code and whether the country is a part of the 'Rest Of World' shipping zone.")] - public class DeliveryCountryCodeOrRestOfWorld : GraphQLObject - { + [Description("The country code and whether the country is a part of the 'Rest Of World' shipping zone.")] + public class DeliveryCountryCodeOrRestOfWorld : GraphQLObject + { /// ///The country code in the ISO 3166-1 alpha-2 format. /// - [Description("The country code in the ISO 3166-1 alpha-2 format.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The country code in the ISO 3166-1 alpha-2 format.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///Whether the country is a part of the 'Rest of World' shipping zone. /// - [Description("Whether the country is a part of the 'Rest of World' shipping zone.")] - [NonNull] - public bool? restOfWorld { get; set; } - } - + [Description("Whether the country is a part of the 'Rest of World' shipping zone.")] + [NonNull] + public bool? restOfWorld { get; set; } + } + /// ///The list of country codes and information whether the countries ///are a part of the 'Rest Of World' shipping zone. /// - [Description("The list of country codes and information whether the countries\nare a part of the 'Rest Of World' shipping zone.")] - public class DeliveryCountryCodesOrRestOfWorld : GraphQLObject - { + [Description("The list of country codes and information whether the countries\nare a part of the 'Rest Of World' shipping zone.")] + public class DeliveryCountryCodesOrRestOfWorld : GraphQLObject + { /// ///List of applicable country codes in the ISO 3166-1 alpha-2 format. /// - [Description("List of applicable country codes in the ISO 3166-1 alpha-2 format.")] - [NonNull] - public IEnumerable? countryCodes { get; set; } - + [Description("List of applicable country codes in the ISO 3166-1 alpha-2 format.")] + [NonNull] + public IEnumerable? countryCodes { get; set; } + /// ///Whether the countries are a part of the 'Rest of World' shipping zone. /// - [Description("Whether the countries are a part of the 'Rest of World' shipping zone.")] - [NonNull] - public bool? restOfWorld { get; set; } - } - + [Description("Whether the countries are a part of the 'Rest of World' shipping zone.")] + [NonNull] + public bool? restOfWorld { get; set; } + } + /// ///The input fields to specify a country. /// - [Description("The input fields to specify a country.")] - public class DeliveryCountryInput : GraphQLObject - { + [Description("The input fields to specify a country.")] + public class DeliveryCountryInput : GraphQLObject + { /// ///The country code of the country in the ISO 3166-1 alpha-2 format. /// - [Description("The country code of the country in the ISO 3166-1 alpha-2 format.")] - [EnumType(typeof(CountryCode))] - public string? code { get; set; } - + [Description("The country code of the country in the ISO 3166-1 alpha-2 format.")] + [EnumType(typeof(CountryCode))] + public string? code { get; set; } + /// ///Whether the country is a part of the 'Rest of World' shipping zone. /// - [Description("Whether the country is a part of the 'Rest of World' shipping zone.")] - public bool? restOfWorld { get; set; } - + [Description("Whether the country is a part of the 'Rest of World' shipping zone.")] + public bool? restOfWorld { get; set; } + /// ///The regions associated with this country. /// - [Description("The regions associated with this country.")] - public IEnumerable? provinces { get; set; } - + [Description("The regions associated with this country.")] + public IEnumerable? provinces { get; set; } + /// ///Associate all available provinces with this country. /// - [Description("Associate all available provinces with this country.")] - public bool? includeAllProvinces { get; set; } - } - + [Description("Associate all available provinces with this country.")] + public bool? includeAllProvinces { get; set; } + } + /// ///A delivery customization. /// - [Description("A delivery customization.")] - public class DeliveryCustomization : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer - { + [Description("A delivery customization.")] + public class DeliveryCustomization : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer + { /// ///The enabled status of the delivery customization. /// - [Description("The enabled status of the delivery customization.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("The enabled status of the delivery customization.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The error history on the most recent version of the delivery customization. /// - [Description("The error history on the most recent version of the delivery customization.")] - public FunctionsErrorHistory? errorHistory { get; set; } - + [Description("The error history on the most recent version of the delivery customization.")] + public FunctionsErrorHistory? errorHistory { get; set; } + /// ///The ID of the Shopify Function implementing the delivery customization. /// - [Description("The ID of the Shopify Function implementing the delivery customization.")] - [NonNull] - public string? functionId { get; set; } - + [Description("The ID of the Shopify Function implementing the delivery customization.")] + [NonNull] + public string? functionId { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The Shopify Function implementing the delivery customization. /// - [Description("The Shopify Function implementing the delivery customization.")] - [NonNull] - public ShopifyFunction? shopifyFunction { get; set; } - + [Description("The Shopify Function implementing the delivery customization.")] + [NonNull] + public ShopifyFunction? shopifyFunction { get; set; } + /// ///The title of the delivery customization. /// - [Description("The title of the delivery customization.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the delivery customization.")] + [NonNull] + public string? title { get; set; } + } + /// ///Return type for `deliveryCustomizationActivation` mutation. /// - [Description("Return type for `deliveryCustomizationActivation` mutation.")] - public class DeliveryCustomizationActivationPayload : GraphQLObject - { + [Description("Return type for `deliveryCustomizationActivation` mutation.")] + public class DeliveryCustomizationActivationPayload : GraphQLObject + { /// ///The IDs of the updated delivery customizations. /// - [Description("The IDs of the updated delivery customizations.")] - public IEnumerable? ids { get; set; } - + [Description("The IDs of the updated delivery customizations.")] + public IEnumerable? ids { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeliveryCustomizations. /// - [Description("An auto-generated type for paginating through multiple DeliveryCustomizations.")] - public class DeliveryCustomizationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeliveryCustomizations.")] + public class DeliveryCustomizationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeliveryCustomizationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeliveryCustomizationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeliveryCustomizationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `deliveryCustomizationCreate` mutation. /// - [Description("Return type for `deliveryCustomizationCreate` mutation.")] - public class DeliveryCustomizationCreatePayload : GraphQLObject - { + [Description("Return type for `deliveryCustomizationCreate` mutation.")] + public class DeliveryCustomizationCreatePayload : GraphQLObject + { /// ///Returns the created delivery customization. /// - [Description("Returns the created delivery customization.")] - public DeliveryCustomization? deliveryCustomization { get; set; } - + [Description("Returns the created delivery customization.")] + public DeliveryCustomization? deliveryCustomization { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `deliveryCustomizationDelete` mutation. /// - [Description("Return type for `deliveryCustomizationDelete` mutation.")] - public class DeliveryCustomizationDeletePayload : GraphQLObject - { + [Description("Return type for `deliveryCustomizationDelete` mutation.")] + public class DeliveryCustomizationDeletePayload : GraphQLObject + { /// ///Returns the deleted delivery customization ID. /// - [Description("Returns the deleted delivery customization ID.")] - public string? deletedId { get; set; } - + [Description("Returns the deleted delivery customization ID.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one DeliveryCustomization and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeliveryCustomization and a cursor during pagination.")] - public class DeliveryCustomizationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeliveryCustomization and a cursor during pagination.")] + public class DeliveryCustomizationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeliveryCustomizationEdge. /// - [Description("The item at the end of DeliveryCustomizationEdge.")] - [NonNull] - public DeliveryCustomization? node { get; set; } - } - + [Description("The item at the end of DeliveryCustomizationEdge.")] + [NonNull] + public DeliveryCustomization? node { get; set; } + } + /// ///An error that occurs during the execution of a delivery customization mutation. /// - [Description("An error that occurs during the execution of a delivery customization mutation.")] - public class DeliveryCustomizationError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a delivery customization mutation.")] + public class DeliveryCustomizationError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DeliveryCustomizationErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DeliveryCustomizationErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DeliveryCustomizationError`. /// - [Description("Possible error codes that can be returned by `DeliveryCustomizationError`.")] - public enum DeliveryCustomizationErrorCode - { + [Description("Possible error codes that can be returned by `DeliveryCustomizationError`.")] + public enum DeliveryCustomizationErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Function not found. /// - [Description("Function not found.")] - FUNCTION_NOT_FOUND, + [Description("Function not found.")] + FUNCTION_NOT_FOUND, /// ///Delivery customization not found. /// - [Description("Delivery customization not found.")] - DELIVERY_CUSTOMIZATION_NOT_FOUND, + [Description("Delivery customization not found.")] + DELIVERY_CUSTOMIZATION_NOT_FOUND, /// ///Shop must be on a Shopify Plus plan to activate delivery customizations from a custom app. /// - [Description("Shop must be on a Shopify Plus plan to activate delivery customizations from a custom app.")] - DELIVERY_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE, + [Description("Shop must be on a Shopify Plus plan to activate delivery customizations from a custom app.")] + DELIVERY_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE, /// ///Unauthorized app scope. /// - [Description("Unauthorized app scope.")] - UNAUTHORIZED_APP_SCOPE, + [Description("Unauthorized app scope.")] + UNAUTHORIZED_APP_SCOPE, /// ///Maximum delivery customizations are already enabled. /// - [Description("Maximum delivery customizations are already enabled.")] - MAXIMUM_ACTIVE_DELIVERY_CUSTOMIZATIONS, + [Description("Maximum delivery customizations are already enabled.")] + MAXIMUM_ACTIVE_DELIVERY_CUSTOMIZATIONS, /// ///Shop must be on a Shopify Plus plan to activate functions from a custom app. /// - [Description("Shop must be on a Shopify Plus plan to activate functions from a custom app.")] - CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, + [Description("Shop must be on a Shopify Plus plan to activate functions from a custom app.")] + CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, /// ///Function does not implement the required interface for this delivery customization. /// - [Description("Function does not implement the required interface for this delivery customization.")] - FUNCTION_DOES_NOT_IMPLEMENT, + [Description("Function does not implement the required interface for this delivery customization.")] + FUNCTION_DOES_NOT_IMPLEMENT, /// ///Function is pending deletion. /// - [Description("Function is pending deletion.")] - FUNCTION_PENDING_DELETION, + [Description("Function is pending deletion.")] + FUNCTION_PENDING_DELETION, /// ///Function ID cannot be changed. /// - [Description("Function ID cannot be changed.")] - FUNCTION_ID_CANNOT_BE_CHANGED, + [Description("Function ID cannot be changed.")] + FUNCTION_ID_CANNOT_BE_CHANGED, /// ///Required input field must be present. /// - [Description("Required input field must be present.")] - REQUIRED_INPUT_FIELD, + [Description("Required input field must be present.")] + REQUIRED_INPUT_FIELD, /// ///Could not create or update metafields. /// - [Description("Could not create or update metafields.")] - INVALID_METAFIELDS, + [Description("Could not create or update metafields.")] + INVALID_METAFIELDS, /// ///Either function_id or function_handle must be provided. /// - [Description("Either function_id or function_handle must be provided.")] - MISSING_FUNCTION_IDENTIFIER, + [Description("Either function_id or function_handle must be provided.")] + MISSING_FUNCTION_IDENTIFIER, /// ///Only one of function_id or function_handle can be provided, not both. /// - [Description("Only one of function_id or function_handle can be provided, not both.")] - MULTIPLE_FUNCTION_IDENTIFIERS, - } - - public static class DeliveryCustomizationErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; - public const string DELIVERY_CUSTOMIZATION_NOT_FOUND = @"DELIVERY_CUSTOMIZATION_NOT_FOUND"; - public const string DELIVERY_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE = @"DELIVERY_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE"; - public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; - public const string MAXIMUM_ACTIVE_DELIVERY_CUSTOMIZATIONS = @"MAXIMUM_ACTIVE_DELIVERY_CUSTOMIZATIONS"; - public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; - public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; - public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; - public const string FUNCTION_ID_CANNOT_BE_CHANGED = @"FUNCTION_ID_CANNOT_BE_CHANGED"; - public const string REQUIRED_INPUT_FIELD = @"REQUIRED_INPUT_FIELD"; - public const string INVALID_METAFIELDS = @"INVALID_METAFIELDS"; - public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; - public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; - } - + [Description("Only one of function_id or function_handle can be provided, not both.")] + MULTIPLE_FUNCTION_IDENTIFIERS, + } + + public static class DeliveryCustomizationErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; + public const string DELIVERY_CUSTOMIZATION_NOT_FOUND = @"DELIVERY_CUSTOMIZATION_NOT_FOUND"; + public const string DELIVERY_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE = @"DELIVERY_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE"; + public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; + public const string MAXIMUM_ACTIVE_DELIVERY_CUSTOMIZATIONS = @"MAXIMUM_ACTIVE_DELIVERY_CUSTOMIZATIONS"; + public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; + public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; + public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; + public const string FUNCTION_ID_CANNOT_BE_CHANGED = @"FUNCTION_ID_CANNOT_BE_CHANGED"; + public const string REQUIRED_INPUT_FIELD = @"REQUIRED_INPUT_FIELD"; + public const string INVALID_METAFIELDS = @"INVALID_METAFIELDS"; + public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; + public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; + } + /// ///The input fields to create and update a delivery customization. /// - [Description("The input fields to create and update a delivery customization.")] - public class DeliveryCustomizationInput : GraphQLObject - { + [Description("The input fields to create and update a delivery customization.")] + public class DeliveryCustomizationInput : GraphQLObject + { /// ///The ID of the function providing the delivery customization. /// - [Description("The ID of the function providing the delivery customization.")] - [Obsolete("Use `functionHandle` instead.")] - public string? functionId { get; set; } - + [Description("The ID of the function providing the delivery customization.")] + [Obsolete("Use `functionHandle` instead.")] + public string? functionId { get; set; } + /// ///Function handle scoped to your current app ID. Only finds functions within your app. /// - [Description("Function handle scoped to your current app ID. Only finds functions within your app.")] - public string? functionHandle { get; set; } - + [Description("Function handle scoped to your current app ID. Only finds functions within your app.")] + public string? functionHandle { get; set; } + /// ///The title of the delivery customization. /// - [Description("The title of the delivery customization.")] - public string? title { get; set; } - + [Description("The title of the delivery customization.")] + public string? title { get; set; } + /// ///The enabled status of the delivery customization. /// - [Description("The enabled status of the delivery customization.")] - public bool? enabled { get; set; } - + [Description("The enabled status of the delivery customization.")] + public bool? enabled { get; set; } + /// ///Additional metafields to associate to the delivery customization. /// - [Description("Additional metafields to associate to the delivery customization.")] - public IEnumerable? metafields { get; set; } - } - + [Description("Additional metafields to associate to the delivery customization.")] + public IEnumerable? metafields { get; set; } + } + /// ///Return type for `deliveryCustomizationUpdate` mutation. /// - [Description("Return type for `deliveryCustomizationUpdate` mutation.")] - public class DeliveryCustomizationUpdatePayload : GraphQLObject - { + [Description("Return type for `deliveryCustomizationUpdate` mutation.")] + public class DeliveryCustomizationUpdatePayload : GraphQLObject + { /// ///Returns the updated delivery customization. /// - [Description("Returns the updated delivery customization.")] - public DeliveryCustomization? deliveryCustomization { get; set; } - + [Description("Returns the updated delivery customization.")] + public DeliveryCustomization? deliveryCustomization { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned. /// - [Description("Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned.")] - public class DeliveryLegacyModeBlocked : GraphQLObject - { + [Description("Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned.")] + public class DeliveryLegacyModeBlocked : GraphQLObject + { /// ///Whether the shop can convert to full multi-location delivery profiles mode. /// - [Description("Whether the shop can convert to full multi-location delivery profiles mode.")] - [NonNull] - public bool? blocked { get; set; } - + [Description("Whether the shop can convert to full multi-location delivery profiles mode.")] + [NonNull] + public bool? blocked { get; set; } + /// ///The reasons why the shop is blocked from converting to full multi-location delivery profiles mode. /// - [Description("The reasons why the shop is blocked from converting to full multi-location delivery profiles mode.")] - public IEnumerable? reasons { get; set; } - } - + [Description("The reasons why the shop is blocked from converting to full multi-location delivery profiles mode.")] + public IEnumerable? reasons { get; set; } + } + /// ///Reasons the shop is blocked from converting to full multi-location delivery profiles mode. /// - [Description("Reasons the shop is blocked from converting to full multi-location delivery profiles mode.")] - public enum DeliveryLegacyModeBlockedReason - { + [Description("Reasons the shop is blocked from converting to full multi-location delivery profiles mode.")] + public enum DeliveryLegacyModeBlockedReason + { /// ///Multi-Location mode is disabled. The shop can't convert to full multi-location delivery profiles mode. /// - [Description("Multi-Location mode is disabled. The shop can't convert to full multi-location delivery profiles mode.")] - [Obsolete("All shops are now using multi-location mode.")] - MULTI_LOCATION_DISABLED, + [Description("Multi-Location mode is disabled. The shop can't convert to full multi-location delivery profiles mode.")] + [Obsolete("All shops are now using multi-location mode.")] + MULTI_LOCATION_DISABLED, /// ///There are no locations for this store that can fulfill online orders. /// - [Description("There are no locations for this store that can fulfill online orders.")] - NO_LOCATIONS_FULFILLING_ONLINE_ORDERS, - } - - public static class DeliveryLegacyModeBlockedReasonStringValues - { - [Obsolete("All shops are now using multi-location mode.")] - public const string MULTI_LOCATION_DISABLED = @"MULTI_LOCATION_DISABLED"; - public const string NO_LOCATIONS_FULFILLING_ONLINE_ORDERS = @"NO_LOCATIONS_FULFILLING_ONLINE_ORDERS"; - } - + [Description("There are no locations for this store that can fulfill online orders.")] + NO_LOCATIONS_FULFILLING_ONLINE_ORDERS, + } + + public static class DeliveryLegacyModeBlockedReasonStringValues + { + [Obsolete("All shops are now using multi-location mode.")] + public const string MULTI_LOCATION_DISABLED = @"MULTI_LOCATION_DISABLED"; + public const string NO_LOCATIONS_FULFILLING_ONLINE_ORDERS = @"NO_LOCATIONS_FULFILLING_ONLINE_ORDERS"; + } + /// ///Local pickup settings associated with a location. /// - [Description("Local pickup settings associated with a location.")] - public class DeliveryLocalPickupSettings : GraphQLObject - { + [Description("Local pickup settings associated with a location.")] + public class DeliveryLocalPickupSettings : GraphQLObject + { /// ///Additional instructions or information related to the local pickup. /// - [Description("Additional instructions or information related to the local pickup.")] - [NonNull] - public string? instructions { get; set; } - + [Description("Additional instructions or information related to the local pickup.")] + [NonNull] + public string? instructions { get; set; } + /// ///The estimated pickup time to show customers at checkout. /// - [Description("The estimated pickup time to show customers at checkout.")] - [NonNull] - [EnumType(typeof(DeliveryLocalPickupTime))] - public string? pickupTime { get; set; } - } - + [Description("The estimated pickup time to show customers at checkout.")] + [NonNull] + [EnumType(typeof(DeliveryLocalPickupTime))] + public string? pickupTime { get; set; } + } + /// ///Possible pickup time values that a location enabled for local pickup can have. /// - [Description("Possible pickup time values that a location enabled for local pickup can have.")] - public enum DeliveryLocalPickupTime - { + [Description("Possible pickup time values that a location enabled for local pickup can have.")] + public enum DeliveryLocalPickupTime + { /// ///Usually ready in 1 hour. /// - [Description("Usually ready in 1 hour.")] - ONE_HOUR, + [Description("Usually ready in 1 hour.")] + ONE_HOUR, /// ///Usually ready in 2 hours. /// - [Description("Usually ready in 2 hours.")] - TWO_HOURS, + [Description("Usually ready in 2 hours.")] + TWO_HOURS, /// ///Usually ready in 4 hours. /// - [Description("Usually ready in 4 hours.")] - FOUR_HOURS, + [Description("Usually ready in 4 hours.")] + FOUR_HOURS, /// ///Usually ready in 24 hours. /// - [Description("Usually ready in 24 hours.")] - TWENTY_FOUR_HOURS, + [Description("Usually ready in 24 hours.")] + TWENTY_FOUR_HOURS, /// ///Usually ready in 2-4 days. /// - [Description("Usually ready in 2-4 days.")] - TWO_TO_FOUR_DAYS, + [Description("Usually ready in 2-4 days.")] + TWO_TO_FOUR_DAYS, /// ///Usually ready in 5+ days. /// - [Description("Usually ready in 5+ days.")] - FIVE_OR_MORE_DAYS, + [Description("Usually ready in 5+ days.")] + FIVE_OR_MORE_DAYS, /// ///Custom pickup time. Unrecognized pickup time enum value. /// - [Description("Custom pickup time. Unrecognized pickup time enum value.")] - [Obsolete("Custom pickup time is no longer supported.")] - CUSTOM, - } - - public static class DeliveryLocalPickupTimeStringValues - { - public const string ONE_HOUR = @"ONE_HOUR"; - public const string TWO_HOURS = @"TWO_HOURS"; - public const string FOUR_HOURS = @"FOUR_HOURS"; - public const string TWENTY_FOUR_HOURS = @"TWENTY_FOUR_HOURS"; - public const string TWO_TO_FOUR_DAYS = @"TWO_TO_FOUR_DAYS"; - public const string FIVE_OR_MORE_DAYS = @"FIVE_OR_MORE_DAYS"; - [Obsolete("Custom pickup time is no longer supported.")] - public const string CUSTOM = @"CUSTOM"; - } - + [Description("Custom pickup time. Unrecognized pickup time enum value.")] + [Obsolete("Custom pickup time is no longer supported.")] + CUSTOM, + } + + public static class DeliveryLocalPickupTimeStringValues + { + public const string ONE_HOUR = @"ONE_HOUR"; + public const string TWO_HOURS = @"TWO_HOURS"; + public const string FOUR_HOURS = @"FOUR_HOURS"; + public const string TWENTY_FOUR_HOURS = @"TWENTY_FOUR_HOURS"; + public const string TWO_TO_FOUR_DAYS = @"TWO_TO_FOUR_DAYS"; + public const string FIVE_OR_MORE_DAYS = @"FIVE_OR_MORE_DAYS"; + [Obsolete("Custom pickup time is no longer supported.")] + public const string CUSTOM = @"CUSTOM"; + } + /// ///A location group is a collection of locations. They share zones and delivery methods across delivery ///profiles. /// - [Description("A location group is a collection of locations. They share zones and delivery methods across delivery\nprofiles.")] - public class DeliveryLocationGroup : GraphQLObject, INode - { + [Description("A location group is a collection of locations. They share zones and delivery methods across delivery\nprofiles.")] + public class DeliveryLocationGroup : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A list of all locations that are part of this location group. /// - [Description("A list of all locations that are part of this location group.")] - [NonNull] - public LocationConnection? locations { get; set; } - + [Description("A list of all locations that are part of this location group.")] + [NonNull] + public LocationConnection? locations { get; set; } + /// ///A count of all locations that are part of this location group. /// - [Description("A count of all locations that are part of this location group.")] - [NonNull] - public int? locationsCount { get; set; } - } - + [Description("A count of all locations that are part of this location group.")] + [NonNull] + public int? locationsCount { get; set; } + } + /// ///Links a location group with a zone and the associated method definitions. /// - [Description("Links a location group with a zone and the associated method definitions.")] - public class DeliveryLocationGroupZone : GraphQLObject - { + [Description("Links a location group with a zone and the associated method definitions.")] + public class DeliveryLocationGroupZone : GraphQLObject + { /// ///The number of method definitions for the zone. /// - [Description("The number of method definitions for the zone.")] - [NonNull] - public DeliveryMethodDefinitionCounts? methodDefinitionCounts { get; set; } - + [Description("The number of method definitions for the zone.")] + [NonNull] + public DeliveryMethodDefinitionCounts? methodDefinitionCounts { get; set; } + /// ///The method definitions associated to a zone and location group. /// - [Description("The method definitions associated to a zone and location group.")] - [NonNull] - public DeliveryMethodDefinitionConnection? methodDefinitions { get; set; } - + [Description("The method definitions associated to a zone and location group.")] + [NonNull] + public DeliveryMethodDefinitionConnection? methodDefinitions { get; set; } + /// ///The zone associated to a location group. /// - [Description("The zone associated to a location group.")] - [NonNull] - public DeliveryZone? zone { get; set; } - } - + [Description("The zone associated to a location group.")] + [NonNull] + public DeliveryZone? zone { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeliveryLocationGroupZones. /// - [Description("An auto-generated type for paginating through multiple DeliveryLocationGroupZones.")] - public class DeliveryLocationGroupZoneConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeliveryLocationGroupZones.")] + public class DeliveryLocationGroupZoneConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeliveryLocationGroupZoneEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeliveryLocationGroupZoneEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeliveryLocationGroupZoneEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DeliveryLocationGroupZone and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeliveryLocationGroupZone and a cursor during pagination.")] - public class DeliveryLocationGroupZoneEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeliveryLocationGroupZone and a cursor during pagination.")] + public class DeliveryLocationGroupZoneEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeliveryLocationGroupZoneEdge. /// - [Description("The item at the end of DeliveryLocationGroupZoneEdge.")] - [NonNull] - public DeliveryLocationGroupZone? node { get; set; } - } - + [Description("The item at the end of DeliveryLocationGroupZoneEdge.")] + [NonNull] + public DeliveryLocationGroupZone? node { get; set; } + } + /// ///The input fields for a delivery zone associated to a location group and profile. /// - [Description("The input fields for a delivery zone associated to a location group and profile.")] - public class DeliveryLocationGroupZoneInput : GraphQLObject - { + [Description("The input fields for a delivery zone associated to a location group and profile.")] + public class DeliveryLocationGroupZoneInput : GraphQLObject + { /// ///A globally-unique ID of the zone. /// - [Description("A globally-unique ID of the zone.")] - public string? id { get; set; } - + [Description("A globally-unique ID of the zone.")] + public string? id { get; set; } + /// ///The name of the zone. /// - [Description("The name of the zone.")] - public string? name { get; set; } - + [Description("The name of the zone.")] + public string? name { get; set; } + /// ///A list of countries to associate with the zone. /// - [Description("A list of countries to associate with the zone.")] - public IEnumerable? countries { get; set; } - + [Description("A list of countries to associate with the zone.")] + public IEnumerable? countries { get; set; } + /// ///A list of method definitions to create. /// - [Description("A list of method definitions to create.")] - public IEnumerable? methodDefinitionsToCreate { get; set; } - + [Description("A list of method definitions to create.")] + public IEnumerable? methodDefinitionsToCreate { get; set; } + /// ///A list of method definitions to update. /// - [Description("A list of method definitions to update.")] - public IEnumerable? methodDefinitionsToUpdate { get; set; } - } - + [Description("A list of method definitions to update.")] + public IEnumerable? methodDefinitionsToUpdate { get; set; } + } + /// ///The input fields for a local pickup setting associated with a location. /// - [Description("The input fields for a local pickup setting associated with a location.")] - public class DeliveryLocationLocalPickupEnableInput : GraphQLObject - { + [Description("The input fields for a local pickup setting associated with a location.")] + public class DeliveryLocationLocalPickupEnableInput : GraphQLObject + { /// ///The ID of the location associated with the location setting. /// - [Description("The ID of the location associated with the location setting.")] - [NonNull] - public string? locationId { get; set; } - + [Description("The ID of the location associated with the location setting.")] + [NonNull] + public string? locationId { get; set; } + /// ///The time of the local pickup. /// - [Description("The time of the local pickup.")] - [NonNull] - [EnumType(typeof(DeliveryLocalPickupTime))] - public string? pickupTime { get; set; } - + [Description("The time of the local pickup.")] + [NonNull] + [EnumType(typeof(DeliveryLocalPickupTime))] + public string? pickupTime { get; set; } + /// ///The instructions for the local pickup. /// - [Description("The instructions for the local pickup.")] - public string? instructions { get; set; } - } - + [Description("The instructions for the local pickup.")] + public string? instructions { get; set; } + } + /// ///Represents an error that happened when changing local pickup settings for a location. /// - [Description("Represents an error that happened when changing local pickup settings for a location.")] - public class DeliveryLocationLocalPickupSettingsError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happened when changing local pickup settings for a location.")] + public class DeliveryLocationLocalPickupSettingsError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DeliveryLocationLocalPickupSettingsErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DeliveryLocationLocalPickupSettingsErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DeliveryLocationLocalPickupSettingsError`. /// - [Description("Possible error codes that can be returned by `DeliveryLocationLocalPickupSettingsError`.")] - public enum DeliveryLocationLocalPickupSettingsErrorCode - { + [Description("Possible error codes that can be returned by `DeliveryLocationLocalPickupSettingsError`.")] + public enum DeliveryLocationLocalPickupSettingsErrorCode + { /// ///Provided locationId is not for an active location belonging to this store. /// - [Description("Provided locationId is not for an active location belonging to this store.")] - ACTIVE_LOCATION_NOT_FOUND, + [Description("Provided locationId is not for an active location belonging to this store.")] + ACTIVE_LOCATION_NOT_FOUND, /// ///Custom pickup time is not allowed for local pickup settings. /// - [Description("Custom pickup time is not allowed for local pickup settings.")] - CUSTOM_PICKUP_TIME_NOT_ALLOWED, + [Description("Custom pickup time is not allowed for local pickup settings.")] + CUSTOM_PICKUP_TIME_NOT_ALLOWED, /// ///An error occurred while changing the local pickup settings. /// - [Description("An error occurred while changing the local pickup settings.")] - GENERIC_ERROR, - } - - public static class DeliveryLocationLocalPickupSettingsErrorCodeStringValues - { - public const string ACTIVE_LOCATION_NOT_FOUND = @"ACTIVE_LOCATION_NOT_FOUND"; - public const string CUSTOM_PICKUP_TIME_NOT_ALLOWED = @"CUSTOM_PICKUP_TIME_NOT_ALLOWED"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - } - + [Description("An error occurred while changing the local pickup settings.")] + GENERIC_ERROR, + } + + public static class DeliveryLocationLocalPickupSettingsErrorCodeStringValues + { + public const string ACTIVE_LOCATION_NOT_FOUND = @"ACTIVE_LOCATION_NOT_FOUND"; + public const string CUSTOM_PICKUP_TIME_NOT_ALLOWED = @"CUSTOM_PICKUP_TIME_NOT_ALLOWED"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + } + /// ///The delivery method used by a fulfillment order. /// - [Description("The delivery method used by a fulfillment order.")] - public class DeliveryMethod : GraphQLObject, IHasMetafields, INode - { + [Description("The delivery method used by a fulfillment order.")] + public class DeliveryMethod : GraphQLObject, IHasMetafields, INode + { /// ///The Additional information to consider when performing the delivery. /// - [Description("The Additional information to consider when performing the delivery.")] - public DeliveryMethodAdditionalInformation? additionalInformation { get; set; } - + [Description("The Additional information to consider when performing the delivery.")] + public DeliveryMethodAdditionalInformation? additionalInformation { get; set; } + /// ///The branded promise that was presented to the buyer during checkout. For example: Shop Promise. /// - [Description("The branded promise that was presented to the buyer during checkout. For example: Shop Promise.")] - public DeliveryBrandedPromise? brandedPromise { get; set; } - + [Description("The branded promise that was presented to the buyer during checkout. For example: Shop Promise.")] + public DeliveryBrandedPromise? brandedPromise { get; set; } + /// ///This represents the pickup point for the delivery. It returns null when the delivery method doesn't utilize a pickup point generated by a delivery option generator, or when the used pickup point isn't generated by a delivery option generator owned by the requesting app. /// - [Description("This represents the pickup point for the delivery. It returns null when the delivery method doesn't utilize a pickup point generated by a delivery option generator, or when the used pickup point isn't generated by a delivery option generator owned by the requesting app.")] - public DeliveryOptionGeneratorPickupPoint? deliveryOptionGeneratorPickupPoint { get; set; } - + [Description("This represents the pickup point for the delivery. It returns null when the delivery method doesn't utilize a pickup point generated by a delivery option generator, or when the used pickup point isn't generated by a delivery option generator owned by the requesting app.")] + public DeliveryOptionGeneratorPickupPoint? deliveryOptionGeneratorPickupPoint { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location. /// - [Description("The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location.")] - public DateTime? maxDeliveryDateTime { get; set; } - + [Description("The latest delivery date and time when the fulfillment is expected to arrive at the buyer's location.")] + public DateTime? maxDeliveryDateTime { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The type of the delivery method. /// - [Description("The type of the delivery method.")] - [NonNull] - [EnumType(typeof(DeliveryMethodType))] - public string? methodType { get; set; } - + [Description("The type of the delivery method.")] + [NonNull] + [EnumType(typeof(DeliveryMethodType))] + public string? methodType { get; set; } + /// ///The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location. /// - [Description("The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location.")] - public DateTime? minDeliveryDateTime { get; set; } - + [Description("The earliest delivery date and time when the fulfillment is expected to arrive at the buyer's location.")] + public DateTime? minDeliveryDateTime { get; set; } + /// ///The name of the delivery option that was presented to the buyer during checkout. /// - [Description("The name of the delivery option that was presented to the buyer during checkout.")] - public string? presentedName { get; set; } - + [Description("The name of the delivery option that was presented to the buyer during checkout.")] + public string? presentedName { get; set; } + /// ///A reference to the shipping method. /// - [Description("A reference to the shipping method.")] - public string? serviceCode { get; set; } - + [Description("A reference to the shipping method.")] + public string? serviceCode { get; set; } + /// ///Source reference is promise provider specific data associated with delivery promise. /// - [Description("Source reference is promise provider specific data associated with delivery promise.")] - public string? sourceReference { get; set; } - } - + [Description("Source reference is promise provider specific data associated with delivery promise.")] + public string? sourceReference { get; set; } + } + /// ///Additional information included on a delivery method that will help during the delivery process. /// - [Description("Additional information included on a delivery method that will help during the delivery process.")] - public class DeliveryMethodAdditionalInformation : GraphQLObject - { + [Description("Additional information included on a delivery method that will help during the delivery process.")] + public class DeliveryMethodAdditionalInformation : GraphQLObject + { /// ///The delivery instructions to follow when performing the delivery. /// - [Description("The delivery instructions to follow when performing the delivery.")] - public string? instructions { get; set; } - + [Description("The delivery instructions to follow when performing the delivery.")] + public string? instructions { get; set; } + /// ///The phone number to contact when performing the delivery. /// - [Description("The phone number to contact when performing the delivery.")] - public string? phone { get; set; } - } - + [Description("The phone number to contact when performing the delivery.")] + public string? phone { get; set; } + } + /// ///A method definition contains the delivery rate and the conditions that must be met for the method to be ///applied. /// - [Description("A method definition contains the delivery rate and the conditions that must be met for the method to be\napplied.")] - public class DeliveryMethodDefinition : GraphQLObject, INode - { + [Description("A method definition contains the delivery rate and the conditions that must be met for the method to be\napplied.")] + public class DeliveryMethodDefinition : GraphQLObject, INode + { /// ///Whether this method definition is active. /// - [Description("Whether this method definition is active.")] - [NonNull] - public bool? active { get; set; } - + [Description("Whether this method definition is active.")] + [NonNull] + public bool? active { get; set; } + /// ///The description of the method definition. Only available on shipping rates that are custom. /// - [Description("The description of the method definition. Only available on shipping rates that are custom.")] - public string? description { get; set; } - + [Description("The description of the method definition. Only available on shipping rates that are custom.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The method conditions that must pass for this method definition to be applied to an order. /// - [Description("The method conditions that must pass for this method definition to be applied to an order.")] - [NonNull] - public IEnumerable? methodConditions { get; set; } - + [Description("The method conditions that must pass for this method definition to be applied to an order.")] + [NonNull] + public IEnumerable? methodConditions { get; set; } + /// ///The name of the method definition. /// - [Description("The name of the method definition.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the method definition.")] + [NonNull] + public string? name { get; set; } + /// ///The provided rate for this method definition, from a rate definition or participant. /// - [Description("The provided rate for this method definition, from a rate definition or participant.")] - [NonNull] - public IDeliveryRateProvider? rateProvider { get; set; } - } - + [Description("The provided rate for this method definition, from a rate definition or participant.")] + [NonNull] + public IDeliveryRateProvider? rateProvider { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeliveryMethodDefinitions. /// - [Description("An auto-generated type for paginating through multiple DeliveryMethodDefinitions.")] - public class DeliveryMethodDefinitionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeliveryMethodDefinitions.")] + public class DeliveryMethodDefinitionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeliveryMethodDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeliveryMethodDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeliveryMethodDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The number of method definitions for a zone, separated into merchant-owned and participant definitions. /// - [Description("The number of method definitions for a zone, separated into merchant-owned and participant definitions.")] - public class DeliveryMethodDefinitionCounts : GraphQLObject - { + [Description("The number of method definitions for a zone, separated into merchant-owned and participant definitions.")] + public class DeliveryMethodDefinitionCounts : GraphQLObject + { /// ///The number of participant method definitions for the specified zone. /// - [Description("The number of participant method definitions for the specified zone.")] - [NonNull] - public int? participantDefinitionsCount { get; set; } - + [Description("The number of participant method definitions for the specified zone.")] + [NonNull] + public int? participantDefinitionsCount { get; set; } + /// ///The number of merchant-defined method definitions for the specified zone. /// - [Description("The number of merchant-defined method definitions for the specified zone.")] - [NonNull] - public int? rateDefinitionsCount { get; set; } - } - + [Description("The number of merchant-defined method definitions for the specified zone.")] + [NonNull] + public int? rateDefinitionsCount { get; set; } + } + /// ///An auto-generated type which holds one DeliveryMethodDefinition and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeliveryMethodDefinition and a cursor during pagination.")] - public class DeliveryMethodDefinitionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeliveryMethodDefinition and a cursor during pagination.")] + public class DeliveryMethodDefinitionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeliveryMethodDefinitionEdge. /// - [Description("The item at the end of DeliveryMethodDefinitionEdge.")] - [NonNull] - public DeliveryMethodDefinition? node { get; set; } - } - + [Description("The item at the end of DeliveryMethodDefinitionEdge.")] + [NonNull] + public DeliveryMethodDefinition? node { get; set; } + } + /// ///The input fields for a method definition. /// - [Description("The input fields for a method definition.")] - public class DeliveryMethodDefinitionInput : GraphQLObject - { + [Description("The input fields for a method definition.")] + public class DeliveryMethodDefinitionInput : GraphQLObject + { /// ///A globally-unique ID of the method definition. Use only when updating a method definition. /// - [Description("A globally-unique ID of the method definition. Use only when updating a method definition.")] - public string? id { get; set; } - + [Description("A globally-unique ID of the method definition. Use only when updating a method definition.")] + public string? id { get; set; } + /// ///The name of the method definition. /// - [Description("The name of the method definition.")] - public string? name { get; set; } - + [Description("The name of the method definition.")] + public string? name { get; set; } + /// ///The description of the method definition. /// - [Description("The description of the method definition.")] - public string? description { get; set; } - + [Description("The description of the method definition.")] + public string? description { get; set; } + /// ///Whether to use this method definition during rate calculation. /// - [Description("Whether to use this method definition during rate calculation.")] - public bool? active { get; set; } - + [Description("Whether to use this method definition during rate calculation.")] + public bool? active { get; set; } + /// ///A rate definition to apply to the method definition. /// - [Description("A rate definition to apply to the method definition.")] - public DeliveryRateDefinitionInput? rateDefinition { get; set; } - + [Description("A rate definition to apply to the method definition.")] + public DeliveryRateDefinitionInput? rateDefinition { get; set; } + /// ///A participant to apply to the method definition. /// - [Description("A participant to apply to the method definition.")] - public DeliveryParticipantInput? participant { get; set; } - + [Description("A participant to apply to the method definition.")] + public DeliveryParticipantInput? participant { get; set; } + /// ///A list of weight conditions on the method definition. /// - [Description("A list of weight conditions on the method definition.")] - public IEnumerable? weightConditionsToCreate { get; set; } - + [Description("A list of weight conditions on the method definition.")] + public IEnumerable? weightConditionsToCreate { get; set; } + /// ///A list of price conditions on the method definition. /// - [Description("A list of price conditions on the method definition.")] - public IEnumerable? priceConditionsToCreate { get; set; } - + [Description("A list of price conditions on the method definition.")] + public IEnumerable? priceConditionsToCreate { get; set; } + /// ///A list of conditions to update on the method definition. /// - [Description("A list of conditions to update on the method definition.")] - public IEnumerable? conditionsToUpdate { get; set; } - } - + [Description("A list of conditions to update on the method definition.")] + public IEnumerable? conditionsToUpdate { get; set; } + } + /// ///The different types of method definitions to filter by. /// - [Description("The different types of method definitions to filter by.")] - public enum DeliveryMethodDefinitionType - { + [Description("The different types of method definitions to filter by.")] + public enum DeliveryMethodDefinitionType + { /// ///A static merchant-defined rate. /// - [Description("A static merchant-defined rate.")] - MERCHANT, + [Description("A static merchant-defined rate.")] + MERCHANT, /// ///A dynamic participant rate. /// - [Description("A dynamic participant rate.")] - PARTICIPANT, - } - - public static class DeliveryMethodDefinitionTypeStringValues - { - public const string MERCHANT = @"MERCHANT"; - public const string PARTICIPANT = @"PARTICIPANT"; - } - + [Description("A dynamic participant rate.")] + PARTICIPANT, + } + + public static class DeliveryMethodDefinitionTypeStringValues + { + public const string MERCHANT = @"MERCHANT"; + public const string PARTICIPANT = @"PARTICIPANT"; + } + /// ///Possible method types that a delivery method can have. /// - [Description("Possible method types that a delivery method can have.")] - public enum DeliveryMethodType - { + [Description("Possible method types that a delivery method can have.")] + public enum DeliveryMethodType + { /// ///The order is shipped. /// - [Description("The order is shipped.")] - SHIPPING, + [Description("The order is shipped.")] + SHIPPING, /// ///The order is picked up by the customer. /// - [Description("The order is picked up by the customer.")] - PICK_UP, + [Description("The order is picked up by the customer.")] + PICK_UP, /// ///Non-physical items, no delivery needed. /// - [Description("Non-physical items, no delivery needed.")] - NONE, + [Description("Non-physical items, no delivery needed.")] + NONE, /// ///In-store sale, no delivery needed. /// - [Description("In-store sale, no delivery needed.")] - RETAIL, + [Description("In-store sale, no delivery needed.")] + RETAIL, /// ///The order is delivered using a local delivery service. /// - [Description("The order is delivered using a local delivery service.")] - LOCAL, + [Description("The order is delivered using a local delivery service.")] + LOCAL, /// ///The order is delivered to a pickup point. /// - [Description("The order is delivered to a pickup point.")] - PICKUP_POINT, - } - - public static class DeliveryMethodTypeStringValues - { - public const string SHIPPING = @"SHIPPING"; - public const string PICK_UP = @"PICK_UP"; - public const string NONE = @"NONE"; - public const string RETAIL = @"RETAIL"; - public const string LOCAL = @"LOCAL"; - public const string PICKUP_POINT = @"PICKUP_POINT"; - } - + [Description("The order is delivered to a pickup point.")] + PICKUP_POINT, + } + + public static class DeliveryMethodTypeStringValues + { + public const string SHIPPING = @"SHIPPING"; + public const string PICK_UP = @"PICK_UP"; + public const string NONE = @"NONE"; + public const string RETAIL = @"RETAIL"; + public const string LOCAL = @"LOCAL"; + public const string PICKUP_POINT = @"PICKUP_POINT"; + } + /// ///Represents a delivery option generator pickup point. /// - [Description("Represents a delivery option generator pickup point.")] - public class DeliveryOptionGeneratorPickupPoint : GraphQLObject - { + [Description("Represents a delivery option generator pickup point.")] + public class DeliveryOptionGeneratorPickupPoint : GraphQLObject + { /// ///The ID of the app that owns the function. /// - [Description("The ID of the app that owns the function.")] - [NonNull] - public string? appId { get; set; } - + [Description("The ID of the app that owns the function.")] + [NonNull] + public string? appId { get; set; } + /// ///The external ID of the pickup point. /// - [Description("The external ID of the pickup point.")] - [NonNull] - public string? externalId { get; set; } - + [Description("The external ID of the pickup point.")] + [NonNull] + public string? externalId { get; set; } + /// ///The ID of the pickup point delivery option generator function. /// - [Description("The ID of the pickup point delivery option generator function.")] - [NonNull] - public string? functionId { get; set; } - } - + [Description("The ID of the pickup point delivery option generator function.")] + [NonNull] + public string? functionId { get; set; } + } + /// ///A participant defines carrier-calculated rates for shipping services ///with a possible merchant-defined fixed fee or a percentage-of-rate fee. /// - [Description("A participant defines carrier-calculated rates for shipping services\nwith a possible merchant-defined fixed fee or a percentage-of-rate fee.")] - public class DeliveryParticipant : GraphQLObject, INode, IDeliveryRateProvider - { + [Description("A participant defines carrier-calculated rates for shipping services\nwith a possible merchant-defined fixed fee or a percentage-of-rate fee.")] + public class DeliveryParticipant : GraphQLObject, INode, IDeliveryRateProvider + { /// ///Whether to display new shipping services automatically to the customer when the service becomes available. /// - [Description("Whether to display new shipping services automatically to the customer when the service becomes available.")] - [NonNull] - public bool? adaptToNewServicesFlag { get; set; } - + [Description("Whether to display new shipping services automatically to the customer when the service becomes available.")] + [NonNull] + public bool? adaptToNewServicesFlag { get; set; } + /// ///The carrier used for this participant. /// - [Description("The carrier used for this participant.")] - [NonNull] - public DeliveryCarrierService? carrierService { get; set; } - + [Description("The carrier used for this participant.")] + [NonNull] + public DeliveryCarrierService? carrierService { get; set; } + /// ///The merchant-defined fixed fee for this participant. /// - [Description("The merchant-defined fixed fee for this participant.")] - public MoneyV2? fixedFee { get; set; } - + [Description("The merchant-defined fixed fee for this participant.")] + public MoneyV2? fixedFee { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The carrier-specific services offered by the participant, and whether each service is active. /// - [Description("The carrier-specific services offered by the participant, and whether each service is active.")] - [NonNull] - public IEnumerable? participantServices { get; set; } - + [Description("The carrier-specific services offered by the participant, and whether each service is active.")] + [NonNull] + public IEnumerable? participantServices { get; set; } + /// ///The merchant-defined percentage-of-rate fee for this participant. /// - [Description("The merchant-defined percentage-of-rate fee for this participant.")] - [NonNull] - public decimal? percentageOfRateFee { get; set; } - } - + [Description("The merchant-defined percentage-of-rate fee for this participant.")] + [NonNull] + public decimal? percentageOfRateFee { get; set; } + } + /// ///The input fields for a participant. /// - [Description("The input fields for a participant.")] - public class DeliveryParticipantInput : GraphQLObject - { + [Description("The input fields for a participant.")] + public class DeliveryParticipantInput : GraphQLObject + { /// ///The ID of the participant. /// - [Description("The ID of the participant.")] - public string? id { get; set; } - + [Description("The ID of the participant.")] + public string? id { get; set; } + /// ///The ID of the carrier service for this participant. /// - [Description("The ID of the carrier service for this participant.")] - public string? carrierServiceId { get; set; } - + [Description("The ID of the carrier service for this participant.")] + public string? carrierServiceId { get; set; } + /// ///The fixed feed that's defined by the merchant for this participant. /// - [Description("The fixed feed that's defined by the merchant for this participant.")] - public MoneyInput? fixedFee { get; set; } - + [Description("The fixed feed that's defined by the merchant for this participant.")] + public MoneyInput? fixedFee { get; set; } + /// ///The merchant-defined percentage-of-rate fee for this participant. /// - [Description("The merchant-defined percentage-of-rate fee for this participant.")] - public decimal? percentageOfRateFee { get; set; } - + [Description("The merchant-defined percentage-of-rate fee for this participant.")] + public decimal? percentageOfRateFee { get; set; } + /// ///The list of shipping services offered by the participant. /// - [Description("The list of shipping services offered by the participant.")] - public IEnumerable? participantServices { get; set; } - + [Description("The list of shipping services offered by the participant.")] + public IEnumerable? participantServices { get; set; } + /// ///Whether to automatically display new shipping services to the customer when a service becomes available. /// - [Description("Whether to automatically display new shipping services to the customer when a service becomes available.")] - public bool? adaptToNewServices { get; set; } - } - + [Description("Whether to automatically display new shipping services to the customer when a service becomes available.")] + public bool? adaptToNewServices { get; set; } + } + /// ///A mail service provided by the participant. /// - [Description("A mail service provided by the participant.")] - public class DeliveryParticipantService : GraphQLObject - { + [Description("A mail service provided by the participant.")] + public class DeliveryParticipantService : GraphQLObject + { /// ///Whether the service is active. /// - [Description("Whether the service is active.")] - [NonNull] - public bool? active { get; set; } - + [Description("Whether the service is active.")] + [NonNull] + public bool? active { get; set; } + /// ///The name of the service. /// - [Description("The name of the service.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the service.")] + [NonNull] + public string? name { get; set; } + } + /// ///The input fields for a shipping service provided by a participant. /// - [Description("The input fields for a shipping service provided by a participant.")] - public class DeliveryParticipantServiceInput : GraphQLObject - { + [Description("The input fields for a shipping service provided by a participant.")] + public class DeliveryParticipantServiceInput : GraphQLObject + { /// ///The name of the service. /// - [Description("The name of the service.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the service.")] + [NonNull] + public string? name { get; set; } + /// ///Whether the service is active. /// - [Description("Whether the service is active.")] - [NonNull] - public bool? active { get; set; } - } - + [Description("Whether the service is active.")] + [NonNull] + public bool? active { get; set; } + } + /// ///The input fields for a price-based condition of a delivery method definition. /// - [Description("The input fields for a price-based condition of a delivery method definition.")] - public class DeliveryPriceConditionInput : GraphQLObject - { + [Description("The input fields for a price-based condition of a delivery method definition.")] + public class DeliveryPriceConditionInput : GraphQLObject + { /// ///The monetary value to compare the price of an order to. /// - [Description("The monetary value to compare the price of an order to.")] - public MoneyInput? criteria { get; set; } - + [Description("The monetary value to compare the price of an order to.")] + public MoneyInput? criteria { get; set; } + /// ///The operator to use for comparison. /// - [Description("The operator to use for comparison.")] - [EnumType(typeof(DeliveryConditionOperator))] - public string? @operator { get; set; } - } - + [Description("The operator to use for comparison.")] + [EnumType(typeof(DeliveryConditionOperator))] + public string? @operator { get; set; } + } + /// ///How many product variants are in a profile. This count is capped at 500. /// - [Description("How many product variants are in a profile. This count is capped at 500.")] - public class DeliveryProductVariantsCount : GraphQLObject - { + [Description("How many product variants are in a profile. This count is capped at 500.")] + public class DeliveryProductVariantsCount : GraphQLObject + { /// ///Whether the count has reached the cap of 500. /// - [Description("Whether the count has reached the cap of 500.")] - [NonNull] - public bool? capped { get; set; } - + [Description("Whether the count has reached the cap of 500.")] + [NonNull] + public bool? capped { get; set; } + /// ///The product variant count. /// - [Description("The product variant count.")] - [NonNull] - public int? count { get; set; } - } - + [Description("The product variant count.")] + [NonNull] + public int? count { get; set; } + } + /// ///A shipping profile. In Shopify, a shipping profile is a set of shipping rates scoped to a set of products or variants that can be shipped from selected locations to zones. Learn more about [building with delivery profiles](https://shopify.dev/apps/build/purchase-options/deferred/delivery-and-deferment/build-delivery-profiles). /// - [Description("A shipping profile. In Shopify, a shipping profile is a set of shipping rates scoped to a set of products or variants that can be shipped from selected locations to zones. Learn more about [building with delivery profiles](https://shopify.dev/apps/build/purchase-options/deferred/delivery-and-deferment/build-delivery-profiles).")] - public class DeliveryProfile : GraphQLObject, INode - { + [Description("A shipping profile. In Shopify, a shipping profile is a set of shipping rates scoped to a set of products or variants that can be shipped from selected locations to zones. Learn more about [building with delivery profiles](https://shopify.dev/apps/build/purchase-options/deferred/delivery-and-deferment/build-delivery-profiles).")] + public class DeliveryProfile : GraphQLObject, INode + { /// ///The number of active shipping rates for the profile. /// - [Description("The number of active shipping rates for the profile.")] - [NonNull] - public int? activeMethodDefinitionsCount { get; set; } - + [Description("The number of active shipping rates for the profile.")] + [NonNull] + public int? activeMethodDefinitionsCount { get; set; } + /// ///Whether this is the default profile. /// - [Description("Whether this is the default profile.")] - [NonNull] - public bool? @default { get; set; } - + [Description("Whether this is the default profile.")] + [NonNull] + public bool? @default { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether this shop has enabled legacy compatibility mode for delivery profiles. /// - [Description("Whether this shop has enabled legacy compatibility mode for delivery profiles.")] - [NonNull] - public bool? legacyMode { get; set; } - + [Description("Whether this shop has enabled legacy compatibility mode for delivery profiles.")] + [NonNull] + public bool? legacyMode { get; set; } + /// ///The number of locations without rates defined. /// - [Description("The number of locations without rates defined.")] - [NonNull] - public int? locationsWithoutRatesCount { get; set; } - + [Description("The number of locations without rates defined.")] + [NonNull] + public int? locationsWithoutRatesCount { get; set; } + /// ///The name of the delivery profile. /// - [Description("The name of the delivery profile.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the delivery profile.")] + [NonNull] + public string? name { get; set; } + /// ///The number of active origin locations for the profile. /// - [Description("The number of active origin locations for the profile.")] - [NonNull] - public int? originLocationCount { get; set; } - + [Description("The number of active origin locations for the profile.")] + [NonNull] + public int? originLocationCount { get; set; } + /// ///How many product variants are in this profile. /// - [Description("How many product variants are in this profile.")] - public Count? productVariantsCount { get; set; } - + [Description("How many product variants are in this profile.")] + public Count? productVariantsCount { get; set; } + /// ///How many product variants are in this profile. /// - [Description("How many product variants are in this profile.")] - [Obsolete("Use `productVariantsCount` instead.")] - [NonNull] - public DeliveryProductVariantsCount? productVariantsCountV2 { get; set; } - + [Description("How many product variants are in this profile.")] + [Obsolete("Use `productVariantsCount` instead.")] + [NonNull] + public DeliveryProductVariantsCount? productVariantsCountV2 { get; set; } + /// ///The products and variants associated with this profile. /// - [Description("The products and variants associated with this profile.")] - [NonNull] - public DeliveryProfileItemConnection? profileItems { get; set; } - + [Description("The products and variants associated with this profile.")] + [NonNull] + public DeliveryProfileItemConnection? profileItems { get; set; } + /// ///The location groups and associated zones using this profile. /// - [Description("The location groups and associated zones using this profile.")] - [NonNull] - public IEnumerable? profileLocationGroups { get; set; } - + [Description("The location groups and associated zones using this profile.")] + [NonNull] + public IEnumerable? profileLocationGroups { get; set; } + /// ///Selling plan groups associated with the specified delivery profile. /// - [Description("Selling plan groups associated with the specified delivery profile.")] - [NonNull] - public SellingPlanGroupConnection? sellingPlanGroups { get; set; } - + [Description("Selling plan groups associated with the specified delivery profile.")] + [NonNull] + public SellingPlanGroupConnection? sellingPlanGroups { get; set; } + /// ///List of locations that haven't been assigned to a location group for this profile. /// - [Description("List of locations that haven't been assigned to a location group for this profile.")] - [NonNull] - public IEnumerable? unassignedLocations { get; set; } - + [Description("List of locations that haven't been assigned to a location group for this profile.")] + [NonNull] + public IEnumerable? unassignedLocations { get; set; } + /// ///List of locations that have not been assigned to a location group for this profile. /// - [Description("List of locations that have not been assigned to a location group for this profile.")] - [NonNull] - public LocationConnection? unassignedLocationsPaginated { get; set; } - + [Description("List of locations that have not been assigned to a location group for this profile.")] + [NonNull] + public LocationConnection? unassignedLocationsPaginated { get; set; } + /// ///The version of the delivery profile. /// - [Description("The version of the delivery profile.")] - [NonNull] - public int? version { get; set; } - + [Description("The version of the delivery profile.")] + [NonNull] + public int? version { get; set; } + /// ///The number of countries with active rates to deliver to. /// - [Description("The number of countries with active rates to deliver to.")] - [NonNull] - public int? zoneCountryCount { get; set; } - } - + [Description("The number of countries with active rates to deliver to.")] + [NonNull] + public int? zoneCountryCount { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeliveryProfiles. /// - [Description("An auto-generated type for paginating through multiple DeliveryProfiles.")] - public class DeliveryProfileConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeliveryProfiles.")] + public class DeliveryProfileConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeliveryProfileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeliveryProfileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeliveryProfileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `deliveryProfileCreate` mutation. /// - [Description("Return type for `deliveryProfileCreate` mutation.")] - public class DeliveryProfileCreatePayload : GraphQLObject - { + [Description("Return type for `deliveryProfileCreate` mutation.")] + public class DeliveryProfileCreatePayload : GraphQLObject + { /// ///The delivery profile that was created. /// - [Description("The delivery profile that was created.")] - public DeliveryProfile? profile { get; set; } - + [Description("The delivery profile that was created.")] + public DeliveryProfile? profile { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one DeliveryProfile and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeliveryProfile and a cursor during pagination.")] - public class DeliveryProfileEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeliveryProfile and a cursor during pagination.")] + public class DeliveryProfileEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeliveryProfileEdge. /// - [Description("The item at the end of DeliveryProfileEdge.")] - [NonNull] - public DeliveryProfile? node { get; set; } - } - + [Description("The item at the end of DeliveryProfileEdge.")] + [NonNull] + public DeliveryProfile? node { get; set; } + } + /// ///The input fields for a delivery profile. /// - [Description("The input fields for a delivery profile.")] - public class DeliveryProfileInput : GraphQLObject - { + [Description("The input fields for a delivery profile.")] + public class DeliveryProfileInput : GraphQLObject + { /// ///The name of the delivery profile. /// - [Description("The name of the delivery profile.")] - public string? name { get; set; } - + [Description("The name of the delivery profile.")] + public string? name { get; set; } + /// ///The list of location groups associated with the delivery profile. /// - [Description("The list of location groups associated with the delivery profile.")] - public IEnumerable? profileLocationGroups { get; set; } - + [Description("The list of location groups associated with the delivery profile.")] + public IEnumerable? profileLocationGroups { get; set; } + /// ///The list of location groups to be created in the delivery profile. /// ///**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request. /// - [Description("The list of location groups to be created in the delivery profile.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request.")] - public IEnumerable? locationGroupsToCreate { get; set; } - + [Description("The list of location groups to be created in the delivery profile.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request.")] + public IEnumerable? locationGroupsToCreate { get; set; } + /// ///The list of location groups to be updated in the delivery profile. /// ///**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request. /// - [Description("The list of location groups to be updated in the delivery profile.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request.")] - public IEnumerable? locationGroupsToUpdate { get; set; } - + [Description("The list of location groups to be updated in the delivery profile.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 location groups per each request.")] + public IEnumerable? locationGroupsToUpdate { get; set; } + /// ///The list of location groups to be deleted from the delivery profile. /// - [Description("The list of location groups to be deleted from the delivery profile.")] - public IEnumerable? locationGroupsToDelete { get; set; } - + [Description("The list of location groups to be deleted from the delivery profile.")] + public IEnumerable? locationGroupsToDelete { get; set; } + /// ///The list of product variant IDs to be associated with the delivery profile. /// - [Description("The list of product variant IDs to be associated with the delivery profile.")] - public IEnumerable? variantsToAssociate { get; set; } - + [Description("The list of product variant IDs to be associated with the delivery profile.")] + public IEnumerable? variantsToAssociate { get; set; } + /// ///The list of product variant IDs to be dissociated from the delivery profile. ///The dissociated product variants are moved back to the default delivery profile. /// - [Description("The list of product variant IDs to be dissociated from the delivery profile.\nThe dissociated product variants are moved back to the default delivery profile.")] - public IEnumerable? variantsToDissociate { get; set; } - + [Description("The list of product variant IDs to be dissociated from the delivery profile.\nThe dissociated product variants are moved back to the default delivery profile.")] + public IEnumerable? variantsToDissociate { get; set; } + /// ///The list of zone IDs to delete. /// - [Description("The list of zone IDs to delete.")] - public IEnumerable? zonesToDelete { get; set; } - + [Description("The list of zone IDs to delete.")] + public IEnumerable? zonesToDelete { get; set; } + /// ///The list of method definition IDs to delete. /// - [Description("The list of method definition IDs to delete.")] - public IEnumerable? methodDefinitionsToDelete { get; set; } - + [Description("The list of method definition IDs to delete.")] + public IEnumerable? methodDefinitionsToDelete { get; set; } + /// ///The list of condition IDs to delete. /// - [Description("The list of condition IDs to delete.")] - public IEnumerable? conditionsToDelete { get; set; } - + [Description("The list of condition IDs to delete.")] + public IEnumerable? conditionsToDelete { get; set; } + /// ///The list of selling plan groups to be associated with the delivery profile. /// - [Description("The list of selling plan groups to be associated with the delivery profile.")] - public IEnumerable? sellingPlanGroupsToAssociate { get; set; } - + [Description("The list of selling plan groups to be associated with the delivery profile.")] + public IEnumerable? sellingPlanGroupsToAssociate { get; set; } + /// ///The list of selling plan groups to be dissociated with the delivery profile. /// - [Description("The list of selling plan groups to be dissociated with the delivery profile.")] - public IEnumerable? sellingPlanGroupsToDissociate { get; set; } - } - + [Description("The list of selling plan groups to be dissociated with the delivery profile.")] + public IEnumerable? sellingPlanGroupsToDissociate { get; set; } + } + /// ///A product and the subset of associated variants that are part of this delivery profile. /// - [Description("A product and the subset of associated variants that are part of this delivery profile.")] - public class DeliveryProfileItem : GraphQLObject, INode - { + [Description("A product and the subset of associated variants that are part of this delivery profile.")] + public class DeliveryProfileItem : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A product associated with this profile. /// - [Description("A product associated with this profile.")] - [NonNull] - public Product? product { get; set; } - + [Description("A product associated with this profile.")] + [NonNull] + public Product? product { get; set; } + /// ///The product variants associated with this delivery profile. /// - [Description("The product variants associated with this delivery profile.")] - [NonNull] - public ProductVariantConnection? variants { get; set; } - } - + [Description("The product variants associated with this delivery profile.")] + [NonNull] + public ProductVariantConnection? variants { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeliveryProfileItems. /// - [Description("An auto-generated type for paginating through multiple DeliveryProfileItems.")] - public class DeliveryProfileItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeliveryProfileItems.")] + public class DeliveryProfileItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeliveryProfileItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeliveryProfileItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeliveryProfileItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DeliveryProfileItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeliveryProfileItem and a cursor during pagination.")] - public class DeliveryProfileItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeliveryProfileItem and a cursor during pagination.")] + public class DeliveryProfileItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeliveryProfileItemEdge. /// - [Description("The item at the end of DeliveryProfileItemEdge.")] - [NonNull] - public DeliveryProfileItem? node { get; set; } - } - + [Description("The item at the end of DeliveryProfileItemEdge.")] + [NonNull] + public DeliveryProfileItem? node { get; set; } + } + /// ///Links a location group with zones. Both are associated to a delivery profile. /// - [Description("Links a location group with zones. Both are associated to a delivery profile.")] - public class DeliveryProfileLocationGroup : GraphQLObject - { + [Description("Links a location group with zones. Both are associated to a delivery profile.")] + public class DeliveryProfileLocationGroup : GraphQLObject + { /// ///The countries already selected in any zone for the specified location group. /// - [Description("The countries already selected in any zone for the specified location group.")] - [NonNull] - public IEnumerable? countriesInAnyZone { get; set; } - + [Description("The countries already selected in any zone for the specified location group.")] + [NonNull] + public IEnumerable? countriesInAnyZone { get; set; } + /// ///The collection of locations that make up the specified location group. /// - [Description("The collection of locations that make up the specified location group.")] - [NonNull] - public DeliveryLocationGroup? locationGroup { get; set; } - + [Description("The collection of locations that make up the specified location group.")] + [NonNull] + public DeliveryLocationGroup? locationGroup { get; set; } + /// ///The applicable zones associated to the specified location group. /// - [Description("The applicable zones associated to the specified location group.")] - [NonNull] - public DeliveryLocationGroupZoneConnection? locationGroupZones { get; set; } - } - + [Description("The applicable zones associated to the specified location group.")] + [NonNull] + public DeliveryLocationGroupZoneConnection? locationGroupZones { get; set; } + } + /// ///The input fields for a location group associated to a delivery profile. /// - [Description("The input fields for a location group associated to a delivery profile.")] - public class DeliveryProfileLocationGroupInput : GraphQLObject - { + [Description("The input fields for a location group associated to a delivery profile.")] + public class DeliveryProfileLocationGroupInput : GraphQLObject + { /// ///The globally-unique ID of the delivery profile location group. /// - [Description("The globally-unique ID of the delivery profile location group.")] - public string? id { get; set; } - + [Description("The globally-unique ID of the delivery profile location group.")] + public string? id { get; set; } + /// ///The list of location IDs to be moved to this location group. /// - [Description("The list of location IDs to be moved to this location group.")] - public IEnumerable? locations { get; set; } - + [Description("The list of location IDs to be moved to this location group.")] + public IEnumerable? locations { get; set; } + /// ///The list of location IDs to be added to this location group. /// ///**Note:** due to API input array limits, a maximum of 250 items can be sent per each request. /// - [Description("The list of location IDs to be added to this location group.\n\n**Note:** due to API input array limits, a maximum of 250 items can be sent per each request.")] - public IEnumerable? locationsToAdd { get; set; } - + [Description("The list of location IDs to be added to this location group.\n\n**Note:** due to API input array limits, a maximum of 250 items can be sent per each request.")] + public IEnumerable? locationsToAdd { get; set; } + /// ///The list of location IDs to be removed from this location group. /// ///**Note:** due to API input array limits, a maximum of 250 items can be sent per each request. /// - [Description("The list of location IDs to be removed from this location group.\n\n**Note:** due to API input array limits, a maximum of 250 items can be sent per each request.")] - public IEnumerable? locationsToRemove { get; set; } - + [Description("The list of location IDs to be removed from this location group.\n\n**Note:** due to API input array limits, a maximum of 250 items can be sent per each request.")] + public IEnumerable? locationsToRemove { get; set; } + /// ///The list of location group zones to create. /// ///**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request. /// - [Description("The list of location group zones to create.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request.")] - public IEnumerable? zonesToCreate { get; set; } - + [Description("The list of location group zones to create.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request.")] + public IEnumerable? zonesToCreate { get; set; } + /// ///The list of location group zones to update. /// ///**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request. /// - [Description("The list of location group zones to update.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request.")] - public IEnumerable? zonesToUpdate { get; set; } - } - + [Description("The list of location group zones to update.\n\n**Note:** due to the potential complexity of the nested data, it is recommended to send no more than 5 zones per each request.")] + public IEnumerable? zonesToUpdate { get; set; } + } + /// ///Return type for `deliveryProfileRemove` mutation. /// - [Description("Return type for `deliveryProfileRemove` mutation.")] - public class DeliveryProfileRemovePayload : GraphQLObject - { + [Description("Return type for `deliveryProfileRemove` mutation.")] + public class DeliveryProfileRemovePayload : GraphQLObject + { /// ///The delivery profile deletion job triggered by the mutation. /// - [Description("The delivery profile deletion job triggered by the mutation.")] - public Job? job { get; set; } - + [Description("The delivery profile deletion job triggered by the mutation.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of valid sort keys for the DeliveryProfile query. /// - [Description("The set of valid sort keys for the DeliveryProfile query.")] - public enum DeliveryProfileSortKeys - { + [Description("The set of valid sort keys for the DeliveryProfile query.")] + public enum DeliveryProfileSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class DeliveryProfileSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class DeliveryProfileSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Return type for `deliveryProfileUpdate` mutation. /// - [Description("Return type for `deliveryProfileUpdate` mutation.")] - public class DeliveryProfileUpdatePayload : GraphQLObject - { + [Description("Return type for `deliveryProfileUpdate` mutation.")] + public class DeliveryProfileUpdatePayload : GraphQLObject + { /// ///The delivery profile that was updated. /// - [Description("The delivery profile that was updated.")] - public DeliveryProfile? profile { get; set; } - + [Description("The delivery profile that was updated.")] + public DeliveryProfile? profile { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Returns enabled delivery promise participants. /// - [Description("Returns enabled delivery promise participants.")] - public class DeliveryPromiseParticipant : GraphQLObject, INode - { + [Description("Returns enabled delivery promise participants.")] + public class DeliveryPromiseParticipant : GraphQLObject, INode + { /// ///The branded promise handle of the promise participant. /// - [Description("The branded promise handle of the promise participant.")] - [NonNull] - public string? brandedPromiseHandle { get; set; } - + [Description("The branded promise handle of the promise participant.")] + [NonNull] + public string? brandedPromiseHandle { get; set; } + /// ///The ID of the promise participant. /// - [Description("The ID of the promise participant.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the promise participant.")] + [NonNull] + public string? id { get; set; } + /// ///The resource that the participant is attached to. /// - [Description("The resource that the participant is attached to.")] - public IDeliveryPromiseParticipantOwner? owner { get; set; } - + [Description("The resource that the participant is attached to.")] + public IDeliveryPromiseParticipantOwner? owner { get; set; } + /// ///The owner type of the participant. /// - [Description("The owner type of the participant.")] - [NonNull] - [EnumType(typeof(DeliveryPromiseParticipantOwnerType))] - public string? ownerType { get; set; } - } - + [Description("The owner type of the participant.")] + [NonNull] + [EnumType(typeof(DeliveryPromiseParticipantOwnerType))] + public string? ownerType { get; set; } + } + /// ///An auto-generated type for paginating through multiple DeliveryPromiseParticipants. /// - [Description("An auto-generated type for paginating through multiple DeliveryPromiseParticipants.")] - public class DeliveryPromiseParticipantConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DeliveryPromiseParticipants.")] + public class DeliveryPromiseParticipantConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DeliveryPromiseParticipantEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DeliveryPromiseParticipantEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DeliveryPromiseParticipantEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DeliveryPromiseParticipant and a cursor during pagination. /// - [Description("An auto-generated type which holds one DeliveryPromiseParticipant and a cursor during pagination.")] - public class DeliveryPromiseParticipantEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DeliveryPromiseParticipant and a cursor during pagination.")] + public class DeliveryPromiseParticipantEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DeliveryPromiseParticipantEdge. /// - [Description("The item at the end of DeliveryPromiseParticipantEdge.")] - [NonNull] - public DeliveryPromiseParticipant? node { get; set; } - } - + [Description("The item at the end of DeliveryPromiseParticipantEdge.")] + [NonNull] + public DeliveryPromiseParticipant? node { get; set; } + } + /// ///The object that the participant references. /// - [Description("The object that the participant references.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - public interface IDeliveryPromiseParticipantOwner : IGraphQLObject - { - public ProductVariant? AsProductVariant() => this as ProductVariant; + [Description("The object that the participant references.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + public interface IDeliveryPromiseParticipantOwner : IGraphQLObject + { + public ProductVariant? AsProductVariant() => this as ProductVariant; /// ///Whether the product variant is available for sale. /// - [Description("Whether the product variant is available for sale.")] - [NonNull] - public bool? availableForSale { get; set; } - + [Description("Whether the product variant is available for sale.")] + [NonNull] + public bool? availableForSale { get; set; } + /// ///The value of the barcode associated with the product. /// - [Description("The value of the barcode associated with the product.")] - public string? barcode { get; set; } - + [Description("The value of the barcode associated with the product.")] + public string? barcode { get; set; } + /// ///The compare-at price of the variant in the default shop currency. /// - [Description("The compare-at price of the variant in the default shop currency.")] - public decimal? compareAtPrice { get; set; } - + [Description("The compare-at price of the variant in the default shop currency.")] + public decimal? compareAtPrice { get; set; } + /// ///The pricing that applies for a customer in a given context. As of API version 2025-04, only active markets are considered in the price resolution. /// - [Description("The pricing that applies for a customer in a given context. As of API version 2025-04, only active markets are considered in the price resolution.")] - [NonNull] - public ProductVariantContextualPricing? contextualPricing { get; set; } - + [Description("The pricing that applies for a customer in a given context. As of API version 2025-04, only active markets are considered in the price resolution.")] + [NonNull] + public ProductVariantContextualPricing? contextualPricing { get; set; } + /// ///The date and time when the variant was created. /// - [Description("The date and time when the variant was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the variant was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The [delivery profile](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryProfile) for the variant. /// - [Description("The [delivery profile](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryProfile) for the variant.")] - public DeliveryProfile? deliveryProfile { get; set; } - + [Description("The [delivery profile](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryProfile) for the variant.")] + public DeliveryProfile? deliveryProfile { get; set; } + /// ///The delivery promise participants for the product variant. /// - [Description("The delivery promise participants for the product variant.")] - [NonNull] - public IEnumerable? deliveryPromiseParticipants { get; set; } - + [Description("The delivery promise participants for the product variant.")] + [NonNull] + public IEnumerable? deliveryPromiseParticipants { get; set; } + /// ///Display name of the variant, based on product's title + variant's title. /// - [Description("Display name of the variant, based on product's title + variant's title.")] - [NonNull] - public string? displayName { get; set; } - + [Description("Display name of the variant, based on product's title + variant's title.")] + [NonNull] + public string? displayName { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The featured image for the variant. /// - [Description("The featured image for the variant.")] - [Obsolete("Use `media` instead.")] - public Image? image { get; set; } - + [Description("The featured image for the variant.")] + [Obsolete("Use `media` instead.")] + public Image? image { get; set; } + /// ///The inventory item, which is used to query for inventory information. /// - [Description("The inventory item, which is used to query for inventory information.")] - [NonNull] - public InventoryItem? inventoryItem { get; set; } - + [Description("The inventory item, which is used to query for inventory information.")] + [NonNull] + public InventoryItem? inventoryItem { get; set; } + /// ///Whether customers are allowed to place an order for the product variant when it's out of stock. /// - [Description("Whether customers are allowed to place an order for the product variant when it's out of stock.")] - [NonNull] - [EnumType(typeof(ProductVariantInventoryPolicy))] - public string? inventoryPolicy { get; set; } - + [Description("Whether customers are allowed to place an order for the product variant when it's out of stock.")] + [NonNull] + [EnumType(typeof(ProductVariantInventoryPolicy))] + public string? inventoryPolicy { get; set; } + /// ///The total sellable quantity of the variant. /// - [Description("The total sellable quantity of the variant.")] - public int? inventoryQuantity { get; set; } - + [Description("The total sellable quantity of the variant.")] + public int? inventoryQuantity { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The media associated with the product variant. /// - [Description("The media associated with the product variant.")] - [NonNull] - public MediaConnection? media { get; set; } - + [Description("The media associated with the product variant.")] + [NonNull] + public MediaConnection? media { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The order of the product variant in the list of product variants. The first position in the list is 1. /// - [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] - [NonNull] - public int? position { get; set; } - + [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] + [NonNull] + public int? position { get; set; } + /// ///List of prices and compare-at prices in the presentment currencies for this shop. /// - [Description("List of prices and compare-at prices in the presentment currencies for this shop.")] - [Obsolete("Use `contextualPricing` instead.")] - [NonNull] - public ProductVariantPricePairConnection? presentmentPrices { get; set; } - + [Description("List of prices and compare-at prices in the presentment currencies for this shop.")] + [Obsolete("Use `contextualPricing` instead.")] + [NonNull] + public ProductVariantPricePairConnection? presentmentPrices { get; set; } + /// ///The price of the product variant in the default shop currency. /// - [Description("The price of the product variant in the default shop currency.")] - [NonNull] - public decimal? price { get; set; } - + [Description("The price of the product variant in the default shop currency.")] + [NonNull] + public decimal? price { get; set; } + /// ///The product that this variant belongs to. /// - [Description("The product that this variant belongs to.")] - [NonNull] - public Product? product { get; set; } - + [Description("The product that this variant belongs to.")] + [NonNull] + public Product? product { get; set; } + /// ///A list of products that have product variants that contain this variant as a product component. /// - [Description("A list of products that have product variants that contain this variant as a product component.")] - [NonNull] - public ProductConnection? productParents { get; set; } - + [Description("A list of products that have product variants that contain this variant as a product component.")] + [NonNull] + public ProductConnection? productParents { get; set; } + /// ///A list of the product variant components. /// - [Description("A list of the product variant components.")] - [NonNull] - public ProductVariantComponentConnection? productVariantComponents { get; set; } - + [Description("A list of the product variant components.")] + [NonNull] + public ProductVariantComponentConnection? productVariantComponents { get; set; } + /// ///Whether a product variant requires components. The default value is `false`. ///If `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted ///from channels that don't support bundles. /// - [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted\nfrom channels that don't support bundles.")] - [NonNull] - public bool? requiresComponents { get; set; } - + [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted\nfrom channels that don't support bundles.")] + [NonNull] + public bool? requiresComponents { get; set; } + /// ///List of product options applied to the variant. /// - [Description("List of product options applied to the variant.")] - [NonNull] - public IEnumerable? selectedOptions { get; set; } - + [Description("List of product options applied to the variant.")] + [NonNull] + public IEnumerable? selectedOptions { get; set; } + /// ///The total sellable quantity of the variant for online channels. ///This doesn't represent the total available inventory or capture ///[limitations based on customer location](https://help.shopify.com/manual/markets/inventory_and_fulfillment). /// - [Description("The total sellable quantity of the variant for online channels.\nThis doesn't represent the total available inventory or capture\n[limitations based on customer location](https://help.shopify.com/manual/markets/inventory_and_fulfillment).")] - [NonNull] - public int? sellableOnlineQuantity { get; set; } - + [Description("The total sellable quantity of the variant for online channels.\nThis doesn't represent the total available inventory or capture\n[limitations based on customer location](https://help.shopify.com/manual/markets/inventory_and_fulfillment).")] + [NonNull] + public int? sellableOnlineQuantity { get; set; } + /// ///Count of selling plan groups associated with the product variant. /// - [Description("Count of selling plan groups associated with the product variant.")] - [Obsolete("Use `sellingPlanGroupsCount` instead.")] - [NonNull] - public int? sellingPlanGroupCount { get; set; } - + [Description("Count of selling plan groups associated with the product variant.")] + [Obsolete("Use `sellingPlanGroupsCount` instead.")] + [NonNull] + public int? sellingPlanGroupCount { get; set; } + /// ///A list of all selling plan groups defined in the current shop associated with the product variant. /// - [Description("A list of all selling plan groups defined in the current shop associated with the product variant.")] - [NonNull] - public SellingPlanGroupConnection? sellingPlanGroups { get; set; } - + [Description("A list of all selling plan groups defined in the current shop associated with the product variant.")] + [NonNull] + public SellingPlanGroupConnection? sellingPlanGroups { get; set; } + /// ///Count of selling plan groups associated with the product variant. /// - [Description("Count of selling plan groups associated with the product variant.")] - public Count? sellingPlanGroupsCount { get; set; } - + [Description("Count of selling plan groups associated with the product variant.")] + public Count? sellingPlanGroupsCount { get; set; } + /// ///Whether to show the unit price for this product variant. /// - [Description("Whether to show the unit price for this product variant.")] - [NonNull] - public bool? showUnitPrice { get; set; } - + [Description("Whether to show the unit price for this product variant.")] + [NonNull] + public bool? showUnitPrice { get; set; } + /// ///A case-sensitive identifier for the product variant in the shop. ///Required in order to connect to a fulfillment service. /// - [Description("A case-sensitive identifier for the product variant in the shop.\nRequired in order to connect to a fulfillment service.")] - public string? sku { get; set; } - + [Description("A case-sensitive identifier for the product variant in the shop.\nRequired in order to connect to a fulfillment service.")] + public string? sku { get; set; } + /// ///The Storefront GraphQL API ID of the `ProductVariant`. /// ///The Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead. /// - [Description("The Storefront GraphQL API ID of the `ProductVariant`.\n\nThe Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] - [Obsolete("Use `id` instead.")] - [NonNull] - public string? storefrontId { get; set; } - + [Description("The Storefront GraphQL API ID of the `ProductVariant`.\n\nThe Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] + [Obsolete("Use `id` instead.")] + [NonNull] + public string? storefrontId { get; set; } + /// ///Avalara tax code for the product variant. Applies only to the stores that have the Avalara AvaTax app installed. /// - [Description("Avalara tax code for the product variant. Applies only to the stores that have the Avalara AvaTax app installed.")] - [Obsolete("This field should no longer be used in new integrations. This field will not be available in future API versions.")] - public string? taxCode { get; set; } - + [Description("Avalara tax code for the product variant. Applies only to the stores that have the Avalara AvaTax app installed.")] + [Obsolete("This field should no longer be used in new integrations. This field will not be available in future API versions.")] + public string? taxCode { get; set; } + /// ///Whether a tax is charged when the product variant is sold. /// - [Description("Whether a tax is charged when the product variant is sold.")] - [NonNull] - public bool? taxable { get; set; } - + [Description("Whether a tax is charged when the product variant is sold.")] + [NonNull] + public bool? taxable { get; set; } + /// ///The title of the product variant. /// - [Description("The title of the product variant.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product variant.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The unit price value for the variant based on the variant measurement. /// - [Description("The unit price value for the variant based on the variant measurement.")] - public MoneyV2? unitPrice { get; set; } - + [Description("The unit price value for the variant based on the variant measurement.")] + public MoneyV2? unitPrice { get; set; } + /// ///The unit price measurement for the variant. /// - [Description("The unit price measurement for the variant.")] - public UnitPriceMeasurement? unitPriceMeasurement { get; set; } - + [Description("The unit price measurement for the variant.")] + public UnitPriceMeasurement? unitPriceMeasurement { get; set; } + /// ///The date and time (ISO 8601 format) when the product variant was last modified. /// - [Description("The date and time (ISO 8601 format) when the product variant was last modified.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time (ISO 8601 format) when the product variant was last modified.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///The type of object that the participant is attached to. /// - [Description("The type of object that the participant is attached to.")] - public enum DeliveryPromiseParticipantOwnerType - { + [Description("The type of object that the participant is attached to.")] + public enum DeliveryPromiseParticipantOwnerType + { /// ///A product variant. /// - [Description("A product variant.")] - PRODUCTVARIANT, - } - - public static class DeliveryPromiseParticipantOwnerTypeStringValues - { - public const string PRODUCTVARIANT = @"PRODUCTVARIANT"; - } - + [Description("A product variant.")] + PRODUCTVARIANT, + } + + public static class DeliveryPromiseParticipantOwnerTypeStringValues + { + public const string PRODUCTVARIANT = @"PRODUCTVARIANT"; + } + /// ///Return type for `deliveryPromiseParticipantsUpdate` mutation. /// - [Description("Return type for `deliveryPromiseParticipantsUpdate` mutation.")] - public class DeliveryPromiseParticipantsUpdatePayload : GraphQLObject - { + [Description("Return type for `deliveryPromiseParticipantsUpdate` mutation.")] + public class DeliveryPromiseParticipantsUpdatePayload : GraphQLObject + { /// ///The promise participants that were added. /// - [Description("The promise participants that were added.")] - public IEnumerable? promiseParticipants { get; set; } - + [Description("The promise participants that were added.")] + public IEnumerable? promiseParticipants { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A delivery promise provider. Currently restricted to select approved delivery promise partners. /// - [Description("A delivery promise provider. Currently restricted to select approved delivery promise partners.")] - public class DeliveryPromiseProvider : GraphQLObject, INode - { + [Description("A delivery promise provider. Currently restricted to select approved delivery promise partners.")] + public class DeliveryPromiseProvider : GraphQLObject, INode + { /// ///Whether the delivery promise provider is active. Defaults to `true` when creating a provider. /// - [Description("Whether the delivery promise provider is active. Defaults to `true` when creating a provider.")] - [NonNull] - public bool? active { get; set; } - + [Description("Whether the delivery promise provider is active. Defaults to `true` when creating a provider.")] + [NonNull] + public bool? active { get; set; } + /// ///The number of seconds to add to the current time as a buffer when looking up delivery promises. Represents how long the shop requires before releasing an order to the fulfillment provider. /// - [Description("The number of seconds to add to the current time as a buffer when looking up delivery promises. Represents how long the shop requires before releasing an order to the fulfillment provider.")] - public int? fulfillmentDelay { get; set; } - + [Description("The number of seconds to add to the current time as a buffer when looking up delivery promises. Represents how long the shop requires before releasing an order to the fulfillment provider.")] + public int? fulfillmentDelay { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The location associated with this delivery promise provider. /// - [Description("The location associated with this delivery promise provider.")] - [NonNull] - public Location? location { get; set; } - + [Description("The location associated with this delivery promise provider.")] + [NonNull] + public Location? location { get; set; } + /// ///The time zone to be used for interpreting day of week and cutoff times in delivery schedules when looking up delivery promises. /// - [Description("The time zone to be used for interpreting day of week and cutoff times in delivery schedules when looking up delivery promises.")] - [NonNull] - public string? timeZone { get; set; } - } - + [Description("The time zone to be used for interpreting day of week and cutoff times in delivery schedules when looking up delivery promises.")] + [NonNull] + public string? timeZone { get; set; } + } + /// ///Return type for `deliveryPromiseProviderUpsert` mutation. /// - [Description("Return type for `deliveryPromiseProviderUpsert` mutation.")] - public class DeliveryPromiseProviderUpsertPayload : GraphQLObject - { + [Description("Return type for `deliveryPromiseProviderUpsert` mutation.")] + public class DeliveryPromiseProviderUpsertPayload : GraphQLObject + { /// ///The created or updated delivery promise provider. /// - [Description("The created or updated delivery promise provider.")] - public DeliveryPromiseProvider? deliveryPromiseProvider { get; set; } - + [Description("The created or updated delivery promise provider.")] + public DeliveryPromiseProvider? deliveryPromiseProvider { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `DeliveryPromiseProviderUpsert`. /// - [Description("An error that occurs during the execution of `DeliveryPromiseProviderUpsert`.")] - public class DeliveryPromiseProviderUpsertUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `DeliveryPromiseProviderUpsert`.")] + public class DeliveryPromiseProviderUpsertUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DeliveryPromiseProviderUpsertUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DeliveryPromiseProviderUpsertUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DeliveryPromiseProviderUpsertUserError`. /// - [Description("Possible error codes that can be returned by `DeliveryPromiseProviderUpsertUserError`.")] - public enum DeliveryPromiseProviderUpsertUserErrorCode - { + [Description("Possible error codes that can be returned by `DeliveryPromiseProviderUpsertUserError`.")] + public enum DeliveryPromiseProviderUpsertUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The location doesn't belong to the app. /// - [Description("The location doesn't belong to the app.")] - MUST_BELONG_TO_APP, + [Description("The location doesn't belong to the app.")] + MUST_BELONG_TO_APP, /// ///The time zone is invalid. /// - [Description("The time zone is invalid.")] - INVALID_TIME_ZONE, - } - - public static class DeliveryPromiseProviderUpsertUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string TOO_LONG = @"TOO_LONG"; - public const string MUST_BELONG_TO_APP = @"MUST_BELONG_TO_APP"; - public const string INVALID_TIME_ZONE = @"INVALID_TIME_ZONE"; - } - + [Description("The time zone is invalid.")] + INVALID_TIME_ZONE, + } + + public static class DeliveryPromiseProviderUpsertUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string TOO_LONG = @"TOO_LONG"; + public const string MUST_BELONG_TO_APP = @"MUST_BELONG_TO_APP"; + public const string INVALID_TIME_ZONE = @"INVALID_TIME_ZONE"; + } + /// ///The delivery promise settings. /// - [Description("The delivery promise settings.")] - public class DeliveryPromiseSetting : GraphQLObject - { + [Description("The delivery promise settings.")] + public class DeliveryPromiseSetting : GraphQLObject + { /// ///Whether delivery dates is enabled. /// - [Description("Whether delivery dates is enabled.")] - [NonNull] - public bool? deliveryDatesEnabled { get; set; } - + [Description("Whether delivery dates is enabled.")] + [NonNull] + public bool? deliveryDatesEnabled { get; set; } + /// ///The number of business days required for processing the order before the package is handed off to the carrier. Expressed as an ISO8601 duration. /// - [Description("The number of business days required for processing the order before the package is handed off to the carrier. Expressed as an ISO8601 duration.")] - public string? processingTime { get; set; } - } - + [Description("The number of business days required for processing the order before the package is handed off to the carrier. Expressed as an ISO8601 duration.")] + public string? processingTime { get; set; } + } + /// ///A delivery promise SKU setting that will be used when looking up delivery promises for the SKU. /// - [Description("A delivery promise SKU setting that will be used when looking up delivery promises for the SKU.")] - public class DeliveryPromiseSkuSetting : GraphQLObject - { + [Description("A delivery promise SKU setting that will be used when looking up delivery promises for the SKU.")] + public class DeliveryPromiseSkuSetting : GraphQLObject + { /// ///The delivery promise provider associated with this SKU mapping. /// - [Description("The delivery promise provider associated with this SKU mapping.")] - [NonNull] - public DeliveryPromiseProvider? deliveryPromiseProvider { get; set; } - + [Description("The delivery promise provider associated with this SKU mapping.")] + [NonNull] + public DeliveryPromiseProvider? deliveryPromiseProvider { get; set; } + /// ///The schedule handle that will be used when looking up delivery promises for this SKU. /// - [Description("The schedule handle that will be used when looking up delivery promises for this SKU.")] - public string? scheduleHandle { get; set; } - + [Description("The schedule handle that will be used when looking up delivery promises for this SKU.")] + public string? scheduleHandle { get; set; } + /// ///The SKU that will be associated with this setting. /// - [Description("The SKU that will be associated with this setting.")] - [NonNull] - public string? sku { get; set; } - } - + [Description("The SKU that will be associated with this setting.")] + [NonNull] + public string? sku { get; set; } + } + /// ///Return type for `deliveryPromiseSkuSettingUpsert` mutation. /// - [Description("Return type for `deliveryPromiseSkuSettingUpsert` mutation.")] - public class DeliveryPromiseSkuSettingUpsertPayload : GraphQLObject - { + [Description("Return type for `deliveryPromiseSkuSettingUpsert` mutation.")] + public class DeliveryPromiseSkuSettingUpsertPayload : GraphQLObject + { /// ///The created or updated delivery promise SKU setting. /// - [Description("The created or updated delivery promise SKU setting.")] - public DeliveryPromiseSkuSetting? deliveryPromiseSkuSetting { get; set; } - + [Description("The created or updated delivery promise SKU setting.")] + public DeliveryPromiseSkuSetting? deliveryPromiseSkuSetting { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A region that is used to define a shipping zone. /// - [Description("A region that is used to define a shipping zone.")] - public class DeliveryProvince : GraphQLObject, INode - { + [Description("A region that is used to define a shipping zone.")] + public class DeliveryProvince : GraphQLObject, INode + { /// ///The code of the region. /// - [Description("The code of the region.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the region.")] + [NonNull] + public string? code { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The full name of the region. /// - [Description("The full name of the region.")] - [NonNull] - public string? name { get; set; } - + [Description("The full name of the region.")] + [NonNull] + public string? name { get; set; } + /// ///The translated name of the region. The translation returned is based on the system's locale. /// - [Description("The translated name of the region. The translation returned is based on the system's locale.")] - [NonNull] - public string? translatedName { get; set; } - } - + [Description("The translated name of the region. The translation returned is based on the system's locale.")] + [NonNull] + public string? translatedName { get; set; } + } + /// ///The input fields to specify a region. /// - [Description("The input fields to specify a region.")] - public class DeliveryProvinceInput : GraphQLObject - { + [Description("The input fields to specify a region.")] + public class DeliveryProvinceInput : GraphQLObject + { /// ///The code of the region. /// - [Description("The code of the region.")] - [NonNull] - public string? code { get; set; } - } - + [Description("The code of the region.")] + [NonNull] + public string? code { get; set; } + } + /// ///The rate class of a rate definition. /// - [Description("The rate class of a rate definition.")] - public class DeliveryRateClass : GraphQLObject - { + [Description("The rate class of a rate definition.")] + public class DeliveryRateClass : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The maximum transit time in seconds. /// - [Description("The maximum transit time in seconds.")] - [NonNull] - public int? maxTransitTime { get; set; } - + [Description("The maximum transit time in seconds.")] + [NonNull] + public int? maxTransitTime { get; set; } + /// ///The minimum transit time in seconds. /// - [Description("The minimum transit time in seconds.")] - [NonNull] - public int? minTransitTime { get; set; } - + [Description("The minimum transit time in seconds.")] + [NonNull] + public int? minTransitTime { get; set; } + /// ///Name of the rate class. /// - [Description("Name of the rate class.")] - [NonNull] - public string? name { get; set; } - } - + [Description("Name of the rate class.")] + [NonNull] + public string? name { get; set; } + } + /// ///The merchant-defined rate of the [DeliveryMethodDefinition](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryMethodDefinition). /// - [Description("The merchant-defined rate of the [DeliveryMethodDefinition](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryMethodDefinition).")] - public class DeliveryRateDefinition : GraphQLObject, INode, IDeliveryRateProvider - { + [Description("The merchant-defined rate of the [DeliveryMethodDefinition](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryMethodDefinition).")] + public class DeliveryRateDefinition : GraphQLObject, INode, IDeliveryRateProvider + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The price of this rate. /// - [Description("The price of this rate.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The price of this rate.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///The class of the rate. The corresponding delivery method definition must have the same name. /// - [Description("The class of the rate. The corresponding delivery method definition must have the same name.")] - public DeliveryRateClass? rateClass { get; set; } - } - + [Description("The class of the rate. The corresponding delivery method definition must have the same name.")] + public DeliveryRateClass? rateClass { get; set; } + } + /// ///The input fields for a rate definition. /// - [Description("The input fields for a rate definition.")] - public class DeliveryRateDefinitionInput : GraphQLObject - { + [Description("The input fields for a rate definition.")] + public class DeliveryRateDefinitionInput : GraphQLObject + { /// ///A globally-unique ID of the rate definition. /// - [Description("A globally-unique ID of the rate definition.")] - public string? id { get; set; } - + [Description("A globally-unique ID of the rate definition.")] + public string? id { get; set; } + /// ///The price of the rate definition. /// - [Description("The price of the rate definition.")] - [NonNull] - public MoneyInput? price { get; set; } - } - + [Description("The price of the rate definition.")] + [NonNull] + public MoneyInput? price { get; set; } + } + /// ///A rate provided by a merchant-defined rate or a participant. /// - [Description("A rate provided by a merchant-defined rate or a participant.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DeliveryParticipant), typeDiscriminator: "DeliveryParticipant")] - [JsonDerivedType(typeof(DeliveryRateDefinition), typeDiscriminator: "DeliveryRateDefinition")] - public interface IDeliveryRateProvider : IGraphQLObject - { - public DeliveryParticipant? AsDeliveryParticipant() => this as DeliveryParticipant; - public DeliveryRateDefinition? AsDeliveryRateDefinition() => this as DeliveryRateDefinition; + [Description("A rate provided by a merchant-defined rate or a participant.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DeliveryParticipant), typeDiscriminator: "DeliveryParticipant")] + [JsonDerivedType(typeof(DeliveryRateDefinition), typeDiscriminator: "DeliveryRateDefinition")] + public interface IDeliveryRateProvider : IGraphQLObject + { + public DeliveryParticipant? AsDeliveryParticipant() => this as DeliveryParticipant; + public DeliveryRateDefinition? AsDeliveryRateDefinition() => this as DeliveryRateDefinition; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///The `DeliverySetting` object enables you to manage shop-wide shipping settings. ///You can enable legacy compatibility mode for the multi-location delivery profiles feature ///if the legacy mode isn't blocked. /// - [Description("The `DeliverySetting` object enables you to manage shop-wide shipping settings.\nYou can enable legacy compatibility mode for the multi-location delivery profiles feature\nif the legacy mode isn't blocked.")] - public class DeliverySetting : GraphQLObject - { + [Description("The `DeliverySetting` object enables you to manage shop-wide shipping settings.\nYou can enable legacy compatibility mode for the multi-location delivery profiles feature\nif the legacy mode isn't blocked.")] + public class DeliverySetting : GraphQLObject + { /// ///Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned. /// - [Description("Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned.")] - [NonNull] - public DeliveryLegacyModeBlocked? legacyModeBlocked { get; set; } - + [Description("Whether the shop is blocked from converting to full multi-location delivery profiles mode. If the shop is blocked, then the blocking reasons are also returned.")] + [NonNull] + public DeliveryLegacyModeBlocked? legacyModeBlocked { get; set; } + /// ///Enables legacy compatability mode for the multi-location delivery profiles feature. /// - [Description("Enables legacy compatability mode for the multi-location delivery profiles feature.")] - [NonNull] - public bool? legacyModeProfiles { get; set; } - } - + [Description("Enables legacy compatability mode for the multi-location delivery profiles feature.")] + [NonNull] + public bool? legacyModeProfiles { get; set; } + } + /// ///The input fields for shop-level delivery settings. /// - [Description("The input fields for shop-level delivery settings.")] - public class DeliverySettingInput : GraphQLObject - { + [Description("The input fields for shop-level delivery settings.")] + public class DeliverySettingInput : GraphQLObject + { /// ///Whether legacy compatability mode is enabled for the multi-location delivery profiles feature. /// - [Description("Whether legacy compatability mode is enabled for the multi-location delivery profiles feature.")] - public bool? legacyModeProfiles { get; set; } - } - + [Description("Whether legacy compatability mode is enabled for the multi-location delivery profiles feature.")] + public bool? legacyModeProfiles { get; set; } + } + /// ///Return type for `deliverySettingUpdate` mutation. /// - [Description("Return type for `deliverySettingUpdate` mutation.")] - public class DeliverySettingUpdatePayload : GraphQLObject - { + [Description("Return type for `deliverySettingUpdate` mutation.")] + public class DeliverySettingUpdatePayload : GraphQLObject + { /// ///The updated delivery shop level settings. /// - [Description("The updated delivery shop level settings.")] - public DeliverySetting? setting { get; set; } - + [Description("The updated delivery shop level settings.")] + public DeliverySetting? setting { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `deliveryShippingOriginAssign` mutation. /// - [Description("Return type for `deliveryShippingOriginAssign` mutation.")] - public class DeliveryShippingOriginAssignPayload : GraphQLObject - { + [Description("Return type for `deliveryShippingOriginAssign` mutation.")] + public class DeliveryShippingOriginAssignPayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for updating the condition of a delivery method definition. /// - [Description("The input fields for updating the condition of a delivery method definition.")] - public class DeliveryUpdateConditionInput : GraphQLObject - { + [Description("The input fields for updating the condition of a delivery method definition.")] + public class DeliveryUpdateConditionInput : GraphQLObject + { /// ///A globally-unique ID of the condition. /// - [Description("A globally-unique ID of the condition.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID of the condition.")] + [NonNull] + public string? id { get; set; } + /// ///The value that will be used in comparison. /// - [Description("The value that will be used in comparison.")] - public decimal? criteria { get; set; } - + [Description("The value that will be used in comparison.")] + public decimal? criteria { get; set; } + /// ///The unit associated with the value that will be used in comparison. /// - [Description("The unit associated with the value that will be used in comparison.")] - public string? criteriaUnit { get; set; } - + [Description("The unit associated with the value that will be used in comparison.")] + public string? criteriaUnit { get; set; } + /// ///The property of an order that will be used in comparison. /// - [Description("The property of an order that will be used in comparison.")] - [EnumType(typeof(DeliveryConditionField))] - public string? field { get; set; } - + [Description("The property of an order that will be used in comparison.")] + [EnumType(typeof(DeliveryConditionField))] + public string? field { get; set; } + /// ///The operator to use for comparison. /// - [Description("The operator to use for comparison.")] - [EnumType(typeof(DeliveryConditionOperator))] - public string? @operator { get; set; } - } - + [Description("The operator to use for comparison.")] + [EnumType(typeof(DeliveryConditionOperator))] + public string? @operator { get; set; } + } + /// ///The input fields for a weight-based condition of a delivery method definition. /// - [Description("The input fields for a weight-based condition of a delivery method definition.")] - public class DeliveryWeightConditionInput : GraphQLObject - { + [Description("The input fields for a weight-based condition of a delivery method definition.")] + public class DeliveryWeightConditionInput : GraphQLObject + { /// ///The weight value to compare the weight of an order to. /// - [Description("The weight value to compare the weight of an order to.")] - public WeightInput? criteria { get; set; } - + [Description("The weight value to compare the weight of an order to.")] + public WeightInput? criteria { get; set; } + /// ///The operator to use for comparison. /// - [Description("The operator to use for comparison.")] - [EnumType(typeof(DeliveryConditionOperator))] - public string? @operator { get; set; } - } - + [Description("The operator to use for comparison.")] + [EnumType(typeof(DeliveryConditionOperator))] + public string? @operator { get; set; } + } + /// ///A zone is a group of countries that have the same shipping rates. Customers can order products from a store only if they choose a shipping destination that's included in one of the store's zones. /// - [Description("A zone is a group of countries that have the same shipping rates. Customers can order products from a store only if they choose a shipping destination that's included in one of the store's zones.")] - public class DeliveryZone : GraphQLObject, INode - { + [Description("A zone is a group of countries that have the same shipping rates. Customers can order products from a store only if they choose a shipping destination that's included in one of the store's zones.")] + public class DeliveryZone : GraphQLObject, INode + { /// ///The list of countries within the zone. /// - [Description("The list of countries within the zone.")] - [NonNull] - public IEnumerable? countries { get; set; } - + [Description("The list of countries within the zone.")] + [NonNull] + public IEnumerable? countries { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the zone. /// - [Description("The name of the zone.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the zone.")] + [NonNull] + public string? name { get; set; } + } + /// ///Configuration of the deposit. /// - [Description("Configuration of the deposit.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DepositPercentage), typeDiscriminator: "DepositPercentage")] - public interface IDepositConfiguration : IGraphQLObject - { - public DepositPercentage? AsDepositPercentage() => this as DepositPercentage; + [Description("Configuration of the deposit.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DepositPercentage), typeDiscriminator: "DepositPercentage")] + public interface IDepositConfiguration : IGraphQLObject + { + public DepositPercentage? AsDepositPercentage() => this as DepositPercentage; /// ///The percentage value of the deposit. /// - [Description("The percentage value of the deposit.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage value of the deposit.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///The input fields configuring the deposit for a B2B buyer. /// - [Description("The input fields configuring the deposit for a B2B buyer.")] - public class DepositInput : GraphQLObject - { + [Description("The input fields configuring the deposit for a B2B buyer.")] + public class DepositInput : GraphQLObject + { /// ///The percentage of the order total that should be paid as a deposit. Must be between 1 and 99, inclusive. /// - [Description("The percentage of the order total that should be paid as a deposit. Must be between 1 and 99, inclusive.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage of the order total that should be paid as a deposit. Must be between 1 and 99, inclusive.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///A percentage deposit. /// - [Description("A percentage deposit.")] - public class DepositPercentage : GraphQLObject, IDepositConfiguration - { + [Description("A percentage deposit.")] + public class DepositPercentage : GraphQLObject, IDepositConfiguration + { /// ///The percentage value of the deposit. /// - [Description("The percentage value of the deposit.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage value of the deposit.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. /// - [Description("Digital wallet, such as Apple Pay, which can be used for accelerated checkouts.")] - public enum DigitalWallet - { + [Description("Digital wallet, such as Apple Pay, which can be used for accelerated checkouts.")] + public enum DigitalWallet + { /// ///Apple Pay. /// - [Description("Apple Pay.")] - APPLE_PAY, + [Description("Apple Pay.")] + APPLE_PAY, /// ///Android Pay. /// - [Description("Android Pay.")] - ANDROID_PAY, + [Description("Android Pay.")] + ANDROID_PAY, /// ///Google Pay. /// - [Description("Google Pay.")] - GOOGLE_PAY, + [Description("Google Pay.")] + GOOGLE_PAY, /// ///Shopify Pay. /// - [Description("Shopify Pay.")] - SHOPIFY_PAY, + [Description("Shopify Pay.")] + SHOPIFY_PAY, /// ///Facebook Pay. /// - [Description("Facebook Pay.")] - FACEBOOK_PAY, + [Description("Facebook Pay.")] + FACEBOOK_PAY, /// ///Amazon Pay. /// - [Description("Amazon Pay.")] - AMAZON_PAY, - } - - public static class DigitalWalletStringValues - { - public const string APPLE_PAY = @"APPLE_PAY"; - public const string ANDROID_PAY = @"ANDROID_PAY"; - public const string GOOGLE_PAY = @"GOOGLE_PAY"; - public const string SHOPIFY_PAY = @"SHOPIFY_PAY"; - public const string FACEBOOK_PAY = @"FACEBOOK_PAY"; - public const string AMAZON_PAY = @"AMAZON_PAY"; - } - + [Description("Amazon Pay.")] + AMAZON_PAY, + } + + public static class DigitalWalletStringValues + { + public const string APPLE_PAY = @"APPLE_PAY"; + public const string ANDROID_PAY = @"ANDROID_PAY"; + public const string GOOGLE_PAY = @"GOOGLE_PAY"; + public const string SHOPIFY_PAY = @"SHOPIFY_PAY"; + public const string FACEBOOK_PAY = @"FACEBOOK_PAY"; + public const string AMAZON_PAY = @"AMAZON_PAY"; + } + /// ///A discount offers promotional value and can be applied by entering a code or automatically when conditions are met. Discounts can provide fixed amounts, percentage reductions, free shipping, or Buy X Get Y (BXGY) benefits on specific products or the entire order. For more complex scenarios, developers can use Function-backed discounts to create custom discount configurations. /// - [Description("A discount offers promotional value and can be applied by entering a code or automatically when conditions are met. Discounts can provide fixed amounts, percentage reductions, free shipping, or Buy X Get Y (BXGY) benefits on specific products or the entire order. For more complex scenarios, developers can use Function-backed discounts to create custom discount configurations.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountAutomaticApp), typeDiscriminator: "DiscountAutomaticApp")] - [JsonDerivedType(typeof(DiscountAutomaticBasic), typeDiscriminator: "DiscountAutomaticBasic")] - [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] - [JsonDerivedType(typeof(DiscountAutomaticFreeShipping), typeDiscriminator: "DiscountAutomaticFreeShipping")] - [JsonDerivedType(typeof(DiscountCodeApp), typeDiscriminator: "DiscountCodeApp")] - [JsonDerivedType(typeof(DiscountCodeBasic), typeDiscriminator: "DiscountCodeBasic")] - [JsonDerivedType(typeof(DiscountCodeBxgy), typeDiscriminator: "DiscountCodeBxgy")] - [JsonDerivedType(typeof(DiscountCodeFreeShipping), typeDiscriminator: "DiscountCodeFreeShipping")] - public interface IDiscount : IGraphQLObject - { - public DiscountAutomaticApp? AsDiscountAutomaticApp() => this as DiscountAutomaticApp; - public DiscountAutomaticBasic? AsDiscountAutomaticBasic() => this as DiscountAutomaticBasic; - public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; - public DiscountAutomaticFreeShipping? AsDiscountAutomaticFreeShipping() => this as DiscountAutomaticFreeShipping; - public DiscountCodeApp? AsDiscountCodeApp() => this as DiscountCodeApp; - public DiscountCodeBasic? AsDiscountCodeBasic() => this as DiscountCodeBasic; - public DiscountCodeBxgy? AsDiscountCodeBxgy() => this as DiscountCodeBxgy; - public DiscountCodeFreeShipping? AsDiscountCodeFreeShipping() => this as DiscountCodeFreeShipping; + [Description("A discount offers promotional value and can be applied by entering a code or automatically when conditions are met. Discounts can provide fixed amounts, percentage reductions, free shipping, or Buy X Get Y (BXGY) benefits on specific products or the entire order. For more complex scenarios, developers can use Function-backed discounts to create custom discount configurations.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountAutomaticApp), typeDiscriminator: "DiscountAutomaticApp")] + [JsonDerivedType(typeof(DiscountAutomaticBasic), typeDiscriminator: "DiscountAutomaticBasic")] + [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] + [JsonDerivedType(typeof(DiscountAutomaticFreeShipping), typeDiscriminator: "DiscountAutomaticFreeShipping")] + [JsonDerivedType(typeof(DiscountCodeApp), typeDiscriminator: "DiscountCodeApp")] + [JsonDerivedType(typeof(DiscountCodeBasic), typeDiscriminator: "DiscountCodeBasic")] + [JsonDerivedType(typeof(DiscountCodeBxgy), typeDiscriminator: "DiscountCodeBxgy")] + [JsonDerivedType(typeof(DiscountCodeFreeShipping), typeDiscriminator: "DiscountCodeFreeShipping")] + public interface IDiscount : IGraphQLObject + { + public DiscountAutomaticApp? AsDiscountAutomaticApp() => this as DiscountAutomaticApp; + public DiscountAutomaticBasic? AsDiscountAutomaticBasic() => this as DiscountAutomaticBasic; + public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; + public DiscountAutomaticFreeShipping? AsDiscountAutomaticFreeShipping() => this as DiscountAutomaticFreeShipping; + public DiscountCodeApp? AsDiscountCodeApp() => this as DiscountCodeApp; + public DiscountCodeBasic? AsDiscountCodeBasic() => this as DiscountCodeBasic; + public DiscountCodeBxgy? AsDiscountCodeBxgy() => this as DiscountCodeBxgy; + public DiscountCodeFreeShipping? AsDiscountCodeFreeShipping() => this as DiscountCodeFreeShipping; /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -32908,445 +32908,445 @@ public interface IDiscount : IGraphQLObject ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An amount that's allocated to a line based on an associated discount application. /// - [Description("An amount that's allocated to a line based on an associated discount application.")] - public class DiscountAllocation : GraphQLObject - { + [Description("An amount that's allocated to a line based on an associated discount application.")] + public class DiscountAllocation : GraphQLObject + { /// ///The money amount that's allocated to a line based on the associated discount application. /// - [Description("The money amount that's allocated to a line based on the associated discount application.")] - [Obsolete("Use `allocatedAmountSet` instead.")] - [NonNull] - public MoneyV2? allocatedAmount { get; set; } - + [Description("The money amount that's allocated to a line based on the associated discount application.")] + [Obsolete("Use `allocatedAmountSet` instead.")] + [NonNull] + public MoneyV2? allocatedAmount { get; set; } + /// ///The money amount that's allocated to a line based on the associated discount application in shop and presentment currencies. /// - [Description("The money amount that's allocated to a line based on the associated discount application in shop and presentment currencies.")] - [NonNull] - public MoneyBag? allocatedAmountSet { get; set; } - + [Description("The money amount that's allocated to a line based on the associated discount application in shop and presentment currencies.")] + [NonNull] + public MoneyBag? allocatedAmountSet { get; set; } + /// ///The discount application that the allocated amount originated from. /// - [Description("The discount application that the allocated amount originated from.")] - [NonNull] - public IDiscountApplication? discountApplication { get; set; } - } - + [Description("The discount application that the allocated amount originated from.")] + [NonNull] + public IDiscountApplication? discountApplication { get; set; } + } + /// ///An auto-generated type for paginating through multiple DiscountAllocations. /// - [Description("An auto-generated type for paginating through multiple DiscountAllocations.")] - public class DiscountAllocationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountAllocations.")] + public class DiscountAllocationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountAllocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountAllocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountAllocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DiscountAllocation and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountAllocation and a cursor during pagination.")] - public class DiscountAllocationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountAllocation and a cursor during pagination.")] + public class DiscountAllocationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountAllocationEdge. /// - [Description("The item at the end of DiscountAllocationEdge.")] - [NonNull] - public DiscountAllocation? node { get; set; } - } - + [Description("The item at the end of DiscountAllocationEdge.")] + [NonNull] + public DiscountAllocation? node { get; set; } + } + /// ///The fixed amount value of a discount, and whether the amount is applied to each entitled item or spread evenly across the entitled items. /// - [Description("The fixed amount value of a discount, and whether the amount is applied to each entitled item or spread evenly across the entitled items.")] - public class DiscountAmount : GraphQLObject, IDiscountCustomerGetsValue, IDiscountEffect - { + [Description("The fixed amount value of a discount, and whether the amount is applied to each entitled item or spread evenly across the entitled items.")] + public class DiscountAmount : GraphQLObject, IDiscountCustomerGetsValue, IDiscountEffect + { /// ///The value of the discount. /// - [Description("The value of the discount.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The value of the discount.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. /// - [Description("If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.")] - [NonNull] - public bool? appliesOnEachItem { get; set; } - } - + [Description("If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.")] + [NonNull] + public bool? appliesOnEachItem { get; set; } + } + /// ///The input fields for the value of the discount and how it is applied. /// - [Description("The input fields for the value of the discount and how it is applied.")] - public class DiscountAmountInput : GraphQLObject - { + [Description("The input fields for the value of the discount and how it is applied.")] + public class DiscountAmountInput : GraphQLObject + { /// ///The value of the discount. /// - [Description("The value of the discount.")] - public decimal? amount { get; set; } - + [Description("The value of the discount.")] + public decimal? amount { get; set; } + /// ///If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items. /// - [Description("If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.")] - public bool? appliesOnEachItem { get; set; } - } - + [Description("If true, then the discount is applied to each of the entitled items. If false, then the amount is split across all of the entitled items.")] + public bool? appliesOnEachItem { get; set; } + } + /// ///Discount applications capture the intentions of a discount source at ///the time of application on an order's line items or shipping lines. /// ///Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object. /// - [Description("Discount applications capture the intentions of a discount source at\nthe time of application on an order's line items or shipping lines.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AutomaticDiscountApplication), typeDiscriminator: "AutomaticDiscountApplication")] - [JsonDerivedType(typeof(DiscountCodeApplication), typeDiscriminator: "DiscountCodeApplication")] - [JsonDerivedType(typeof(ManualDiscountApplication), typeDiscriminator: "ManualDiscountApplication")] - [JsonDerivedType(typeof(ScriptDiscountApplication), typeDiscriminator: "ScriptDiscountApplication")] - public interface IDiscountApplication : IGraphQLObject - { - public AutomaticDiscountApplication? AsAutomaticDiscountApplication() => this as AutomaticDiscountApplication; - public DiscountCodeApplication? AsDiscountCodeApplication() => this as DiscountCodeApplication; - public ManualDiscountApplication? AsManualDiscountApplication() => this as ManualDiscountApplication; - public ScriptDiscountApplication? AsScriptDiscountApplication() => this as ScriptDiscountApplication; + [Description("Discount applications capture the intentions of a discount source at\nthe time of application on an order's line items or shipping lines.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AutomaticDiscountApplication), typeDiscriminator: "AutomaticDiscountApplication")] + [JsonDerivedType(typeof(DiscountCodeApplication), typeDiscriminator: "DiscountCodeApplication")] + [JsonDerivedType(typeof(ManualDiscountApplication), typeDiscriminator: "ManualDiscountApplication")] + [JsonDerivedType(typeof(ScriptDiscountApplication), typeDiscriminator: "ScriptDiscountApplication")] + public interface IDiscountApplication : IGraphQLObject + { + public AutomaticDiscountApplication? AsAutomaticDiscountApplication() => this as AutomaticDiscountApplication; + public DiscountCodeApplication? AsDiscountCodeApplication() => this as DiscountCodeApplication; + public ManualDiscountApplication? AsManualDiscountApplication() => this as ManualDiscountApplication; + public ScriptDiscountApplication? AsScriptDiscountApplication() => this as ScriptDiscountApplication; /// ///The method by which the discount's value is applied to its entitled items. /// - [Description("The method by which the discount's value is applied to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; } - + [Description("The method by which the discount's value is applied to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; } + /// ///An ordered index that can be used to identify the discount application and indicate the precedence ///of the discount application for calculations. /// - [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] - [NonNull] - public int? index { get; } - + [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] + [NonNull] + public int? index { get; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; } + } + /// ///The method by which the discount's value is allocated onto its entitled lines. /// - [Description("The method by which the discount's value is allocated onto its entitled lines.")] - public enum DiscountApplicationAllocationMethod - { + [Description("The method by which the discount's value is allocated onto its entitled lines.")] + public enum DiscountApplicationAllocationMethod + { /// ///The value is spread across all entitled lines. /// - [Description("The value is spread across all entitled lines.")] - ACROSS, + [Description("The value is spread across all entitled lines.")] + ACROSS, /// ///The value is applied onto every entitled line. /// - [Description("The value is applied onto every entitled line.")] - EACH, + [Description("The value is applied onto every entitled line.")] + EACH, /// ///The value is specifically applied onto a particular line. /// - [Description("The value is specifically applied onto a particular line.")] - [Obsolete("Use ACROSS instead.")] - ONE, - } - - public static class DiscountApplicationAllocationMethodStringValues - { - public const string ACROSS = @"ACROSS"; - public const string EACH = @"EACH"; - [Obsolete("Use ACROSS instead.")] - public const string ONE = @"ONE"; - } - + [Description("The value is specifically applied onto a particular line.")] + [Obsolete("Use ACROSS instead.")] + ONE, + } + + public static class DiscountApplicationAllocationMethodStringValues + { + public const string ACROSS = @"ACROSS"; + public const string EACH = @"EACH"; + [Obsolete("Use ACROSS instead.")] + public const string ONE = @"ONE"; + } + /// ///An auto-generated type for paginating through multiple DiscountApplications. /// - [Description("An auto-generated type for paginating through multiple DiscountApplications.")] - public class DiscountApplicationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountApplications.")] + public class DiscountApplicationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DiscountApplication and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountApplication and a cursor during pagination.")] - public class DiscountApplicationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountApplication and a cursor during pagination.")] + public class DiscountApplicationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountApplicationEdge. /// - [Description("The item at the end of DiscountApplicationEdge.")] - [NonNull] - public IDiscountApplication? node { get; set; } - } - + [Description("The item at the end of DiscountApplicationEdge.")] + [NonNull] + public IDiscountApplication? node { get; set; } + } + /// ///The level at which the discount's value is applied. /// - [Description("The level at which the discount's value is applied.")] - public enum DiscountApplicationLevel - { + [Description("The level at which the discount's value is applied.")] + public enum DiscountApplicationLevel + { /// ///The discount is applied at the order level. ///Order level discounts are not factored into the discountedUnitPriceSet on line items. /// - [Description("The discount is applied at the order level.\nOrder level discounts are not factored into the discountedUnitPriceSet on line items.")] - ORDER, + [Description("The discount is applied at the order level.\nOrder level discounts are not factored into the discountedUnitPriceSet on line items.")] + ORDER, /// ///The discount is applied at the line level. ///Line level discounts are factored into the discountedUnitPriceSet on line items. /// - [Description("The discount is applied at the line level.\nLine level discounts are factored into the discountedUnitPriceSet on line items.")] - LINE, - } - - public static class DiscountApplicationLevelStringValues - { - public const string ORDER = @"ORDER"; - public const string LINE = @"LINE"; - } - + [Description("The discount is applied at the line level.\nLine level discounts are factored into the discountedUnitPriceSet on line items.")] + LINE, + } + + public static class DiscountApplicationLevelStringValues + { + public const string ORDER = @"ORDER"; + public const string LINE = @"LINE"; + } + /// ///The lines on the order to which the discount is applied, of the type defined by ///the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of ///`LINE_ITEM`, applies the discount on all line items that are entitled to the discount. ///The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines. /// - [Description("The lines on the order to which the discount is applied, of the type defined by\nthe discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of\n`LINE_ITEM`, applies the discount on all line items that are entitled to the discount.\nThe value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.")] - public enum DiscountApplicationTargetSelection - { + [Description("The lines on the order to which the discount is applied, of the type defined by\nthe discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of\n`LINE_ITEM`, applies the discount on all line items that are entitled to the discount.\nThe value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.")] + public enum DiscountApplicationTargetSelection + { /// ///The discount is allocated onto all the lines. /// - [Description("The discount is allocated onto all the lines.")] - ALL, + [Description("The discount is allocated onto all the lines.")] + ALL, /// ///The discount is allocated onto only the lines that it's entitled for. /// - [Description("The discount is allocated onto only the lines that it's entitled for.")] - ENTITLED, + [Description("The discount is allocated onto only the lines that it's entitled for.")] + ENTITLED, /// ///The discount is allocated onto explicitly chosen lines. /// - [Description("The discount is allocated onto explicitly chosen lines.")] - EXPLICIT, - } - - public static class DiscountApplicationTargetSelectionStringValues - { - public const string ALL = @"ALL"; - public const string ENTITLED = @"ENTITLED"; - public const string EXPLICIT = @"EXPLICIT"; - } - + [Description("The discount is allocated onto explicitly chosen lines.")] + EXPLICIT, + } + + public static class DiscountApplicationTargetSelectionStringValues + { + public const string ALL = @"ALL"; + public const string ENTITLED = @"ENTITLED"; + public const string EXPLICIT = @"EXPLICIT"; + } + /// ///The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards. /// - [Description("The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.")] - public enum DiscountApplicationTargetType - { + [Description("The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.")] + public enum DiscountApplicationTargetType + { /// ///The discount applies onto line items. /// - [Description("The discount applies onto line items.")] - LINE_ITEM, + [Description("The discount applies onto line items.")] + LINE_ITEM, /// ///The discount applies onto shipping lines. /// - [Description("The discount applies onto shipping lines.")] - SHIPPING_LINE, - } - - public static class DiscountApplicationTargetTypeStringValues - { - public const string LINE_ITEM = @"LINE_ITEM"; - public const string SHIPPING_LINE = @"SHIPPING_LINE"; - } - + [Description("The discount applies onto shipping lines.")] + SHIPPING_LINE, + } + + public static class DiscountApplicationTargetTypeStringValues + { + public const string LINE_ITEM = @"LINE_ITEM"; + public const string SHIPPING_LINE = @"SHIPPING_LINE"; + } + /// ///The type of discount associated to the automatic discount. For example, the automatic discount might offer a basic discount using a fixed percentage, or a fixed amount, on specific products from the order. The automatic discount may also be a BXGY discount, which offers customer discounts on select products if they add a specific product to their order. /// - [Description("The type of discount associated to the automatic discount. For example, the automatic discount might offer a basic discount using a fixed percentage, or a fixed amount, on specific products from the order. The automatic discount may also be a BXGY discount, which offers customer discounts on select products if they add a specific product to their order.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountAutomaticApp), typeDiscriminator: "DiscountAutomaticApp")] - [JsonDerivedType(typeof(DiscountAutomaticBasic), typeDiscriminator: "DiscountAutomaticBasic")] - [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] - [JsonDerivedType(typeof(DiscountAutomaticFreeShipping), typeDiscriminator: "DiscountAutomaticFreeShipping")] - public interface IDiscountAutomatic : IGraphQLObject - { - public DiscountAutomaticApp? AsDiscountAutomaticApp() => this as DiscountAutomaticApp; - public DiscountAutomaticBasic? AsDiscountAutomaticBasic() => this as DiscountAutomaticBasic; - public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; - public DiscountAutomaticFreeShipping? AsDiscountAutomaticFreeShipping() => this as DiscountAutomaticFreeShipping; + [Description("The type of discount associated to the automatic discount. For example, the automatic discount might offer a basic discount using a fixed percentage, or a fixed amount, on specific products from the order. The automatic discount may also be a BXGY discount, which offers customer discounts on select products if they add a specific product to their order.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountAutomaticApp), typeDiscriminator: "DiscountAutomaticApp")] + [JsonDerivedType(typeof(DiscountAutomaticBasic), typeDiscriminator: "DiscountAutomaticBasic")] + [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] + [JsonDerivedType(typeof(DiscountAutomaticFreeShipping), typeDiscriminator: "DiscountAutomaticFreeShipping")] + public interface IDiscountAutomatic : IGraphQLObject + { + public DiscountAutomaticApp? AsDiscountAutomaticApp() => this as DiscountAutomaticApp; + public DiscountAutomaticBasic? AsDiscountAutomaticBasic() => this as DiscountAutomaticBasic; + public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; + public DiscountAutomaticFreeShipping? AsDiscountAutomaticFreeShipping() => this as DiscountAutomaticFreeShipping; /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -33356,110 +33356,110 @@ public interface IDiscountAutomatic : IGraphQLObject ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `discountAutomaticActivate` mutation. /// - [Description("Return type for `discountAutomaticActivate` mutation.")] - public class DiscountAutomaticActivatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticActivate` mutation.")] + public class DiscountAutomaticActivatePayload : GraphQLObject + { /// ///The activated automatic discount. /// - [Description("The activated automatic discount.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The activated automatic discount.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountAutomaticApp` object stores information about automatic discounts ///that are managed by an app using @@ -33478,9 +33478,9 @@ public class DiscountAutomaticActivatePayload : GraphQLObject - [Description("The `DiscountAutomaticApp` object stores information about automatic discounts\nthat are managed by an app using\n[Shopify Functions](https://shopify.dev/docs/apps/build/functions).\nUse `DiscountAutomaticApp`when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nLearn more about creating\n[custom discount functionality](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> The [`DiscountCodeApp`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeApp)\nobject has similar functionality to the `DiscountAutomaticApp` object, with the exception that `DiscountCodeApp`\nstores information about discount codes that are managed by an app using Shopify Functions.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] - public class DiscountAutomaticApp : GraphQLObject, IDiscount, IDiscountAutomatic - { + [Description("The `DiscountAutomaticApp` object stores information about automatic discounts\nthat are managed by an app using\n[Shopify Functions](https://shopify.dev/docs/apps/build/functions).\nUse `DiscountAutomaticApp`when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nLearn more about creating\n[custom discount functionality](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> The [`DiscountCodeApp`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeApp)\nobject has similar functionality to the `DiscountAutomaticApp` object, with the exception that `DiscountCodeApp`\nstores information about discount codes that are managed by an app using Shopify Functions.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] + public class DiscountAutomaticApp : GraphQLObject, IDiscount, IDiscountAutomatic + { /// ///The details about the app extension that's providing the ///[discount type](https://help.shopify.com/manual/discounts/discount-types). @@ -33491,27 +33491,27 @@ public class DiscountAutomaticApp : GraphQLObject, IDiscou ///[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries), ///and other metadata about the discount type, including the discount type's name and description. /// - [Description("The details about the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).\nThis information includes the app extension's name and\n[client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets),\n[App Bridge configuration](https://shopify.dev/docs/api/app-bridge),\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations),\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries),\nand other metadata about the discount type, including the discount type's name and description.")] - [NonNull] - public AppDiscountType? appDiscountType { get; set; } - + [Description("The details about the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).\nThis information includes the app extension's name and\n[client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets),\n[App Bridge configuration](https://shopify.dev/docs/api/app-bridge),\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations),\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries),\nand other metadata about the discount type, including the discount type's name and description.")] + [NonNull] + public AppDiscountType? appDiscountType { get; set; } + /// ///Whether the discount applies on one-time purchases. /// - [Description("Whether the discount applies on one-time purchases.")] - [NonNull] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on one-time purchases.")] + [NonNull] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies on subscription items. ///[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) ///enable customers to purchase products ///on a recurring basis. /// - [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] - [NonNull] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] + [NonNull] + public bool? appliesOnSubscription { get; set; } + /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -33521,135 +33521,135 @@ public class DiscountAutomaticApp : GraphQLObject, IDiscou ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The [globally-unique ID](https://shopify.dev/docs/api/usage/gids) ///for the discount. /// - [Description("The [globally-unique ID](https://shopify.dev/docs/api/usage/gids)\nfor the discount.")] - [NonNull] - public string? discountId { get; set; } - + [Description("The [globally-unique ID](https://shopify.dev/docs/api/usage/gids)\nfor the discount.")] + [NonNull] + public string? discountId { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The [error history](https://shopify.dev/docs/apps/build/functions/monitoring-and-errors) ///for the latest version of the discount type that the app provides. /// - [Description("The [error history](https://shopify.dev/docs/apps/build/functions/monitoring-and-errors)\nfor the latest version of the discount type that the app provides.")] - public FunctionsErrorHistory? errorHistory { get; set; } - + [Description("The [error history](https://shopify.dev/docs/apps/build/functions/monitoring-and-errors)\nfor the latest version of the discount type that the app provides.")] + public FunctionsErrorHistory? errorHistory { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - [NonNull] - public int? recurringCycleLimit { get; set; } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + [NonNull] + public int? recurringCycleLimit { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `discountAutomaticAppCreate` mutation. /// - [Description("Return type for `discountAutomaticAppCreate` mutation.")] - public class DiscountAutomaticAppCreatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticAppCreate` mutation.")] + public class DiscountAutomaticAppCreatePayload : GraphQLObject + { /// ///The automatic discount that the app manages. /// - [Description("The automatic discount that the app manages.")] - public DiscountAutomaticApp? automaticAppDiscount { get; set; } - + [Description("The automatic discount that the app manages.")] + public DiscountAutomaticApp? automaticAppDiscount { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating an automatic discount ///that's managed by an app. @@ -33658,64 +33658,64 @@ public class DiscountAutomaticAppCreatePayload : GraphQLObject - [Description("The input fields for creating or updating an automatic discount\nthat's managed by an app.\n\nUse these input fields when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public class DiscountAutomaticAppInput : GraphQLObject - { + [Description("The input fields for creating or updating an automatic discount\nthat's managed by an app.\n\nUse these input fields when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public class DiscountAutomaticAppInput : GraphQLObject + { /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///Determines which discount effects the discount can apply. /// - [Description("Determines which discount effects the discount can apply.")] - public IEnumerable? discountClasses { get; set; } - + [Description("Determines which discount effects the discount can apply.")] + public IEnumerable? discountClasses { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. ///Discounts automatically apply on Point of Sale (POS) for Pro locations. For app discounts using Admin UI Extensions, merchants can control POS eligibility when the context is set to ALL. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations. For app discounts using Admin UI Extensions, merchants can control POS eligibility when the context is set to ALL.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations. For app discounts using Admin UI Extensions, merchants can control POS eligibility when the context is set to ALL.")] + public DiscountContextInput? context { get; set; } + /// ///The ID of the function providing the discount. /// - [Description("The ID of the function providing the discount.")] - [Obsolete("Use `functionHandle` instead.")] - public string? functionId { get; set; } - + [Description("The ID of the function providing the discount.")] + [Obsolete("Use `functionHandle` instead.")] + public string? functionId { get; set; } + /// ///The handle of the function providing the discount. /// - [Description("The handle of the function providing the discount.")] - public string? functionHandle { get; set; } - + [Description("The handle of the function providing the discount.")] + public string? functionHandle { get; set; } + /// ///Additional metafields to associate to the discount. ///[Metafields](https://shopify.dev/docs/apps/build/custom-data) @@ -33723,54 +33723,54 @@ public class DiscountAutomaticAppInput : GraphQLObject - [Description("Additional metafields to associate to the discount.\n[Metafields](https://shopify.dev/docs/apps/build/custom-data)\nprovide dynamic function configuration with\ndifferent parameters, such as `percentage` for a percentage discount. Merchants can set metafield values\nin the Shopify admin, which makes the discount function more flexible and customizable.")] - public IEnumerable? metafields { get; set; } - + [Description("Additional metafields to associate to the discount.\n[Metafields](https://shopify.dev/docs/apps/build/custom-data)\nprovide dynamic function configuration with\ndifferent parameters, such as `percentage` for a percentage discount. Merchants can set metafield values\nin the Shopify admin, which makes the discount function more flexible and customizable.")] + public IEnumerable? metafields { get; set; } + /// ///Whether the discount applies on subscription items. ///[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) ///enable customers to purchase products ///on a recurring basis. /// - [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] + public bool? appliesOnSubscription { get; set; } + /// ///Whether the discount applies on one-time purchases. /// - [Description("Whether the discount applies on one-time purchases.")] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on one-time purchases.")] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + } + /// ///Return type for `discountAutomaticAppUpdate` mutation. /// - [Description("Return type for `discountAutomaticAppUpdate` mutation.")] - public class DiscountAutomaticAppUpdatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticAppUpdate` mutation.")] + public class DiscountAutomaticAppUpdatePayload : GraphQLObject + { /// ///The updated automatic discount that the app provides. /// - [Description("The updated automatic discount that the app provides.")] - public DiscountAutomaticApp? automaticAppDiscount { get; set; } - + [Description("The updated automatic discount that the app provides.")] + public DiscountAutomaticApp? automaticAppDiscount { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountAutomaticBasic` object lets you manage ///[amount off discounts](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) @@ -33792,9 +33792,9 @@ public class DiscountAutomaticAppUpdatePayload : GraphQLObject - [Description("The `DiscountAutomaticBasic` object lets you manage\n[amount off discounts](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat are automatically applied on a cart and at checkout. Amount off discounts give customers a\nfixed value or a percentage off the products in an order, but don't apply to shipping costs.\n\nThe `DiscountAutomaticBasic` object stores information about automatic amount off discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountCodeBasic`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBasic)\nobject has similar functionality to the `DiscountAutomaticBasic` object, but customers need to enter a code to\nreceive a discount.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] - public class DiscountAutomaticBasic : GraphQLObject, IDiscount, IDiscountAutomatic - { + [Description("The `DiscountAutomaticBasic` object lets you manage\n[amount off discounts](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat are automatically applied on a cart and at checkout. Amount off discounts give customers a\nfixed value or a percentage off the products in an order, but don't apply to shipping costs.\n\nThe `DiscountAutomaticBasic` object stores information about automatic amount off discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountCodeBasic`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBasic)\nobject has similar functionality to the `DiscountAutomaticBasic` object, but customers need to enter a code to\nreceive a discount.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] + public class DiscountAutomaticBasic : GraphQLObject, IDiscount, IDiscountAutomatic + { /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -33804,273 +33804,273 @@ public class DiscountAutomaticBasic : GraphQLObject, IDi ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - [NonNull] - public DiscountCustomerGets? customerGets { get; set; } - + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + [NonNull] + public DiscountCustomerGets? customerGets { get; set; } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(MerchandiseDiscountClass))] - public string? discountClass { get; set; } - + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(MerchandiseDiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether there are ///[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline) ///associated with the discount. /// - [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public IDiscountMinimumRequirement? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public IDiscountMinimumRequirement? minimumRequirement { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - [NonNull] - public int? recurringCycleLimit { get; set; } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + [NonNull] + public int? recurringCycleLimit { get; set; } + /// ///An abbreviated version of the discount ///[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBasic#field-summary) ///field. /// - [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBasic#field-summary)\nfield.")] - [NonNull] - public string? shortSummary { get; set; } - + [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBasic#field-summary)\nfield.")] + [NonNull] + public string? shortSummary { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///A detailed explanation of what the discount is, ///who can use it, when and where it applies, and any associated ///rules or limitations. /// - [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] - [NonNull] - public string? summary { get; set; } - + [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] + [NonNull] + public string? summary { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The number of times that the discount has been used. /// - [Description("The number of times that the discount has been used.")] - [Obsolete("Use `asyncUsageCount` instead.")] - [NonNull] - public int? usageCount { get; set; } - } - + [Description("The number of times that the discount has been used.")] + [Obsolete("Use `asyncUsageCount` instead.")] + [NonNull] + public int? usageCount { get; set; } + } + /// ///Return type for `discountAutomaticBasicCreate` mutation. /// - [Description("Return type for `discountAutomaticBasicCreate` mutation.")] - public class DiscountAutomaticBasicCreatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticBasicCreate` mutation.")] + public class DiscountAutomaticBasicCreatePayload : GraphQLObject + { /// ///The automatic discount that was created. /// - [Description("The automatic discount that was created.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The automatic discount that was created.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating an ///[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) ///that's automatically applied on a cart and at checkout. /// - [Description("The input fields for creating or updating an\n[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat's automatically applied on a cart and at checkout.")] - public class DiscountAutomaticBasicInput : GraphQLObject - { + [Description("The input fields for creating or updating an\n[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat's automatically applied on a cart and at checkout.")] + public class DiscountAutomaticBasicInput : GraphQLObject + { /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. ///Discounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL.")] + public DiscountContextInput? context { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public DiscountMinimumRequirementInput? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public DiscountMinimumRequirementInput? minimumRequirement { get; set; } + /// ///Information about the qualifying items and their discount. /// - [Description("Information about the qualifying items and their discount.")] - public DiscountCustomerGetsInput? customerGets { get; set; } - + [Description("Information about the qualifying items and their discount.")] + public DiscountCustomerGetsInput? customerGets { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + } + /// ///Return type for `discountAutomaticBasicUpdate` mutation. /// - [Description("Return type for `discountAutomaticBasicUpdate` mutation.")] - public class DiscountAutomaticBasicUpdatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticBasicUpdate` mutation.")] + public class DiscountAutomaticBasicUpdatePayload : GraphQLObject + { /// ///The automatic discount that was updated. /// - [Description("The automatic discount that was updated.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The automatic discount that was updated.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountAutomaticBulkDelete` mutation. /// - [Description("Return type for `discountAutomaticBulkDelete` mutation.")] - public class DiscountAutomaticBulkDeletePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticBulkDelete` mutation.")] + public class DiscountAutomaticBulkDeletePayload : GraphQLObject + { /// ///The asynchronous job removing the automatic discounts. /// - [Description("The asynchronous job removing the automatic discounts.")] - public Job? job { get; set; } - + [Description("The asynchronous job removing the automatic discounts.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountAutomaticBxgy` object lets you manage ///[buy X get Y discounts (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) @@ -34092,9 +34092,9 @@ public class DiscountAutomaticBulkDeletePayload : GraphQLObject - [Description("The `DiscountAutomaticBxgy` object lets you manage\n[buy X get Y discounts (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat are automatically applied on a cart and at checkout. BXGY discounts incentivize customers by offering\nthem additional items at a discounted price or for free when they purchase a specified quantity of items.\n\nThe `DiscountAutomaticBxgy` object stores information about automatic BXGY discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountCodeBxgy`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBxgy)\nobject has similar functionality to the `DiscountAutomaticBxgy` object, but customers need to enter a code to\nreceive a discount.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] - public class DiscountAutomaticBxgy : GraphQLObject, IHasEvents, INode, IDiscount, IDiscountAutomatic - { + [Description("The `DiscountAutomaticBxgy` object lets you manage\n[buy X get Y discounts (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat are automatically applied on a cart and at checkout. BXGY discounts incentivize customers by offering\nthem additional items at a discounted price or for free when they purchase a specified quantity of items.\n\nThe `DiscountAutomaticBxgy` object stores information about automatic BXGY discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountCodeBxgy`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBxgy)\nobject has similar functionality to the `DiscountAutomaticBxgy` object, but customers need to enter a code to\nreceive a discount.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] + public class DiscountAutomaticBxgy : GraphQLObject, IHasEvents, INode, IDiscount, IDiscountAutomatic + { /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -34104,333 +34104,333 @@ public class DiscountAutomaticBxgy : GraphQLObject, IHasE ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The items eligible for the discount and the required quantity of each to receive the discount. /// - [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] - [NonNull] - public DiscountCustomerBuys? customerBuys { get; set; } - + [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] + [NonNull] + public DiscountCustomerBuys? customerBuys { get; set; } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - [NonNull] - public DiscountCustomerGets? customerGets { get; set; } - + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + [NonNull] + public DiscountCustomerGets? customerGets { get; set; } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(MerchandiseDiscountClass))] - public string? discountClass { get; set; } - + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(MerchandiseDiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A legacy unique ID for the discount. /// - [Description("A legacy unique ID for the discount.")] - [Obsolete("Use DiscountAutomaticNode.id instead.")] - [NonNull] - public string? id { get; set; } - + [Description("A legacy unique ID for the discount.")] + [Obsolete("Use DiscountAutomaticNode.id instead.")] + [NonNull] + public string? id { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///A detailed explanation of what the discount is, ///who can use it, when and where it applies, and any associated ///rules or limitations. /// - [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] - [NonNull] - public string? summary { get; set; } - + [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] + [NonNull] + public string? summary { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The number of times that the discount has been used. /// - [Description("The number of times that the discount has been used.")] - [Obsolete("Use `asyncUsageCount` instead.")] - [NonNull] - public int? usageCount { get; set; } - + [Description("The number of times that the discount has been used.")] + [Obsolete("Use `asyncUsageCount` instead.")] + [NonNull] + public int? usageCount { get; set; } + /// ///The maximum number of times that the discount can be applied to an order. /// - [Description("The maximum number of times that the discount can be applied to an order.")] - public int? usesPerOrderLimit { get; set; } - } - + [Description("The maximum number of times that the discount can be applied to an order.")] + public int? usesPerOrderLimit { get; set; } + } + /// ///Return type for `discountAutomaticBxgyCreate` mutation. /// - [Description("Return type for `discountAutomaticBxgyCreate` mutation.")] - public class DiscountAutomaticBxgyCreatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticBxgyCreate` mutation.")] + public class DiscountAutomaticBxgyCreatePayload : GraphQLObject + { /// ///The automatic discount that was created. /// - [Description("The automatic discount that was created.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The automatic discount that was created.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating a ///[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) ///that's automatically applied on a cart and at checkout. /// - [Description("The input fields for creating or updating a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's automatically applied on a cart and at checkout.")] - public class DiscountAutomaticBxgyInput : GraphQLObject - { + [Description("The input fields for creating or updating a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's automatically applied on a cart and at checkout.")] + public class DiscountAutomaticBxgyInput : GraphQLObject + { /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. ///Discounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL.")] + public DiscountContextInput? context { get; set; } + /// ///The maximum number of times that the discount can be applied to an order. /// - [Description("The maximum number of times that the discount can be applied to an order.")] - public ulong? usesPerOrderLimit { get; set; } - + [Description("The maximum number of times that the discount can be applied to an order.")] + public ulong? usesPerOrderLimit { get; set; } + /// ///The items eligible for the discount and the required quantity of each to receive the discount. /// - [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] - public DiscountCustomerBuysInput? customerBuys { get; set; } - + [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] + public DiscountCustomerBuysInput? customerBuys { get; set; } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - public DiscountCustomerGetsInput? customerGets { get; set; } - } - + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + public DiscountCustomerGetsInput? customerGets { get; set; } + } + /// ///Return type for `discountAutomaticBxgyUpdate` mutation. /// - [Description("Return type for `discountAutomaticBxgyUpdate` mutation.")] - public class DiscountAutomaticBxgyUpdatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticBxgyUpdate` mutation.")] + public class DiscountAutomaticBxgyUpdatePayload : GraphQLObject + { /// ///The automatic discount that was updated. /// - [Description("The automatic discount that was updated.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The automatic discount that was updated.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple DiscountAutomatics. /// - [Description("An auto-generated type for paginating through multiple DiscountAutomatics.")] - public class DiscountAutomaticConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountAutomatics.")] + public class DiscountAutomaticConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountAutomaticEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountAutomaticEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountAutomaticEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `discountAutomaticDeactivate` mutation. /// - [Description("Return type for `discountAutomaticDeactivate` mutation.")] - public class DiscountAutomaticDeactivatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticDeactivate` mutation.")] + public class DiscountAutomaticDeactivatePayload : GraphQLObject + { /// ///The deactivated automatic discount. /// - [Description("The deactivated automatic discount.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The deactivated automatic discount.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountAutomaticDelete` mutation. /// - [Description("Return type for `discountAutomaticDelete` mutation.")] - public class DiscountAutomaticDeletePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticDelete` mutation.")] + public class DiscountAutomaticDeletePayload : GraphQLObject + { /// ///The ID of the automatic discount that was deleted. /// - [Description("The ID of the automatic discount that was deleted.")] - public string? deletedAutomaticDiscountId { get; set; } - + [Description("The ID of the automatic discount that was deleted.")] + public string? deletedAutomaticDiscountId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one DiscountAutomatic and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountAutomatic and a cursor during pagination.")] - public class DiscountAutomaticEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountAutomatic and a cursor during pagination.")] + public class DiscountAutomaticEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountAutomaticEdge. /// - [Description("The item at the end of DiscountAutomaticEdge.")] - [NonNull] - public IDiscountAutomatic? node { get; set; } - } - + [Description("The item at the end of DiscountAutomaticEdge.")] + [NonNull] + public IDiscountAutomatic? node { get; set; } + } + /// ///The `DiscountAutomaticFreeShipping` object lets you manage ///[free shipping discounts](https://help.shopify.com/manual/discounts/discount-types/free-shipping) @@ -34452,29 +34452,29 @@ public class DiscountAutomaticEdge : GraphQLObject, IEdge ///> ///> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out. /// - [Description("The `DiscountAutomaticFreeShipping` object lets you manage\n[free shipping discounts](https://help.shopify.com/manual/discounts/discount-types/free-shipping)\nthat are automatically applied on a cart and at checkout. Free shipping discounts are promotional deals that\nmerchants offer to customers to waive shipping costs and encourage online purchases.\n\nThe `DiscountAutomaticFreeShipping` object stores information about automatic free shipping discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountCodeFreeShipping`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeFreeShipping)\nobject has similar functionality to the `DiscountAutomaticFreeShipping` object, but customers need to enter a code to\nreceive a discount.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] - public class DiscountAutomaticFreeShipping : GraphQLObject, IDiscount, IDiscountAutomatic - { + [Description("The `DiscountAutomaticFreeShipping` object lets you manage\n[free shipping discounts](https://help.shopify.com/manual/discounts/discount-types/free-shipping)\nthat are automatically applied on a cart and at checkout. Free shipping discounts are promotional deals that\nmerchants offer to customers to waive shipping costs and encourage online purchases.\n\nThe `DiscountAutomaticFreeShipping` object stores information about automatic free shipping discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountCodeFreeShipping`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeFreeShipping)\nobject has similar functionality to the `DiscountAutomaticFreeShipping` object, but customers need to enter a code to\nreceive a discount.\n>\n> API versions prior to `2025-10` only return automatic discounts with `context` set to `all`, discounts with other values are filtered out.")] + public class DiscountAutomaticFreeShipping : GraphQLObject, IDiscount, IDiscountAutomatic + { /// ///Whether the discount applies on one-time purchases. ///A one-time purchase is a transaction where you pay a ///single time for a product, without any ongoing ///commitments or recurring charges. /// - [Description("Whether the discount applies on one-time purchases.\nA one-time purchase is a transaction where you pay a\nsingle time for a product, without any ongoing\ncommitments or recurring charges.")] - [NonNull] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on one-time purchases.\nA one-time purchase is a transaction where you pay a\nsingle time for a product, without any ongoing\ncommitments or recurring charges.")] + [NonNull] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies on subscription items. ///[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) ///enable customers to purchase products ///on a recurring basis. /// - [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] - [NonNull] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] + [NonNull] + public bool? appliesOnSubscription { get; set; } + /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -34484,34 +34484,34 @@ public class DiscountAutomaticFreeShipping : GraphQLObject - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The countries that qualify for the discount. ///You can define @@ -34519,375 +34519,375 @@ public class DiscountAutomaticFreeShipping : GraphQLObject - [Description("The countries that qualify for the discount.\nYou can define\n[a list of countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountries)\nor specify [all countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountryAll)\nto be eligible for the discount.")] - [NonNull] - public IDiscountShippingDestinationSelection? destinationSelection { get; set; } - + [Description("The countries that qualify for the discount.\nYou can define\n[a list of countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountries)\nor specify [all countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountryAll)\nto be eligible for the discount.")] + [NonNull] + public IDiscountShippingDestinationSelection? destinationSelection { get; set; } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(ShippingDiscountClass))] - public string? discountClass { get; set; } - + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(ShippingDiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether there are ///[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline) ///associated with the discount. /// - [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///The maximum shipping price amount accepted to qualify for the discount. /// - [Description("The maximum shipping price amount accepted to qualify for the discount.")] - public MoneyV2? maximumShippingPrice { get; set; } - + [Description("The maximum shipping price amount accepted to qualify for the discount.")] + public MoneyV2? maximumShippingPrice { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public IDiscountMinimumRequirement? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public IDiscountMinimumRequirement? minimumRequirement { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - [NonNull] - public int? recurringCycleLimit { get; set; } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + [NonNull] + public int? recurringCycleLimit { get; set; } + /// ///An abbreviated version of the discount ///[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping#field-summary) ///field. /// - [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping#field-summary)\nfield.")] - [NonNull] - public string? shortSummary { get; set; } - + [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping#field-summary)\nfield.")] + [NonNull] + public string? shortSummary { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///A detailed explanation of what the discount is, ///who can use it, when and where it applies, and any associated ///rules or limitations. /// - [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] - [NonNull] - public string? summary { get; set; } - + [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] + [NonNull] + public string? summary { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The total sales from orders where the discount was used. /// - [Description("The total sales from orders where the discount was used.")] - public MoneyV2? totalSales { get; set; } - + [Description("The total sales from orders where the discount was used.")] + public MoneyV2? totalSales { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `discountAutomaticFreeShippingCreate` mutation. /// - [Description("Return type for `discountAutomaticFreeShippingCreate` mutation.")] - public class DiscountAutomaticFreeShippingCreatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticFreeShippingCreate` mutation.")] + public class DiscountAutomaticFreeShippingCreatePayload : GraphQLObject + { /// ///The automatic free shipping discount that was created. /// - [Description("The automatic free shipping discount that was created.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The automatic free shipping discount that was created.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating a ///[free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) ///that's automatically applied on a cart and at checkout. /// - [Description("The input fields for creating or updating a\n[free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping)\nthat's automatically applied on a cart and at checkout.")] - public class DiscountAutomaticFreeShippingInput : GraphQLObject - { + [Description("The input fields for creating or updating a\n[free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping)\nthat's automatically applied on a cart and at checkout.")] + public class DiscountAutomaticFreeShippingInput : GraphQLObject + { /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. ///Discounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.\nDiscounts automatically apply on Point of Sale (POS) for Pro locations when the context is not set to ALL.")] + public DiscountContextInput? context { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with the shipping discount. /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with the shipping discount.")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with the shipping discount.")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public DiscountMinimumRequirementInput? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public DiscountMinimumRequirementInput? minimumRequirement { get; set; } + /// ///A list of destinations where the discount will apply. /// - [Description("A list of destinations where the discount will apply.")] - public DiscountShippingDestinationSelectionInput? destination { get; set; } - + [Description("A list of destinations where the discount will apply.")] + public DiscountShippingDestinationSelectionInput? destination { get; set; } + /// ///The maximum shipping price that qualifies for the discount. /// - [Description("The maximum shipping price that qualifies for the discount.")] - public decimal? maximumShippingPrice { get; set; } - + [Description("The maximum shipping price that qualifies for the discount.")] + public decimal? maximumShippingPrice { get; set; } + /// ///Whether the discount applies on regular one-time-purchase items. /// - [Description("Whether the discount applies on regular one-time-purchase items.")] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on regular one-time-purchase items.")] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies on subscription items. ///[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) ///enable customers to purchase products ///on a recurring basis. /// - [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] + public bool? appliesOnSubscription { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + } + /// ///Return type for `discountAutomaticFreeShippingUpdate` mutation. /// - [Description("Return type for `discountAutomaticFreeShippingUpdate` mutation.")] - public class DiscountAutomaticFreeShippingUpdatePayload : GraphQLObject - { + [Description("Return type for `discountAutomaticFreeShippingUpdate` mutation.")] + public class DiscountAutomaticFreeShippingUpdatePayload : GraphQLObject + { /// ///The automatic discount that was updated. /// - [Description("The automatic discount that was updated.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("The automatic discount that was updated.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountAutomaticNode` object enables you to manage [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts) that are applied when an order meets specific criteria. You can create amount off, free shipping, or buy X get Y automatic discounts. For example, you can offer customers a free shipping discount that applies when conditions are met. Or you can offer customers a buy X get Y discount that's automatically applied when customers spend a specified amount of money, or a specified quantity of products. /// ///Learn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts), ///including related queries, mutations, limitations, and considerations. /// - [Description("The `DiscountAutomaticNode` object enables you to manage [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts) that are applied when an order meets specific criteria. You can create amount off, free shipping, or buy X get Y automatic discounts. For example, you can offer customers a free shipping discount that applies when conditions are met. Or you can offer customers a buy X get Y discount that's automatically applied when customers spend a specified amount of money, or a specified quantity of products.\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding related queries, mutations, limitations, and considerations.")] - public class DiscountAutomaticNode : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer - { + [Description("The `DiscountAutomaticNode` object enables you to manage [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts) that are applied when an order meets specific criteria. You can create amount off, free shipping, or buy X get Y automatic discounts. For example, you can offer customers a free shipping discount that applies when conditions are met. Or you can offer customers a buy X get Y discount that's automatically applied when customers spend a specified amount of money, or a specified quantity of products.\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding related queries, mutations, limitations, and considerations.")] + public class DiscountAutomaticNode : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer + { /// ///A discount that's applied automatically when an order meets specific criteria. Learn more about [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts). /// - [Description("A discount that's applied automatically when an order meets specific criteria. Learn more about [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts).")] - [NonNull] - public IDiscountAutomatic? automaticDiscount { get; set; } - + [Description("A discount that's applied automatically when an order meets specific criteria. Learn more about [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts).")] + [NonNull] + public IDiscountAutomatic? automaticDiscount { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + } + /// ///An auto-generated type for paginating through multiple DiscountAutomaticNodes. /// - [Description("An auto-generated type for paginating through multiple DiscountAutomaticNodes.")] - public class DiscountAutomaticNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountAutomaticNodes.")] + public class DiscountAutomaticNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountAutomaticNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountAutomaticNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountAutomaticNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DiscountAutomaticNode and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountAutomaticNode and a cursor during pagination.")] - public class DiscountAutomaticNodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountAutomaticNode and a cursor during pagination.")] + public class DiscountAutomaticNodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountAutomaticNodeEdge. /// - [Description("The item at the end of DiscountAutomaticNodeEdge.")] - [NonNull] - public DiscountAutomaticNode? node { get; set; } - } - + [Description("The item at the end of DiscountAutomaticNodeEdge.")] + [NonNull] + public DiscountAutomaticNode? node { get; set; } + } + /// ///All buyers are eligible for the discount. /// - [Description("All buyers are eligible for the discount.")] - public enum DiscountBuyerSelection - { + [Description("All buyers are eligible for the discount.")] + public enum DiscountBuyerSelection + { /// ///All buyers are eligible for the discount. /// - [Description("All buyers are eligible for the discount.")] - ALL, - } - - public static class DiscountBuyerSelectionStringValues - { - public const string ALL = @"ALL"; - } - + [Description("All buyers are eligible for the discount.")] + ALL, + } + + public static class DiscountBuyerSelectionStringValues + { + public const string ALL = @"ALL"; + } + /// ///Indicates that a discount applies to all buyers without restrictions, enabling universal promotions that reach every customer. This selection removes buyer-specific limitations from discount eligibility. /// @@ -34895,77 +34895,77 @@ public static class DiscountBuyerSelectionStringValues /// ///Learn more about [discount targeting](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountApplication). /// - [Description("Indicates that a discount applies to all buyers without restrictions, enabling universal promotions that reach every customer. This selection removes buyer-specific limitations from discount eligibility.\n\nFor example, a flash sale or grand opening promotion would target all buyers to maximize participation and store visibility.\n\nLearn more about [discount targeting](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountApplication).")] - public class DiscountBuyerSelectionAll : GraphQLObject, IDiscountContext - { + [Description("Indicates that a discount applies to all buyers without restrictions, enabling universal promotions that reach every customer. This selection removes buyer-specific limitations from discount eligibility.\n\nFor example, a flash sale or grand opening promotion would target all buyers to maximize participation and store visibility.\n\nLearn more about [discount targeting](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountApplication).")] + public class DiscountBuyerSelectionAll : GraphQLObject, IDiscountContext + { /// ///All buyers are eligible for the discount. /// - [Description("All buyers are eligible for the discount.")] - [NonNull] - [EnumType(typeof(DiscountBuyerSelection))] - public string? all { get; set; } - } - + [Description("All buyers are eligible for the discount.")] + [NonNull] + [EnumType(typeof(DiscountBuyerSelection))] + public string? all { get; set; } + } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - public enum DiscountClass - { + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + public enum DiscountClass + { /// ///The discount is combined with a ///[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("The discount is combined with a\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - PRODUCT, + [Description("The discount is combined with a\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + PRODUCT, /// ///The discount is combined with an ///[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("The discount is combined with an\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - ORDER, + [Description("The discount is combined with an\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + ORDER, /// ///The discount is combined with a ///[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("The discount is combined with a\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - SHIPPING, - } - - public static class DiscountClassStringValues - { - public const string PRODUCT = @"PRODUCT"; - public const string ORDER = @"ORDER"; - public const string SHIPPING = @"SHIPPING"; - } - + [Description("The discount is combined with a\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + SHIPPING, + } + + public static class DiscountClassStringValues + { + public const string PRODUCT = @"PRODUCT"; + public const string ORDER = @"ORDER"; + public const string SHIPPING = @"SHIPPING"; + } + /// ///The type of discount associated with the discount code. For example, the discount code might offer a basic discount of a fixed percentage, or a fixed amount, on specific products or the order. Alternatively, the discount might offer the customer free shipping on their order. A third option is a Buy X, Get Y (BXGY) discount, which offers a customer discounts on select products if they add a specific product to their order. /// - [Description("The type of discount associated with the discount code. For example, the discount code might offer a basic discount of a fixed percentage, or a fixed amount, on specific products or the order. Alternatively, the discount might offer the customer free shipping on their order. A third option is a Buy X, Get Y (BXGY) discount, which offers a customer discounts on select products if they add a specific product to their order.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountCodeApp), typeDiscriminator: "DiscountCodeApp")] - [JsonDerivedType(typeof(DiscountCodeBasic), typeDiscriminator: "DiscountCodeBasic")] - [JsonDerivedType(typeof(DiscountCodeBxgy), typeDiscriminator: "DiscountCodeBxgy")] - [JsonDerivedType(typeof(DiscountCodeFreeShipping), typeDiscriminator: "DiscountCodeFreeShipping")] - public interface IDiscountCode : IGraphQLObject - { - public DiscountCodeApp? AsDiscountCodeApp() => this as DiscountCodeApp; - public DiscountCodeBasic? AsDiscountCodeBasic() => this as DiscountCodeBasic; - public DiscountCodeBxgy? AsDiscountCodeBxgy() => this as DiscountCodeBxgy; - public DiscountCodeFreeShipping? AsDiscountCodeFreeShipping() => this as DiscountCodeFreeShipping; + [Description("The type of discount associated with the discount code. For example, the discount code might offer a basic discount of a fixed percentage, or a fixed amount, on specific products or the order. Alternatively, the discount might offer the customer free shipping on their order. A third option is a Buy X, Get Y (BXGY) discount, which offers a customer discounts on select products if they add a specific product to their order.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountCodeApp), typeDiscriminator: "DiscountCodeApp")] + [JsonDerivedType(typeof(DiscountCodeBasic), typeDiscriminator: "DiscountCodeBasic")] + [JsonDerivedType(typeof(DiscountCodeBxgy), typeDiscriminator: "DiscountCodeBxgy")] + [JsonDerivedType(typeof(DiscountCodeFreeShipping), typeDiscriminator: "DiscountCodeFreeShipping")] + public interface IDiscountCode : IGraphQLObject + { + public DiscountCodeApp? AsDiscountCodeApp() => this as DiscountCodeApp; + public DiscountCodeBasic? AsDiscountCodeBasic() => this as DiscountCodeBasic; + public DiscountCodeBxgy? AsDiscountCodeBxgy() => this as DiscountCodeBxgy; + public DiscountCodeFreeShipping? AsDiscountCodeFreeShipping() => this as DiscountCodeFreeShipping; /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - [NonNull] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + [NonNull] + public bool? appliesOncePerCustomer { get; set; } + /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -34975,160 +34975,160 @@ public interface IDiscountCode : IGraphQLObject ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///A list codes that customers can use to redeem the discount. /// - [Description("A list codes that customers can use to redeem the discount.")] - [NonNull] - public DiscountRedeemCodeConnection? codes { get; set; } - + [Description("A list codes that customers can use to redeem the discount.")] + [NonNull] + public DiscountRedeemCodeConnection? codes { get; set; } + /// ///The number of codes that a customer can use to redeem the discount. /// - [Description("The number of codes that a customer can use to redeem the discount.")] - public Count? codesCount { get; set; } - + [Description("The number of codes that a customer can use to redeem the discount.")] + public Count? codesCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - [NonNull] - public IDiscountCustomerSelection? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + [NonNull] + public IDiscountCustomerSelection? customerSelection { get; set; } + /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether there are ///[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline) ///associated with the discount. /// - [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A list of URLs that the app can use to share the discount. /// - [Description("A list of URLs that the app can use to share the discount.")] - [NonNull] - public IEnumerable? shareableUrls { get; set; } - + [Description("A list of URLs that the app can use to share the discount.")] + [NonNull] + public IEnumerable? shareableUrls { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The total sales from orders where the discount was used. /// - [Description("The total sales from orders where the discount was used.")] - public MoneyV2? totalSales { get; set; } - + [Description("The total sales from orders where the discount was used.")] + public MoneyV2? totalSales { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + } + /// ///Return type for `discountCodeActivate` mutation. /// - [Description("Return type for `discountCodeActivate` mutation.")] - public class DiscountCodeActivatePayload : GraphQLObject - { + [Description("Return type for `discountCodeActivate` mutation.")] + public class DiscountCodeActivatePayload : GraphQLObject + { /// ///The activated code discount. /// - [Description("The activated code discount.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The activated code discount.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountCodeApp` object stores information about code discounts ///that are managed by an app using @@ -35145,9 +35145,9 @@ public class DiscountCodeActivatePayload : GraphQLObject - [Description("The `DiscountCodeApp` object stores information about code discounts\nthat are managed by an app using\n[Shopify Functions](https://shopify.dev/docs/apps/build/functions).\nUse `DiscountCodeApp` when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nLearn more about creating\n[custom discount functionality](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> The [`DiscountAutomaticApp`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticApp)\nobject has similar functionality to the `DiscountCodeApp` object, with the exception that `DiscountAutomaticApp`\nstores information about automatic discounts that are managed by an app using Shopify Functions.")] - public class DiscountCodeApp : GraphQLObject, IDiscount, IDiscountCode - { + [Description("The `DiscountCodeApp` object stores information about code discounts\nthat are managed by an app using\n[Shopify Functions](https://shopify.dev/docs/apps/build/functions).\nUse `DiscountCodeApp` when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nLearn more about creating\n[custom discount functionality](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> The [`DiscountAutomaticApp`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticApp)\nobject has similar functionality to the `DiscountCodeApp` object, with the exception that `DiscountAutomaticApp`\nstores information about automatic discounts that are managed by an app using Shopify Functions.")] + public class DiscountCodeApp : GraphQLObject, IDiscount, IDiscountCode + { /// ///The details about the app extension that's providing the ///[discount type](https://help.shopify.com/manual/discounts/discount-types). @@ -35158,31 +35158,31 @@ public class DiscountCodeApp : GraphQLObject, IDiscount, IDisco ///[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries), ///and other metadata about the discount type, including the discount type's name and description. /// - [Description("The details about the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).\nThis information includes the app extension's name and\n[client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets),\n[App Bridge configuration](https://shopify.dev/docs/api/app-bridge),\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations),\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries),\nand other metadata about the discount type, including the discount type's name and description.")] - [NonNull] - public AppDiscountType? appDiscountType { get; set; } - + [Description("The details about the app extension that's providing the\n[discount type](https://help.shopify.com/manual/discounts/discount-types).\nThis information includes the app extension's name and\n[client ID](https://shopify.dev/docs/apps/build/authentication-authorization/client-secrets),\n[App Bridge configuration](https://shopify.dev/docs/api/app-bridge),\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations),\n[function ID](https://shopify.dev/docs/apps/build/functions/input-output/metafields-for-input-queries),\nand other metadata about the discount type, including the discount type's name and description.")] + [NonNull] + public AppDiscountType? appDiscountType { get; set; } + /// ///Whether the discount applies on regular one-time-purchase items. /// - [Description("Whether the discount applies on regular one-time-purchase items.")] - [NonNull] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on regular one-time-purchase items.")] + [NonNull] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies to subscriptions items. /// - [Description("Whether the discount applies to subscriptions items.")] - [NonNull] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies to subscriptions items.")] + [NonNull] + public bool? appliesOnSubscription { get; set; } + /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - [NonNull] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + [NonNull] + public bool? appliesOncePerCustomer { get; set; } + /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -35192,374 +35192,374 @@ public class DiscountCodeApp : GraphQLObject, IDiscount, IDisco ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///A list codes that customers can use to redeem the discount. /// - [Description("A list codes that customers can use to redeem the discount.")] - [NonNull] - public DiscountRedeemCodeConnection? codes { get; set; } - + [Description("A list codes that customers can use to redeem the discount.")] + [NonNull] + public DiscountRedeemCodeConnection? codes { get; set; } + /// ///The number of codes that a customer can use to redeem the discount. /// - [Description("The number of codes that a customer can use to redeem the discount.")] - public Count? codesCount { get; set; } - + [Description("The number of codes that a customer can use to redeem the discount.")] + public Count? codesCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - [NonNull] - public IDiscountCustomerSelection? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + [NonNull] + public IDiscountCustomerSelection? customerSelection { get; set; } + /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The [globally-unique ID](https://shopify.dev/docs/api/usage/gids) ///for the discount. /// - [Description("The [globally-unique ID](https://shopify.dev/docs/api/usage/gids)\nfor the discount.")] - [NonNull] - public string? discountId { get; set; } - + [Description("The [globally-unique ID](https://shopify.dev/docs/api/usage/gids)\nfor the discount.")] + [NonNull] + public string? discountId { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///The [error history](https://shopify.dev/docs/apps/build/functions/monitoring-and-errors) ///for the latest version of the discount type that the app provides. /// - [Description("The [error history](https://shopify.dev/docs/apps/build/functions/monitoring-and-errors)\nfor the latest version of the discount type that the app provides.")] - public FunctionsErrorHistory? errorHistory { get; set; } - + [Description("The [error history](https://shopify.dev/docs/apps/build/functions/monitoring-and-errors)\nfor the latest version of the discount type that the app provides.")] + public FunctionsErrorHistory? errorHistory { get; set; } + /// ///Whether there are ///[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline) ///associated with the discount. /// - [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + /// ///A list of URLs that the app can use to share the discount. /// - [Description("A list of URLs that the app can use to share the discount.")] - [NonNull] - public IEnumerable? shareableUrls { get; set; } - + [Description("A list of URLs that the app can use to share the discount.")] + [NonNull] + public IEnumerable? shareableUrls { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The total sales from orders where the discount was used. /// - [Description("The total sales from orders where the discount was used.")] - public MoneyV2? totalSales { get; set; } - + [Description("The total sales from orders where the discount was used.")] + public MoneyV2? totalSales { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + } + /// ///Return type for `discountCodeAppCreate` mutation. /// - [Description("Return type for `discountCodeAppCreate` mutation.")] - public class DiscountCodeAppCreatePayload : GraphQLObject - { + [Description("Return type for `discountCodeAppCreate` mutation.")] + public class DiscountCodeAppCreatePayload : GraphQLObject + { /// ///The discount that the app provides. /// - [Description("The discount that the app provides.")] - public DiscountCodeApp? codeAppDiscount { get; set; } - + [Description("The discount that the app provides.")] + public DiscountCodeApp? codeAppDiscount { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating a code discount, where the discount type is provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions). /// /// ///Use these input fields when you need advanced or custom discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The input fields for creating or updating a code discount, where the discount type is provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions).\n\n\nUse these input fields when you need advanced or custom discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public class DiscountCodeAppInput : GraphQLObject - { + [Description("The input fields for creating or updating a code discount, where the discount type is provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions).\n\n\nUse these input fields when you need advanced or custom discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public class DiscountCodeAppInput : GraphQLObject + { /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///Determines which discount effects the discount can apply. /// - [Description("Determines which discount effects the discount can apply.")] - public IEnumerable? discountClasses { get; set; } - + [Description("Determines which discount effects the discount can apply.")] + public IEnumerable? discountClasses { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + public bool? appliesOncePerCustomer { get; set; } + /// ///The code that customers use to apply the discount. /// - [Description("The code that customers use to apply the discount.")] - public string? code { get; set; } - + [Description("The code that customers use to apply the discount.")] + public string? code { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - public DiscountCustomerSelectionInput? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + public DiscountCustomerSelectionInput? customerSelection { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] + public DiscountContextInput? context { get; set; } + /// ///The ID of the function providing the discount. /// - [Description("The ID of the function providing the discount.")] - [Obsolete("Use `functionHandle` instead.")] - public string? functionId { get; set; } - + [Description("The ID of the function providing the discount.")] + [Obsolete("Use `functionHandle` instead.")] + public string? functionId { get; set; } + /// ///The handle of the function providing the discount. /// - [Description("The handle of the function providing the discount.")] - public string? functionHandle { get; set; } - + [Description("The handle of the function providing the discount.")] + public string? functionHandle { get; set; } + /// ///Whether the discount applies to subscriptions items. /// - [Description("Whether the discount applies to subscriptions items.")] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies to subscriptions items.")] + public bool? appliesOnSubscription { get; set; } + /// ///Whether the discount applies on regular one-time-purchase items. /// - [Description("Whether the discount applies on regular one-time-purchase items.")] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on regular one-time-purchase items.")] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///The number of times a discount applies on recurring purchases (subscriptions). 0 will apply infinitely whereas 1 will only apply to the first checkout. /// - [Description("The number of times a discount applies on recurring purchases (subscriptions). 0 will apply infinitely whereas 1 will only apply to the first checkout.")] - public int? recurringCycleLimit { get; set; } - + [Description("The number of times a discount applies on recurring purchases (subscriptions). 0 will apply infinitely whereas 1 will only apply to the first checkout.")] + public int? recurringCycleLimit { get; set; } + /// ///Additional metafields to associate to the discount. [Metafields](https://shopify.dev/docs/apps/build/custom-data) provide dynamic function configuration with different parameters, such as `percentage` for a percentage discount. Merchants can set metafield values in the Shopify admin, which makes the discount function more flexible and customizable. /// - [Description("Additional metafields to associate to the discount. [Metafields](https://shopify.dev/docs/apps/build/custom-data) provide dynamic function configuration with different parameters, such as `percentage` for a percentage discount. Merchants can set metafield values in the Shopify admin, which makes the discount function more flexible and customizable.")] - public IEnumerable? metafields { get; set; } - } - + [Description("Additional metafields to associate to the discount. [Metafields](https://shopify.dev/docs/apps/build/custom-data) provide dynamic function configuration with different parameters, such as `percentage` for a percentage discount. Merchants can set metafield values in the Shopify admin, which makes the discount function more flexible and customizable.")] + public IEnumerable? metafields { get; set; } + } + /// ///Return type for `discountCodeAppUpdate` mutation. /// - [Description("Return type for `discountCodeAppUpdate` mutation.")] - public class DiscountCodeAppUpdatePayload : GraphQLObject - { + [Description("Return type for `discountCodeAppUpdate` mutation.")] + public class DiscountCodeAppUpdatePayload : GraphQLObject + { /// ///The updated discount that the app provides. /// - [Description("The updated discount that the app provides.")] - public DiscountCodeApp? codeAppDiscount { get; set; } - + [Description("The updated discount that the app provides.")] + public DiscountCodeApp? codeAppDiscount { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Discount code applications capture the intentions of a discount code at ///the time that it is applied onto an order. /// ///Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object. /// - [Description("Discount code applications capture the intentions of a discount code at\nthe time that it is applied onto an order.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] - public class DiscountCodeApplication : GraphQLObject, IDiscountApplication - { + [Description("Discount code applications capture the intentions of a discount code at\nthe time that it is applied onto an order.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] + public class DiscountCodeApplication : GraphQLObject, IDiscountApplication + { /// ///The method by which the discount's value is applied to its entitled items. /// - [Description("The method by which the discount's value is applied to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is applied to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The string identifying the discount code that was used at the time of application. /// - [Description("The string identifying the discount code that was used at the time of application.")] - [NonNull] - public string? code { get; set; } - + [Description("The string identifying the discount code that was used at the time of application.")] + [NonNull] + public string? code { get; set; } + /// ///An ordered index that can be used to identify the discount application and indicate the precedence ///of the discount application for calculations. /// - [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] - [NonNull] - public int? index { get; set; } - + [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] + [NonNull] + public int? index { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///The `DiscountCodeBasic` object lets you manage ///[amount off discounts](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) @@ -35579,16 +35579,16 @@ public class DiscountCodeApplication : GraphQLObject, I ///object has similar functionality to the `DiscountCodeBasic` object, but discounts are automatically applied, ///without the need for customers to enter a code. /// - [Description("The `DiscountCodeBasic` object lets you manage\n[amount off discounts](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat are applied on a cart and at checkout when a customer enters a code. Amount off discounts give customers a\nfixed value or a percentage off the products in an order, but don't apply to shipping costs.\n\nThe `DiscountCodeBasic` object stores information about amount off code discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountAutomaticBasic`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBasic)\nobject has similar functionality to the `DiscountCodeBasic` object, but discounts are automatically applied,\nwithout the need for customers to enter a code.")] - public class DiscountCodeBasic : GraphQLObject, IDiscount, IDiscountCode - { + [Description("The `DiscountCodeBasic` object lets you manage\n[amount off discounts](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat are applied on a cart and at checkout when a customer enters a code. Amount off discounts give customers a\nfixed value or a percentage off the products in an order, but don't apply to shipping costs.\n\nThe `DiscountCodeBasic` object stores information about amount off code discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountAutomaticBasic`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBasic)\nobject has similar functionality to the `DiscountCodeBasic` object, but discounts are automatically applied,\nwithout the need for customers to enter a code.")] + public class DiscountCodeBasic : GraphQLObject, IDiscount, IDiscountCode + { /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - [NonNull] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + [NonNull] + public bool? appliesOncePerCustomer { get; set; } + /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -35598,365 +35598,365 @@ public class DiscountCodeBasic : GraphQLObject, IDiscount, ID ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///A list codes that customers can use to redeem the discount. /// - [Description("A list codes that customers can use to redeem the discount.")] - [NonNull] - public DiscountRedeemCodeConnection? codes { get; set; } - + [Description("A list codes that customers can use to redeem the discount.")] + [NonNull] + public DiscountRedeemCodeConnection? codes { get; set; } + /// ///The number of codes that a customer can use to redeem the discount. /// - [Description("The number of codes that a customer can use to redeem the discount.")] - public Count? codesCount { get; set; } - + [Description("The number of codes that a customer can use to redeem the discount.")] + public Count? codesCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - [NonNull] - public DiscountCustomerGets? customerGets { get; set; } - + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + [NonNull] + public DiscountCustomerGets? customerGets { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - [NonNull] - public IDiscountCustomerSelection? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + [NonNull] + public IDiscountCustomerSelection? customerSelection { get; set; } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(MerchandiseDiscountClass))] - public string? discountClass { get; set; } - + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(MerchandiseDiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether there are ///[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline) ///associated with the discount. /// - [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public IDiscountMinimumRequirement? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public IDiscountMinimumRequirement? minimumRequirement { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + /// ///A list of URLs that the app can use to share the discount. /// - [Description("A list of URLs that the app can use to share the discount.")] - [NonNull] - public IEnumerable? shareableUrls { get; set; } - + [Description("A list of URLs that the app can use to share the discount.")] + [NonNull] + public IEnumerable? shareableUrls { get; set; } + /// ///An abbreviated version of the discount ///[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBasic#field-summary) ///field. /// - [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBasic#field-summary)\nfield.")] - [NonNull] - public string? shortSummary { get; set; } - + [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBasic#field-summary)\nfield.")] + [NonNull] + public string? shortSummary { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///A detailed explanation of what the discount is, ///who can use it, when and where it applies, and any associated ///rules or limitations. /// - [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] - [NonNull] - public string? summary { get; set; } - + [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] + [NonNull] + public string? summary { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The total sales from orders where the discount was used. /// - [Description("The total sales from orders where the discount was used.")] - public MoneyV2? totalSales { get; set; } - + [Description("The total sales from orders where the discount was used.")] + public MoneyV2? totalSales { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + } + /// ///Return type for `discountCodeBasicCreate` mutation. /// - [Description("Return type for `discountCodeBasicCreate` mutation.")] - public class DiscountCodeBasicCreatePayload : GraphQLObject - { + [Description("Return type for `discountCodeBasicCreate` mutation.")] + public class DiscountCodeBasicCreatePayload : GraphQLObject + { /// ///The discount code that was created. /// - [Description("The discount code that was created.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The discount code that was created.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off. /// - [Description("The input fields for creating or updating an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.")] - public class DiscountCodeBasicInput : GraphQLObject - { + [Description("The input fields for creating or updating an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.")] + public class DiscountCodeBasicInput : GraphQLObject + { /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + public bool? appliesOncePerCustomer { get; set; } + /// ///The code that customers use to apply the discount. /// - [Description("The code that customers use to apply the discount.")] - public string? code { get; set; } - + [Description("The code that customers use to apply the discount.")] + public string? code { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - public DiscountCustomerSelectionInput? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + public DiscountCustomerSelectionInput? customerSelection { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] + public DiscountContextInput? context { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public DiscountMinimumRequirementInput? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public DiscountMinimumRequirementInput? minimumRequirement { get; set; } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - public DiscountCustomerGetsInput? customerGets { get; set; } - + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + public DiscountCustomerGetsInput? customerGets { get; set; } + /// ///The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts. For example, if you set this field to `3`, then the discount only applies to the first three billing cycles of a subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts. For example, if you set this field to `3`, then the discount only applies to the first three billing cycles of a subscription. If you specify `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - } - + [Description("The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts. For example, if you set this field to `3`, then the discount only applies to the first three billing cycles of a subscription. If you specify `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + } + /// ///Return type for `discountCodeBasicUpdate` mutation. /// - [Description("Return type for `discountCodeBasicUpdate` mutation.")] - public class DiscountCodeBasicUpdatePayload : GraphQLObject - { + [Description("Return type for `discountCodeBasicUpdate` mutation.")] + public class DiscountCodeBasicUpdatePayload : GraphQLObject + { /// ///The discount code that was updated. /// - [Description("The discount code that was updated.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The discount code that was updated.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountCodeBulkActivate` mutation. /// - [Description("Return type for `discountCodeBulkActivate` mutation.")] - public class DiscountCodeBulkActivatePayload : GraphQLObject - { + [Description("Return type for `discountCodeBulkActivate` mutation.")] + public class DiscountCodeBulkActivatePayload : GraphQLObject + { /// ///The asynchronous job that activates the discounts. /// - [Description("The asynchronous job that activates the discounts.")] - public Job? job { get; set; } - + [Description("The asynchronous job that activates the discounts.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountCodeBulkDeactivate` mutation. /// - [Description("Return type for `discountCodeBulkDeactivate` mutation.")] - public class DiscountCodeBulkDeactivatePayload : GraphQLObject - { + [Description("Return type for `discountCodeBulkDeactivate` mutation.")] + public class DiscountCodeBulkDeactivatePayload : GraphQLObject + { /// ///The asynchronous job that deactivates the discounts. /// - [Description("The asynchronous job that deactivates the discounts.")] - public Job? job { get; set; } - + [Description("The asynchronous job that deactivates the discounts.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountCodeBulkDelete` mutation. /// - [Description("Return type for `discountCodeBulkDelete` mutation.")] - public class DiscountCodeBulkDeletePayload : GraphQLObject - { + [Description("Return type for `discountCodeBulkDelete` mutation.")] + public class DiscountCodeBulkDeletePayload : GraphQLObject + { /// ///The asynchronous job that deletes the discounts. /// - [Description("The asynchronous job that deletes the discounts.")] - public Job? job { get; set; } - + [Description("The asynchronous job that deletes the discounts.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountCodeBxgy` object lets you manage ///[buy X get Y discounts (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) @@ -35977,16 +35977,16 @@ public class DiscountCodeBulkDeletePayload : GraphQLObject - [Description("The `DiscountCodeBxgy` object lets you manage\n[buy X get Y discounts (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat are applied on a cart and at checkout when a customer enters a code. BXGY discounts incentivize customers\nby offering them additional items at a discounted price or for free when they purchase a specified quantity\nof items.\n\nThe `DiscountCodeBxgy` object stores information about BXGY code discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountAutomaticBxgy`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBxgy)\nobject has similar functionality to the `DiscountCodeBxgy` object, but discounts are automatically applied,\nwithout the need for customers to enter a code.")] - public class DiscountCodeBxgy : GraphQLObject, IDiscount, IDiscountCode - { + [Description("The `DiscountCodeBxgy` object lets you manage\n[buy X get Y discounts (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat are applied on a cart and at checkout when a customer enters a code. BXGY discounts incentivize customers\nby offering them additional items at a discounted price or for free when they purchase a specified quantity\nof items.\n\nThe `DiscountCodeBxgy` object stores information about BXGY code discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The [`DiscountAutomaticBxgy`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticBxgy)\nobject has similar functionality to the `DiscountCodeBxgy` object, but discounts are automatically applied,\nwithout the need for customers to enter a code.")] + public class DiscountCodeBxgy : GraphQLObject, IDiscount, IDiscountCode + { /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - [NonNull] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + [NonNull] + public bool? appliesOncePerCustomer { get; set; } + /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -35996,345 +35996,345 @@ public class DiscountCodeBxgy : GraphQLObject, IDiscount, IDis ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///A list codes that customers can use to redeem the discount. /// - [Description("A list codes that customers can use to redeem the discount.")] - [NonNull] - public DiscountRedeemCodeConnection? codes { get; set; } - + [Description("A list codes that customers can use to redeem the discount.")] + [NonNull] + public DiscountRedeemCodeConnection? codes { get; set; } + /// ///The number of codes that a customer can use to redeem the discount. /// - [Description("The number of codes that a customer can use to redeem the discount.")] - public Count? codesCount { get; set; } - + [Description("The number of codes that a customer can use to redeem the discount.")] + public Count? codesCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The items eligible for the discount and the required quantity of each to receive the discount. /// - [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] - [NonNull] - public DiscountCustomerBuys? customerBuys { get; set; } - + [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] + [NonNull] + public DiscountCustomerBuys? customerBuys { get; set; } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - [NonNull] - public DiscountCustomerGets? customerGets { get; set; } - + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + [NonNull] + public DiscountCustomerGets? customerGets { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - [NonNull] - public IDiscountCustomerSelection? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + [NonNull] + public IDiscountCustomerSelection? customerSelection { get; set; } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(MerchandiseDiscountClass))] - public string? discountClass { get; set; } - + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(MerchandiseDiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether there are ///[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline) ///associated with the discount. /// - [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A list of URLs that the app can use to share the discount. /// - [Description("A list of URLs that the app can use to share the discount.")] - [NonNull] - public IEnumerable? shareableUrls { get; set; } - + [Description("A list of URLs that the app can use to share the discount.")] + [NonNull] + public IEnumerable? shareableUrls { get; set; } + /// ///An abbreviated version of the discount ///[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBxgy#field-summary) ///field. /// - [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBxgy#field-summary)\nfield.")] - [NonNull] - public string? shortSummary { get; set; } - + [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeBxgy#field-summary)\nfield.")] + [NonNull] + public string? shortSummary { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///A detailed explanation of what the discount is, ///who can use it, when and where it applies, and any associated ///rules or limitations. /// - [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] - [NonNull] - public string? summary { get; set; } - + [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] + [NonNull] + public string? summary { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The total sales from orders where the discount was used. /// - [Description("The total sales from orders where the discount was used.")] - public MoneyV2? totalSales { get; set; } - + [Description("The total sales from orders where the discount was used.")] + public MoneyV2? totalSales { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + /// ///The maximum number of times that the discount can be applied to an order. /// - [Description("The maximum number of times that the discount can be applied to an order.")] - public int? usesPerOrderLimit { get; set; } - } - + [Description("The maximum number of times that the discount can be applied to an order.")] + public int? usesPerOrderLimit { get; set; } + } + /// ///Return type for `discountCodeBxgyCreate` mutation. /// - [Description("Return type for `discountCodeBxgyCreate` mutation.")] - public class DiscountCodeBxgyCreatePayload : GraphQLObject - { + [Description("Return type for `discountCodeBxgyCreate` mutation.")] + public class DiscountCodeBxgyCreatePayload : GraphQLObject + { /// ///The code discount that was created. /// - [Description("The code discount that was created.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The code discount that was created.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating a ///[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) ///that's applied on a cart and at checkout when a customer enters a code. /// - [Description("The input fields for creating or updating a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's applied on a cart and at checkout when a customer enters a code.")] - public class DiscountCodeBxgyInput : GraphQLObject - { + [Description("The input fields for creating or updating a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's applied on a cart and at checkout when a customer enters a code.")] + public class DiscountCodeBxgyInput : GraphQLObject + { /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + public bool? appliesOncePerCustomer { get; set; } + /// ///The code that customers use to apply the discount. /// - [Description("The code that customers use to apply the discount.")] - public string? code { get; set; } - + [Description("The code that customers use to apply the discount.")] + public string? code { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - public DiscountCustomerSelectionInput? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + public DiscountCustomerSelectionInput? customerSelection { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] + public DiscountContextInput? context { get; set; } + /// ///The items eligible for the discount and the required quantity of each to receive the discount. /// - [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] - public DiscountCustomerBuysInput? customerBuys { get; set; } - + [Description("The items eligible for the discount and the required quantity of each to receive the discount.")] + public DiscountCustomerBuysInput? customerBuys { get; set; } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - public DiscountCustomerGetsInput? customerGets { get; set; } - + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + public DiscountCustomerGetsInput? customerGets { get; set; } + /// ///The maximum number of times that the discount can be applied to an order. /// - [Description("The maximum number of times that the discount can be applied to an order.")] - public int? usesPerOrderLimit { get; set; } - } - + [Description("The maximum number of times that the discount can be applied to an order.")] + public int? usesPerOrderLimit { get; set; } + } + /// ///Return type for `discountCodeBxgyUpdate` mutation. /// - [Description("Return type for `discountCodeBxgyUpdate` mutation.")] - public class DiscountCodeBxgyUpdatePayload : GraphQLObject - { + [Description("Return type for `discountCodeBxgyUpdate` mutation.")] + public class DiscountCodeBxgyUpdatePayload : GraphQLObject + { /// ///The code discount that was updated. /// - [Description("The code discount that was updated.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The code discount that was updated.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountCodeDeactivate` mutation. /// - [Description("Return type for `discountCodeDeactivate` mutation.")] - public class DiscountCodeDeactivatePayload : GraphQLObject - { + [Description("Return type for `discountCodeDeactivate` mutation.")] + public class DiscountCodeDeactivatePayload : GraphQLObject + { /// ///The deactivated code discount. /// - [Description("The deactivated code discount.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The deactivated code discount.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountCodeDelete` mutation. /// - [Description("Return type for `discountCodeDelete` mutation.")] - public class DiscountCodeDeletePayload : GraphQLObject - { + [Description("Return type for `discountCodeDelete` mutation.")] + public class DiscountCodeDeletePayload : GraphQLObject + { /// ///The ID of the code discount that was deleted. /// - [Description("The ID of the code discount that was deleted.")] - public string? deletedCodeDiscountId { get; set; } - + [Description("The ID of the code discount that was deleted.")] + public string? deletedCodeDiscountId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountCodeFreeShipping` object lets you manage ///[free shipping discounts](https://help.shopify.com/manual/discounts/discount-types/free-shipping) @@ -36355,36 +36355,36 @@ public class DiscountCodeDeletePayload : GraphQLObject - [Description("The `DiscountCodeFreeShipping` object lets you manage\n[free shipping discounts](https://help.shopify.com/manual/discounts/discount-types/free-shipping)\nthat are applied on a cart and at checkout when a customer enters a code. Free shipping discounts are\npromotional deals that merchants offer to customers to waive shipping costs and encourage online purchases.\n\nThe `DiscountCodeFreeShipping` object stores information about free shipping code discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The\n[`DiscountAutomaticFreeShipping`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping)\nobject has similar functionality to the `DiscountCodeFreeShipping` object, but discounts are automatically applied,\nwithout the need for customers to enter a code.")] - public class DiscountCodeFreeShipping : GraphQLObject, IDiscount, IDiscountCode - { + [Description("The `DiscountCodeFreeShipping` object lets you manage\n[free shipping discounts](https://help.shopify.com/manual/discounts/discount-types/free-shipping)\nthat are applied on a cart and at checkout when a customer enters a code. Free shipping discounts are\npromotional deals that merchants offer to customers to waive shipping costs and encourage online purchases.\n\nThe `DiscountCodeFreeShipping` object stores information about free shipping code discounts that apply to\nspecific [products and variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountProducts),\n[collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCollections),\nor [all items in a cart](https://shopify.dev/docs/api/admin-graphql/latest/objects/AllDiscountItems).\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding limitations and considerations.\n\n> Note:\n> The\n[`DiscountAutomaticFreeShipping`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping)\nobject has similar functionality to the `DiscountCodeFreeShipping` object, but discounts are automatically applied,\nwithout the need for customers to enter a code.")] + public class DiscountCodeFreeShipping : GraphQLObject, IDiscount, IDiscountCode + { /// ///Whether the discount applies on one-time purchases. ///A one-time purchase is a transaction where you pay a ///single time for a product, without any ongoing ///commitments or recurring charges. /// - [Description("Whether the discount applies on one-time purchases.\nA one-time purchase is a transaction where you pay a\nsingle time for a product, without any ongoing\ncommitments or recurring charges.")] - [NonNull] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on one-time purchases.\nA one-time purchase is a transaction where you pay a\nsingle time for a product, without any ongoing\ncommitments or recurring charges.")] + [NonNull] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies on subscription items. ///[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) ///enable customers to purchase products ///on a recurring basis. /// - [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] - [NonNull] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] + [NonNull] + public bool? appliesOnSubscription { get; set; } + /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - [NonNull] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + [NonNull] + public bool? appliesOncePerCustomer { get; set; } + /// ///The number of times that the discount has been used. ///For example, if a "Buy 3, Get 1 Free" t-shirt discount @@ -36394,55 +36394,55 @@ public class DiscountCodeFreeShipping : GraphQLObject, ///it might be lower than the actual usage count until the ///asynchronous process is completed. /// - [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount has been used.\nFor example, if a \"Buy 3, Get 1 Free\" t-shirt discount\nis automatically applied in 200 transactions, then the\ndiscount has been used 200 times.\nThis value is updated asynchronously. As a result,\nit might be lower than the actual usage count until the\nasynchronous process is completed.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///A list codes that customers can use to redeem the discount. /// - [Description("A list codes that customers can use to redeem the discount.")] - [NonNull] - public DiscountRedeemCodeConnection? codes { get; set; } - + [Description("A list codes that customers can use to redeem the discount.")] + [NonNull] + public DiscountRedeemCodeConnection? codes { get; set; } + /// ///The number of codes that a customer can use to redeem the discount. /// - [Description("The number of codes that a customer can use to redeem the discount.")] - public Count? codesCount { get; set; } - + [Description("The number of codes that a customer can use to redeem the discount.")] + public Count? codesCount { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The context defining which buyers can use the discount. /// - [Description("The context defining which buyers can use the discount.")] - [NonNull] - public IDiscountContext? context { get; set; } - + [Description("The context defining which buyers can use the discount.")] + [NonNull] + public IDiscountContext? context { get; set; } + /// ///The date and time when the discount was created. /// - [Description("The date and time when the discount was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the discount was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - [NonNull] - public IDiscountCustomerSelection? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + [NonNull] + public IDiscountCustomerSelection? customerSelection { get; set; } + /// ///The countries that qualify for the discount. ///You can define @@ -36450,590 +36450,590 @@ public class DiscountCodeFreeShipping : GraphQLObject, ///or specify [all countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountryAll) ///to be eligible for the discount. /// - [Description("The countries that qualify for the discount.\nYou can define\n[a list of countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountries)\nor specify [all countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountryAll)\nto be eligible for the discount.")] - [NonNull] - public IDiscountShippingDestinationSelection? destinationSelection { get; set; } - + [Description("The countries that qualify for the discount.\nYou can define\n[a list of countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountries)\nor specify [all countries](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCountryAll)\nto be eligible for the discount.")] + [NonNull] + public IDiscountShippingDestinationSelection? destinationSelection { get; set; } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(ShippingDiscountClass))] - public string? discountClass { get; set; } - + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(ShippingDiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether there are ///[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline) ///associated with the discount. /// - [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether there are\n[timeline comments](https://help.shopify.com/manual/discounts/managing-discount-codes#use-the-discount-timeline)\nassociated with the discount.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///The maximum shipping price amount accepted to qualify for the discount. /// - [Description("The maximum shipping price amount accepted to qualify for the discount.")] - public MoneyV2? maximumShippingPrice { get; set; } - + [Description("The maximum shipping price amount accepted to qualify for the discount.")] + public MoneyV2? maximumShippingPrice { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public IDiscountMinimumRequirement? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public IDiscountMinimumRequirement? minimumRequirement { get; set; } + /// ///The number of billing cycles for which the discount can be applied, ///which is useful for subscription-based discounts. For example, if you set this field ///to `3`, then the discount only applies to the first three billing cycles of a ///subscription. If you specify `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - + [Description("The number of billing cycles for which the discount can be applied,\nwhich is useful for subscription-based discounts. For example, if you set this field\nto `3`, then the discount only applies to the first three billing cycles of a\nsubscription. If you specify `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + /// ///A list of URLs that the app can use to share the discount. /// - [Description("A list of URLs that the app can use to share the discount.")] - [NonNull] - public IEnumerable? shareableUrls { get; set; } - + [Description("A list of URLs that the app can use to share the discount.")] + [NonNull] + public IEnumerable? shareableUrls { get; set; } + /// ///An abbreviated version of the discount ///[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeFreeShipping#field-summary) ///field. /// - [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeFreeShipping#field-summary)\nfield.")] - [NonNull] - public string? shortSummary { get; set; } - + [Description("An abbreviated version of the discount\n[`summary`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCodeFreeShipping#field-summary)\nfield.")] + [NonNull] + public string? shortSummary { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - [NonNull] - [EnumType(typeof(DiscountStatus))] - public string? status { get; set; } - + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + [NonNull] + [EnumType(typeof(DiscountStatus))] + public string? status { get; set; } + /// ///A detailed explanation of what the discount is, ///who can use it, when and where it applies, and any associated ///rules or limitations. /// - [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] - [NonNull] - public string? summary { get; set; } - + [Description("A detailed explanation of what the discount is,\nwho can use it, when and where it applies, and any associated\nrules or limitations.")] + [NonNull] + public string? summary { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - [NonNull] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + [NonNull] + public string? title { get; set; } + /// ///The total sales from orders where the discount was used. /// - [Description("The total sales from orders where the discount was used.")] - public MoneyV2? totalSales { get; set; } - + [Description("The total sales from orders where the discount was used.")] + public MoneyV2? totalSales { get; set; } + /// ///The date and time when the discount was updated. /// - [Description("The date and time when the discount was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the discount was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + } + /// ///Return type for `discountCodeFreeShippingCreate` mutation. /// - [Description("Return type for `discountCodeFreeShippingCreate` mutation.")] - public class DiscountCodeFreeShippingCreatePayload : GraphQLObject - { + [Description("Return type for `discountCodeFreeShippingCreate` mutation.")] + public class DiscountCodeFreeShippingCreatePayload : GraphQLObject + { /// ///The discount code that was created. /// - [Description("The discount code that was created.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The discount code that was created.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating a [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code. /// - [Description("The input fields for creating or updating a [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code.")] - public class DiscountCodeFreeShippingInput : GraphQLObject - { + [Description("The input fields for creating or updating a [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code.")] + public class DiscountCodeFreeShippingInput : GraphQLObject + { /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with the shipping discount. /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with the shipping discount.")] - public DiscountCombinesWithInput? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with the shipping discount.")] + public DiscountCombinesWithInput? combinesWith { get; set; } + /// ///The discount's name that displays to merchants in the Shopify admin and to customers. /// - [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] - public string? title { get; set; } - + [Description("The discount's name that displays to merchants in the Shopify admin and to customers.")] + public string? title { get; set; } + /// ///The date and time when the discount becomes active and is available to customers. /// - [Description("The date and time when the discount becomes active and is available to customers.")] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the discount becomes active and is available to customers.")] + public DateTime? startsAt { get; set; } + /// ///The date and time when the discount expires and is no longer available to customers. ///For discounts without a fixed expiration date, specify `null`. /// - [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the discount expires and is no longer available to customers.\nFor discounts without a fixed expiration date, specify `null`.")] + public DateTime? endsAt { get; set; } + /// ///Whether a customer can only use the discount once. /// - [Description("Whether a customer can only use the discount once.")] - public bool? appliesOncePerCustomer { get; set; } - + [Description("Whether a customer can only use the discount once.")] + public bool? appliesOncePerCustomer { get; set; } + /// ///The code that customers use to apply the discount. /// - [Description("The code that customers use to apply the discount.")] - public string? code { get; set; } - + [Description("The code that customers use to apply the discount.")] + public string? code { get; set; } + /// ///The customers that can use the discount. /// - [Description("The customers that can use the discount.")] - [Obsolete("Use `context` instead.")] - public DiscountCustomerSelectionInput? customerSelection { get; set; } - + [Description("The customers that can use the discount.")] + [Obsolete("Use `context` instead.")] + public DiscountCustomerSelectionInput? customerSelection { get; set; } + /// ///The maximum number of times that a customer can use the discount. ///For discounts with unlimited usage, specify `null`. /// - [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] - public int? usageLimit { get; set; } - + [Description("The maximum number of times that a customer can use the discount.\nFor discounts with unlimited usage, specify `null`.")] + public int? usageLimit { get; set; } + /// ///The context defining which buyers can use the discount. ///You can target specific customer IDs, customer segments, or make the discount available to all buyers. /// - [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] - public DiscountContextInput? context { get; set; } - + [Description("The context defining which buyers can use the discount.\nYou can target specific customer IDs, customer segments, or make the discount available to all buyers.")] + public DiscountContextInput? context { get; set; } + /// ///The minimum subtotal or quantity of items that are required for the discount to be applied. /// - [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] - public DiscountMinimumRequirementInput? minimumRequirement { get; set; } - + [Description("The minimum subtotal or quantity of items that are required for the discount to be applied.")] + public DiscountMinimumRequirementInput? minimumRequirement { get; set; } + /// ///The shipping destinations where the free shipping discount can be applied. You can specify whether the discount applies to all countries, or specify individual countries. /// - [Description("The shipping destinations where the free shipping discount can be applied. You can specify whether the discount applies to all countries, or specify individual countries.")] - public DiscountShippingDestinationSelectionInput? destination { get; set; } - + [Description("The shipping destinations where the free shipping discount can be applied. You can specify whether the discount applies to all countries, or specify individual countries.")] + public DiscountShippingDestinationSelectionInput? destination { get; set; } + /// ///The maximum shipping price, in the shop's currency, that qualifies for free shipping. ///<br/> <br/> ///For example, if set to 20.00, then only shipping rates that cost $20.00 or less will be made free. To apply the discount to all shipping rates, specify `null`. /// - [Description("The maximum shipping price, in the shop's currency, that qualifies for free shipping.\n

\nFor example, if set to 20.00, then only shipping rates that cost $20.00 or less will be made free. To apply the discount to all shipping rates, specify `null`.")] - public decimal? maximumShippingPrice { get; set; } - + [Description("The maximum shipping price, in the shop's currency, that qualifies for free shipping.\n

\nFor example, if set to 20.00, then only shipping rates that cost $20.00 or less will be made free. To apply the discount to all shipping rates, specify `null`.")] + public decimal? maximumShippingPrice { get; set; } + /// ///The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts. ///<br/> <br/> ///For example, if set to `3`, then the discount only applies to the first three billing cycles of a subscription. If set to `0`, then the discount applies indefinitely. /// - [Description("The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts.\n

\nFor example, if set to `3`, then the discount only applies to the first three billing cycles of a subscription. If set to `0`, then the discount applies indefinitely.")] - public int? recurringCycleLimit { get; set; } - + [Description("The number of billing cycles for which the discount can be applied, which is useful for subscription-based discounts.\n

\nFor example, if set to `3`, then the discount only applies to the first three billing cycles of a subscription. If set to `0`, then the discount applies indefinitely.")] + public int? recurringCycleLimit { get; set; } + /// ///Whether the discount applies on one-time purchases. A one-time purchase is a transaction where you pay a single time for a product, without any ongoing commitments or recurring charges. /// - [Description("Whether the discount applies on one-time purchases. A one-time purchase is a transaction where you pay a single time for a product, without any ongoing commitments or recurring charges.")] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on one-time purchases. A one-time purchase is a transaction where you pay a single time for a product, without any ongoing commitments or recurring charges.")] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies on subscription items. [Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) enable customers to purchase products on a recurring basis. /// - [Description("Whether the discount applies on subscription items. [Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) enable customers to purchase products on a recurring basis.")] - public bool? appliesOnSubscription { get; set; } - } - + [Description("Whether the discount applies on subscription items. [Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) enable customers to purchase products on a recurring basis.")] + public bool? appliesOnSubscription { get; set; } + } + /// ///Return type for `discountCodeFreeShippingUpdate` mutation. /// - [Description("Return type for `discountCodeFreeShippingUpdate` mutation.")] - public class DiscountCodeFreeShippingUpdatePayload : GraphQLObject - { + [Description("Return type for `discountCodeFreeShippingUpdate` mutation.")] + public class DiscountCodeFreeShippingUpdatePayload : GraphQLObject + { /// ///The discount code that was updated. /// - [Description("The discount code that was updated.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("The discount code that was updated.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `DiscountCodeNode` object enables you to manage [code discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) that are applied when customers enter a code at checkout. For example, you can offer discounts where customers have to enter a code to redeem an amount off discount on products, variants, or collections in a store. Or, you can offer discounts where customers have to enter a code to get free shipping. Merchants can create and share discount codes individually with customers. /// ///Learn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts), ///including related queries, mutations, limitations, and considerations. /// - [Description("The `DiscountCodeNode` object enables you to manage [code discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) that are applied when customers enter a code at checkout. For example, you can offer discounts where customers have to enter a code to redeem an amount off discount on products, variants, or collections in a store. Or, you can offer discounts where customers have to enter a code to get free shipping. Merchants can create and share discount codes individually with customers.\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding related queries, mutations, limitations, and considerations.")] - public class DiscountCodeNode : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer - { + [Description("The `DiscountCodeNode` object enables you to manage [code discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) that are applied when customers enter a code at checkout. For example, you can offer discounts where customers have to enter a code to redeem an amount off discount on products, variants, or collections in a store. Or, you can offer discounts where customers have to enter a code to get free shipping. Merchants can create and share discount codes individually with customers.\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding related queries, mutations, limitations, and considerations.")] + public class DiscountCodeNode : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer + { /// ///The underlying code discount object. /// - [Description("The underlying code discount object.")] - [NonNull] - public IDiscountCode? codeDiscount { get; set; } - + [Description("The underlying code discount object.")] + [NonNull] + public IDiscountCode? codeDiscount { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + } + /// ///An auto-generated type for paginating through multiple DiscountCodeNodes. /// - [Description("An auto-generated type for paginating through multiple DiscountCodeNodes.")] - public class DiscountCodeNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountCodeNodes.")] + public class DiscountCodeNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountCodeNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountCodeNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountCodeNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DiscountCodeNode and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountCodeNode and a cursor during pagination.")] - public class DiscountCodeNodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountCodeNode and a cursor during pagination.")] + public class DiscountCodeNodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountCodeNodeEdge. /// - [Description("The item at the end of DiscountCodeNodeEdge.")] - [NonNull] - public DiscountCodeNode? node { get; set; } - } - + [Description("The item at the end of DiscountCodeNodeEdge.")] + [NonNull] + public DiscountCodeNode? node { get; set; } + } + /// ///Return type for `discountCodeRedeemCodeBulkDelete` mutation. /// - [Description("Return type for `discountCodeRedeemCodeBulkDelete` mutation.")] - public class DiscountCodeRedeemCodeBulkDeletePayload : GraphQLObject - { + [Description("Return type for `discountCodeRedeemCodeBulkDelete` mutation.")] + public class DiscountCodeRedeemCodeBulkDeletePayload : GraphQLObject + { /// ///The asynchronous job that deletes the discount codes. /// - [Description("The asynchronous job that deletes the discount codes.")] - public Job? job { get; set; } - + [Description("The asynchronous job that deletes the discount codes.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of valid sort keys for the DiscountCode query. /// - [Description("The set of valid sort keys for the DiscountCode query.")] - public enum DiscountCodeSortKeys - { + [Description("The set of valid sort keys for the DiscountCode query.")] + public enum DiscountCodeSortKeys + { /// ///Sort by the `code` value. /// - [Description("Sort by the `code` value.")] - CODE, + [Description("Sort by the `code` value.")] + CODE, /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, - } - - public static class DiscountCodeSortKeysStringValues - { - public const string CODE = @"CODE"; - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string RELEVANCE = @"RELEVANCE"; - } - + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, + } + + public static class DiscountCodeSortKeysStringValues + { + public const string CODE = @"CODE"; + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string RELEVANCE = @"RELEVANCE"; + } + /// ///A list of collections that the discount can have as a prerequisite or a list of collections to which the discount can be applied. /// - [Description("A list of collections that the discount can have as a prerequisite or a list of collections to which the discount can be applied.")] - public class DiscountCollections : GraphQLObject, IDiscountItems - { + [Description("A list of collections that the discount can have as a prerequisite or a list of collections to which the discount can be applied.")] + public class DiscountCollections : GraphQLObject, IDiscountItems + { /// ///The list of collections that the discount can have as a prerequisite or the list of collections to which the discount can be applied. /// - [Description("The list of collections that the discount can have as a prerequisite or the list of collections to which the discount can be applied.")] - [NonNull] - public CollectionConnection? collections { get; set; } - } - + [Description("The list of collections that the discount can have as a prerequisite or the list of collections to which the discount can be applied.")] + [NonNull] + public CollectionConnection? collections { get; set; } + } + /// ///The input fields for collections attached to a discount. /// - [Description("The input fields for collections attached to a discount.")] - public class DiscountCollectionsInput : GraphQLObject - { + [Description("The input fields for collections attached to a discount.")] + public class DiscountCollectionsInput : GraphQLObject + { /// ///Specifies list of collection ids to add. /// - [Description("Specifies list of collection ids to add.")] - public IEnumerable? add { get; set; } - + [Description("Specifies list of collection ids to add.")] + public IEnumerable? add { get; set; } + /// ///Specifies list of collection ids to remove. /// - [Description("Specifies list of collection ids to remove.")] - public IEnumerable? remove { get; set; } - } - + [Description("Specifies list of collection ids to remove.")] + public IEnumerable? remove { get; set; } + } + /// ///The [discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The [discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - public class DiscountCombinesWith : GraphQLObject - { + [Description("The [discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + public class DiscountCombinesWith : GraphQLObject + { /// ///Whether the discount combines with the ///[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("Whether the discount combines with the\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - [NonNull] - public bool? orderDiscounts { get; set; } - + [Description("Whether the discount combines with the\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + [NonNull] + public bool? orderDiscounts { get; set; } + /// ///Whether the discount combines with the ///[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("Whether the discount combines with the\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - [NonNull] - public bool? productDiscounts { get; set; } - + [Description("Whether the discount combines with the\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + [NonNull] + public bool? productDiscounts { get; set; } + /// ///Whether the discount combines with the ///[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("Whether the discount combines with the\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - [NonNull] - public bool? shippingDiscounts { get; set; } - } - + [Description("Whether the discount combines with the\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + [NonNull] + public bool? shippingDiscounts { get; set; } + } + /// ///The input fields to determine which discount classes the discount can combine with. /// - [Description("The input fields to determine which discount classes the discount can combine with.")] - public class DiscountCombinesWithInput : GraphQLObject - { + [Description("The input fields to determine which discount classes the discount can combine with.")] + public class DiscountCombinesWithInput : GraphQLObject + { /// ///Whether the discount combines with the ///[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("Whether the discount combines with the\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - public bool? productDiscounts { get; set; } - + [Description("Whether the discount combines with the\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + public bool? productDiscounts { get; set; } + /// ///Whether the discount combines with the ///[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("Whether the discount combines with the\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - public bool? orderDiscounts { get; set; } - + [Description("Whether the discount combines with the\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + public bool? orderDiscounts { get; set; } + /// ///Whether the discount combines ///with the ///[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("Whether the discount combines\nwith the\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - public bool? shippingDiscounts { get; set; } - } - + [Description("Whether the discount combines\nwith the\n[shipping discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + public bool? shippingDiscounts { get; set; } + } + /// ///The type used to define which buyers can use the discount. /// - [Description("The type used to define which buyers can use the discount.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountBuyerSelectionAll), typeDiscriminator: "DiscountBuyerSelectionAll")] - [JsonDerivedType(typeof(DiscountCustomerSegments), typeDiscriminator: "DiscountCustomerSegments")] - [JsonDerivedType(typeof(DiscountCustomers), typeDiscriminator: "DiscountCustomers")] - public interface IDiscountContext : IGraphQLObject - { - public DiscountBuyerSelectionAll? AsDiscountBuyerSelectionAll() => this as DiscountBuyerSelectionAll; - public DiscountCustomerSegments? AsDiscountCustomerSegments() => this as DiscountCustomerSegments; - public DiscountCustomers? AsDiscountCustomers() => this as DiscountCustomers; - } - + [Description("The type used to define which buyers can use the discount.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountBuyerSelectionAll), typeDiscriminator: "DiscountBuyerSelectionAll")] + [JsonDerivedType(typeof(DiscountCustomerSegments), typeDiscriminator: "DiscountCustomerSegments")] + [JsonDerivedType(typeof(DiscountCustomers), typeDiscriminator: "DiscountCustomers")] + public interface IDiscountContext : IGraphQLObject + { + public DiscountBuyerSelectionAll? AsDiscountBuyerSelectionAll() => this as DiscountBuyerSelectionAll; + public DiscountCustomerSegments? AsDiscountCustomerSegments() => this as DiscountCustomerSegments; + public DiscountCustomers? AsDiscountCustomers() => this as DiscountCustomers; + } + /// ///The input fields for the buyers who can use this discount. /// - [Description("The input fields for the buyers who can use this discount.")] - public class DiscountContextInput : GraphQLObject - { + [Description("The input fields for the buyers who can use this discount.")] + public class DiscountContextInput : GraphQLObject + { /// ///All buyers are eligible for this discount. /// - [Description("All buyers are eligible for this discount.")] - [EnumType(typeof(DiscountBuyerSelection))] - public string? all { get; set; } - + [Description("All buyers are eligible for this discount.")] + [EnumType(typeof(DiscountBuyerSelection))] + public string? all { get; set; } + /// ///The list of customer IDs to add or remove from the list of customers. /// - [Description("The list of customer IDs to add or remove from the list of customers.")] - public DiscountCustomersInput? customers { get; set; } - + [Description("The list of customer IDs to add or remove from the list of customers.")] + public DiscountCustomersInput? customers { get; set; } + /// ///The list of customer segment IDs to add or remove from the list of customer segments. /// - [Description("The list of customer segment IDs to add or remove from the list of customer segments.")] - public DiscountCustomerSegmentsInput? customerSegments { get; set; } - } - + [Description("The list of customer segment IDs to add or remove from the list of customer segments.")] + public DiscountCustomerSegmentsInput? customerSegments { get; set; } + } + /// ///Defines the geographic scope where a shipping discount can be applied based on customer shipping destinations. This configuration determines which countries are eligible for the promotional offer. /// @@ -37041,49 +37041,49 @@ public class DiscountContextInput : GraphQLObject /// ///The object includes both specific country selections and an option to include all remaining countries not explicitly listed, providing flexible geographic targeting for international merchants. /// - [Description("Defines the geographic scope where a shipping discount can be applied based on customer shipping destinations. This configuration determines which countries are eligible for the promotional offer.\n\nFor example, a \"Free Shipping to EU\" promotion would specify European Union countries, while a domestic-only sale might target just the store's home country.\n\nThe object includes both specific country selections and an option to include all remaining countries not explicitly listed, providing flexible geographic targeting for international merchants.")] - public class DiscountCountries : GraphQLObject, IDiscountShippingDestinationSelection - { + [Description("Defines the geographic scope where a shipping discount can be applied based on customer shipping destinations. This configuration determines which countries are eligible for the promotional offer.\n\nFor example, a \"Free Shipping to EU\" promotion would specify European Union countries, while a domestic-only sale might target just the store's home country.\n\nThe object includes both specific country selections and an option to include all remaining countries not explicitly listed, providing flexible geographic targeting for international merchants.")] + public class DiscountCountries : GraphQLObject, IDiscountShippingDestinationSelection + { /// ///The codes for the countries where the discount can be applied. /// - [Description("The codes for the countries where the discount can be applied.")] - [NonNull] - public IEnumerable? countries { get; set; } - + [Description("The codes for the countries where the discount can be applied.")] + [NonNull] + public IEnumerable? countries { get; set; } + /// ///Whether the discount is applicable to countries that haven't been defined in the shop's shipping zones. /// - [Description("Whether the discount is applicable to countries that haven't been defined in the shop's shipping zones.")] - [NonNull] - public bool? includeRestOfWorld { get; set; } - } - + [Description("Whether the discount is applicable to countries that haven't been defined in the shop's shipping zones.")] + [NonNull] + public bool? includeRestOfWorld { get; set; } + } + /// ///The input fields for a list of countries to add or remove from the free shipping discount. /// - [Description("The input fields for a list of countries to add or remove from the free shipping discount.")] - public class DiscountCountriesInput : GraphQLObject - { + [Description("The input fields for a list of countries to add or remove from the free shipping discount.")] + public class DiscountCountriesInput : GraphQLObject + { /// ///The country codes to add to the list of countries where the discount applies. /// - [Description("The country codes to add to the list of countries where the discount applies.")] - public IEnumerable? add { get; set; } - + [Description("The country codes to add to the list of countries where the discount applies.")] + public IEnumerable? add { get; set; } + /// ///The country codes to remove from the list of countries where the discount applies. /// - [Description("The country codes to remove from the list of countries where the discount applies.")] - public IEnumerable? remove { get; set; } - + [Description("The country codes to remove from the list of countries where the discount applies.")] + public IEnumerable? remove { get; set; } + /// ///Whether the discount code is applicable to countries that haven't been defined in the shop's shipping zones. /// - [Description("Whether the discount code is applicable to countries that haven't been defined in the shop's shipping zones.")] - public bool? includeRestOfWorld { get; set; } - } - + [Description("Whether the discount code is applicable to countries that haven't been defined in the shop's shipping zones.")] + public bool? includeRestOfWorld { get; set; } + } + /// ///Indicates that a shipping discount applies to all countries without restriction, enabling merchants to create truly global promotions. This object represents universal geographic eligibility for shipping discount offers. /// @@ -37091,17 +37091,17 @@ public class DiscountCountriesInput : GraphQLObject /// ///This setting simplifies international discount management by eliminating the need to manually select individual countries or regions, making it ideal for digital products or stores with comprehensive global shipping capabilities. /// - [Description("Indicates that a shipping discount applies to all countries without restriction, enabling merchants to create truly global promotions. This object represents universal geographic eligibility for shipping discount offers.\n\nFor example, an online store launching a \"Worldwide Free Shipping\" campaign would use this configuration to ensure customers from any country can benefit from the promotion.\n\nThis setting simplifies international discount management by eliminating the need to manually select individual countries or regions, making it ideal for digital products or stores with comprehensive global shipping capabilities.")] - public class DiscountCountryAll : GraphQLObject, IDiscountShippingDestinationSelection - { + [Description("Indicates that a shipping discount applies to all countries without restriction, enabling merchants to create truly global promotions. This object represents universal geographic eligibility for shipping discount offers.\n\nFor example, an online store launching a \"Worldwide Free Shipping\" campaign would use this configuration to ensure customers from any country can benefit from the promotion.\n\nThis setting simplifies international discount management by eliminating the need to manually select individual countries or regions, making it ideal for digital products or stores with comprehensive global shipping capabilities.")] + public class DiscountCountryAll : GraphQLObject, IDiscountShippingDestinationSelection + { /// ///Whether the discount can be applied to all countries as shipping destination. This value is always `true`. /// - [Description("Whether the discount can be applied to all countries as shipping destination. This value is always `true`.")] - [NonNull] - public bool? allCountries { get; set; } - } - + [Description("Whether the discount can be applied to all countries as shipping destination. This value is always `true`.")] + [NonNull] + public bool? allCountries { get; set; } + } + /// ///Creates the broadest possible discount reach by targeting all customers, regardless of their purchase history or segment membership. This gives merchants maximum flexibility to run store-wide promotions without worrying about customer eligibility restrictions. /// @@ -37109,231 +37109,231 @@ public class DiscountCountryAll : GraphQLObject, IDiscountSh /// ///Learn more about [customer targeting](https://help.shopify.com/manual/discounts/). /// - [Description("Creates the broadest possible discount reach by targeting all customers, regardless of their purchase history or segment membership. This gives merchants maximum flexibility to run store-wide promotions without worrying about customer eligibility restrictions.\n\nFor example, a flash sale or grand opening promotion would target all customers to maximize participation and store visibility.\n\nLearn more about [customer targeting](https://help.shopify.com/manual/discounts/).")] - public class DiscountCustomerAll : GraphQLObject, IDiscountCustomerSelection - { + [Description("Creates the broadest possible discount reach by targeting all customers, regardless of their purchase history or segment membership. This gives merchants maximum flexibility to run store-wide promotions without worrying about customer eligibility restrictions.\n\nFor example, a flash sale or grand opening promotion would target all customers to maximize participation and store visibility.\n\nLearn more about [customer targeting](https://help.shopify.com/manual/discounts/).")] + public class DiscountCustomerAll : GraphQLObject, IDiscountCustomerSelection + { /// ///Whether the discount can be applied by all customers. This value is always `true`. /// - [Description("Whether the discount can be applied by all customers. This value is always `true`.")] - [NonNull] - public bool? allCustomers { get; set; } - } - + [Description("Whether the discount can be applied by all customers. This value is always `true`.")] + [NonNull] + public bool? allCustomers { get; set; } + } + /// ///The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable. /// - [Description("The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable.")] - public class DiscountCustomerBuys : GraphQLObject - { + [Description("The prerequisite items and prerequisite value that a customer must have on the order for the discount to be applicable.")] + public class DiscountCustomerBuys : GraphQLObject + { /// ///If the discount is applicable when a customer buys a one-time purchase. /// - [Description("If the discount is applicable when a customer buys a one-time purchase.")] - [NonNull] - public bool? isOneTimePurchase { get; set; } - + [Description("If the discount is applicable when a customer buys a one-time purchase.")] + [NonNull] + public bool? isOneTimePurchase { get; set; } + /// ///If the discount is applicable when a customer buys a subscription purchase. /// - [Description("If the discount is applicable when a customer buys a subscription purchase.")] - [NonNull] - public bool? isSubscription { get; set; } - + [Description("If the discount is applicable when a customer buys a subscription purchase.")] + [NonNull] + public bool? isSubscription { get; set; } + /// ///The items required for the discount to be applicable. /// - [Description("The items required for the discount to be applicable.")] - [NonNull] - public IDiscountItems? items { get; set; } - + [Description("The items required for the discount to be applicable.")] + [NonNull] + public IDiscountItems? items { get; set; } + /// ///The prerequisite value. /// - [Description("The prerequisite value.")] - [NonNull] - public IDiscountCustomerBuysValue? value { get; set; } - } - + [Description("The prerequisite value.")] + [NonNull] + public IDiscountCustomerBuysValue? value { get; set; } + } + /// ///The input fields for prerequisite items and quantity for the discount. /// - [Description("The input fields for prerequisite items and quantity for the discount.")] - public class DiscountCustomerBuysInput : GraphQLObject - { + [Description("The input fields for prerequisite items and quantity for the discount.")] + public class DiscountCustomerBuysInput : GraphQLObject + { /// ///The quantity of prerequisite items. /// - [Description("The quantity of prerequisite items.")] - public DiscountCustomerBuysValueInput? value { get; set; } - + [Description("The quantity of prerequisite items.")] + public DiscountCustomerBuysValueInput? value { get; set; } + /// ///The IDs of items that the customer buys. The items can be either collections or products. /// - [Description("The IDs of items that the customer buys. The items can be either collections or products.")] - public DiscountItemsInput? items { get; set; } - + [Description("The IDs of items that the customer buys. The items can be either collections or products.")] + public DiscountItemsInput? items { get; set; } + /// ///If the discount is applicable when a customer buys a one-time purchase. /// - [Description("If the discount is applicable when a customer buys a one-time purchase.")] - public bool? isOneTimePurchase { get; set; } - + [Description("If the discount is applicable when a customer buys a one-time purchase.")] + public bool? isOneTimePurchase { get; set; } + /// ///If the discount is applicable when a customer buys a subscription purchase. /// - [Description("If the discount is applicable when a customer buys a subscription purchase.")] - public bool? isSubscription { get; set; } - } - + [Description("If the discount is applicable when a customer buys a subscription purchase.")] + public bool? isSubscription { get; set; } + } + /// ///The prerequisite for the discount to be applicable. For example, the discount might require a customer to buy a minimum quantity of select items. Alternatively, the discount might require a customer to spend a minimum amount on select items. /// - [Description("The prerequisite for the discount to be applicable. For example, the discount might require a customer to buy a minimum quantity of select items. Alternatively, the discount might require a customer to spend a minimum amount on select items.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountPurchaseAmount), typeDiscriminator: "DiscountPurchaseAmount")] - [JsonDerivedType(typeof(DiscountQuantity), typeDiscriminator: "DiscountQuantity")] - public interface IDiscountCustomerBuysValue : IGraphQLObject - { - public DiscountPurchaseAmount? AsDiscountPurchaseAmount() => this as DiscountPurchaseAmount; - public DiscountQuantity? AsDiscountQuantity() => this as DiscountQuantity; - } - + [Description("The prerequisite for the discount to be applicable. For example, the discount might require a customer to buy a minimum quantity of select items. Alternatively, the discount might require a customer to spend a minimum amount on select items.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountPurchaseAmount), typeDiscriminator: "DiscountPurchaseAmount")] + [JsonDerivedType(typeof(DiscountQuantity), typeDiscriminator: "DiscountQuantity")] + public interface IDiscountCustomerBuysValue : IGraphQLObject + { + public DiscountPurchaseAmount? AsDiscountPurchaseAmount() => this as DiscountPurchaseAmount; + public DiscountQuantity? AsDiscountQuantity() => this as DiscountQuantity; + } + /// ///The input fields for prerequisite quantity or minimum purchase amount required for the discount. /// - [Description("The input fields for prerequisite quantity or minimum purchase amount required for the discount.")] - public class DiscountCustomerBuysValueInput : GraphQLObject - { + [Description("The input fields for prerequisite quantity or minimum purchase amount required for the discount.")] + public class DiscountCustomerBuysValueInput : GraphQLObject + { /// ///The quantity of prerequisite items. /// - [Description("The quantity of prerequisite items.")] - public ulong? quantity { get; set; } - + [Description("The quantity of prerequisite items.")] + public ulong? quantity { get; set; } + /// ///The prerequisite minimum purchase amount required for the discount to be applicable. /// - [Description("The prerequisite minimum purchase amount required for the discount to be applicable.")] - public decimal? amount { get; set; } - } - + [Description("The prerequisite minimum purchase amount required for the discount to be applicable.")] + public decimal? amount { get; set; } + } + /// ///The items in the order that qualify for the discount, their quantities, and the total value of the discount. /// - [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] - public class DiscountCustomerGets : GraphQLObject - { + [Description("The items in the order that qualify for the discount, their quantities, and the total value of the discount.")] + public class DiscountCustomerGets : GraphQLObject + { /// ///Whether the discount applies on regular one-time-purchase items. /// - [Description("Whether the discount applies on regular one-time-purchase items.")] - [NonNull] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on regular one-time-purchase items.")] + [NonNull] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies on subscription items. ///[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) ///enable customers to purchase products ///on a recurring basis. /// - [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] - [NonNull] - public bool? appliesOnSubscription { get; set; } - + [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] + [NonNull] + public bool? appliesOnSubscription { get; set; } + /// ///The items to which the discount applies. /// - [Description("The items to which the discount applies.")] - [NonNull] - public IDiscountItems? items { get; set; } - + [Description("The items to which the discount applies.")] + [NonNull] + public IDiscountItems? items { get; set; } + /// ///Entitled quantity and the discount value. /// - [Description("Entitled quantity and the discount value.")] - [NonNull] - public IDiscountCustomerGetsValue? value { get; set; } - } - + [Description("Entitled quantity and the discount value.")] + [NonNull] + public IDiscountCustomerGetsValue? value { get; set; } + } + /// ///Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount. /// - [Description("Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.")] - public class DiscountCustomerGetsInput : GraphQLObject - { + [Description("Specifies the items that will be discounted, the quantity of items that will be discounted, and the value of discount.")] + public class DiscountCustomerGetsInput : GraphQLObject + { /// ///The quantity of items discounted and the discount value. /// - [Description("The quantity of items discounted and the discount value.")] - public DiscountCustomerGetsValueInput? value { get; set; } - + [Description("The quantity of items discounted and the discount value.")] + public DiscountCustomerGetsValueInput? value { get; set; } + /// ///The IDs of the items that the customer gets. The items can be either collections or products. /// - [Description("The IDs of the items that the customer gets. The items can be either collections or products.")] - public DiscountItemsInput? items { get; set; } - + [Description("The IDs of the items that the customer gets. The items can be either collections or products.")] + public DiscountItemsInput? items { get; set; } + /// ///Whether the discount applies on regular one-time-purchase items. /// - [Description("Whether the discount applies on regular one-time-purchase items.")] - public bool? appliesOnOneTimePurchase { get; set; } - + [Description("Whether the discount applies on regular one-time-purchase items.")] + public bool? appliesOnOneTimePurchase { get; set; } + /// ///Whether the discount applies on subscription items. ///[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts) ///enable customers to purchase products ///on a recurring basis. /// - [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] - public bool? appliesOnSubscription { get; set; } - } - + [Description("Whether the discount applies on subscription items.\n[Subscriptions](https://shopify.dev/docs/apps/launch/billing/subscription-billing/offer-subscription-discounts)\nenable customers to purchase products\non a recurring basis.")] + public bool? appliesOnSubscription { get; set; } + } + /// ///The type of the discount value and how it will be applied. For example, it might be a percentage discount on a fixed number of items. Alternatively, it might be a fixed amount evenly distributed across all items or on each individual item. A third example is a percentage discount on all items. /// - [Description("The type of the discount value and how it will be applied. For example, it might be a percentage discount on a fixed number of items. Alternatively, it might be a fixed amount evenly distributed across all items or on each individual item. A third example is a percentage discount on all items.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountAmount), typeDiscriminator: "DiscountAmount")] - [JsonDerivedType(typeof(DiscountOnQuantity), typeDiscriminator: "DiscountOnQuantity")] - [JsonDerivedType(typeof(DiscountPercentage), typeDiscriminator: "DiscountPercentage")] - public interface IDiscountCustomerGetsValue : IGraphQLObject - { - public DiscountAmount? AsDiscountAmount() => this as DiscountAmount; - public DiscountOnQuantity? AsDiscountOnQuantity() => this as DiscountOnQuantity; - public DiscountPercentage? AsDiscountPercentage() => this as DiscountPercentage; - } - + [Description("The type of the discount value and how it will be applied. For example, it might be a percentage discount on a fixed number of items. Alternatively, it might be a fixed amount evenly distributed across all items or on each individual item. A third example is a percentage discount on all items.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountAmount), typeDiscriminator: "DiscountAmount")] + [JsonDerivedType(typeof(DiscountOnQuantity), typeDiscriminator: "DiscountOnQuantity")] + [JsonDerivedType(typeof(DiscountPercentage), typeDiscriminator: "DiscountPercentage")] + public interface IDiscountCustomerGetsValue : IGraphQLObject + { + public DiscountAmount? AsDiscountAmount() => this as DiscountAmount; + public DiscountOnQuantity? AsDiscountOnQuantity() => this as DiscountOnQuantity; + public DiscountPercentage? AsDiscountPercentage() => this as DiscountPercentage; + } + /// ///The input fields for the quantity of items discounted and the discount value. /// - [Description("The input fields for the quantity of items discounted and the discount value.")] - public class DiscountCustomerGetsValueInput : GraphQLObject - { + [Description("The input fields for the quantity of items discounted and the discount value.")] + public class DiscountCustomerGetsValueInput : GraphQLObject + { /// ///The quantity of the items that are discounted and the discount value. /// - [Description("The quantity of the items that are discounted and the discount value.")] - public DiscountOnQuantityInput? discountOnQuantity { get; set; } - + [Description("The quantity of the items that are discounted and the discount value.")] + public DiscountOnQuantityInput? discountOnQuantity { get; set; } + /// ///The percentage value of the discount. Value must be between 0.00 - 1.00. /// ///Note: BXGY doesn't support percentage. /// - [Description("The percentage value of the discount. Value must be between 0.00 - 1.00.\n\nNote: BXGY doesn't support percentage.")] - public decimal? percentage { get; set; } - + [Description("The percentage value of the discount. Value must be between 0.00 - 1.00.\n\nNote: BXGY doesn't support percentage.")] + public decimal? percentage { get; set; } + /// ///The value of the discount. /// ///Note: BXGY doesn't support discountAmount. /// - [Description("The value of the discount.\n\nNote: BXGY doesn't support discountAmount.")] - public DiscountAmountInput? discountAmount { get; set; } - } - + [Description("The value of the discount.\n\nNote: BXGY doesn't support discountAmount.")] + public DiscountAmountInput? discountAmount { get; set; } + } + /// ///Represents customer segments that are eligible to receive a specific discount, allowing merchants to target promotions to defined groups of customers. This enables personalized marketing campaigns based on customer behavior and characteristics. /// @@ -37341,76 +37341,76 @@ public class DiscountCustomerGetsValueInput : GraphQLObject - [Description("Represents customer segments that are eligible to receive a specific discount, allowing merchants to target promotions to defined groups of customers. This enables personalized marketing campaigns based on customer behavior and characteristics.\n\nFor example, a \"VIP Customer 15% Off\" promotion might target a segment of high-value repeat customers, while a \"New Customer Welcome\" discount could focus on first-time buyers.\n\nSegment-based discounts help merchants create more relevant promotional experiences and improve conversion rates by showing the right offers to the right customers at the right time.")] - public class DiscountCustomerSegments : GraphQLObject, IDiscountContext, IDiscountCustomerSelection - { + [Description("Represents customer segments that are eligible to receive a specific discount, allowing merchants to target promotions to defined groups of customers. This enables personalized marketing campaigns based on customer behavior and characteristics.\n\nFor example, a \"VIP Customer 15% Off\" promotion might target a segment of high-value repeat customers, while a \"New Customer Welcome\" discount could focus on first-time buyers.\n\nSegment-based discounts help merchants create more relevant promotional experiences and improve conversion rates by showing the right offers to the right customers at the right time.")] + public class DiscountCustomerSegments : GraphQLObject, IDiscountContext, IDiscountCustomerSelection + { /// ///The list of customer segments who are eligible for the discount. /// - [Description("The list of customer segments who are eligible for the discount.")] - [NonNull] - public IEnumerable? segments { get; set; } - } - + [Description("The list of customer segments who are eligible for the discount.")] + [NonNull] + public IEnumerable? segments { get; set; } + } + /// ///The input fields for which customer segments to add to or remove from the discount. /// - [Description("The input fields for which customer segments to add to or remove from the discount.")] - public class DiscountCustomerSegmentsInput : GraphQLObject - { + [Description("The input fields for which customer segments to add to or remove from the discount.")] + public class DiscountCustomerSegmentsInput : GraphQLObject + { /// ///A list of customer segments to add to the current list of customer segments. /// - [Description("A list of customer segments to add to the current list of customer segments.")] - public IEnumerable? add { get; set; } - + [Description("A list of customer segments to add to the current list of customer segments.")] + public IEnumerable? add { get; set; } + /// ///A list of customer segments to remove from the current list of customer segments. /// - [Description("A list of customer segments to remove from the current list of customer segments.")] - public IEnumerable? remove { get; set; } - } - + [Description("A list of customer segments to remove from the current list of customer segments.")] + public IEnumerable? remove { get; set; } + } + /// ///The type used for targeting a set of customers who are eligible for the discount. For example, the discount might be available to all customers or it might only be available to a specific set of customers. You can define the set of customers by targeting a list of customer segments, or by targeting a list of specific customers. /// - [Description("The type used for targeting a set of customers who are eligible for the discount. For example, the discount might be available to all customers or it might only be available to a specific set of customers. You can define the set of customers by targeting a list of customer segments, or by targeting a list of specific customers.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountCustomerAll), typeDiscriminator: "DiscountCustomerAll")] - [JsonDerivedType(typeof(DiscountCustomerSegments), typeDiscriminator: "DiscountCustomerSegments")] - [JsonDerivedType(typeof(DiscountCustomers), typeDiscriminator: "DiscountCustomers")] - public interface IDiscountCustomerSelection : IGraphQLObject - { - public DiscountCustomerAll? AsDiscountCustomerAll() => this as DiscountCustomerAll; - public DiscountCustomerSegments? AsDiscountCustomerSegments() => this as DiscountCustomerSegments; - public DiscountCustomers? AsDiscountCustomers() => this as DiscountCustomers; - } - + [Description("The type used for targeting a set of customers who are eligible for the discount. For example, the discount might be available to all customers or it might only be available to a specific set of customers. You can define the set of customers by targeting a list of customer segments, or by targeting a list of specific customers.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountCustomerAll), typeDiscriminator: "DiscountCustomerAll")] + [JsonDerivedType(typeof(DiscountCustomerSegments), typeDiscriminator: "DiscountCustomerSegments")] + [JsonDerivedType(typeof(DiscountCustomers), typeDiscriminator: "DiscountCustomers")] + public interface IDiscountCustomerSelection : IGraphQLObject + { + public DiscountCustomerAll? AsDiscountCustomerAll() => this as DiscountCustomerAll; + public DiscountCustomerSegments? AsDiscountCustomerSegments() => this as DiscountCustomerSegments; + public DiscountCustomers? AsDiscountCustomers() => this as DiscountCustomers; + } + /// ///The input fields for the customers who can use this discount. /// - [Description("The input fields for the customers who can use this discount.")] - public class DiscountCustomerSelectionInput : GraphQLObject - { + [Description("The input fields for the customers who can use this discount.")] + public class DiscountCustomerSelectionInput : GraphQLObject + { /// ///Whether all customers can use this discount. /// - [Description("Whether all customers can use this discount.")] - public bool? all { get; set; } - + [Description("Whether all customers can use this discount.")] + public bool? all { get; set; } + /// ///The list of customer IDs to add or remove from the list of customers. /// - [Description("The list of customer IDs to add or remove from the list of customers.")] - public DiscountCustomersInput? customers { get; set; } - + [Description("The list of customer IDs to add or remove from the list of customers.")] + public DiscountCustomersInput? customers { get; set; } + /// ///The list of customer segment IDs to add or remove from the list of customer segments. /// - [Description("The list of customer segment IDs to add or remove from the list of customer segments.")] - public DiscountCustomerSegmentsInput? customerSegments { get; set; } - } - + [Description("The list of customer segment IDs to add or remove from the list of customer segments.")] + public DiscountCustomerSegmentsInput? customerSegments { get; set; } + } + /// ///Defines customer targeting for discounts through specific individual customers. This object allows merchants to create exclusive discounts that are only available to explicitly selected customers. /// @@ -37426,309 +37426,309 @@ public class DiscountCustomerSelectionInput : GraphQLObject - [Description("Defines customer targeting for discounts through specific individual customers. This object allows merchants to create exclusive discounts that are only available to explicitly selected customers.\n\nFor example, a VIP customer appreciation discount might target specific high-value customers by individually selecting them, or a beta program discount could be offered to selected early adopters.\n\nUse `DiscountCustomers` to:\n- Target specific individual customers for exclusive promotions\n- Create personalized discount experiences for selected customers\n- Offer special discounts to VIP or loyal customers\n- Provide exclusive access to promotions for specific individuals\n\nThis targeting method requires you to add each customer who should be eligible for the discount. For broader targeting based on customer attributes or segments, use [`DiscountCustomerSegments`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCustomerSegments) instead.\n\nLearn more about creating customer-specific discounts using [`discountCodeBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicCreate) and [`discountCodeBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicUpdate).")] - public class DiscountCustomers : GraphQLObject, IDiscountContext, IDiscountCustomerSelection - { + [Description("Defines customer targeting for discounts through specific individual customers. This object allows merchants to create exclusive discounts that are only available to explicitly selected customers.\n\nFor example, a VIP customer appreciation discount might target specific high-value customers by individually selecting them, or a beta program discount could be offered to selected early adopters.\n\nUse `DiscountCustomers` to:\n- Target specific individual customers for exclusive promotions\n- Create personalized discount experiences for selected customers\n- Offer special discounts to VIP or loyal customers\n- Provide exclusive access to promotions for specific individuals\n\nThis targeting method requires you to add each customer who should be eligible for the discount. For broader targeting based on customer attributes or segments, use [`DiscountCustomerSegments`](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountCustomerSegments) instead.\n\nLearn more about creating customer-specific discounts using [`discountCodeBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicCreate) and [`discountCodeBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicUpdate).")] + public class DiscountCustomers : GraphQLObject, IDiscountContext, IDiscountCustomerSelection + { /// ///The list of individual customers eligible for the discount. /// - [Description("The list of individual customers eligible for the discount.")] - [NonNull] - public IEnumerable? customers { get; set; } - } - + [Description("The list of individual customers eligible for the discount.")] + [NonNull] + public IEnumerable? customers { get; set; } + } + /// ///The input fields for which customers to add to or remove from the discount. /// - [Description("The input fields for which customers to add to or remove from the discount.")] - public class DiscountCustomersInput : GraphQLObject - { + [Description("The input fields for which customers to add to or remove from the discount.")] + public class DiscountCustomersInput : GraphQLObject + { /// ///A list of customers to add to the current list of customers who can use the discount. /// - [Description("A list of customers to add to the current list of customers who can use the discount.")] - public IEnumerable? add { get; set; } - + [Description("A list of customers to add to the current list of customers who can use the discount.")] + public IEnumerable? add { get; set; } + /// ///A list of customers to remove from the current list of customers who can use the discount. /// - [Description("A list of customers to remove from the current list of customers who can use the discount.")] - public IEnumerable? remove { get; set; } - } - + [Description("A list of customers to remove from the current list of customers who can use the discount.")] + public IEnumerable? remove { get; set; } + } + /// ///The type of discount that will be applied. Currently, only a percentage discount is supported. /// - [Description("The type of discount that will be applied. Currently, only a percentage discount is supported.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountAmount), typeDiscriminator: "DiscountAmount")] - [JsonDerivedType(typeof(DiscountPercentage), typeDiscriminator: "DiscountPercentage")] - public interface IDiscountEffect : IGraphQLObject - { - public DiscountAmount? AsDiscountAmount() => this as DiscountAmount; - public DiscountPercentage? AsDiscountPercentage() => this as DiscountPercentage; - } - + [Description("The type of discount that will be applied. Currently, only a percentage discount is supported.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountAmount), typeDiscriminator: "DiscountAmount")] + [JsonDerivedType(typeof(DiscountPercentage), typeDiscriminator: "DiscountPercentage")] + public interface IDiscountEffect : IGraphQLObject + { + public DiscountAmount? AsDiscountAmount() => this as DiscountAmount; + public DiscountPercentage? AsDiscountPercentage() => this as DiscountPercentage; + } + /// ///The input fields for how the discount will be applied. Currently, only percentage off is supported. /// - [Description("The input fields for how the discount will be applied. Currently, only percentage off is supported.")] - public class DiscountEffectInput : GraphQLObject - { + [Description("The input fields for how the discount will be applied. Currently, only percentage off is supported.")] + public class DiscountEffectInput : GraphQLObject + { /// ///The percentage value of the discount. Value must be between 0.00 - 1.00. /// - [Description("The percentage value of the discount. Value must be between 0.00 - 1.00.")] - public decimal? percentage { get; set; } - + [Description("The percentage value of the discount. Value must be between 0.00 - 1.00.")] + public decimal? percentage { get; set; } + /// ///The value of the discount. /// - [Description("The value of the discount.")] - public decimal? amount { get; set; } - } - + [Description("The value of the discount.")] + public decimal? amount { get; set; } + } + /// ///Possible error codes that can be returned by `DiscountUserError`. /// - [Description("Possible error codes that can be returned by `DiscountUserError`.")] - public enum DiscountErrorCode - { + [Description("Possible error codes that can be returned by `DiscountUserError`.")] + public enum DiscountErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value should be equal to the value allowed. /// - [Description("The input value should be equal to the value allowed.")] - EQUAL_TO, + [Description("The input value should be equal to the value allowed.")] + EQUAL_TO, /// ///The input value should be greater than the minimum allowed value. /// - [Description("The input value should be greater than the minimum allowed value.")] - GREATER_THAN, + [Description("The input value should be greater than the minimum allowed value.")] + GREATER_THAN, /// ///The input value should be greater than or equal to the minimum value allowed. /// - [Description("The input value should be greater than or equal to the minimum value allowed.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("The input value should be greater than or equal to the minimum value allowed.")] + GREATER_THAN_OR_EQUAL_TO, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, /// ///The input value should be less than the maximum value allowed. /// - [Description("The input value should be less than the maximum value allowed.")] - LESS_THAN, + [Description("The input value should be less than the maximum value allowed.")] + LESS_THAN, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///Too many arguments provided. /// - [Description("Too many arguments provided.")] - TOO_MANY_ARGUMENTS, + [Description("Too many arguments provided.")] + TOO_MANY_ARGUMENTS, /// ///Missing a required argument. /// - [Description("Missing a required argument.")] - MISSING_ARGUMENT, + [Description("Missing a required argument.")] + MISSING_ARGUMENT, /// ///The active period overlaps with other automatic discounts. At any given time, only 25 automatic discounts can be active. /// - [Description("The active period overlaps with other automatic discounts. At any given time, only 25 automatic discounts can be active.")] - ACTIVE_PERIOD_OVERLAP, + [Description("The active period overlaps with other automatic discounts. At any given time, only 25 automatic discounts can be active.")] + ACTIVE_PERIOD_OVERLAP, /// ///The end date should be after the start date. /// - [Description("The end date should be after the start date.")] - END_DATE_BEFORE_START_DATE, + [Description("The end date should be after the start date.")] + END_DATE_BEFORE_START_DATE, /// ///The value exceeded the maximum allowed value. /// - [Description("The value exceeded the maximum allowed value.")] - EXCEEDED_MAX, + [Description("The value exceeded the maximum allowed value.")] + EXCEEDED_MAX, /// ///Specify a minimum subtotal or a quantity, but not both. /// - [Description("Specify a minimum subtotal or a quantity, but not both.")] - MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT, + [Description("Specify a minimum subtotal or a quantity, but not both.")] + MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT, /// ///The value is outside of the allowed range. /// - [Description("The value is outside of the allowed range.")] - VALUE_OUTSIDE_RANGE, + [Description("The value is outside of the allowed range.")] + VALUE_OUTSIDE_RANGE, /// ///The attribute selection contains conflicting settings. /// - [Description("The attribute selection contains conflicting settings.")] - CONFLICT, + [Description("The attribute selection contains conflicting settings.")] + CONFLICT, /// ///The value is already present through another selection. /// - [Description("The value is already present through another selection.")] - IMPLICIT_DUPLICATE, + [Description("The value is already present through another selection.")] + IMPLICIT_DUPLICATE, /// ///The input value is already present. /// - [Description("The input value is already present.")] - DUPLICATE, + [Description("The input value is already present.")] + DUPLICATE, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The `combinesWith` settings are invalid for the discount class. /// - [Description("The `combinesWith` settings are invalid for the discount class.")] - INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS, + [Description("The `combinesWith` settings are invalid for the discount class.")] + INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS, /// ///The discountClass is invalid for the price rule. /// - [Description("The discountClass is invalid for the price rule.")] - INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE, + [Description("The discountClass is invalid for the price rule.")] + INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE, /// ///The active period overlaps with too many other app-provided discounts. There's a limit on the number of app discounts that can be active at any given time. /// - [Description("The active period overlaps with too many other app-provided discounts. There's a limit on the number of app discounts that can be active at any given time.")] - MAX_APP_DISCOUNTS, + [Description("The active period overlaps with too many other app-provided discounts. There's a limit on the number of app discounts that can be active at any given time.")] + MAX_APP_DISCOUNTS, /// ///A discount cannot have both appliesOnOneTimePurchase and appliesOnSubscription set to false. /// - [Description("A discount cannot have both appliesOnOneTimePurchase and appliesOnSubscription set to false.")] - APPLIES_ON_NOTHING, + [Description("A discount cannot have both appliesOnOneTimePurchase and appliesOnSubscription set to false.")] + APPLIES_ON_NOTHING, /// ///Recurring cycle limit must be a valid integer greater than or equal to 0. /// - [Description("Recurring cycle limit must be a valid integer greater than or equal to 0.")] - RECURRING_CYCLE_LIMIT_NOT_A_VALID_INTEGER, + [Description("Recurring cycle limit must be a valid integer greater than or equal to 0.")] + RECURRING_CYCLE_LIMIT_NOT_A_VALID_INTEGER, /// ///Recurring cycle limit must be 1 when discount does not apply to subscription items. /// - [Description("Recurring cycle limit must be 1 when discount does not apply to subscription items.")] - MULTIPLE_RECURRING_CYCLE_LIMIT_FOR_NON_SUBSCRIPTION_ITEMS, + [Description("Recurring cycle limit must be 1 when discount does not apply to subscription items.")] + MULTIPLE_RECURRING_CYCLE_LIMIT_FOR_NON_SUBSCRIPTION_ITEMS, /// ///Either function ID or function handle must be provided. /// - [Description("Either function ID or function handle must be provided.")] - MISSING_FUNCTION_IDENTIFIER, + [Description("Either function ID or function handle must be provided.")] + MISSING_FUNCTION_IDENTIFIER, /// ///Only one of function ID or function handle is allowed. /// - [Description("Only one of function ID or function handle is allowed.")] - MULTIPLE_FUNCTION_IDENTIFIERS, - } - - public static class DiscountErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string PRESENT = @"PRESENT"; - public const string EQUAL_TO = @"EQUAL_TO"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string INVALID = @"INVALID"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - public const string LESS_THAN = @"LESS_THAN"; - public const string TAKEN = @"TAKEN"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string TOO_MANY_ARGUMENTS = @"TOO_MANY_ARGUMENTS"; - public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; - public const string ACTIVE_PERIOD_OVERLAP = @"ACTIVE_PERIOD_OVERLAP"; - public const string END_DATE_BEFORE_START_DATE = @"END_DATE_BEFORE_START_DATE"; - public const string EXCEEDED_MAX = @"EXCEEDED_MAX"; - public const string MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT = @"MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT"; - public const string VALUE_OUTSIDE_RANGE = @"VALUE_OUTSIDE_RANGE"; - public const string CONFLICT = @"CONFLICT"; - public const string IMPLICIT_DUPLICATE = @"IMPLICIT_DUPLICATE"; - public const string DUPLICATE = @"DUPLICATE"; - public const string INCLUSION = @"INCLUSION"; - public const string INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS = @"INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS"; - public const string INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE = @"INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE"; - public const string MAX_APP_DISCOUNTS = @"MAX_APP_DISCOUNTS"; - public const string APPLIES_ON_NOTHING = @"APPLIES_ON_NOTHING"; - public const string RECURRING_CYCLE_LIMIT_NOT_A_VALID_INTEGER = @"RECURRING_CYCLE_LIMIT_NOT_A_VALID_INTEGER"; - public const string MULTIPLE_RECURRING_CYCLE_LIMIT_FOR_NON_SUBSCRIPTION_ITEMS = @"MULTIPLE_RECURRING_CYCLE_LIMIT_FOR_NON_SUBSCRIPTION_ITEMS"; - public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; - public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; - } - + [Description("Only one of function ID or function handle is allowed.")] + MULTIPLE_FUNCTION_IDENTIFIERS, + } + + public static class DiscountErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string PRESENT = @"PRESENT"; + public const string EQUAL_TO = @"EQUAL_TO"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string INVALID = @"INVALID"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + public const string LESS_THAN = @"LESS_THAN"; + public const string TAKEN = @"TAKEN"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string TOO_MANY_ARGUMENTS = @"TOO_MANY_ARGUMENTS"; + public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; + public const string ACTIVE_PERIOD_OVERLAP = @"ACTIVE_PERIOD_OVERLAP"; + public const string END_DATE_BEFORE_START_DATE = @"END_DATE_BEFORE_START_DATE"; + public const string EXCEEDED_MAX = @"EXCEEDED_MAX"; + public const string MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT = @"MINIMUM_SUBTOTAL_AND_QUANTITY_RANGE_BOTH_PRESENT"; + public const string VALUE_OUTSIDE_RANGE = @"VALUE_OUTSIDE_RANGE"; + public const string CONFLICT = @"CONFLICT"; + public const string IMPLICIT_DUPLICATE = @"IMPLICIT_DUPLICATE"; + public const string DUPLICATE = @"DUPLICATE"; + public const string INCLUSION = @"INCLUSION"; + public const string INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS = @"INVALID_COMBINES_WITH_FOR_DISCOUNT_CLASS"; + public const string INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE = @"INVALID_DISCOUNT_CLASS_FOR_PRICE_RULE"; + public const string MAX_APP_DISCOUNTS = @"MAX_APP_DISCOUNTS"; + public const string APPLIES_ON_NOTHING = @"APPLIES_ON_NOTHING"; + public const string RECURRING_CYCLE_LIMIT_NOT_A_VALID_INTEGER = @"RECURRING_CYCLE_LIMIT_NOT_A_VALID_INTEGER"; + public const string MULTIPLE_RECURRING_CYCLE_LIMIT_FOR_NON_SUBSCRIPTION_ITEMS = @"MULTIPLE_RECURRING_CYCLE_LIMIT_FOR_NON_SUBSCRIPTION_ITEMS"; + public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; + public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; + } + /// ///The type used to target the items required for discount eligibility, or the items to which the application of a discount might apply. For example, for a customer to be eligible for a discount, they're required to add an item from a specified collection to their order. Alternatively, a customer might be required to add a specific product or product variant. When using this type to target which items the discount will apply to, the discount might apply to all items on the order, or to specific products and product variants, or items in a given collection. /// - [Description("The type used to target the items required for discount eligibility, or the items to which the application of a discount might apply. For example, for a customer to be eligible for a discount, they're required to add an item from a specified collection to their order. Alternatively, a customer might be required to add a specific product or product variant. When using this type to target which items the discount will apply to, the discount might apply to all items on the order, or to specific products and product variants, or items in a given collection.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AllDiscountItems), typeDiscriminator: "AllDiscountItems")] - [JsonDerivedType(typeof(DiscountCollections), typeDiscriminator: "DiscountCollections")] - [JsonDerivedType(typeof(DiscountProducts), typeDiscriminator: "DiscountProducts")] - public interface IDiscountItems : IGraphQLObject - { - public AllDiscountItems? AsAllDiscountItems() => this as AllDiscountItems; - public DiscountCollections? AsDiscountCollections() => this as DiscountCollections; - public DiscountProducts? AsDiscountProducts() => this as DiscountProducts; - } - + [Description("The type used to target the items required for discount eligibility, or the items to which the application of a discount might apply. For example, for a customer to be eligible for a discount, they're required to add an item from a specified collection to their order. Alternatively, a customer might be required to add a specific product or product variant. When using this type to target which items the discount will apply to, the discount might apply to all items on the order, or to specific products and product variants, or items in a given collection.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AllDiscountItems), typeDiscriminator: "AllDiscountItems")] + [JsonDerivedType(typeof(DiscountCollections), typeDiscriminator: "DiscountCollections")] + [JsonDerivedType(typeof(DiscountProducts), typeDiscriminator: "DiscountProducts")] + public interface IDiscountItems : IGraphQLObject + { + public AllDiscountItems? AsAllDiscountItems() => this as AllDiscountItems; + public DiscountCollections? AsDiscountCollections() => this as DiscountCollections; + public DiscountProducts? AsDiscountProducts() => this as DiscountProducts; + } + /// ///The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID. /// - [Description("The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID.")] - public class DiscountItemsInput : GraphQLObject - { + [Description("The input fields for the items attached to a discount. You can specify the discount items by product ID or collection ID.")] + public class DiscountItemsInput : GraphQLObject + { /// ///The ///[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and ///[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant) ///that the discount applies to. /// - [Description("The\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and\n[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant)\nthat the discount applies to.")] - public DiscountProductsInput? products { get; set; } - + [Description("The\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and\n[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant)\nthat the discount applies to.")] + public DiscountProductsInput? products { get; set; } + /// ///The collections that are attached to a discount. /// - [Description("The collections that are attached to a discount.")] - public DiscountCollectionsInput? collections { get; set; } - + [Description("The collections that are attached to a discount.")] + public DiscountCollectionsInput? collections { get; set; } + /// ///Whether all items should be selected for the discount. Not supported for Buy X get Y discounts. /// - [Description("Whether all items should be selected for the discount. Not supported for Buy X get Y discounts.")] - public bool? all { get; set; } - } - + [Description("Whether all items should be selected for the discount. Not supported for Buy X get Y discounts.")] + public bool? all { get; set; } + } + /// ///Specifies the minimum item quantity required for discount eligibility, helping merchants create volume-based promotions that encourage larger purchases. This threshold applies to qualifying items in the customer's cart. /// @@ -37736,89 +37736,89 @@ public class DiscountItemsInput : GraphQLObject /// ///Learn more about [discount requirements](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountApplication). /// - [Description("Specifies the minimum item quantity required for discount eligibility, helping merchants create volume-based promotions that encourage larger purchases. This threshold applies to qualifying items in the customer's cart.\n\nFor example, a \"Buy 3, Get 10% Off\" promotion would set the minimum quantity to 3 items.\n\nLearn more about [discount requirements](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountApplication).")] - public class DiscountMinimumQuantity : GraphQLObject, IDiscountMinimumRequirement - { + [Description("Specifies the minimum item quantity required for discount eligibility, helping merchants create volume-based promotions that encourage larger purchases. This threshold applies to qualifying items in the customer's cart.\n\nFor example, a \"Buy 3, Get 10% Off\" promotion would set the minimum quantity to 3 items.\n\nLearn more about [discount requirements](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountApplication).")] + public class DiscountMinimumQuantity : GraphQLObject, IDiscountMinimumRequirement + { /// ///The minimum quantity of items that's required for the discount to be applied. /// - [Description("The minimum quantity of items that's required for the discount to be applied.")] - [NonNull] - public ulong? greaterThanOrEqualToQuantity { get; set; } - } - + [Description("The minimum quantity of items that's required for the discount to be applied.")] + [NonNull] + public ulong? greaterThanOrEqualToQuantity { get; set; } + } + /// ///The input fields for the minimum quantity required for the discount. /// - [Description("The input fields for the minimum quantity required for the discount.")] - public class DiscountMinimumQuantityInput : GraphQLObject - { + [Description("The input fields for the minimum quantity required for the discount.")] + public class DiscountMinimumQuantityInput : GraphQLObject + { /// ///The minimum quantity of items that's required for the discount to be applied. /// - [Description("The minimum quantity of items that's required for the discount to be applied.")] - public ulong? greaterThanOrEqualToQuantity { get; set; } - } - + [Description("The minimum quantity of items that's required for the discount to be applied.")] + public ulong? greaterThanOrEqualToQuantity { get; set; } + } + /// ///The type of minimum requirement that must be met for the discount to be applied. For example, a customer must spend a minimum subtotal to be eligible for the discount. Alternatively, a customer must purchase a minimum quantity of items to be eligible for the discount. /// - [Description("The type of minimum requirement that must be met for the discount to be applied. For example, a customer must spend a minimum subtotal to be eligible for the discount. Alternatively, a customer must purchase a minimum quantity of items to be eligible for the discount.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountMinimumQuantity), typeDiscriminator: "DiscountMinimumQuantity")] - [JsonDerivedType(typeof(DiscountMinimumSubtotal), typeDiscriminator: "DiscountMinimumSubtotal")] - public interface IDiscountMinimumRequirement : IGraphQLObject - { - public DiscountMinimumQuantity? AsDiscountMinimumQuantity() => this as DiscountMinimumQuantity; - public DiscountMinimumSubtotal? AsDiscountMinimumSubtotal() => this as DiscountMinimumSubtotal; - } - + [Description("The type of minimum requirement that must be met for the discount to be applied. For example, a customer must spend a minimum subtotal to be eligible for the discount. Alternatively, a customer must purchase a minimum quantity of items to be eligible for the discount.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountMinimumQuantity), typeDiscriminator: "DiscountMinimumQuantity")] + [JsonDerivedType(typeof(DiscountMinimumSubtotal), typeDiscriminator: "DiscountMinimumSubtotal")] + public interface IDiscountMinimumRequirement : IGraphQLObject + { + public DiscountMinimumQuantity? AsDiscountMinimumQuantity() => this as DiscountMinimumQuantity; + public DiscountMinimumSubtotal? AsDiscountMinimumSubtotal() => this as DiscountMinimumSubtotal; + } + /// ///The input fields for the minimum quantity or subtotal required for a discount. /// - [Description("The input fields for the minimum quantity or subtotal required for a discount.")] - public class DiscountMinimumRequirementInput : GraphQLObject - { + [Description("The input fields for the minimum quantity or subtotal required for a discount.")] + public class DiscountMinimumRequirementInput : GraphQLObject + { /// ///The minimum required quantity. /// - [Description("The minimum required quantity.")] - public DiscountMinimumQuantityInput? quantity { get; set; } - + [Description("The minimum required quantity.")] + public DiscountMinimumQuantityInput? quantity { get; set; } + /// ///The minimum required subtotal. /// - [Description("The minimum required subtotal.")] - public DiscountMinimumSubtotalInput? subtotal { get; set; } - } - + [Description("The minimum required subtotal.")] + public DiscountMinimumSubtotalInput? subtotal { get; set; } + } + /// ///The minimum subtotal required for the discount to apply. /// - [Description("The minimum subtotal required for the discount to apply.")] - public class DiscountMinimumSubtotal : GraphQLObject, IDiscountMinimumRequirement - { + [Description("The minimum subtotal required for the discount to apply.")] + public class DiscountMinimumSubtotal : GraphQLObject, IDiscountMinimumRequirement + { /// ///The minimum subtotal that's required for the discount to be applied. /// - [Description("The minimum subtotal that's required for the discount to be applied.")] - [NonNull] - public MoneyV2? greaterThanOrEqualToSubtotal { get; set; } - } - + [Description("The minimum subtotal that's required for the discount to be applied.")] + [NonNull] + public MoneyV2? greaterThanOrEqualToSubtotal { get; set; } + } + /// ///The input fields for the minimum subtotal required for a discount. /// - [Description("The input fields for the minimum subtotal required for a discount.")] - public class DiscountMinimumSubtotalInput : GraphQLObject - { + [Description("The input fields for the minimum subtotal required for a discount.")] + public class DiscountMinimumSubtotalInput : GraphQLObject + { /// ///The minimum subtotal that's required for the discount to be applied. /// - [Description("The minimum subtotal that's required for the discount to be applied.")] - public decimal? greaterThanOrEqualToSubtotal { get; set; } - } - + [Description("The minimum subtotal that's required for the discount to be applied.")] + public decimal? greaterThanOrEqualToSubtotal { get; set; } + } + /// ///The `DiscountNode` object enables you to manage [discounts](https://help.shopify.com/manual/discounts), which are applied at checkout or on a cart. /// @@ -37828,114 +37828,114 @@ public class DiscountMinimumSubtotalInput : GraphQLObject - [Description("The `DiscountNode` object enables you to manage [discounts](https://help.shopify.com/manual/discounts), which are applied at checkout or on a cart.\n\n\nDiscounts are a way for merchants to promote sales and special offers, or as customer loyalty rewards. Discounts can apply to [orders, products, or shipping](https://shopify.dev/docs/apps/build/discounts#discount-classes), and can be either automatic or code-based. For example, you can offer customers a buy X get Y discount that's automatically applied when purchases meet specific criteria. Or, you can offer discounts where customers have to enter a code to redeem an amount off discount on products, variants, or collections in a store.\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding related mutations, limitations, and considerations.")] - public class DiscountNode : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer - { + [Description("The `DiscountNode` object enables you to manage [discounts](https://help.shopify.com/manual/discounts), which are applied at checkout or on a cart.\n\n\nDiscounts are a way for merchants to promote sales and special offers, or as customer loyalty rewards. Discounts can apply to [orders, products, or shipping](https://shopify.dev/docs/apps/build/discounts#discount-classes), and can be either automatic or code-based. For example, you can offer customers a buy X get Y discount that's automatically applied when purchases meet specific criteria. Or, you can offer discounts where customers have to enter a code to redeem an amount off discount on products, variants, or collections in a store.\n\nLearn more about working with [Shopify's discount model](https://shopify.dev/docs/apps/build/discounts),\nincluding related mutations, limitations, and considerations.")] + public class DiscountNode : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer + { /// ///A discount that's applied at checkout or on cart. /// /// ///Discounts can be [automatic or code-based](https://shopify.dev/docs/apps/build/discounts#discount-methods). /// - [Description("A discount that's applied at checkout or on cart.\n\n\nDiscounts can be [automatic or code-based](https://shopify.dev/docs/apps/build/discounts#discount-methods).")] - [NonNull] - public IDiscount? discount { get; set; } - + [Description("A discount that's applied at checkout or on cart.\n\n\nDiscounts can be [automatic or code-based](https://shopify.dev/docs/apps/build/discounts#discount-methods).")] + [NonNull] + public IDiscount? discount { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + } + /// ///An auto-generated type for paginating through multiple DiscountNodes. /// - [Description("An auto-generated type for paginating through multiple DiscountNodes.")] - public class DiscountNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountNodes.")] + public class DiscountNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DiscountNode and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountNode and a cursor during pagination.")] - public class DiscountNodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountNode and a cursor during pagination.")] + public class DiscountNodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountNodeEdge. /// - [Description("The item at the end of DiscountNodeEdge.")] - [NonNull] - public DiscountNode? node { get; set; } - } - + [Description("The item at the end of DiscountNodeEdge.")] + [NonNull] + public DiscountNode? node { get; set; } + } + /// ///Defines quantity-based discount rules that specify how many items are eligible for a discount effect. This object enables bulk purchase incentives and tiered pricing strategies. /// @@ -37943,43 +37943,43 @@ public class DiscountNodeEdge : GraphQLObject, IEdge - [Description("Defines quantity-based discount rules that specify how many items are eligible for a discount effect. This object enables bulk purchase incentives and tiered pricing strategies.\n\nFor example, a \"Buy 4 candles, get 2 candles 50% off (mix and match)\" promotion would specify a quantity threshold of 2 items that will receive a percentage discount effect, encouraging customers to purchase more items to unlock savings.\n\nThe configuration combines quantity requirements with discount effects, allowing merchants to create sophisticated pricing rules that reward larger purchases and increase average order values.")] - public class DiscountOnQuantity : GraphQLObject, IDiscountCustomerGetsValue - { + [Description("Defines quantity-based discount rules that specify how many items are eligible for a discount effect. This object enables bulk purchase incentives and tiered pricing strategies.\n\nFor example, a \"Buy 4 candles, get 2 candles 50% off (mix and match)\" promotion would specify a quantity threshold of 2 items that will receive a percentage discount effect, encouraging customers to purchase more items to unlock savings.\n\nThe configuration combines quantity requirements with discount effects, allowing merchants to create sophisticated pricing rules that reward larger purchases and increase average order values.")] + public class DiscountOnQuantity : GraphQLObject, IDiscountCustomerGetsValue + { /// ///The discount's effect on qualifying items. /// - [Description("The discount's effect on qualifying items.")] - [NonNull] - public IDiscountEffect? effect { get; set; } - + [Description("The discount's effect on qualifying items.")] + [NonNull] + public IDiscountEffect? effect { get; set; } + /// ///The number of items being discounted. The customer must have at least this many items of specified products or product variants in their order to be eligible for the discount. /// - [Description("The number of items being discounted. The customer must have at least this many items of specified products or product variants in their order to be eligible for the discount.")] - [NonNull] - public DiscountQuantity? quantity { get; set; } - } - + [Description("The number of items being discounted. The customer must have at least this many items of specified products or product variants in their order to be eligible for the discount.")] + [NonNull] + public DiscountQuantity? quantity { get; set; } + } + /// ///The input fields for the quantity of items discounted and the discount value. /// - [Description("The input fields for the quantity of items discounted and the discount value.")] - public class DiscountOnQuantityInput : GraphQLObject - { + [Description("The input fields for the quantity of items discounted and the discount value.")] + public class DiscountOnQuantityInput : GraphQLObject + { /// ///The quantity of items that are discounted. /// - [Description("The quantity of items that are discounted.")] - public ulong? quantity { get; set; } - + [Description("The quantity of items that are discounted.")] + public ulong? quantity { get; set; } + /// ///The percentage value of the discount. /// - [Description("The percentage value of the discount.")] - public DiscountEffectInput? effect { get; set; } - } - + [Description("The percentage value of the discount.")] + public DiscountEffectInput? effect { get; set; } + } + /// ///Creates percentage-based discounts that reduce item prices by a specified percentage amount. This gives merchants a flexible way to offer proportional savings that automatically scale with order value. /// @@ -37987,86 +37987,86 @@ public class DiscountOnQuantityInput : GraphQLObject /// ///Learn more about [discount types](https://help.shopify.com/manual/discounts/). /// - [Description("Creates percentage-based discounts that reduce item prices by a specified percentage amount. This gives merchants a flexible way to offer proportional savings that automatically scale with order value.\n\nFor example, a \"20% off all winter clothing\" promotion would use this object to apply consistent percentage savings across different price points.\n\nLearn more about [discount types](https://help.shopify.com/manual/discounts/).")] - public class DiscountPercentage : GraphQLObject, IDiscountCustomerGetsValue, IDiscountEffect - { + [Description("Creates percentage-based discounts that reduce item prices by a specified percentage amount. This gives merchants a flexible way to offer proportional savings that automatically scale with order value.\n\nFor example, a \"20% off all winter clothing\" promotion would use this object to apply consistent percentage savings across different price points.\n\nLearn more about [discount types](https://help.shopify.com/manual/discounts/).")] + public class DiscountPercentage : GraphQLObject, IDiscountCustomerGetsValue, IDiscountEffect + { /// ///The percentage value of the discount. /// - [Description("The percentage value of the discount.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage value of the discount.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///A list of products and product variants that the discount can have as a prerequisite or a list of products and product variants to which the discount can be applied. /// - [Description("A list of products and product variants that the discount can have as a prerequisite or a list of products and product variants to which the discount can be applied.")] - public class DiscountProducts : GraphQLObject, IDiscountItems - { + [Description("A list of products and product variants that the discount can have as a prerequisite or a list of products and product variants to which the discount can be applied.")] + public class DiscountProducts : GraphQLObject, IDiscountItems + { /// ///The list of product variants that the discount can have as a prerequisite or the list of product variants to which the discount can be applied. /// - [Description("The list of product variants that the discount can have as a prerequisite or the list of product variants to which the discount can be applied.")] - [NonNull] - public ProductVariantConnection? productVariants { get; set; } - + [Description("The list of product variants that the discount can have as a prerequisite or the list of product variants to which the discount can be applied.")] + [NonNull] + public ProductVariantConnection? productVariants { get; set; } + /// ///The list of products that the discount can have as a prerequisite or the list of products to which the discount can be applied. /// - [Description("The list of products that the discount can have as a prerequisite or the list of products to which the discount can be applied.")] - [NonNull] - public ProductConnection? products { get; set; } - } - + [Description("The list of products that the discount can have as a prerequisite or the list of products to which the discount can be applied.")] + [NonNull] + public ProductConnection? products { get; set; } + } + /// ///The input fields for adding and removing ///[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and ///[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant) ///as prerequisites or as eligible items for a discount. /// - [Description("The input fields for adding and removing\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and\n[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant)\nas prerequisites or as eligible items for a discount.")] - public class DiscountProductsInput : GraphQLObject - { + [Description("The input fields for adding and removing\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) and\n[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant)\nas prerequisites or as eligible items for a discount.")] + public class DiscountProductsInput : GraphQLObject + { /// ///The IDs of the products to add as prerequisites or as eligible items for a discount. /// - [Description("The IDs of the products to add as prerequisites or as eligible items for a discount.")] - public IEnumerable? productsToAdd { get; set; } - + [Description("The IDs of the products to add as prerequisites or as eligible items for a discount.")] + public IEnumerable? productsToAdd { get; set; } + /// ///The IDs of the products to remove as prerequisites or as eligible items for a discount. /// - [Description("The IDs of the products to remove as prerequisites or as eligible items for a discount.")] - public IEnumerable? productsToRemove { get; set; } - + [Description("The IDs of the products to remove as prerequisites or as eligible items for a discount.")] + public IEnumerable? productsToRemove { get; set; } + /// ///The IDs of the product variants to add as prerequisites or as eligible items for a discount. /// - [Description("The IDs of the product variants to add as prerequisites or as eligible items for a discount.")] - public IEnumerable? productVariantsToAdd { get; set; } - + [Description("The IDs of the product variants to add as prerequisites or as eligible items for a discount.")] + public IEnumerable? productVariantsToAdd { get; set; } + /// ///The IDs of the product variants to remove as prerequisites or as eligible items for a discount. /// - [Description("The IDs of the product variants to remove as prerequisites or as eligible items for a discount.")] - public IEnumerable? productVariantsToRemove { get; set; } - } - + [Description("The IDs of the product variants to remove as prerequisites or as eligible items for a discount.")] + public IEnumerable? productVariantsToRemove { get; set; } + } + /// ///A purchase amount in the context of a discount. This object can be used to define the minimum purchase amount required for a discount to be applicable. /// - [Description("A purchase amount in the context of a discount. This object can be used to define the minimum purchase amount required for a discount to be applicable.")] - public class DiscountPurchaseAmount : GraphQLObject, IDiscountCustomerBuysValue - { + [Description("A purchase amount in the context of a discount. This object can be used to define the minimum purchase amount required for a discount to be applicable.")] + public class DiscountPurchaseAmount : GraphQLObject, IDiscountCustomerBuysValue + { /// ///The purchase amount in decimal format. /// - [Description("The purchase amount in decimal format.")] - [NonNull] - public decimal? amount { get; set; } - } - + [Description("The purchase amount in decimal format.")] + [NonNull] + public decimal? amount { get; set; } + } + /// ///Defines a quantity threshold for discount eligibility or application. This simple object specifies the number of items required to trigger or calculate discount benefits. /// @@ -38074,1633 +38074,1633 @@ public class DiscountPurchaseAmount : GraphQLObject, IDi /// ///The quantity value determines how discounts interact with cart contents, whether setting minimum purchase requirements or defining quantity-based discount calculations. /// - [Description("Defines a quantity threshold for discount eligibility or application. This simple object specifies the number of items required to trigger or calculate discount benefits.\n\nFor example, a \"Buy 3, Get 1 Free\" promotion would use DiscountQuantity to define the minimum purchase quantity of 3 items, or a bulk discount might specify quantity tiers like 10+ items for wholesale pricing.\n\nThe quantity value determines how discounts interact with cart contents, whether setting minimum purchase requirements or defining quantity-based discount calculations.")] - public class DiscountQuantity : GraphQLObject, IDiscountCustomerBuysValue - { + [Description("Defines a quantity threshold for discount eligibility or application. This simple object specifies the number of items required to trigger or calculate discount benefits.\n\nFor example, a \"Buy 3, Get 1 Free\" promotion would use DiscountQuantity to define the minimum purchase quantity of 3 items, or a bulk discount might specify quantity tiers like 10+ items for wholesale pricing.\n\nThe quantity value determines how discounts interact with cart contents, whether setting minimum purchase requirements or defining quantity-based discount calculations.")] + public class DiscountQuantity : GraphQLObject, IDiscountCustomerBuysValue + { /// ///The quantity of items. /// - [Description("The quantity of items.")] - [NonNull] - public ulong? quantity { get; set; } - } - + [Description("The quantity of items.")] + [NonNull] + public ulong? quantity { get; set; } + } + /// ///A code that a customer can use at checkout to receive a discount. For example, a customer can use the redeem code 'SUMMER20' at checkout to receive a 20% discount on their entire order. /// - [Description("A code that a customer can use at checkout to receive a discount. For example, a customer can use the redeem code 'SUMMER20' at checkout to receive a 20% discount on their entire order.")] - public class DiscountRedeemCode : GraphQLObject - { + [Description("A code that a customer can use at checkout to receive a discount. For example, a customer can use the redeem code 'SUMMER20' at checkout to receive a 20% discount on their entire order.")] + public class DiscountRedeemCode : GraphQLObject + { /// ///The number of times that the discount redeem code has been used. This value is updated asynchronously and can be different than the actual usage count. /// - [Description("The number of times that the discount redeem code has been used. This value is updated asynchronously and can be different than the actual usage count.")] - [NonNull] - public int? asyncUsageCount { get; set; } - + [Description("The number of times that the discount redeem code has been used. This value is updated asynchronously and can be different than the actual usage count.")] + [NonNull] + public int? asyncUsageCount { get; set; } + /// ///The code that a customer can use at checkout to receive a discount. /// - [Description("The code that a customer can use at checkout to receive a discount.")] - [NonNull] - public string? code { get; set; } - + [Description("The code that a customer can use at checkout to receive a discount.")] + [NonNull] + public string? code { get; set; } + /// ///The application that created the discount redeem code. /// - [Description("The application that created the discount redeem code.")] - public App? createdBy { get; set; } - + [Description("The application that created the discount redeem code.")] + public App? createdBy { get; set; } + /// ///A globally-unique ID of the discount redeem code. /// - [Description("A globally-unique ID of the discount redeem code.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID of the discount redeem code.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `discountRedeemCodeBulkAdd` mutation. /// - [Description("Return type for `discountRedeemCodeBulkAdd` mutation.")] - public class DiscountRedeemCodeBulkAddPayload : GraphQLObject - { + [Description("Return type for `discountRedeemCodeBulkAdd` mutation.")] + public class DiscountRedeemCodeBulkAddPayload : GraphQLObject + { /// ///The ID of bulk operation that creates multiple unique discount codes. ///You can use the ///[`discountRedeemCodeBulkCreation` query](https://shopify.dev/api/admin-graphql/latest/queries/discountRedeemCodeBulkCreation) ///to track the status of the bulk operation. /// - [Description("The ID of bulk operation that creates multiple unique discount codes.\nYou can use the\n[`discountRedeemCodeBulkCreation` query](https://shopify.dev/api/admin-graphql/latest/queries/discountRedeemCodeBulkCreation)\nto track the status of the bulk operation.")] - public DiscountRedeemCodeBulkCreation? bulkCreation { get; set; } - + [Description("The ID of bulk operation that creates multiple unique discount codes.\nYou can use the\n[`discountRedeemCodeBulkCreation` query](https://shopify.dev/api/admin-graphql/latest/queries/discountRedeemCodeBulkCreation)\nto track the status of the bulk operation.")] + public DiscountRedeemCodeBulkCreation? bulkCreation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The properties and status of a bulk discount redeem code creation operation. /// - [Description("The properties and status of a bulk discount redeem code creation operation.")] - public class DiscountRedeemCodeBulkCreation : GraphQLObject, INode - { + [Description("The properties and status of a bulk discount redeem code creation operation.")] + public class DiscountRedeemCodeBulkCreation : GraphQLObject, INode + { /// ///The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation. /// - [Description("The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation.")] - [NonNull] - public DiscountRedeemCodeBulkCreationCodeConnection? codes { get; set; } - + [Description("The result of each code creation operation associated with the bulk creation operation including any errors that might have occurred during the operation.")] + [NonNull] + public DiscountRedeemCodeBulkCreationCodeConnection? codes { get; set; } + /// ///The number of codes to create. /// - [Description("The number of codes to create.")] - [NonNull] - public int? codesCount { get; set; } - + [Description("The number of codes to create.")] + [NonNull] + public int? codesCount { get; set; } + /// ///The date and time when the bulk creation was created. /// - [Description("The date and time when the bulk creation was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the bulk creation was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The code discount associated with the created codes. /// - [Description("The code discount associated with the created codes.")] - public DiscountCodeNode? discountCode { get; set; } - + [Description("The code discount associated with the created codes.")] + public DiscountCodeNode? discountCode { get; set; } + /// ///Whether the bulk creation is still queued (`false`) or has been run (`true`). /// - [Description("Whether the bulk creation is still queued (`false`) or has been run (`true`).")] - [NonNull] - public bool? done { get; set; } - + [Description("Whether the bulk creation is still queued (`false`) or has been run (`true`).")] + [NonNull] + public bool? done { get; set; } + /// ///The number of codes that weren't created successfully. /// - [Description("The number of codes that weren't created successfully.")] - [NonNull] - public int? failedCount { get; set; } - + [Description("The number of codes that weren't created successfully.")] + [NonNull] + public int? failedCount { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The number of codes created successfully. /// - [Description("The number of codes created successfully.")] - [NonNull] - public int? importedCount { get; set; } - } - + [Description("The number of codes created successfully.")] + [NonNull] + public int? importedCount { get; set; } + } + /// ///A result of a discount redeem code creation operation created by a bulk creation. /// - [Description("A result of a discount redeem code creation operation created by a bulk creation.")] - public class DiscountRedeemCodeBulkCreationCode : GraphQLObject - { + [Description("A result of a discount redeem code creation operation created by a bulk creation.")] + public class DiscountRedeemCodeBulkCreationCode : GraphQLObject + { /// ///The code to use in the discount redeem code creation operation. /// - [Description("The code to use in the discount redeem code creation operation.")] - [NonNull] - public string? code { get; set; } - + [Description("The code to use in the discount redeem code creation operation.")] + [NonNull] + public string? code { get; set; } + /// ///The successfully created discount redeem code. /// ///If the discount redeem code couldn't be created, then this field is `null``. /// - [Description("The successfully created discount redeem code.\n\nIf the discount redeem code couldn't be created, then this field is `null``.")] - public DiscountRedeemCode? discountRedeemCode { get; set; } - + [Description("The successfully created discount redeem code.\n\nIf the discount redeem code couldn't be created, then this field is `null``.")] + public DiscountRedeemCode? discountRedeemCode { get; set; } + /// ///A list of errors that occurred during the creation operation of the discount redeem code. /// - [Description("A list of errors that occurred during the creation operation of the discount redeem code.")] - [NonNull] - public IEnumerable? errors { get; set; } - } - + [Description("A list of errors that occurred during the creation operation of the discount redeem code.")] + [NonNull] + public IEnumerable? errors { get; set; } + } + /// ///An auto-generated type for paginating through multiple DiscountRedeemCodeBulkCreationCodes. /// - [Description("An auto-generated type for paginating through multiple DiscountRedeemCodeBulkCreationCodes.")] - public class DiscountRedeemCodeBulkCreationCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountRedeemCodeBulkCreationCodes.")] + public class DiscountRedeemCodeBulkCreationCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountRedeemCodeBulkCreationCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountRedeemCodeBulkCreationCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountRedeemCodeBulkCreationCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DiscountRedeemCodeBulkCreationCode and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountRedeemCodeBulkCreationCode and a cursor during pagination.")] - public class DiscountRedeemCodeBulkCreationCodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountRedeemCodeBulkCreationCode and a cursor during pagination.")] + public class DiscountRedeemCodeBulkCreationCodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountRedeemCodeBulkCreationCodeEdge. /// - [Description("The item at the end of DiscountRedeemCodeBulkCreationCodeEdge.")] - [NonNull] - public DiscountRedeemCodeBulkCreationCode? node { get; set; } - } - + [Description("The item at the end of DiscountRedeemCodeBulkCreationCodeEdge.")] + [NonNull] + public DiscountRedeemCodeBulkCreationCode? node { get; set; } + } + /// ///An auto-generated type for paginating through multiple DiscountRedeemCodes. /// - [Description("An auto-generated type for paginating through multiple DiscountRedeemCodes.")] - public class DiscountRedeemCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DiscountRedeemCodes.")] + public class DiscountRedeemCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DiscountRedeemCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DiscountRedeemCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DiscountRedeemCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DiscountRedeemCode and a cursor during pagination. /// - [Description("An auto-generated type which holds one DiscountRedeemCode and a cursor during pagination.")] - public class DiscountRedeemCodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DiscountRedeemCode and a cursor during pagination.")] + public class DiscountRedeemCodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DiscountRedeemCodeEdge. /// - [Description("The item at the end of DiscountRedeemCodeEdge.")] - [NonNull] - public DiscountRedeemCode? node { get; set; } - } - + [Description("The item at the end of DiscountRedeemCodeEdge.")] + [NonNull] + public DiscountRedeemCode? node { get; set; } + } + /// ///The input fields for the redeem code to attach to a discount. /// - [Description("The input fields for the redeem code to attach to a discount.")] - public class DiscountRedeemCodeInput : GraphQLObject - { + [Description("The input fields for the redeem code to attach to a discount.")] + public class DiscountRedeemCodeInput : GraphQLObject + { /// ///The code that a customer can use at checkout to receive the associated discount. /// - [Description("The code that a customer can use at checkout to receive the associated discount.")] - [NonNull] - public string? code { get; set; } - } - + [Description("The code that a customer can use at checkout to receive the associated discount.")] + [NonNull] + public string? code { get; set; } + } + /// ///Reports the status of discount for a Sales Channel or Storefront API. ///This might include why a discount is not available in a Sales Channel ///and how a merchant might fix this. /// - [Description("Reports the status of discount for a Sales Channel or Storefront API.\nThis might include why a discount is not available in a Sales Channel\nand how a merchant might fix this.")] - public class DiscountResourceFeedback : GraphQLObject - { + [Description("Reports the status of discount for a Sales Channel or Storefront API.\nThis might include why a discount is not available in a Sales Channel\nand how a merchant might fix this.")] + public class DiscountResourceFeedback : GraphQLObject + { /// ///The ID of the discount associated with the feedback. /// - [Description("The ID of the discount associated with the feedback.")] - [NonNull] - public string? discountId { get; set; } - + [Description("The ID of the discount associated with the feedback.")] + [NonNull] + public string? discountId { get; set; } + /// ///The timestamp of the discount associated with the feedback. /// - [Description("The timestamp of the discount associated with the feedback.")] - [NonNull] - public DateTime? discountUpdatedAt { get; set; } - + [Description("The timestamp of the discount associated with the feedback.")] + [NonNull] + public DateTime? discountUpdatedAt { get; set; } + /// ///The time when the feedback was generated. Used to help determine whether ///incoming feedback is outdated compared to existing feedback. /// - [Description("The time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.")] - [NonNull] - public DateTime? feedbackGeneratedAt { get; set; } - + [Description("The time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.")] + [NonNull] + public DateTime? feedbackGeneratedAt { get; set; } + /// ///The feedback messages presented to the merchant. /// - [Description("The feedback messages presented to the merchant.")] - [NonNull] - public IEnumerable? messages { get; set; } - + [Description("The feedback messages presented to the merchant.")] + [NonNull] + public IEnumerable? messages { get; set; } + /// ///Conveys the state of the feedback and whether it requires merchant action or not. /// - [Description("Conveys the state of the feedback and whether it requires merchant action or not.")] - [NonNull] - [EnumType(typeof(ResourceFeedbackState))] - public string? state { get; set; } - } - + [Description("Conveys the state of the feedback and whether it requires merchant action or not.")] + [NonNull] + [EnumType(typeof(ResourceFeedbackState))] + public string? state { get; set; } + } + /// ///The input fields used to create a discount resource feedback. /// - [Description("The input fields used to create a discount resource feedback.")] - public class DiscountResourceFeedbackInput : GraphQLObject - { + [Description("The input fields used to create a discount resource feedback.")] + public class DiscountResourceFeedbackInput : GraphQLObject + { /// ///The ID of the discount that the feedback was created on. /// - [Description("The ID of the discount that the feedback was created on.")] - [NonNull] - public string? discountId { get; set; } - + [Description("The ID of the discount that the feedback was created on.")] + [NonNull] + public string? discountId { get; set; } + /// ///Whether the merchant needs to take action on the discount. /// - [Description("Whether the merchant needs to take action on the discount.")] - [NonNull] - [EnumType(typeof(ResourceFeedbackState))] - public string? state { get; set; } - + [Description("Whether the merchant needs to take action on the discount.")] + [NonNull] + [EnumType(typeof(ResourceFeedbackState))] + public string? state { get; set; } + /// ///The date and time when the payload is constructed. ///Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. /// - [Description("The date and time when the payload is constructed.\nUsed to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival.")] - [NonNull] - public DateTime? feedbackGeneratedAt { get; set; } - + [Description("The date and time when the payload is constructed.\nUsed to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival.")] + [NonNull] + public DateTime? feedbackGeneratedAt { get; set; } + /// ///The timestamp of the discount associated with the feedback. /// - [Description("The timestamp of the discount associated with the feedback.")] - [NonNull] - public DateTime? discountUpdatedAt { get; set; } - + [Description("The timestamp of the discount associated with the feedback.")] + [NonNull] + public DateTime? discountUpdatedAt { get; set; } + /// ///A concise set of copy strings to be displayed to merchants. Used to guide merchants in resolving problems that your app encounters when trying to make use of their discounts. ///You can specify up to four messages. Each message is limited to 100 characters. /// - [Description("A concise set of copy strings to be displayed to merchants. Used to guide merchants in resolving problems that your app encounters when trying to make use of their discounts.\nYou can specify up to four messages. Each message is limited to 100 characters.")] - public IEnumerable? messages { get; set; } - } - + [Description("A concise set of copy strings to be displayed to merchants. Used to guide merchants in resolving problems that your app encounters when trying to make use of their discounts.\nYou can specify up to four messages. Each message is limited to 100 characters.")] + public IEnumerable? messages { get; set; } + } + /// ///A shareable URL for a discount code. /// - [Description("A shareable URL for a discount code.")] - public class DiscountShareableUrl : GraphQLObject - { + [Description("A shareable URL for a discount code.")] + public class DiscountShareableUrl : GraphQLObject + { /// ///The image URL of the item (product or collection) to which the discount applies. /// - [Description("The image URL of the item (product or collection) to which the discount applies.")] - public Image? targetItemImage { get; set; } - + [Description("The image URL of the item (product or collection) to which the discount applies.")] + public Image? targetItemImage { get; set; } + /// ///The type of page that's associated with the URL. /// - [Description("The type of page that's associated with the URL.")] - [NonNull] - [EnumType(typeof(DiscountShareableUrlTargetType))] - public string? targetType { get; set; } - + [Description("The type of page that's associated with the URL.")] + [NonNull] + [EnumType(typeof(DiscountShareableUrlTargetType))] + public string? targetType { get; set; } + /// ///The title of the page that's associated with the URL. /// - [Description("The title of the page that's associated with the URL.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the page that's associated with the URL.")] + [NonNull] + public string? title { get; set; } + /// ///The URL for the discount code. /// - [Description("The URL for the discount code.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL for the discount code.")] + [NonNull] + public string? url { get; set; } + } + /// ///The type of page where a shareable discount URL lands. /// - [Description("The type of page where a shareable discount URL lands.")] - public enum DiscountShareableUrlTargetType - { + [Description("The type of page where a shareable discount URL lands.")] + public enum DiscountShareableUrlTargetType + { /// ///The URL lands on a home page. /// - [Description("The URL lands on a home page.")] - HOME, + [Description("The URL lands on a home page.")] + HOME, /// ///The URL lands on a product page. /// - [Description("The URL lands on a product page.")] - PRODUCT, + [Description("The URL lands on a product page.")] + PRODUCT, /// ///The URL lands on a collection page. /// - [Description("The URL lands on a collection page.")] - COLLECTION, - } - - public static class DiscountShareableUrlTargetTypeStringValues - { - public const string HOME = @"HOME"; - public const string PRODUCT = @"PRODUCT"; - public const string COLLECTION = @"COLLECTION"; - } - + [Description("The URL lands on a collection page.")] + COLLECTION, + } + + public static class DiscountShareableUrlTargetTypeStringValues + { + public const string HOME = @"HOME"; + public const string PRODUCT = @"PRODUCT"; + public const string COLLECTION = @"COLLECTION"; + } + /// ///The type used to target the eligible countries of an order's shipping destination for which the discount applies. For example, the discount might be applicable when shipping to all countries, or only to a set of countries. /// - [Description("The type used to target the eligible countries of an order's shipping destination for which the discount applies. For example, the discount might be applicable when shipping to all countries, or only to a set of countries.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DiscountCountries), typeDiscriminator: "DiscountCountries")] - [JsonDerivedType(typeof(DiscountCountryAll), typeDiscriminator: "DiscountCountryAll")] - public interface IDiscountShippingDestinationSelection : IGraphQLObject - { - public DiscountCountries? AsDiscountCountries() => this as DiscountCountries; - public DiscountCountryAll? AsDiscountCountryAll() => this as DiscountCountryAll; - } - + [Description("The type used to target the eligible countries of an order's shipping destination for which the discount applies. For example, the discount might be applicable when shipping to all countries, or only to a set of countries.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DiscountCountries), typeDiscriminator: "DiscountCountries")] + [JsonDerivedType(typeof(DiscountCountryAll), typeDiscriminator: "DiscountCountryAll")] + public interface IDiscountShippingDestinationSelection : IGraphQLObject + { + public DiscountCountries? AsDiscountCountries() => this as DiscountCountries; + public DiscountCountryAll? AsDiscountCountryAll() => this as DiscountCountryAll; + } + /// ///The input fields for the destinations where the free shipping discount will be applied. /// - [Description("The input fields for the destinations where the free shipping discount will be applied.")] - public class DiscountShippingDestinationSelectionInput : GraphQLObject - { + [Description("The input fields for the destinations where the free shipping discount will be applied.")] + public class DiscountShippingDestinationSelectionInput : GraphQLObject + { /// ///Whether the discount code applies to all countries. /// - [Description("Whether the discount code applies to all countries.")] - public bool? all { get; set; } - + [Description("Whether the discount code applies to all countries.")] + public bool? all { get; set; } + /// ///A list of countries where the discount code will apply. /// - [Description("A list of countries where the discount code will apply.")] - public DiscountCountriesInput? countries { get; set; } - } - + [Description("A list of countries where the discount code will apply.")] + public DiscountCountriesInput? countries { get; set; } + } + /// ///The set of valid sort keys for the Discount query. /// - [Description("The set of valid sort keys for the Discount query.")] - public enum DiscountSortKeys - { + [Description("The set of valid sort keys for the Discount query.")] + public enum DiscountSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `ends_at` value. /// - [Description("Sort by the `ends_at` value.")] - ENDS_AT, + [Description("Sort by the `ends_at` value.")] + ENDS_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `starts_at` value. /// - [Description("Sort by the `starts_at` value.")] - STARTS_AT, + [Description("Sort by the `starts_at` value.")] + STARTS_AT, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class DiscountSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ENDS_AT = @"ENDS_AT"; - public const string ID = @"ID"; - public const string RELEVANCE = @"RELEVANCE"; - public const string STARTS_AT = @"STARTS_AT"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class DiscountSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ENDS_AT = @"ENDS_AT"; + public const string ID = @"ID"; + public const string RELEVANCE = @"RELEVANCE"; + public const string STARTS_AT = @"STARTS_AT"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The status of the discount that describes its availability, ///expiration, or pending activation. /// - [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] - public enum DiscountStatus - { + [Description("The status of the discount that describes its availability,\nexpiration, or pending activation.")] + public enum DiscountStatus + { /// ///The discount is currently available for use. /// - [Description("The discount is currently available for use.")] - ACTIVE, + [Description("The discount is currently available for use.")] + ACTIVE, /// ///The discount has reached its end date and is no longer valid. /// - [Description("The discount has reached its end date and is no longer valid.")] - EXPIRED, + [Description("The discount has reached its end date and is no longer valid.")] + EXPIRED, /// ///The discount is set to become active at a future date. /// - [Description("The discount is set to become active at a future date.")] - SCHEDULED, - } - - public static class DiscountStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string EXPIRED = @"EXPIRED"; - public const string SCHEDULED = @"SCHEDULED"; - } - + [Description("The discount is set to become active at a future date.")] + SCHEDULED, + } + + public static class DiscountStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string EXPIRED = @"EXPIRED"; + public const string SCHEDULED = @"SCHEDULED"; + } + /// ///The type of line (line item or shipping line) on an order that the subscription discount is applicable towards. /// - [Description("The type of line (line item or shipping line) on an order that the subscription discount is applicable towards.")] - public enum DiscountTargetType - { + [Description("The type of line (line item or shipping line) on an order that the subscription discount is applicable towards.")] + public enum DiscountTargetType + { /// ///The discount applies onto line items. /// - [Description("The discount applies onto line items.")] - LINE_ITEM, + [Description("The discount applies onto line items.")] + LINE_ITEM, /// ///The discount applies onto shipping lines. /// - [Description("The discount applies onto shipping lines.")] - SHIPPING_LINE, - } - - public static class DiscountTargetTypeStringValues - { - public const string LINE_ITEM = @"LINE_ITEM"; - public const string SHIPPING_LINE = @"SHIPPING_LINE"; - } - + [Description("The discount applies onto shipping lines.")] + SHIPPING_LINE, + } + + public static class DiscountTargetTypeStringValues + { + public const string LINE_ITEM = @"LINE_ITEM"; + public const string SHIPPING_LINE = @"SHIPPING_LINE"; + } + /// ///The type of the subscription discount. /// - [Description("The type of the subscription discount.")] - public enum DiscountType - { + [Description("The type of the subscription discount.")] + public enum DiscountType + { /// ///Manual discount type. /// - [Description("Manual discount type.")] - MANUAL, + [Description("Manual discount type.")] + MANUAL, /// ///Code discount type. /// - [Description("Code discount type.")] - CODE_DISCOUNT, + [Description("Code discount type.")] + CODE_DISCOUNT, /// ///Automatic discount type. /// - [Description("Automatic discount type.")] - AUTOMATIC_DISCOUNT, - } - - public static class DiscountTypeStringValues - { - public const string MANUAL = @"MANUAL"; - public const string CODE_DISCOUNT = @"CODE_DISCOUNT"; - public const string AUTOMATIC_DISCOUNT = @"AUTOMATIC_DISCOUNT"; - } - + [Description("Automatic discount type.")] + AUTOMATIC_DISCOUNT, + } + + public static class DiscountTypeStringValues + { + public const string MANUAL = @"MANUAL"; + public const string CODE_DISCOUNT = @"CODE_DISCOUNT"; + public const string AUTOMATIC_DISCOUNT = @"AUTOMATIC_DISCOUNT"; + } + /// ///An error that occurs during the execution of a discount mutation. /// - [Description("An error that occurs during the execution of a discount mutation.")] - public class DiscountUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a discount mutation.")] + public class DiscountUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DiscountErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DiscountErrorCode))] + public string? code { get; set; } + /// ///Extra information about this error. /// - [Description("Extra information about this error.")] - public string? extraInfo { get; set; } - + [Description("Extra information about this error.")] + public string? extraInfo { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Return type for `discountsAllocatorFunctionRegister` mutation. /// - [Description("Return type for `discountsAllocatorFunctionRegister` mutation.")] - public class DiscountsAllocatorFunctionRegisterPayload : GraphQLObject - { + [Description("Return type for `discountsAllocatorFunctionRegister` mutation.")] + public class DiscountsAllocatorFunctionRegisterPayload : GraphQLObject + { /// ///Boolean representing whether the discounts allocator function was registered. /// - [Description("Boolean representing whether the discounts allocator function was registered.")] - public bool? success { get; set; } - + [Description("Boolean representing whether the discounts allocator function was registered.")] + public bool? success { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `discountsAllocatorFunctionUnregister` mutation. /// - [Description("Return type for `discountsAllocatorFunctionUnregister` mutation.")] - public class DiscountsAllocatorFunctionUnregisterPayload : GraphQLObject - { + [Description("Return type for `discountsAllocatorFunctionUnregister` mutation.")] + public class DiscountsAllocatorFunctionUnregisterPayload : GraphQLObject + { /// ///Boolean representing whether the discounts allocator function was unregistered. /// - [Description("Boolean representing whether the discounts allocator function was unregistered.")] - public bool? success { get; set; } - + [Description("Boolean representing whether the discounts allocator function was unregistered.")] + public bool? success { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of a discounts allocator function mutation. /// - [Description("An error that occurs during the execution of a discounts allocator function mutation.")] - public class DiscountsAllocatorFunctionUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a discounts allocator function mutation.")] + public class DiscountsAllocatorFunctionUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DiscountsAllocatorFunctionUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DiscountsAllocatorFunctionUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DiscountsAllocatorFunctionUserError`. /// - [Description("Possible error codes that can be returned by `DiscountsAllocatorFunctionUserError`.")] - public enum DiscountsAllocatorFunctionUserErrorCode - { + [Description("Possible error codes that can be returned by `DiscountsAllocatorFunctionUserError`.")] + public enum DiscountsAllocatorFunctionUserErrorCode + { /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///The discounts allocator function cannot be found. /// - [Description("The discounts allocator function cannot be found.")] - FUNCTION_NOT_FOUND, + [Description("The discounts allocator function cannot be found.")] + FUNCTION_NOT_FOUND, /// ///The shop is not eligible for discounts allocator functions. /// - [Description("The shop is not eligible for discounts allocator functions.")] - INELIGIBLE_SHOP, + [Description("The shop is not eligible for discounts allocator functions.")] + INELIGIBLE_SHOP, /// ///The function provided was not a discounts allocator function. /// - [Description("The function provided was not a discounts allocator function.")] - INVALID_FUNCTION_TYPE, - } - - public static class DiscountsAllocatorFunctionUserErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; - public const string INELIGIBLE_SHOP = @"INELIGIBLE_SHOP"; - public const string INVALID_FUNCTION_TYPE = @"INVALID_FUNCTION_TYPE"; - } - + [Description("The function provided was not a discounts allocator function.")] + INVALID_FUNCTION_TYPE, + } + + public static class DiscountsAllocatorFunctionUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; + public const string INELIGIBLE_SHOP = @"INELIGIBLE_SHOP"; + public const string INVALID_FUNCTION_TYPE = @"INVALID_FUNCTION_TYPE"; + } + /// ///Represents an error in the input of a mutation. /// - [Description("Represents an error in the input of a mutation.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AbandonmentEmailStateUpdateUserError), typeDiscriminator: "AbandonmentEmailStateUpdateUserError")] - [JsonDerivedType(typeof(AbandonmentUpdateActivitiesDeliveryStatusesUserError), typeDiscriminator: "AbandonmentUpdateActivitiesDeliveryStatusesUserError")] - [JsonDerivedType(typeof(AppRevokeAccessScopesAppRevokeScopeError), typeDiscriminator: "AppRevokeAccessScopesAppRevokeScopeError")] - [JsonDerivedType(typeof(AppSubscriptionTrialExtendUserError), typeDiscriminator: "AppSubscriptionTrialExtendUserError")] - [JsonDerivedType(typeof(AppUninstallAppUninstallError), typeDiscriminator: "AppUninstallAppUninstallError")] - [JsonDerivedType(typeof(ArticleCreateUserError), typeDiscriminator: "ArticleCreateUserError")] - [JsonDerivedType(typeof(ArticleDeleteUserError), typeDiscriminator: "ArticleDeleteUserError")] - [JsonDerivedType(typeof(ArticleUpdateUserError), typeDiscriminator: "ArticleUpdateUserError")] - [JsonDerivedType(typeof(BillingAttemptUserError), typeDiscriminator: "BillingAttemptUserError")] - [JsonDerivedType(typeof(BlogCreateUserError), typeDiscriminator: "BlogCreateUserError")] - [JsonDerivedType(typeof(BlogDeleteUserError), typeDiscriminator: "BlogDeleteUserError")] - [JsonDerivedType(typeof(BlogUpdateUserError), typeDiscriminator: "BlogUpdateUserError")] - [JsonDerivedType(typeof(BulkDiscountResourceFeedbackCreateUserError), typeDiscriminator: "BulkDiscountResourceFeedbackCreateUserError")] - [JsonDerivedType(typeof(BulkMutationUserError), typeDiscriminator: "BulkMutationUserError")] - [JsonDerivedType(typeof(BulkOperationUserError), typeDiscriminator: "BulkOperationUserError")] - [JsonDerivedType(typeof(BulkProductResourceFeedbackCreateUserError), typeDiscriminator: "BulkProductResourceFeedbackCreateUserError")] - [JsonDerivedType(typeof(BusinessCustomerUserError), typeDiscriminator: "BusinessCustomerUserError")] - [JsonDerivedType(typeof(CarrierServiceCreateUserError), typeDiscriminator: "CarrierServiceCreateUserError")] - [JsonDerivedType(typeof(CarrierServiceDeleteUserError), typeDiscriminator: "CarrierServiceDeleteUserError")] - [JsonDerivedType(typeof(CarrierServiceUpdateUserError), typeDiscriminator: "CarrierServiceUpdateUserError")] - [JsonDerivedType(typeof(CartTransformCreateUserError), typeDiscriminator: "CartTransformCreateUserError")] - [JsonDerivedType(typeof(CartTransformDeleteUserError), typeDiscriminator: "CartTransformDeleteUserError")] - [JsonDerivedType(typeof(CatalogUserError), typeDiscriminator: "CatalogUserError")] - [JsonDerivedType(typeof(CheckoutAndAccountsAppConfigurationDeleteUserError), typeDiscriminator: "CheckoutAndAccountsAppConfigurationDeleteUserError")] - [JsonDerivedType(typeof(CheckoutAndAccountsAppConfigurationUpdateUserError), typeDiscriminator: "CheckoutAndAccountsAppConfigurationUpdateUserError")] - [JsonDerivedType(typeof(CheckoutBrandingUpsertUserError), typeDiscriminator: "CheckoutBrandingUpsertUserError")] - [JsonDerivedType(typeof(CollectionAddProductsV2UserError), typeDiscriminator: "CollectionAddProductsV2UserError")] - [JsonDerivedType(typeof(CollectionReorderProductsUserError), typeDiscriminator: "CollectionReorderProductsUserError")] - [JsonDerivedType(typeof(CombinedListingUpdateUserError), typeDiscriminator: "CombinedListingUpdateUserError")] - [JsonDerivedType(typeof(CommentApproveUserError), typeDiscriminator: "CommentApproveUserError")] - [JsonDerivedType(typeof(CommentDeleteUserError), typeDiscriminator: "CommentDeleteUserError")] - [JsonDerivedType(typeof(CommentNotSpamUserError), typeDiscriminator: "CommentNotSpamUserError")] - [JsonDerivedType(typeof(CommentSpamUserError), typeDiscriminator: "CommentSpamUserError")] - [JsonDerivedType(typeof(ConsentPolicyError), typeDiscriminator: "ConsentPolicyError")] - [JsonDerivedType(typeof(CustomerCancelDataErasureUserError), typeDiscriminator: "CustomerCancelDataErasureUserError")] - [JsonDerivedType(typeof(CustomerEmailMarketingConsentUpdateUserError), typeDiscriminator: "CustomerEmailMarketingConsentUpdateUserError")] - [JsonDerivedType(typeof(CustomerMergeUserError), typeDiscriminator: "CustomerMergeUserError")] - [JsonDerivedType(typeof(CustomerPaymentMethodCreateFromDuplicationDataUserError), typeDiscriminator: "CustomerPaymentMethodCreateFromDuplicationDataUserError")] - [JsonDerivedType(typeof(CustomerPaymentMethodGetDuplicationDataUserError), typeDiscriminator: "CustomerPaymentMethodGetDuplicationDataUserError")] - [JsonDerivedType(typeof(CustomerPaymentMethodGetUpdateUrlUserError), typeDiscriminator: "CustomerPaymentMethodGetUpdateUrlUserError")] - [JsonDerivedType(typeof(CustomerPaymentMethodRemoteUserError), typeDiscriminator: "CustomerPaymentMethodRemoteUserError")] - [JsonDerivedType(typeof(CustomerPaymentMethodUserError), typeDiscriminator: "CustomerPaymentMethodUserError")] - [JsonDerivedType(typeof(CustomerRequestDataErasureUserError), typeDiscriminator: "CustomerRequestDataErasureUserError")] - [JsonDerivedType(typeof(CustomerSegmentMembersQueryUserError), typeDiscriminator: "CustomerSegmentMembersQueryUserError")] - [JsonDerivedType(typeof(CustomerSendAccountInviteEmailUserError), typeDiscriminator: "CustomerSendAccountInviteEmailUserError")] - [JsonDerivedType(typeof(CustomerSetUserError), typeDiscriminator: "CustomerSetUserError")] - [JsonDerivedType(typeof(CustomerSmsMarketingConsentError), typeDiscriminator: "CustomerSmsMarketingConsentError")] - [JsonDerivedType(typeof(DataSaleOptOutUserError), typeDiscriminator: "DataSaleOptOutUserError")] - [JsonDerivedType(typeof(DelegateAccessTokenCreateUserError), typeDiscriminator: "DelegateAccessTokenCreateUserError")] - [JsonDerivedType(typeof(DelegateAccessTokenDestroyUserError), typeDiscriminator: "DelegateAccessTokenDestroyUserError")] - [JsonDerivedType(typeof(DeliveryCustomizationError), typeDiscriminator: "DeliveryCustomizationError")] - [JsonDerivedType(typeof(DeliveryLocationLocalPickupSettingsError), typeDiscriminator: "DeliveryLocationLocalPickupSettingsError")] - [JsonDerivedType(typeof(DeliveryPromiseProviderUpsertUserError), typeDiscriminator: "DeliveryPromiseProviderUpsertUserError")] - [JsonDerivedType(typeof(DiscountUserError), typeDiscriminator: "DiscountUserError")] - [JsonDerivedType(typeof(DiscountsAllocatorFunctionUserError), typeDiscriminator: "DiscountsAllocatorFunctionUserError")] - [JsonDerivedType(typeof(DisputeEvidenceUpdateUserError), typeDiscriminator: "DisputeEvidenceUpdateUserError")] - [JsonDerivedType(typeof(DomainVerificationTagInjectUserError), typeDiscriminator: "DomainVerificationTagInjectUserError")] - [JsonDerivedType(typeof(DomainVerificationTagRemoveUserError), typeDiscriminator: "DomainVerificationTagRemoveUserError")] - [JsonDerivedType(typeof(EnvironmentVariablesUserError), typeDiscriminator: "EnvironmentVariablesUserError")] - [JsonDerivedType(typeof(ErrorsServerPixelUserError), typeDiscriminator: "ErrorsServerPixelUserError")] - [JsonDerivedType(typeof(ErrorsWebPixelUserError), typeDiscriminator: "ErrorsWebPixelUserError")] - [JsonDerivedType(typeof(FilesUserError), typeDiscriminator: "FilesUserError")] - [JsonDerivedType(typeof(FulfillmentConstraintRuleCreateUserError), typeDiscriminator: "FulfillmentConstraintRuleCreateUserError")] - [JsonDerivedType(typeof(FulfillmentConstraintRuleDeleteUserError), typeDiscriminator: "FulfillmentConstraintRuleDeleteUserError")] - [JsonDerivedType(typeof(FulfillmentConstraintRuleUpdateUserError), typeDiscriminator: "FulfillmentConstraintRuleUpdateUserError")] - [JsonDerivedType(typeof(FulfillmentOrderHoldUserError), typeDiscriminator: "FulfillmentOrderHoldUserError")] - [JsonDerivedType(typeof(FulfillmentOrderLineItemsPreparedForPickupUserError), typeDiscriminator: "FulfillmentOrderLineItemsPreparedForPickupUserError")] - [JsonDerivedType(typeof(FulfillmentOrderMergeUserError), typeDiscriminator: "FulfillmentOrderMergeUserError")] - [JsonDerivedType(typeof(FulfillmentOrderReleaseHoldUserError), typeDiscriminator: "FulfillmentOrderReleaseHoldUserError")] - [JsonDerivedType(typeof(FulfillmentOrderRescheduleUserError), typeDiscriminator: "FulfillmentOrderRescheduleUserError")] - [JsonDerivedType(typeof(FulfillmentOrderSplitUserError), typeDiscriminator: "FulfillmentOrderSplitUserError")] - [JsonDerivedType(typeof(FulfillmentOrdersRerouteUserError), typeDiscriminator: "FulfillmentOrdersRerouteUserError")] - [JsonDerivedType(typeof(FulfillmentOrdersSetFulfillmentDeadlineUserError), typeDiscriminator: "FulfillmentOrdersSetFulfillmentDeadlineUserError")] - [JsonDerivedType(typeof(GiftCardDeactivateUserError), typeDiscriminator: "GiftCardDeactivateUserError")] - [JsonDerivedType(typeof(GiftCardSendNotificationToCustomerUserError), typeDiscriminator: "GiftCardSendNotificationToCustomerUserError")] - [JsonDerivedType(typeof(GiftCardSendNotificationToRecipientUserError), typeDiscriminator: "GiftCardSendNotificationToRecipientUserError")] - [JsonDerivedType(typeof(GiftCardTransactionUserError), typeDiscriminator: "GiftCardTransactionUserError")] - [JsonDerivedType(typeof(GiftCardUserError), typeDiscriminator: "GiftCardUserError")] - [JsonDerivedType(typeof(HydrogenStorefrontCreateUserError), typeDiscriminator: "HydrogenStorefrontCreateUserError")] - [JsonDerivedType(typeof(HydrogenStorefrontCustomerUserError), typeDiscriminator: "HydrogenStorefrontCustomerUserError")] - [JsonDerivedType(typeof(InventoryAdjustQuantitiesUserError), typeDiscriminator: "InventoryAdjustQuantitiesUserError")] - [JsonDerivedType(typeof(InventoryBulkToggleActivationUserError), typeDiscriminator: "InventoryBulkToggleActivationUserError")] - [JsonDerivedType(typeof(InventoryMoveQuantitiesUserError), typeDiscriminator: "InventoryMoveQuantitiesUserError")] - [JsonDerivedType(typeof(InventorySetOnHandQuantitiesUserError), typeDiscriminator: "InventorySetOnHandQuantitiesUserError")] - [JsonDerivedType(typeof(InventorySetQuantitiesUserError), typeDiscriminator: "InventorySetQuantitiesUserError")] - [JsonDerivedType(typeof(InventorySetScheduledChangesUserError), typeDiscriminator: "InventorySetScheduledChangesUserError")] - [JsonDerivedType(typeof(InventoryShipmentAddItemsUserError), typeDiscriminator: "InventoryShipmentAddItemsUserError")] - [JsonDerivedType(typeof(InventoryShipmentCreateInTransitUserError), typeDiscriminator: "InventoryShipmentCreateInTransitUserError")] - [JsonDerivedType(typeof(InventoryShipmentCreateUserError), typeDiscriminator: "InventoryShipmentCreateUserError")] - [JsonDerivedType(typeof(InventoryShipmentDeleteUserError), typeDiscriminator: "InventoryShipmentDeleteUserError")] - [JsonDerivedType(typeof(InventoryShipmentMarkInTransitUserError), typeDiscriminator: "InventoryShipmentMarkInTransitUserError")] - [JsonDerivedType(typeof(InventoryShipmentReceiveUserError), typeDiscriminator: "InventoryShipmentReceiveUserError")] - [JsonDerivedType(typeof(InventoryShipmentRemoveItemsUserError), typeDiscriminator: "InventoryShipmentRemoveItemsUserError")] - [JsonDerivedType(typeof(InventoryShipmentSetTrackingUserError), typeDiscriminator: "InventoryShipmentSetTrackingUserError")] - [JsonDerivedType(typeof(InventoryShipmentUpdateItemQuantitiesUserError), typeDiscriminator: "InventoryShipmentUpdateItemQuantitiesUserError")] - [JsonDerivedType(typeof(InventoryTransferCancelUserError), typeDiscriminator: "InventoryTransferCancelUserError")] - [JsonDerivedType(typeof(InventoryTransferCreateAsReadyToShipUserError), typeDiscriminator: "InventoryTransferCreateAsReadyToShipUserError")] - [JsonDerivedType(typeof(InventoryTransferCreateUserError), typeDiscriminator: "InventoryTransferCreateUserError")] - [JsonDerivedType(typeof(InventoryTransferDeleteUserError), typeDiscriminator: "InventoryTransferDeleteUserError")] - [JsonDerivedType(typeof(InventoryTransferDuplicateUserError), typeDiscriminator: "InventoryTransferDuplicateUserError")] - [JsonDerivedType(typeof(InventoryTransferEditUserError), typeDiscriminator: "InventoryTransferEditUserError")] - [JsonDerivedType(typeof(InventoryTransferMarkAsReadyToShipUserError), typeDiscriminator: "InventoryTransferMarkAsReadyToShipUserError")] - [JsonDerivedType(typeof(InventoryTransferRemoveItemsUserError), typeDiscriminator: "InventoryTransferRemoveItemsUserError")] - [JsonDerivedType(typeof(InventoryTransferSetItemsUserError), typeDiscriminator: "InventoryTransferSetItemsUserError")] - [JsonDerivedType(typeof(LocationActivateUserError), typeDiscriminator: "LocationActivateUserError")] - [JsonDerivedType(typeof(LocationAddUserError), typeDiscriminator: "LocationAddUserError")] - [JsonDerivedType(typeof(LocationDeactivateUserError), typeDiscriminator: "LocationDeactivateUserError")] - [JsonDerivedType(typeof(LocationDeleteUserError), typeDiscriminator: "LocationDeleteUserError")] - [JsonDerivedType(typeof(LocationEditUserError), typeDiscriminator: "LocationEditUserError")] - [JsonDerivedType(typeof(MarketCurrencySettingsUserError), typeDiscriminator: "MarketCurrencySettingsUserError")] - [JsonDerivedType(typeof(MarketUserError), typeDiscriminator: "MarketUserError")] - [JsonDerivedType(typeof(MarketingActivityUserError), typeDiscriminator: "MarketingActivityUserError")] - [JsonDerivedType(typeof(MarketplacePaymentsConfigurationUpdateUserError), typeDiscriminator: "MarketplacePaymentsConfigurationUpdateUserError")] - [JsonDerivedType(typeof(MediaUserError), typeDiscriminator: "MediaUserError")] - [JsonDerivedType(typeof(MenuCreateUserError), typeDiscriminator: "MenuCreateUserError")] - [JsonDerivedType(typeof(MenuDeleteUserError), typeDiscriminator: "MenuDeleteUserError")] - [JsonDerivedType(typeof(MenuUpdateUserError), typeDiscriminator: "MenuUpdateUserError")] - [JsonDerivedType(typeof(MetafieldDefinitionCreateUserError), typeDiscriminator: "MetafieldDefinitionCreateUserError")] - [JsonDerivedType(typeof(MetafieldDefinitionDeleteUserError), typeDiscriminator: "MetafieldDefinitionDeleteUserError")] - [JsonDerivedType(typeof(MetafieldDefinitionPinUserError), typeDiscriminator: "MetafieldDefinitionPinUserError")] - [JsonDerivedType(typeof(MetafieldDefinitionUnpinUserError), typeDiscriminator: "MetafieldDefinitionUnpinUserError")] - [JsonDerivedType(typeof(MetafieldDefinitionUpdateUserError), typeDiscriminator: "MetafieldDefinitionUpdateUserError")] - [JsonDerivedType(typeof(MetafieldsSetUserError), typeDiscriminator: "MetafieldsSetUserError")] - [JsonDerivedType(typeof(MetaobjectUserError), typeDiscriminator: "MetaobjectUserError")] - [JsonDerivedType(typeof(MobilePlatformApplicationUserError), typeDiscriminator: "MobilePlatformApplicationUserError")] - [JsonDerivedType(typeof(OnlineStoreThemeFilesUserErrors), typeDiscriminator: "OnlineStoreThemeFilesUserErrors")] - [JsonDerivedType(typeof(OrderCancelUserError), typeDiscriminator: "OrderCancelUserError")] - [JsonDerivedType(typeof(OrderCreateMandatePaymentUserError), typeDiscriminator: "OrderCreateMandatePaymentUserError")] - [JsonDerivedType(typeof(OrderCreateManualPaymentOrderCreateManualPaymentError), typeDiscriminator: "OrderCreateManualPaymentOrderCreateManualPaymentError")] - [JsonDerivedType(typeof(OrderCreateUserError), typeDiscriminator: "OrderCreateUserError")] - [JsonDerivedType(typeof(OrderDeleteUserError), typeDiscriminator: "OrderDeleteUserError")] - [JsonDerivedType(typeof(OrderEditAddShippingLineUserError), typeDiscriminator: "OrderEditAddShippingLineUserError")] - [JsonDerivedType(typeof(OrderEditRemoveDiscountUserError), typeDiscriminator: "OrderEditRemoveDiscountUserError")] - [JsonDerivedType(typeof(OrderEditRemoveShippingLineUserError), typeDiscriminator: "OrderEditRemoveShippingLineUserError")] - [JsonDerivedType(typeof(OrderEditUpdateDiscountUserError), typeDiscriminator: "OrderEditUpdateDiscountUserError")] - [JsonDerivedType(typeof(OrderEditUpdateShippingLineUserError), typeDiscriminator: "OrderEditUpdateShippingLineUserError")] - [JsonDerivedType(typeof(OrderInvoiceSendUserError), typeDiscriminator: "OrderInvoiceSendUserError")] - [JsonDerivedType(typeof(OrderRiskAssessmentCreateUserError), typeDiscriminator: "OrderRiskAssessmentCreateUserError")] - [JsonDerivedType(typeof(PageCreateUserError), typeDiscriminator: "PageCreateUserError")] - [JsonDerivedType(typeof(PageDeleteUserError), typeDiscriminator: "PageDeleteUserError")] - [JsonDerivedType(typeof(PageUpdateUserError), typeDiscriminator: "PageUpdateUserError")] - [JsonDerivedType(typeof(PaymentCustomizationError), typeDiscriminator: "PaymentCustomizationError")] - [JsonDerivedType(typeof(PaymentReminderSendUserError), typeDiscriminator: "PaymentReminderSendUserError")] - [JsonDerivedType(typeof(PaymentTermsCreateUserError), typeDiscriminator: "PaymentTermsCreateUserError")] - [JsonDerivedType(typeof(PaymentTermsDeleteUserError), typeDiscriminator: "PaymentTermsDeleteUserError")] - [JsonDerivedType(typeof(PaymentTermsUpdateUserError), typeDiscriminator: "PaymentTermsUpdateUserError")] - [JsonDerivedType(typeof(PriceListFixedPricesByProductBulkUpdateUserError), typeDiscriminator: "PriceListFixedPricesByProductBulkUpdateUserError")] - [JsonDerivedType(typeof(PriceListPriceUserError), typeDiscriminator: "PriceListPriceUserError")] - [JsonDerivedType(typeof(PriceListUserError), typeDiscriminator: "PriceListUserError")] - [JsonDerivedType(typeof(PrivacyFeaturesDisableUserError), typeDiscriminator: "PrivacyFeaturesDisableUserError")] - [JsonDerivedType(typeof(ProductBundleMutationUserError), typeDiscriminator: "ProductBundleMutationUserError")] - [JsonDerivedType(typeof(ProductChangeStatusUserError), typeDiscriminator: "ProductChangeStatusUserError")] - [JsonDerivedType(typeof(ProductFeedCreateUserError), typeDiscriminator: "ProductFeedCreateUserError")] - [JsonDerivedType(typeof(ProductFeedDeleteUserError), typeDiscriminator: "ProductFeedDeleteUserError")] - [JsonDerivedType(typeof(ProductFullSyncUserError), typeDiscriminator: "ProductFullSyncUserError")] - [JsonDerivedType(typeof(ProductOptionUpdateUserError), typeDiscriminator: "ProductOptionUpdateUserError")] - [JsonDerivedType(typeof(ProductOptionsCreateUserError), typeDiscriminator: "ProductOptionsCreateUserError")] - [JsonDerivedType(typeof(ProductOptionsDeleteUserError), typeDiscriminator: "ProductOptionsDeleteUserError")] - [JsonDerivedType(typeof(ProductOptionsReorderUserError), typeDiscriminator: "ProductOptionsReorderUserError")] - [JsonDerivedType(typeof(ProductSetUserError), typeDiscriminator: "ProductSetUserError")] - [JsonDerivedType(typeof(ProductVariantRelationshipBulkUpdateUserError), typeDiscriminator: "ProductVariantRelationshipBulkUpdateUserError")] - [JsonDerivedType(typeof(ProductVariantsBulkCreateUserError), typeDiscriminator: "ProductVariantsBulkCreateUserError")] - [JsonDerivedType(typeof(ProductVariantsBulkDeleteUserError), typeDiscriminator: "ProductVariantsBulkDeleteUserError")] - [JsonDerivedType(typeof(ProductVariantsBulkReorderUserError), typeDiscriminator: "ProductVariantsBulkReorderUserError")] - [JsonDerivedType(typeof(ProductVariantsBulkUpdateUserError), typeDiscriminator: "ProductVariantsBulkUpdateUserError")] - [JsonDerivedType(typeof(PromiseSkuSettingUpsertUserError), typeDiscriminator: "PromiseSkuSettingUpsertUserError")] - [JsonDerivedType(typeof(PubSubWebhookSubscriptionCreateUserError), typeDiscriminator: "PubSubWebhookSubscriptionCreateUserError")] - [JsonDerivedType(typeof(PubSubWebhookSubscriptionUpdateUserError), typeDiscriminator: "PubSubWebhookSubscriptionUpdateUserError")] - [JsonDerivedType(typeof(PublicationUserError), typeDiscriminator: "PublicationUserError")] - [JsonDerivedType(typeof(QuantityPricingByVariantUserError), typeDiscriminator: "QuantityPricingByVariantUserError")] - [JsonDerivedType(typeof(QuantityRuleUserError), typeDiscriminator: "QuantityRuleUserError")] - [JsonDerivedType(typeof(ReturnUserError), typeDiscriminator: "ReturnUserError")] - [JsonDerivedType(typeof(SellingPlanGroupUserError), typeDiscriminator: "SellingPlanGroupUserError")] - [JsonDerivedType(typeof(ShopPolicyUserError), typeDiscriminator: "ShopPolicyUserError")] - [JsonDerivedType(typeof(ShopResourceFeedbackCreateUserError), typeDiscriminator: "ShopResourceFeedbackCreateUserError")] - [JsonDerivedType(typeof(ShopifyPaymentsPayoutAlternateCurrencyCreateUserError), typeDiscriminator: "ShopifyPaymentsPayoutAlternateCurrencyCreateUserError")] - [JsonDerivedType(typeof(StandardMetafieldDefinitionEnableUserError), typeDiscriminator: "StandardMetafieldDefinitionEnableUserError")] - [JsonDerivedType(typeof(StandardMetafieldDefinitionsEnableUserError), typeDiscriminator: "StandardMetafieldDefinitionsEnableUserError")] - [JsonDerivedType(typeof(StoreCreditAccountCreditUserError), typeDiscriminator: "StoreCreditAccountCreditUserError")] - [JsonDerivedType(typeof(StoreCreditAccountDebitUserError), typeDiscriminator: "StoreCreditAccountDebitUserError")] - [JsonDerivedType(typeof(SubscriptionBillingCycleBulkUserError), typeDiscriminator: "SubscriptionBillingCycleBulkUserError")] - [JsonDerivedType(typeof(SubscriptionBillingCycleSkipUserError), typeDiscriminator: "SubscriptionBillingCycleSkipUserError")] - [JsonDerivedType(typeof(SubscriptionBillingCycleUnskipUserError), typeDiscriminator: "SubscriptionBillingCycleUnskipUserError")] - [JsonDerivedType(typeof(SubscriptionBillingCycleUserError), typeDiscriminator: "SubscriptionBillingCycleUserError")] - [JsonDerivedType(typeof(SubscriptionContractStatusUpdateUserError), typeDiscriminator: "SubscriptionContractStatusUpdateUserError")] - [JsonDerivedType(typeof(SubscriptionContractUserError), typeDiscriminator: "SubscriptionContractUserError")] - [JsonDerivedType(typeof(SubscriptionDraftUserError), typeDiscriminator: "SubscriptionDraftUserError")] - [JsonDerivedType(typeof(TaxAppConfigureUserError), typeDiscriminator: "TaxAppConfigureUserError")] - [JsonDerivedType(typeof(TaxSummaryCreateUserError), typeDiscriminator: "TaxSummaryCreateUserError")] - [JsonDerivedType(typeof(ThemeCreateUserError), typeDiscriminator: "ThemeCreateUserError")] - [JsonDerivedType(typeof(ThemeDeleteUserError), typeDiscriminator: "ThemeDeleteUserError")] - [JsonDerivedType(typeof(ThemeDuplicateUserError), typeDiscriminator: "ThemeDuplicateUserError")] - [JsonDerivedType(typeof(ThemePublishUserError), typeDiscriminator: "ThemePublishUserError")] - [JsonDerivedType(typeof(ThemeUpdateUserError), typeDiscriminator: "ThemeUpdateUserError")] - [JsonDerivedType(typeof(TransactionVoidUserError), typeDiscriminator: "TransactionVoidUserError")] - [JsonDerivedType(typeof(TranslationUserError), typeDiscriminator: "TranslationUserError")] - [JsonDerivedType(typeof(UrlRedirectBulkDeleteByIdsUserError), typeDiscriminator: "UrlRedirectBulkDeleteByIdsUserError")] - [JsonDerivedType(typeof(UrlRedirectBulkDeleteBySavedSearchUserError), typeDiscriminator: "UrlRedirectBulkDeleteBySavedSearchUserError")] - [JsonDerivedType(typeof(UrlRedirectBulkDeleteBySearchUserError), typeDiscriminator: "UrlRedirectBulkDeleteBySearchUserError")] - [JsonDerivedType(typeof(UrlRedirectImportUserError), typeDiscriminator: "UrlRedirectImportUserError")] - [JsonDerivedType(typeof(UrlRedirectUserError), typeDiscriminator: "UrlRedirectUserError")] - [JsonDerivedType(typeof(UserError), typeDiscriminator: "UserError")] - [JsonDerivedType(typeof(ValidationUserError), typeDiscriminator: "ValidationUserError")] - public interface IDisplayableError : IGraphQLObject - { - public AbandonmentEmailStateUpdateUserError? AsAbandonmentEmailStateUpdateUserError() => this as AbandonmentEmailStateUpdateUserError; - public AbandonmentUpdateActivitiesDeliveryStatusesUserError? AsAbandonmentUpdateActivitiesDeliveryStatusesUserError() => this as AbandonmentUpdateActivitiesDeliveryStatusesUserError; - public AppRevokeAccessScopesAppRevokeScopeError? AsAppRevokeAccessScopesAppRevokeScopeError() => this as AppRevokeAccessScopesAppRevokeScopeError; - public AppSubscriptionTrialExtendUserError? AsAppSubscriptionTrialExtendUserError() => this as AppSubscriptionTrialExtendUserError; - public AppUninstallAppUninstallError? AsAppUninstallAppUninstallError() => this as AppUninstallAppUninstallError; - public ArticleCreateUserError? AsArticleCreateUserError() => this as ArticleCreateUserError; - public ArticleDeleteUserError? AsArticleDeleteUserError() => this as ArticleDeleteUserError; - public ArticleUpdateUserError? AsArticleUpdateUserError() => this as ArticleUpdateUserError; - public BillingAttemptUserError? AsBillingAttemptUserError() => this as BillingAttemptUserError; - public BlogCreateUserError? AsBlogCreateUserError() => this as BlogCreateUserError; - public BlogDeleteUserError? AsBlogDeleteUserError() => this as BlogDeleteUserError; - public BlogUpdateUserError? AsBlogUpdateUserError() => this as BlogUpdateUserError; - public BulkDiscountResourceFeedbackCreateUserError? AsBulkDiscountResourceFeedbackCreateUserError() => this as BulkDiscountResourceFeedbackCreateUserError; - public BulkMutationUserError? AsBulkMutationUserError() => this as BulkMutationUserError; - public BulkOperationUserError? AsBulkOperationUserError() => this as BulkOperationUserError; - public BulkProductResourceFeedbackCreateUserError? AsBulkProductResourceFeedbackCreateUserError() => this as BulkProductResourceFeedbackCreateUserError; - public BusinessCustomerUserError? AsBusinessCustomerUserError() => this as BusinessCustomerUserError; - public CarrierServiceCreateUserError? AsCarrierServiceCreateUserError() => this as CarrierServiceCreateUserError; - public CarrierServiceDeleteUserError? AsCarrierServiceDeleteUserError() => this as CarrierServiceDeleteUserError; - public CarrierServiceUpdateUserError? AsCarrierServiceUpdateUserError() => this as CarrierServiceUpdateUserError; - public CartTransformCreateUserError? AsCartTransformCreateUserError() => this as CartTransformCreateUserError; - public CartTransformDeleteUserError? AsCartTransformDeleteUserError() => this as CartTransformDeleteUserError; - public CatalogUserError? AsCatalogUserError() => this as CatalogUserError; - public CheckoutAndAccountsAppConfigurationDeleteUserError? AsCheckoutAndAccountsAppConfigurationDeleteUserError() => this as CheckoutAndAccountsAppConfigurationDeleteUserError; - public CheckoutAndAccountsAppConfigurationUpdateUserError? AsCheckoutAndAccountsAppConfigurationUpdateUserError() => this as CheckoutAndAccountsAppConfigurationUpdateUserError; - public CheckoutBrandingUpsertUserError? AsCheckoutBrandingUpsertUserError() => this as CheckoutBrandingUpsertUserError; - public CollectionAddProductsV2UserError? AsCollectionAddProductsV2UserError() => this as CollectionAddProductsV2UserError; - public CollectionReorderProductsUserError? AsCollectionReorderProductsUserError() => this as CollectionReorderProductsUserError; - public CombinedListingUpdateUserError? AsCombinedListingUpdateUserError() => this as CombinedListingUpdateUserError; - public CommentApproveUserError? AsCommentApproveUserError() => this as CommentApproveUserError; - public CommentDeleteUserError? AsCommentDeleteUserError() => this as CommentDeleteUserError; - public CommentNotSpamUserError? AsCommentNotSpamUserError() => this as CommentNotSpamUserError; - public CommentSpamUserError? AsCommentSpamUserError() => this as CommentSpamUserError; - public ConsentPolicyError? AsConsentPolicyError() => this as ConsentPolicyError; - public CustomerCancelDataErasureUserError? AsCustomerCancelDataErasureUserError() => this as CustomerCancelDataErasureUserError; - public CustomerEmailMarketingConsentUpdateUserError? AsCustomerEmailMarketingConsentUpdateUserError() => this as CustomerEmailMarketingConsentUpdateUserError; - public CustomerMergeUserError? AsCustomerMergeUserError() => this as CustomerMergeUserError; - public CustomerPaymentMethodCreateFromDuplicationDataUserError? AsCustomerPaymentMethodCreateFromDuplicationDataUserError() => this as CustomerPaymentMethodCreateFromDuplicationDataUserError; - public CustomerPaymentMethodGetDuplicationDataUserError? AsCustomerPaymentMethodGetDuplicationDataUserError() => this as CustomerPaymentMethodGetDuplicationDataUserError; - public CustomerPaymentMethodGetUpdateUrlUserError? AsCustomerPaymentMethodGetUpdateUrlUserError() => this as CustomerPaymentMethodGetUpdateUrlUserError; - public CustomerPaymentMethodRemoteUserError? AsCustomerPaymentMethodRemoteUserError() => this as CustomerPaymentMethodRemoteUserError; - public CustomerPaymentMethodUserError? AsCustomerPaymentMethodUserError() => this as CustomerPaymentMethodUserError; - public CustomerRequestDataErasureUserError? AsCustomerRequestDataErasureUserError() => this as CustomerRequestDataErasureUserError; - public CustomerSegmentMembersQueryUserError? AsCustomerSegmentMembersQueryUserError() => this as CustomerSegmentMembersQueryUserError; - public CustomerSendAccountInviteEmailUserError? AsCustomerSendAccountInviteEmailUserError() => this as CustomerSendAccountInviteEmailUserError; - public CustomerSetUserError? AsCustomerSetUserError() => this as CustomerSetUserError; - public CustomerSmsMarketingConsentError? AsCustomerSmsMarketingConsentError() => this as CustomerSmsMarketingConsentError; - public DataSaleOptOutUserError? AsDataSaleOptOutUserError() => this as DataSaleOptOutUserError; - public DelegateAccessTokenCreateUserError? AsDelegateAccessTokenCreateUserError() => this as DelegateAccessTokenCreateUserError; - public DelegateAccessTokenDestroyUserError? AsDelegateAccessTokenDestroyUserError() => this as DelegateAccessTokenDestroyUserError; - public DeliveryCustomizationError? AsDeliveryCustomizationError() => this as DeliveryCustomizationError; - public DeliveryLocationLocalPickupSettingsError? AsDeliveryLocationLocalPickupSettingsError() => this as DeliveryLocationLocalPickupSettingsError; - public DeliveryPromiseProviderUpsertUserError? AsDeliveryPromiseProviderUpsertUserError() => this as DeliveryPromiseProviderUpsertUserError; - public DiscountUserError? AsDiscountUserError() => this as DiscountUserError; - public DiscountsAllocatorFunctionUserError? AsDiscountsAllocatorFunctionUserError() => this as DiscountsAllocatorFunctionUserError; - public DisputeEvidenceUpdateUserError? AsDisputeEvidenceUpdateUserError() => this as DisputeEvidenceUpdateUserError; - public DomainVerificationTagInjectUserError? AsDomainVerificationTagInjectUserError() => this as DomainVerificationTagInjectUserError; - public DomainVerificationTagRemoveUserError? AsDomainVerificationTagRemoveUserError() => this as DomainVerificationTagRemoveUserError; - public EnvironmentVariablesUserError? AsEnvironmentVariablesUserError() => this as EnvironmentVariablesUserError; - public ErrorsServerPixelUserError? AsErrorsServerPixelUserError() => this as ErrorsServerPixelUserError; - public ErrorsWebPixelUserError? AsErrorsWebPixelUserError() => this as ErrorsWebPixelUserError; - public FilesUserError? AsFilesUserError() => this as FilesUserError; - public FulfillmentConstraintRuleCreateUserError? AsFulfillmentConstraintRuleCreateUserError() => this as FulfillmentConstraintRuleCreateUserError; - public FulfillmentConstraintRuleDeleteUserError? AsFulfillmentConstraintRuleDeleteUserError() => this as FulfillmentConstraintRuleDeleteUserError; - public FulfillmentConstraintRuleUpdateUserError? AsFulfillmentConstraintRuleUpdateUserError() => this as FulfillmentConstraintRuleUpdateUserError; - public FulfillmentOrderHoldUserError? AsFulfillmentOrderHoldUserError() => this as FulfillmentOrderHoldUserError; - public FulfillmentOrderLineItemsPreparedForPickupUserError? AsFulfillmentOrderLineItemsPreparedForPickupUserError() => this as FulfillmentOrderLineItemsPreparedForPickupUserError; - public FulfillmentOrderMergeUserError? AsFulfillmentOrderMergeUserError() => this as FulfillmentOrderMergeUserError; - public FulfillmentOrderReleaseHoldUserError? AsFulfillmentOrderReleaseHoldUserError() => this as FulfillmentOrderReleaseHoldUserError; - public FulfillmentOrderRescheduleUserError? AsFulfillmentOrderRescheduleUserError() => this as FulfillmentOrderRescheduleUserError; - public FulfillmentOrderSplitUserError? AsFulfillmentOrderSplitUserError() => this as FulfillmentOrderSplitUserError; - public FulfillmentOrdersRerouteUserError? AsFulfillmentOrdersRerouteUserError() => this as FulfillmentOrdersRerouteUserError; - public FulfillmentOrdersSetFulfillmentDeadlineUserError? AsFulfillmentOrdersSetFulfillmentDeadlineUserError() => this as FulfillmentOrdersSetFulfillmentDeadlineUserError; - public GiftCardDeactivateUserError? AsGiftCardDeactivateUserError() => this as GiftCardDeactivateUserError; - public GiftCardSendNotificationToCustomerUserError? AsGiftCardSendNotificationToCustomerUserError() => this as GiftCardSendNotificationToCustomerUserError; - public GiftCardSendNotificationToRecipientUserError? AsGiftCardSendNotificationToRecipientUserError() => this as GiftCardSendNotificationToRecipientUserError; - public GiftCardTransactionUserError? AsGiftCardTransactionUserError() => this as GiftCardTransactionUserError; - public GiftCardUserError? AsGiftCardUserError() => this as GiftCardUserError; - public HydrogenStorefrontCreateUserError? AsHydrogenStorefrontCreateUserError() => this as HydrogenStorefrontCreateUserError; - public HydrogenStorefrontCustomerUserError? AsHydrogenStorefrontCustomerUserError() => this as HydrogenStorefrontCustomerUserError; - public InventoryAdjustQuantitiesUserError? AsInventoryAdjustQuantitiesUserError() => this as InventoryAdjustQuantitiesUserError; - public InventoryBulkToggleActivationUserError? AsInventoryBulkToggleActivationUserError() => this as InventoryBulkToggleActivationUserError; - public InventoryMoveQuantitiesUserError? AsInventoryMoveQuantitiesUserError() => this as InventoryMoveQuantitiesUserError; - public InventorySetOnHandQuantitiesUserError? AsInventorySetOnHandQuantitiesUserError() => this as InventorySetOnHandQuantitiesUserError; - public InventorySetQuantitiesUserError? AsInventorySetQuantitiesUserError() => this as InventorySetQuantitiesUserError; - public InventorySetScheduledChangesUserError? AsInventorySetScheduledChangesUserError() => this as InventorySetScheduledChangesUserError; - public InventoryShipmentAddItemsUserError? AsInventoryShipmentAddItemsUserError() => this as InventoryShipmentAddItemsUserError; - public InventoryShipmentCreateInTransitUserError? AsInventoryShipmentCreateInTransitUserError() => this as InventoryShipmentCreateInTransitUserError; - public InventoryShipmentCreateUserError? AsInventoryShipmentCreateUserError() => this as InventoryShipmentCreateUserError; - public InventoryShipmentDeleteUserError? AsInventoryShipmentDeleteUserError() => this as InventoryShipmentDeleteUserError; - public InventoryShipmentMarkInTransitUserError? AsInventoryShipmentMarkInTransitUserError() => this as InventoryShipmentMarkInTransitUserError; - public InventoryShipmentReceiveUserError? AsInventoryShipmentReceiveUserError() => this as InventoryShipmentReceiveUserError; - public InventoryShipmentRemoveItemsUserError? AsInventoryShipmentRemoveItemsUserError() => this as InventoryShipmentRemoveItemsUserError; - public InventoryShipmentSetTrackingUserError? AsInventoryShipmentSetTrackingUserError() => this as InventoryShipmentSetTrackingUserError; - public InventoryShipmentUpdateItemQuantitiesUserError? AsInventoryShipmentUpdateItemQuantitiesUserError() => this as InventoryShipmentUpdateItemQuantitiesUserError; - public InventoryTransferCancelUserError? AsInventoryTransferCancelUserError() => this as InventoryTransferCancelUserError; - public InventoryTransferCreateAsReadyToShipUserError? AsInventoryTransferCreateAsReadyToShipUserError() => this as InventoryTransferCreateAsReadyToShipUserError; - public InventoryTransferCreateUserError? AsInventoryTransferCreateUserError() => this as InventoryTransferCreateUserError; - public InventoryTransferDeleteUserError? AsInventoryTransferDeleteUserError() => this as InventoryTransferDeleteUserError; - public InventoryTransferDuplicateUserError? AsInventoryTransferDuplicateUserError() => this as InventoryTransferDuplicateUserError; - public InventoryTransferEditUserError? AsInventoryTransferEditUserError() => this as InventoryTransferEditUserError; - public InventoryTransferMarkAsReadyToShipUserError? AsInventoryTransferMarkAsReadyToShipUserError() => this as InventoryTransferMarkAsReadyToShipUserError; - public InventoryTransferRemoveItemsUserError? AsInventoryTransferRemoveItemsUserError() => this as InventoryTransferRemoveItemsUserError; - public InventoryTransferSetItemsUserError? AsInventoryTransferSetItemsUserError() => this as InventoryTransferSetItemsUserError; - public LocationActivateUserError? AsLocationActivateUserError() => this as LocationActivateUserError; - public LocationAddUserError? AsLocationAddUserError() => this as LocationAddUserError; - public LocationDeactivateUserError? AsLocationDeactivateUserError() => this as LocationDeactivateUserError; - public LocationDeleteUserError? AsLocationDeleteUserError() => this as LocationDeleteUserError; - public LocationEditUserError? AsLocationEditUserError() => this as LocationEditUserError; - public MarketCurrencySettingsUserError? AsMarketCurrencySettingsUserError() => this as MarketCurrencySettingsUserError; - public MarketUserError? AsMarketUserError() => this as MarketUserError; - public MarketingActivityUserError? AsMarketingActivityUserError() => this as MarketingActivityUserError; - public MarketplacePaymentsConfigurationUpdateUserError? AsMarketplacePaymentsConfigurationUpdateUserError() => this as MarketplacePaymentsConfigurationUpdateUserError; - public MediaUserError? AsMediaUserError() => this as MediaUserError; - public MenuCreateUserError? AsMenuCreateUserError() => this as MenuCreateUserError; - public MenuDeleteUserError? AsMenuDeleteUserError() => this as MenuDeleteUserError; - public MenuUpdateUserError? AsMenuUpdateUserError() => this as MenuUpdateUserError; - public MetafieldDefinitionCreateUserError? AsMetafieldDefinitionCreateUserError() => this as MetafieldDefinitionCreateUserError; - public MetafieldDefinitionDeleteUserError? AsMetafieldDefinitionDeleteUserError() => this as MetafieldDefinitionDeleteUserError; - public MetafieldDefinitionPinUserError? AsMetafieldDefinitionPinUserError() => this as MetafieldDefinitionPinUserError; - public MetafieldDefinitionUnpinUserError? AsMetafieldDefinitionUnpinUserError() => this as MetafieldDefinitionUnpinUserError; - public MetafieldDefinitionUpdateUserError? AsMetafieldDefinitionUpdateUserError() => this as MetafieldDefinitionUpdateUserError; - public MetafieldsSetUserError? AsMetafieldsSetUserError() => this as MetafieldsSetUserError; - public MetaobjectUserError? AsMetaobjectUserError() => this as MetaobjectUserError; - public MobilePlatformApplicationUserError? AsMobilePlatformApplicationUserError() => this as MobilePlatformApplicationUserError; - public OnlineStoreThemeFilesUserErrors? AsOnlineStoreThemeFilesUserErrors() => this as OnlineStoreThemeFilesUserErrors; - public OrderCancelUserError? AsOrderCancelUserError() => this as OrderCancelUserError; - public OrderCreateMandatePaymentUserError? AsOrderCreateMandatePaymentUserError() => this as OrderCreateMandatePaymentUserError; - public OrderCreateManualPaymentOrderCreateManualPaymentError? AsOrderCreateManualPaymentOrderCreateManualPaymentError() => this as OrderCreateManualPaymentOrderCreateManualPaymentError; - public OrderCreateUserError? AsOrderCreateUserError() => this as OrderCreateUserError; - public OrderDeleteUserError? AsOrderDeleteUserError() => this as OrderDeleteUserError; - public OrderEditAddShippingLineUserError? AsOrderEditAddShippingLineUserError() => this as OrderEditAddShippingLineUserError; - public OrderEditRemoveDiscountUserError? AsOrderEditRemoveDiscountUserError() => this as OrderEditRemoveDiscountUserError; - public OrderEditRemoveShippingLineUserError? AsOrderEditRemoveShippingLineUserError() => this as OrderEditRemoveShippingLineUserError; - public OrderEditUpdateDiscountUserError? AsOrderEditUpdateDiscountUserError() => this as OrderEditUpdateDiscountUserError; - public OrderEditUpdateShippingLineUserError? AsOrderEditUpdateShippingLineUserError() => this as OrderEditUpdateShippingLineUserError; - public OrderInvoiceSendUserError? AsOrderInvoiceSendUserError() => this as OrderInvoiceSendUserError; - public OrderRiskAssessmentCreateUserError? AsOrderRiskAssessmentCreateUserError() => this as OrderRiskAssessmentCreateUserError; - public PageCreateUserError? AsPageCreateUserError() => this as PageCreateUserError; - public PageDeleteUserError? AsPageDeleteUserError() => this as PageDeleteUserError; - public PageUpdateUserError? AsPageUpdateUserError() => this as PageUpdateUserError; - public PaymentCustomizationError? AsPaymentCustomizationError() => this as PaymentCustomizationError; - public PaymentReminderSendUserError? AsPaymentReminderSendUserError() => this as PaymentReminderSendUserError; - public PaymentTermsCreateUserError? AsPaymentTermsCreateUserError() => this as PaymentTermsCreateUserError; - public PaymentTermsDeleteUserError? AsPaymentTermsDeleteUserError() => this as PaymentTermsDeleteUserError; - public PaymentTermsUpdateUserError? AsPaymentTermsUpdateUserError() => this as PaymentTermsUpdateUserError; - public PriceListFixedPricesByProductBulkUpdateUserError? AsPriceListFixedPricesByProductBulkUpdateUserError() => this as PriceListFixedPricesByProductBulkUpdateUserError; - public PriceListPriceUserError? AsPriceListPriceUserError() => this as PriceListPriceUserError; - public PriceListUserError? AsPriceListUserError() => this as PriceListUserError; - public PrivacyFeaturesDisableUserError? AsPrivacyFeaturesDisableUserError() => this as PrivacyFeaturesDisableUserError; - public ProductBundleMutationUserError? AsProductBundleMutationUserError() => this as ProductBundleMutationUserError; - public ProductChangeStatusUserError? AsProductChangeStatusUserError() => this as ProductChangeStatusUserError; - public ProductFeedCreateUserError? AsProductFeedCreateUserError() => this as ProductFeedCreateUserError; - public ProductFeedDeleteUserError? AsProductFeedDeleteUserError() => this as ProductFeedDeleteUserError; - public ProductFullSyncUserError? AsProductFullSyncUserError() => this as ProductFullSyncUserError; - public ProductOptionUpdateUserError? AsProductOptionUpdateUserError() => this as ProductOptionUpdateUserError; - public ProductOptionsCreateUserError? AsProductOptionsCreateUserError() => this as ProductOptionsCreateUserError; - public ProductOptionsDeleteUserError? AsProductOptionsDeleteUserError() => this as ProductOptionsDeleteUserError; - public ProductOptionsReorderUserError? AsProductOptionsReorderUserError() => this as ProductOptionsReorderUserError; - public ProductSetUserError? AsProductSetUserError() => this as ProductSetUserError; - public ProductVariantRelationshipBulkUpdateUserError? AsProductVariantRelationshipBulkUpdateUserError() => this as ProductVariantRelationshipBulkUpdateUserError; - public ProductVariantsBulkCreateUserError? AsProductVariantsBulkCreateUserError() => this as ProductVariantsBulkCreateUserError; - public ProductVariantsBulkDeleteUserError? AsProductVariantsBulkDeleteUserError() => this as ProductVariantsBulkDeleteUserError; - public ProductVariantsBulkReorderUserError? AsProductVariantsBulkReorderUserError() => this as ProductVariantsBulkReorderUserError; - public ProductVariantsBulkUpdateUserError? AsProductVariantsBulkUpdateUserError() => this as ProductVariantsBulkUpdateUserError; - public PromiseSkuSettingUpsertUserError? AsPromiseSkuSettingUpsertUserError() => this as PromiseSkuSettingUpsertUserError; - public PubSubWebhookSubscriptionCreateUserError? AsPubSubWebhookSubscriptionCreateUserError() => this as PubSubWebhookSubscriptionCreateUserError; - public PubSubWebhookSubscriptionUpdateUserError? AsPubSubWebhookSubscriptionUpdateUserError() => this as PubSubWebhookSubscriptionUpdateUserError; - public PublicationUserError? AsPublicationUserError() => this as PublicationUserError; - public QuantityPricingByVariantUserError? AsQuantityPricingByVariantUserError() => this as QuantityPricingByVariantUserError; - public QuantityRuleUserError? AsQuantityRuleUserError() => this as QuantityRuleUserError; - public ReturnUserError? AsReturnUserError() => this as ReturnUserError; - public SellingPlanGroupUserError? AsSellingPlanGroupUserError() => this as SellingPlanGroupUserError; - public ShopPolicyUserError? AsShopPolicyUserError() => this as ShopPolicyUserError; - public ShopResourceFeedbackCreateUserError? AsShopResourceFeedbackCreateUserError() => this as ShopResourceFeedbackCreateUserError; - public ShopifyPaymentsPayoutAlternateCurrencyCreateUserError? AsShopifyPaymentsPayoutAlternateCurrencyCreateUserError() => this as ShopifyPaymentsPayoutAlternateCurrencyCreateUserError; - public StandardMetafieldDefinitionEnableUserError? AsStandardMetafieldDefinitionEnableUserError() => this as StandardMetafieldDefinitionEnableUserError; - public StandardMetafieldDefinitionsEnableUserError? AsStandardMetafieldDefinitionsEnableUserError() => this as StandardMetafieldDefinitionsEnableUserError; - public StoreCreditAccountCreditUserError? AsStoreCreditAccountCreditUserError() => this as StoreCreditAccountCreditUserError; - public StoreCreditAccountDebitUserError? AsStoreCreditAccountDebitUserError() => this as StoreCreditAccountDebitUserError; - public SubscriptionBillingCycleBulkUserError? AsSubscriptionBillingCycleBulkUserError() => this as SubscriptionBillingCycleBulkUserError; - public SubscriptionBillingCycleSkipUserError? AsSubscriptionBillingCycleSkipUserError() => this as SubscriptionBillingCycleSkipUserError; - public SubscriptionBillingCycleUnskipUserError? AsSubscriptionBillingCycleUnskipUserError() => this as SubscriptionBillingCycleUnskipUserError; - public SubscriptionBillingCycleUserError? AsSubscriptionBillingCycleUserError() => this as SubscriptionBillingCycleUserError; - public SubscriptionContractStatusUpdateUserError? AsSubscriptionContractStatusUpdateUserError() => this as SubscriptionContractStatusUpdateUserError; - public SubscriptionContractUserError? AsSubscriptionContractUserError() => this as SubscriptionContractUserError; - public SubscriptionDraftUserError? AsSubscriptionDraftUserError() => this as SubscriptionDraftUserError; - public TaxAppConfigureUserError? AsTaxAppConfigureUserError() => this as TaxAppConfigureUserError; - public TaxSummaryCreateUserError? AsTaxSummaryCreateUserError() => this as TaxSummaryCreateUserError; - public ThemeCreateUserError? AsThemeCreateUserError() => this as ThemeCreateUserError; - public ThemeDeleteUserError? AsThemeDeleteUserError() => this as ThemeDeleteUserError; - public ThemeDuplicateUserError? AsThemeDuplicateUserError() => this as ThemeDuplicateUserError; - public ThemePublishUserError? AsThemePublishUserError() => this as ThemePublishUserError; - public ThemeUpdateUserError? AsThemeUpdateUserError() => this as ThemeUpdateUserError; - public TransactionVoidUserError? AsTransactionVoidUserError() => this as TransactionVoidUserError; - public TranslationUserError? AsTranslationUserError() => this as TranslationUserError; - public UrlRedirectBulkDeleteByIdsUserError? AsUrlRedirectBulkDeleteByIdsUserError() => this as UrlRedirectBulkDeleteByIdsUserError; - public UrlRedirectBulkDeleteBySavedSearchUserError? AsUrlRedirectBulkDeleteBySavedSearchUserError() => this as UrlRedirectBulkDeleteBySavedSearchUserError; - public UrlRedirectBulkDeleteBySearchUserError? AsUrlRedirectBulkDeleteBySearchUserError() => this as UrlRedirectBulkDeleteBySearchUserError; - public UrlRedirectImportUserError? AsUrlRedirectImportUserError() => this as UrlRedirectImportUserError; - public UrlRedirectUserError? AsUrlRedirectUserError() => this as UrlRedirectUserError; - public UserError? AsUserError() => this as UserError; - public ValidationUserError? AsValidationUserError() => this as ValidationUserError; + [Description("Represents an error in the input of a mutation.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AbandonmentEmailStateUpdateUserError), typeDiscriminator: "AbandonmentEmailStateUpdateUserError")] + [JsonDerivedType(typeof(AbandonmentUpdateActivitiesDeliveryStatusesUserError), typeDiscriminator: "AbandonmentUpdateActivitiesDeliveryStatusesUserError")] + [JsonDerivedType(typeof(AppRevokeAccessScopesAppRevokeScopeError), typeDiscriminator: "AppRevokeAccessScopesAppRevokeScopeError")] + [JsonDerivedType(typeof(AppSubscriptionTrialExtendUserError), typeDiscriminator: "AppSubscriptionTrialExtendUserError")] + [JsonDerivedType(typeof(AppUninstallAppUninstallError), typeDiscriminator: "AppUninstallAppUninstallError")] + [JsonDerivedType(typeof(ArticleCreateUserError), typeDiscriminator: "ArticleCreateUserError")] + [JsonDerivedType(typeof(ArticleDeleteUserError), typeDiscriminator: "ArticleDeleteUserError")] + [JsonDerivedType(typeof(ArticleUpdateUserError), typeDiscriminator: "ArticleUpdateUserError")] + [JsonDerivedType(typeof(BillingAttemptUserError), typeDiscriminator: "BillingAttemptUserError")] + [JsonDerivedType(typeof(BlogCreateUserError), typeDiscriminator: "BlogCreateUserError")] + [JsonDerivedType(typeof(BlogDeleteUserError), typeDiscriminator: "BlogDeleteUserError")] + [JsonDerivedType(typeof(BlogUpdateUserError), typeDiscriminator: "BlogUpdateUserError")] + [JsonDerivedType(typeof(BulkDiscountResourceFeedbackCreateUserError), typeDiscriminator: "BulkDiscountResourceFeedbackCreateUserError")] + [JsonDerivedType(typeof(BulkMutationUserError), typeDiscriminator: "BulkMutationUserError")] + [JsonDerivedType(typeof(BulkOperationUserError), typeDiscriminator: "BulkOperationUserError")] + [JsonDerivedType(typeof(BulkProductResourceFeedbackCreateUserError), typeDiscriminator: "BulkProductResourceFeedbackCreateUserError")] + [JsonDerivedType(typeof(BusinessCustomerUserError), typeDiscriminator: "BusinessCustomerUserError")] + [JsonDerivedType(typeof(CarrierServiceCreateUserError), typeDiscriminator: "CarrierServiceCreateUserError")] + [JsonDerivedType(typeof(CarrierServiceDeleteUserError), typeDiscriminator: "CarrierServiceDeleteUserError")] + [JsonDerivedType(typeof(CarrierServiceUpdateUserError), typeDiscriminator: "CarrierServiceUpdateUserError")] + [JsonDerivedType(typeof(CartTransformCreateUserError), typeDiscriminator: "CartTransformCreateUserError")] + [JsonDerivedType(typeof(CartTransformDeleteUserError), typeDiscriminator: "CartTransformDeleteUserError")] + [JsonDerivedType(typeof(CatalogUserError), typeDiscriminator: "CatalogUserError")] + [JsonDerivedType(typeof(CheckoutAndAccountsAppConfigurationDeleteUserError), typeDiscriminator: "CheckoutAndAccountsAppConfigurationDeleteUserError")] + [JsonDerivedType(typeof(CheckoutAndAccountsAppConfigurationUpdateUserError), typeDiscriminator: "CheckoutAndAccountsAppConfigurationUpdateUserError")] + [JsonDerivedType(typeof(CheckoutBrandingUpsertUserError), typeDiscriminator: "CheckoutBrandingUpsertUserError")] + [JsonDerivedType(typeof(CollectionAddProductsV2UserError), typeDiscriminator: "CollectionAddProductsV2UserError")] + [JsonDerivedType(typeof(CollectionReorderProductsUserError), typeDiscriminator: "CollectionReorderProductsUserError")] + [JsonDerivedType(typeof(CombinedListingUpdateUserError), typeDiscriminator: "CombinedListingUpdateUserError")] + [JsonDerivedType(typeof(CommentApproveUserError), typeDiscriminator: "CommentApproveUserError")] + [JsonDerivedType(typeof(CommentDeleteUserError), typeDiscriminator: "CommentDeleteUserError")] + [JsonDerivedType(typeof(CommentNotSpamUserError), typeDiscriminator: "CommentNotSpamUserError")] + [JsonDerivedType(typeof(CommentSpamUserError), typeDiscriminator: "CommentSpamUserError")] + [JsonDerivedType(typeof(ConsentPolicyError), typeDiscriminator: "ConsentPolicyError")] + [JsonDerivedType(typeof(CustomerCancelDataErasureUserError), typeDiscriminator: "CustomerCancelDataErasureUserError")] + [JsonDerivedType(typeof(CustomerEmailMarketingConsentUpdateUserError), typeDiscriminator: "CustomerEmailMarketingConsentUpdateUserError")] + [JsonDerivedType(typeof(CustomerMergeUserError), typeDiscriminator: "CustomerMergeUserError")] + [JsonDerivedType(typeof(CustomerPaymentMethodCreateFromDuplicationDataUserError), typeDiscriminator: "CustomerPaymentMethodCreateFromDuplicationDataUserError")] + [JsonDerivedType(typeof(CustomerPaymentMethodGetDuplicationDataUserError), typeDiscriminator: "CustomerPaymentMethodGetDuplicationDataUserError")] + [JsonDerivedType(typeof(CustomerPaymentMethodGetUpdateUrlUserError), typeDiscriminator: "CustomerPaymentMethodGetUpdateUrlUserError")] + [JsonDerivedType(typeof(CustomerPaymentMethodRemoteUserError), typeDiscriminator: "CustomerPaymentMethodRemoteUserError")] + [JsonDerivedType(typeof(CustomerPaymentMethodUserError), typeDiscriminator: "CustomerPaymentMethodUserError")] + [JsonDerivedType(typeof(CustomerRequestDataErasureUserError), typeDiscriminator: "CustomerRequestDataErasureUserError")] + [JsonDerivedType(typeof(CustomerSegmentMembersQueryUserError), typeDiscriminator: "CustomerSegmentMembersQueryUserError")] + [JsonDerivedType(typeof(CustomerSendAccountInviteEmailUserError), typeDiscriminator: "CustomerSendAccountInviteEmailUserError")] + [JsonDerivedType(typeof(CustomerSetUserError), typeDiscriminator: "CustomerSetUserError")] + [JsonDerivedType(typeof(CustomerSmsMarketingConsentError), typeDiscriminator: "CustomerSmsMarketingConsentError")] + [JsonDerivedType(typeof(DataSaleOptOutUserError), typeDiscriminator: "DataSaleOptOutUserError")] + [JsonDerivedType(typeof(DelegateAccessTokenCreateUserError), typeDiscriminator: "DelegateAccessTokenCreateUserError")] + [JsonDerivedType(typeof(DelegateAccessTokenDestroyUserError), typeDiscriminator: "DelegateAccessTokenDestroyUserError")] + [JsonDerivedType(typeof(DeliveryCustomizationError), typeDiscriminator: "DeliveryCustomizationError")] + [JsonDerivedType(typeof(DeliveryLocationLocalPickupSettingsError), typeDiscriminator: "DeliveryLocationLocalPickupSettingsError")] + [JsonDerivedType(typeof(DeliveryPromiseProviderUpsertUserError), typeDiscriminator: "DeliveryPromiseProviderUpsertUserError")] + [JsonDerivedType(typeof(DiscountUserError), typeDiscriminator: "DiscountUserError")] + [JsonDerivedType(typeof(DiscountsAllocatorFunctionUserError), typeDiscriminator: "DiscountsAllocatorFunctionUserError")] + [JsonDerivedType(typeof(DisputeEvidenceUpdateUserError), typeDiscriminator: "DisputeEvidenceUpdateUserError")] + [JsonDerivedType(typeof(DomainVerificationTagInjectUserError), typeDiscriminator: "DomainVerificationTagInjectUserError")] + [JsonDerivedType(typeof(DomainVerificationTagRemoveUserError), typeDiscriminator: "DomainVerificationTagRemoveUserError")] + [JsonDerivedType(typeof(EnvironmentVariablesUserError), typeDiscriminator: "EnvironmentVariablesUserError")] + [JsonDerivedType(typeof(ErrorsServerPixelUserError), typeDiscriminator: "ErrorsServerPixelUserError")] + [JsonDerivedType(typeof(ErrorsWebPixelUserError), typeDiscriminator: "ErrorsWebPixelUserError")] + [JsonDerivedType(typeof(FilesUserError), typeDiscriminator: "FilesUserError")] + [JsonDerivedType(typeof(FulfillmentConstraintRuleCreateUserError), typeDiscriminator: "FulfillmentConstraintRuleCreateUserError")] + [JsonDerivedType(typeof(FulfillmentConstraintRuleDeleteUserError), typeDiscriminator: "FulfillmentConstraintRuleDeleteUserError")] + [JsonDerivedType(typeof(FulfillmentConstraintRuleUpdateUserError), typeDiscriminator: "FulfillmentConstraintRuleUpdateUserError")] + [JsonDerivedType(typeof(FulfillmentOrderHoldUserError), typeDiscriminator: "FulfillmentOrderHoldUserError")] + [JsonDerivedType(typeof(FulfillmentOrderLineItemsPreparedForPickupUserError), typeDiscriminator: "FulfillmentOrderLineItemsPreparedForPickupUserError")] + [JsonDerivedType(typeof(FulfillmentOrderMergeUserError), typeDiscriminator: "FulfillmentOrderMergeUserError")] + [JsonDerivedType(typeof(FulfillmentOrderReleaseHoldUserError), typeDiscriminator: "FulfillmentOrderReleaseHoldUserError")] + [JsonDerivedType(typeof(FulfillmentOrderRescheduleUserError), typeDiscriminator: "FulfillmentOrderRescheduleUserError")] + [JsonDerivedType(typeof(FulfillmentOrderSplitUserError), typeDiscriminator: "FulfillmentOrderSplitUserError")] + [JsonDerivedType(typeof(FulfillmentOrdersRerouteUserError), typeDiscriminator: "FulfillmentOrdersRerouteUserError")] + [JsonDerivedType(typeof(FulfillmentOrdersSetFulfillmentDeadlineUserError), typeDiscriminator: "FulfillmentOrdersSetFulfillmentDeadlineUserError")] + [JsonDerivedType(typeof(GiftCardDeactivateUserError), typeDiscriminator: "GiftCardDeactivateUserError")] + [JsonDerivedType(typeof(GiftCardSendNotificationToCustomerUserError), typeDiscriminator: "GiftCardSendNotificationToCustomerUserError")] + [JsonDerivedType(typeof(GiftCardSendNotificationToRecipientUserError), typeDiscriminator: "GiftCardSendNotificationToRecipientUserError")] + [JsonDerivedType(typeof(GiftCardTransactionUserError), typeDiscriminator: "GiftCardTransactionUserError")] + [JsonDerivedType(typeof(GiftCardUserError), typeDiscriminator: "GiftCardUserError")] + [JsonDerivedType(typeof(HydrogenStorefrontCreateUserError), typeDiscriminator: "HydrogenStorefrontCreateUserError")] + [JsonDerivedType(typeof(HydrogenStorefrontCustomerUserError), typeDiscriminator: "HydrogenStorefrontCustomerUserError")] + [JsonDerivedType(typeof(InventoryAdjustQuantitiesUserError), typeDiscriminator: "InventoryAdjustQuantitiesUserError")] + [JsonDerivedType(typeof(InventoryBulkToggleActivationUserError), typeDiscriminator: "InventoryBulkToggleActivationUserError")] + [JsonDerivedType(typeof(InventoryMoveQuantitiesUserError), typeDiscriminator: "InventoryMoveQuantitiesUserError")] + [JsonDerivedType(typeof(InventorySetOnHandQuantitiesUserError), typeDiscriminator: "InventorySetOnHandQuantitiesUserError")] + [JsonDerivedType(typeof(InventorySetQuantitiesUserError), typeDiscriminator: "InventorySetQuantitiesUserError")] + [JsonDerivedType(typeof(InventorySetScheduledChangesUserError), typeDiscriminator: "InventorySetScheduledChangesUserError")] + [JsonDerivedType(typeof(InventoryShipmentAddItemsUserError), typeDiscriminator: "InventoryShipmentAddItemsUserError")] + [JsonDerivedType(typeof(InventoryShipmentCreateInTransitUserError), typeDiscriminator: "InventoryShipmentCreateInTransitUserError")] + [JsonDerivedType(typeof(InventoryShipmentCreateUserError), typeDiscriminator: "InventoryShipmentCreateUserError")] + [JsonDerivedType(typeof(InventoryShipmentDeleteUserError), typeDiscriminator: "InventoryShipmentDeleteUserError")] + [JsonDerivedType(typeof(InventoryShipmentMarkInTransitUserError), typeDiscriminator: "InventoryShipmentMarkInTransitUserError")] + [JsonDerivedType(typeof(InventoryShipmentReceiveUserError), typeDiscriminator: "InventoryShipmentReceiveUserError")] + [JsonDerivedType(typeof(InventoryShipmentRemoveItemsUserError), typeDiscriminator: "InventoryShipmentRemoveItemsUserError")] + [JsonDerivedType(typeof(InventoryShipmentSetTrackingUserError), typeDiscriminator: "InventoryShipmentSetTrackingUserError")] + [JsonDerivedType(typeof(InventoryShipmentUpdateItemQuantitiesUserError), typeDiscriminator: "InventoryShipmentUpdateItemQuantitiesUserError")] + [JsonDerivedType(typeof(InventoryTransferCancelUserError), typeDiscriminator: "InventoryTransferCancelUserError")] + [JsonDerivedType(typeof(InventoryTransferCreateAsReadyToShipUserError), typeDiscriminator: "InventoryTransferCreateAsReadyToShipUserError")] + [JsonDerivedType(typeof(InventoryTransferCreateUserError), typeDiscriminator: "InventoryTransferCreateUserError")] + [JsonDerivedType(typeof(InventoryTransferDeleteUserError), typeDiscriminator: "InventoryTransferDeleteUserError")] + [JsonDerivedType(typeof(InventoryTransferDuplicateUserError), typeDiscriminator: "InventoryTransferDuplicateUserError")] + [JsonDerivedType(typeof(InventoryTransferEditUserError), typeDiscriminator: "InventoryTransferEditUserError")] + [JsonDerivedType(typeof(InventoryTransferMarkAsReadyToShipUserError), typeDiscriminator: "InventoryTransferMarkAsReadyToShipUserError")] + [JsonDerivedType(typeof(InventoryTransferRemoveItemsUserError), typeDiscriminator: "InventoryTransferRemoveItemsUserError")] + [JsonDerivedType(typeof(InventoryTransferSetItemsUserError), typeDiscriminator: "InventoryTransferSetItemsUserError")] + [JsonDerivedType(typeof(LocationActivateUserError), typeDiscriminator: "LocationActivateUserError")] + [JsonDerivedType(typeof(LocationAddUserError), typeDiscriminator: "LocationAddUserError")] + [JsonDerivedType(typeof(LocationDeactivateUserError), typeDiscriminator: "LocationDeactivateUserError")] + [JsonDerivedType(typeof(LocationDeleteUserError), typeDiscriminator: "LocationDeleteUserError")] + [JsonDerivedType(typeof(LocationEditUserError), typeDiscriminator: "LocationEditUserError")] + [JsonDerivedType(typeof(MarketCurrencySettingsUserError), typeDiscriminator: "MarketCurrencySettingsUserError")] + [JsonDerivedType(typeof(MarketUserError), typeDiscriminator: "MarketUserError")] + [JsonDerivedType(typeof(MarketingActivityUserError), typeDiscriminator: "MarketingActivityUserError")] + [JsonDerivedType(typeof(MarketplacePaymentsConfigurationUpdateUserError), typeDiscriminator: "MarketplacePaymentsConfigurationUpdateUserError")] + [JsonDerivedType(typeof(MediaUserError), typeDiscriminator: "MediaUserError")] + [JsonDerivedType(typeof(MenuCreateUserError), typeDiscriminator: "MenuCreateUserError")] + [JsonDerivedType(typeof(MenuDeleteUserError), typeDiscriminator: "MenuDeleteUserError")] + [JsonDerivedType(typeof(MenuUpdateUserError), typeDiscriminator: "MenuUpdateUserError")] + [JsonDerivedType(typeof(MetafieldDefinitionCreateUserError), typeDiscriminator: "MetafieldDefinitionCreateUserError")] + [JsonDerivedType(typeof(MetafieldDefinitionDeleteUserError), typeDiscriminator: "MetafieldDefinitionDeleteUserError")] + [JsonDerivedType(typeof(MetafieldDefinitionPinUserError), typeDiscriminator: "MetafieldDefinitionPinUserError")] + [JsonDerivedType(typeof(MetafieldDefinitionUnpinUserError), typeDiscriminator: "MetafieldDefinitionUnpinUserError")] + [JsonDerivedType(typeof(MetafieldDefinitionUpdateUserError), typeDiscriminator: "MetafieldDefinitionUpdateUserError")] + [JsonDerivedType(typeof(MetafieldsSetUserError), typeDiscriminator: "MetafieldsSetUserError")] + [JsonDerivedType(typeof(MetaobjectUserError), typeDiscriminator: "MetaobjectUserError")] + [JsonDerivedType(typeof(MobilePlatformApplicationUserError), typeDiscriminator: "MobilePlatformApplicationUserError")] + [JsonDerivedType(typeof(OnlineStoreThemeFilesUserErrors), typeDiscriminator: "OnlineStoreThemeFilesUserErrors")] + [JsonDerivedType(typeof(OrderCancelUserError), typeDiscriminator: "OrderCancelUserError")] + [JsonDerivedType(typeof(OrderCreateMandatePaymentUserError), typeDiscriminator: "OrderCreateMandatePaymentUserError")] + [JsonDerivedType(typeof(OrderCreateManualPaymentOrderCreateManualPaymentError), typeDiscriminator: "OrderCreateManualPaymentOrderCreateManualPaymentError")] + [JsonDerivedType(typeof(OrderCreateUserError), typeDiscriminator: "OrderCreateUserError")] + [JsonDerivedType(typeof(OrderDeleteUserError), typeDiscriminator: "OrderDeleteUserError")] + [JsonDerivedType(typeof(OrderEditAddShippingLineUserError), typeDiscriminator: "OrderEditAddShippingLineUserError")] + [JsonDerivedType(typeof(OrderEditRemoveDiscountUserError), typeDiscriminator: "OrderEditRemoveDiscountUserError")] + [JsonDerivedType(typeof(OrderEditRemoveShippingLineUserError), typeDiscriminator: "OrderEditRemoveShippingLineUserError")] + [JsonDerivedType(typeof(OrderEditUpdateDiscountUserError), typeDiscriminator: "OrderEditUpdateDiscountUserError")] + [JsonDerivedType(typeof(OrderEditUpdateShippingLineUserError), typeDiscriminator: "OrderEditUpdateShippingLineUserError")] + [JsonDerivedType(typeof(OrderInvoiceSendUserError), typeDiscriminator: "OrderInvoiceSendUserError")] + [JsonDerivedType(typeof(OrderRiskAssessmentCreateUserError), typeDiscriminator: "OrderRiskAssessmentCreateUserError")] + [JsonDerivedType(typeof(PageCreateUserError), typeDiscriminator: "PageCreateUserError")] + [JsonDerivedType(typeof(PageDeleteUserError), typeDiscriminator: "PageDeleteUserError")] + [JsonDerivedType(typeof(PageUpdateUserError), typeDiscriminator: "PageUpdateUserError")] + [JsonDerivedType(typeof(PaymentCustomizationError), typeDiscriminator: "PaymentCustomizationError")] + [JsonDerivedType(typeof(PaymentReminderSendUserError), typeDiscriminator: "PaymentReminderSendUserError")] + [JsonDerivedType(typeof(PaymentTermsCreateUserError), typeDiscriminator: "PaymentTermsCreateUserError")] + [JsonDerivedType(typeof(PaymentTermsDeleteUserError), typeDiscriminator: "PaymentTermsDeleteUserError")] + [JsonDerivedType(typeof(PaymentTermsUpdateUserError), typeDiscriminator: "PaymentTermsUpdateUserError")] + [JsonDerivedType(typeof(PriceListFixedPricesByProductBulkUpdateUserError), typeDiscriminator: "PriceListFixedPricesByProductBulkUpdateUserError")] + [JsonDerivedType(typeof(PriceListPriceUserError), typeDiscriminator: "PriceListPriceUserError")] + [JsonDerivedType(typeof(PriceListUserError), typeDiscriminator: "PriceListUserError")] + [JsonDerivedType(typeof(PrivacyFeaturesDisableUserError), typeDiscriminator: "PrivacyFeaturesDisableUserError")] + [JsonDerivedType(typeof(ProductBundleMutationUserError), typeDiscriminator: "ProductBundleMutationUserError")] + [JsonDerivedType(typeof(ProductChangeStatusUserError), typeDiscriminator: "ProductChangeStatusUserError")] + [JsonDerivedType(typeof(ProductFeedCreateUserError), typeDiscriminator: "ProductFeedCreateUserError")] + [JsonDerivedType(typeof(ProductFeedDeleteUserError), typeDiscriminator: "ProductFeedDeleteUserError")] + [JsonDerivedType(typeof(ProductFullSyncUserError), typeDiscriminator: "ProductFullSyncUserError")] + [JsonDerivedType(typeof(ProductOptionUpdateUserError), typeDiscriminator: "ProductOptionUpdateUserError")] + [JsonDerivedType(typeof(ProductOptionsCreateUserError), typeDiscriminator: "ProductOptionsCreateUserError")] + [JsonDerivedType(typeof(ProductOptionsDeleteUserError), typeDiscriminator: "ProductOptionsDeleteUserError")] + [JsonDerivedType(typeof(ProductOptionsReorderUserError), typeDiscriminator: "ProductOptionsReorderUserError")] + [JsonDerivedType(typeof(ProductSetUserError), typeDiscriminator: "ProductSetUserError")] + [JsonDerivedType(typeof(ProductVariantRelationshipBulkUpdateUserError), typeDiscriminator: "ProductVariantRelationshipBulkUpdateUserError")] + [JsonDerivedType(typeof(ProductVariantsBulkCreateUserError), typeDiscriminator: "ProductVariantsBulkCreateUserError")] + [JsonDerivedType(typeof(ProductVariantsBulkDeleteUserError), typeDiscriminator: "ProductVariantsBulkDeleteUserError")] + [JsonDerivedType(typeof(ProductVariantsBulkReorderUserError), typeDiscriminator: "ProductVariantsBulkReorderUserError")] + [JsonDerivedType(typeof(ProductVariantsBulkUpdateUserError), typeDiscriminator: "ProductVariantsBulkUpdateUserError")] + [JsonDerivedType(typeof(PromiseSkuSettingUpsertUserError), typeDiscriminator: "PromiseSkuSettingUpsertUserError")] + [JsonDerivedType(typeof(PubSubWebhookSubscriptionCreateUserError), typeDiscriminator: "PubSubWebhookSubscriptionCreateUserError")] + [JsonDerivedType(typeof(PubSubWebhookSubscriptionUpdateUserError), typeDiscriminator: "PubSubWebhookSubscriptionUpdateUserError")] + [JsonDerivedType(typeof(PublicationUserError), typeDiscriminator: "PublicationUserError")] + [JsonDerivedType(typeof(QuantityPricingByVariantUserError), typeDiscriminator: "QuantityPricingByVariantUserError")] + [JsonDerivedType(typeof(QuantityRuleUserError), typeDiscriminator: "QuantityRuleUserError")] + [JsonDerivedType(typeof(ReturnUserError), typeDiscriminator: "ReturnUserError")] + [JsonDerivedType(typeof(SellingPlanGroupUserError), typeDiscriminator: "SellingPlanGroupUserError")] + [JsonDerivedType(typeof(ShopPolicyUserError), typeDiscriminator: "ShopPolicyUserError")] + [JsonDerivedType(typeof(ShopResourceFeedbackCreateUserError), typeDiscriminator: "ShopResourceFeedbackCreateUserError")] + [JsonDerivedType(typeof(ShopifyPaymentsPayoutAlternateCurrencyCreateUserError), typeDiscriminator: "ShopifyPaymentsPayoutAlternateCurrencyCreateUserError")] + [JsonDerivedType(typeof(StandardMetafieldDefinitionEnableUserError), typeDiscriminator: "StandardMetafieldDefinitionEnableUserError")] + [JsonDerivedType(typeof(StandardMetafieldDefinitionsEnableUserError), typeDiscriminator: "StandardMetafieldDefinitionsEnableUserError")] + [JsonDerivedType(typeof(StoreCreditAccountCreditUserError), typeDiscriminator: "StoreCreditAccountCreditUserError")] + [JsonDerivedType(typeof(StoreCreditAccountDebitUserError), typeDiscriminator: "StoreCreditAccountDebitUserError")] + [JsonDerivedType(typeof(SubscriptionBillingCycleBulkUserError), typeDiscriminator: "SubscriptionBillingCycleBulkUserError")] + [JsonDerivedType(typeof(SubscriptionBillingCycleSkipUserError), typeDiscriminator: "SubscriptionBillingCycleSkipUserError")] + [JsonDerivedType(typeof(SubscriptionBillingCycleUnskipUserError), typeDiscriminator: "SubscriptionBillingCycleUnskipUserError")] + [JsonDerivedType(typeof(SubscriptionBillingCycleUserError), typeDiscriminator: "SubscriptionBillingCycleUserError")] + [JsonDerivedType(typeof(SubscriptionContractStatusUpdateUserError), typeDiscriminator: "SubscriptionContractStatusUpdateUserError")] + [JsonDerivedType(typeof(SubscriptionContractUserError), typeDiscriminator: "SubscriptionContractUserError")] + [JsonDerivedType(typeof(SubscriptionDraftUserError), typeDiscriminator: "SubscriptionDraftUserError")] + [JsonDerivedType(typeof(TaxAppConfigureUserError), typeDiscriminator: "TaxAppConfigureUserError")] + [JsonDerivedType(typeof(TaxSummaryCreateUserError), typeDiscriminator: "TaxSummaryCreateUserError")] + [JsonDerivedType(typeof(ThemeCreateUserError), typeDiscriminator: "ThemeCreateUserError")] + [JsonDerivedType(typeof(ThemeDeleteUserError), typeDiscriminator: "ThemeDeleteUserError")] + [JsonDerivedType(typeof(ThemeDuplicateUserError), typeDiscriminator: "ThemeDuplicateUserError")] + [JsonDerivedType(typeof(ThemePublishUserError), typeDiscriminator: "ThemePublishUserError")] + [JsonDerivedType(typeof(ThemeUpdateUserError), typeDiscriminator: "ThemeUpdateUserError")] + [JsonDerivedType(typeof(TransactionVoidUserError), typeDiscriminator: "TransactionVoidUserError")] + [JsonDerivedType(typeof(TranslationUserError), typeDiscriminator: "TranslationUserError")] + [JsonDerivedType(typeof(UrlRedirectBulkDeleteByIdsUserError), typeDiscriminator: "UrlRedirectBulkDeleteByIdsUserError")] + [JsonDerivedType(typeof(UrlRedirectBulkDeleteBySavedSearchUserError), typeDiscriminator: "UrlRedirectBulkDeleteBySavedSearchUserError")] + [JsonDerivedType(typeof(UrlRedirectBulkDeleteBySearchUserError), typeDiscriminator: "UrlRedirectBulkDeleteBySearchUserError")] + [JsonDerivedType(typeof(UrlRedirectImportUserError), typeDiscriminator: "UrlRedirectImportUserError")] + [JsonDerivedType(typeof(UrlRedirectUserError), typeDiscriminator: "UrlRedirectUserError")] + [JsonDerivedType(typeof(UserError), typeDiscriminator: "UserError")] + [JsonDerivedType(typeof(ValidationUserError), typeDiscriminator: "ValidationUserError")] + public interface IDisplayableError : IGraphQLObject + { + public AbandonmentEmailStateUpdateUserError? AsAbandonmentEmailStateUpdateUserError() => this as AbandonmentEmailStateUpdateUserError; + public AbandonmentUpdateActivitiesDeliveryStatusesUserError? AsAbandonmentUpdateActivitiesDeliveryStatusesUserError() => this as AbandonmentUpdateActivitiesDeliveryStatusesUserError; + public AppRevokeAccessScopesAppRevokeScopeError? AsAppRevokeAccessScopesAppRevokeScopeError() => this as AppRevokeAccessScopesAppRevokeScopeError; + public AppSubscriptionTrialExtendUserError? AsAppSubscriptionTrialExtendUserError() => this as AppSubscriptionTrialExtendUserError; + public AppUninstallAppUninstallError? AsAppUninstallAppUninstallError() => this as AppUninstallAppUninstallError; + public ArticleCreateUserError? AsArticleCreateUserError() => this as ArticleCreateUserError; + public ArticleDeleteUserError? AsArticleDeleteUserError() => this as ArticleDeleteUserError; + public ArticleUpdateUserError? AsArticleUpdateUserError() => this as ArticleUpdateUserError; + public BillingAttemptUserError? AsBillingAttemptUserError() => this as BillingAttemptUserError; + public BlogCreateUserError? AsBlogCreateUserError() => this as BlogCreateUserError; + public BlogDeleteUserError? AsBlogDeleteUserError() => this as BlogDeleteUserError; + public BlogUpdateUserError? AsBlogUpdateUserError() => this as BlogUpdateUserError; + public BulkDiscountResourceFeedbackCreateUserError? AsBulkDiscountResourceFeedbackCreateUserError() => this as BulkDiscountResourceFeedbackCreateUserError; + public BulkMutationUserError? AsBulkMutationUserError() => this as BulkMutationUserError; + public BulkOperationUserError? AsBulkOperationUserError() => this as BulkOperationUserError; + public BulkProductResourceFeedbackCreateUserError? AsBulkProductResourceFeedbackCreateUserError() => this as BulkProductResourceFeedbackCreateUserError; + public BusinessCustomerUserError? AsBusinessCustomerUserError() => this as BusinessCustomerUserError; + public CarrierServiceCreateUserError? AsCarrierServiceCreateUserError() => this as CarrierServiceCreateUserError; + public CarrierServiceDeleteUserError? AsCarrierServiceDeleteUserError() => this as CarrierServiceDeleteUserError; + public CarrierServiceUpdateUserError? AsCarrierServiceUpdateUserError() => this as CarrierServiceUpdateUserError; + public CartTransformCreateUserError? AsCartTransformCreateUserError() => this as CartTransformCreateUserError; + public CartTransformDeleteUserError? AsCartTransformDeleteUserError() => this as CartTransformDeleteUserError; + public CatalogUserError? AsCatalogUserError() => this as CatalogUserError; + public CheckoutAndAccountsAppConfigurationDeleteUserError? AsCheckoutAndAccountsAppConfigurationDeleteUserError() => this as CheckoutAndAccountsAppConfigurationDeleteUserError; + public CheckoutAndAccountsAppConfigurationUpdateUserError? AsCheckoutAndAccountsAppConfigurationUpdateUserError() => this as CheckoutAndAccountsAppConfigurationUpdateUserError; + public CheckoutBrandingUpsertUserError? AsCheckoutBrandingUpsertUserError() => this as CheckoutBrandingUpsertUserError; + public CollectionAddProductsV2UserError? AsCollectionAddProductsV2UserError() => this as CollectionAddProductsV2UserError; + public CollectionReorderProductsUserError? AsCollectionReorderProductsUserError() => this as CollectionReorderProductsUserError; + public CombinedListingUpdateUserError? AsCombinedListingUpdateUserError() => this as CombinedListingUpdateUserError; + public CommentApproveUserError? AsCommentApproveUserError() => this as CommentApproveUserError; + public CommentDeleteUserError? AsCommentDeleteUserError() => this as CommentDeleteUserError; + public CommentNotSpamUserError? AsCommentNotSpamUserError() => this as CommentNotSpamUserError; + public CommentSpamUserError? AsCommentSpamUserError() => this as CommentSpamUserError; + public ConsentPolicyError? AsConsentPolicyError() => this as ConsentPolicyError; + public CustomerCancelDataErasureUserError? AsCustomerCancelDataErasureUserError() => this as CustomerCancelDataErasureUserError; + public CustomerEmailMarketingConsentUpdateUserError? AsCustomerEmailMarketingConsentUpdateUserError() => this as CustomerEmailMarketingConsentUpdateUserError; + public CustomerMergeUserError? AsCustomerMergeUserError() => this as CustomerMergeUserError; + public CustomerPaymentMethodCreateFromDuplicationDataUserError? AsCustomerPaymentMethodCreateFromDuplicationDataUserError() => this as CustomerPaymentMethodCreateFromDuplicationDataUserError; + public CustomerPaymentMethodGetDuplicationDataUserError? AsCustomerPaymentMethodGetDuplicationDataUserError() => this as CustomerPaymentMethodGetDuplicationDataUserError; + public CustomerPaymentMethodGetUpdateUrlUserError? AsCustomerPaymentMethodGetUpdateUrlUserError() => this as CustomerPaymentMethodGetUpdateUrlUserError; + public CustomerPaymentMethodRemoteUserError? AsCustomerPaymentMethodRemoteUserError() => this as CustomerPaymentMethodRemoteUserError; + public CustomerPaymentMethodUserError? AsCustomerPaymentMethodUserError() => this as CustomerPaymentMethodUserError; + public CustomerRequestDataErasureUserError? AsCustomerRequestDataErasureUserError() => this as CustomerRequestDataErasureUserError; + public CustomerSegmentMembersQueryUserError? AsCustomerSegmentMembersQueryUserError() => this as CustomerSegmentMembersQueryUserError; + public CustomerSendAccountInviteEmailUserError? AsCustomerSendAccountInviteEmailUserError() => this as CustomerSendAccountInviteEmailUserError; + public CustomerSetUserError? AsCustomerSetUserError() => this as CustomerSetUserError; + public CustomerSmsMarketingConsentError? AsCustomerSmsMarketingConsentError() => this as CustomerSmsMarketingConsentError; + public DataSaleOptOutUserError? AsDataSaleOptOutUserError() => this as DataSaleOptOutUserError; + public DelegateAccessTokenCreateUserError? AsDelegateAccessTokenCreateUserError() => this as DelegateAccessTokenCreateUserError; + public DelegateAccessTokenDestroyUserError? AsDelegateAccessTokenDestroyUserError() => this as DelegateAccessTokenDestroyUserError; + public DeliveryCustomizationError? AsDeliveryCustomizationError() => this as DeliveryCustomizationError; + public DeliveryLocationLocalPickupSettingsError? AsDeliveryLocationLocalPickupSettingsError() => this as DeliveryLocationLocalPickupSettingsError; + public DeliveryPromiseProviderUpsertUserError? AsDeliveryPromiseProviderUpsertUserError() => this as DeliveryPromiseProviderUpsertUserError; + public DiscountUserError? AsDiscountUserError() => this as DiscountUserError; + public DiscountsAllocatorFunctionUserError? AsDiscountsAllocatorFunctionUserError() => this as DiscountsAllocatorFunctionUserError; + public DisputeEvidenceUpdateUserError? AsDisputeEvidenceUpdateUserError() => this as DisputeEvidenceUpdateUserError; + public DomainVerificationTagInjectUserError? AsDomainVerificationTagInjectUserError() => this as DomainVerificationTagInjectUserError; + public DomainVerificationTagRemoveUserError? AsDomainVerificationTagRemoveUserError() => this as DomainVerificationTagRemoveUserError; + public EnvironmentVariablesUserError? AsEnvironmentVariablesUserError() => this as EnvironmentVariablesUserError; + public ErrorsServerPixelUserError? AsErrorsServerPixelUserError() => this as ErrorsServerPixelUserError; + public ErrorsWebPixelUserError? AsErrorsWebPixelUserError() => this as ErrorsWebPixelUserError; + public FilesUserError? AsFilesUserError() => this as FilesUserError; + public FulfillmentConstraintRuleCreateUserError? AsFulfillmentConstraintRuleCreateUserError() => this as FulfillmentConstraintRuleCreateUserError; + public FulfillmentConstraintRuleDeleteUserError? AsFulfillmentConstraintRuleDeleteUserError() => this as FulfillmentConstraintRuleDeleteUserError; + public FulfillmentConstraintRuleUpdateUserError? AsFulfillmentConstraintRuleUpdateUserError() => this as FulfillmentConstraintRuleUpdateUserError; + public FulfillmentOrderHoldUserError? AsFulfillmentOrderHoldUserError() => this as FulfillmentOrderHoldUserError; + public FulfillmentOrderLineItemsPreparedForPickupUserError? AsFulfillmentOrderLineItemsPreparedForPickupUserError() => this as FulfillmentOrderLineItemsPreparedForPickupUserError; + public FulfillmentOrderMergeUserError? AsFulfillmentOrderMergeUserError() => this as FulfillmentOrderMergeUserError; + public FulfillmentOrderReleaseHoldUserError? AsFulfillmentOrderReleaseHoldUserError() => this as FulfillmentOrderReleaseHoldUserError; + public FulfillmentOrderRescheduleUserError? AsFulfillmentOrderRescheduleUserError() => this as FulfillmentOrderRescheduleUserError; + public FulfillmentOrderSplitUserError? AsFulfillmentOrderSplitUserError() => this as FulfillmentOrderSplitUserError; + public FulfillmentOrdersRerouteUserError? AsFulfillmentOrdersRerouteUserError() => this as FulfillmentOrdersRerouteUserError; + public FulfillmentOrdersSetFulfillmentDeadlineUserError? AsFulfillmentOrdersSetFulfillmentDeadlineUserError() => this as FulfillmentOrdersSetFulfillmentDeadlineUserError; + public GiftCardDeactivateUserError? AsGiftCardDeactivateUserError() => this as GiftCardDeactivateUserError; + public GiftCardSendNotificationToCustomerUserError? AsGiftCardSendNotificationToCustomerUserError() => this as GiftCardSendNotificationToCustomerUserError; + public GiftCardSendNotificationToRecipientUserError? AsGiftCardSendNotificationToRecipientUserError() => this as GiftCardSendNotificationToRecipientUserError; + public GiftCardTransactionUserError? AsGiftCardTransactionUserError() => this as GiftCardTransactionUserError; + public GiftCardUserError? AsGiftCardUserError() => this as GiftCardUserError; + public HydrogenStorefrontCreateUserError? AsHydrogenStorefrontCreateUserError() => this as HydrogenStorefrontCreateUserError; + public HydrogenStorefrontCustomerUserError? AsHydrogenStorefrontCustomerUserError() => this as HydrogenStorefrontCustomerUserError; + public InventoryAdjustQuantitiesUserError? AsInventoryAdjustQuantitiesUserError() => this as InventoryAdjustQuantitiesUserError; + public InventoryBulkToggleActivationUserError? AsInventoryBulkToggleActivationUserError() => this as InventoryBulkToggleActivationUserError; + public InventoryMoveQuantitiesUserError? AsInventoryMoveQuantitiesUserError() => this as InventoryMoveQuantitiesUserError; + public InventorySetOnHandQuantitiesUserError? AsInventorySetOnHandQuantitiesUserError() => this as InventorySetOnHandQuantitiesUserError; + public InventorySetQuantitiesUserError? AsInventorySetQuantitiesUserError() => this as InventorySetQuantitiesUserError; + public InventorySetScheduledChangesUserError? AsInventorySetScheduledChangesUserError() => this as InventorySetScheduledChangesUserError; + public InventoryShipmentAddItemsUserError? AsInventoryShipmentAddItemsUserError() => this as InventoryShipmentAddItemsUserError; + public InventoryShipmentCreateInTransitUserError? AsInventoryShipmentCreateInTransitUserError() => this as InventoryShipmentCreateInTransitUserError; + public InventoryShipmentCreateUserError? AsInventoryShipmentCreateUserError() => this as InventoryShipmentCreateUserError; + public InventoryShipmentDeleteUserError? AsInventoryShipmentDeleteUserError() => this as InventoryShipmentDeleteUserError; + public InventoryShipmentMarkInTransitUserError? AsInventoryShipmentMarkInTransitUserError() => this as InventoryShipmentMarkInTransitUserError; + public InventoryShipmentReceiveUserError? AsInventoryShipmentReceiveUserError() => this as InventoryShipmentReceiveUserError; + public InventoryShipmentRemoveItemsUserError? AsInventoryShipmentRemoveItemsUserError() => this as InventoryShipmentRemoveItemsUserError; + public InventoryShipmentSetTrackingUserError? AsInventoryShipmentSetTrackingUserError() => this as InventoryShipmentSetTrackingUserError; + public InventoryShipmentUpdateItemQuantitiesUserError? AsInventoryShipmentUpdateItemQuantitiesUserError() => this as InventoryShipmentUpdateItemQuantitiesUserError; + public InventoryTransferCancelUserError? AsInventoryTransferCancelUserError() => this as InventoryTransferCancelUserError; + public InventoryTransferCreateAsReadyToShipUserError? AsInventoryTransferCreateAsReadyToShipUserError() => this as InventoryTransferCreateAsReadyToShipUserError; + public InventoryTransferCreateUserError? AsInventoryTransferCreateUserError() => this as InventoryTransferCreateUserError; + public InventoryTransferDeleteUserError? AsInventoryTransferDeleteUserError() => this as InventoryTransferDeleteUserError; + public InventoryTransferDuplicateUserError? AsInventoryTransferDuplicateUserError() => this as InventoryTransferDuplicateUserError; + public InventoryTransferEditUserError? AsInventoryTransferEditUserError() => this as InventoryTransferEditUserError; + public InventoryTransferMarkAsReadyToShipUserError? AsInventoryTransferMarkAsReadyToShipUserError() => this as InventoryTransferMarkAsReadyToShipUserError; + public InventoryTransferRemoveItemsUserError? AsInventoryTransferRemoveItemsUserError() => this as InventoryTransferRemoveItemsUserError; + public InventoryTransferSetItemsUserError? AsInventoryTransferSetItemsUserError() => this as InventoryTransferSetItemsUserError; + public LocationActivateUserError? AsLocationActivateUserError() => this as LocationActivateUserError; + public LocationAddUserError? AsLocationAddUserError() => this as LocationAddUserError; + public LocationDeactivateUserError? AsLocationDeactivateUserError() => this as LocationDeactivateUserError; + public LocationDeleteUserError? AsLocationDeleteUserError() => this as LocationDeleteUserError; + public LocationEditUserError? AsLocationEditUserError() => this as LocationEditUserError; + public MarketCurrencySettingsUserError? AsMarketCurrencySettingsUserError() => this as MarketCurrencySettingsUserError; + public MarketUserError? AsMarketUserError() => this as MarketUserError; + public MarketingActivityUserError? AsMarketingActivityUserError() => this as MarketingActivityUserError; + public MarketplacePaymentsConfigurationUpdateUserError? AsMarketplacePaymentsConfigurationUpdateUserError() => this as MarketplacePaymentsConfigurationUpdateUserError; + public MediaUserError? AsMediaUserError() => this as MediaUserError; + public MenuCreateUserError? AsMenuCreateUserError() => this as MenuCreateUserError; + public MenuDeleteUserError? AsMenuDeleteUserError() => this as MenuDeleteUserError; + public MenuUpdateUserError? AsMenuUpdateUserError() => this as MenuUpdateUserError; + public MetafieldDefinitionCreateUserError? AsMetafieldDefinitionCreateUserError() => this as MetafieldDefinitionCreateUserError; + public MetafieldDefinitionDeleteUserError? AsMetafieldDefinitionDeleteUserError() => this as MetafieldDefinitionDeleteUserError; + public MetafieldDefinitionPinUserError? AsMetafieldDefinitionPinUserError() => this as MetafieldDefinitionPinUserError; + public MetafieldDefinitionUnpinUserError? AsMetafieldDefinitionUnpinUserError() => this as MetafieldDefinitionUnpinUserError; + public MetafieldDefinitionUpdateUserError? AsMetafieldDefinitionUpdateUserError() => this as MetafieldDefinitionUpdateUserError; + public MetafieldsSetUserError? AsMetafieldsSetUserError() => this as MetafieldsSetUserError; + public MetaobjectUserError? AsMetaobjectUserError() => this as MetaobjectUserError; + public MobilePlatformApplicationUserError? AsMobilePlatformApplicationUserError() => this as MobilePlatformApplicationUserError; + public OnlineStoreThemeFilesUserErrors? AsOnlineStoreThemeFilesUserErrors() => this as OnlineStoreThemeFilesUserErrors; + public OrderCancelUserError? AsOrderCancelUserError() => this as OrderCancelUserError; + public OrderCreateMandatePaymentUserError? AsOrderCreateMandatePaymentUserError() => this as OrderCreateMandatePaymentUserError; + public OrderCreateManualPaymentOrderCreateManualPaymentError? AsOrderCreateManualPaymentOrderCreateManualPaymentError() => this as OrderCreateManualPaymentOrderCreateManualPaymentError; + public OrderCreateUserError? AsOrderCreateUserError() => this as OrderCreateUserError; + public OrderDeleteUserError? AsOrderDeleteUserError() => this as OrderDeleteUserError; + public OrderEditAddShippingLineUserError? AsOrderEditAddShippingLineUserError() => this as OrderEditAddShippingLineUserError; + public OrderEditRemoveDiscountUserError? AsOrderEditRemoveDiscountUserError() => this as OrderEditRemoveDiscountUserError; + public OrderEditRemoveShippingLineUserError? AsOrderEditRemoveShippingLineUserError() => this as OrderEditRemoveShippingLineUserError; + public OrderEditUpdateDiscountUserError? AsOrderEditUpdateDiscountUserError() => this as OrderEditUpdateDiscountUserError; + public OrderEditUpdateShippingLineUserError? AsOrderEditUpdateShippingLineUserError() => this as OrderEditUpdateShippingLineUserError; + public OrderInvoiceSendUserError? AsOrderInvoiceSendUserError() => this as OrderInvoiceSendUserError; + public OrderRiskAssessmentCreateUserError? AsOrderRiskAssessmentCreateUserError() => this as OrderRiskAssessmentCreateUserError; + public PageCreateUserError? AsPageCreateUserError() => this as PageCreateUserError; + public PageDeleteUserError? AsPageDeleteUserError() => this as PageDeleteUserError; + public PageUpdateUserError? AsPageUpdateUserError() => this as PageUpdateUserError; + public PaymentCustomizationError? AsPaymentCustomizationError() => this as PaymentCustomizationError; + public PaymentReminderSendUserError? AsPaymentReminderSendUserError() => this as PaymentReminderSendUserError; + public PaymentTermsCreateUserError? AsPaymentTermsCreateUserError() => this as PaymentTermsCreateUserError; + public PaymentTermsDeleteUserError? AsPaymentTermsDeleteUserError() => this as PaymentTermsDeleteUserError; + public PaymentTermsUpdateUserError? AsPaymentTermsUpdateUserError() => this as PaymentTermsUpdateUserError; + public PriceListFixedPricesByProductBulkUpdateUserError? AsPriceListFixedPricesByProductBulkUpdateUserError() => this as PriceListFixedPricesByProductBulkUpdateUserError; + public PriceListPriceUserError? AsPriceListPriceUserError() => this as PriceListPriceUserError; + public PriceListUserError? AsPriceListUserError() => this as PriceListUserError; + public PrivacyFeaturesDisableUserError? AsPrivacyFeaturesDisableUserError() => this as PrivacyFeaturesDisableUserError; + public ProductBundleMutationUserError? AsProductBundleMutationUserError() => this as ProductBundleMutationUserError; + public ProductChangeStatusUserError? AsProductChangeStatusUserError() => this as ProductChangeStatusUserError; + public ProductFeedCreateUserError? AsProductFeedCreateUserError() => this as ProductFeedCreateUserError; + public ProductFeedDeleteUserError? AsProductFeedDeleteUserError() => this as ProductFeedDeleteUserError; + public ProductFullSyncUserError? AsProductFullSyncUserError() => this as ProductFullSyncUserError; + public ProductOptionUpdateUserError? AsProductOptionUpdateUserError() => this as ProductOptionUpdateUserError; + public ProductOptionsCreateUserError? AsProductOptionsCreateUserError() => this as ProductOptionsCreateUserError; + public ProductOptionsDeleteUserError? AsProductOptionsDeleteUserError() => this as ProductOptionsDeleteUserError; + public ProductOptionsReorderUserError? AsProductOptionsReorderUserError() => this as ProductOptionsReorderUserError; + public ProductSetUserError? AsProductSetUserError() => this as ProductSetUserError; + public ProductVariantRelationshipBulkUpdateUserError? AsProductVariantRelationshipBulkUpdateUserError() => this as ProductVariantRelationshipBulkUpdateUserError; + public ProductVariantsBulkCreateUserError? AsProductVariantsBulkCreateUserError() => this as ProductVariantsBulkCreateUserError; + public ProductVariantsBulkDeleteUserError? AsProductVariantsBulkDeleteUserError() => this as ProductVariantsBulkDeleteUserError; + public ProductVariantsBulkReorderUserError? AsProductVariantsBulkReorderUserError() => this as ProductVariantsBulkReorderUserError; + public ProductVariantsBulkUpdateUserError? AsProductVariantsBulkUpdateUserError() => this as ProductVariantsBulkUpdateUserError; + public PromiseSkuSettingUpsertUserError? AsPromiseSkuSettingUpsertUserError() => this as PromiseSkuSettingUpsertUserError; + public PubSubWebhookSubscriptionCreateUserError? AsPubSubWebhookSubscriptionCreateUserError() => this as PubSubWebhookSubscriptionCreateUserError; + public PubSubWebhookSubscriptionUpdateUserError? AsPubSubWebhookSubscriptionUpdateUserError() => this as PubSubWebhookSubscriptionUpdateUserError; + public PublicationUserError? AsPublicationUserError() => this as PublicationUserError; + public QuantityPricingByVariantUserError? AsQuantityPricingByVariantUserError() => this as QuantityPricingByVariantUserError; + public QuantityRuleUserError? AsQuantityRuleUserError() => this as QuantityRuleUserError; + public ReturnUserError? AsReturnUserError() => this as ReturnUserError; + public SellingPlanGroupUserError? AsSellingPlanGroupUserError() => this as SellingPlanGroupUserError; + public ShopPolicyUserError? AsShopPolicyUserError() => this as ShopPolicyUserError; + public ShopResourceFeedbackCreateUserError? AsShopResourceFeedbackCreateUserError() => this as ShopResourceFeedbackCreateUserError; + public ShopifyPaymentsPayoutAlternateCurrencyCreateUserError? AsShopifyPaymentsPayoutAlternateCurrencyCreateUserError() => this as ShopifyPaymentsPayoutAlternateCurrencyCreateUserError; + public StandardMetafieldDefinitionEnableUserError? AsStandardMetafieldDefinitionEnableUserError() => this as StandardMetafieldDefinitionEnableUserError; + public StandardMetafieldDefinitionsEnableUserError? AsStandardMetafieldDefinitionsEnableUserError() => this as StandardMetafieldDefinitionsEnableUserError; + public StoreCreditAccountCreditUserError? AsStoreCreditAccountCreditUserError() => this as StoreCreditAccountCreditUserError; + public StoreCreditAccountDebitUserError? AsStoreCreditAccountDebitUserError() => this as StoreCreditAccountDebitUserError; + public SubscriptionBillingCycleBulkUserError? AsSubscriptionBillingCycleBulkUserError() => this as SubscriptionBillingCycleBulkUserError; + public SubscriptionBillingCycleSkipUserError? AsSubscriptionBillingCycleSkipUserError() => this as SubscriptionBillingCycleSkipUserError; + public SubscriptionBillingCycleUnskipUserError? AsSubscriptionBillingCycleUnskipUserError() => this as SubscriptionBillingCycleUnskipUserError; + public SubscriptionBillingCycleUserError? AsSubscriptionBillingCycleUserError() => this as SubscriptionBillingCycleUserError; + public SubscriptionContractStatusUpdateUserError? AsSubscriptionContractStatusUpdateUserError() => this as SubscriptionContractStatusUpdateUserError; + public SubscriptionContractUserError? AsSubscriptionContractUserError() => this as SubscriptionContractUserError; + public SubscriptionDraftUserError? AsSubscriptionDraftUserError() => this as SubscriptionDraftUserError; + public TaxAppConfigureUserError? AsTaxAppConfigureUserError() => this as TaxAppConfigureUserError; + public TaxSummaryCreateUserError? AsTaxSummaryCreateUserError() => this as TaxSummaryCreateUserError; + public ThemeCreateUserError? AsThemeCreateUserError() => this as ThemeCreateUserError; + public ThemeDeleteUserError? AsThemeDeleteUserError() => this as ThemeDeleteUserError; + public ThemeDuplicateUserError? AsThemeDuplicateUserError() => this as ThemeDuplicateUserError; + public ThemePublishUserError? AsThemePublishUserError() => this as ThemePublishUserError; + public ThemeUpdateUserError? AsThemeUpdateUserError() => this as ThemeUpdateUserError; + public TransactionVoidUserError? AsTransactionVoidUserError() => this as TransactionVoidUserError; + public TranslationUserError? AsTranslationUserError() => this as TranslationUserError; + public UrlRedirectBulkDeleteByIdsUserError? AsUrlRedirectBulkDeleteByIdsUserError() => this as UrlRedirectBulkDeleteByIdsUserError; + public UrlRedirectBulkDeleteBySavedSearchUserError? AsUrlRedirectBulkDeleteBySavedSearchUserError() => this as UrlRedirectBulkDeleteBySavedSearchUserError; + public UrlRedirectBulkDeleteBySearchUserError? AsUrlRedirectBulkDeleteBySearchUserError() => this as UrlRedirectBulkDeleteBySearchUserError; + public UrlRedirectImportUserError? AsUrlRedirectImportUserError() => this as UrlRedirectImportUserError; + public UrlRedirectUserError? AsUrlRedirectUserError() => this as UrlRedirectUserError; + public UserError? AsUserError() => this as UserError; + public ValidationUserError? AsValidationUserError() => this as ValidationUserError; /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; } + } + /// ///Return type for `disputeEvidenceUpdate` mutation. /// - [Description("Return type for `disputeEvidenceUpdate` mutation.")] - public class DisputeEvidenceUpdatePayload : GraphQLObject - { + [Description("Return type for `disputeEvidenceUpdate` mutation.")] + public class DisputeEvidenceUpdatePayload : GraphQLObject + { /// ///The updated dispute evidence. /// - [Description("The updated dispute evidence.")] - public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } - + [Description("The updated dispute evidence.")] + public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `DisputeEvidenceUpdate`. /// - [Description("An error that occurs during the execution of `DisputeEvidenceUpdate`.")] - public class DisputeEvidenceUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `DisputeEvidenceUpdate`.")] + public class DisputeEvidenceUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DisputeEvidenceUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DisputeEvidenceUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DisputeEvidenceUpdateUserError`. /// - [Description("Possible error codes that can be returned by `DisputeEvidenceUpdateUserError`.")] - public enum DisputeEvidenceUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `DisputeEvidenceUpdateUserError`.")] + public enum DisputeEvidenceUpdateUserErrorCode + { /// ///Dispute evidence could not be found. /// - [Description("Dispute evidence could not be found.")] - DISPUTE_EVIDENCE_NOT_FOUND, + [Description("Dispute evidence could not be found.")] + DISPUTE_EVIDENCE_NOT_FOUND, /// ///Evidence already accepted. /// - [Description("Evidence already accepted.")] - EVIDENCE_ALREADY_ACCEPTED, + [Description("Evidence already accepted.")] + EVIDENCE_ALREADY_ACCEPTED, /// ///Evidence past due date. /// - [Description("Evidence past due date.")] - EVIDENCE_PAST_DUE_DATE, + [Description("Evidence past due date.")] + EVIDENCE_PAST_DUE_DATE, /// ///Combined files size is too large. /// - [Description("Combined files size is too large.")] - FILES_SIZE_EXCEEDED_LIMIT, + [Description("Combined files size is too large.")] + FILES_SIZE_EXCEEDED_LIMIT, /// ///File upload failed. Please try again. /// - [Description("File upload failed. Please try again.")] - FILE_NOT_FOUND, + [Description("File upload failed. Please try again.")] + FILE_NOT_FOUND, /// ///Individual file size is too large. /// - [Description("Individual file size is too large.")] - TOO_LARGE, + [Description("Individual file size is too large.")] + TOO_LARGE, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class DisputeEvidenceUpdateUserErrorCodeStringValues - { - public const string DISPUTE_EVIDENCE_NOT_FOUND = @"DISPUTE_EVIDENCE_NOT_FOUND"; - public const string EVIDENCE_ALREADY_ACCEPTED = @"EVIDENCE_ALREADY_ACCEPTED"; - public const string EVIDENCE_PAST_DUE_DATE = @"EVIDENCE_PAST_DUE_DATE"; - public const string FILES_SIZE_EXCEEDED_LIMIT = @"FILES_SIZE_EXCEEDED_LIMIT"; - public const string FILE_NOT_FOUND = @"FILE_NOT_FOUND"; - public const string TOO_LARGE = @"TOO_LARGE"; - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class DisputeEvidenceUpdateUserErrorCodeStringValues + { + public const string DISPUTE_EVIDENCE_NOT_FOUND = @"DISPUTE_EVIDENCE_NOT_FOUND"; + public const string EVIDENCE_ALREADY_ACCEPTED = @"EVIDENCE_ALREADY_ACCEPTED"; + public const string EVIDENCE_PAST_DUE_DATE = @"EVIDENCE_PAST_DUE_DATE"; + public const string FILES_SIZE_EXCEEDED_LIMIT = @"FILES_SIZE_EXCEEDED_LIMIT"; + public const string FILE_NOT_FOUND = @"FILE_NOT_FOUND"; + public const string TOO_LARGE = @"TOO_LARGE"; + public const string INVALID = @"INVALID"; + } + /// ///The possible statuses of a dispute. /// - [Description("The possible statuses of a dispute.")] - public enum DisputeStatus - { - ACCEPTED, - LOST, - NEEDS_RESPONSE, + [Description("The possible statuses of a dispute.")] + public enum DisputeStatus + { + ACCEPTED, + LOST, + NEEDS_RESPONSE, /// ///A dispute that was prevented from becoming a formal chargeback. /// - [Description("A dispute that was prevented from becoming a formal chargeback.")] - PREVENTED, - UNDER_REVIEW, - WON, + [Description("A dispute that was prevented from becoming a formal chargeback.")] + PREVENTED, + UNDER_REVIEW, + WON, /// ///Status previously used by Stripe to indicate that a dispute led to a refund. /// - [Description("Status previously used by Stripe to indicate that a dispute led to a refund.")] - [Obsolete("CHARGE_REFUNDED is no longer supported.")] - CHARGE_REFUNDED, - } - - public static class DisputeStatusStringValues - { - public const string ACCEPTED = @"ACCEPTED"; - public const string LOST = @"LOST"; - public const string NEEDS_RESPONSE = @"NEEDS_RESPONSE"; - public const string PREVENTED = @"PREVENTED"; - public const string UNDER_REVIEW = @"UNDER_REVIEW"; - public const string WON = @"WON"; - [Obsolete("CHARGE_REFUNDED is no longer supported.")] - public const string CHARGE_REFUNDED = @"CHARGE_REFUNDED"; - } - + [Description("Status previously used by Stripe to indicate that a dispute led to a refund.")] + [Obsolete("CHARGE_REFUNDED is no longer supported.")] + CHARGE_REFUNDED, + } + + public static class DisputeStatusStringValues + { + public const string ACCEPTED = @"ACCEPTED"; + public const string LOST = @"LOST"; + public const string NEEDS_RESPONSE = @"NEEDS_RESPONSE"; + public const string PREVENTED = @"PREVENTED"; + public const string UNDER_REVIEW = @"UNDER_REVIEW"; + public const string WON = @"WON"; + [Obsolete("CHARGE_REFUNDED is no longer supported.")] + public const string CHARGE_REFUNDED = @"CHARGE_REFUNDED"; + } + /// ///The possible types for a dispute. /// - [Description("The possible types for a dispute.")] - public enum DisputeType - { + [Description("The possible types for a dispute.")] + public enum DisputeType + { /// ///The dispute has turned into a chargeback. /// - [Description("The dispute has turned into a chargeback.")] - CHARGEBACK, + [Description("The dispute has turned into a chargeback.")] + CHARGEBACK, /// ///The dispute is in the inquiry phase. /// - [Description("The dispute is in the inquiry phase.")] - INQUIRY, - } - - public static class DisputeTypeStringValues - { - public const string CHARGEBACK = @"CHARGEBACK"; - public const string INQUIRY = @"INQUIRY"; - } - + [Description("The dispute is in the inquiry phase.")] + INQUIRY, + } + + public static class DisputeTypeStringValues + { + public const string CHARGEBACK = @"CHARGEBACK"; + public const string INQUIRY = @"INQUIRY"; + } + /// ///A distance, which includes a numeric value and a unit of measurement. /// - [Description("A distance, which includes a numeric value and a unit of measurement.")] - public class Distance : GraphQLObject - { + [Description("A distance, which includes a numeric value and a unit of measurement.")] + public class Distance : GraphQLObject + { /// ///The unit of measurement for `value`. /// - [Description("The unit of measurement for `value`.")] - [NonNull] - [EnumType(typeof(DistanceUnit))] - public string? unit { get; set; } - + [Description("The unit of measurement for `value`.")] + [NonNull] + [EnumType(typeof(DistanceUnit))] + public string? unit { get; set; } + /// ///The distance value using the unit system specified with `unit`. /// - [Description("The distance value using the unit system specified with `unit`.")] - [NonNull] - public decimal? value { get; set; } - } - + [Description("The distance value using the unit system specified with `unit`.")] + [NonNull] + public decimal? value { get; set; } + } + /// ///Units of measurement for distance. /// - [Description("Units of measurement for distance.")] - public enum DistanceUnit - { + [Description("Units of measurement for distance.")] + public enum DistanceUnit + { /// ///Metric system unit of distance. /// - [Description("Metric system unit of distance.")] - KILOMETERS, + [Description("Metric system unit of distance.")] + KILOMETERS, /// ///Imperial system unit of distance. /// - [Description("Imperial system unit of distance.")] - MILES, - } - - public static class DistanceUnitStringValues - { - public const string KILOMETERS = @"KILOMETERS"; - public const string MILES = @"MILES"; - } - + [Description("Imperial system unit of distance.")] + MILES, + } + + public static class DistanceUnitStringValues + { + public const string KILOMETERS = @"KILOMETERS"; + public const string MILES = @"MILES"; + } + /// ///A unique string that represents the address of a Shopify store on the Internet. /// - [Description("A unique string that represents the address of a Shopify store on the Internet.")] - public class Domain : GraphQLObject, INode - { + [Description("A unique string that represents the address of a Shopify store on the Internet.")] + public class Domain : GraphQLObject, INode + { /// ///The host name of the domain. For example, `example.com`. /// - [Description("The host name of the domain. For example, `example.com`.")] - [NonNull] - public string? host { get; set; } - + [Description("The host name of the domain. For example, `example.com`.")] + [NonNull] + public string? host { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The localization of the domain, if the domain doesn't redirect. /// - [Description("The localization of the domain, if the domain doesn't redirect.")] - public DomainLocalization? localization { get; set; } - + [Description("The localization of the domain, if the domain doesn't redirect.")] + public DomainLocalization? localization { get; set; } + /// ///The web presence of the domain. /// - [Description("The web presence of the domain.")] - public MarketWebPresence? marketWebPresence { get; set; } - + [Description("The web presence of the domain.")] + public MarketWebPresence? marketWebPresence { get; set; } + /// ///Whether SSL is enabled. /// - [Description("Whether SSL is enabled.")] - [NonNull] - public bool? sslEnabled { get; set; } - + [Description("Whether SSL is enabled.")] + [NonNull] + public bool? sslEnabled { get; set; } + /// ///The URL of the domain (for example, `https://example.com`). /// - [Description("The URL of the domain (for example, `https://example.com`).")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL of the domain (for example, `https://example.com`).")] + [NonNull] + public string? url { get; set; } + } + /// ///An auto-generated type for paginating through multiple Domains. /// - [Description("An auto-generated type for paginating through multiple Domains.")] - public class DomainConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Domains.")] + public class DomainConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DomainEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DomainEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DomainEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one Domain and a cursor during pagination. /// - [Description("An auto-generated type which holds one Domain and a cursor during pagination.")] - public class DomainEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Domain and a cursor during pagination.")] + public class DomainEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DomainEdge. /// - [Description("The item at the end of DomainEdge.")] - [NonNull] - public Domain? node { get; set; } - } - + [Description("The item at the end of DomainEdge.")] + [NonNull] + public Domain? node { get; set; } + } + /// ///The country and language settings assigned to a domain. /// - [Description("The country and language settings assigned to a domain.")] - public class DomainLocalization : GraphQLObject - { + [Description("The country and language settings assigned to a domain.")] + public class DomainLocalization : GraphQLObject + { /// ///The ISO codes for the domain’s alternate locales. For example, `["en"]`. /// - [Description("The ISO codes for the domain’s alternate locales. For example, `[\"en\"]`.")] - [NonNull] - public IEnumerable? alternateLocales { get; set; } - + [Description("The ISO codes for the domain’s alternate locales. For example, `[\"en\"]`.")] + [NonNull] + public IEnumerable? alternateLocales { get; set; } + /// ///The ISO code for the country assigned to the domain. For example, `"CA"` or "*" for a domain set to "Rest of world". /// - [Description("The ISO code for the country assigned to the domain. For example, `\"CA\"` or \"*\" for a domain set to \"Rest of world\".")] - public string? country { get; set; } - + [Description("The ISO code for the country assigned to the domain. For example, `\"CA\"` or \"*\" for a domain set to \"Rest of world\".")] + public string? country { get; set; } + /// ///The ISO code for the domain’s default locale. For example, `"en"`. /// - [Description("The ISO code for the domain’s default locale. For example, `\"en\"`.")] - [NonNull] - public string? defaultLocale { get; set; } - } - + [Description("The ISO code for the domain’s default locale. For example, `\"en\"`.")] + [NonNull] + public string? defaultLocale { get; set; } + } + /// ///Return type for `domainVerificationTagInject` mutation. /// - [Description("Return type for `domainVerificationTagInject` mutation.")] - public class DomainVerificationTagInjectPayload : GraphQLObject - { + [Description("Return type for `domainVerificationTagInject` mutation.")] + public class DomainVerificationTagInjectPayload : GraphQLObject + { /// ///The operation performed on Meta tag. /// - [Description("The operation performed on Meta tag.")] - public string? operation { get; set; } - + [Description("The operation performed on Meta tag.")] + public string? operation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `DomainVerificationTagInject`. /// - [Description("An error that occurs during the execution of `DomainVerificationTagInject`.")] - public class DomainVerificationTagInjectUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `DomainVerificationTagInject`.")] + public class DomainVerificationTagInjectUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DomainVerificationTagInjectUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DomainVerificationTagInjectUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DomainVerificationTagInjectUserError`. /// - [Description("Possible error codes that can be returned by `DomainVerificationTagInjectUserError`.")] - public enum DomainVerificationTagInjectUserErrorCode - { + [Description("Possible error codes that can be returned by `DomainVerificationTagInjectUserError`.")] + public enum DomainVerificationTagInjectUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The verification code is invalid. /// - [Description("The verification code is invalid.")] - INVALID_VERIFICATION_CODE, - } - - public static class DomainVerificationTagInjectUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string INVALID_VERIFICATION_CODE = @"INVALID_VERIFICATION_CODE"; - } - + [Description("The verification code is invalid.")] + INVALID_VERIFICATION_CODE, + } + + public static class DomainVerificationTagInjectUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string INVALID_VERIFICATION_CODE = @"INVALID_VERIFICATION_CODE"; + } + /// ///Return type for `domainVerificationTagRemove` mutation. /// - [Description("Return type for `domainVerificationTagRemove` mutation.")] - public class DomainVerificationTagRemovePayload : GraphQLObject - { + [Description("Return type for `domainVerificationTagRemove` mutation.")] + public class DomainVerificationTagRemovePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `DomainVerificationTagRemove`. /// - [Description("An error that occurs during the execution of `DomainVerificationTagRemove`.")] - public class DomainVerificationTagRemoveUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `DomainVerificationTagRemove`.")] + public class DomainVerificationTagRemoveUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(DomainVerificationTagRemoveUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(DomainVerificationTagRemoveUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `DomainVerificationTagRemoveUserError`. /// - [Description("Possible error codes that can be returned by `DomainVerificationTagRemoveUserError`.")] - public enum DomainVerificationTagRemoveUserErrorCode - { + [Description("Possible error codes that can be returned by `DomainVerificationTagRemoveUserError`.")] + public enum DomainVerificationTagRemoveUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Domain Verification Code doesn't exist. /// - [Description("Domain Verification Code doesn't exist.")] - CODE_NOT_FOUND, - } - - public static class DomainVerificationTagRemoveUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string CODE_NOT_FOUND = @"CODE_NOT_FOUND"; - } - + [Description("Domain Verification Code doesn't exist.")] + CODE_NOT_FOUND, + } + + public static class DomainVerificationTagRemoveUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string CODE_NOT_FOUND = @"CODE_NOT_FOUND"; + } + /// ///An order that a merchant creates on behalf of a customer. Draft orders are useful for merchants that need to do the following tasks: /// @@ -39717,1106 +39717,1106 @@ public static class DomainVerificationTagRemoveUserErrorCodeStringValues /// ///Draft orders created on or after April 1, 2025 will be automatically purged after one year of inactivity. /// - [Description("An order that a merchant creates on behalf of a customer. Draft orders are useful for merchants that need to do the following tasks:\n\n- Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.\n- Send invoices to customers to pay with a secure checkout link.\n- Use custom items to represent additional costs or products that aren't displayed in a shop's inventory.\n- Re-create orders manually from active sales channels.\n- Sell products at discount or wholesale rates.\n- Take pre-orders.\n\nFor draft orders in multiple currencies `presentment_money` is the source of truth for what a customer is going to be charged and `shop_money` is an estimate of what the merchant might receive in their shop currency.\n\n**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data.\n\nDraft orders created on or after April 1, 2025 will be automatically purged after one year of inactivity.")] - public class DraftOrder : GraphQLObject, ICommentEventSubject, IHasEvents, IHasLocalizationExtensions, IHasLocalizedFields, IHasMetafields, ILegacyInteroperability, INavigable, INode, ICommentEventEmbed, IMetafieldReferencer - { + [Description("An order that a merchant creates on behalf of a customer. Draft orders are useful for merchants that need to do the following tasks:\n\n- Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.\n- Send invoices to customers to pay with a secure checkout link.\n- Use custom items to represent additional costs or products that aren't displayed in a shop's inventory.\n- Re-create orders manually from active sales channels.\n- Sell products at discount or wholesale rates.\n- Take pre-orders.\n\nFor draft orders in multiple currencies `presentment_money` is the source of truth for what a customer is going to be charged and `shop_money` is an estimate of what the merchant might receive in their shop currency.\n\n**Caution:** Only use this data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/api/usage/access-scopes) for apps that don't have a legitimate use for the associated data.\n\nDraft orders created on or after April 1, 2025 will be automatically purged after one year of inactivity.")] + public class DraftOrder : GraphQLObject, ICommentEventSubject, IHasEvents, IHasLocalizationExtensions, IHasLocalizedFields, IHasMetafields, ILegacyInteroperability, INavigable, INode, ICommentEventEmbed, IMetafieldReferencer + { /// ///Whether or not to accept automatic discounts on the draft order during calculation. ///If false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied. ///If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts. /// - [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] - public bool? acceptAutomaticDiscounts { get; set; } - + [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] + public bool? acceptAutomaticDiscounts { get; set; } + /// ///Whether all variant prices have been overridden. /// - [Description("Whether all variant prices have been overridden.")] - [NonNull] - public bool? allVariantPricesOverridden { get; set; } - + [Description("Whether all variant prices have been overridden.")] + [NonNull] + public bool? allVariantPricesOverridden { get; set; } + /// ///Whether discount codes are allowed during checkout of this draft order. /// - [Description("Whether discount codes are allowed during checkout of this draft order.")] - [NonNull] - public bool? allowDiscountCodesInCheckout { get; set; } - + [Description("Whether discount codes are allowed during checkout of this draft order.")] + [NonNull] + public bool? allowDiscountCodesInCheckout { get; set; } + /// ///The amount due later. ///When there are payment terms, this is the total price minus the deposit amount (if any). ///When there are no payment terms, this is 0. /// - [Description("The amount due later.\nWhen there are payment terms, this is the total price minus the deposit amount (if any).\nWhen there are no payment terms, this is 0.")] - [NonNull] - public MoneyBag? amountDueLaterSet { get; set; } - + [Description("The amount due later.\nWhen there are payment terms, this is the total price minus the deposit amount (if any).\nWhen there are no payment terms, this is 0.")] + [NonNull] + public MoneyBag? amountDueLaterSet { get; set; } + /// ///The amount due now. ///When there are payment terms this is the value of the deposit (0 by default). ///When there are no payment terms, this is the total price. /// - [Description("The amount due now.\nWhen there are payment terms this is the value of the deposit (0 by default).\nWhen there are no payment terms, this is the total price.")] - [NonNull] - public MoneyBag? amountDueNowSet { get; set; } - + [Description("The amount due now.\nWhen there are payment terms this is the value of the deposit (0 by default).\nWhen there are no payment terms, this is the total price.")] + [NonNull] + public MoneyBag? amountDueNowSet { get; set; } + /// ///Whether any variant prices have been overridden. /// - [Description("Whether any variant prices have been overridden.")] - [NonNull] - public bool? anyVariantPricesOverridden { get; set; } - + [Description("Whether any variant prices have been overridden.")] + [NonNull] + public bool? anyVariantPricesOverridden { get; set; } + /// ///The custom order-level discount applied. /// - [Description("The custom order-level discount applied.")] - public DraftOrderAppliedDiscount? appliedDiscount { get; set; } - + [Description("The custom order-level discount applied.")] + public DraftOrderAppliedDiscount? appliedDiscount { get; set; } + /// ///The billing address of the customer. /// - [Description("The billing address of the customer.")] - public MailingAddress? billingAddress { get; set; } - + [Description("The billing address of the customer.")] + public MailingAddress? billingAddress { get; set; } + /// ///Whether the billing address matches the shipping address. /// - [Description("Whether the billing address matches the shipping address.")] - [NonNull] - public bool? billingAddressMatchesShippingAddress { get; set; } - + [Description("Whether the billing address matches the shipping address.")] + [NonNull] + public bool? billingAddressMatchesShippingAddress { get; set; } + /// ///Whether to bypass cart validations on this draft order. /// - [Description("Whether to bypass cart validations on this draft order.")] - public bool? bypassCartValidations { get; set; } - + [Description("Whether to bypass cart validations on this draft order.")] + public bool? bypassCartValidations { get; set; } + /// ///The date and time when the draft order was converted to a new order, ///and had it's status changed to **Completed**. /// - [Description("The date and time when the draft order was converted to a new order,\nand had it's status changed to **Completed**.")] - public DateTime? completedAt { get; set; } - + [Description("The date and time when the draft order was converted to a new order,\nand had it's status changed to **Completed**.")] + public DateTime? completedAt { get; set; } + /// ///The date and time when the draft order was created in Shopify. /// - [Description("The date and time when the draft order was created in Shopify.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the draft order was created in Shopify.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The shop currency used for calculation. /// - [Description("The shop currency used for calculation.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The shop currency used for calculation.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///The custom information added to the draft order on behalf of the customer. /// - [Description("The custom information added to the draft order on behalf of the customer.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("The custom information added to the draft order on behalf of the customer.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The customer who will be sent an invoice. /// - [Description("The customer who will be sent an invoice.")] - public Customer? customer { get; set; } - + [Description("The customer who will be sent an invoice.")] + public Customer? customer { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The portion required to be paid at checkout. /// - [Description("The portion required to be paid at checkout.")] - public IDepositConfiguration? deposit { get; set; } - + [Description("The portion required to be paid at checkout.")] + public IDepositConfiguration? deposit { get; set; } + /// ///All discount codes applied. /// - [Description("All discount codes applied.")] - [NonNull] - public IEnumerable? discountCodes { get; set; } - + [Description("All discount codes applied.")] + [NonNull] + public IEnumerable? discountCodes { get; set; } + /// ///The email address of the customer, which is used to send notifications. /// - [Description("The email address of the customer, which is used to send notifications.")] - public string? email { get; set; } - + [Description("The email address of the customer, which is used to send notifications.")] + public string? email { get; set; } + /// ///The list of events associated with the draft order. /// - [Description("The list of events associated with the draft order.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The list of events associated with the draft order.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///Whether the merchant has added timeline comments to the draft order. /// - [Description("Whether the merchant has added timeline comments to the draft order.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether the merchant has added timeline comments to the draft order.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The subject defined for the draft invoice email template. /// - [Description("The subject defined for the draft invoice email template.")] - [NonNull] - public string? invoiceEmailTemplateSubject { get; set; } - + [Description("The subject defined for the draft invoice email template.")] + [NonNull] + public string? invoiceEmailTemplateSubject { get; set; } + /// ///The date and time when the invoice was last emailed to the customer. /// - [Description("The date and time when the invoice was last emailed to the customer.")] - public DateTime? invoiceSentAt { get; set; } - + [Description("The date and time when the invoice was last emailed to the customer.")] + public DateTime? invoiceSentAt { get; set; } + /// ///The link to the checkout, which is sent to the customer in the invoice email. /// - [Description("The link to the checkout, which is sent to the customer in the invoice email.")] - public string? invoiceUrl { get; set; } - + [Description("The link to the checkout, which is sent to the customer in the invoice email.")] + public string? invoiceUrl { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The list of the line items in the draft order. /// - [Description("The list of the line items in the draft order.")] - [NonNull] - public DraftOrderLineItemConnection? lineItems { get; set; } - + [Description("The list of the line items in the draft order.")] + [NonNull] + public DraftOrderLineItemConnection? lineItems { get; set; } + /// ///A subtotal of the line items and corresponding discounts, ///excluding shipping charges, shipping discounts, taxes, or order discounts. /// - [Description("A subtotal of the line items and corresponding discounts,\nexcluding shipping charges, shipping discounts, taxes, or order discounts.")] - [NonNull] - public MoneyBag? lineItemsSubtotalPrice { get; set; } - + [Description("A subtotal of the line items and corresponding discounts,\nexcluding shipping charges, shipping discounts, taxes, or order discounts.")] + [NonNull] + public MoneyBag? lineItemsSubtotalPrice { get; set; } + /// ///List of localization extensions for the resource. /// - [Description("List of localization extensions for the resource.")] - [Obsolete("This connection will be removed in a future version. Use `localizedFields` instead.")] - [NonNull] - public LocalizationExtensionConnection? localizationExtensions { get; set; } - + [Description("List of localization extensions for the resource.")] + [Obsolete("This connection will be removed in a future version. Use `localizedFields` instead.")] + [NonNull] + public LocalizationExtensionConnection? localizationExtensions { get; set; } + /// ///List of localized fields for the resource. /// - [Description("List of localized fields for the resource.")] - [NonNull] - public LocalizedFieldConnection? localizedFields { get; set; } - + [Description("List of localized fields for the resource.")] + [NonNull] + public LocalizedFieldConnection? localizedFields { get; set; } + /// ///The name of the selected market. /// - [Description("The name of the selected market.")] - [Obsolete("This field is now incompatible with Markets.")] - [NonNull] - public string? marketName { get; set; } - + [Description("The name of the selected market.")] + [Obsolete("This field is now incompatible with Markets.")] + [NonNull] + public string? marketName { get; set; } + /// ///The selected country code that determines the pricing. /// - [Description("The selected country code that determines the pricing.")] - [Obsolete("This field is now incompatible with Markets.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? marketRegionCountryCode { get; set; } - + [Description("The selected country code that determines the pricing.")] + [Obsolete("This field is now incompatible with Markets.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? marketRegionCountryCode { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The identifier for the draft order, which is unique within the store. For example, _#D1223_. /// - [Description("The identifier for the draft order, which is unique within the store. For example, _#D1223_.")] - [NonNull] - public string? name { get; set; } - + [Description("The identifier for the draft order, which is unique within the store. For example, _#D1223_.")] + [NonNull] + public string? name { get; set; } + /// ///The text from an optional note attached to the draft order. /// - [Description("The text from an optional note attached to the draft order.")] - public string? note2 { get; set; } - + [Description("The text from an optional note attached to the draft order.")] + public string? note2 { get; set; } + /// ///The order that was created from the draft order. /// - [Description("The order that was created from the draft order.")] - public Order? order { get; set; } - + [Description("The order that was created from the draft order.")] + public Order? order { get; set; } + /// ///The associated payment terms for this draft order. /// - [Description("The associated payment terms for this draft order.")] - public PaymentTerms? paymentTerms { get; set; } - + [Description("The associated payment terms for this draft order.")] + public PaymentTerms? paymentTerms { get; set; } + /// ///The assigned phone number. /// - [Description("The assigned phone number.")] - public string? phone { get; set; } - + [Description("The assigned phone number.")] + public string? phone { get; set; } + /// ///The list of platform discounts applied. /// - [Description("The list of platform discounts applied.")] - [NonNull] - public IEnumerable? platformDiscounts { get; set; } - + [Description("The list of platform discounts applied.")] + [NonNull] + public IEnumerable? platformDiscounts { get; set; } + /// ///The purchase order number. /// - [Description("The purchase order number.")] - public string? poNumber { get; set; } - + [Description("The purchase order number.")] + public string? poNumber { get; set; } + /// ///The payment currency used for calculation. /// - [Description("The payment currency used for calculation.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? presentmentCurrencyCode { get; set; } - + [Description("The payment currency used for calculation.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? presentmentCurrencyCode { get; set; } + /// ///The purchasing entity. /// - [Description("The purchasing entity.")] - public IPurchasingEntity? purchasingEntity { get; set; } - + [Description("The purchasing entity.")] + public IPurchasingEntity? purchasingEntity { get; set; } + /// ///Whether the draft order is ready and can be completed. ///Draft orders might have asynchronous operations that can take time to finish. /// - [Description("Whether the draft order is ready and can be completed.\nDraft orders might have asynchronous operations that can take time to finish.")] - [NonNull] - public bool? ready { get; set; } - + [Description("Whether the draft order is ready and can be completed.\nDraft orders might have asynchronous operations that can take time to finish.")] + [NonNull] + public bool? ready { get; set; } + /// ///The time after which inventory will automatically be restocked. /// - [Description("The time after which inventory will automatically be restocked.")] - public DateTime? reserveInventoryUntil { get; set; } - + [Description("The time after which inventory will automatically be restocked.")] + public DateTime? reserveInventoryUntil { get; set; } + /// ///The shipping address of the customer. /// - [Description("The shipping address of the customer.")] - public MailingAddress? shippingAddress { get; set; } - + [Description("The shipping address of the customer.")] + public MailingAddress? shippingAddress { get; set; } + /// ///The line item containing the shipping information and costs. /// - [Description("The line item containing the shipping information and costs.")] - public ShippingLine? shippingLine { get; set; } - + [Description("The line item containing the shipping information and costs.")] + public ShippingLine? shippingLine { get; set; } + /// ///The status of the draft order. /// - [Description("The status of the draft order.")] - [NonNull] - [EnumType(typeof(DraftOrderStatus))] - public string? status { get; set; } - + [Description("The status of the draft order.")] + [NonNull] + [EnumType(typeof(DraftOrderStatus))] + public string? status { get; set; } + /// ///The subtotal, in shop currency, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes. /// - [Description("The subtotal, in shop currency, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] - [Obsolete("Use `subtotalPriceSet` instead.")] - [NonNull] - public decimal? subtotalPrice { get; set; } - + [Description("The subtotal, in shop currency, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] + [Obsolete("Use `subtotalPriceSet` instead.")] + [NonNull] + public decimal? subtotalPrice { get; set; } + /// ///The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes. /// - [Description("The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] - [NonNull] - public MoneyBag? subtotalPriceSet { get; set; } - + [Description("The subtotal, of the line items and their discounts, excluding shipping charges, shipping discounts, and taxes.")] + [NonNull] + public MoneyBag? subtotalPriceSet { get; set; } + /// ///The comma separated list of tags associated with the draft order. ///Updating `tags` overwrites any existing tags that were previously added to the draft order. ///To add new tags without overwriting existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation. /// - [Description("The comma separated list of tags associated with the draft order.\nUpdating `tags` overwrites any existing tags that were previously added to the draft order.\nTo add new tags without overwriting existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("The comma separated list of tags associated with the draft order.\nUpdating `tags` overwrites any existing tags that were previously added to the draft order.\nTo add new tags without overwriting existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) mutation.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///Whether the draft order is tax exempt. /// - [Description("Whether the draft order is tax exempt.")] - [NonNull] - public bool? taxExempt { get; set; } - + [Description("Whether the draft order is tax exempt.")] + [NonNull] + public bool? taxExempt { get; set; } + /// ///The list of of taxes lines charged for each line item and shipping line. /// - [Description("The list of of taxes lines charged for each line item and shipping line.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("The list of of taxes lines charged for each line item and shipping line.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Whether the line item prices include taxes. /// - [Description("Whether the line item prices include taxes.")] - [NonNull] - public bool? taxesIncluded { get; set; } - + [Description("Whether the line item prices include taxes.")] + [NonNull] + public bool? taxesIncluded { get; set; } + /// ///Total discounts. /// - [Description("Total discounts.")] - [NonNull] - public MoneyBag? totalDiscountsSet { get; set; } - + [Description("Total discounts.")] + [NonNull] + public MoneyBag? totalDiscountsSet { get; set; } + /// ///Total price of line items, excluding discounts. /// - [Description("Total price of line items, excluding discounts.")] - [NonNull] - public MoneyBag? totalLineItemsPriceSet { get; set; } - + [Description("Total price of line items, excluding discounts.")] + [NonNull] + public MoneyBag? totalLineItemsPriceSet { get; set; } + /// ///The total price, in shop currency, includes taxes, shipping charges, and discounts. /// - [Description("The total price, in shop currency, includes taxes, shipping charges, and discounts.")] - [Obsolete("Use `totalPriceSet` instead.")] - [NonNull] - public decimal? totalPrice { get; set; } - + [Description("The total price, in shop currency, includes taxes, shipping charges, and discounts.")] + [Obsolete("Use `totalPriceSet` instead.")] + [NonNull] + public decimal? totalPrice { get; set; } + /// ///The total price, includes taxes, shipping charges, and discounts. /// - [Description("The total price, includes taxes, shipping charges, and discounts.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - + [Description("The total price, includes taxes, shipping charges, and discounts.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + /// ///The sum of individual line item quantities. ///If the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle. /// - [Description("The sum of individual line item quantities.\nIf the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle.")] - [NonNull] - public int? totalQuantityOfLineItems { get; set; } - + [Description("The sum of individual line item quantities.\nIf the draft order has bundle items, this is the sum containing the quantities of individual items in the bundle.")] + [NonNull] + public int? totalQuantityOfLineItems { get; set; } + /// ///The total shipping price in shop currency. /// - [Description("The total shipping price in shop currency.")] - [Obsolete("Use `totalShippingPriceSet` instead.")] - [NonNull] - public decimal? totalShippingPrice { get; set; } - + [Description("The total shipping price in shop currency.")] + [Obsolete("Use `totalShippingPriceSet` instead.")] + [NonNull] + public decimal? totalShippingPrice { get; set; } + /// ///The total shipping price. /// - [Description("The total shipping price.")] - [NonNull] - public MoneyBag? totalShippingPriceSet { get; set; } - + [Description("The total shipping price.")] + [NonNull] + public MoneyBag? totalShippingPriceSet { get; set; } + /// ///The total tax in shop currency. /// - [Description("The total tax in shop currency.")] - [Obsolete("Use `totalTaxSet` instead.")] - [NonNull] - public decimal? totalTax { get; set; } - + [Description("The total tax in shop currency.")] + [Obsolete("Use `totalTaxSet` instead.")] + [NonNull] + public decimal? totalTax { get; set; } + /// ///The total tax. /// - [Description("The total tax.")] - [NonNull] - public MoneyBag? totalTaxSet { get; set; } - + [Description("The total tax.")] + [NonNull] + public MoneyBag? totalTaxSet { get; set; } + /// ///The total weight in grams of the draft order. /// - [Description("The total weight in grams of the draft order.")] - [NonNull] - public ulong? totalWeight { get; set; } - + [Description("The total weight in grams of the draft order.")] + [NonNull] + public ulong? totalWeight { get; set; } + /// ///Fingerprint of the current cart. ///In order to have bundles work, the fingerprint must be passed to ///each request as it was previously returned, unmodified. /// - [Description("Fingerprint of the current cart.\nIn order to have bundles work, the fingerprint must be passed to\neach request as it was previously returned, unmodified.")] - public string? transformerFingerprint { get; set; } - + [Description("Fingerprint of the current cart.\nIn order to have bundles work, the fingerprint must be passed to\neach request as it was previously returned, unmodified.")] + public string? transformerFingerprint { get; set; } + /// ///The date and time when the draft order was last changed. ///The format is YYYY-MM-DD HH:mm:ss. For example, 2016-02-05 17:04:01. /// - [Description("The date and time when the draft order was last changed.\nThe format is YYYY-MM-DD HH:mm:ss. For example, 2016-02-05 17:04:01.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the draft order was last changed.\nThe format is YYYY-MM-DD HH:mm:ss. For example, 2016-02-05 17:04:01.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///Whether the draft order will be visible to the customer on the self-serve portal. /// - [Description("Whether the draft order will be visible to the customer on the self-serve portal.")] - [NonNull] - public bool? visibleToCustomer { get; set; } - + [Description("Whether the draft order will be visible to the customer on the self-serve portal.")] + [NonNull] + public bool? visibleToCustomer { get; set; } + /// ///The list of warnings raised while calculating. /// - [Description("The list of warnings raised while calculating.")] - [NonNull] - public IEnumerable? warnings { get; set; } - } - + [Description("The list of warnings raised while calculating.")] + [NonNull] + public IEnumerable? warnings { get; set; } + } + /// ///The order-level discount applied to a draft order. /// - [Description("The order-level discount applied to a draft order.")] - public class DraftOrderAppliedDiscount : GraphQLObject - { + [Description("The order-level discount applied to a draft order.")] + public class DraftOrderAppliedDiscount : GraphQLObject + { /// ///Amount of the order-level discount that's applied to the draft order in shop currency. /// - [Description("Amount of the order-level discount that's applied to the draft order in shop currency.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("Amount of the order-level discount that's applied to the draft order in shop currency.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The amount of money discounted, with values shown in both shop currency and presentment currency. /// - [Description("The amount of money discounted, with values shown in both shop currency and presentment currency.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount of money discounted, with values shown in both shop currency and presentment currency.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///Amount of money discounted. /// - [Description("Amount of money discounted.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public MoneyV2? amountV2 { get; set; } - + [Description("Amount of money discounted.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public MoneyV2? amountV2 { get; set; } + /// ///Description of the order-level discount. /// - [Description("Description of the order-level discount.")] - [NonNull] - public string? description { get; set; } - + [Description("Description of the order-level discount.")] + [NonNull] + public string? description { get; set; } + /// ///Name of the order-level discount. /// - [Description("Name of the order-level discount.")] - public string? title { get; set; } - + [Description("Name of the order-level discount.")] + public string? title { get; set; } + /// ///The order level discount amount. If `valueType` is `"percentage"`, ///then `value` is the percentage discount. /// - [Description("The order level discount amount. If `valueType` is `\"percentage\"`,\nthen `value` is the percentage discount.")] - [NonNull] - public decimal? value { get; set; } - + [Description("The order level discount amount. If `valueType` is `\"percentage\"`,\nthen `value` is the percentage discount.")] + [NonNull] + public decimal? value { get; set; } + /// ///Type of the order-level discount. /// - [Description("Type of the order-level discount.")] - [NonNull] - [EnumType(typeof(DraftOrderAppliedDiscountType))] - public string? valueType { get; set; } - } - + [Description("Type of the order-level discount.")] + [NonNull] + [EnumType(typeof(DraftOrderAppliedDiscountType))] + public string? valueType { get; set; } + } + /// ///The input fields for applying an order-level discount to a draft order. /// - [Description("The input fields for applying an order-level discount to a draft order.")] - public class DraftOrderAppliedDiscountInput : GraphQLObject - { + [Description("The input fields for applying an order-level discount to a draft order.")] + public class DraftOrderAppliedDiscountInput : GraphQLObject + { /// ///The applied amount of the discount in your shop currency. /// - [Description("The applied amount of the discount in your shop currency.")] - [Obsolete("Please use `amountWithCurrency` instead.")] - public decimal? amount { get; set; } - + [Description("The applied amount of the discount in your shop currency.")] + [Obsolete("Please use `amountWithCurrency` instead.")] + public decimal? amount { get; set; } + /// ///The applied amount of the discount in the specified currency. /// - [Description("The applied amount of the discount in the specified currency.")] - public MoneyInput? amountWithCurrency { get; set; } - + [Description("The applied amount of the discount in the specified currency.")] + public MoneyInput? amountWithCurrency { get; set; } + /// ///Reason for the discount. /// - [Description("Reason for the discount.")] - public string? description { get; set; } - + [Description("Reason for the discount.")] + public string? description { get; set; } + /// ///Title of the discount. /// - [Description("Title of the discount.")] - public string? title { get; set; } - + [Description("Title of the discount.")] + public string? title { get; set; } + /// ///The value of the discount. ///If the type of the discount is fixed amount, then this is a fixed amount in your shop currency. ///If the type is percentage, then this is the percentage. /// - [Description("The value of the discount.\nIf the type of the discount is fixed amount, then this is a fixed amount in your shop currency.\nIf the type is percentage, then this is the percentage.")] - [NonNull] - public decimal? value { get; set; } - + [Description("The value of the discount.\nIf the type of the discount is fixed amount, then this is a fixed amount in your shop currency.\nIf the type is percentage, then this is the percentage.")] + [NonNull] + public decimal? value { get; set; } + /// ///The type of discount. /// - [Description("The type of discount.")] - [NonNull] - [EnumType(typeof(DraftOrderAppliedDiscountType))] - public string? valueType { get; set; } - } - + [Description("The type of discount.")] + [NonNull] + [EnumType(typeof(DraftOrderAppliedDiscountType))] + public string? valueType { get; set; } + } + /// ///The valid discount types that can be applied to a draft order. /// - [Description("The valid discount types that can be applied to a draft order.")] - public enum DraftOrderAppliedDiscountType - { + [Description("The valid discount types that can be applied to a draft order.")] + public enum DraftOrderAppliedDiscountType + { /// ///A fixed amount in the store's currency. /// - [Description("A fixed amount in the store's currency.")] - FIXED_AMOUNT, + [Description("A fixed amount in the store's currency.")] + FIXED_AMOUNT, /// ///A percentage of the order subtotal. /// - [Description("A percentage of the order subtotal.")] - PERCENTAGE, - } - - public static class DraftOrderAppliedDiscountTypeStringValues - { - public const string FIXED_AMOUNT = @"FIXED_AMOUNT"; - public const string PERCENTAGE = @"PERCENTAGE"; - } - + [Description("A percentage of the order subtotal.")] + PERCENTAGE, + } + + public static class DraftOrderAppliedDiscountTypeStringValues + { + public const string FIXED_AMOUNT = @"FIXED_AMOUNT"; + public const string PERCENTAGE = @"PERCENTAGE"; + } + /// ///The available delivery options for a draft order. /// - [Description("The available delivery options for a draft order.")] - public class DraftOrderAvailableDeliveryOptions : GraphQLObject - { + [Description("The available delivery options for a draft order.")] + public class DraftOrderAvailableDeliveryOptions : GraphQLObject + { /// ///The available local delivery rates for the draft order. Requires a customer with a valid shipping address and at least one line item. /// - [Description("The available local delivery rates for the draft order. Requires a customer with a valid shipping address and at least one line item.")] - [NonNull] - public IEnumerable? availableLocalDeliveryRates { get; set; } - + [Description("The available local delivery rates for the draft order. Requires a customer with a valid shipping address and at least one line item.")] + [NonNull] + public IEnumerable? availableLocalDeliveryRates { get; set; } + /// ///The available local pickup options for the draft order. Requires at least one line item. /// - [Description("The available local pickup options for the draft order. Requires at least one line item.")] - [NonNull] - public IEnumerable? availableLocalPickupOptions { get; set; } - + [Description("The available local pickup options for the draft order. Requires at least one line item.")] + [NonNull] + public IEnumerable? availableLocalPickupOptions { get; set; } + /// ///The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item. /// - [Description("The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item.")] - [NonNull] - public IEnumerable? availableShippingRates { get; set; } - + [Description("The available shipping rates for the draft order. Requires a customer with a valid shipping address and at least one line item.")] + [NonNull] + public IEnumerable? availableShippingRates { get; set; } + /// ///Returns information about pagination of local pickup options. /// - [Description("Returns information about pagination of local pickup options.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("Returns information about pagination of local pickup options.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields used to determine available delivery options for a draft order. /// - [Description("The input fields used to determine available delivery options for a draft order.")] - public class DraftOrderAvailableDeliveryOptionsInput : GraphQLObject - { + [Description("The input fields used to determine available delivery options for a draft order.")] + public class DraftOrderAvailableDeliveryOptionsInput : GraphQLObject + { /// ///The discount that will be applied to the draft order. ///A draft order line item can have one discount. A draft order can also have one order-level discount. /// - [Description("The discount that will be applied to the draft order.\nA draft order line item can have one discount. A draft order can also have one order-level discount.")] - public DraftOrderAppliedDiscountInput? appliedDiscount { get; set; } - + [Description("The discount that will be applied to the draft order.\nA draft order line item can have one discount. A draft order can also have one order-level discount.")] + public DraftOrderAppliedDiscountInput? appliedDiscount { get; set; } + /// ///Discount codes that will be attempted to be applied to the draft order. If the draft isn't eligible for any given discount code it will be skipped during calculation. /// - [Description("Discount codes that will be attempted to be applied to the draft order. If the draft isn't eligible for any given discount code it will be skipped during calculation.")] - public IEnumerable? discountCodes { get; set; } - + [Description("Discount codes that will be attempted to be applied to the draft order. If the draft isn't eligible for any given discount code it will be skipped during calculation.")] + public IEnumerable? discountCodes { get; set; } + /// ///Whether or not to accept automatic discounts on the draft order during calculation. ///If false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied. ///If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts. /// - [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] - public bool? acceptAutomaticDiscounts { get; set; } - + [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] + public bool? acceptAutomaticDiscounts { get; set; } + /// ///Product variant line item or custom line item associated to the draft order. ///Each draft order must include at least one line item. /// - [Description("Product variant line item or custom line item associated to the draft order.\nEach draft order must include at least one line item.")] - public IEnumerable? lineItems { get; set; } - + [Description("Product variant line item or custom line item associated to the draft order.\nEach draft order must include at least one line item.")] + public IEnumerable? lineItems { get; set; } + /// ///The mailing address to where the order will be shipped. /// - [Description("The mailing address to where the order will be shipped.")] - public MailingAddressInput? shippingAddress { get; set; } - + [Description("The mailing address to where the order will be shipped.")] + public MailingAddressInput? shippingAddress { get; set; } + /// ///The selected country code that determines the pricing of the draft order. /// - [Description("The selected country code that determines the pricing of the draft order.")] - [EnumType(typeof(CountryCode))] - public string? marketRegionCountryCode { get; set; } - + [Description("The selected country code that determines the pricing of the draft order.")] + [EnumType(typeof(CountryCode))] + public string? marketRegionCountryCode { get; set; } + /// ///The purchasing entity for the draft order. /// - [Description("The purchasing entity for the draft order.")] - public PurchasingEntityInput? purchasingEntity { get; set; } - } - + [Description("The purchasing entity for the draft order.")] + public PurchasingEntityInput? purchasingEntity { get; set; } + } + /// ///Return type for `draftOrderBulkAddTags` mutation. /// - [Description("Return type for `draftOrderBulkAddTags` mutation.")] - public class DraftOrderBulkAddTagsPayload : GraphQLObject - { + [Description("Return type for `draftOrderBulkAddTags` mutation.")] + public class DraftOrderBulkAddTagsPayload : GraphQLObject + { /// ///The asynchronous job for adding tags to the draft orders. /// - [Description("The asynchronous job for adding tags to the draft orders.")] - public Job? job { get; set; } - + [Description("The asynchronous job for adding tags to the draft orders.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `draftOrderBulkDelete` mutation. /// - [Description("Return type for `draftOrderBulkDelete` mutation.")] - public class DraftOrderBulkDeletePayload : GraphQLObject - { + [Description("Return type for `draftOrderBulkDelete` mutation.")] + public class DraftOrderBulkDeletePayload : GraphQLObject + { /// ///The asynchronous job for deleting the draft orders. /// - [Description("The asynchronous job for deleting the draft orders.")] - public Job? job { get; set; } - + [Description("The asynchronous job for deleting the draft orders.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `draftOrderBulkRemoveTags` mutation. /// - [Description("Return type for `draftOrderBulkRemoveTags` mutation.")] - public class DraftOrderBulkRemoveTagsPayload : GraphQLObject - { + [Description("Return type for `draftOrderBulkRemoveTags` mutation.")] + public class DraftOrderBulkRemoveTagsPayload : GraphQLObject + { /// ///The asynchronous job for removing tags from the draft orders. /// - [Description("The asynchronous job for removing tags from the draft orders.")] - public Job? job { get; set; } - + [Description("The asynchronous job for removing tags from the draft orders.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A warning indicating that a bundle was added to a draft order. /// - [Description("A warning indicating that a bundle was added to a draft order.")] - public class DraftOrderBundleAddedWarning : GraphQLObject, IDraftOrderWarning - { + [Description("A warning indicating that a bundle was added to a draft order.")] + public class DraftOrderBundleAddedWarning : GraphQLObject, IDraftOrderWarning + { /// ///The error code. /// - [Description("The error code.")] - [NonNull] - public string? errorCode { get; set; } - + [Description("The error code.")] + [NonNull] + public string? errorCode { get; set; } + /// ///The input field that the warning applies to. /// - [Description("The input field that the warning applies to.")] - [NonNull] - public string? field { get; set; } - + [Description("The input field that the warning applies to.")] + [NonNull] + public string? field { get; set; } + /// ///The warning message. /// - [Description("The warning message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The warning message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Return type for `draftOrderCalculate` mutation. /// - [Description("Return type for `draftOrderCalculate` mutation.")] - public class DraftOrderCalculatePayload : GraphQLObject - { + [Description("Return type for `draftOrderCalculate` mutation.")] + public class DraftOrderCalculatePayload : GraphQLObject + { /// ///The calculated properties for a draft order. /// - [Description("The calculated properties for a draft order.")] - public CalculatedDraftOrder? calculatedDraftOrder { get; set; } - + [Description("The calculated properties for a draft order.")] + public CalculatedDraftOrder? calculatedDraftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `draftOrderComplete` mutation. /// - [Description("Return type for `draftOrderComplete` mutation.")] - public class DraftOrderCompletePayload : GraphQLObject - { + [Description("Return type for `draftOrderComplete` mutation.")] + public class DraftOrderCompletePayload : GraphQLObject + { /// ///The completed draft order. /// - [Description("The completed draft order.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The completed draft order.")] + public DraftOrder? draftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple DraftOrders. /// - [Description("An auto-generated type for paginating through multiple DraftOrders.")] - public class DraftOrderConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DraftOrders.")] + public class DraftOrderConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DraftOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DraftOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DraftOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `draftOrderCreateFromOrder` mutation. /// - [Description("Return type for `draftOrderCreateFromOrder` mutation.")] - public class DraftOrderCreateFromOrderPayload : GraphQLObject - { + [Description("Return type for `draftOrderCreateFromOrder` mutation.")] + public class DraftOrderCreateFromOrderPayload : GraphQLObject + { /// ///The created draft order. /// - [Description("The created draft order.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The created draft order.")] + public DraftOrder? draftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `draftOrderCreateMerchantCheckout` mutation. /// - [Description("Return type for `draftOrderCreateMerchantCheckout` mutation.")] - public class DraftOrderCreateMerchantCheckoutPayload : GraphQLObject - { + [Description("Return type for `draftOrderCreateMerchantCheckout` mutation.")] + public class DraftOrderCreateMerchantCheckoutPayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `draftOrderCreate` mutation. /// - [Description("Return type for `draftOrderCreate` mutation.")] - public class DraftOrderCreatePayload : GraphQLObject - { + [Description("Return type for `draftOrderCreate` mutation.")] + public class DraftOrderCreatePayload : GraphQLObject + { /// ///The created draft order. /// - [Description("The created draft order.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The created draft order.")] + public DraftOrder? draftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields to specify the draft order to delete by its ID. /// - [Description("The input fields to specify the draft order to delete by its ID.")] - public class DraftOrderDeleteInput : GraphQLObject - { + [Description("The input fields to specify the draft order to delete by its ID.")] + public class DraftOrderDeleteInput : GraphQLObject + { /// ///The ID of the draft order to delete. /// - [Description("The ID of the draft order to delete.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the draft order to delete.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `draftOrderDelete` mutation. /// - [Description("Return type for `draftOrderDelete` mutation.")] - public class DraftOrderDeletePayload : GraphQLObject - { + [Description("Return type for `draftOrderDelete` mutation.")] + public class DraftOrderDeletePayload : GraphQLObject + { /// ///The ID of the deleted draft order. /// - [Description("The ID of the deleted draft order.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted draft order.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A warning indicating that a discount cannot be applied to a draft order. /// - [Description("A warning indicating that a discount cannot be applied to a draft order.")] - public class DraftOrderDiscountNotAppliedWarning : GraphQLObject, IDraftOrderWarning - { + [Description("A warning indicating that a discount cannot be applied to a draft order.")] + public class DraftOrderDiscountNotAppliedWarning : GraphQLObject, IDraftOrderWarning + { /// ///The code of the discount that can't be applied. /// - [Description("The code of the discount that can't be applied.")] - public string? discountCode { get; set; } - + [Description("The code of the discount that can't be applied.")] + public string? discountCode { get; set; } + /// ///The title of the discount that can't be applied. /// - [Description("The title of the discount that can't be applied.")] - public string? discountTitle { get; set; } - + [Description("The title of the discount that can't be applied.")] + public string? discountTitle { get; set; } + /// ///The error code. /// - [Description("The error code.")] - [NonNull] - public string? errorCode { get; set; } - + [Description("The error code.")] + [NonNull] + public string? errorCode { get; set; } + /// ///The input field that the warning applies to. /// - [Description("The input field that the warning applies to.")] - [NonNull] - public string? field { get; set; } - + [Description("The input field that the warning applies to.")] + [NonNull] + public string? field { get; set; } + /// ///The warning message. /// - [Description("The warning message.")] - [NonNull] - public string? message { get; set; } - + [Description("The warning message.")] + [NonNull] + public string? message { get; set; } + /// ///The price rule that can't be applied. /// - [Description("The price rule that can't be applied.")] - public PriceRule? priceRule { get; set; } - } - + [Description("The price rule that can't be applied.")] + public PriceRule? priceRule { get; set; } + } + /// ///Return type for `draftOrderDuplicate` mutation. /// - [Description("Return type for `draftOrderDuplicate` mutation.")] - public class DraftOrderDuplicatePayload : GraphQLObject - { + [Description("Return type for `draftOrderDuplicate` mutation.")] + public class DraftOrderDuplicatePayload : GraphQLObject + { /// ///The newly duplicated draft order. /// - [Description("The newly duplicated draft order.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The newly duplicated draft order.")] + public DraftOrder? draftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one DraftOrder and a cursor during pagination. /// - [Description("An auto-generated type which holds one DraftOrder and a cursor during pagination.")] - public class DraftOrderEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DraftOrder and a cursor during pagination.")] + public class DraftOrderEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DraftOrderEdge. /// - [Description("The item at the end of DraftOrderEdge.")] - [NonNull] - public DraftOrder? node { get; set; } - } - + [Description("The item at the end of DraftOrderEdge.")] + [NonNull] + public DraftOrder? node { get; set; } + } + /// ///The input fields used to create or update a draft order. /// - [Description("The input fields used to create or update a draft order.")] - public class DraftOrderInput : GraphQLObject - { + [Description("The input fields used to create or update a draft order.")] + public class DraftOrderInput : GraphQLObject + { /// ///The discount that will be applied to the draft order. ///A draft order line item can have one discount. A draft order can also have one order-level discount. /// - [Description("The discount that will be applied to the draft order.\nA draft order line item can have one discount. A draft order can also have one order-level discount.")] - public DraftOrderAppliedDiscountInput? appliedDiscount { get; set; } - + [Description("The discount that will be applied to the draft order.\nA draft order line item can have one discount. A draft order can also have one order-level discount.")] + public DraftOrderAppliedDiscountInput? appliedDiscount { get; set; } + /// ///The list of discount codes that will be attempted to be applied to the draft order. ///If the draft isn't eligible for any given discount code it will be skipped during calculation. /// - [Description("The list of discount codes that will be attempted to be applied to the draft order.\nIf the draft isn't eligible for any given discount code it will be skipped during calculation.")] - public IEnumerable? discountCodes { get; set; } - + [Description("The list of discount codes that will be attempted to be applied to the draft order.\nIf the draft isn't eligible for any given discount code it will be skipped during calculation.")] + public IEnumerable? discountCodes { get; set; } + /// ///Whether or not to accept automatic discounts on the draft order during calculation. ///If false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied. ///If true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts. /// - [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] - public bool? acceptAutomaticDiscounts { get; set; } - + [Description("Whether or not to accept automatic discounts on the draft order during calculation.\nIf false, only discount codes and custom draft order discounts (see `appliedDiscount`) will be applied.\nIf true, eligible automatic discounts will be applied in addition to discount codes and custom draft order discounts.")] + public bool? acceptAutomaticDiscounts { get; set; } + /// ///The mailing address associated with the payment method. /// - [Description("The mailing address associated with the payment method.")] - public MailingAddressInput? billingAddress { get; set; } - + [Description("The mailing address associated with the payment method.")] + public MailingAddressInput? billingAddress { get; set; } + /// ///The customer associated with the draft order. /// - [Description("The customer associated with the draft order.")] - [Obsolete("Use `purchasingEntity` instead, which can be used for either a D2C or B2B customer.")] - public string? customerId { get; set; } - + [Description("The customer associated with the draft order.")] + [Obsolete("Use `purchasingEntity` instead, which can be used for either a D2C or B2B customer.")] + public string? customerId { get; set; } + /// ///The extra information added to the draft order on behalf of the customer. /// - [Description("The extra information added to the draft order on behalf of the customer.")] - public IEnumerable? customAttributes { get; set; } - + [Description("The extra information added to the draft order on behalf of the customer.")] + public IEnumerable? customAttributes { get; set; } + /// ///The customer's email address. /// - [Description("The customer's email address.")] - public string? email { get; set; } - + [Description("The customer's email address.")] + public string? email { get; set; } + /// ///The list of product variant or custom line item. ///Each draft order must include at least one line item. @@ -40824,117 +40824,117 @@ public class DraftOrderInput : GraphQLObject /// ///NOTE: Draft orders don't currently support subscriptions. /// - [Description("The list of product variant or custom line item.\nEach draft order must include at least one line item.\nAccepts a maximum of 499 line items.\n\nNOTE: Draft orders don't currently support subscriptions.")] - public IEnumerable? lineItems { get; set; } - + [Description("The list of product variant or custom line item.\nEach draft order must include at least one line item.\nAccepts a maximum of 499 line items.\n\nNOTE: Draft orders don't currently support subscriptions.")] + public IEnumerable? lineItems { get; set; } + /// ///The list of metafields attached to the draft order. An existing metafield can not be used when creating a draft order. /// - [Description("The list of metafields attached to the draft order. An existing metafield can not be used when creating a draft order.")] - public IEnumerable? metafields { get; set; } - + [Description("The list of metafields attached to the draft order. An existing metafield can not be used when creating a draft order.")] + public IEnumerable? metafields { get; set; } + /// ///The localization extensions attached to the draft order. For example, Tax IDs. /// - [Description("The localization extensions attached to the draft order. For example, Tax IDs.")] - [Obsolete("This field will be removed in a future version. Use `localizedFields` instead.")] - public IEnumerable? localizationExtensions { get; set; } - + [Description("The localization extensions attached to the draft order. For example, Tax IDs.")] + [Obsolete("This field will be removed in a future version. Use `localizedFields` instead.")] + public IEnumerable? localizationExtensions { get; set; } + /// ///The localized fields attached to the draft order. For example, Tax IDs. /// - [Description("The localized fields attached to the draft order. For example, Tax IDs.")] - public IEnumerable? localizedFields { get; set; } - + [Description("The localized fields attached to the draft order. For example, Tax IDs.")] + public IEnumerable? localizedFields { get; set; } + /// ///The text of an optional note that a shop owner can attach to the draft order. /// - [Description("The text of an optional note that a shop owner can attach to the draft order.")] - public string? note { get; set; } - + [Description("The text of an optional note that a shop owner can attach to the draft order.")] + public string? note { get; set; } + /// ///The mailing address to where the order will be shipped. /// - [Description("The mailing address to where the order will be shipped.")] - public MailingAddressInput? shippingAddress { get; set; } - + [Description("The mailing address to where the order will be shipped.")] + public MailingAddressInput? shippingAddress { get; set; } + /// ///The shipping line object, which details the shipping method used. /// - [Description("The shipping line object, which details the shipping method used.")] - public ShippingLineInput? shippingLine { get; set; } - + [Description("The shipping line object, which details the shipping method used.")] + public ShippingLineInput? shippingLine { get; set; } + /// ///A comma separated list of tags that have been added to the draft order. /// - [Description("A comma separated list of tags that have been added to the draft order.")] - public IEnumerable? tags { get; set; } - + [Description("A comma separated list of tags that have been added to the draft order.")] + public IEnumerable? tags { get; set; } + /// ///Whether or not taxes are exempt for the draft order. ///If false, then Shopify will refer to the taxable field for each line item. ///If a customer is applied to the draft order, then Shopify will use the customer's tax exempt field instead. /// - [Description("Whether or not taxes are exempt for the draft order.\nIf false, then Shopify will refer to the taxable field for each line item.\nIf a customer is applied to the draft order, then Shopify will use the customer's tax exempt field instead.")] - public bool? taxExempt { get; set; } - + [Description("Whether or not taxes are exempt for the draft order.\nIf false, then Shopify will refer to the taxable field for each line item.\nIf a customer is applied to the draft order, then Shopify will use the customer's tax exempt field instead.")] + public bool? taxExempt { get; set; } + /// ///Whether to use the customer's default address. /// - [Description("Whether to use the customer's default address.")] - public bool? useCustomerDefaultAddress { get; set; } - + [Description("Whether to use the customer's default address.")] + public bool? useCustomerDefaultAddress { get; set; } + /// ///Whether the draft order will be visible to the customer on the self-serve portal. /// - [Description("Whether the draft order will be visible to the customer on the self-serve portal.")] - public bool? visibleToCustomer { get; set; } - + [Description("Whether the draft order will be visible to the customer on the self-serve portal.")] + public bool? visibleToCustomer { get; set; } + /// ///The time after which inventory reservation will expire. /// - [Description("The time after which inventory reservation will expire.")] - public DateTime? reserveInventoryUntil { get; set; } - + [Description("The time after which inventory reservation will expire.")] + public DateTime? reserveInventoryUntil { get; set; } + /// ///The payment currency of the customer for this draft order. /// - [Description("The payment currency of the customer for this draft order.")] - [EnumType(typeof(CurrencyCode))] - public string? presentmentCurrencyCode { get; set; } - + [Description("The payment currency of the customer for this draft order.")] + [EnumType(typeof(CurrencyCode))] + public string? presentmentCurrencyCode { get; set; } + /// ///The selected country code that determines the pricing of the draft order. /// - [Description("The selected country code that determines the pricing of the draft order.")] - [Obsolete("This field is now incompatible with Markets.")] - [EnumType(typeof(CountryCode))] - public string? marketRegionCountryCode { get; set; } - + [Description("The selected country code that determines the pricing of the draft order.")] + [Obsolete("This field is now incompatible with Markets.")] + [EnumType(typeof(CountryCode))] + public string? marketRegionCountryCode { get; set; } + /// ///The customer's phone number. /// - [Description("The customer's phone number.")] - public string? phone { get; set; } - + [Description("The customer's phone number.")] + public string? phone { get; set; } + /// ///The fields used to create payment terms. /// - [Description("The fields used to create payment terms.")] - public PaymentTermsInput? paymentTerms { get; set; } - + [Description("The fields used to create payment terms.")] + public PaymentTermsInput? paymentTerms { get; set; } + /// ///The input fields configuring the deposit requirement. /// - [Description("The input fields configuring the deposit requirement.")] - public DepositInput? deposit { get; set; } - + [Description("The input fields configuring the deposit requirement.")] + public DepositInput? deposit { get; set; } + /// ///The purchasing entity for the draft order. /// - [Description("The purchasing entity for the draft order.")] - public PurchasingEntityInput? purchasingEntity { get; set; } - + [Description("The purchasing entity for the draft order.")] + public PurchasingEntityInput? purchasingEntity { get; set; } + /// ///The source of the checkout. ///To use this field for sales attribution, you must register the channels that your app is managing. @@ -40945,168 +40945,168 @@ public class DraftOrderInput : GraphQLObject ///You need to specify the handle as the `source_name` value in your request. ///The handle is the channel that the order was placed from. /// - [Description("The source of the checkout.\nTo use this field for sales attribution, you must register the channels that your app is managing.\nYou can register the channels that your app is managing by completing\n[this Google Form](https://docs.google.com/forms/d/e/1FAIpQLScmVTZRQNjOJ7RD738mL1lGeFjqKVe_FM2tO9xsm21QEo5Ozg/viewform?usp=sf_link).\nAfter you've submitted your request, you need to wait for your request to be processed by Shopify.\nYou can find a list of your channels in the Partner Dashboard, in your app's Marketplace extension.\nYou need to specify the handle as the `source_name` value in your request.\nThe handle is the channel that the order was placed from.")] - public string? sourceName { get; set; } - + [Description("The source of the checkout.\nTo use this field for sales attribution, you must register the channels that your app is managing.\nYou can register the channels that your app is managing by completing\n[this Google Form](https://docs.google.com/forms/d/e/1FAIpQLScmVTZRQNjOJ7RD738mL1lGeFjqKVe_FM2tO9xsm21QEo5Ozg/viewform?usp=sf_link).\nAfter you've submitted your request, you need to wait for your request to be processed by Shopify.\nYou can find a list of your channels in the Partner Dashboard, in your app's Marketplace extension.\nYou need to specify the handle as the `source_name` value in your request.\nThe handle is the channel that the order was placed from.")] + public string? sourceName { get; set; } + /// ///Whether discount codes are allowed during checkout of this draft order. /// - [Description("Whether discount codes are allowed during checkout of this draft order.")] - public bool? allowDiscountCodesInCheckout { get; set; } - + [Description("Whether discount codes are allowed during checkout of this draft order.")] + public bool? allowDiscountCodesInCheckout { get; set; } + /// ///The purchase order number. /// - [Description("The purchase order number.")] - public string? poNumber { get; set; } - + [Description("The purchase order number.")] + public string? poNumber { get; set; } + /// ///The unique token identifying the draft order. /// - [Description("The unique token identifying the draft order.")] - public string? sessionToken { get; set; } - + [Description("The unique token identifying the draft order.")] + public string? sessionToken { get; set; } + /// ///Fingerprint to guarantee bundles are handled correctly. /// - [Description("Fingerprint to guarantee bundles are handled correctly.")] - public string? transformerFingerprint { get; set; } - } - + [Description("Fingerprint to guarantee bundles are handled correctly.")] + public string? transformerFingerprint { get; set; } + } + /// ///Return type for `draftOrderInvoicePreview` mutation. /// - [Description("Return type for `draftOrderInvoicePreview` mutation.")] - public class DraftOrderInvoicePreviewPayload : GraphQLObject - { + [Description("Return type for `draftOrderInvoicePreview` mutation.")] + public class DraftOrderInvoicePreviewPayload : GraphQLObject + { /// ///The draft order invoice email rendered as HTML to allow previewing. /// - [Description("The draft order invoice email rendered as HTML to allow previewing.")] - public string? previewHtml { get; set; } - + [Description("The draft order invoice email rendered as HTML to allow previewing.")] + public string? previewHtml { get; set; } + /// ///The subject preview for the draft order invoice email. /// - [Description("The subject preview for the draft order invoice email.")] - public string? previewSubject { get; set; } - + [Description("The subject preview for the draft order invoice email.")] + public string? previewSubject { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `draftOrderInvoiceSend` mutation. /// - [Description("Return type for `draftOrderInvoiceSend` mutation.")] - public class DraftOrderInvoiceSendPayload : GraphQLObject - { + [Description("Return type for `draftOrderInvoiceSend` mutation.")] + public class DraftOrderInvoiceSendPayload : GraphQLObject + { /// ///The draft order an invoice email is sent for. /// - [Description("The draft order an invoice email is sent for.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The draft order an invoice email is sent for.")] + public DraftOrder? draftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The line item for a draft order. /// - [Description("The line item for a draft order.")] - public class DraftOrderLineItem : GraphQLObject, INode, IDraftOrderPlatformDiscountAllocationTarget - { + [Description("The line item for a draft order.")] + public class DraftOrderLineItem : GraphQLObject, INode, IDraftOrderPlatformDiscountAllocationTarget + { /// ///The custom applied discount. /// - [Description("The custom applied discount.")] - public DraftOrderAppliedDiscount? appliedDiscount { get; set; } - + [Description("The custom applied discount.")] + public DraftOrderAppliedDiscount? appliedDiscount { get; set; } + /// ///The `discountedTotal` divided by `quantity`, ///equal to the average value of the line item price per unit after discounts are applied. ///This value doesn't include discounts applied to the entire draft order. /// - [Description("The `discountedTotal` divided by `quantity`,\nequal to the average value of the line item price per unit after discounts are applied.\nThis value doesn't include discounts applied to the entire draft order.")] - [NonNull] - public MoneyBag? approximateDiscountedUnitPriceSet { get; set; } - + [Description("The `discountedTotal` divided by `quantity`,\nequal to the average value of the line item price per unit after discounts are applied.\nThis value doesn't include discounts applied to the entire draft order.")] + [NonNull] + public MoneyBag? approximateDiscountedUnitPriceSet { get; set; } + /// ///The list of bundle components if applicable. /// - [Description("The list of bundle components if applicable.")] - [Obsolete("Use `components` instead.")] - [NonNull] - public IEnumerable? bundleComponents { get; set; } - + [Description("The list of bundle components if applicable.")] + [Obsolete("Use `components` instead.")] + [NonNull] + public IEnumerable? bundleComponents { get; set; } + /// ///The components of the draft order line item. /// - [Description("The components of the draft order line item.")] - [NonNull] - public IEnumerable? components { get; set; } - + [Description("The components of the draft order line item.")] + [NonNull] + public IEnumerable? components { get; set; } + /// ///Whether the line item is custom (`true`) or contains a product variant (`false`). /// - [Description("Whether the line item is custom (`true`) or contains a product variant (`false`).")] - [NonNull] - public bool? custom { get; set; } - + [Description("Whether the line item is custom (`true`) or contains a product variant (`false`).")] + [NonNull] + public bool? custom { get; set; } + /// ///A list of attributes that represent custom features or special requests. /// - [Description("A list of attributes that represent custom features or special requests.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of attributes that represent custom features or special requests.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The list of additional information (metafields) with the associated types. /// - [Description("The list of additional information (metafields) with the associated types.")] - [NonNull] - public IEnumerable? customAttributesV2 { get; set; } - + [Description("The list of additional information (metafields) with the associated types.")] + [NonNull] + public IEnumerable? customAttributesV2 { get; set; } + /// ///The line item price, in shop currency, after discounts are applied. /// - [Description("The line item price, in shop currency, after discounts are applied.")] - [Obsolete("Use `discountedTotalSet` instead.")] - [NonNull] - public decimal? discountedTotal { get; set; } - + [Description("The line item price, in shop currency, after discounts are applied.")] + [Obsolete("Use `discountedTotalSet` instead.")] + [NonNull] + public decimal? discountedTotal { get; set; } + /// ///The total price with discounts applied. /// - [Description("The total price with discounts applied.")] - [NonNull] - public MoneyBag? discountedTotalSet { get; set; } - + [Description("The total price with discounts applied.")] + [NonNull] + public MoneyBag? discountedTotalSet { get; set; } + /// ///The `discountedTotal` divided by `quantity`, equal to the value of the discount per unit in the shop currency. /// - [Description("The `discountedTotal` divided by `quantity`, equal to the value of the discount per unit in the shop currency.")] - [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] - [NonNull] - public decimal? discountedUnitPrice { get; set; } - + [Description("The `discountedTotal` divided by `quantity`, equal to the value of the discount per unit in the shop currency.")] + [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] + [NonNull] + public decimal? discountedUnitPrice { get; set; } + /// ///The unit price with discounts applied. /// - [Description("The unit price with discounts applied.")] - [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] - [NonNull] - public MoneyBag? discountedUnitPriceSet { get; set; } - + [Description("The unit price with discounts applied.")] + [Obsolete("Use `approximateDiscountedUnitPriceSet` instead.")] + [NonNull] + public MoneyBag? discountedUnitPriceSet { get; set; } + /// ///Name of the service provider who fulfilled the order. /// @@ -41115,385 +41115,385 @@ public class DraftOrderLineItem : GraphQLObject, INode, IDra /// ///Deleted fulfillment services will return null. /// - [Description("Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///The weight of the line item in grams. /// - [Description("The weight of the line item in grams.")] - [Obsolete("Use `weight` instead.")] - public int? grams { get; set; } - + [Description("The weight of the line item in grams.")] + [Obsolete("Use `weight` instead.")] + public int? grams { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image of the product variant. /// - [Description("The image of the product variant.")] - public Image? image { get; set; } - + [Description("The image of the product variant.")] + public Image? image { get; set; } + /// ///Whether the line item represents the purchase of a gift card. /// - [Description("Whether the line item represents the purchase of a gift card.")] - [NonNull] - public bool? isGiftCard { get; set; } - + [Description("Whether the line item represents the purchase of a gift card.")] + [NonNull] + public bool? isGiftCard { get; set; } + /// ///The source of the line item's merchandise information. /// - [Description("The source of the line item's merchandise information.")] - [NonNull] - [EnumType(typeof(DraftOrderLineItemMerchandiseSourceType))] - public string? merchandiseSource { get; set; } - + [Description("The source of the line item's merchandise information.")] + [NonNull] + [EnumType(typeof(DraftOrderLineItemMerchandiseSourceType))] + public string? merchandiseSource { get; set; } + /// ///The name of the product. /// - [Description("The name of the product.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the product.")] + [NonNull] + public string? name { get; set; } + /// ///The total price, in shop currency, excluding discounts, equal to the original unit price multiplied by quantity. /// - [Description("The total price, in shop currency, excluding discounts, equal to the original unit price multiplied by quantity.")] - [Obsolete("Use `originalTotalSet` instead.")] - [NonNull] - public decimal? originalTotal { get; set; } - + [Description("The total price, in shop currency, excluding discounts, equal to the original unit price multiplied by quantity.")] + [Obsolete("Use `originalTotalSet` instead.")] + [NonNull] + public decimal? originalTotal { get; set; } + /// ///The total price excluding discounts, equal to the original unit price multiplied by quantity. /// - [Description("The total price excluding discounts, equal to the original unit price multiplied by quantity.")] - [NonNull] - public MoneyBag? originalTotalSet { get; set; } - + [Description("The total price excluding discounts, equal to the original unit price multiplied by quantity.")] + [NonNull] + public MoneyBag? originalTotalSet { get; set; } + /// ///The price, in shop currency, without any discounts applied. /// - [Description("The price, in shop currency, without any discounts applied.")] - [Obsolete("Use `originalUnitPriceWithCurrency` instead.")] - [NonNull] - public decimal? originalUnitPrice { get; set; } - + [Description("The price, in shop currency, without any discounts applied.")] + [Obsolete("Use `originalUnitPriceWithCurrency` instead.")] + [NonNull] + public decimal? originalUnitPrice { get; set; } + /// ///The price without any discounts applied. /// - [Description("The price without any discounts applied.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("The price without any discounts applied.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The original custom line item input price. /// - [Description("The original custom line item input price.")] - public MoneyV2? originalUnitPriceWithCurrency { get; set; } - + [Description("The original custom line item input price.")] + public MoneyV2? originalUnitPriceWithCurrency { get; set; } + /// ///The price override for the line item. /// - [Description("The price override for the line item.")] - public MoneyV2? priceOverride { get; set; } - + [Description("The price override for the line item.")] + public MoneyV2? priceOverride { get; set; } + /// ///The product for the line item. /// - [Description("The product for the line item.")] - public Product? product { get; set; } - + [Description("The product for the line item.")] + public Product? product { get; set; } + /// ///The quantity of items. For a bundle item, this is the quantity of bundles, ///not the quantity of items contained in the bundles themselves. /// - [Description("The quantity of items. For a bundle item, this is the quantity of bundles,\nnot the quantity of items contained in the bundles themselves.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of items. For a bundle item, this is the quantity of bundles,\nnot the quantity of items contained in the bundles themselves.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether physical shipping is required for the variant. /// - [Description("Whether physical shipping is required for the variant.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether physical shipping is required for the variant.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///The SKU number of the product variant. /// - [Description("The SKU number of the product variant.")] - public string? sku { get; set; } - + [Description("The SKU number of the product variant.")] + public string? sku { get; set; } + /// ///A list of tax lines. /// - [Description("A list of tax lines.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("A list of tax lines.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Whether the variant is taxable. /// - [Description("Whether the variant is taxable.")] - [NonNull] - public bool? taxable { get; set; } - + [Description("Whether the variant is taxable.")] + [NonNull] + public bool? taxable { get; set; } + /// ///The title of the product or variant. This field only applies to custom line items. /// - [Description("The title of the product or variant. This field only applies to custom line items.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product or variant. This field only applies to custom line items.")] + [NonNull] + public string? title { get; set; } + /// ///The total discount applied in shop currency. /// - [Description("The total discount applied in shop currency.")] - [Obsolete("Use `totalDiscountSet` instead.")] - [NonNull] - public decimal? totalDiscount { get; set; } - + [Description("The total discount applied in shop currency.")] + [Obsolete("Use `totalDiscountSet` instead.")] + [NonNull] + public decimal? totalDiscount { get; set; } + /// ///The total discount amount. /// - [Description("The total discount amount.")] - [NonNull] - public MoneyBag? totalDiscountSet { get; set; } - + [Description("The total discount amount.")] + [NonNull] + public MoneyBag? totalDiscountSet { get; set; } + /// ///The UUID of the draft order line item. Must be unique and consistent across requests. ///This field is mandatory in order to manipulate drafts with bundles. /// - [Description("The UUID of the draft order line item. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] - [NonNull] - public string? uuid { get; set; } - + [Description("The UUID of the draft order line item. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] + [NonNull] + public string? uuid { get; set; } + /// ///The product variant for the line item. /// - [Description("The product variant for the line item.")] - public ProductVariant? variant { get; set; } - + [Description("The product variant for the line item.")] + public ProductVariant? variant { get; set; } + /// ///The ID of the variant associated with the line item. Will still be returned even if the variant has been ///deleted since the draft was created or last updated. /// - [Description("The ID of the variant associated with the line item. Will still be returned even if the variant has been\ndeleted since the draft was created or last updated.")] - public string? variantId { get; set; } - + [Description("The ID of the variant associated with the line item. Will still be returned even if the variant has been\ndeleted since the draft was created or last updated.")] + public string? variantId { get; set; } + /// ///The name of the variant. /// - [Description("The name of the variant.")] - public string? variantTitle { get; set; } - + [Description("The name of the variant.")] + public string? variantTitle { get; set; } + /// ///The name of the vendor who created the product variant. /// - [Description("The name of the vendor who created the product variant.")] - public string? vendor { get; set; } - + [Description("The name of the vendor who created the product variant.")] + public string? vendor { get; set; } + /// ///The weight unit and value. /// - [Description("The weight unit and value.")] - public Weight? weight { get; set; } - } - + [Description("The weight unit and value.")] + public Weight? weight { get; set; } + } + /// ///The input fields representing the components of a line item. /// - [Description("The input fields representing the components of a line item.")] - public class DraftOrderLineItemComponentInput : GraphQLObject - { + [Description("The input fields representing the components of a line item.")] + public class DraftOrderLineItemComponentInput : GraphQLObject + { /// ///The ID of the product variant corresponding to the component. /// - [Description("The ID of the product variant corresponding to the component.")] - public string? variantId { get; set; } - + [Description("The ID of the product variant corresponding to the component.")] + public string? variantId { get; set; } + /// ///The quantity of the component. /// - [Description("The quantity of the component.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the component.")] + [NonNull] + public int? quantity { get; set; } + /// ///The UUID of the component. Must be unique and consistent across requests. ///This field is mandatory in order to manipulate drafts with parent line items. /// - [Description("The UUID of the component. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with parent line items.")] - public string? uuid { get; set; } - } - + [Description("The UUID of the component. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with parent line items.")] + public string? uuid { get; set; } + } + /// ///An auto-generated type for paginating through multiple DraftOrderLineItems. /// - [Description("An auto-generated type for paginating through multiple DraftOrderLineItems.")] - public class DraftOrderLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple DraftOrderLineItems.")] + public class DraftOrderLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in DraftOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in DraftOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in DraftOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one DraftOrderLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one DraftOrderLineItem and a cursor during pagination.")] - public class DraftOrderLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one DraftOrderLineItem and a cursor during pagination.")] + public class DraftOrderLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of DraftOrderLineItemEdge. /// - [Description("The item at the end of DraftOrderLineItemEdge.")] - [NonNull] - public DraftOrderLineItem? node { get; set; } - } - + [Description("The item at the end of DraftOrderLineItemEdge.")] + [NonNull] + public DraftOrderLineItem? node { get; set; } + } + /// ///The input fields for a line item included in a draft order. /// - [Description("The input fields for a line item included in a draft order.")] - public class DraftOrderLineItemInput : GraphQLObject - { + [Description("The input fields for a line item included in a draft order.")] + public class DraftOrderLineItemInput : GraphQLObject + { /// ///The custom discount to be applied. /// - [Description("The custom discount to be applied.")] - public DraftOrderAppliedDiscountInput? appliedDiscount { get; set; } - + [Description("The custom discount to be applied.")] + public DraftOrderAppliedDiscountInput? appliedDiscount { get; set; } + /// ///A generic custom attribute using a key value pair. /// - [Description("A generic custom attribute using a key value pair.")] - public IEnumerable? customAttributes { get; set; } - + [Description("A generic custom attribute using a key value pair.")] + public IEnumerable? customAttributes { get; set; } + /// ///The weight in grams for custom line items. This field is ignored when `variantId` is provided. /// - [Description("The weight in grams for custom line items. This field is ignored when `variantId` is provided.")] - [Obsolete("`weight` should be used instead, allowing different units to be used.")] - public int? grams { get; set; } - + [Description("The weight in grams for custom line items. This field is ignored when `variantId` is provided.")] + [Obsolete("`weight` should be used instead, allowing different units to be used.")] + public int? grams { get; set; } + /// ///The custom line item price without any discounts applied in shop currency. This field is ignored when `variantId` is provided. /// - [Description("The custom line item price without any discounts applied in shop currency. This field is ignored when `variantId` is provided.")] - [Obsolete("`originalUnitPriceWithCurrency` should be used instead, where currency can be specified.")] - public decimal? originalUnitPrice { get; set; } - + [Description("The custom line item price without any discounts applied in shop currency. This field is ignored when `variantId` is provided.")] + [Obsolete("`originalUnitPriceWithCurrency` should be used instead, where currency can be specified.")] + public decimal? originalUnitPrice { get; set; } + /// ///The price in presentment currency, without any discounts applied, for a custom line item. ///If this value is provided, `original_unit_price` will be ignored. This field is ignored when `variantId` is provided. ///Note: All presentment currencies for a single draft should be the same and match the ///presentment currency of the draft order. /// - [Description("The price in presentment currency, without any discounts applied, for a custom line item.\nIf this value is provided, `original_unit_price` will be ignored. This field is ignored when `variantId` is provided.\nNote: All presentment currencies for a single draft should be the same and match the\npresentment currency of the draft order.")] - public MoneyInput? originalUnitPriceWithCurrency { get; set; } - + [Description("The price in presentment currency, without any discounts applied, for a custom line item.\nIf this value is provided, `original_unit_price` will be ignored. This field is ignored when `variantId` is provided.\nNote: All presentment currencies for a single draft should be the same and match the\npresentment currency of the draft order.")] + public MoneyInput? originalUnitPriceWithCurrency { get; set; } + /// ///The line item quantity. /// - [Description("The line item quantity.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The line item quantity.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether physical shipping is required for a custom line item. This field is ignored when `variantId` is provided. /// - [Description("Whether physical shipping is required for a custom line item. This field is ignored when `variantId` is provided.")] - public bool? requiresShipping { get; set; } - + [Description("Whether physical shipping is required for a custom line item. This field is ignored when `variantId` is provided.")] + public bool? requiresShipping { get; set; } + /// ///The SKU number for custom line items only. This field is ignored when `variantId` is provided. /// - [Description("The SKU number for custom line items only. This field is ignored when `variantId` is provided.")] - public string? sku { get; set; } - + [Description("The SKU number for custom line items only. This field is ignored when `variantId` is provided.")] + public string? sku { get; set; } + /// ///Whether the custom line item is taxable. This field is ignored when `variantId` is provided. /// - [Description("Whether the custom line item is taxable. This field is ignored when `variantId` is provided.")] - public bool? taxable { get; set; } - + [Description("Whether the custom line item is taxable. This field is ignored when `variantId` is provided.")] + public bool? taxable { get; set; } + /// ///Title of the line item. This field is ignored when `variantId` is provided. /// - [Description("Title of the line item. This field is ignored when `variantId` is provided.")] - public string? title { get; set; } - + [Description("Title of the line item. This field is ignored when `variantId` is provided.")] + public string? title { get; set; } + /// ///The ID of the product variant corresponding to the line item. ///Must be null for custom line items, otherwise required. /// - [Description("The ID of the product variant corresponding to the line item.\nMust be null for custom line items, otherwise required.")] - public string? variantId { get; set; } - + [Description("The ID of the product variant corresponding to the line item.\nMust be null for custom line items, otherwise required.")] + public string? variantId { get; set; } + /// ///The weight unit and value inputs for custom line items only. ///This field is ignored when `variantId` is provided. /// - [Description("The weight unit and value inputs for custom line items only.\nThis field is ignored when `variantId` is provided.")] - public WeightInput? weight { get; set; } - + [Description("The weight unit and value inputs for custom line items only.\nThis field is ignored when `variantId` is provided.")] + public WeightInput? weight { get; set; } + /// ///The UUID of the draft order line item. Must be unique and consistent across requests. ///This field is mandatory in order to manipulate drafts with bundles. /// - [Description("The UUID of the draft order line item. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] - public string? uuid { get; set; } - + [Description("The UUID of the draft order line item. Must be unique and consistent across requests.\nThis field is mandatory in order to manipulate drafts with bundles.")] + public string? uuid { get; set; } + /// ///The bundle components when the line item is a bundle. /// - [Description("The bundle components when the line item is a bundle.")] - [Obsolete("Use `components` instead.")] - public IEnumerable? bundleComponents { get; set; } - + [Description("The bundle components when the line item is a bundle.")] + [Obsolete("Use `components` instead.")] + public IEnumerable? bundleComponents { get; set; } + /// ///The components of the draft order line item. /// - [Description("The components of the draft order line item.")] - public IEnumerable? components { get; set; } - + [Description("The components of the draft order line item.")] + public IEnumerable? components { get; set; } + /// ///If the line item doesn't already have a price override input, setting `generatePriceOverride` to `true` will ///create a price override from the current price. /// - [Description("If the line item doesn't already have a price override input, setting `generatePriceOverride` to `true` will\ncreate a price override from the current price.")] - public bool? generatePriceOverride { get; set; } - + [Description("If the line item doesn't already have a price override input, setting `generatePriceOverride` to `true` will\ncreate a price override from the current price.")] + public bool? generatePriceOverride { get; set; } + /// ///The price override for the line item. Should be set in presentment currency. /// @@ -41507,709 +41507,709 @@ public class DraftOrderLineItemInput : GraphQLObject ///override will be removed. In the case of a cart transform, this may mean that a price override is applied to ///this line item earlier in its lifecycle, and is removed later when the transform occurs. /// - [Description("The price override for the line item. Should be set in presentment currency.\n\nThis price will be used in place of the product variant's catalog price in this draft order.\n\nIf the override's presentment currency doesn't match the draft order's presentment currency, it will be\nconverted over to match the draft order's presentment currency. This will occur if the input is defined in a\ndiffering currency, or if some other event causes the draft order's currency to change.\n\nPrice overrides can't be applied to bundle components. If this line item becomes part of a bundle the price\noverride will be removed. In the case of a cart transform, this may mean that a price override is applied to\nthis line item earlier in its lifecycle, and is removed later when the transform occurs.")] - public MoneyInput? priceOverride { get; set; } - } - + [Description("The price override for the line item. Should be set in presentment currency.\n\nThis price will be used in place of the product variant's catalog price in this draft order.\n\nIf the override's presentment currency doesn't match the draft order's presentment currency, it will be\nconverted over to match the draft order's presentment currency. This will occur if the input is defined in a\ndiffering currency, or if some other event causes the draft order's currency to change.\n\nPrice overrides can't be applied to bundle components. If this line item becomes part of a bundle the price\noverride will be removed. In the case of a cart transform, this may mean that a price override is applied to\nthis line item earlier in its lifecycle, and is removed later when the transform occurs.")] + public MoneyInput? priceOverride { get; set; } + } + /// ///The possible sources for a line item's merchandise. /// - [Description("The possible sources for a line item's merchandise.")] - public enum DraftOrderLineItemMerchandiseSourceType - { + [Description("The possible sources for a line item's merchandise.")] + public enum DraftOrderLineItemMerchandiseSourceType + { /// ///Indicates the line item represents a ProductVariant. /// - [Description("Indicates the line item represents a ProductVariant.")] - PRODUCT_VARIANT, + [Description("Indicates the line item represents a ProductVariant.")] + PRODUCT_VARIANT, /// ///Indicates the line item represents a ProductVariant that has been deleted since the draft order was created ///or last updated. The line item must be updated to use a new variant or defined as custom before the draft ///order can be completed. /// - [Description("Indicates the line item represents a ProductVariant that has been deleted since the draft order was created\nor last updated. The line item must be updated to use a new variant or defined as custom before the draft\norder can be completed.")] - DELETED_PRODUCT_VARIANT, + [Description("Indicates the line item represents a ProductVariant that has been deleted since the draft order was created\nor last updated. The line item must be updated to use a new variant or defined as custom before the draft\norder can be completed.")] + DELETED_PRODUCT_VARIANT, /// ///Indicates the line item represents custom merchandise. /// - [Description("Indicates the line item represents custom merchandise.")] - CUSTOM, - } - - public static class DraftOrderLineItemMerchandiseSourceTypeStringValues - { - public const string PRODUCT_VARIANT = @"PRODUCT_VARIANT"; - public const string DELETED_PRODUCT_VARIANT = @"DELETED_PRODUCT_VARIANT"; - public const string CUSTOM = @"CUSTOM"; - } - + [Description("Indicates the line item represents custom merchandise.")] + CUSTOM, + } + + public static class DraftOrderLineItemMerchandiseSourceTypeStringValues + { + public const string PRODUCT_VARIANT = @"PRODUCT_VARIANT"; + public const string DELETED_PRODUCT_VARIANT = @"DELETED_PRODUCT_VARIANT"; + public const string CUSTOM = @"CUSTOM"; + } + /// ///A warning indicating that the market region country code is not supported with Markets. /// - [Description("A warning indicating that the market region country code is not supported with Markets.")] - public class DraftOrderMarketRegionCountryCodeNotSupportedWarning : GraphQLObject, IDraftOrderWarning - { + [Description("A warning indicating that the market region country code is not supported with Markets.")] + public class DraftOrderMarketRegionCountryCodeNotSupportedWarning : GraphQLObject, IDraftOrderWarning + { /// ///The error code. /// - [Description("The error code.")] - [NonNull] - public string? errorCode { get; set; } - + [Description("The error code.")] + [NonNull] + public string? errorCode { get; set; } + /// ///The input field that the warning applies to. /// - [Description("The input field that the warning applies to.")] - [NonNull] - public string? field { get; set; } - + [Description("The input field that the warning applies to.")] + [NonNull] + public string? field { get; set; } + /// ///The warning message. /// - [Description("The warning message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The warning message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The platform discounts applied to the draft order. /// - [Description("The platform discounts applied to the draft order.")] - public class DraftOrderPlatformDiscount : GraphQLObject - { + [Description("The platform discounts applied to the draft order.")] + public class DraftOrderPlatformDiscount : GraphQLObject + { /// ///Price reduction allocations across the draft order's lines. /// - [Description("Price reduction allocations across the draft order's lines.")] - [NonNull] - public IEnumerable? allocations { get; set; } - + [Description("Price reduction allocations across the draft order's lines.")] + [NonNull] + public IEnumerable? allocations { get; set; } + /// ///Whether the discount is an automatic discount. /// - [Description("Whether the discount is an automatic discount.")] - [NonNull] - public bool? automaticDiscount { get; set; } - + [Description("Whether the discount is an automatic discount.")] + [NonNull] + public bool? automaticDiscount { get; set; } + /// ///Whether the discount is a buy x get y discount. /// - [Description("Whether the discount is a buy x get y discount.")] - [NonNull] - public bool? bxgyDiscount { get; set; } - + [Description("Whether the discount is a buy x get y discount.")] + [NonNull] + public bool? bxgyDiscount { get; set; } + /// ///If a code-based discount, the code used to add the discount. /// - [Description("If a code-based discount, the code used to add the discount.")] - public string? code { get; set; } - + [Description("If a code-based discount, the code used to add the discount.")] + public string? code { get; set; } + /// ///The discount class. /// - [Description("The discount class.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The discount class.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The discount classes. /// - [Description("The discount classes.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The discount classes.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///The discount node for the platform discount. /// - [Description("The discount node for the platform discount.")] - public DiscountNode? discountNode { get; set; } - + [Description("The discount node for the platform discount.")] + public DiscountNode? discountNode { get; set; } + /// ///The ID of the discount. /// - [Description("The ID of the discount.")] - public string? id { get; set; } - + [Description("The ID of the discount.")] + public string? id { get; set; } + /// ///Whether the discount is line, order or shipping level. /// - [Description("Whether the discount is line, order or shipping level.")] - [NonNull] - public string? presentationLevel { get; set; } - + [Description("Whether the discount is line, order or shipping level.")] + [NonNull] + public string? presentationLevel { get; set; } + /// ///The short summary of the discount. /// - [Description("The short summary of the discount.")] - [NonNull] - public string? shortSummary { get; set; } - + [Description("The short summary of the discount.")] + [NonNull] + public string? shortSummary { get; set; } + /// ///The summary of the discount. /// - [Description("The summary of the discount.")] - [NonNull] - public string? summary { get; set; } - + [Description("The summary of the discount.")] + [NonNull] + public string? summary { get; set; } + /// ///The name of the discount. /// - [Description("The name of the discount.")] - [NonNull] - public string? title { get; set; } - + [Description("The name of the discount.")] + [NonNull] + public string? title { get; set; } + /// ///The discount total amount in shop currency. /// - [Description("The discount total amount in shop currency.")] - [NonNull] - public MoneyV2? totalAmount { get; set; } - + [Description("The discount total amount in shop currency.")] + [NonNull] + public MoneyV2? totalAmount { get; set; } + /// ///The amount of money discounted, with values shown in both shop currency and presentment currency. /// - [Description("The amount of money discounted, with values shown in both shop currency and presentment currency.")] - [NonNull] - public MoneyBag? totalAmountPriceSet { get; set; } - } - + [Description("The amount of money discounted, with values shown in both shop currency and presentment currency.")] + [NonNull] + public MoneyBag? totalAmountPriceSet { get; set; } + } + /// ///Price reduction allocations across the draft order's lines. /// - [Description("Price reduction allocations across the draft order's lines.")] - public class DraftOrderPlatformDiscountAllocation : GraphQLObject - { + [Description("Price reduction allocations across the draft order's lines.")] + public class DraftOrderPlatformDiscountAllocation : GraphQLObject + { /// ///The ID of the allocation. /// - [Description("The ID of the allocation.")] - public string? id { get; set; } - + [Description("The ID of the allocation.")] + public string? id { get; set; } + /// ///The quantity of the target being discounted. /// - [Description("The quantity of the target being discounted.")] - public int? quantity { get; set; } - + [Description("The quantity of the target being discounted.")] + public int? quantity { get; set; } + /// ///Amount of the discount allocated to the target. /// - [Description("Amount of the discount allocated to the target.")] - [NonNull] - public MoneyV2? reductionAmount { get; set; } - + [Description("Amount of the discount allocated to the target.")] + [NonNull] + public MoneyV2? reductionAmount { get; set; } + /// ///Amount of the discount allocated to the target in both shop currency and presentment currency. /// - [Description("Amount of the discount allocated to the target in both shop currency and presentment currency.")] - [NonNull] - public MoneyBag? reductionAmountSet { get; set; } - + [Description("Amount of the discount allocated to the target in both shop currency and presentment currency.")] + [NonNull] + public MoneyBag? reductionAmountSet { get; set; } + /// ///The element of the draft being discounted. /// - [Description("The element of the draft being discounted.")] - public IDraftOrderPlatformDiscountAllocationTarget? target { get; set; } - } - + [Description("The element of the draft being discounted.")] + public IDraftOrderPlatformDiscountAllocationTarget? target { get; set; } + } + /// ///The element of the draft being discounted. /// - [Description("The element of the draft being discounted.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CalculatedDraftOrderLineItem), typeDiscriminator: "CalculatedDraftOrderLineItem")] - [JsonDerivedType(typeof(DraftOrderLineItem), typeDiscriminator: "DraftOrderLineItem")] - [JsonDerivedType(typeof(ShippingLine), typeDiscriminator: "ShippingLine")] - public interface IDraftOrderPlatformDiscountAllocationTarget : IGraphQLObject - { - public CalculatedDraftOrderLineItem? AsCalculatedDraftOrderLineItem() => this as CalculatedDraftOrderLineItem; - public DraftOrderLineItem? AsDraftOrderLineItem() => this as DraftOrderLineItem; - public ShippingLine? AsShippingLine() => this as ShippingLine; + [Description("The element of the draft being discounted.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CalculatedDraftOrderLineItem), typeDiscriminator: "CalculatedDraftOrderLineItem")] + [JsonDerivedType(typeof(DraftOrderLineItem), typeDiscriminator: "DraftOrderLineItem")] + [JsonDerivedType(typeof(ShippingLine), typeDiscriminator: "ShippingLine")] + public interface IDraftOrderPlatformDiscountAllocationTarget : IGraphQLObject + { + public CalculatedDraftOrderLineItem? AsCalculatedDraftOrderLineItem() => this as CalculatedDraftOrderLineItem; + public DraftOrderLineItem? AsDraftOrderLineItem() => this as DraftOrderLineItem; + public ShippingLine? AsShippingLine() => this as ShippingLine; /// ///Whether the line item is custom (`true`) or contains a product variant (`false`). /// - [Description("Whether the line item is custom (`true`) or contains a product variant (`false`).")] - [NonNull] - public bool? custom { get; set; } - + [Description("Whether the line item is custom (`true`) or contains a product variant (`false`).")] + [NonNull] + public bool? custom { get; set; } + /// ///The title of the product or variant. This field only applies to custom line items. /// - [Description("The title of the product or variant. This field only applies to custom line items.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the product or variant. This field only applies to custom line items.")] + [NonNull] + public string? title { get; set; } + } + /// ///Return type for `draftOrderPrepareForBuyerCheckout` mutation. /// - [Description("Return type for `draftOrderPrepareForBuyerCheckout` mutation.")] - public class DraftOrderPrepareForBuyerCheckoutPayload : GraphQLObject - { + [Description("Return type for `draftOrderPrepareForBuyerCheckout` mutation.")] + public class DraftOrderPrepareForBuyerCheckoutPayload : GraphQLObject + { /// ///The prepared draft order. /// - [Description("The prepared draft order.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The prepared draft order.")] + public DraftOrder? draftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A shipping rate is an additional cost added to the cost of the products that were ordered. /// - [Description("A shipping rate is an additional cost added to the cost of the products that were ordered.")] - public class DraftOrderShippingRate : GraphQLObject - { + [Description("A shipping rate is an additional cost added to the cost of the products that were ordered.")] + public class DraftOrderShippingRate : GraphQLObject + { /// ///The code of the shipping rate. /// - [Description("The code of the shipping rate.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the shipping rate.")] + [NonNull] + public string? code { get; set; } + /// ///Unique identifier for this shipping rate. /// - [Description("Unique identifier for this shipping rate.")] - [NonNull] - public string? handle { get; set; } - + [Description("Unique identifier for this shipping rate.")] + [NonNull] + public string? handle { get; set; } + /// ///The cost associated with the shipping rate. /// - [Description("The cost associated with the shipping rate.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The cost associated with the shipping rate.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///The source of the shipping rate. /// - [Description("The source of the shipping rate.")] - [NonNull] - public string? source { get; set; } - + [Description("The source of the shipping rate.")] + [NonNull] + public string? source { get; set; } + /// ///The name of the shipping rate. /// - [Description("The name of the shipping rate.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the shipping rate.")] + [NonNull] + public string? title { get; set; } + } + /// ///The set of valid sort keys for the DraftOrder query. /// - [Description("The set of valid sort keys for the DraftOrder query.")] - public enum DraftOrderSortKeys - { + [Description("The set of valid sort keys for the DraftOrder query.")] + public enum DraftOrderSortKeys + { /// ///Sort by the `customer_name` value. /// - [Description("Sort by the `customer_name` value.")] - CUSTOMER_NAME, + [Description("Sort by the `customer_name` value.")] + CUSTOMER_NAME, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `number` value. /// - [Description("Sort by the `number` value.")] - NUMBER, + [Description("Sort by the `number` value.")] + NUMBER, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `status` value. /// - [Description("Sort by the `status` value.")] - STATUS, + [Description("Sort by the `status` value.")] + STATUS, /// ///Sort by the `total_price` value. /// - [Description("Sort by the `total_price` value.")] - TOTAL_PRICE, + [Description("Sort by the `total_price` value.")] + TOTAL_PRICE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class DraftOrderSortKeysStringValues - { - public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; - public const string ID = @"ID"; - public const string NUMBER = @"NUMBER"; - public const string RELEVANCE = @"RELEVANCE"; - public const string STATUS = @"STATUS"; - public const string TOTAL_PRICE = @"TOTAL_PRICE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class DraftOrderSortKeysStringValues + { + public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; + public const string ID = @"ID"; + public const string NUMBER = @"NUMBER"; + public const string RELEVANCE = @"RELEVANCE"; + public const string STATUS = @"STATUS"; + public const string TOTAL_PRICE = @"TOTAL_PRICE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The valid statuses for a draft order. /// - [Description("The valid statuses for a draft order.")] - public enum DraftOrderStatus - { + [Description("The valid statuses for a draft order.")] + public enum DraftOrderStatus + { /// ///The draft order has been paid. /// - [Description("The draft order has been paid.")] - COMPLETED, + [Description("The draft order has been paid.")] + COMPLETED, /// ///An invoice for the draft order has been sent to the customer. /// - [Description("An invoice for the draft order has been sent to the customer.")] - INVOICE_SENT, + [Description("An invoice for the draft order has been sent to the customer.")] + INVOICE_SENT, /// ///The draft order is open. It has not been paid, and an invoice hasn't been sent. /// - [Description("The draft order is open. It has not been paid, and an invoice hasn't been sent.")] - OPEN, - } - - public static class DraftOrderStatusStringValues - { - public const string COMPLETED = @"COMPLETED"; - public const string INVOICE_SENT = @"INVOICE_SENT"; - public const string OPEN = @"OPEN"; - } - + [Description("The draft order is open. It has not been paid, and an invoice hasn't been sent.")] + OPEN, + } + + public static class DraftOrderStatusStringValues + { + public const string COMPLETED = @"COMPLETED"; + public const string INVOICE_SENT = @"INVOICE_SENT"; + public const string OPEN = @"OPEN"; + } + /// ///Represents a draft order tag. /// - [Description("Represents a draft order tag.")] - public class DraftOrderTag : GraphQLObject, INode - { + [Description("Represents a draft order tag.")] + public class DraftOrderTag : GraphQLObject, INode + { /// ///Handle of draft order tag. /// - [Description("Handle of draft order tag.")] - [NonNull] - public string? handle { get; set; } - + [Description("Handle of draft order tag.")] + [NonNull] + public string? handle { get; set; } + /// ///ID of draft order tag. /// - [Description("ID of draft order tag.")] - [NonNull] - public string? id { get; set; } - + [Description("ID of draft order tag.")] + [NonNull] + public string? id { get; set; } + /// ///Title of draft order tag. /// - [Description("Title of draft order tag.")] - [NonNull] - public string? title { get; set; } - } - + [Description("Title of draft order tag.")] + [NonNull] + public string? title { get; set; } + } + /// ///Return type for `draftOrderUpdate` mutation. /// - [Description("Return type for `draftOrderUpdate` mutation.")] - public class DraftOrderUpdatePayload : GraphQLObject - { + [Description("Return type for `draftOrderUpdate` mutation.")] + public class DraftOrderUpdatePayload : GraphQLObject + { /// ///The updated draft order. /// - [Description("The updated draft order.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The updated draft order.")] + public DraftOrder? draftOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A warning that is displayed to the merchant when a change is made to a draft order. /// - [Description("A warning that is displayed to the merchant when a change is made to a draft order.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DraftOrderBundleAddedWarning), typeDiscriminator: "DraftOrderBundleAddedWarning")] - [JsonDerivedType(typeof(DraftOrderDiscountNotAppliedWarning), typeDiscriminator: "DraftOrderDiscountNotAppliedWarning")] - [JsonDerivedType(typeof(DraftOrderMarketRegionCountryCodeNotSupportedWarning), typeDiscriminator: "DraftOrderMarketRegionCountryCodeNotSupportedWarning")] - public interface IDraftOrderWarning : IGraphQLObject - { - public DraftOrderBundleAddedWarning? AsDraftOrderBundleAddedWarning() => this as DraftOrderBundleAddedWarning; - public DraftOrderDiscountNotAppliedWarning? AsDraftOrderDiscountNotAppliedWarning() => this as DraftOrderDiscountNotAppliedWarning; - public DraftOrderMarketRegionCountryCodeNotSupportedWarning? AsDraftOrderMarketRegionCountryCodeNotSupportedWarning() => this as DraftOrderMarketRegionCountryCodeNotSupportedWarning; + [Description("A warning that is displayed to the merchant when a change is made to a draft order.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DraftOrderBundleAddedWarning), typeDiscriminator: "DraftOrderBundleAddedWarning")] + [JsonDerivedType(typeof(DraftOrderDiscountNotAppliedWarning), typeDiscriminator: "DraftOrderDiscountNotAppliedWarning")] + [JsonDerivedType(typeof(DraftOrderMarketRegionCountryCodeNotSupportedWarning), typeDiscriminator: "DraftOrderMarketRegionCountryCodeNotSupportedWarning")] + public interface IDraftOrderWarning : IGraphQLObject + { + public DraftOrderBundleAddedWarning? AsDraftOrderBundleAddedWarning() => this as DraftOrderBundleAddedWarning; + public DraftOrderDiscountNotAppliedWarning? AsDraftOrderDiscountNotAppliedWarning() => this as DraftOrderDiscountNotAppliedWarning; + public DraftOrderMarketRegionCountryCodeNotSupportedWarning? AsDraftOrderMarketRegionCountryCodeNotSupportedWarning() => this as DraftOrderMarketRegionCountryCodeNotSupportedWarning; /// ///The error code. /// - [Description("The error code.")] - [NonNull] - public string? errorCode { get; } - + [Description("The error code.")] + [NonNull] + public string? errorCode { get; } + /// ///The input field that the warning applies to. /// - [Description("The input field that the warning applies to.")] - [NonNull] - public string? field { get; } - + [Description("The input field that the warning applies to.")] + [NonNull] + public string? field { get; } + /// ///The warning message. /// - [Description("The warning message.")] - [NonNull] - public string? message { get; } - } - + [Description("The warning message.")] + [NonNull] + public string? message { get; } + } + /// ///The duty details for a line item. /// - [Description("The duty details for a line item.")] - public class Duty : GraphQLObject, INode - { + [Description("The duty details for a line item.")] + public class Duty : GraphQLObject, INode + { /// ///The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty. /// - [Description("The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty.")] - [EnumType(typeof(CountryCode))] - public string? countryCodeOfOrigin { get; set; } - + [Description("The ISO 3166-1 alpha-2 country code of the country of origin used in calculating the duty.")] + [EnumType(typeof(CountryCode))] + public string? countryCodeOfOrigin { get; set; } + /// ///The harmonized system code of the item used in calculating the duty. /// - [Description("The harmonized system code of the item used in calculating the duty.")] - public string? harmonizedSystemCode { get; set; } - + [Description("The harmonized system code of the item used in calculating the duty.")] + public string? harmonizedSystemCode { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The amount of the duty. /// - [Description("The amount of the duty.")] - [NonNull] - public MoneyBag? price { get; set; } - + [Description("The amount of the duty.")] + [NonNull] + public MoneyBag? price { get; set; } + /// ///A list of taxes charged on the duty. /// - [Description("A list of taxes charged on the duty.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - } - + [Description("A list of taxes charged on the duty.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + } + /// ///A sale associated with a duty charge. /// - [Description("A sale associated with a duty charge.")] - public class DutySale : GraphQLObject, ISale - { + [Description("A sale associated with a duty charge.")] + public class DutySale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The duty for the associated sale. /// - [Description("The duty for the associated sale.")] - [NonNull] - public Duty? duty { get; set; } - + [Description("The duty for the associated sale.")] + [NonNull] + public Duty? duty { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///The attribute editable information. /// - [Description("The attribute editable information.")] - public class EditableProperty : GraphQLObject - { + [Description("The attribute editable information.")] + public class EditableProperty : GraphQLObject + { /// ///Whether the attribute is locked for editing. /// - [Description("Whether the attribute is locked for editing.")] - [NonNull] - public bool? locked { get; set; } - + [Description("Whether the attribute is locked for editing.")] + [NonNull] + public bool? locked { get; set; } + /// ///The reason the attribute is locked for editing. /// - [Description("The reason the attribute is locked for editing.")] - public string? reason { get; set; } - } - + [Description("The reason the attribute is locked for editing.")] + public string? reason { get; set; } + } + /// ///The input fields for an email. /// - [Description("The input fields for an email.")] - public class EmailInput : GraphQLObject - { + [Description("The input fields for an email.")] + public class EmailInput : GraphQLObject + { /// ///Specifies the email subject. /// - [Description("Specifies the email subject.")] - public string? subject { get; set; } - + [Description("Specifies the email subject.")] + public string? subject { get; set; } + /// ///Specifies the email recipient. /// - [Description("Specifies the email recipient.")] - public string? to { get; set; } - + [Description("Specifies the email recipient.")] + public string? to { get; set; } + /// ///Specifies the email sender. /// - [Description("Specifies the email sender.")] - public string? from { get; set; } - + [Description("Specifies the email sender.")] + public string? from { get; set; } + /// ///Specifies the email body. /// - [Description("Specifies the email body.")] - public string? body { get; set; } - + [Description("Specifies the email body.")] + public string? body { get; set; } + /// ///Specifies any bcc recipients for the email. /// - [Description("Specifies any bcc recipients for the email.")] - public IEnumerable? bcc { get; set; } - + [Description("Specifies any bcc recipients for the email.")] + public IEnumerable? bcc { get; set; } + /// ///Specifies a custom message to include in the email. /// - [Description("Specifies a custom message to include in the email.")] - public string? customMessage { get; set; } - } - + [Description("Specifies a custom message to include in the email.")] + public string? customMessage { get; set; } + } + /// ///The email sender configuration for a shop. This allows Shopify to send emails that are properly authenticated for a given domain. /// - [Description("The email sender configuration for a shop. This allows Shopify to send emails that are properly authenticated for a given domain.")] - public class EmailSenderConfiguration : GraphQLObject - { + [Description("The email sender configuration for a shop. This allows Shopify to send emails that are properly authenticated for a given domain.")] + public class EmailSenderConfiguration : GraphQLObject + { /// ///The list of DNS records that merchants need to configure for the current sender domain. /// - [Description("The list of DNS records that merchants need to configure for the current sender domain.")] - [NonNull] - public IEnumerable? senderDomainDnsRecords { get; set; } - } - + [Description("The list of DNS records that merchants need to configure for the current sender domain.")] + [NonNull] + public IEnumerable? senderDomainDnsRecords { get; set; } + } + /// ///Represents a DNS record that needs to be configured for Shopify to send emails from a domain. /// - [Description("Represents a DNS record that needs to be configured for Shopify to send emails from a domain.")] - public class EmailSenderConfigurationDnsRecord : GraphQLObject - { + [Description("Represents a DNS record that needs to be configured for Shopify to send emails from a domain.")] + public class EmailSenderConfigurationDnsRecord : GraphQLObject + { /// ///The hostname of the DNS record. /// - [Description("The hostname of the DNS record.")] - [NonNull] - public string? name { get; set; } - + [Description("The hostname of the DNS record.")] + [NonNull] + public string? name { get; set; } + /// ///The type of the DNS record. /// - [Description("The type of the DNS record.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of the DNS record.")] + [NonNull] + public string? type { get; set; } + /// ///The value of the DNS record. /// - [Description("The value of the DNS record.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the DNS record.")] + [NonNull] + public string? value { get; set; } + } + /// ///The shop's entitlements. /// - [Description("The shop's entitlements.")] - public class EntitlementsType : GraphQLObject - { + [Description("The shop's entitlements.")] + public class EntitlementsType : GraphQLObject + { /// ///Represents the markets for the shop. /// - [Description("Represents the markets for the shop.")] - [NonNull] - public MarketsType? markets { get; set; } - } - + [Description("Represents the markets for the shop.")] + [NonNull] + public MarketsType? markets { get; set; } + } + /// ///Catches validation problems when you're setting up environment variables for your Hydrogen storefronts. When something goes wrong with your variable configuration, these errors tell you exactly what needs fixing so you can get your storefront running smoothly. /// @@ -42225,1059 +42225,1059 @@ public class EntitlementsType : GraphQLObject /// ///Learn more about [Hydrogen storefront configuration](https://shopify.dev/docs/custom-storefronts/hydrogen). /// - [Description("Catches validation problems when you're setting up environment variables for your Hydrogen storefronts. When something goes wrong with your variable configuration, these errors tell you exactly what needs fixing so you can get your storefront running smoothly.\n\nFor example, when setting an invalid environment variable name or value that conflicts with system requirements, this error type captures the specific field and validation message to guide resolution.\n\nUse `EnvironmentVariablesUserError` to:\n- Handle environment variable validation failures\n- Display specific error messages to developers\n- Identify which fields need correction\n- Provide clear feedback during storefront configuration\n\nEach error includes the problematic field name and a descriptive message explaining the validation requirement that wasn't met.\n\nLearn more about [Hydrogen storefront configuration](https://shopify.dev/docs/custom-storefronts/hydrogen).")] - public class EnvironmentVariablesUserError : GraphQLObject, IDisplayableError - { + [Description("Catches validation problems when you're setting up environment variables for your Hydrogen storefronts. When something goes wrong with your variable configuration, these errors tell you exactly what needs fixing so you can get your storefront running smoothly.\n\nFor example, when setting an invalid environment variable name or value that conflicts with system requirements, this error type captures the specific field and validation message to guide resolution.\n\nUse `EnvironmentVariablesUserError` to:\n- Handle environment variable validation failures\n- Display specific error messages to developers\n- Identify which fields need correction\n- Provide clear feedback during storefront configuration\n\nEach error includes the problematic field name and a descriptive message explaining the validation requirement that wasn't met.\n\nLearn more about [Hydrogen storefront configuration](https://shopify.dev/docs/custom-storefronts/hydrogen).")] + public class EnvironmentVariablesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(EnvironmentVariablesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(EnvironmentVariablesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `EnvironmentVariablesUserError`. /// - [Description("Possible error codes that can be returned by `EnvironmentVariablesUserError`.")] - public enum EnvironmentVariablesUserErrorCode - { + [Description("Possible error codes that can be returned by `EnvironmentVariablesUserError`.")] + public enum EnvironmentVariablesUserErrorCode + { /// ///You've reached the maximum number of variables for one of your environments. /// - [Description("You've reached the maximum number of variables for one of your environments.")] - MAXIMUM_ENVIRONMENT_VARIABLES_PER_ENVIRONMENT, + [Description("You've reached the maximum number of variables for one of your environments.")] + MAXIMUM_ENVIRONMENT_VARIABLES_PER_ENVIRONMENT, /// ///An environment variable is not assigned to any environment. /// - [Description("An environment variable is not assigned to any environment.")] - UNASSIGNED_ENVIRONMENT_VARIABLE_VALUE, + [Description("An environment variable is not assigned to any environment.")] + UNASSIGNED_ENVIRONMENT_VARIABLE_VALUE, /// ///An environment variable with the same key already exists. /// - [Description("An environment variable with the same key already exists.")] - DUPLICATE_ENVIRONMENT_VARIABLE_KEY_ON_CREATE, + [Description("An environment variable with the same key already exists.")] + DUPLICATE_ENVIRONMENT_VARIABLE_KEY_ON_CREATE, /// ///An environment variable with the provided key-value already exists. /// - [Description("An environment variable with the provided key-value already exists.")] - DUPLICATE_ENVIRONMENT_VARIABLE_KEY_VALUE, + [Description("An environment variable with the provided key-value already exists.")] + DUPLICATE_ENVIRONMENT_VARIABLE_KEY_VALUE, /// ///You can't associate an environment to multiple environment variable values for the same key. /// - [Description("You can't associate an environment to multiple environment variable values for the same key.")] - DUPLICATE_ENVIRONMENT_VARIABLE_KEY_FOR_ENVIRONMENT, + [Description("You can't associate an environment to multiple environment variable values for the same key.")] + DUPLICATE_ENVIRONMENT_VARIABLE_KEY_FOR_ENVIRONMENT, /// ///The storefront was not found. /// - [Description("The storefront was not found.")] - STOREFRONT_NOT_FOUND, + [Description("The storefront was not found.")] + STOREFRONT_NOT_FOUND, /// ///Your storefront isn't connected to a GitHub repository. /// - [Description("Your storefront isn't connected to a GitHub repository.")] - STOREFRONT_DISCONNECTED, + [Description("Your storefront isn't connected to a GitHub repository.")] + STOREFRONT_DISCONNECTED, /// ///The environments provided weren't found. /// - [Description("The environments provided weren't found.")] - ENVIRONMENTS_NOT_FOUND, + [Description("The environments provided weren't found.")] + ENVIRONMENTS_NOT_FOUND, /// ///The environment provided wasn't found. /// - [Description("The environment provided wasn't found.")] - ENVIRONMENT_NOT_FOUND, + [Description("The environment provided wasn't found.")] + ENVIRONMENT_NOT_FOUND, /// ///The input updates environment variables with different keys. /// - [Description("The input updates environment variables with different keys.")] - USER_INPUT_MUST_UPDATE_VARIABLES_WITH_THE_SAME_KEY, + [Description("The input updates environment variables with different keys.")] + USER_INPUT_MUST_UPDATE_VARIABLES_WITH_THE_SAME_KEY, /// ///You can't reveal secret variables. /// - [Description("You can't reveal secret variables.")] - CANT_REVEAL_SECRET_VARIABLES, + [Description("You can't reveal secret variables.")] + CANT_REVEAL_SECRET_VARIABLES, /// ///A read-only environment variable can't be modified. /// - [Description("A read-only environment variable can't be modified.")] - CANT_MODIFY_READ_ONLY_ENVIRONMENT_VARIABLE, - } - - public static class EnvironmentVariablesUserErrorCodeStringValues - { - public const string MAXIMUM_ENVIRONMENT_VARIABLES_PER_ENVIRONMENT = @"MAXIMUM_ENVIRONMENT_VARIABLES_PER_ENVIRONMENT"; - public const string UNASSIGNED_ENVIRONMENT_VARIABLE_VALUE = @"UNASSIGNED_ENVIRONMENT_VARIABLE_VALUE"; - public const string DUPLICATE_ENVIRONMENT_VARIABLE_KEY_ON_CREATE = @"DUPLICATE_ENVIRONMENT_VARIABLE_KEY_ON_CREATE"; - public const string DUPLICATE_ENVIRONMENT_VARIABLE_KEY_VALUE = @"DUPLICATE_ENVIRONMENT_VARIABLE_KEY_VALUE"; - public const string DUPLICATE_ENVIRONMENT_VARIABLE_KEY_FOR_ENVIRONMENT = @"DUPLICATE_ENVIRONMENT_VARIABLE_KEY_FOR_ENVIRONMENT"; - public const string STOREFRONT_NOT_FOUND = @"STOREFRONT_NOT_FOUND"; - public const string STOREFRONT_DISCONNECTED = @"STOREFRONT_DISCONNECTED"; - public const string ENVIRONMENTS_NOT_FOUND = @"ENVIRONMENTS_NOT_FOUND"; - public const string ENVIRONMENT_NOT_FOUND = @"ENVIRONMENT_NOT_FOUND"; - public const string USER_INPUT_MUST_UPDATE_VARIABLES_WITH_THE_SAME_KEY = @"USER_INPUT_MUST_UPDATE_VARIABLES_WITH_THE_SAME_KEY"; - public const string CANT_REVEAL_SECRET_VARIABLES = @"CANT_REVEAL_SECRET_VARIABLES"; - public const string CANT_MODIFY_READ_ONLY_ENVIRONMENT_VARIABLE = @"CANT_MODIFY_READ_ONLY_ENVIRONMENT_VARIABLE"; - } - + [Description("A read-only environment variable can't be modified.")] + CANT_MODIFY_READ_ONLY_ENVIRONMENT_VARIABLE, + } + + public static class EnvironmentVariablesUserErrorCodeStringValues + { + public const string MAXIMUM_ENVIRONMENT_VARIABLES_PER_ENVIRONMENT = @"MAXIMUM_ENVIRONMENT_VARIABLES_PER_ENVIRONMENT"; + public const string UNASSIGNED_ENVIRONMENT_VARIABLE_VALUE = @"UNASSIGNED_ENVIRONMENT_VARIABLE_VALUE"; + public const string DUPLICATE_ENVIRONMENT_VARIABLE_KEY_ON_CREATE = @"DUPLICATE_ENVIRONMENT_VARIABLE_KEY_ON_CREATE"; + public const string DUPLICATE_ENVIRONMENT_VARIABLE_KEY_VALUE = @"DUPLICATE_ENVIRONMENT_VARIABLE_KEY_VALUE"; + public const string DUPLICATE_ENVIRONMENT_VARIABLE_KEY_FOR_ENVIRONMENT = @"DUPLICATE_ENVIRONMENT_VARIABLE_KEY_FOR_ENVIRONMENT"; + public const string STOREFRONT_NOT_FOUND = @"STOREFRONT_NOT_FOUND"; + public const string STOREFRONT_DISCONNECTED = @"STOREFRONT_DISCONNECTED"; + public const string ENVIRONMENTS_NOT_FOUND = @"ENVIRONMENTS_NOT_FOUND"; + public const string ENVIRONMENT_NOT_FOUND = @"ENVIRONMENT_NOT_FOUND"; + public const string USER_INPUT_MUST_UPDATE_VARIABLES_WITH_THE_SAME_KEY = @"USER_INPUT_MUST_UPDATE_VARIABLES_WITH_THE_SAME_KEY"; + public const string CANT_REVEAL_SECRET_VARIABLES = @"CANT_REVEAL_SECRET_VARIABLES"; + public const string CANT_MODIFY_READ_ONLY_ENVIRONMENT_VARIABLE = @"CANT_MODIFY_READ_ONLY_ENVIRONMENT_VARIABLE"; + } + /// ///An error that occurs during the execution of a server pixel mutation. /// - [Description("An error that occurs during the execution of a server pixel mutation.")] - public class ErrorsServerPixelUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a server pixel mutation.")] + public class ErrorsServerPixelUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ErrorsServerPixelUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ErrorsServerPixelUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ErrorsServerPixelUserError`. /// - [Description("Possible error codes that can be returned by `ErrorsServerPixelUserError`.")] - public enum ErrorsServerPixelUserErrorCode - { + [Description("Possible error codes that can be returned by `ErrorsServerPixelUserError`.")] + public enum ErrorsServerPixelUserErrorCode + { /// ///A server pixel doesn't exist for this app and shop. /// - [Description("A server pixel doesn't exist for this app and shop.")] - NOT_FOUND, + [Description("A server pixel doesn't exist for this app and shop.")] + NOT_FOUND, /// ///A server pixel already exists for this app and shop. Only one server pixel can exist for any app and shop combination. /// - [Description("A server pixel already exists for this app and shop. Only one server pixel can exist for any app and shop combination.")] - ALREADY_EXISTS, + [Description("A server pixel already exists for this app and shop. Only one server pixel can exist for any app and shop combination.")] + ALREADY_EXISTS, /// ///PubSubProject and PubSubTopic values resulted in an address that is not a valid GCP pub/sub format.Address format should be pubsub://project:topic. /// - [Description("PubSubProject and PubSubTopic values resulted in an address that is not a valid GCP pub/sub format.Address format should be pubsub://project:topic.")] - PUB_SUB_ERROR, + [Description("PubSubProject and PubSubTopic values resulted in an address that is not a valid GCP pub/sub format.Address format should be pubsub://project:topic.")] + PUB_SUB_ERROR, /// ///Server Pixel must be configured with a valid AWS Event Bridge or GCP pub/sub endpoint address to be connected. /// - [Description("Server Pixel must be configured with a valid AWS Event Bridge or GCP pub/sub endpoint address to be connected.")] - NEEDS_CONFIGURATION_TO_CONNECT, - } - - public static class ErrorsServerPixelUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string ALREADY_EXISTS = @"ALREADY_EXISTS"; - public const string PUB_SUB_ERROR = @"PUB_SUB_ERROR"; - public const string NEEDS_CONFIGURATION_TO_CONNECT = @"NEEDS_CONFIGURATION_TO_CONNECT"; - } - + [Description("Server Pixel must be configured with a valid AWS Event Bridge or GCP pub/sub endpoint address to be connected.")] + NEEDS_CONFIGURATION_TO_CONNECT, + } + + public static class ErrorsServerPixelUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string ALREADY_EXISTS = @"ALREADY_EXISTS"; + public const string PUB_SUB_ERROR = @"PUB_SUB_ERROR"; + public const string NEEDS_CONFIGURATION_TO_CONNECT = @"NEEDS_CONFIGURATION_TO_CONNECT"; + } + /// ///An error that occurs during the execution of a web pixel mutation. /// - [Description("An error that occurs during the execution of a web pixel mutation.")] - public class ErrorsWebPixelUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a web pixel mutation.")] + public class ErrorsWebPixelUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ErrorsWebPixelUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ErrorsWebPixelUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ErrorsWebPixelUserError`. /// - [Description("Possible error codes that can be returned by `ErrorsWebPixelUserError`.")] - public enum ErrorsWebPixelUserErrorCode - { + [Description("Possible error codes that can be returned by `ErrorsWebPixelUserError`.")] + public enum ErrorsWebPixelUserErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The provided settings does not match the expected settings definition on the app. /// - [Description("The provided settings does not match the expected settings definition on the app.")] - INVALID_SETTINGS, + [Description("The provided settings does not match the expected settings definition on the app.")] + INVALID_SETTINGS, /// ///An error occurred and the web pixel couldnt be deleted. /// - [Description("An error occurred and the web pixel couldnt be deleted.")] - [Obsolete("`UNABLE_TO_DELETE` is deprecated. Use `UNEXPECTED_ERROR` instead.")] - UNABLE_TO_DELETE, + [Description("An error occurred and the web pixel couldnt be deleted.")] + [Obsolete("`UNABLE_TO_DELETE` is deprecated. Use `UNEXPECTED_ERROR` instead.")] + UNABLE_TO_DELETE, /// ///No extension found. /// - [Description("No extension found.")] - NO_EXTENSION, + [Description("No extension found.")] + NO_EXTENSION, /// ///The provided settings is not a valid JSON. /// - [Description("The provided settings is not a valid JSON.")] - INVALID_CONFIGURATION_JSON, + [Description("The provided settings is not a valid JSON.")] + INVALID_CONFIGURATION_JSON, /// ///The settings definition of the web pixel extension is in an invalid state on the app. /// - [Description("The settings definition of the web pixel extension is in an invalid state on the app.")] - INVALID_SETTINGS_DEFINITION, + [Description("The settings definition of the web pixel extension is in an invalid state on the app.")] + INVALID_SETTINGS_DEFINITION, /// ///An unexpected error occurred. /// - [Description("An unexpected error occurred.")] - UNEXPECTED_ERROR, + [Description("An unexpected error occurred.")] + UNEXPECTED_ERROR, /// ///The provided runtime context is invalid. /// - [Description("The provided runtime context is invalid.")] - INVALID_RUNTIME_CONTEXT, - } - - public static class ErrorsWebPixelUserErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string TAKEN = @"TAKEN"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string INVALID_SETTINGS = @"INVALID_SETTINGS"; - [Obsolete("`UNABLE_TO_DELETE` is deprecated. Use `UNEXPECTED_ERROR` instead.")] - public const string UNABLE_TO_DELETE = @"UNABLE_TO_DELETE"; - public const string NO_EXTENSION = @"NO_EXTENSION"; - public const string INVALID_CONFIGURATION_JSON = @"INVALID_CONFIGURATION_JSON"; - public const string INVALID_SETTINGS_DEFINITION = @"INVALID_SETTINGS_DEFINITION"; - public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; - public const string INVALID_RUNTIME_CONTEXT = @"INVALID_RUNTIME_CONTEXT"; - } - + [Description("The provided runtime context is invalid.")] + INVALID_RUNTIME_CONTEXT, + } + + public static class ErrorsWebPixelUserErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string TAKEN = @"TAKEN"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string INVALID_SETTINGS = @"INVALID_SETTINGS"; + [Obsolete("`UNABLE_TO_DELETE` is deprecated. Use `UNEXPECTED_ERROR` instead.")] + public const string UNABLE_TO_DELETE = @"UNABLE_TO_DELETE"; + public const string NO_EXTENSION = @"NO_EXTENSION"; + public const string INVALID_CONFIGURATION_JSON = @"INVALID_CONFIGURATION_JSON"; + public const string INVALID_SETTINGS_DEFINITION = @"INVALID_SETTINGS_DEFINITION"; + public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; + public const string INVALID_RUNTIME_CONTEXT = @"INVALID_RUNTIME_CONTEXT"; + } + /// ///Events chronicle resource activities such as the creation of an article, the fulfillment of an order, or the ///addition of a product. /// - [Description("Events chronicle resource activities such as the creation of an article, the fulfillment of an order, or the\naddition of a product.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(BasicEvent), typeDiscriminator: "BasicEvent")] - [JsonDerivedType(typeof(CommentEvent), typeDiscriminator: "CommentEvent")] - public interface IEvent : IGraphQLObject - { - public BasicEvent? AsBasicEvent() => this as BasicEvent; - public CommentEvent? AsCommentEvent() => this as CommentEvent; + [Description("Events chronicle resource activities such as the creation of an article, the fulfillment of an order, or the\naddition of a product.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(BasicEvent), typeDiscriminator: "BasicEvent")] + [JsonDerivedType(typeof(CommentEvent), typeDiscriminator: "CommentEvent")] + public interface IEvent : IGraphQLObject + { + public BasicEvent? AsBasicEvent() => this as BasicEvent; + public CommentEvent? AsCommentEvent() => this as CommentEvent; /// ///The action that occured. /// - [Description("The action that occured.")] - [NonNull] - public string? action { get; } - + [Description("The action that occured.")] + [NonNull] + public string? action { get; } + /// ///The name of the app that created the event. /// - [Description("The name of the app that created the event.")] - public string? appTitle { get; } - + [Description("The name of the app that created the event.")] + public string? appTitle { get; } + /// ///Whether the event was created by an app. /// - [Description("Whether the event was created by an app.")] - [NonNull] - public bool? attributeToApp { get; } - + [Description("Whether the event was created by an app.")] + [NonNull] + public bool? attributeToApp { get; } + /// ///Whether the event was caused by an admin user. /// - [Description("Whether the event was caused by an admin user.")] - [NonNull] - public bool? attributeToUser { get; } - + [Description("Whether the event was caused by an admin user.")] + [NonNull] + public bool? attributeToUser { get; } + /// ///The date and time when the event was created. /// - [Description("The date and time when the event was created.")] - [NonNull] - public DateTime? createdAt { get; } - + [Description("The date and time when the event was created.")] + [NonNull] + public DateTime? createdAt { get; } + /// ///Whether the event is critical. /// - [Description("Whether the event is critical.")] - [NonNull] - public bool? criticalAlert { get; } - + [Description("Whether the event is critical.")] + [NonNull] + public bool? criticalAlert { get; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + /// ///Human readable text that describes the event. /// - [Description("Human readable text that describes the event.")] - [NonNull] - public string? message { get; } - } - + [Description("Human readable text that describes the event.")] + [NonNull] + public string? message { get; } + } + /// ///Return type for `eventBridgeServerPixelUpdate` mutation. /// - [Description("Return type for `eventBridgeServerPixelUpdate` mutation.")] - public class EventBridgeServerPixelUpdatePayload : GraphQLObject - { + [Description("Return type for `eventBridgeServerPixelUpdate` mutation.")] + public class EventBridgeServerPixelUpdatePayload : GraphQLObject + { /// ///The server pixel as configured by the mutation. /// - [Description("The server pixel as configured by the mutation.")] - public ServerPixel? serverPixel { get; set; } - + [Description("The server pixel as configured by the mutation.")] + public ServerPixel? serverPixel { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `eventBridgeWebhookSubscriptionCreate` mutation. /// - [Description("Return type for `eventBridgeWebhookSubscriptionCreate` mutation.")] - public class EventBridgeWebhookSubscriptionCreatePayload : GraphQLObject - { + [Description("Return type for `eventBridgeWebhookSubscriptionCreate` mutation.")] + public class EventBridgeWebhookSubscriptionCreatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + /// ///The webhook subscription that was created. /// - [Description("The webhook subscription that was created.")] - public WebhookSubscription? webhookSubscription { get; set; } - } - + [Description("The webhook subscription that was created.")] + public WebhookSubscription? webhookSubscription { get; set; } + } + /// ///The input fields for an EventBridge webhook subscription. /// - [Description("The input fields for an EventBridge webhook subscription.")] - public class EventBridgeWebhookSubscriptionInput : GraphQLObject - { + [Description("The input fields for an EventBridge webhook subscription.")] + public class EventBridgeWebhookSubscriptionInput : GraphQLObject + { /// ///The format in which the webhook subscription should send the data. /// - [Description("The format in which the webhook subscription should send the data.")] - [EnumType(typeof(WebhookSubscriptionFormat))] - public string? format { get; set; } - + [Description("The format in which the webhook subscription should send the data.")] + [EnumType(typeof(WebhookSubscriptionFormat))] + public string? format { get; set; } + /// ///The list of fields to be included in the webhook subscription. Only the fields specified will be included in the webhook payload. If null, then all fields will be included. Learn more about [modifying webhook payloads](https://shopify.dev/docs/apps/build/webhooks/customize/modify_payloads). /// - [Description("The list of fields to be included in the webhook subscription. Only the fields specified will be included in the webhook payload. If null, then all fields will be included. Learn more about [modifying webhook payloads](https://shopify.dev/docs/apps/build/webhooks/customize/modify_payloads).")] - public IEnumerable? includeFields { get; set; } - + [Description("The list of fields to be included in the webhook subscription. Only the fields specified will be included in the webhook payload. If null, then all fields will be included. Learn more about [modifying webhook payloads](https://shopify.dev/docs/apps/build/webhooks/customize/modify_payloads).")] + public IEnumerable? includeFields { get; set; } + /// ///A constraint specified using search syntax that ensures only webhooks that match the specified filter are emitted. See our [guide on filters](https://shopify.dev/docs/apps/build/webhooks/customize/filters) for more details. /// - [Description("A constraint specified using search syntax that ensures only webhooks that match the specified filter are emitted. See our [guide on filters](https://shopify.dev/docs/apps/build/webhooks/customize/filters) for more details.")] - public string? filter { get; set; } - + [Description("A constraint specified using search syntax that ensures only webhooks that match the specified filter are emitted. See our [guide on filters](https://shopify.dev/docs/apps/build/webhooks/customize/filters) for more details.")] + public string? filter { get; set; } + /// ///The list of namespaces for any metafields that should be included in the webhook subscription. /// - [Description("The list of namespaces for any metafields that should be included in the webhook subscription.")] - public IEnumerable? metafieldNamespaces { get; set; } - + [Description("The list of namespaces for any metafields that should be included in the webhook subscription.")] + public IEnumerable? metafieldNamespaces { get; set; } + /// ///A list of identifiers specifying metafields to include in the webhook payload. /// - [Description("A list of identifiers specifying metafields to include in the webhook payload.")] - public IEnumerable? metafields { get; set; } - + [Description("A list of identifiers specifying metafields to include in the webhook payload.")] + public IEnumerable? metafields { get; set; } + /// ///The ARN of the EventBridge partner event source. /// - [Description("The ARN of the EventBridge partner event source.")] - public string? arn { get; set; } - } - + [Description("The ARN of the EventBridge partner event source.")] + public string? arn { get; set; } + } + /// ///Return type for `eventBridgeWebhookSubscriptionUpdate` mutation. /// - [Description("Return type for `eventBridgeWebhookSubscriptionUpdate` mutation.")] - public class EventBridgeWebhookSubscriptionUpdatePayload : GraphQLObject - { + [Description("Return type for `eventBridgeWebhookSubscriptionUpdate` mutation.")] + public class EventBridgeWebhookSubscriptionUpdatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + /// ///The webhook subscription that was updated. /// - [Description("The webhook subscription that was updated.")] - public WebhookSubscription? webhookSubscription { get; set; } - } - + [Description("The webhook subscription that was updated.")] + public WebhookSubscription? webhookSubscription { get; set; } + } + /// ///An auto-generated type for paginating through multiple Events. /// - [Description("An auto-generated type for paginating through multiple Events.")] - public class EventConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Events.")] + public class EventConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in EventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in EventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in EventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one Event and a cursor during pagination. /// - [Description("An auto-generated type which holds one Event and a cursor during pagination.")] - public class EventEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Event and a cursor during pagination.")] + public class EventEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of EventEdge. /// - [Description("The item at the end of EventEdge.")] - [NonNull] - public IEvent? node { get; set; } - } - + [Description("The item at the end of EventEdge.")] + [NonNull] + public IEvent? node { get; set; } + } + /// ///The set of valid sort keys for the Event query. /// - [Description("The set of valid sort keys for the Event query.")] - public enum EventSortKeys - { + [Description("The set of valid sort keys for the Event query.")] + public enum EventSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class EventSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class EventSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///The type of the resource that generated the event. /// - [Description("The type of the resource that generated the event.")] - public enum EventSubjectType - { + [Description("The type of the resource that generated the event.")] + public enum EventSubjectType + { /// ///A CompanyLocation resource generated the event. /// - [Description("A CompanyLocation resource generated the event.")] - COMPANY_LOCATION, + [Description("A CompanyLocation resource generated the event.")] + COMPANY_LOCATION, /// ///A Company resource generated the event. /// - [Description("A Company resource generated the event.")] - COMPANY, + [Description("A Company resource generated the event.")] + COMPANY, /// ///A Customer resource generated the event. /// - [Description("A Customer resource generated the event.")] - CUSTOMER, + [Description("A Customer resource generated the event.")] + CUSTOMER, /// ///A DraftOrder resource generated the event. /// - [Description("A DraftOrder resource generated the event.")] - DRAFT_ORDER, + [Description("A DraftOrder resource generated the event.")] + DRAFT_ORDER, /// ///A InventoryTransfer resource generated the event. /// - [Description("A InventoryTransfer resource generated the event.")] - INVENTORY_TRANSFER, + [Description("A InventoryTransfer resource generated the event.")] + INVENTORY_TRANSFER, /// ///A Collection resource generated the event. /// - [Description("A Collection resource generated the event.")] - COLLECTION, + [Description("A Collection resource generated the event.")] + COLLECTION, /// ///A Product resource generated the event. /// - [Description("A Product resource generated the event.")] - PRODUCT, + [Description("A Product resource generated the event.")] + PRODUCT, /// ///A ProductVariant resource generated the event. /// - [Description("A ProductVariant resource generated the event.")] - PRODUCT_VARIANT, + [Description("A ProductVariant resource generated the event.")] + PRODUCT_VARIANT, /// ///A Article resource generated the event. /// - [Description("A Article resource generated the event.")] - ARTICLE, + [Description("A Article resource generated the event.")] + ARTICLE, /// ///A Blog resource generated the event. /// - [Description("A Blog resource generated the event.")] - BLOG, + [Description("A Blog resource generated the event.")] + BLOG, /// ///A Comment resource generated the event. /// - [Description("A Comment resource generated the event.")] - COMMENT, + [Description("A Comment resource generated the event.")] + COMMENT, /// ///A Page resource generated the event. /// - [Description("A Page resource generated the event.")] - PAGE, + [Description("A Page resource generated the event.")] + PAGE, /// ///A DiscountAutomaticBxgy resource generated the event. /// - [Description("A DiscountAutomaticBxgy resource generated the event.")] - DISCOUNT_AUTOMATIC_BXGY, + [Description("A DiscountAutomaticBxgy resource generated the event.")] + DISCOUNT_AUTOMATIC_BXGY, /// ///A DiscountAutomaticNode resource generated the event. /// - [Description("A DiscountAutomaticNode resource generated the event.")] - DISCOUNT_AUTOMATIC_NODE, + [Description("A DiscountAutomaticNode resource generated the event.")] + DISCOUNT_AUTOMATIC_NODE, /// ///A DiscountCodeNode resource generated the event. /// - [Description("A DiscountCodeNode resource generated the event.")] - DISCOUNT_CODE_NODE, + [Description("A DiscountCodeNode resource generated the event.")] + DISCOUNT_CODE_NODE, /// ///A DiscountNode resource generated the event. /// - [Description("A DiscountNode resource generated the event.")] - DISCOUNT_NODE, + [Description("A DiscountNode resource generated the event.")] + DISCOUNT_NODE, /// ///A PriceRule resource generated the event. /// - [Description("A PriceRule resource generated the event.")] - PRICE_RULE, + [Description("A PriceRule resource generated the event.")] + PRICE_RULE, /// ///A Order resource generated the event. /// - [Description("A Order resource generated the event.")] - ORDER, + [Description("A Order resource generated the event.")] + ORDER, /// ///Subject type is not available. This usually means that the subject isn't available in the current /// version of the API, using a newer API version may resolve this. /// - [Description("Subject type is not available. This usually means that the subject isn't available in the current\n version of the API, using a newer API version may resolve this.")] - UNKNOWN, - } - - public static class EventSubjectTypeStringValues - { - public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; - public const string COMPANY = @"COMPANY"; - public const string CUSTOMER = @"CUSTOMER"; - public const string DRAFT_ORDER = @"DRAFT_ORDER"; - public const string INVENTORY_TRANSFER = @"INVENTORY_TRANSFER"; - public const string COLLECTION = @"COLLECTION"; - public const string PRODUCT = @"PRODUCT"; - public const string PRODUCT_VARIANT = @"PRODUCT_VARIANT"; - public const string ARTICLE = @"ARTICLE"; - public const string BLOG = @"BLOG"; - public const string COMMENT = @"COMMENT"; - public const string PAGE = @"PAGE"; - public const string DISCOUNT_AUTOMATIC_BXGY = @"DISCOUNT_AUTOMATIC_BXGY"; - public const string DISCOUNT_AUTOMATIC_NODE = @"DISCOUNT_AUTOMATIC_NODE"; - public const string DISCOUNT_CODE_NODE = @"DISCOUNT_CODE_NODE"; - public const string DISCOUNT_NODE = @"DISCOUNT_NODE"; - public const string PRICE_RULE = @"PRICE_RULE"; - public const string ORDER = @"ORDER"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("Subject type is not available. This usually means that the subject isn't available in the current\n version of the API, using a newer API version may resolve this.")] + UNKNOWN, + } + + public static class EventSubjectTypeStringValues + { + public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; + public const string COMPANY = @"COMPANY"; + public const string CUSTOMER = @"CUSTOMER"; + public const string DRAFT_ORDER = @"DRAFT_ORDER"; + public const string INVENTORY_TRANSFER = @"INVENTORY_TRANSFER"; + public const string COLLECTION = @"COLLECTION"; + public const string PRODUCT = @"PRODUCT"; + public const string PRODUCT_VARIANT = @"PRODUCT_VARIANT"; + public const string ARTICLE = @"ARTICLE"; + public const string BLOG = @"BLOG"; + public const string COMMENT = @"COMMENT"; + public const string PAGE = @"PAGE"; + public const string DISCOUNT_AUTOMATIC_BXGY = @"DISCOUNT_AUTOMATIC_BXGY"; + public const string DISCOUNT_AUTOMATIC_NODE = @"DISCOUNT_AUTOMATIC_NODE"; + public const string DISCOUNT_CODE_NODE = @"DISCOUNT_CODE_NODE"; + public const string DISCOUNT_NODE = @"DISCOUNT_NODE"; + public const string PRICE_RULE = @"PRICE_RULE"; + public const string ORDER = @"ORDER"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///An item for exchange. /// - [Description("An item for exchange.")] - public class ExchangeLineItem : GraphQLObject, INode - { + [Description("An item for exchange.")] + public class ExchangeLineItem : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The order line item for the exchange. If the exchange line has been processed multiple times, this will be the first associated line item and won't reflect all processed values. /// - [Description("The order line item for the exchange. If the exchange line has been processed multiple times, this will be the first associated line item and won't reflect all processed values.")] - [Obsolete("Use `lineItems` instead.")] - public LineItem? lineItem { get; set; } - + [Description("The order line item for the exchange. If the exchange line has been processed multiple times, this will be the first associated line item and won't reflect all processed values.")] + [Obsolete("Use `lineItems` instead.")] + public LineItem? lineItem { get; set; } + /// ///The order line items for the exchange. /// - [Description("The order line items for the exchange.")] - public IEnumerable? lineItems { get; set; } - + [Description("The order line items for the exchange.")] + public IEnumerable? lineItems { get; set; } + /// ///The quantity of the exchange item that can be processed. /// - [Description("The quantity of the exchange item that can be processed.")] - [NonNull] - public int? processableQuantity { get; set; } - + [Description("The quantity of the exchange item that can be processed.")] + [NonNull] + public int? processableQuantity { get; set; } + /// ///The quantity of the exchange item that have been processed. /// - [Description("The quantity of the exchange item that have been processed.")] - [NonNull] - public int? processedQuantity { get; set; } - + [Description("The quantity of the exchange item that have been processed.")] + [NonNull] + public int? processedQuantity { get; set; } + /// ///The number of units ordered, including refunded and removed units. /// - [Description("The number of units ordered, including refunded and removed units.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The number of units ordered, including refunded and removed units.")] + [NonNull] + public int? quantity { get; set; } + /// ///The quantity of the exchange item that haven't been processed. /// - [Description("The quantity of the exchange item that haven't been processed.")] - [NonNull] - public int? unprocessedQuantity { get; set; } - + [Description("The quantity of the exchange item that haven't been processed.")] + [NonNull] + public int? unprocessedQuantity { get; set; } + /// ///The ID of the variant at time of return creation. /// - [Description("The ID of the variant at time of return creation.")] - public string? variantId { get; set; } - } - + [Description("The ID of the variant at time of return creation.")] + public string? variantId { get; set; } + } + /// ///The input fields for an applied discount on a calculated exchange line item. /// - [Description("The input fields for an applied discount on a calculated exchange line item.")] - public class ExchangeLineItemAppliedDiscountInput : GraphQLObject - { + [Description("The input fields for an applied discount on a calculated exchange line item.")] + public class ExchangeLineItemAppliedDiscountInput : GraphQLObject + { /// ///The description of the discount. /// - [Description("The description of the discount.")] - public string? description { get; set; } - + [Description("The description of the discount.")] + public string? description { get; set; } + /// ///The value of the discount as a fixed amount or a percentage. /// - [Description("The value of the discount as a fixed amount or a percentage.")] - [NonNull] - public ExchangeLineItemAppliedDiscountValueInput? value { get; set; } - } - + [Description("The value of the discount as a fixed amount or a percentage.")] + [NonNull] + public ExchangeLineItemAppliedDiscountValueInput? value { get; set; } + } + /// ///The input value for an applied discount on a calculated exchange line item. ///Can either specify the value as a fixed amount or a percentage. /// - [Description("The input value for an applied discount on a calculated exchange line item.\nCan either specify the value as a fixed amount or a percentage.")] - public class ExchangeLineItemAppliedDiscountValueInput : GraphQLObject - { + [Description("The input value for an applied discount on a calculated exchange line item.\nCan either specify the value as a fixed amount or a percentage.")] + public class ExchangeLineItemAppliedDiscountValueInput : GraphQLObject + { /// ///The value of the discount as a fixed amount. /// - [Description("The value of the discount as a fixed amount.")] - public MoneyInput? amount { get; set; } - + [Description("The value of the discount as a fixed amount.")] + public MoneyInput? amount { get; set; } + /// ///The value of the discount as a percentage. /// - [Description("The value of the discount as a percentage.")] - public decimal? percentage { get; set; } - } - + [Description("The value of the discount as a percentage.")] + public decimal? percentage { get; set; } + } + /// ///An auto-generated type for paginating through multiple ExchangeLineItems. /// - [Description("An auto-generated type for paginating through multiple ExchangeLineItems.")] - public class ExchangeLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ExchangeLineItems.")] + public class ExchangeLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ExchangeLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ExchangeLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ExchangeLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ExchangeLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one ExchangeLineItem and a cursor during pagination.")] - public class ExchangeLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ExchangeLineItem and a cursor during pagination.")] + public class ExchangeLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ExchangeLineItemEdge. /// - [Description("The item at the end of ExchangeLineItemEdge.")] - [NonNull] - public ExchangeLineItem? node { get; set; } - } - + [Description("The item at the end of ExchangeLineItemEdge.")] + [NonNull] + public ExchangeLineItem? node { get; set; } + } + /// ///The input fields for new line items to be added to the order as part of an exchange. /// - [Description("The input fields for new line items to be added to the order as part of an exchange.")] - public class ExchangeLineItemInput : GraphQLObject - { + [Description("The input fields for new line items to be added to the order as part of an exchange.")] + public class ExchangeLineItemInput : GraphQLObject + { /// ///The gift card codes associated with the physical gift cards. /// - [Description("The gift card codes associated with the physical gift cards.")] - public IEnumerable? giftCardCodes { get; set; } - + [Description("The gift card codes associated with the physical gift cards.")] + public IEnumerable? giftCardCodes { get; set; } + /// ///The ID of the product variant to be added to the order as part of an exchange. /// - [Description("The ID of the product variant to be added to the order as part of an exchange.")] - public string? variantId { get; set; } - + [Description("The ID of the product variant to be added to the order as part of an exchange.")] + public string? variantId { get; set; } + /// ///The quantity of the item to be added. /// - [Description("The quantity of the item to be added.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the item to be added.")] + [NonNull] + public int? quantity { get; set; } + /// ///The discount to be applied to the exchange line item. /// - [Description("The discount to be applied to the exchange line item.")] - public ExchangeLineItemAppliedDiscountInput? appliedDiscount { get; set; } - } - + [Description("The discount to be applied to the exchange line item.")] + public ExchangeLineItemAppliedDiscountInput? appliedDiscount { get; set; } + } + /// ///The input fields for removing an exchange line item from a return. /// - [Description("The input fields for removing an exchange line item from a return.")] - public class ExchangeLineItemRemoveFromReturnInput : GraphQLObject - { + [Description("The input fields for removing an exchange line item from a return.")] + public class ExchangeLineItemRemoveFromReturnInput : GraphQLObject + { /// ///The ID of the exchange line item to remove. /// - [Description("The ID of the exchange line item to remove.")] - [NonNull] - public string? exchangeLineItemId { get; set; } - + [Description("The ID of the exchange line item to remove.")] + [NonNull] + public string? exchangeLineItemId { get; set; } + /// ///The quantity of the associated exchange line item to be removed. /// - [Description("The quantity of the associated exchange line item to be removed.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the associated exchange line item to be removed.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///An exchange where existing items on an order are returned and new items are added to the order. /// - [Description("An exchange where existing items on an order are returned and new items are added to the order.")] - public class ExchangeV2 : GraphQLObject, INode - { + [Description("An exchange where existing items on an order are returned and new items are added to the order.")] + public class ExchangeV2 : GraphQLObject, INode + { /// ///The details of the new items in the exchange. /// - [Description("The details of the new items in the exchange.")] - [NonNull] - public ExchangeV2Additions? additions { get; set; } - + [Description("The details of the new items in the exchange.")] + [NonNull] + public ExchangeV2Additions? additions { get; set; } + /// ///The date and time when the exchange was completed. /// - [Description("The date and time when the exchange was completed.")] - public DateTime? completedAt { get; set; } - + [Description("The date and time when the exchange was completed.")] + public DateTime? completedAt { get; set; } + /// ///The date and time when the exchange was created. /// - [Description("The date and time when the exchange was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the exchange was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The location where the exchange happened. /// - [Description("The location where the exchange happened.")] - public Location? location { get; set; } - + [Description("The location where the exchange happened.")] + public Location? location { get; set; } + /// ///Mirrored from Admin Exchanges. /// - [Description("Mirrored from Admin Exchanges.")] - [NonNull] - public bool? mirrored { get; set; } - + [Description("Mirrored from Admin Exchanges.")] + [NonNull] + public bool? mirrored { get; set; } + /// ///The text of an optional note that a shop owner can attach to the exchange. /// - [Description("The text of an optional note that a shop owner can attach to the exchange.")] - public string? note { get; set; } - + [Description("The text of an optional note that a shop owner can attach to the exchange.")] + public string? note { get; set; } + /// ///The refunds processed during the exchange. /// - [Description("The refunds processed during the exchange.")] - [NonNull] - public IEnumerable? refunds { get; set; } - + [Description("The refunds processed during the exchange.")] + [NonNull] + public IEnumerable? refunds { get; set; } + /// ///The details of the returned items in the exchange. /// - [Description("The details of the returned items in the exchange.")] - [NonNull] - public ExchangeV2Returns? returns { get; set; } - + [Description("The details of the returned items in the exchange.")] + [NonNull] + public ExchangeV2Returns? returns { get; set; } + /// ///The staff member associated with the exchange. /// - [Description("The staff member associated with the exchange.")] - public StaffMember? staffMember { get; set; } - + [Description("The staff member associated with the exchange.")] + public StaffMember? staffMember { get; set; } + /// ///The amount of money that was paid or refunded as part of the exchange. /// - [Description("The amount of money that was paid or refunded as part of the exchange.")] - [NonNull] - public MoneyBag? totalAmountProcessedSet { get; set; } - + [Description("The amount of money that was paid or refunded as part of the exchange.")] + [NonNull] + public MoneyBag? totalAmountProcessedSet { get; set; } + /// ///The difference in values of the items that were exchanged. /// - [Description("The difference in values of the items that were exchanged.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - + [Description("The difference in values of the items that were exchanged.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + /// ///The order transactions related to the exchange. /// - [Description("The order transactions related to the exchange.")] - [NonNull] - public IEnumerable? transactions { get; set; } - } - + [Description("The order transactions related to the exchange.")] + [NonNull] + public IEnumerable? transactions { get; set; } + } + /// ///New items associated to the exchange. /// - [Description("New items associated to the exchange.")] - public class ExchangeV2Additions : GraphQLObject - { + [Description("New items associated to the exchange.")] + public class ExchangeV2Additions : GraphQLObject + { /// ///The list of new items for the exchange. /// - [Description("The list of new items for the exchange.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The list of new items for the exchange.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///The subtotal of the items being added, including discounts. /// - [Description("The subtotal of the items being added, including discounts.")] - [NonNull] - public MoneyBag? subtotalPriceSet { get; set; } - + [Description("The subtotal of the items being added, including discounts.")] + [NonNull] + public MoneyBag? subtotalPriceSet { get; set; } + /// ///The summary of all taxes of the items being added. /// - [Description("The summary of all taxes of the items being added.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("The summary of all taxes of the items being added.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///The total price of the items being added, including discounts and taxes. /// - [Description("The total price of the items being added, including discounts and taxes.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - } - + [Description("The total price of the items being added, including discounts and taxes.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + } + /// ///An auto-generated type for paginating through multiple ExchangeV2s. /// - [Description("An auto-generated type for paginating through multiple ExchangeV2s.")] - public class ExchangeV2Connection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ExchangeV2s.")] + public class ExchangeV2Connection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ExchangeV2Edge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ExchangeV2Edge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ExchangeV2Edge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ExchangeV2 and a cursor during pagination. /// - [Description("An auto-generated type which holds one ExchangeV2 and a cursor during pagination.")] - public class ExchangeV2Edge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ExchangeV2 and a cursor during pagination.")] + public class ExchangeV2Edge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ExchangeV2Edge. /// - [Description("The item at the end of ExchangeV2Edge.")] - [NonNull] - public ExchangeV2? node { get; set; } - } - + [Description("The item at the end of ExchangeV2Edge.")] + [NonNull] + public ExchangeV2? node { get; set; } + } + /// ///Contains information about an item in the exchange. /// - [Description("Contains information about an item in the exchange.")] - public class ExchangeV2LineItem : GraphQLObject - { + [Description("Contains information about an item in the exchange.")] + public class ExchangeV2LineItem : GraphQLObject + { /// ///A list of attributes that represent custom features or special requests. /// - [Description("A list of attributes that represent custom features or special requests.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of attributes that represent custom features or special requests.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The total line price, in shop and presentment currencies, after discounts are applied. /// - [Description("The total line price, in shop and presentment currencies, after discounts are applied.")] - [NonNull] - public MoneyBag? discountedTotalSet { get; set; } - + [Description("The total line price, in shop and presentment currencies, after discounts are applied.")] + [NonNull] + public MoneyBag? discountedTotalSet { get; set; } + /// ///The price, in shop and presentment currencies, ///of a single variant unit after line item discounts are applied. /// - [Description("The price, in shop and presentment currencies,\nof a single variant unit after line item discounts are applied.")] - [NonNull] - public MoneyBag? discountedUnitPriceSet { get; set; } - + [Description("The price, in shop and presentment currencies,\nof a single variant unit after line item discounts are applied.")] + [NonNull] + public MoneyBag? discountedUnitPriceSet { get; set; } + /// ///Name of the service provider who fulfilled the order. /// @@ -43286,1609 +43286,1609 @@ public class ExchangeV2LineItem : GraphQLObject /// ///Deleted fulfillment services will return null. /// - [Description("Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("Name of the service provider who fulfilled the order.\n\nValid values are either **manual** or the name of the provider.\nFor example, **amazon**, **shipwire**.\n\nDeleted fulfillment services will return null.")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///Indiciates if this line item is a gift card. /// - [Description("Indiciates if this line item is a gift card.")] - [NonNull] - public bool? giftCard { get; set; } - + [Description("Indiciates if this line item is a gift card.")] + [NonNull] + public bool? giftCard { get; set; } + /// ///The gift cards associated with the line item. /// - [Description("The gift cards associated with the line item.")] - [NonNull] - public IEnumerable? giftCards { get; set; } - + [Description("The gift cards associated with the line item.")] + [NonNull] + public IEnumerable? giftCards { get; set; } + /// ///Whether the line item represents the purchase of a gift card. /// - [Description("Whether the line item represents the purchase of a gift card.")] - [NonNull] - public bool? isGiftCard { get; set; } - + [Description("Whether the line item represents the purchase of a gift card.")] + [NonNull] + public bool? isGiftCard { get; set; } + /// ///The line item associated with this object. /// - [Description("The line item associated with this object.")] - public LineItem? lineItem { get; set; } - + [Description("The line item associated with this object.")] + public LineItem? lineItem { get; set; } + /// ///The name of the product. /// - [Description("The name of the product.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the product.")] + [NonNull] + public string? name { get; set; } + /// ///The total price, in shop and presentment currencies, before discounts are applied. /// - [Description("The total price, in shop and presentment currencies, before discounts are applied.")] - [NonNull] - public MoneyBag? originalTotalSet { get; set; } - + [Description("The total price, in shop and presentment currencies, before discounts are applied.")] + [NonNull] + public MoneyBag? originalTotalSet { get; set; } + /// ///The price, in shop and presentment currencies, ///of a single variant unit before line item discounts are applied. /// - [Description("The price, in shop and presentment currencies,\nof a single variant unit before line item discounts are applied.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("The price, in shop and presentment currencies,\nof a single variant unit before line item discounts are applied.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The number of products that were purchased. /// - [Description("The number of products that were purchased.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The number of products that were purchased.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether physical shipping is required for the variant. /// - [Description("Whether physical shipping is required for the variant.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether physical shipping is required for the variant.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///The SKU number of the product variant. /// - [Description("The SKU number of the product variant.")] - public string? sku { get; set; } - + [Description("The SKU number of the product variant.")] + public string? sku { get; set; } + /// ///The TaxLine object connected to this line item. /// - [Description("The TaxLine object connected to this line item.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("The TaxLine object connected to this line item.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Whether the variant is taxable. /// - [Description("Whether the variant is taxable.")] - [NonNull] - public bool? taxable { get; set; } - + [Description("Whether the variant is taxable.")] + [NonNull] + public bool? taxable { get; set; } + /// ///The title of the product or variant. This field only applies to custom line items. /// - [Description("The title of the product or variant. This field only applies to custom line items.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product or variant. This field only applies to custom line items.")] + [NonNull] + public string? title { get; set; } + /// ///The product variant of the line item. /// - [Description("The product variant of the line item.")] - public ProductVariant? variant { get; set; } - + [Description("The product variant of the line item.")] + public ProductVariant? variant { get; set; } + /// ///The name of the variant. /// - [Description("The name of the variant.")] - public string? variantTitle { get; set; } - + [Description("The name of the variant.")] + public string? variantTitle { get; set; } + /// ///The name of the vendor who created the product variant. /// - [Description("The name of the vendor who created the product variant.")] - public string? vendor { get; set; } - } - + [Description("The name of the vendor who created the product variant.")] + public string? vendor { get; set; } + } + /// ///Return items associated to the exchange. /// - [Description("Return items associated to the exchange.")] - public class ExchangeV2Returns : GraphQLObject - { + [Description("Return items associated to the exchange.")] + public class ExchangeV2Returns : GraphQLObject + { /// ///The list of return items for the exchange. /// - [Description("The list of return items for the exchange.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The list of return items for the exchange.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///The amount of the order-level discount for the items and shipping being returned, which doesn't contain any line item discounts. /// - [Description("The amount of the order-level discount for the items and shipping being returned, which doesn't contain any line item discounts.")] - [NonNull] - public MoneyBag? orderDiscountAmountSet { get; set; } - + [Description("The amount of the order-level discount for the items and shipping being returned, which doesn't contain any line item discounts.")] + [NonNull] + public MoneyBag? orderDiscountAmountSet { get; set; } + /// ///The amount of money to be refunded for shipping. /// - [Description("The amount of money to be refunded for shipping.")] - [NonNull] - public MoneyBag? shippingRefundAmountSet { get; set; } - + [Description("The amount of money to be refunded for shipping.")] + [NonNull] + public MoneyBag? shippingRefundAmountSet { get; set; } + /// ///The subtotal of the items being returned. /// - [Description("The subtotal of the items being returned.")] - [NonNull] - public MoneyBag? subtotalPriceSet { get; set; } - + [Description("The subtotal of the items being returned.")] + [NonNull] + public MoneyBag? subtotalPriceSet { get; set; } + /// ///The summary of all taxes of the items being returned. /// - [Description("The summary of all taxes of the items being returned.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("The summary of all taxes of the items being returned.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///The amount of money to be refunded for tip. /// - [Description("The amount of money to be refunded for tip.")] - [NonNull] - public MoneyBag? tipRefundAmountSet { get; set; } - + [Description("The amount of money to be refunded for tip.")] + [NonNull] + public MoneyBag? tipRefundAmountSet { get; set; } + /// ///The total value of the items being returned. /// - [Description("The total value of the items being returned.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - } - + [Description("The total value of the items being returned.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + } + /// ///Represents a video hosted outside of Shopify. /// - [Description("Represents a video hosted outside of Shopify.")] - public class ExternalVideo : GraphQLObject, IFile, IMedia, INode - { + [Description("Represents a video hosted outside of Shopify.")] + public class ExternalVideo : GraphQLObject, IFile, IMedia, INode + { /// ///A word or phrase to describe the contents or the function of a file. /// - [Description("A word or phrase to describe the contents or the function of a file.")] - public string? alt { get; set; } - + [Description("A word or phrase to describe the contents or the function of a file.")] + public string? alt { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The embed URL of the video for the respective host. /// - [Description("The embed URL of the video for the respective host.")] - [NonNull] - public string? embedUrl { get; set; } - + [Description("The embed URL of the video for the respective host.")] + [NonNull] + public string? embedUrl { get; set; } + /// ///The URL. /// - [Description("The URL.")] - [Obsolete("Use `originUrl` instead.")] - [NonNull] - public string? embeddedUrl { get; set; } - + [Description("The URL.")] + [Obsolete("Use `originUrl` instead.")] + [NonNull] + public string? embeddedUrl { get; set; } + /// ///Any errors that have occurred on the file. /// - [Description("Any errors that have occurred on the file.")] - [NonNull] - public IEnumerable? fileErrors { get; set; } - + [Description("Any errors that have occurred on the file.")] + [NonNull] + public IEnumerable? fileErrors { get; set; } + /// ///The status of the file. /// - [Description("The status of the file.")] - [NonNull] - [EnumType(typeof(FileStatus))] - public string? fileStatus { get; set; } - + [Description("The status of the file.")] + [NonNull] + [EnumType(typeof(FileStatus))] + public string? fileStatus { get; set; } + /// ///The host of the external video. /// - [Description("The host of the external video.")] - [NonNull] - [EnumType(typeof(MediaHost))] - public string? host { get; set; } - + [Description("The host of the external video.")] + [NonNull] + [EnumType(typeof(MediaHost))] + public string? host { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The media content type. /// - [Description("The media content type.")] - [NonNull] - [EnumType(typeof(MediaContentType))] - public string? mediaContentType { get; set; } - + [Description("The media content type.")] + [NonNull] + [EnumType(typeof(MediaContentType))] + public string? mediaContentType { get; set; } + /// ///Any errors which have occurred on the media. /// - [Description("Any errors which have occurred on the media.")] - [NonNull] - public IEnumerable? mediaErrors { get; set; } - + [Description("Any errors which have occurred on the media.")] + [NonNull] + public IEnumerable? mediaErrors { get; set; } + /// ///The warnings attached to the media. /// - [Description("The warnings attached to the media.")] - [NonNull] - public IEnumerable? mediaWarnings { get; set; } - + [Description("The warnings attached to the media.")] + [NonNull] + public IEnumerable? mediaWarnings { get; set; } + /// ///The origin URL of the video on the respective host. /// - [Description("The origin URL of the video on the respective host.")] - [NonNull] - public string? originUrl { get; set; } - + [Description("The origin URL of the video on the respective host.")] + [NonNull] + public string? originUrl { get; set; } + /// ///The preview image for the media. /// - [Description("The preview image for the media.")] - public MediaPreviewImage? preview { get; set; } - + [Description("The preview image for the media.")] + public MediaPreviewImage? preview { get; set; } + /// ///Current status of the media. /// - [Description("Current status of the media.")] - [NonNull] - [EnumType(typeof(MediaStatus))] - public string? status { get; set; } - + [Description("Current status of the media.")] + [NonNull] + [EnumType(typeof(MediaStatus))] + public string? status { get; set; } + /// ///Status resulting from the latest update operation. See fileErrors for details. /// - [Description("Status resulting from the latest update operation. See fileErrors for details.")] - [EnumType(typeof(FileStatus))] - public string? updateStatus { get; set; } - + [Description("Status resulting from the latest update operation. See fileErrors for details.")] + [EnumType(typeof(FileStatus))] + public string? updateStatus { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Requirements that must be met before an app can be installed. /// - [Description("Requirements that must be met before an app can be installed.")] - public class FailedRequirement : GraphQLObject - { + [Description("Requirements that must be met before an app can be installed.")] + public class FailedRequirement : GraphQLObject + { /// ///Action to be taken to resolve a failed requirement, including URL link. /// - [Description("Action to be taken to resolve a failed requirement, including URL link.")] - public NavigationItem? action { get; set; } - + [Description("Action to be taken to resolve a failed requirement, including URL link.")] + public NavigationItem? action { get; set; } + /// ///A concise set of copy strings to be displayed to merchants, to guide them in resolving problems your app ///encounters when trying to make use of their Shop and its resources. /// - [Description("A concise set of copy strings to be displayed to merchants, to guide them in resolving problems your app\nencounters when trying to make use of their Shop and its resources.")] - [NonNull] - public string? message { get; set; } - } - + [Description("A concise set of copy strings to be displayed to merchants, to guide them in resolving problems your app\nencounters when trying to make use of their Shop and its resources.")] + [NonNull] + public string? message { get; set; } + } + /// ///A additional cost, charged by the merchant, on an order. Examples include return shipping fees and restocking fees. /// - [Description("A additional cost, charged by the merchant, on an order. Examples include return shipping fees and restocking fees.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(RestockingFee), typeDiscriminator: "RestockingFee")] - [JsonDerivedType(typeof(ReturnShippingFee), typeDiscriminator: "ReturnShippingFee")] - public interface IFee : IGraphQLObject - { - public RestockingFee? AsRestockingFee() => this as RestockingFee; - public ReturnShippingFee? AsReturnShippingFee() => this as ReturnShippingFee; + [Description("A additional cost, charged by the merchant, on an order. Examples include return shipping fees and restocking fees.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(RestockingFee), typeDiscriminator: "RestockingFee")] + [JsonDerivedType(typeof(ReturnShippingFee), typeDiscriminator: "ReturnShippingFee")] + public interface IFee : IGraphQLObject + { + public RestockingFee? AsRestockingFee() => this as RestockingFee; + public ReturnShippingFee? AsReturnShippingFee() => this as ReturnShippingFee; /// ///The unique ID for the Fee. /// - [Description("The unique ID for the Fee.")] - [NonNull] - public string? id { get; } - } - + [Description("The unique ID for the Fee.")] + [NonNull] + public string? id { get; } + } + /// ///A sale associated with a fee. /// - [Description("A sale associated with a fee.")] - public class FeeSale : GraphQLObject, ISale - { + [Description("A sale associated with a fee.")] + public class FeeSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The fee associated with the sale. It can be null if the fee was deleted. /// - [Description("The fee associated with the sale. It can be null if the fee was deleted.")] - public IFee? fee { get; set; } - + [Description("The fee associated with the sale. It can be null if the fee was deleted.")] + public IFee? fee { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///A file interface. /// - [Description("A file interface.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(ExternalVideo), typeDiscriminator: "ExternalVideo")] - [JsonDerivedType(typeof(GenericFile), typeDiscriminator: "GenericFile")] - [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] - [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] - [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] - public interface IFile : IGraphQLObject - { - public ExternalVideo? AsExternalVideo() => this as ExternalVideo; - public GenericFile? AsGenericFile() => this as GenericFile; - public MediaImage? AsMediaImage() => this as MediaImage; - public Model3d? AsModel3d() => this as Model3d; - public Video? AsVideo() => this as Video; + [Description("A file interface.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(ExternalVideo), typeDiscriminator: "ExternalVideo")] + [JsonDerivedType(typeof(GenericFile), typeDiscriminator: "GenericFile")] + [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] + [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] + [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] + public interface IFile : IGraphQLObject + { + public ExternalVideo? AsExternalVideo() => this as ExternalVideo; + public GenericFile? AsGenericFile() => this as GenericFile; + public MediaImage? AsMediaImage() => this as MediaImage; + public Model3d? AsModel3d() => this as Model3d; + public Video? AsVideo() => this as Video; /// ///A word or phrase to describe the contents or the function of a file. /// - [Description("A word or phrase to describe the contents or the function of a file.")] - public string? alt { get; } - + [Description("A word or phrase to describe the contents or the function of a file.")] + public string? alt { get; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] - [NonNull] - public DateTime? createdAt { get; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] + [NonNull] + public DateTime? createdAt { get; } + /// ///Any errors that have occurred on the file. /// - [Description("Any errors that have occurred on the file.")] - [NonNull] - public IEnumerable? fileErrors { get; } - + [Description("Any errors that have occurred on the file.")] + [NonNull] + public IEnumerable? fileErrors { get; } + /// ///The status of the file. /// - [Description("The status of the file.")] - [NonNull] - [EnumType(typeof(FileStatus))] - public string? fileStatus { get; } - + [Description("The status of the file.")] + [NonNull] + [EnumType(typeof(FileStatus))] + public string? fileStatus { get; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + /// ///The preview image for the media. /// - [Description("The preview image for the media.")] - public MediaPreviewImage? preview { get; } - + [Description("The preview image for the media.")] + public MediaPreviewImage? preview { get; } + /// ///Status resulting from the latest update operation. See fileErrors for details. /// - [Description("Status resulting from the latest update operation. See fileErrors for details.")] - [EnumType(typeof(FileStatus))] - public string? updateStatus { get; } - + [Description("Status resulting from the latest update operation. See fileErrors for details.")] + [EnumType(typeof(FileStatus))] + public string? updateStatus { get; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] - [NonNull] - public DateTime? updatedAt { get; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] + [NonNull] + public DateTime? updatedAt { get; } + } + /// ///Return type for `fileAcknowledgeUpdateFailed` mutation. /// - [Description("Return type for `fileAcknowledgeUpdateFailed` mutation.")] - public class FileAcknowledgeUpdateFailedPayload : GraphQLObject - { + [Description("Return type for `fileAcknowledgeUpdateFailed` mutation.")] + public class FileAcknowledgeUpdateFailedPayload : GraphQLObject + { /// ///The updated file(s). /// - [Description("The updated file(s).")] - public IEnumerable? files { get; set; } - + [Description("The updated file(s).")] + public IEnumerable? files { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple Files. /// - [Description("An auto-generated type for paginating through multiple Files.")] - public class FileConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Files.")] + public class FileConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The possible content types for a file object. /// - [Description("The possible content types for a file object.")] - public enum FileContentType - { + [Description("The possible content types for a file object.")] + public enum FileContentType + { /// ///A Shopify-hosted image. /// - [Description("A Shopify-hosted image.")] - IMAGE, + [Description("A Shopify-hosted image.")] + IMAGE, /// ///A Shopify-hosted generic file. /// - [Description("A Shopify-hosted generic file.")] - FILE, + [Description("A Shopify-hosted generic file.")] + FILE, /// ///A Shopify-hosted video file. It's recommended to use this type for all video files. /// - [Description("A Shopify-hosted video file. It's recommended to use this type for all video files.")] - VIDEO, + [Description("A Shopify-hosted video file. It's recommended to use this type for all video files.")] + VIDEO, /// ///An externally hosted video. /// - [Description("An externally hosted video.")] - EXTERNAL_VIDEO, + [Description("An externally hosted video.")] + EXTERNAL_VIDEO, /// ///A Shopify-hosted 3D model. /// - [Description("A Shopify-hosted 3D model.")] - MODEL_3D, - } - - public static class FileContentTypeStringValues - { - public const string IMAGE = @"IMAGE"; - public const string FILE = @"FILE"; - public const string VIDEO = @"VIDEO"; - public const string EXTERNAL_VIDEO = @"EXTERNAL_VIDEO"; - public const string MODEL_3D = @"MODEL_3D"; - } - + [Description("A Shopify-hosted 3D model.")] + MODEL_3D, + } + + public static class FileContentTypeStringValues + { + public const string IMAGE = @"IMAGE"; + public const string FILE = @"FILE"; + public const string VIDEO = @"VIDEO"; + public const string EXTERNAL_VIDEO = @"EXTERNAL_VIDEO"; + public const string MODEL_3D = @"MODEL_3D"; + } + /// ///The input fields that are required to create a file object. /// - [Description("The input fields that are required to create a file object.")] - public class FileCreateInput : GraphQLObject - { + [Description("The input fields that are required to create a file object.")] + public class FileCreateInput : GraphQLObject + { /// ///The name of the file. If provided, then the file is created with the specified filename. ///If not provided, then the filename from the `originalSource` is used. /// - [Description("The name of the file. If provided, then the file is created with the specified filename.\nIf not provided, then the filename from the `originalSource` is used.")] - public string? filename { get; set; } - + [Description("The name of the file. If provided, then the file is created with the specified filename.\nIf not provided, then the filename from the `originalSource` is used.")] + public string? filename { get; set; } + /// ///The file content type. If omitted, then Shopify will attempt to determine the content type during file processing. /// - [Description("The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.")] - [EnumType(typeof(FileContentType))] - public string? contentType { get; set; } - + [Description("The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.")] + [EnumType(typeof(FileContentType))] + public string? contentType { get; set; } + /// ///The alt text description of the file for screen readers and accessibility. /// - [Description("The alt text description of the file for screen readers and accessibility.")] - public string? alt { get; set; } - + [Description("The alt text description of the file for screen readers and accessibility.")] + public string? alt { get; set; } + /// ///How to handle if filename is already in use. /// - [Description("How to handle if filename is already in use.")] - [EnumType(typeof(FileCreateInputDuplicateResolutionMode))] - public string? duplicateResolutionMode { get; set; } - + [Description("How to handle if filename is already in use.")] + [EnumType(typeof(FileCreateInputDuplicateResolutionMode))] + public string? duplicateResolutionMode { get; set; } + /// ///An external URL (for images only) or a ///[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). /// - [Description("An external URL (for images only) or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] - [NonNull] - public string? originalSource { get; set; } - } - + [Description("An external URL (for images only) or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] + [NonNull] + public string? originalSource { get; set; } + } + /// ///The input fields for handling if filename is already in use. /// - [Description("The input fields for handling if filename is already in use.")] - public enum FileCreateInputDuplicateResolutionMode - { + [Description("The input fields for handling if filename is already in use.")] + public enum FileCreateInputDuplicateResolutionMode + { /// ///Append a UUID if filename is already in use. /// - [Description("Append a UUID if filename is already in use.")] - APPEND_UUID, + [Description("Append a UUID if filename is already in use.")] + APPEND_UUID, /// ///Raise an error if filename is already in use. /// - [Description("Raise an error if filename is already in use.")] - RAISE_ERROR, + [Description("Raise an error if filename is already in use.")] + RAISE_ERROR, /// ///Replace the existing file if filename is already in use. /// - [Description("Replace the existing file if filename is already in use.")] - REPLACE, - } - - public static class FileCreateInputDuplicateResolutionModeStringValues - { - public const string APPEND_UUID = @"APPEND_UUID"; - public const string RAISE_ERROR = @"RAISE_ERROR"; - public const string REPLACE = @"REPLACE"; - } - + [Description("Replace the existing file if filename is already in use.")] + REPLACE, + } + + public static class FileCreateInputDuplicateResolutionModeStringValues + { + public const string APPEND_UUID = @"APPEND_UUID"; + public const string RAISE_ERROR = @"RAISE_ERROR"; + public const string REPLACE = @"REPLACE"; + } + /// ///Return type for `fileCreate` mutation. /// - [Description("Return type for `fileCreate` mutation.")] - public class FileCreatePayload : GraphQLObject - { + [Description("Return type for `fileCreate` mutation.")] + public class FileCreatePayload : GraphQLObject + { /// ///The newly created files. /// - [Description("The newly created files.")] - public IEnumerable? files { get; set; } - + [Description("The newly created files.")] + public IEnumerable? files { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fileDelete` mutation. /// - [Description("Return type for `fileDelete` mutation.")] - public class FileDeletePayload : GraphQLObject - { + [Description("Return type for `fileDelete` mutation.")] + public class FileDeletePayload : GraphQLObject + { /// ///The IDs of the deleted files. /// - [Description("The IDs of the deleted files.")] - public IEnumerable? deletedFileIds { get; set; } - + [Description("The IDs of the deleted files.")] + public IEnumerable? deletedFileIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one File and a cursor during pagination. /// - [Description("An auto-generated type which holds one File and a cursor during pagination.")] - public class FileEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one File and a cursor during pagination.")] + public class FileEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FileEdge. /// - [Description("The item at the end of FileEdge.")] - [NonNull] - public IFile? node { get; set; } - } - + [Description("The item at the end of FileEdge.")] + [NonNull] + public IFile? node { get; set; } + } + /// ///A file error. This typically occurs when there is an issue with the file itself causing it to fail validation. ///Check the file before attempting to upload again. /// - [Description("A file error. This typically occurs when there is an issue with the file itself causing it to fail validation.\nCheck the file before attempting to upload again.")] - public class FileError : GraphQLObject - { + [Description("A file error. This typically occurs when there is an issue with the file itself causing it to fail validation.\nCheck the file before attempting to upload again.")] + public class FileError : GraphQLObject + { /// ///Code representing the type of error. /// - [Description("Code representing the type of error.")] - [NonNull] - [EnumType(typeof(FileErrorCode))] - public string? code { get; set; } - + [Description("Code representing the type of error.")] + [NonNull] + [EnumType(typeof(FileErrorCode))] + public string? code { get; set; } + /// ///Additional details regarding the error. /// - [Description("Additional details regarding the error.")] - public string? details { get; set; } - + [Description("Additional details regarding the error.")] + public string? details { get; set; } + /// ///Translated error message. /// - [Description("Translated error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("Translated error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The error types for a file. /// - [Description("The error types for a file.")] - public enum FileErrorCode - { + [Description("The error types for a file.")] + public enum FileErrorCode + { /// ///File error has occurred for an unknown reason. /// - [Description("File error has occurred for an unknown reason.")] - UNKNOWN, + [Description("File error has occurred for an unknown reason.")] + UNKNOWN, /// ///File could not be processed because the signed URL was invalid. /// - [Description("File could not be processed because the signed URL was invalid.")] - INVALID_SIGNED_URL, + [Description("File could not be processed because the signed URL was invalid.")] + INVALID_SIGNED_URL, /// ///File could not be processed because the image could not be downloaded. /// - [Description("File could not be processed because the image could not be downloaded.")] - IMAGE_DOWNLOAD_FAILURE, + [Description("File could not be processed because the image could not be downloaded.")] + IMAGE_DOWNLOAD_FAILURE, /// ///File could not be processed because the image could not be processed. /// - [Description("File could not be processed because the image could not be processed.")] - IMAGE_PROCESSING_FAILURE, + [Description("File could not be processed because the image could not be processed.")] + IMAGE_PROCESSING_FAILURE, /// ///File timed out because it is currently being modified by another operation. /// - [Description("File timed out because it is currently being modified by another operation.")] - MEDIA_TIMEOUT_ERROR, + [Description("File timed out because it is currently being modified by another operation.")] + MEDIA_TIMEOUT_ERROR, /// ///File could not be created because the external video could not be found. /// - [Description("File could not be created because the external video could not be found.")] - EXTERNAL_VIDEO_NOT_FOUND, + [Description("File could not be created because the external video could not be found.")] + EXTERNAL_VIDEO_NOT_FOUND, /// ///File could not be created because the external video is not listed or is private. /// - [Description("File could not be created because the external video is not listed or is private.")] - EXTERNAL_VIDEO_UNLISTED, + [Description("File could not be created because the external video is not listed or is private.")] + EXTERNAL_VIDEO_UNLISTED, /// ///File could not be created because the external video has an invalid aspect ratio. /// - [Description("File could not be created because the external video has an invalid aspect ratio.")] - EXTERNAL_VIDEO_INVALID_ASPECT_RATIO, + [Description("File could not be created because the external video has an invalid aspect ratio.")] + EXTERNAL_VIDEO_INVALID_ASPECT_RATIO, /// ///File could not be created because embed permissions are disabled for this video. /// - [Description("File could not be created because embed permissions are disabled for this video.")] - EXTERNAL_VIDEO_EMBED_DISABLED, + [Description("File could not be created because embed permissions are disabled for this video.")] + EXTERNAL_VIDEO_EMBED_DISABLED, /// ///File could not be created because video is either not found or still transcoding. /// - [Description("File could not be created because video is either not found or still transcoding.")] - EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING, + [Description("File could not be created because video is either not found or still transcoding.")] + EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING, /// ///File could not be processed because the source could not be downloaded. /// - [Description("File could not be processed because the source could not be downloaded.")] - GENERIC_FILE_DOWNLOAD_FAILURE, + [Description("File could not be processed because the source could not be downloaded.")] + GENERIC_FILE_DOWNLOAD_FAILURE, /// ///File could not be created because the size is too large. /// - [Description("File could not be created because the size is too large.")] - GENERIC_FILE_INVALID_SIZE, + [Description("File could not be created because the size is too large.")] + GENERIC_FILE_INVALID_SIZE, /// ///File could not be created because the metadata could not be read. /// - [Description("File could not be created because the metadata could not be read.")] - VIDEO_METADATA_READ_ERROR, + [Description("File could not be created because the metadata could not be read.")] + VIDEO_METADATA_READ_ERROR, /// ///File could not be created because it has an invalid file type. /// - [Description("File could not be created because it has an invalid file type.")] - VIDEO_INVALID_FILETYPE_ERROR, + [Description("File could not be created because it has an invalid file type.")] + VIDEO_INVALID_FILETYPE_ERROR, /// ///File could not be created because it does not meet the minimum width requirement. /// - [Description("File could not be created because it does not meet the minimum width requirement.")] - VIDEO_MIN_WIDTH_ERROR, + [Description("File could not be created because it does not meet the minimum width requirement.")] + VIDEO_MIN_WIDTH_ERROR, /// ///File could not be created because it does not meet the maximum width requirement. /// - [Description("File could not be created because it does not meet the maximum width requirement.")] - VIDEO_MAX_WIDTH_ERROR, + [Description("File could not be created because it does not meet the maximum width requirement.")] + VIDEO_MAX_WIDTH_ERROR, /// ///File could not be created because it does not meet the minimum height requirement. /// - [Description("File could not be created because it does not meet the minimum height requirement.")] - VIDEO_MIN_HEIGHT_ERROR, + [Description("File could not be created because it does not meet the minimum height requirement.")] + VIDEO_MIN_HEIGHT_ERROR, /// ///File could not be created because it does not meet the maximum height requirement. /// - [Description("File could not be created because it does not meet the maximum height requirement.")] - VIDEO_MAX_HEIGHT_ERROR, + [Description("File could not be created because it does not meet the maximum height requirement.")] + VIDEO_MAX_HEIGHT_ERROR, /// ///File could not be created because it does not meet the minimum duration requirement. /// - [Description("File could not be created because it does not meet the minimum duration requirement.")] - VIDEO_MIN_DURATION_ERROR, + [Description("File could not be created because it does not meet the minimum duration requirement.")] + VIDEO_MIN_DURATION_ERROR, /// ///File could not be created because it does not meet the maximum duration requirement. /// - [Description("File could not be created because it does not meet the maximum duration requirement.")] - VIDEO_MAX_DURATION_ERROR, + [Description("File could not be created because it does not meet the maximum duration requirement.")] + VIDEO_MAX_DURATION_ERROR, /// ///Video failed validation. /// - [Description("Video failed validation.")] - VIDEO_VALIDATION_ERROR, + [Description("Video failed validation.")] + VIDEO_VALIDATION_ERROR, /// ///Model failed validation. /// - [Description("Model failed validation.")] - MODEL3D_VALIDATION_ERROR, + [Description("Model failed validation.")] + MODEL3D_VALIDATION_ERROR, /// ///File could not be created because the model's thumbnail generation failed. /// - [Description("File could not be created because the model's thumbnail generation failed.")] - MODEL3D_THUMBNAIL_GENERATION_ERROR, + [Description("File could not be created because the model's thumbnail generation failed.")] + MODEL3D_THUMBNAIL_GENERATION_ERROR, /// ///There was an issue while trying to generate a new thumbnail. /// - [Description("There was an issue while trying to generate a new thumbnail.")] - MODEL3D_THUMBNAIL_REGENERATION_ERROR, + [Description("There was an issue while trying to generate a new thumbnail.")] + MODEL3D_THUMBNAIL_REGENERATION_ERROR, /// ///File could not be created because the model can't be converted to USDZ format. /// - [Description("File could not be created because the model can't be converted to USDZ format.")] - MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR, + [Description("File could not be created because the model can't be converted to USDZ format.")] + MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR, /// ///File could not be created because the model file failed processing. /// - [Description("File could not be created because the model file failed processing.")] - MODEL3D_GLB_OUTPUT_CREATION_ERROR, + [Description("File could not be created because the model file failed processing.")] + MODEL3D_GLB_OUTPUT_CREATION_ERROR, /// ///File could not be created because the model file failed processing. /// - [Description("File could not be created because the model file failed processing.")] - MODEL3D_PROCESSING_FAILURE, + [Description("File could not be created because the model file failed processing.")] + MODEL3D_PROCESSING_FAILURE, /// ///File could not be created because the image is an unsupported file type. /// - [Description("File could not be created because the image is an unsupported file type.")] - UNSUPPORTED_IMAGE_FILE_TYPE, + [Description("File could not be created because the image is an unsupported file type.")] + UNSUPPORTED_IMAGE_FILE_TYPE, /// ///File could not be created because the image size is too large. /// - [Description("File could not be created because the image size is too large.")] - INVALID_IMAGE_FILE_SIZE, + [Description("File could not be created because the image size is too large.")] + INVALID_IMAGE_FILE_SIZE, /// ///File could not be created because the image has an invalid aspect ratio. /// - [Description("File could not be created because the image has an invalid aspect ratio.")] - INVALID_IMAGE_ASPECT_RATIO, + [Description("File could not be created because the image has an invalid aspect ratio.")] + INVALID_IMAGE_ASPECT_RATIO, /// ///File could not be created because the image's resolution exceeds the max limit. /// - [Description("File could not be created because the image's resolution exceeds the max limit.")] - INVALID_IMAGE_RESOLUTION, + [Description("File could not be created because the image's resolution exceeds the max limit.")] + INVALID_IMAGE_RESOLUTION, /// ///File could not be created because the cumulative file storage limit would be exceeded. /// - [Description("File could not be created because the cumulative file storage limit would be exceeded.")] - FILE_STORAGE_LIMIT_EXCEEDED, + [Description("File could not be created because the cumulative file storage limit would be exceeded.")] + FILE_STORAGE_LIMIT_EXCEEDED, /// ///File could not be created because a file with the same name already exists. /// - [Description("File could not be created because a file with the same name already exists.")] - DUPLICATE_FILENAME_ERROR, + [Description("File could not be created because a file with the same name already exists.")] + DUPLICATE_FILENAME_ERROR, /// ///File could not be reverted to previous version. /// - [Description("File could not be reverted to previous version.")] - REVERT_MEDIA_VERSION_FAILURE, - } - - public static class FileErrorCodeStringValues - { - public const string UNKNOWN = @"UNKNOWN"; - public const string INVALID_SIGNED_URL = @"INVALID_SIGNED_URL"; - public const string IMAGE_DOWNLOAD_FAILURE = @"IMAGE_DOWNLOAD_FAILURE"; - public const string IMAGE_PROCESSING_FAILURE = @"IMAGE_PROCESSING_FAILURE"; - public const string MEDIA_TIMEOUT_ERROR = @"MEDIA_TIMEOUT_ERROR"; - public const string EXTERNAL_VIDEO_NOT_FOUND = @"EXTERNAL_VIDEO_NOT_FOUND"; - public const string EXTERNAL_VIDEO_UNLISTED = @"EXTERNAL_VIDEO_UNLISTED"; - public const string EXTERNAL_VIDEO_INVALID_ASPECT_RATIO = @"EXTERNAL_VIDEO_INVALID_ASPECT_RATIO"; - public const string EXTERNAL_VIDEO_EMBED_DISABLED = @"EXTERNAL_VIDEO_EMBED_DISABLED"; - public const string EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING = @"EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING"; - public const string GENERIC_FILE_DOWNLOAD_FAILURE = @"GENERIC_FILE_DOWNLOAD_FAILURE"; - public const string GENERIC_FILE_INVALID_SIZE = @"GENERIC_FILE_INVALID_SIZE"; - public const string VIDEO_METADATA_READ_ERROR = @"VIDEO_METADATA_READ_ERROR"; - public const string VIDEO_INVALID_FILETYPE_ERROR = @"VIDEO_INVALID_FILETYPE_ERROR"; - public const string VIDEO_MIN_WIDTH_ERROR = @"VIDEO_MIN_WIDTH_ERROR"; - public const string VIDEO_MAX_WIDTH_ERROR = @"VIDEO_MAX_WIDTH_ERROR"; - public const string VIDEO_MIN_HEIGHT_ERROR = @"VIDEO_MIN_HEIGHT_ERROR"; - public const string VIDEO_MAX_HEIGHT_ERROR = @"VIDEO_MAX_HEIGHT_ERROR"; - public const string VIDEO_MIN_DURATION_ERROR = @"VIDEO_MIN_DURATION_ERROR"; - public const string VIDEO_MAX_DURATION_ERROR = @"VIDEO_MAX_DURATION_ERROR"; - public const string VIDEO_VALIDATION_ERROR = @"VIDEO_VALIDATION_ERROR"; - public const string MODEL3D_VALIDATION_ERROR = @"MODEL3D_VALIDATION_ERROR"; - public const string MODEL3D_THUMBNAIL_GENERATION_ERROR = @"MODEL3D_THUMBNAIL_GENERATION_ERROR"; - public const string MODEL3D_THUMBNAIL_REGENERATION_ERROR = @"MODEL3D_THUMBNAIL_REGENERATION_ERROR"; - public const string MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR = @"MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR"; - public const string MODEL3D_GLB_OUTPUT_CREATION_ERROR = @"MODEL3D_GLB_OUTPUT_CREATION_ERROR"; - public const string MODEL3D_PROCESSING_FAILURE = @"MODEL3D_PROCESSING_FAILURE"; - public const string UNSUPPORTED_IMAGE_FILE_TYPE = @"UNSUPPORTED_IMAGE_FILE_TYPE"; - public const string INVALID_IMAGE_FILE_SIZE = @"INVALID_IMAGE_FILE_SIZE"; - public const string INVALID_IMAGE_ASPECT_RATIO = @"INVALID_IMAGE_ASPECT_RATIO"; - public const string INVALID_IMAGE_RESOLUTION = @"INVALID_IMAGE_RESOLUTION"; - public const string FILE_STORAGE_LIMIT_EXCEEDED = @"FILE_STORAGE_LIMIT_EXCEEDED"; - public const string DUPLICATE_FILENAME_ERROR = @"DUPLICATE_FILENAME_ERROR"; - public const string REVERT_MEDIA_VERSION_FAILURE = @"REVERT_MEDIA_VERSION_FAILURE"; - } - + [Description("File could not be reverted to previous version.")] + REVERT_MEDIA_VERSION_FAILURE, + } + + public static class FileErrorCodeStringValues + { + public const string UNKNOWN = @"UNKNOWN"; + public const string INVALID_SIGNED_URL = @"INVALID_SIGNED_URL"; + public const string IMAGE_DOWNLOAD_FAILURE = @"IMAGE_DOWNLOAD_FAILURE"; + public const string IMAGE_PROCESSING_FAILURE = @"IMAGE_PROCESSING_FAILURE"; + public const string MEDIA_TIMEOUT_ERROR = @"MEDIA_TIMEOUT_ERROR"; + public const string EXTERNAL_VIDEO_NOT_FOUND = @"EXTERNAL_VIDEO_NOT_FOUND"; + public const string EXTERNAL_VIDEO_UNLISTED = @"EXTERNAL_VIDEO_UNLISTED"; + public const string EXTERNAL_VIDEO_INVALID_ASPECT_RATIO = @"EXTERNAL_VIDEO_INVALID_ASPECT_RATIO"; + public const string EXTERNAL_VIDEO_EMBED_DISABLED = @"EXTERNAL_VIDEO_EMBED_DISABLED"; + public const string EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING = @"EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING"; + public const string GENERIC_FILE_DOWNLOAD_FAILURE = @"GENERIC_FILE_DOWNLOAD_FAILURE"; + public const string GENERIC_FILE_INVALID_SIZE = @"GENERIC_FILE_INVALID_SIZE"; + public const string VIDEO_METADATA_READ_ERROR = @"VIDEO_METADATA_READ_ERROR"; + public const string VIDEO_INVALID_FILETYPE_ERROR = @"VIDEO_INVALID_FILETYPE_ERROR"; + public const string VIDEO_MIN_WIDTH_ERROR = @"VIDEO_MIN_WIDTH_ERROR"; + public const string VIDEO_MAX_WIDTH_ERROR = @"VIDEO_MAX_WIDTH_ERROR"; + public const string VIDEO_MIN_HEIGHT_ERROR = @"VIDEO_MIN_HEIGHT_ERROR"; + public const string VIDEO_MAX_HEIGHT_ERROR = @"VIDEO_MAX_HEIGHT_ERROR"; + public const string VIDEO_MIN_DURATION_ERROR = @"VIDEO_MIN_DURATION_ERROR"; + public const string VIDEO_MAX_DURATION_ERROR = @"VIDEO_MAX_DURATION_ERROR"; + public const string VIDEO_VALIDATION_ERROR = @"VIDEO_VALIDATION_ERROR"; + public const string MODEL3D_VALIDATION_ERROR = @"MODEL3D_VALIDATION_ERROR"; + public const string MODEL3D_THUMBNAIL_GENERATION_ERROR = @"MODEL3D_THUMBNAIL_GENERATION_ERROR"; + public const string MODEL3D_THUMBNAIL_REGENERATION_ERROR = @"MODEL3D_THUMBNAIL_REGENERATION_ERROR"; + public const string MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR = @"MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR"; + public const string MODEL3D_GLB_OUTPUT_CREATION_ERROR = @"MODEL3D_GLB_OUTPUT_CREATION_ERROR"; + public const string MODEL3D_PROCESSING_FAILURE = @"MODEL3D_PROCESSING_FAILURE"; + public const string UNSUPPORTED_IMAGE_FILE_TYPE = @"UNSUPPORTED_IMAGE_FILE_TYPE"; + public const string INVALID_IMAGE_FILE_SIZE = @"INVALID_IMAGE_FILE_SIZE"; + public const string INVALID_IMAGE_ASPECT_RATIO = @"INVALID_IMAGE_ASPECT_RATIO"; + public const string INVALID_IMAGE_RESOLUTION = @"INVALID_IMAGE_RESOLUTION"; + public const string FILE_STORAGE_LIMIT_EXCEEDED = @"FILE_STORAGE_LIMIT_EXCEEDED"; + public const string DUPLICATE_FILENAME_ERROR = @"DUPLICATE_FILENAME_ERROR"; + public const string REVERT_MEDIA_VERSION_FAILURE = @"REVERT_MEDIA_VERSION_FAILURE"; + } + /// ///The input fields required to create or update a file object. /// - [Description("The input fields required to create or update a file object.")] - public class FileSetInput : GraphQLObject - { + [Description("The input fields required to create or update a file object.")] + public class FileSetInput : GraphQLObject + { /// ///The name of the file. If provided, then the file is created with the specified filename. ///If not provided, then the filename from the `originalSource` is used. /// - [Description("The name of the file. If provided, then the file is created with the specified filename.\nIf not provided, then the filename from the `originalSource` is used.")] - public string? filename { get; set; } - + [Description("The name of the file. If provided, then the file is created with the specified filename.\nIf not provided, then the filename from the `originalSource` is used.")] + public string? filename { get; set; } + /// ///The file content type. If omitted, then Shopify will attempt to determine the content type during file processing. /// - [Description("The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.")] - [EnumType(typeof(FileContentType))] - public string? contentType { get; set; } - + [Description("The file content type. If omitted, then Shopify will attempt to determine the content type during file processing.")] + [EnumType(typeof(FileContentType))] + public string? contentType { get; set; } + /// ///The alt text description of the file for screen readers and accessibility. /// - [Description("The alt text description of the file for screen readers and accessibility.")] - public string? alt { get; set; } - + [Description("The alt text description of the file for screen readers and accessibility.")] + public string? alt { get; set; } + /// ///How to handle if filename is already in use. /// - [Description("How to handle if filename is already in use.")] - [EnumType(typeof(FileCreateInputDuplicateResolutionMode))] - public string? duplicateResolutionMode { get; set; } - + [Description("How to handle if filename is already in use.")] + [EnumType(typeof(FileCreateInputDuplicateResolutionMode))] + public string? duplicateResolutionMode { get; set; } + /// ///The ID of an existing file. /// - [Description("The ID of an existing file.")] - public string? id { get; set; } - + [Description("The ID of an existing file.")] + public string? id { get; set; } + /// ///An external URL (for images only) or a ///[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). /// - [Description("An external URL (for images only) or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] - public string? originalSource { get; set; } - } - + [Description("An external URL (for images only) or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] + public string? originalSource { get; set; } + } + /// ///The set of valid sort keys for the File query. /// - [Description("The set of valid sort keys for the File query.")] - public enum FileSortKeys - { + [Description("The set of valid sort keys for the File query.")] + public enum FileSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `filename` value. /// - [Description("Sort by the `filename` value.")] - FILENAME, + [Description("Sort by the `filename` value.")] + FILENAME, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `original_upload_size` value. /// - [Description("Sort by the `original_upload_size` value.")] - ORIGINAL_UPLOAD_SIZE, + [Description("Sort by the `original_upload_size` value.")] + ORIGINAL_UPLOAD_SIZE, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class FileSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string FILENAME = @"FILENAME"; - public const string ID = @"ID"; - public const string ORIGINAL_UPLOAD_SIZE = @"ORIGINAL_UPLOAD_SIZE"; - public const string RELEVANCE = @"RELEVANCE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class FileSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string FILENAME = @"FILENAME"; + public const string ID = @"ID"; + public const string ORIGINAL_UPLOAD_SIZE = @"ORIGINAL_UPLOAD_SIZE"; + public const string RELEVANCE = @"RELEVANCE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The possible statuses for a file object. /// - [Description("The possible statuses for a file object.")] - public enum FileStatus - { + [Description("The possible statuses for a file object.")] + public enum FileStatus + { /// ///File has been uploaded but hasn't been processed. /// - [Description("File has been uploaded but hasn't been processed.")] - UPLOADED, + [Description("File has been uploaded but hasn't been processed.")] + UPLOADED, /// ///File is being processed. /// - [Description("File is being processed.")] - PROCESSING, + [Description("File is being processed.")] + PROCESSING, /// ///File is ready to be displayed. /// - [Description("File is ready to be displayed.")] - READY, + [Description("File is ready to be displayed.")] + READY, /// ///File processing has failed. /// - [Description("File processing has failed.")] - FAILED, - } - - public static class FileStatusStringValues - { - public const string UPLOADED = @"UPLOADED"; - public const string PROCESSING = @"PROCESSING"; - public const string READY = @"READY"; - public const string FAILED = @"FAILED"; - } - + [Description("File processing has failed.")] + FAILED, + } + + public static class FileStatusStringValues + { + public const string UPLOADED = @"UPLOADED"; + public const string PROCESSING = @"PROCESSING"; + public const string READY = @"READY"; + public const string FAILED = @"FAILED"; + } + /// ///The input fields that are required to update a file object. /// - [Description("The input fields that are required to update a file object.")] - public class FileUpdateInput : GraphQLObject - { + [Description("The input fields that are required to update a file object.")] + public class FileUpdateInput : GraphQLObject + { /// ///The ID of the file to be updated. /// - [Description("The ID of the file to be updated.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the file to be updated.")] + [NonNull] + public string? id { get; set; } + /// ///The alt text description of the file for screen readers and accessibility. /// - [Description("The alt text description of the file for screen readers and accessibility.")] - public string? alt { get; set; } - + [Description("The alt text description of the file for screen readers and accessibility.")] + public string? alt { get; set; } + /// ///The source from which to update a media image or generic file. ///An external URL (for images only) or a ///[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). /// - [Description("The source from which to update a media image or generic file.\nAn external URL (for images only) or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] - public string? originalSource { get; set; } - + [Description("The source from which to update a media image or generic file.\nAn external URL (for images only) or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] + public string? originalSource { get; set; } + /// ///The source from which to update the media preview image. ///May be an external URL or a ///[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). /// - [Description("The source from which to update the media preview image.\nMay be an external URL or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] - public string? previewImageSource { get; set; } - + [Description("The source from which to update the media preview image.\nMay be an external URL or a\n[staged upload URL](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).")] + public string? previewImageSource { get; set; } + /// ///The name of the file including its extension. /// - [Description("The name of the file including its extension.")] - public string? filename { get; set; } - + [Description("The name of the file including its extension.")] + public string? filename { get; set; } + /// ///The IDs of the references to add to the file. Currently only accepts product IDs. /// - [Description("The IDs of the references to add to the file. Currently only accepts product IDs.")] - public IEnumerable? referencesToAdd { get; set; } - + [Description("The IDs of the references to add to the file. Currently only accepts product IDs.")] + public IEnumerable? referencesToAdd { get; set; } + /// ///The IDs of the references to remove from the file. Currently only accepts product IDs. /// - [Description("The IDs of the references to remove from the file. Currently only accepts product IDs.")] - public IEnumerable? referencesToRemove { get; set; } - } - + [Description("The IDs of the references to remove from the file. Currently only accepts product IDs.")] + public IEnumerable? referencesToRemove { get; set; } + } + /// ///Return type for `fileUpdate` mutation. /// - [Description("Return type for `fileUpdate` mutation.")] - public class FileUpdatePayload : GraphQLObject - { + [Description("Return type for `fileUpdate` mutation.")] + public class FileUpdatePayload : GraphQLObject + { /// ///The list of updated files. /// - [Description("The list of updated files.")] - public IEnumerable? files { get; set; } - + [Description("The list of updated files.")] + public IEnumerable? files { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible error codes that can be returned by `FilesUserError`. /// - [Description("Possible error codes that can be returned by `FilesUserError`.")] - public enum FilesErrorCode - { + [Description("Possible error codes that can be returned by `FilesUserError`.")] + public enum FilesErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///File does not exist. /// - [Description("File does not exist.")] - FILE_DOES_NOT_EXIST, + [Description("File does not exist.")] + FILE_DOES_NOT_EXIST, /// ///File has a pending operation. /// - [Description("File has a pending operation.")] - FILE_LOCKED, + [Description("File has a pending operation.")] + FILE_LOCKED, /// ///Filename update is only supported on Image and GenericFile. /// - [Description("Filename update is only supported on Image and GenericFile.")] - UNSUPPORTED_MEDIA_TYPE_FOR_FILENAME_UPDATE, + [Description("Filename update is only supported on Image and GenericFile.")] + UNSUPPORTED_MEDIA_TYPE_FOR_FILENAME_UPDATE, /// ///Specify one argument: search, IDs, or deleteAll. /// - [Description("Specify one argument: search, IDs, or deleteAll.")] - TOO_MANY_ARGUMENTS, + [Description("Specify one argument: search, IDs, or deleteAll.")] + TOO_MANY_ARGUMENTS, /// ///The search term must not be blank. /// - [Description("The search term must not be blank.")] - BLANK_SEARCH, + [Description("The search term must not be blank.")] + BLANK_SEARCH, /// ///At least one argument is required. /// - [Description("At least one argument is required.")] - MISSING_ARGUMENTS, + [Description("At least one argument is required.")] + MISSING_ARGUMENTS, /// ///Search query isn't supported. /// - [Description("Search query isn't supported.")] - INVALID_QUERY, + [Description("Search query isn't supported.")] + INVALID_QUERY, /// ///One or more associated products are suspended. /// - [Description("One or more associated products are suspended.")] - PRODUCT_SUSPENDED, + [Description("One or more associated products are suspended.")] + PRODUCT_SUSPENDED, /// ///Invalid filename extension. /// - [Description("Invalid filename extension.")] - INVALID_FILENAME_EXTENSION, + [Description("Invalid filename extension.")] + INVALID_FILENAME_EXTENSION, /// ///The provided filename is invalid. /// - [Description("The provided filename is invalid.")] - INVALID_FILENAME, + [Description("The provided filename is invalid.")] + INVALID_FILENAME, /// ///The provided filename already exists. /// - [Description("The provided filename already exists.")] - FILENAME_ALREADY_EXISTS, + [Description("The provided filename already exists.")] + FILENAME_ALREADY_EXISTS, /// ///The file is not supported on trial accounts that have not validated their email. Either select a plan or verify the shop owner email to upload this file. /// - [Description("The file is not supported on trial accounts that have not validated their email. Either select a plan or verify the shop owner email to upload this file.")] - UNACCEPTABLE_UNVERIFIED_TRIAL_ASSET, + [Description("The file is not supported on trial accounts that have not validated their email. Either select a plan or verify the shop owner email to upload this file.")] + UNACCEPTABLE_UNVERIFIED_TRIAL_ASSET, /// ///The file type is not supported. /// - [Description("The file type is not supported.")] - UNACCEPTABLE_ASSET, + [Description("The file type is not supported.")] + UNACCEPTABLE_ASSET, /// ///The file is not supported on trial accounts. Select a plan to upload this file. /// - [Description("The file is not supported on trial accounts. Select a plan to upload this file.")] - UNACCEPTABLE_TRIAL_ASSET, + [Description("The file is not supported on trial accounts. Select a plan to upload this file.")] + UNACCEPTABLE_TRIAL_ASSET, /// ///The alt value exceeds the maximum limit of 512 characters. /// - [Description("The alt value exceeds the maximum limit of 512 characters.")] - ALT_VALUE_LIMIT_EXCEEDED, + [Description("The alt value exceeds the maximum limit of 512 characters.")] + ALT_VALUE_LIMIT_EXCEEDED, /// ///The file is not in the READY state. /// - [Description("The file is not in the READY state.")] - NON_READY_STATE, + [Description("The file is not in the READY state.")] + NON_READY_STATE, /// ///File cannot be updated in a failed state. /// - [Description("File cannot be updated in a failed state.")] - INVALID_FAILED_MEDIA_STATE, + [Description("File cannot be updated in a failed state.")] + INVALID_FAILED_MEDIA_STATE, /// ///Exceeded the limit of non-image media per shop. /// - [Description("Exceeded the limit of non-image media per shop.")] - NON_IMAGE_MEDIA_PER_SHOP_LIMIT_EXCEEDED, + [Description("Exceeded the limit of non-image media per shop.")] + NON_IMAGE_MEDIA_PER_SHOP_LIMIT_EXCEEDED, /// ///Cannot create file with custom filename which does not match original source extension. /// - [Description("Cannot create file with custom filename which does not match original source extension.")] - MISMATCHED_FILENAME_AND_ORIGINAL_SOURCE, + [Description("Cannot create file with custom filename which does not match original source extension.")] + MISMATCHED_FILENAME_AND_ORIGINAL_SOURCE, /// ///Duplicate resolution mode is not supported for this file type. /// - [Description("Duplicate resolution mode is not supported for this file type.")] - INVALID_DUPLICATE_MODE_FOR_TYPE, + [Description("Duplicate resolution mode is not supported for this file type.")] + INVALID_DUPLICATE_MODE_FOR_TYPE, /// ///Invalid image source url value provided. /// - [Description("Invalid image source url value provided.")] - INVALID_IMAGE_SOURCE_URL, + [Description("Invalid image source url value provided.")] + INVALID_IMAGE_SOURCE_URL, /// ///Duplicate resolution mode REPLACE cannot be used without specifying filename. /// - [Description("Duplicate resolution mode REPLACE cannot be used without specifying filename.")] - MISSING_FILENAME_FOR_DUPLICATE_MODE_REPLACE, + [Description("Duplicate resolution mode REPLACE cannot be used without specifying filename.")] + MISSING_FILENAME_FOR_DUPLICATE_MODE_REPLACE, /// ///Exceeded the limit of media per product. /// - [Description("Exceeded the limit of media per product.")] - PRODUCT_MEDIA_LIMIT_EXCEEDED, + [Description("Exceeded the limit of media per product.")] + PRODUCT_MEDIA_LIMIT_EXCEEDED, /// ///The file type is not supported for referencing. /// - [Description("The file type is not supported for referencing.")] - UNSUPPORTED_FILE_REFERENCE, + [Description("The file type is not supported for referencing.")] + UNSUPPORTED_FILE_REFERENCE, /// ///The target resource does not exist. /// - [Description("The target resource does not exist.")] - REFERENCE_TARGET_DOES_NOT_EXIST, + [Description("The target resource does not exist.")] + REFERENCE_TARGET_DOES_NOT_EXIST, /// ///Cannot add more than 10000 references to a file. /// - [Description("Cannot add more than 10000 references to a file.")] - TOO_MANY_FILE_REFERENCE, + [Description("Cannot add more than 10000 references to a file.")] + TOO_MANY_FILE_REFERENCE, /// ///Invalid duplicate resolution mode provided. /// - [Description("Invalid duplicate resolution mode provided.")] - INVALID_DUPLICATE_RESOLUTION_MODE, - } - - public static class FilesErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string FILE_DOES_NOT_EXIST = @"FILE_DOES_NOT_EXIST"; - public const string FILE_LOCKED = @"FILE_LOCKED"; - public const string UNSUPPORTED_MEDIA_TYPE_FOR_FILENAME_UPDATE = @"UNSUPPORTED_MEDIA_TYPE_FOR_FILENAME_UPDATE"; - public const string TOO_MANY_ARGUMENTS = @"TOO_MANY_ARGUMENTS"; - public const string BLANK_SEARCH = @"BLANK_SEARCH"; - public const string MISSING_ARGUMENTS = @"MISSING_ARGUMENTS"; - public const string INVALID_QUERY = @"INVALID_QUERY"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string INVALID_FILENAME_EXTENSION = @"INVALID_FILENAME_EXTENSION"; - public const string INVALID_FILENAME = @"INVALID_FILENAME"; - public const string FILENAME_ALREADY_EXISTS = @"FILENAME_ALREADY_EXISTS"; - public const string UNACCEPTABLE_UNVERIFIED_TRIAL_ASSET = @"UNACCEPTABLE_UNVERIFIED_TRIAL_ASSET"; - public const string UNACCEPTABLE_ASSET = @"UNACCEPTABLE_ASSET"; - public const string UNACCEPTABLE_TRIAL_ASSET = @"UNACCEPTABLE_TRIAL_ASSET"; - public const string ALT_VALUE_LIMIT_EXCEEDED = @"ALT_VALUE_LIMIT_EXCEEDED"; - public const string NON_READY_STATE = @"NON_READY_STATE"; - public const string INVALID_FAILED_MEDIA_STATE = @"INVALID_FAILED_MEDIA_STATE"; - public const string NON_IMAGE_MEDIA_PER_SHOP_LIMIT_EXCEEDED = @"NON_IMAGE_MEDIA_PER_SHOP_LIMIT_EXCEEDED"; - public const string MISMATCHED_FILENAME_AND_ORIGINAL_SOURCE = @"MISMATCHED_FILENAME_AND_ORIGINAL_SOURCE"; - public const string INVALID_DUPLICATE_MODE_FOR_TYPE = @"INVALID_DUPLICATE_MODE_FOR_TYPE"; - public const string INVALID_IMAGE_SOURCE_URL = @"INVALID_IMAGE_SOURCE_URL"; - public const string MISSING_FILENAME_FOR_DUPLICATE_MODE_REPLACE = @"MISSING_FILENAME_FOR_DUPLICATE_MODE_REPLACE"; - public const string PRODUCT_MEDIA_LIMIT_EXCEEDED = @"PRODUCT_MEDIA_LIMIT_EXCEEDED"; - public const string UNSUPPORTED_FILE_REFERENCE = @"UNSUPPORTED_FILE_REFERENCE"; - public const string REFERENCE_TARGET_DOES_NOT_EXIST = @"REFERENCE_TARGET_DOES_NOT_EXIST"; - public const string TOO_MANY_FILE_REFERENCE = @"TOO_MANY_FILE_REFERENCE"; - public const string INVALID_DUPLICATE_RESOLUTION_MODE = @"INVALID_DUPLICATE_RESOLUTION_MODE"; - } - + [Description("Invalid duplicate resolution mode provided.")] + INVALID_DUPLICATE_RESOLUTION_MODE, + } + + public static class FilesErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string FILE_DOES_NOT_EXIST = @"FILE_DOES_NOT_EXIST"; + public const string FILE_LOCKED = @"FILE_LOCKED"; + public const string UNSUPPORTED_MEDIA_TYPE_FOR_FILENAME_UPDATE = @"UNSUPPORTED_MEDIA_TYPE_FOR_FILENAME_UPDATE"; + public const string TOO_MANY_ARGUMENTS = @"TOO_MANY_ARGUMENTS"; + public const string BLANK_SEARCH = @"BLANK_SEARCH"; + public const string MISSING_ARGUMENTS = @"MISSING_ARGUMENTS"; + public const string INVALID_QUERY = @"INVALID_QUERY"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string INVALID_FILENAME_EXTENSION = @"INVALID_FILENAME_EXTENSION"; + public const string INVALID_FILENAME = @"INVALID_FILENAME"; + public const string FILENAME_ALREADY_EXISTS = @"FILENAME_ALREADY_EXISTS"; + public const string UNACCEPTABLE_UNVERIFIED_TRIAL_ASSET = @"UNACCEPTABLE_UNVERIFIED_TRIAL_ASSET"; + public const string UNACCEPTABLE_ASSET = @"UNACCEPTABLE_ASSET"; + public const string UNACCEPTABLE_TRIAL_ASSET = @"UNACCEPTABLE_TRIAL_ASSET"; + public const string ALT_VALUE_LIMIT_EXCEEDED = @"ALT_VALUE_LIMIT_EXCEEDED"; + public const string NON_READY_STATE = @"NON_READY_STATE"; + public const string INVALID_FAILED_MEDIA_STATE = @"INVALID_FAILED_MEDIA_STATE"; + public const string NON_IMAGE_MEDIA_PER_SHOP_LIMIT_EXCEEDED = @"NON_IMAGE_MEDIA_PER_SHOP_LIMIT_EXCEEDED"; + public const string MISMATCHED_FILENAME_AND_ORIGINAL_SOURCE = @"MISMATCHED_FILENAME_AND_ORIGINAL_SOURCE"; + public const string INVALID_DUPLICATE_MODE_FOR_TYPE = @"INVALID_DUPLICATE_MODE_FOR_TYPE"; + public const string INVALID_IMAGE_SOURCE_URL = @"INVALID_IMAGE_SOURCE_URL"; + public const string MISSING_FILENAME_FOR_DUPLICATE_MODE_REPLACE = @"MISSING_FILENAME_FOR_DUPLICATE_MODE_REPLACE"; + public const string PRODUCT_MEDIA_LIMIT_EXCEEDED = @"PRODUCT_MEDIA_LIMIT_EXCEEDED"; + public const string UNSUPPORTED_FILE_REFERENCE = @"UNSUPPORTED_FILE_REFERENCE"; + public const string REFERENCE_TARGET_DOES_NOT_EXIST = @"REFERENCE_TARGET_DOES_NOT_EXIST"; + public const string TOO_MANY_FILE_REFERENCE = @"TOO_MANY_FILE_REFERENCE"; + public const string INVALID_DUPLICATE_RESOLUTION_MODE = @"INVALID_DUPLICATE_RESOLUTION_MODE"; + } + /// ///An error that happens during the execution of a Files API query or mutation. /// - [Description("An error that happens during the execution of a Files API query or mutation.")] - public class FilesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that happens during the execution of a Files API query or mutation.")] + public class FilesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FilesErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FilesErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///A filter option is one possible value in a search filter. /// - [Description("A filter option is one possible value in a search filter.")] - public class FilterOption : GraphQLObject - { + [Description("A filter option is one possible value in a search filter.")] + public class FilterOption : GraphQLObject + { /// ///The filter option's label for display purposes. /// - [Description("The filter option's label for display purposes.")] - [NonNull] - public string? label { get; set; } - + [Description("The filter option's label for display purposes.")] + [NonNull] + public string? label { get; set; } + /// ///The filter option's value. /// - [Description("The filter option's value.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The filter option's value.")] + [NonNull] + public string? value { get; set; } + } + /// ///Current user's access policy for a finance app. /// - [Description("Current user's access policy for a finance app.")] - public class FinanceAppAccessPolicy : GraphQLObject - { + [Description("Current user's access policy for a finance app.")] + public class FinanceAppAccessPolicy : GraphQLObject + { /// ///Current shop staff's access within the app. /// - [Description("Current shop staff's access within the app.")] - [NonNull] - public IEnumerable? access { get; set; } - } - + [Description("Current shop staff's access within the app.")] + [NonNull] + public IEnumerable? access { get; set; } + } + /// ///Shopify Payments account information shared with embedded finance applications. /// - [Description("Shopify Payments account information shared with embedded finance applications.")] - public class FinanceKycInformation : GraphQLObject - { + [Description("Shopify Payments account information shared with embedded finance applications.")] + public class FinanceKycInformation : GraphQLObject + { /// ///The legal entity business address. /// - [Description("The legal entity business address.")] - public ShopifyPaymentsAddressBasic? businessAddress { get; set; } - + [Description("The legal entity business address.")] + public ShopifyPaymentsAddressBasic? businessAddress { get; set; } + /// ///The legal entity business type. /// - [Description("The legal entity business type.")] - [EnumType(typeof(ShopifyPaymentsBusinessType))] - public string? businessType { get; set; } - + [Description("The legal entity business type.")] + [EnumType(typeof(ShopifyPaymentsBusinessType))] + public string? businessType { get; set; } + /// ///Business industry. /// - [Description("Business industry.")] - public ShopifyPaymentsMerchantCategoryCode? industry { get; set; } - + [Description("Business industry.")] + public ShopifyPaymentsMerchantCategoryCode? industry { get; set; } + /// ///Returns the business legal name. /// - [Description("Returns the business legal name.")] - public string? legalName { get; set; } - + [Description("Returns the business legal name.")] + public string? legalName { get; set; } + /// ///The shop owner information for financial KYC purposes. /// - [Description("The shop owner information for financial KYC purposes.")] - [NonNull] - public FinancialKycShopOwner? shopOwner { get; set; } - + [Description("The shop owner information for financial KYC purposes.")] + [NonNull] + public FinancialKycShopOwner? shopOwner { get; set; } + /// ///Tax identification information. /// - [Description("Tax identification information.")] - public ShopifyPaymentsTaxIdentification? taxIdentification { get; set; } - } - + [Description("Tax identification information.")] + public ShopifyPaymentsTaxIdentification? taxIdentification { get; set; } + } + /// ///Represents the shop owner information for financial KYC purposes. /// - [Description("Represents the shop owner information for financial KYC purposes.")] - public class FinancialKycShopOwner : GraphQLObject - { + [Description("Represents the shop owner information for financial KYC purposes.")] + public class FinancialKycShopOwner : GraphQLObject + { /// ///The email of the shop owner. /// - [Description("The email of the shop owner.")] - [NonNull] - public string? email { get; set; } - + [Description("The email of the shop owner.")] + [NonNull] + public string? email { get; set; } + /// ///The first name of the shop owner. /// - [Description("The first name of the shop owner.")] - public string? firstName { get; set; } - + [Description("The first name of the shop owner.")] + public string? firstName { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The last name of the shop owner. /// - [Description("The last name of the shop owner.")] - public string? lastName { get; set; } - + [Description("The last name of the shop owner.")] + public string? lastName { get; set; } + /// ///The phone number of the shop owner. /// - [Description("The phone number of the shop owner.")] - public string? phone { get; set; } - } - + [Description("The phone number of the shop owner.")] + public string? phone { get; set; } + } + /// ///An amount that's allocated to a line item based on an associated discount application. /// - [Description("An amount that's allocated to a line item based on an associated discount application.")] - public class FinancialSummaryDiscountAllocation : GraphQLObject - { + [Description("An amount that's allocated to a line item based on an associated discount application.")] + public class FinancialSummaryDiscountAllocation : GraphQLObject + { /// ///The money amount that's allocated per unit on the associated line based on the discount application in shop and presentment currencies. If the allocated amount for the line cannot be evenly divided by the quantity, then this amount will be an approximate amount, avoiding fractional pennies. For example, if the associated line had a quantity of 3 with a discount of 4 cents, then the discount distribution would be [0.01, 0.01, 0.02]. This field returns the highest number of the distribution. In this example, this would be 0.02. /// - [Description("The money amount that's allocated per unit on the associated line based on the discount application in shop and presentment currencies. If the allocated amount for the line cannot be evenly divided by the quantity, then this amount will be an approximate amount, avoiding fractional pennies. For example, if the associated line had a quantity of 3 with a discount of 4 cents, then the discount distribution would be [0.01, 0.01, 0.02]. This field returns the highest number of the distribution. In this example, this would be 0.02.")] - [NonNull] - public MoneyBag? approximateAllocatedAmountPerItem { get; set; } - + [Description("The money amount that's allocated per unit on the associated line based on the discount application in shop and presentment currencies. If the allocated amount for the line cannot be evenly divided by the quantity, then this amount will be an approximate amount, avoiding fractional pennies. For example, if the associated line had a quantity of 3 with a discount of 4 cents, then the discount distribution would be [0.01, 0.01, 0.02]. This field returns the highest number of the distribution. In this example, this would be 0.02.")] + [NonNull] + public MoneyBag? approximateAllocatedAmountPerItem { get; set; } + /// ///The discount application that the allocated amount originated from. /// - [Description("The discount application that the allocated amount originated from.")] - [NonNull] - public FinancialSummaryDiscountApplication? discountApplication { get; set; } - } - + [Description("The discount application that the allocated amount originated from.")] + [NonNull] + public FinancialSummaryDiscountApplication? discountApplication { get; set; } + } + /// ///Discount applications capture the intentions of a discount source at ///the time of application on an order's line items or shipping lines. /// - [Description("Discount applications capture the intentions of a discount source at\nthe time of application on an order's line items or shipping lines.")] - public class FinancialSummaryDiscountApplication : GraphQLObject - { + [Description("Discount applications capture the intentions of a discount source at\nthe time of application on an order's line items or shipping lines.")] + public class FinancialSummaryDiscountApplication : GraphQLObject + { /// ///The method by which the discount's value is applied to its entitled items. /// - [Description("The method by which the discount's value is applied to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is applied to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + } + /// ///Return type for `flowGenerateSignature` mutation. /// - [Description("Return type for `flowGenerateSignature` mutation.")] - public class FlowGenerateSignaturePayload : GraphQLObject - { + [Description("Return type for `flowGenerateSignature` mutation.")] + public class FlowGenerateSignaturePayload : GraphQLObject + { /// ///The payload used to generate the signature. /// - [Description("The payload used to generate the signature.")] - public string? payload { get; set; } - + [Description("The payload used to generate the signature.")] + public string? payload { get; set; } + /// ///The generated signature. /// - [Description("The generated signature.")] - public string? signature { get; set; } - + [Description("The generated signature.")] + public string? signature { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible schema value used to validate the payload. /// - [Description("Possible schema value used to validate the payload.")] - public enum FlowGenerateSignaturePayloadSchema - { + [Description("Possible schema value used to validate the payload.")] + public enum FlowGenerateSignaturePayloadSchema + { /// ///For when an action is executed. Default value if none is provided. /// - [Description("For when an action is executed. Default value if none is provided.")] - ACTION, + [Description("For when an action is executed. Default value if none is provided.")] + ACTION, /// ///For when Flow requests validation. /// - [Description("For when Flow requests validation.")] - VALIDATION, + [Description("For when Flow requests validation.")] + VALIDATION, /// ///For when Flow requests a step preview. /// - [Description("For when Flow requests a step preview.")] - PREVIEW, - } - - public static class FlowGenerateSignaturePayloadSchemaStringValues - { - public const string ACTION = @"ACTION"; - public const string VALIDATION = @"VALIDATION"; - public const string PREVIEW = @"PREVIEW"; - } - + [Description("For when Flow requests a step preview.")] + PREVIEW, + } + + public static class FlowGenerateSignaturePayloadSchemaStringValues + { + public const string ACTION = @"ACTION"; + public const string VALIDATION = @"VALIDATION"; + public const string PREVIEW = @"PREVIEW"; + } + /// ///Return type for `flowTriggerReceive` mutation. /// - [Description("Return type for `flowTriggerReceive` mutation.")] - public class FlowTriggerReceivePayload : GraphQLObject - { + [Description("Return type for `flowTriggerReceive` mutation.")] + public class FlowTriggerReceivePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a fulfillment. ///In Shopify, a fulfillment represents a shipment of one or more items in an order. @@ -44896,1294 +44896,1294 @@ public class FlowTriggerReceivePayload : GraphQLObject - [Description("Represents a fulfillment.\nIn Shopify, a fulfillment represents a shipment of one or more items in an order.\nWhen an order has been completely fulfilled, it means that all the items that are included\nin the order have been sent to the customer.\nThere can be more than one fulfillment for an order.")] - public class Fulfillment : GraphQLObject, ILegacyInteroperability, INode - { + [Description("Represents a fulfillment.\nIn Shopify, a fulfillment represents a shipment of one or more items in an order.\nWhen an order has been completely fulfilled, it means that all the items that are included\nin the order have been sent to the customer.\nThere can be more than one fulfillment for an order.")] + public class Fulfillment : GraphQLObject, ILegacyInteroperability, INode + { /// ///The date and time when the fulfillment was created. /// - [Description("The date and time when the fulfillment was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the fulfillment was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The date that this fulfillment was delivered. /// - [Description("The date that this fulfillment was delivered.")] - public DateTime? deliveredAt { get; set; } - + [Description("The date that this fulfillment was delivered.")] + public DateTime? deliveredAt { get; set; } + /// ///Human readable display status for this fulfillment. /// - [Description("Human readable display status for this fulfillment.")] - [EnumType(typeof(FulfillmentDisplayStatus))] - public string? displayStatus { get; set; } - + [Description("Human readable display status for this fulfillment.")] + [EnumType(typeof(FulfillmentDisplayStatus))] + public string? displayStatus { get; set; } + /// ///The estimated date that this fulfillment will arrive. /// - [Description("The estimated date that this fulfillment will arrive.")] - public DateTime? estimatedDeliveryAt { get; set; } - + [Description("The estimated date that this fulfillment will arrive.")] + public DateTime? estimatedDeliveryAt { get; set; } + /// ///The history of events associated with this fulfillment. /// - [Description("The history of events associated with this fulfillment.")] - [NonNull] - public FulfillmentEventConnection? events { get; set; } - + [Description("The history of events associated with this fulfillment.")] + [NonNull] + public FulfillmentEventConnection? events { get; set; } + /// ///List of the fulfillment's line items. /// - [Description("List of the fulfillment's line items.")] - [NonNull] - public FulfillmentLineItemConnection? fulfillmentLineItems { get; set; } - + [Description("List of the fulfillment's line items.")] + [NonNull] + public FulfillmentLineItemConnection? fulfillmentLineItems { get; set; } + /// ///A paginated list of fulfillment orders for the fulfillment. /// - [Description("A paginated list of fulfillment orders for the fulfillment.")] - [NonNull] - public FulfillmentOrderConnection? fulfillmentOrders { get; set; } - + [Description("A paginated list of fulfillment orders for the fulfillment.")] + [NonNull] + public FulfillmentOrderConnection? fulfillmentOrders { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The date and time when the fulfillment went into transit. /// - [Description("The date and time when the fulfillment went into transit.")] - public DateTime? inTransitAt { get; set; } - + [Description("The date and time when the fulfillment went into transit.")] + public DateTime? inTransitAt { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The location that the fulfillment was processed at. /// - [Description("The location that the fulfillment was processed at.")] - public Location? location { get; set; } - + [Description("The location that the fulfillment was processed at.")] + public Location? location { get; set; } + /// ///Human readable reference identifier for this fulfillment. /// - [Description("Human readable reference identifier for this fulfillment.")] - [NonNull] - public string? name { get; set; } - + [Description("Human readable reference identifier for this fulfillment.")] + [NonNull] + public string? name { get; set; } + /// ///The order for which the fulfillment was created. /// - [Description("The order for which the fulfillment was created.")] - [NonNull] - public Order? order { get; set; } - + [Description("The order for which the fulfillment was created.")] + [NonNull] + public Order? order { get; set; } + /// ///The address at which the fulfillment occurred. This field is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead. /// - [Description("The address at which the fulfillment occurred. This field is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead.")] - public FulfillmentOriginAddress? originAddress { get; set; } - + [Description("The address at which the fulfillment occurred. This field is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead.")] + public FulfillmentOriginAddress? originAddress { get; set; } + /// ///Whether any of the line items in the fulfillment require shipping. /// - [Description("Whether any of the line items in the fulfillment require shipping.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether any of the line items in the fulfillment require shipping.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///Fulfillment service associated with the fulfillment. /// - [Description("Fulfillment service associated with the fulfillment.")] - public FulfillmentService? service { get; set; } - + [Description("Fulfillment service associated with the fulfillment.")] + public FulfillmentService? service { get; set; } + /// ///The status of the fulfillment. /// - [Description("The status of the fulfillment.")] - [NonNull] - [EnumType(typeof(FulfillmentStatus))] - public string? status { get; set; } - + [Description("The status of the fulfillment.")] + [NonNull] + [EnumType(typeof(FulfillmentStatus))] + public string? status { get; set; } + /// ///Sum of all line item quantities for the fulfillment. /// - [Description("Sum of all line item quantities for the fulfillment.")] - [NonNull] - public int? totalQuantity { get; set; } - + [Description("Sum of all line item quantities for the fulfillment.")] + [NonNull] + public int? totalQuantity { get; set; } + /// ///Tracking information associated with the fulfillment, ///such as the tracking company, tracking number, and tracking URL. /// - [Description("Tracking information associated with the fulfillment,\nsuch as the tracking company, tracking number, and tracking URL.")] - [NonNull] - public IEnumerable? trackingInfo { get; set; } - + [Description("Tracking information associated with the fulfillment,\nsuch as the tracking company, tracking number, and tracking URL.")] + [NonNull] + public IEnumerable? trackingInfo { get; set; } + /// ///The date and time when the fulfillment was last modified. /// - [Description("The date and time when the fulfillment was last modified.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the fulfillment was last modified.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `fulfillmentCancel` mutation. /// - [Description("Return type for `fulfillmentCancel` mutation.")] - public class FulfillmentCancelPayload : GraphQLObject - { + [Description("Return type for `fulfillmentCancel` mutation.")] + public class FulfillmentCancelPayload : GraphQLObject + { /// ///The canceled fulfillment. /// - [Description("The canceled fulfillment.")] - public Fulfillment? fulfillment { get; set; } - + [Description("The canceled fulfillment.")] + public Fulfillment? fulfillment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple Fulfillments. /// - [Description("An auto-generated type for paginating through multiple Fulfillments.")] - public class FulfillmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Fulfillments.")] + public class FulfillmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FulfillmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FulfillmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FulfillmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///A fulfillment constraint rule. /// - [Description("A fulfillment constraint rule.")] - public class FulfillmentConstraintRule : GraphQLObject, IHasMetafields, INode - { + [Description("A fulfillment constraint rule.")] + public class FulfillmentConstraintRule : GraphQLObject, IHasMetafields, INode + { /// ///Delivery method types that the function is associated with. /// - [Description("Delivery method types that the function is associated with.")] - [NonNull] - public IEnumerable? deliveryMethodTypes { get; set; } - + [Description("Delivery method types that the function is associated with.")] + [NonNull] + public IEnumerable? deliveryMethodTypes { get; set; } + /// ///The ID for the fulfillment constraint function. /// - [Description("The ID for the fulfillment constraint function.")] - [NonNull] - public ShopifyFunction? function { get; set; } - + [Description("The ID for the fulfillment constraint function.")] + [NonNull] + public ShopifyFunction? function { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + } + /// ///Return type for `fulfillmentConstraintRuleCreate` mutation. /// - [Description("Return type for `fulfillmentConstraintRuleCreate` mutation.")] - public class FulfillmentConstraintRuleCreatePayload : GraphQLObject - { + [Description("Return type for `fulfillmentConstraintRuleCreate` mutation.")] + public class FulfillmentConstraintRuleCreatePayload : GraphQLObject + { /// ///The newly created fulfillment constraint rule. /// - [Description("The newly created fulfillment constraint rule.")] - public FulfillmentConstraintRule? fulfillmentConstraintRule { get; set; } - + [Description("The newly created fulfillment constraint rule.")] + public FulfillmentConstraintRule? fulfillmentConstraintRule { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentConstraintRuleCreate`. /// - [Description("An error that occurs during the execution of `FulfillmentConstraintRuleCreate`.")] - public class FulfillmentConstraintRuleCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentConstraintRuleCreate`.")] + public class FulfillmentConstraintRuleCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentConstraintRuleCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentConstraintRuleCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentConstraintRuleCreateUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentConstraintRuleCreateUserError`.")] - public enum FulfillmentConstraintRuleCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentConstraintRuleCreateUserError`.")] + public enum FulfillmentConstraintRuleCreateUserErrorCode + { /// ///Failed to create fulfillment constraint rule due to invalid input. /// - [Description("Failed to create fulfillment constraint rule due to invalid input.")] - INPUT_INVALID, + [Description("Failed to create fulfillment constraint rule due to invalid input.")] + INPUT_INVALID, /// ///No Shopify Function found for provided function_id. /// - [Description("No Shopify Function found for provided function_id.")] - FUNCTION_NOT_FOUND, + [Description("No Shopify Function found for provided function_id.")] + FUNCTION_NOT_FOUND, /// ///A fulfillment constraint rule already exists for the provided function_id. /// - [Description("A fulfillment constraint rule already exists for the provided function_id.")] - FUNCTION_ALREADY_REGISTERED, + [Description("A fulfillment constraint rule already exists for the provided function_id.")] + FUNCTION_ALREADY_REGISTERED, /// ///Function does not implement the required interface for this fulfillment constraint rule. /// - [Description("Function does not implement the required interface for this fulfillment constraint rule.")] - FUNCTION_DOES_NOT_IMPLEMENT, + [Description("Function does not implement the required interface for this fulfillment constraint rule.")] + FUNCTION_DOES_NOT_IMPLEMENT, /// ///Shop must be on a Shopify Plus plan to activate functions from a custom app. /// - [Description("Shop must be on a Shopify Plus plan to activate functions from a custom app.")] - CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, + [Description("Shop must be on a Shopify Plus plan to activate functions from a custom app.")] + CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, /// ///Function is pending deletion and cannot have new rules created against it. /// - [Description("Function is pending deletion and cannot have new rules created against it.")] - FUNCTION_PENDING_DELETION, + [Description("Function is pending deletion and cannot have new rules created against it.")] + FUNCTION_PENDING_DELETION, /// ///Only one of function_id or function_handle can be provided, not both. /// - [Description("Only one of function_id or function_handle can be provided, not both.")] - MULTIPLE_FUNCTION_IDENTIFIERS, + [Description("Only one of function_id or function_handle can be provided, not both.")] + MULTIPLE_FUNCTION_IDENTIFIERS, /// ///Either function_id or function_handle must be provided. /// - [Description("Either function_id or function_handle must be provided.")] - MISSING_FUNCTION_IDENTIFIER, + [Description("Either function_id or function_handle must be provided.")] + MISSING_FUNCTION_IDENTIFIER, /// ///Maximum number of fulfillment constraint rules reached. Limit is 10. /// - [Description("Maximum number of fulfillment constraint rules reached. Limit is 10.")] - MAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHED, - } - - public static class FulfillmentConstraintRuleCreateUserErrorCodeStringValues - { - public const string INPUT_INVALID = @"INPUT_INVALID"; - public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; - public const string FUNCTION_ALREADY_REGISTERED = @"FUNCTION_ALREADY_REGISTERED"; - public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; - public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; - public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; - public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; - public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; - public const string MAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHED = @"MAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHED"; - } - + [Description("Maximum number of fulfillment constraint rules reached. Limit is 10.")] + MAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHED, + } + + public static class FulfillmentConstraintRuleCreateUserErrorCodeStringValues + { + public const string INPUT_INVALID = @"INPUT_INVALID"; + public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; + public const string FUNCTION_ALREADY_REGISTERED = @"FUNCTION_ALREADY_REGISTERED"; + public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; + public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; + public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; + public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; + public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; + public const string MAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHED = @"MAXIMUM_FULFILLMENT_CONSTRAINT_RULES_REACHED"; + } + /// ///Return type for `fulfillmentConstraintRuleDelete` mutation. /// - [Description("Return type for `fulfillmentConstraintRuleDelete` mutation.")] - public class FulfillmentConstraintRuleDeletePayload : GraphQLObject - { + [Description("Return type for `fulfillmentConstraintRuleDelete` mutation.")] + public class FulfillmentConstraintRuleDeletePayload : GraphQLObject + { /// ///Whether or not the fulfillment constraint rule was successfully deleted. /// - [Description("Whether or not the fulfillment constraint rule was successfully deleted.")] - public bool? success { get; set; } - + [Description("Whether or not the fulfillment constraint rule was successfully deleted.")] + public bool? success { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentConstraintRuleDelete`. /// - [Description("An error that occurs during the execution of `FulfillmentConstraintRuleDelete`.")] - public class FulfillmentConstraintRuleDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentConstraintRuleDelete`.")] + public class FulfillmentConstraintRuleDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentConstraintRuleDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentConstraintRuleDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentConstraintRuleDeleteUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentConstraintRuleDeleteUserError`.")] - public enum FulfillmentConstraintRuleDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentConstraintRuleDeleteUserError`.")] + public enum FulfillmentConstraintRuleDeleteUserErrorCode + { /// ///Could not find fulfillment constraint rule for provided id. /// - [Description("Could not find fulfillment constraint rule for provided id.")] - NOT_FOUND, + [Description("Could not find fulfillment constraint rule for provided id.")] + NOT_FOUND, /// ///Unauthorized app scope. /// - [Description("Unauthorized app scope.")] - UNAUTHORIZED_APP_SCOPE, - } - - public static class FulfillmentConstraintRuleDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; - } - + [Description("Unauthorized app scope.")] + UNAUTHORIZED_APP_SCOPE, + } + + public static class FulfillmentConstraintRuleDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; + } + /// ///Return type for `fulfillmentConstraintRuleUpdate` mutation. /// - [Description("Return type for `fulfillmentConstraintRuleUpdate` mutation.")] - public class FulfillmentConstraintRuleUpdatePayload : GraphQLObject - { + [Description("Return type for `fulfillmentConstraintRuleUpdate` mutation.")] + public class FulfillmentConstraintRuleUpdatePayload : GraphQLObject + { /// ///The updated fulfillment constraint rule. /// - [Description("The updated fulfillment constraint rule.")] - public FulfillmentConstraintRule? fulfillmentConstraintRule { get; set; } - + [Description("The updated fulfillment constraint rule.")] + public FulfillmentConstraintRule? fulfillmentConstraintRule { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentConstraintRuleUpdate`. /// - [Description("An error that occurs during the execution of `FulfillmentConstraintRuleUpdate`.")] - public class FulfillmentConstraintRuleUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentConstraintRuleUpdate`.")] + public class FulfillmentConstraintRuleUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentConstraintRuleUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentConstraintRuleUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentConstraintRuleUpdateUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentConstraintRuleUpdateUserError`.")] - public enum FulfillmentConstraintRuleUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentConstraintRuleUpdateUserError`.")] + public enum FulfillmentConstraintRuleUpdateUserErrorCode + { /// ///Could not find fulfillment constraint rule for provided id. /// - [Description("Could not find fulfillment constraint rule for provided id.")] - NOT_FOUND, + [Description("Could not find fulfillment constraint rule for provided id.")] + NOT_FOUND, /// ///Unauthorized app scope. /// - [Description("Unauthorized app scope.")] - UNAUTHORIZED_APP_SCOPE, - } - - public static class FulfillmentConstraintRuleUpdateUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; - } - + [Description("Unauthorized app scope.")] + UNAUTHORIZED_APP_SCOPE, + } + + public static class FulfillmentConstraintRuleUpdateUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string UNAUTHORIZED_APP_SCOPE = @"UNAUTHORIZED_APP_SCOPE"; + } + /// ///Return type for `fulfillmentCreate` mutation. /// - [Description("Return type for `fulfillmentCreate` mutation.")] - public class FulfillmentCreatePayload : GraphQLObject - { + [Description("Return type for `fulfillmentCreate` mutation.")] + public class FulfillmentCreatePayload : GraphQLObject + { /// ///The created fulfillment. /// - [Description("The created fulfillment.")] - public Fulfillment? fulfillment { get; set; } - + [Description("The created fulfillment.")] + public Fulfillment? fulfillment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentCreateV2` mutation. /// - [Description("Return type for `fulfillmentCreateV2` mutation.")] - public class FulfillmentCreateV2Payload : GraphQLObject - { + [Description("Return type for `fulfillmentCreateV2` mutation.")] + public class FulfillmentCreateV2Payload : GraphQLObject + { /// ///The created fulfillment. /// - [Description("The created fulfillment.")] - public Fulfillment? fulfillment { get; set; } - + [Description("The created fulfillment.")] + public Fulfillment? fulfillment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The display status of a fulfillment. /// - [Description("The display status of a fulfillment.")] - public enum FulfillmentDisplayStatus - { + [Description("The display status of a fulfillment.")] + public enum FulfillmentDisplayStatus + { /// ///Displayed as **Attempted delivery**. /// - [Description("Displayed as **Attempted delivery**.")] - ATTEMPTED_DELIVERY, + [Description("Displayed as **Attempted delivery**.")] + ATTEMPTED_DELIVERY, /// ///Displayed as **Canceled**. /// - [Description("Displayed as **Canceled**.")] - CANCELED, + [Description("Displayed as **Canceled**.")] + CANCELED, /// ///Displayed as **Confirmed**. /// - [Description("Displayed as **Confirmed**.")] - CONFIRMED, + [Description("Displayed as **Confirmed**.")] + CONFIRMED, /// ///Displayed as **Delayed**. /// - [Description("Displayed as **Delayed**.")] - DELAYED, + [Description("Displayed as **Delayed**.")] + DELAYED, /// ///Displayed as **Delivered**. /// - [Description("Displayed as **Delivered**.")] - DELIVERED, + [Description("Displayed as **Delivered**.")] + DELIVERED, /// ///Displayed as **Failure**. /// - [Description("Displayed as **Failure**.")] - FAILURE, + [Description("Displayed as **Failure**.")] + FAILURE, /// ///Displayed as **Fulfilled**. /// - [Description("Displayed as **Fulfilled**.")] - FULFILLED, + [Description("Displayed as **Fulfilled**.")] + FULFILLED, /// ///Displayed as **Picked up by carrier**. /// - [Description("Displayed as **Picked up by carrier**.")] - CARRIER_PICKED_UP, + [Description("Displayed as **Picked up by carrier**.")] + CARRIER_PICKED_UP, /// ///Displayed as **In transit**. /// - [Description("Displayed as **In transit**.")] - IN_TRANSIT, + [Description("Displayed as **In transit**.")] + IN_TRANSIT, /// ///Displayed as **Label printed**. /// - [Description("Displayed as **Label printed**.")] - LABEL_PRINTED, + [Description("Displayed as **Label printed**.")] + LABEL_PRINTED, /// ///Displayed as **Label purchased**. /// - [Description("Displayed as **Label purchased**.")] - LABEL_PURCHASED, + [Description("Displayed as **Label purchased**.")] + LABEL_PURCHASED, /// ///Displayed as **Label voided**. /// - [Description("Displayed as **Label voided**.")] - LABEL_VOIDED, + [Description("Displayed as **Label voided**.")] + LABEL_VOIDED, /// ///Displayed as **Marked as fulfilled**. /// - [Description("Displayed as **Marked as fulfilled**.")] - MARKED_AS_FULFILLED, + [Description("Displayed as **Marked as fulfilled**.")] + MARKED_AS_FULFILLED, /// ///Displayed as **Not delivered**. /// - [Description("Displayed as **Not delivered**.")] - NOT_DELIVERED, + [Description("Displayed as **Not delivered**.")] + NOT_DELIVERED, /// ///Displayed as **Out for delivery**. /// - [Description("Displayed as **Out for delivery**.")] - OUT_FOR_DELIVERY, + [Description("Displayed as **Out for delivery**.")] + OUT_FOR_DELIVERY, /// ///Displayed as **Ready for pickup**. /// - [Description("Displayed as **Ready for pickup**.")] - READY_FOR_PICKUP, + [Description("Displayed as **Ready for pickup**.")] + READY_FOR_PICKUP, /// ///Displayed as **Picked up**. /// - [Description("Displayed as **Picked up**.")] - PICKED_UP, + [Description("Displayed as **Picked up**.")] + PICKED_UP, /// ///Displayed as **Submitted**. /// - [Description("Displayed as **Submitted**.")] - SUBMITTED, - } - - public static class FulfillmentDisplayStatusStringValues - { - public const string ATTEMPTED_DELIVERY = @"ATTEMPTED_DELIVERY"; - public const string CANCELED = @"CANCELED"; - public const string CONFIRMED = @"CONFIRMED"; - public const string DELAYED = @"DELAYED"; - public const string DELIVERED = @"DELIVERED"; - public const string FAILURE = @"FAILURE"; - public const string FULFILLED = @"FULFILLED"; - public const string CARRIER_PICKED_UP = @"CARRIER_PICKED_UP"; - public const string IN_TRANSIT = @"IN_TRANSIT"; - public const string LABEL_PRINTED = @"LABEL_PRINTED"; - public const string LABEL_PURCHASED = @"LABEL_PURCHASED"; - public const string LABEL_VOIDED = @"LABEL_VOIDED"; - public const string MARKED_AS_FULFILLED = @"MARKED_AS_FULFILLED"; - public const string NOT_DELIVERED = @"NOT_DELIVERED"; - public const string OUT_FOR_DELIVERY = @"OUT_FOR_DELIVERY"; - public const string READY_FOR_PICKUP = @"READY_FOR_PICKUP"; - public const string PICKED_UP = @"PICKED_UP"; - public const string SUBMITTED = @"SUBMITTED"; - } - + [Description("Displayed as **Submitted**.")] + SUBMITTED, + } + + public static class FulfillmentDisplayStatusStringValues + { + public const string ATTEMPTED_DELIVERY = @"ATTEMPTED_DELIVERY"; + public const string CANCELED = @"CANCELED"; + public const string CONFIRMED = @"CONFIRMED"; + public const string DELAYED = @"DELAYED"; + public const string DELIVERED = @"DELIVERED"; + public const string FAILURE = @"FAILURE"; + public const string FULFILLED = @"FULFILLED"; + public const string CARRIER_PICKED_UP = @"CARRIER_PICKED_UP"; + public const string IN_TRANSIT = @"IN_TRANSIT"; + public const string LABEL_PRINTED = @"LABEL_PRINTED"; + public const string LABEL_PURCHASED = @"LABEL_PURCHASED"; + public const string LABEL_VOIDED = @"LABEL_VOIDED"; + public const string MARKED_AS_FULFILLED = @"MARKED_AS_FULFILLED"; + public const string NOT_DELIVERED = @"NOT_DELIVERED"; + public const string OUT_FOR_DELIVERY = @"OUT_FOR_DELIVERY"; + public const string READY_FOR_PICKUP = @"READY_FOR_PICKUP"; + public const string PICKED_UP = @"PICKED_UP"; + public const string SUBMITTED = @"SUBMITTED"; + } + /// ///An auto-generated type which holds one Fulfillment and a cursor during pagination. /// - [Description("An auto-generated type which holds one Fulfillment and a cursor during pagination.")] - public class FulfillmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Fulfillment and a cursor during pagination.")] + public class FulfillmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FulfillmentEdge. /// - [Description("The item at the end of FulfillmentEdge.")] - [NonNull] - public Fulfillment? node { get; set; } - } - + [Description("The item at the end of FulfillmentEdge.")] + [NonNull] + public Fulfillment? node { get; set; } + } + /// ///The fulfillment event that describes the fulfilllment status at a particular time. /// - [Description("The fulfillment event that describes the fulfilllment status at a particular time.")] - public class FulfillmentEvent : GraphQLObject, INode - { + [Description("The fulfillment event that describes the fulfilllment status at a particular time.")] + public class FulfillmentEvent : GraphQLObject, INode + { /// ///The street address where this fulfillment event occurred. /// - [Description("The street address where this fulfillment event occurred.")] - public string? address1 { get; set; } - + [Description("The street address where this fulfillment event occurred.")] + public string? address1 { get; set; } + /// ///The city where this fulfillment event occurred. /// - [Description("The city where this fulfillment event occurred.")] - public string? city { get; set; } - + [Description("The city where this fulfillment event occurred.")] + public string? city { get; set; } + /// ///The country where this fulfillment event occurred. /// - [Description("The country where this fulfillment event occurred.")] - public string? country { get; set; } - + [Description("The country where this fulfillment event occurred.")] + public string? country { get; set; } + /// ///The date and time when the fulfillment event was created. /// - [Description("The date and time when the fulfillment event was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the fulfillment event was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The estimated delivery date and time of the fulfillment. /// - [Description("The estimated delivery date and time of the fulfillment.")] - public DateTime? estimatedDeliveryAt { get; set; } - + [Description("The estimated delivery date and time of the fulfillment.")] + public DateTime? estimatedDeliveryAt { get; set; } + /// ///The time at which this fulfillment event happened. /// - [Description("The time at which this fulfillment event happened.")] - [NonNull] - public DateTime? happenedAt { get; set; } - + [Description("The time at which this fulfillment event happened.")] + [NonNull] + public DateTime? happenedAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The latitude where this fulfillment event occurred. /// - [Description("The latitude where this fulfillment event occurred.")] - public decimal? latitude { get; set; } - + [Description("The latitude where this fulfillment event occurred.")] + public decimal? latitude { get; set; } + /// ///The longitude where this fulfillment event occurred. /// - [Description("The longitude where this fulfillment event occurred.")] - public decimal? longitude { get; set; } - + [Description("The longitude where this fulfillment event occurred.")] + public decimal? longitude { get; set; } + /// ///A message associated with this fulfillment event. /// - [Description("A message associated with this fulfillment event.")] - public string? message { get; set; } - + [Description("A message associated with this fulfillment event.")] + public string? message { get; set; } + /// ///The province where this fulfillment event occurred. /// - [Description("The province where this fulfillment event occurred.")] - public string? province { get; set; } - + [Description("The province where this fulfillment event occurred.")] + public string? province { get; set; } + /// ///The status of this fulfillment event. /// - [Description("The status of this fulfillment event.")] - [NonNull] - [EnumType(typeof(FulfillmentEventStatus))] - public string? status { get; set; } - + [Description("The status of this fulfillment event.")] + [NonNull] + [EnumType(typeof(FulfillmentEventStatus))] + public string? status { get; set; } + /// ///The zip code of the location where this fulfillment event occurred. /// - [Description("The zip code of the location where this fulfillment event occurred.")] - public string? zip { get; set; } - } - + [Description("The zip code of the location where this fulfillment event occurred.")] + public string? zip { get; set; } + } + /// ///An auto-generated type for paginating through multiple FulfillmentEvents. /// - [Description("An auto-generated type for paginating through multiple FulfillmentEvents.")] - public class FulfillmentEventConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple FulfillmentEvents.")] + public class FulfillmentEventConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FulfillmentEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FulfillmentEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FulfillmentEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `fulfillmentEventCreate` mutation. /// - [Description("Return type for `fulfillmentEventCreate` mutation.")] - public class FulfillmentEventCreatePayload : GraphQLObject - { + [Description("Return type for `fulfillmentEventCreate` mutation.")] + public class FulfillmentEventCreatePayload : GraphQLObject + { /// ///The created fulfillment event. /// - [Description("The created fulfillment event.")] - public FulfillmentEvent? fulfillmentEvent { get; set; } - + [Description("The created fulfillment event.")] + public FulfillmentEvent? fulfillmentEvent { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one FulfillmentEvent and a cursor during pagination. /// - [Description("An auto-generated type which holds one FulfillmentEvent and a cursor during pagination.")] - public class FulfillmentEventEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one FulfillmentEvent and a cursor during pagination.")] + public class FulfillmentEventEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FulfillmentEventEdge. /// - [Description("The item at the end of FulfillmentEventEdge.")] - [NonNull] - public FulfillmentEvent? node { get; set; } - } - + [Description("The item at the end of FulfillmentEventEdge.")] + [NonNull] + public FulfillmentEvent? node { get; set; } + } + /// ///The input fields used to create a fulfillment event. /// - [Description("The input fields used to create a fulfillment event.")] - public class FulfillmentEventInput : GraphQLObject - { + [Description("The input fields used to create a fulfillment event.")] + public class FulfillmentEventInput : GraphQLObject + { /// ///The street address where this fulfillment event occurred. /// - [Description("The street address where this fulfillment event occurred.")] - public string? address1 { get; set; } - + [Description("The street address where this fulfillment event occurred.")] + public string? address1 { get; set; } + /// ///The city where this fulfillment event occurred. /// - [Description("The city where this fulfillment event occurred.")] - public string? city { get; set; } - + [Description("The city where this fulfillment event occurred.")] + public string? city { get; set; } + /// ///The country where this fulfillment event occurred. /// - [Description("The country where this fulfillment event occurred.")] - public string? country { get; set; } - + [Description("The country where this fulfillment event occurred.")] + public string? country { get; set; } + /// ///The estimated delivery date and time of the fulfillment. /// - [Description("The estimated delivery date and time of the fulfillment.")] - public DateTime? estimatedDeliveryAt { get; set; } - + [Description("The estimated delivery date and time of the fulfillment.")] + public DateTime? estimatedDeliveryAt { get; set; } + /// ///The time at which this fulfillment event happened. /// - [Description("The time at which this fulfillment event happened.")] - public DateTime? happenedAt { get; set; } - + [Description("The time at which this fulfillment event happened.")] + public DateTime? happenedAt { get; set; } + /// ///The ID for the fulfillment that's associated with this fulfillment event. /// - [Description("The ID for the fulfillment that's associated with this fulfillment event.")] - [NonNull] - public string? fulfillmentId { get; set; } - + [Description("The ID for the fulfillment that's associated with this fulfillment event.")] + [NonNull] + public string? fulfillmentId { get; set; } + /// ///The latitude where this fulfillment event occurred. /// - [Description("The latitude where this fulfillment event occurred.")] - public decimal? latitude { get; set; } - + [Description("The latitude where this fulfillment event occurred.")] + public decimal? latitude { get; set; } + /// ///The longitude where this fulfillment event occurred. /// - [Description("The longitude where this fulfillment event occurred.")] - public decimal? longitude { get; set; } - + [Description("The longitude where this fulfillment event occurred.")] + public decimal? longitude { get; set; } + /// ///A message associated with this fulfillment event. /// - [Description("A message associated with this fulfillment event.")] - public string? message { get; set; } - + [Description("A message associated with this fulfillment event.")] + public string? message { get; set; } + /// ///The province where this fulfillment event occurred. /// - [Description("The province where this fulfillment event occurred.")] - public string? province { get; set; } - + [Description("The province where this fulfillment event occurred.")] + public string? province { get; set; } + /// ///The status of this fulfillment event. /// - [Description("The status of this fulfillment event.")] - [NonNull] - [EnumType(typeof(FulfillmentEventStatus))] - public string? status { get; set; } - + [Description("The status of this fulfillment event.")] + [NonNull] + [EnumType(typeof(FulfillmentEventStatus))] + public string? status { get; set; } + /// ///The zip code of the location where this fulfillment event occurred. /// - [Description("The zip code of the location where this fulfillment event occurred.")] - public string? zip { get; set; } - } - + [Description("The zip code of the location where this fulfillment event occurred.")] + public string? zip { get; set; } + } + /// ///The set of valid sort keys for the FulfillmentEvent query. /// - [Description("The set of valid sort keys for the FulfillmentEvent query.")] - public enum FulfillmentEventSortKeys - { + [Description("The set of valid sort keys for the FulfillmentEvent query.")] + public enum FulfillmentEventSortKeys + { /// ///Sort by the `happened_at` value. /// - [Description("Sort by the `happened_at` value.")] - HAPPENED_AT, + [Description("Sort by the `happened_at` value.")] + HAPPENED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class FulfillmentEventSortKeysStringValues - { - public const string HAPPENED_AT = @"HAPPENED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class FulfillmentEventSortKeysStringValues + { + public const string HAPPENED_AT = @"HAPPENED_AT"; + public const string ID = @"ID"; + } + /// ///The status that describes a fulfillment or delivery event. /// - [Description("The status that describes a fulfillment or delivery event.")] - public enum FulfillmentEventStatus - { + [Description("The status that describes a fulfillment or delivery event.")] + public enum FulfillmentEventStatus + { /// ///A shipping label has been purchased. /// - [Description("A shipping label has been purchased.")] - LABEL_PURCHASED, + [Description("A shipping label has been purchased.")] + LABEL_PURCHASED, /// ///A purchased shipping label has been printed. /// - [Description("A purchased shipping label has been printed.")] - LABEL_PRINTED, + [Description("A purchased shipping label has been printed.")] + LABEL_PRINTED, /// ///The fulfillment is ready to be picked up. /// - [Description("The fulfillment is ready to be picked up.")] - READY_FOR_PICKUP, + [Description("The fulfillment is ready to be picked up.")] + READY_FOR_PICKUP, /// ///The fulfillment is confirmed. This is the default value when no other information is available. /// - [Description("The fulfillment is confirmed. This is the default value when no other information is available.")] - CONFIRMED, + [Description("The fulfillment is confirmed. This is the default value when no other information is available.")] + CONFIRMED, /// ///The fulfillment is in transit. /// - [Description("The fulfillment is in transit.")] - IN_TRANSIT, + [Description("The fulfillment is in transit.")] + IN_TRANSIT, /// ///The fulfillment is out for delivery. /// - [Description("The fulfillment is out for delivery.")] - OUT_FOR_DELIVERY, + [Description("The fulfillment is out for delivery.")] + OUT_FOR_DELIVERY, /// ///A delivery was attempted. /// - [Description("A delivery was attempted.")] - ATTEMPTED_DELIVERY, + [Description("A delivery was attempted.")] + ATTEMPTED_DELIVERY, /// ///The fulfillment is delayed. /// - [Description("The fulfillment is delayed.")] - DELAYED, + [Description("The fulfillment is delayed.")] + DELAYED, /// ///The fulfillment was successfully delivered. /// - [Description("The fulfillment was successfully delivered.")] - DELIVERED, + [Description("The fulfillment was successfully delivered.")] + DELIVERED, /// ///The fulfillment was successfully picked up. /// - [Description("The fulfillment was successfully picked up.")] - PICKED_UP, + [Description("The fulfillment was successfully picked up.")] + PICKED_UP, /// ///The fulfillment request failed. /// - [Description("The fulfillment request failed.")] - FAILURE, + [Description("The fulfillment request failed.")] + FAILURE, /// ///The fulfillment has been picked up by the carrier. /// - [Description("The fulfillment has been picked up by the carrier.")] - CARRIER_PICKED_UP, - } - - public static class FulfillmentEventStatusStringValues - { - public const string LABEL_PURCHASED = @"LABEL_PURCHASED"; - public const string LABEL_PRINTED = @"LABEL_PRINTED"; - public const string READY_FOR_PICKUP = @"READY_FOR_PICKUP"; - public const string CONFIRMED = @"CONFIRMED"; - public const string IN_TRANSIT = @"IN_TRANSIT"; - public const string OUT_FOR_DELIVERY = @"OUT_FOR_DELIVERY"; - public const string ATTEMPTED_DELIVERY = @"ATTEMPTED_DELIVERY"; - public const string DELAYED = @"DELAYED"; - public const string DELIVERED = @"DELIVERED"; - public const string PICKED_UP = @"PICKED_UP"; - public const string FAILURE = @"FAILURE"; - public const string CARRIER_PICKED_UP = @"CARRIER_PICKED_UP"; - } - + [Description("The fulfillment has been picked up by the carrier.")] + CARRIER_PICKED_UP, + } + + public static class FulfillmentEventStatusStringValues + { + public const string LABEL_PURCHASED = @"LABEL_PURCHASED"; + public const string LABEL_PRINTED = @"LABEL_PRINTED"; + public const string READY_FOR_PICKUP = @"READY_FOR_PICKUP"; + public const string CONFIRMED = @"CONFIRMED"; + public const string IN_TRANSIT = @"IN_TRANSIT"; + public const string OUT_FOR_DELIVERY = @"OUT_FOR_DELIVERY"; + public const string ATTEMPTED_DELIVERY = @"ATTEMPTED_DELIVERY"; + public const string DELAYED = @"DELAYED"; + public const string DELIVERED = @"DELIVERED"; + public const string PICKED_UP = @"PICKED_UP"; + public const string FAILURE = @"FAILURE"; + public const string CARRIER_PICKED_UP = @"CARRIER_PICKED_UP"; + } + /// ///A fulfillment hold currently applied on a fulfillment order. /// - [Description("A fulfillment hold currently applied on a fulfillment order.")] - public class FulfillmentHold : GraphQLObject, INode - { + [Description("A fulfillment hold currently applied on a fulfillment order.")] + public class FulfillmentHold : GraphQLObject, INode + { /// ///The localized reason for the fulfillment hold for display purposes. /// - [Description("The localized reason for the fulfillment hold for display purposes.")] - [NonNull] - public string? displayReason { get; set; } - + [Description("The localized reason for the fulfillment hold for display purposes.")] + [NonNull] + public string? displayReason { get; set; } + /// ///An identifier an app can use to reference one of many holds it applied to a fulfillment order. ///This field must be unique among the holds that a single app applies to a single fulfillment order. /// - [Description("An identifier an app can use to reference one of many holds it applied to a fulfillment order.\nThis field must be unique among the holds that a single app applies to a single fulfillment order.")] - public string? handle { get; set; } - + [Description("An identifier an app can use to reference one of many holds it applied to a fulfillment order.\nThis field must be unique among the holds that a single app applies to a single fulfillment order.")] + public string? handle { get; set; } + /// ///The app that created the fulfillment hold. /// - [Description("The app that created the fulfillment hold.")] - public App? heldByApp { get; set; } - + [Description("The app that created the fulfillment hold.")] + public App? heldByApp { get; set; } + /// ///A boolean value that indicates whether the requesting app created the fulfillment hold. /// - [Description("A boolean value that indicates whether the requesting app created the fulfillment hold.")] - [NonNull] - public bool? heldByRequestingApp { get; set; } - + [Description("A boolean value that indicates whether the requesting app created the fulfillment hold.")] + [NonNull] + public bool? heldByRequestingApp { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The reason for the fulfillment hold. /// - [Description("The reason for the fulfillment hold.")] - [NonNull] - [EnumType(typeof(FulfillmentHoldReason))] - public string? reason { get; set; } - + [Description("The reason for the fulfillment hold.")] + [NonNull] + [EnumType(typeof(FulfillmentHoldReason))] + public string? reason { get; set; } + /// ///Additional information about the fulfillment hold reason. /// - [Description("Additional information about the fulfillment hold reason.")] - public string? reasonNotes { get; set; } - + [Description("Additional information about the fulfillment hold reason.")] + public string? reasonNotes { get; set; } + /// ///An optional warning message displayed when attempting to release the fulfillment hold. /// - [Description("An optional warning message displayed when attempting to release the fulfillment hold.")] - public string? releaseWarning { get; set; } - } - + [Description("An optional warning message displayed when attempting to release the fulfillment hold.")] + public string? releaseWarning { get; set; } + } + /// ///The reason for a fulfillment hold. /// - [Description("The reason for a fulfillment hold.")] - public enum FulfillmentHoldReason - { + [Description("The reason for a fulfillment hold.")] + public enum FulfillmentHoldReason + { /// ///The fulfillment hold is applied because payment is pending. /// - [Description("The fulfillment hold is applied because payment is pending.")] - AWAITING_PAYMENT, + [Description("The fulfillment hold is applied because payment is pending.")] + AWAITING_PAYMENT, /// ///The fulfillment hold is applied because of a high risk of fraud. /// - [Description("The fulfillment hold is applied because of a high risk of fraud.")] - HIGH_RISK_OF_FRAUD, + [Description("The fulfillment hold is applied because of a high risk of fraud.")] + HIGH_RISK_OF_FRAUD, /// ///The fulfillment hold is applied because of an incorrect address. /// - [Description("The fulfillment hold is applied because of an incorrect address.")] - INCORRECT_ADDRESS, + [Description("The fulfillment hold is applied because of an incorrect address.")] + INCORRECT_ADDRESS, /// ///The fulfillment hold is applied because inventory is out of stock. /// - [Description("The fulfillment hold is applied because inventory is out of stock.")] - INVENTORY_OUT_OF_STOCK, + [Description("The fulfillment hold is applied because inventory is out of stock.")] + INVENTORY_OUT_OF_STOCK, /// ///The fulfillment hold is applied because of an unknown delivery date. /// - [Description("The fulfillment hold is applied because of an unknown delivery date.")] - UNKNOWN_DELIVERY_DATE, + [Description("The fulfillment hold is applied because of an unknown delivery date.")] + UNKNOWN_DELIVERY_DATE, /// ///The fulfillment hold is applied because of a post purchase upsell offer. /// - [Description("The fulfillment hold is applied because of a post purchase upsell offer.")] - ONLINE_STORE_POST_PURCHASE_CROSS_SELL, + [Description("The fulfillment hold is applied because of a post purchase upsell offer.")] + ONLINE_STORE_POST_PURCHASE_CROSS_SELL, /// ///The fulfillment hold is applied because of return items not yet received during an exchange. /// - [Description("The fulfillment hold is applied because of return items not yet received during an exchange.")] - AWAITING_RETURN_ITEMS, + [Description("The fulfillment hold is applied because of return items not yet received during an exchange.")] + AWAITING_RETURN_ITEMS, /// ///The fulfillment hold is applied for another reason. /// - [Description("The fulfillment hold is applied for another reason.")] - OTHER, - } - - public static class FulfillmentHoldReasonStringValues - { - public const string AWAITING_PAYMENT = @"AWAITING_PAYMENT"; - public const string HIGH_RISK_OF_FRAUD = @"HIGH_RISK_OF_FRAUD"; - public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; - public const string INVENTORY_OUT_OF_STOCK = @"INVENTORY_OUT_OF_STOCK"; - public const string UNKNOWN_DELIVERY_DATE = @"UNKNOWN_DELIVERY_DATE"; - public const string ONLINE_STORE_POST_PURCHASE_CROSS_SELL = @"ONLINE_STORE_POST_PURCHASE_CROSS_SELL"; - public const string AWAITING_RETURN_ITEMS = @"AWAITING_RETURN_ITEMS"; - public const string OTHER = @"OTHER"; - } - + [Description("The fulfillment hold is applied for another reason.")] + OTHER, + } + + public static class FulfillmentHoldReasonStringValues + { + public const string AWAITING_PAYMENT = @"AWAITING_PAYMENT"; + public const string HIGH_RISK_OF_FRAUD = @"HIGH_RISK_OF_FRAUD"; + public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; + public const string INVENTORY_OUT_OF_STOCK = @"INVENTORY_OUT_OF_STOCK"; + public const string UNKNOWN_DELIVERY_DATE = @"UNKNOWN_DELIVERY_DATE"; + public const string ONLINE_STORE_POST_PURCHASE_CROSS_SELL = @"ONLINE_STORE_POST_PURCHASE_CROSS_SELL"; + public const string AWAITING_RETURN_ITEMS = @"AWAITING_RETURN_ITEMS"; + public const string OTHER = @"OTHER"; + } + /// ///The input fields used to create a fulfillment from fulfillment orders. /// - [Description("The input fields used to create a fulfillment from fulfillment orders.")] - public class FulfillmentInput : GraphQLObject - { + [Description("The input fields used to create a fulfillment from fulfillment orders.")] + public class FulfillmentInput : GraphQLObject + { /// ///The fulfillment's tracking information, including a tracking URL, a tracking number, ///and the company associated with the fulfillment. /// - [Description("The fulfillment's tracking information, including a tracking URL, a tracking number,\nand the company associated with the fulfillment.")] - public FulfillmentTrackingInput? trackingInfo { get; set; } - + [Description("The fulfillment's tracking information, including a tracking URL, a tracking number,\nand the company associated with the fulfillment.")] + public FulfillmentTrackingInput? trackingInfo { get; set; } + /// ///Whether the customer is notified. ///If `true`, then a notification is sent when the fulfillment is created. The default value is `false`. /// - [Description("Whether the customer is notified.\nIf `true`, then a notification is sent when the fulfillment is created. The default value is `false`.")] - public bool? notifyCustomer { get; set; } - + [Description("Whether the customer is notified.\nIf `true`, then a notification is sent when the fulfillment is created. The default value is `false`.")] + public bool? notifyCustomer { get; set; } + /// ///Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment ///order line items that have to be fulfilled for each fulfillment order. For any given pair, if the ///fulfillment order line items are left blank then all the fulfillment order line items of the ///associated fulfillment order ID will be fulfilled. /// - [Description("Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment\norder line items that have to be fulfilled for each fulfillment order. For any given pair, if the\nfulfillment order line items are left blank then all the fulfillment order line items of the\nassociated fulfillment order ID will be fulfilled.")] - [NonNull] - public IEnumerable? lineItemsByFulfillmentOrder { get; set; } - + [Description("Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment\norder line items that have to be fulfilled for each fulfillment order. For any given pair, if the\nfulfillment order line items are left blank then all the fulfillment order line items of the\nassociated fulfillment order ID will be fulfilled.")] + [NonNull] + public IEnumerable? lineItemsByFulfillmentOrder { get; set; } + /// ///Address information about the location from which the order was fulfilled. /// - [Description("Address information about the location from which the order was fulfilled.")] - public FulfillmentOriginAddressInput? originAddress { get; set; } - } - + [Description("Address information about the location from which the order was fulfilled.")] + public FulfillmentOriginAddressInput? originAddress { get; set; } + } + /// ///Represents a line item from an order that's included in a fulfillment. /// - [Description("Represents a line item from an order that's included in a fulfillment.")] - public class FulfillmentLineItem : GraphQLObject, INode - { + [Description("Represents a line item from an order that's included in a fulfillment.")] + public class FulfillmentLineItem : GraphQLObject, INode + { /// ///The total price after discounts are applied. /// - [Description("The total price after discounts are applied.")] - [Obsolete("Use `discountedTotalSet` instead.")] - [NonNull] - public decimal? discountedTotal { get; set; } - + [Description("The total price after discounts are applied.")] + [Obsolete("Use `discountedTotalSet` instead.")] + [NonNull] + public decimal? discountedTotal { get; set; } + /// ///The total price after discounts are applied in shop and presentment currencies. This value doesn't include order-level discounts. /// - [Description("The total price after discounts are applied in shop and presentment currencies. This value doesn't include order-level discounts.")] - [NonNull] - public MoneyBag? discountedTotalSet { get; set; } - + [Description("The total price after discounts are applied in shop and presentment currencies. This value doesn't include order-level discounts.")] + [NonNull] + public MoneyBag? discountedTotalSet { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The associated order's line item. /// - [Description("The associated order's line item.")] - [NonNull] - public LineItem? lineItem { get; set; } - + [Description("The associated order's line item.")] + [NonNull] + public LineItem? lineItem { get; set; } + /// ///The total price before discounts are applied. /// - [Description("The total price before discounts are applied.")] - [Obsolete("Use `originalTotalSet` instead.")] - [NonNull] - public decimal? originalTotal { get; set; } - + [Description("The total price before discounts are applied.")] + [Obsolete("Use `originalTotalSet` instead.")] + [NonNull] + public decimal? originalTotal { get; set; } + /// ///The total price before discounts are applied in shop and presentment currencies. /// - [Description("The total price before discounts are applied in shop and presentment currencies.")] - [NonNull] - public MoneyBag? originalTotalSet { get; set; } - + [Description("The total price before discounts are applied in shop and presentment currencies.")] + [NonNull] + public MoneyBag? originalTotalSet { get; set; } + /// ///Number of line items in the fulfillment. /// - [Description("Number of line items in the fulfillment.")] - public int? quantity { get; set; } - } - + [Description("Number of line items in the fulfillment.")] + public int? quantity { get; set; } + } + /// ///An auto-generated type for paginating through multiple FulfillmentLineItems. /// - [Description("An auto-generated type for paginating through multiple FulfillmentLineItems.")] - public class FulfillmentLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple FulfillmentLineItems.")] + public class FulfillmentLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FulfillmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FulfillmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FulfillmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.")] - public class FulfillmentLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.")] + public class FulfillmentLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FulfillmentLineItemEdge. /// - [Description("The item at the end of FulfillmentLineItemEdge.")] - [NonNull] - public FulfillmentLineItem? node { get; set; } - } - + [Description("The item at the end of FulfillmentLineItemEdge.")] + [NonNull] + public FulfillmentLineItem? node { get; set; } + } + /// ///The FulfillmentOrder object represents either an item or a group of items in an ///[Order](https://shopify.dev/api/admin-graphql/latest/objects/Order) @@ -46347,9 +46347,9 @@ public class FulfillmentLineItemEdge : GraphQLObject, I /// ///[Learn about fulfillment workflows](https://shopify.dev/apps/fulfillment). /// - [Description("The FulfillmentOrder object represents either an item or a group of items in an\n[Order](https://shopify.dev/api/admin-graphql/latest/objects/Order)\nthat are expected to be fulfilled from the same location.\nThere can be more than one fulfillment order for an\n[order](https://shopify.dev/api/admin-graphql/latest/objects/Order)\nat a given location.\n\n{{ '/api/reference/fulfillment_order_relationships.png' | image }}\n\nFulfillment orders represent the work which is intended to be done in relation to an order.\nWhen fulfillment has started for one or more line items, a\n[Fulfillment](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment)\nis created by a merchant or third party to represent the ongoing or completed work of fulfillment.\n\n[See below for more details on creating fulfillments](#the-lifecycle-of-a-fulfillment-order-at-a-location-which-is-managed-by-a-fulfillment-service).\n\n> Note:\n> Shopify creates fulfillment orders automatically when an order is created.\n> It is not possible to manually create fulfillment orders.\n>\n> [See below for more details on the lifecycle of a fulfillment order](#the-lifecycle-of-a-fulfillment-order).\n\n## Retrieving fulfillment orders\n\n### Fulfillment orders from an order\n\nAll fulfillment orders related to a given order can be retrieved with the\n[Order.fulfillmentOrders](https://shopify.dev/api/admin-graphql/latest/objects/Order#connection-order-fulfillmentorders)\nconnection.\n\n[API access scopes](#api-access-scopes)\ngovern which fulfillments orders are returned to clients.\nAn API client will only receive a subset of the fulfillment orders which belong to an order\nif they don't have the necessary access scopes to view all of the fulfillment orders.\n\n### Fulfillment orders assigned to the app for fulfillment\n\nFulfillment service apps can retrieve the fulfillment orders which have been assigned to their locations with the\n[assignedFulfillmentOrders](https://shopify.dev/api/admin-graphql/2024-07/objects/queryroot#connection-assignedfulfillmentorders)\nconnection.\nUse the `assignmentStatus` argument to control whether all assigned fulfillment orders\nshould be returned or only those where a merchant has sent a\n[fulfillment request](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderMerchantRequest)\nand it has yet to be responded to.\n\nThe API client must be granted the `read_assigned_fulfillment_orders` access scope to access\nthe assigned fulfillment orders.\n\n### All fulfillment orders\n\nApps can retrieve all fulfillment orders with the\n[fulfillmentOrders](https://shopify.dev/api/admin-graphql/latest/queries/fulfillmentOrders)\nquery. This query returns all assigned, merchant-managed, and third-party fulfillment orders on the shop,\nwhich are accessible to the app according to the\n[fulfillment order access scopes](#api-access-scopes) it was granted with.\n\n## The lifecycle of a fulfillment order\n\n### Fulfillment Order Creation\n\nAfter an order is created, a background worker performs the order routing process which determines\nwhich locations will be responsible for fulfilling the purchased items.\nOnce the order routing process is complete, one or more fulfillment orders will be created\nand assigned to these locations. It is not possible to manually create fulfillment orders.\n\nOnce a fulfillment order has been created, it will have one of two different lifecycles depending on\nthe type of location which the fulfillment order is assigned to.\n\n### The lifecycle of a fulfillment order at a merchant managed location\n\nFulfillment orders are completed by creating\n[fulfillments](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment).\nFulfillments represents the work done.\n\nFor digital products a merchant or an order management app would create a fulfilment once the digital asset\nhas been provisioned.\nFor example, in the case of a digital gift card, a merchant would to do this once\nthe gift card has been activated - before the email has been shipped.\n\nOn the other hand, for a traditional shipped order,\na merchant or an order management app would create a fulfillment after picking and packing the items relating\nto a fulfillment order, but before the courier has collected the goods.\n\n[Learn about managing fulfillment orders as an order management app](https://shopify.dev/apps/fulfillment/order-management-apps/manage-fulfillments).\n\n### The lifecycle of a fulfillment order at a location which is managed by a fulfillment service\n\nFor fulfillment orders which are assigned to a location that is managed by a fulfillment service,\na merchant or an Order Management App can\n[send a fulfillment request](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderSubmitFulfillmentRequest)\nto the fulfillment service which operates the location to request that they fulfill the associated items.\nA fulfillment service has the option to\n[accept](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderAcceptFulfillmentRequest)\nor [reject](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderRejectFulfillmentRequest)\nthis fulfillment request.\n\nOnce the fulfillment service has accepted the request, the request can no longer be cancelled by the merchant\nor order management app and instead a\n[cancellation request must be submitted](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderSubmitCancellationRequest)\nto the fulfillment service.\n\nOnce a fulfillment service accepts a fulfillment request,\nthen after they are ready to pack items and send them for delivery, they create fulfillments with the\n[fulfillmentCreate](https://shopify.dev/api/admin-graphql/unstable/mutations/fulfillmentCreate)\nmutation.\nThey can provide tracking information right away or create fulfillments without it and then\nupdate the tracking information for fulfillments with the\n[fulfillmentTrackingInfoUpdate](https://shopify.dev/api/admin-graphql/unstable/mutations/fulfillmentTrackingInfoUpdate)\nmutation.\n\n[Learn about managing fulfillment orders as a fulfillment service](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments).\n\n## API access scopes\n\nFulfillment orders are governed by the following API access scopes:\n\n* The `read_merchant_managed_fulfillment_orders` and\n `write_merchant_managed_fulfillment_orders` access scopes\n grant access to fulfillment orders assigned to merchant-managed locations.\n* The `read_assigned_fulfillment_orders` and `write_assigned_fulfillment_orders`\n access scopes are intended for fulfillment services.\n These scopes grant access to fulfillment orders assigned to locations that are being managed\n by fulfillment services.\n* The `read_third_party_fulfillment_orders` and `write_third_party_fulfillment_orders`\n access scopes grant access to fulfillment orders\n assigned to locations managed by other fulfillment services.\n\n### Fulfillment service app access scopes\n\nUsually, **fulfillment services** have the `write_assigned_fulfillment_orders` access scope\nand don't have the `*_third_party_fulfillment_orders`\nor `*_merchant_managed_fulfillment_orders` access scopes.\nThe app will only have access to the fulfillment orders assigned to their location\n(or multiple locations if the app registers multiple fulfillment services on the shop).\nThe app will not have access to fulfillment orders assigned to merchant-managed locations\nor locations owned by other fulfillment service apps.\n\n### Order management app access scopes\n\n**Order management apps** will usually request `write_merchant_managed_fulfillment_orders` and\n`write_third_party_fulfillment_orders` access scopes. This will allow them to manage all fulfillment orders\non behalf of a merchant.\n\nIf an app combines the functions of an order management app and a fulfillment service,\nthen the app should request all\naccess scopes to manage all assigned and all unassigned fulfillment orders.\n\n## Notifications about fulfillment orders\n\nFulfillment services are required to\n[register](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\na self-hosted callback URL which has a number of uses. One of these uses is that this callback URL will be notified\nwhenever a merchant submits a fulfillment or cancellation request.\n\nBoth merchants and apps can\n[subscribe](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#webhooks)\nto the\n[fulfillment order webhooks](https://shopify.dev/api/admin-graphql/latest/enums/WebhookSubscriptionTopic#value-fulfillmentorderscancellationrequestaccepted)\nto be notified whenever fulfillment order related domain events occur.\n\n[Learn about fulfillment workflows](https://shopify.dev/apps/fulfillment).")] - public class FulfillmentOrder : GraphQLObject, INode, IMetafieldReferencer - { + [Description("The FulfillmentOrder object represents either an item or a group of items in an\n[Order](https://shopify.dev/api/admin-graphql/latest/objects/Order)\nthat are expected to be fulfilled from the same location.\nThere can be more than one fulfillment order for an\n[order](https://shopify.dev/api/admin-graphql/latest/objects/Order)\nat a given location.\n\n{{ '/api/reference/fulfillment_order_relationships.png' | image }}\n\nFulfillment orders represent the work which is intended to be done in relation to an order.\nWhen fulfillment has started for one or more line items, a\n[Fulfillment](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment)\nis created by a merchant or third party to represent the ongoing or completed work of fulfillment.\n\n[See below for more details on creating fulfillments](#the-lifecycle-of-a-fulfillment-order-at-a-location-which-is-managed-by-a-fulfillment-service).\n\n> Note:\n> Shopify creates fulfillment orders automatically when an order is created.\n> It is not possible to manually create fulfillment orders.\n>\n> [See below for more details on the lifecycle of a fulfillment order](#the-lifecycle-of-a-fulfillment-order).\n\n## Retrieving fulfillment orders\n\n### Fulfillment orders from an order\n\nAll fulfillment orders related to a given order can be retrieved with the\n[Order.fulfillmentOrders](https://shopify.dev/api/admin-graphql/latest/objects/Order#connection-order-fulfillmentorders)\nconnection.\n\n[API access scopes](#api-access-scopes)\ngovern which fulfillments orders are returned to clients.\nAn API client will only receive a subset of the fulfillment orders which belong to an order\nif they don't have the necessary access scopes to view all of the fulfillment orders.\n\n### Fulfillment orders assigned to the app for fulfillment\n\nFulfillment service apps can retrieve the fulfillment orders which have been assigned to their locations with the\n[assignedFulfillmentOrders](https://shopify.dev/api/admin-graphql/2024-07/objects/queryroot#connection-assignedfulfillmentorders)\nconnection.\nUse the `assignmentStatus` argument to control whether all assigned fulfillment orders\nshould be returned or only those where a merchant has sent a\n[fulfillment request](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderMerchantRequest)\nand it has yet to be responded to.\n\nThe API client must be granted the `read_assigned_fulfillment_orders` access scope to access\nthe assigned fulfillment orders.\n\n### All fulfillment orders\n\nApps can retrieve all fulfillment orders with the\n[fulfillmentOrders](https://shopify.dev/api/admin-graphql/latest/queries/fulfillmentOrders)\nquery. This query returns all assigned, merchant-managed, and third-party fulfillment orders on the shop,\nwhich are accessible to the app according to the\n[fulfillment order access scopes](#api-access-scopes) it was granted with.\n\n## The lifecycle of a fulfillment order\n\n### Fulfillment Order Creation\n\nAfter an order is created, a background worker performs the order routing process which determines\nwhich locations will be responsible for fulfilling the purchased items.\nOnce the order routing process is complete, one or more fulfillment orders will be created\nand assigned to these locations. It is not possible to manually create fulfillment orders.\n\nOnce a fulfillment order has been created, it will have one of two different lifecycles depending on\nthe type of location which the fulfillment order is assigned to.\n\n### The lifecycle of a fulfillment order at a merchant managed location\n\nFulfillment orders are completed by creating\n[fulfillments](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment).\nFulfillments represents the work done.\n\nFor digital products a merchant or an order management app would create a fulfilment once the digital asset\nhas been provisioned.\nFor example, in the case of a digital gift card, a merchant would to do this once\nthe gift card has been activated - before the email has been shipped.\n\nOn the other hand, for a traditional shipped order,\na merchant or an order management app would create a fulfillment after picking and packing the items relating\nto a fulfillment order, but before the courier has collected the goods.\n\n[Learn about managing fulfillment orders as an order management app](https://shopify.dev/apps/fulfillment/order-management-apps/manage-fulfillments).\n\n### The lifecycle of a fulfillment order at a location which is managed by a fulfillment service\n\nFor fulfillment orders which are assigned to a location that is managed by a fulfillment service,\na merchant or an Order Management App can\n[send a fulfillment request](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderSubmitFulfillmentRequest)\nto the fulfillment service which operates the location to request that they fulfill the associated items.\nA fulfillment service has the option to\n[accept](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderAcceptFulfillmentRequest)\nor [reject](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderRejectFulfillmentRequest)\nthis fulfillment request.\n\nOnce the fulfillment service has accepted the request, the request can no longer be cancelled by the merchant\nor order management app and instead a\n[cancellation request must be submitted](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderSubmitCancellationRequest)\nto the fulfillment service.\n\nOnce a fulfillment service accepts a fulfillment request,\nthen after they are ready to pack items and send them for delivery, they create fulfillments with the\n[fulfillmentCreate](https://shopify.dev/api/admin-graphql/unstable/mutations/fulfillmentCreate)\nmutation.\nThey can provide tracking information right away or create fulfillments without it and then\nupdate the tracking information for fulfillments with the\n[fulfillmentTrackingInfoUpdate](https://shopify.dev/api/admin-graphql/unstable/mutations/fulfillmentTrackingInfoUpdate)\nmutation.\n\n[Learn about managing fulfillment orders as a fulfillment service](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments).\n\n## API access scopes\n\nFulfillment orders are governed by the following API access scopes:\n\n* The `read_merchant_managed_fulfillment_orders` and\n `write_merchant_managed_fulfillment_orders` access scopes\n grant access to fulfillment orders assigned to merchant-managed locations.\n* The `read_assigned_fulfillment_orders` and `write_assigned_fulfillment_orders`\n access scopes are intended for fulfillment services.\n These scopes grant access to fulfillment orders assigned to locations that are being managed\n by fulfillment services.\n* The `read_third_party_fulfillment_orders` and `write_third_party_fulfillment_orders`\n access scopes grant access to fulfillment orders\n assigned to locations managed by other fulfillment services.\n\n### Fulfillment service app access scopes\n\nUsually, **fulfillment services** have the `write_assigned_fulfillment_orders` access scope\nand don't have the `*_third_party_fulfillment_orders`\nor `*_merchant_managed_fulfillment_orders` access scopes.\nThe app will only have access to the fulfillment orders assigned to their location\n(or multiple locations if the app registers multiple fulfillment services on the shop).\nThe app will not have access to fulfillment orders assigned to merchant-managed locations\nor locations owned by other fulfillment service apps.\n\n### Order management app access scopes\n\n**Order management apps** will usually request `write_merchant_managed_fulfillment_orders` and\n`write_third_party_fulfillment_orders` access scopes. This will allow them to manage all fulfillment orders\non behalf of a merchant.\n\nIf an app combines the functions of an order management app and a fulfillment service,\nthen the app should request all\naccess scopes to manage all assigned and all unassigned fulfillment orders.\n\n## Notifications about fulfillment orders\n\nFulfillment services are required to\n[register](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\na self-hosted callback URL which has a number of uses. One of these uses is that this callback URL will be notified\nwhenever a merchant submits a fulfillment or cancellation request.\n\nBoth merchants and apps can\n[subscribe](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#webhooks)\nto the\n[fulfillment order webhooks](https://shopify.dev/api/admin-graphql/latest/enums/WebhookSubscriptionTopic#value-fulfillmentorderscancellationrequestaccepted)\nto be notified whenever fulfillment order related domain events occur.\n\n[Learn about fulfillment workflows](https://shopify.dev/apps/fulfillment).")] + public class FulfillmentOrder : GraphQLObject, INode, IMetafieldReferencer + { /// ///The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen. /// @@ -46366,282 +46366,282 @@ public class FulfillmentOrder : GraphQLObject, INode, IMetafie /// [ON_HOLD](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-onhold) /// status, and the shop's location properties might be undergoing edits (for example, in the Shopify admin). /// - [Description("The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen.\n\nThe fulfillment order's assigned location might change in the following cases:\n\n- The fulfillment order has been entirely moved to a new location. For example, the [fulfillmentOrderMove](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n ) mutation has been called, and you see the original fulfillment order in the [movedFulfillmentOrder](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove#field-fulfillmentordermovepayload-movedfulfillmentorder\n ) field within the mutation's response.\n- Work on the fulfillment order hasn't yet begun, which means that the fulfillment order has the\n [OPEN](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-open),\n [SCHEDULED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-scheduled), or\n [ON_HOLD](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-onhold)\n status, and the shop's location properties might be undergoing edits (for example, in the Shopify admin).")] - [NonNull] - public FulfillmentOrderAssignedLocation? assignedLocation { get; set; } - + [Description("The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen.\n\nThe fulfillment order's assigned location might change in the following cases:\n\n- The fulfillment order has been entirely moved to a new location. For example, the [fulfillmentOrderMove](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n ) mutation has been called, and you see the original fulfillment order in the [movedFulfillmentOrder](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove#field-fulfillmentordermovepayload-movedfulfillmentorder\n ) field within the mutation's response.\n- Work on the fulfillment order hasn't yet begun, which means that the fulfillment order has the\n [OPEN](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-open),\n [SCHEDULED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-scheduled), or\n [ON_HOLD](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-onhold)\n status, and the shop's location properties might be undergoing edits (for example, in the Shopify admin).")] + [NonNull] + public FulfillmentOrderAssignedLocation? assignedLocation { get; set; } + /// ///ID of the channel that created the order. /// - [Description("ID of the channel that created the order.")] - public string? channelId { get; set; } - + [Description("ID of the channel that created the order.")] + public string? channelId { get; set; } + /// ///Date and time when the fulfillment order was created. /// - [Description("Date and time when the fulfillment order was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("Date and time when the fulfillment order was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Delivery method of this fulfillment order. /// - [Description("Delivery method of this fulfillment order.")] - public DeliveryMethod? deliveryMethod { get; set; } - + [Description("Delivery method of this fulfillment order.")] + public DeliveryMethod? deliveryMethod { get; set; } + /// ///The destination where the items should be sent. /// - [Description("The destination where the items should be sent.")] - public FulfillmentOrderDestination? destination { get; set; } - + [Description("The destination where the items should be sent.")] + public FulfillmentOrderDestination? destination { get; set; } + /// ///The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the `fulfill_at` date for a subscription order might be the 1st of each month, a pre-order `fulfill_at` date would be `nil`, and a standard order `fulfill_at` date would be the order creation date. /// - [Description("The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the `fulfill_at` date for a subscription order might be the 1st of each month, a pre-order `fulfill_at` date would be `nil`, and a standard order `fulfill_at` date would be the order creation date.")] - public DateTime? fulfillAt { get; set; } - + [Description("The date and time at which the fulfillment order will be fulfillable. When this date and time is reached, the scheduled fulfillment order is automatically transitioned to open. For example, the `fulfill_at` date for a subscription order might be the 1st of each month, a pre-order `fulfill_at` date would be `nil`, and a standard order `fulfill_at` date would be the order creation date.")] + public DateTime? fulfillAt { get; set; } + /// ///The latest date and time by which all items in the fulfillment order need to be fulfilled. /// - [Description("The latest date and time by which all items in the fulfillment order need to be fulfilled.")] - public DateTime? fulfillBy { get; set; } - + [Description("The latest date and time by which all items in the fulfillment order need to be fulfilled.")] + public DateTime? fulfillBy { get; set; } + /// ///The fulfillment holds applied on the fulfillment order. /// - [Description("The fulfillment holds applied on the fulfillment order.")] - [NonNull] - public IEnumerable? fulfillmentHolds { get; set; } - + [Description("The fulfillment holds applied on the fulfillment order.")] + [NonNull] + public IEnumerable? fulfillmentHolds { get; set; } + /// ///Fulfillment orders eligible for merging with the given fulfillment order. /// - [Description("Fulfillment orders eligible for merging with the given fulfillment order.")] - [NonNull] - public FulfillmentOrderConnection? fulfillmentOrdersForMerge { get; set; } - + [Description("Fulfillment orders eligible for merging with the given fulfillment order.")] + [NonNull] + public FulfillmentOrderConnection? fulfillmentOrdersForMerge { get; set; } + /// ///A list of fulfillments for the fulfillment order. /// - [Description("A list of fulfillments for the fulfillment order.")] - [NonNull] - public FulfillmentConnection? fulfillments { get; set; } - + [Description("A list of fulfillments for the fulfillment order.")] + [NonNull] + public FulfillmentConnection? fulfillments { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The duties delivery method of this fulfillment order. /// - [Description("The duties delivery method of this fulfillment order.")] - public FulfillmentOrderInternationalDuties? internationalDuties { get; set; } - + [Description("The duties delivery method of this fulfillment order.")] + public FulfillmentOrderInternationalDuties? internationalDuties { get; set; } + /// ///A list of the fulfillment order's line items. /// - [Description("A list of the fulfillment order's line items.")] - [NonNull] - public FulfillmentOrderLineItemConnection? lineItems { get; set; } - + [Description("A list of the fulfillment order's line items.")] + [NonNull] + public FulfillmentOrderLineItemConnection? lineItems { get; set; } + /// ///A list of locations that the fulfillment order can potentially move to. /// - [Description("A list of locations that the fulfillment order can potentially move to.")] - [NonNull] - public FulfillmentOrderLocationForMoveConnection? locationsForMove { get; set; } - + [Description("A list of locations that the fulfillment order can potentially move to.")] + [NonNull] + public FulfillmentOrderLocationForMoveConnection? locationsForMove { get; set; } + /// ///A list of requests sent by the merchant or an order management app to the fulfillment service for the fulfillment order. /// - [Description("A list of requests sent by the merchant or an order management app to the fulfillment service for the fulfillment order.")] - [NonNull] - public FulfillmentOrderMerchantRequestConnection? merchantRequests { get; set; } - + [Description("A list of requests sent by the merchant or an order management app to the fulfillment service for the fulfillment order.")] + [NonNull] + public FulfillmentOrderMerchantRequestConnection? merchantRequests { get; set; } + /// ///The order that's associated with the fulfillment order. /// - [Description("The order that's associated with the fulfillment order.")] - [NonNull] - public Order? order { get; set; } - + [Description("The order that's associated with the fulfillment order.")] + [NonNull] + public Order? order { get; set; } + /// ///ID of the order that's associated with the fulfillment order. /// - [Description("ID of the order that's associated with the fulfillment order.")] - [NonNull] - public string? orderId { get; set; } - + [Description("ID of the order that's associated with the fulfillment order.")] + [NonNull] + public string? orderId { get; set; } + /// ///The unique identifier for the order that appears on the order page in the Shopify admin and the <b>Order status</b> page. ///For example, "#1001", "EN1001", or "1001-A". ///This value isn't unique across multiple stores. /// - [Description("The unique identifier for the order that appears on the order page in the Shopify admin and the Order status page.\nFor example, \"#1001\", \"EN1001\", or \"1001-A\".\nThis value isn't unique across multiple stores.")] - [NonNull] - public string? orderName { get; set; } - + [Description("The unique identifier for the order that appears on the order page in the Shopify admin and the Order status page.\nFor example, \"#1001\", \"EN1001\", or \"1001-A\".\nThis value isn't unique across multiple stores.")] + [NonNull] + public string? orderName { get; set; } + /// ///The date and time when the order was processed. ///This date and time might not match the date and time when the order was created. /// - [Description("The date and time when the order was processed.\nThis date and time might not match the date and time when the order was created.")] - [NonNull] - public DateTime? orderProcessedAt { get; set; } - + [Description("The date and time when the order was processed.\nThis date and time might not match the date and time when the order was created.")] + [NonNull] + public DateTime? orderProcessedAt { get; set; } + /// ///The request status of the fulfillment order. /// - [Description("The request status of the fulfillment order.")] - [NonNull] - [EnumType(typeof(FulfillmentOrderRequestStatus))] - public string? requestStatus { get; set; } - + [Description("The request status of the fulfillment order.")] + [NonNull] + [EnumType(typeof(FulfillmentOrderRequestStatus))] + public string? requestStatus { get; set; } + /// ///The status of the fulfillment order. /// - [Description("The status of the fulfillment order.")] - [NonNull] - [EnumType(typeof(FulfillmentOrderStatus))] - public string? status { get; set; } - + [Description("The status of the fulfillment order.")] + [NonNull] + [EnumType(typeof(FulfillmentOrderStatus))] + public string? status { get; set; } + /// ///The actions that can be performed on this fulfillment order. /// - [Description("The actions that can be performed on this fulfillment order.")] - [NonNull] - public IEnumerable? supportedActions { get; set; } - + [Description("The actions that can be performed on this fulfillment order.")] + [NonNull] + public IEnumerable? supportedActions { get; set; } + /// ///The date and time when the fulfillment order was last updated. /// - [Description("The date and time when the fulfillment order was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the fulfillment order was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `fulfillmentOrderAcceptCancellationRequest` mutation. /// - [Description("Return type for `fulfillmentOrderAcceptCancellationRequest` mutation.")] - public class FulfillmentOrderAcceptCancellationRequestPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderAcceptCancellationRequest` mutation.")] + public class FulfillmentOrderAcceptCancellationRequestPayload : GraphQLObject + { /// ///The fulfillment order whose cancellation request was accepted. /// - [Description("The fulfillment order whose cancellation request was accepted.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order whose cancellation request was accepted.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentOrderAcceptFulfillmentRequest` mutation. /// - [Description("Return type for `fulfillmentOrderAcceptFulfillmentRequest` mutation.")] - public class FulfillmentOrderAcceptFulfillmentRequestPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderAcceptFulfillmentRequest` mutation.")] + public class FulfillmentOrderAcceptFulfillmentRequestPayload : GraphQLObject + { /// ///The fulfillment order whose fulfillment request was accepted. /// - [Description("The fulfillment order whose fulfillment request was accepted.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order whose fulfillment request was accepted.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The actions that can be taken on a fulfillment order. /// - [Description("The actions that can be taken on a fulfillment order.")] - public enum FulfillmentOrderAction - { + [Description("The actions that can be taken on a fulfillment order.")] + public enum FulfillmentOrderAction + { /// ///Creates a fulfillment for selected line items in the fulfillment order. The corresponding mutation for this action is `fulfillmentCreateV2`. /// - [Description("Creates a fulfillment for selected line items in the fulfillment order. The corresponding mutation for this action is `fulfillmentCreateV2`.")] - CREATE_FULFILLMENT, + [Description("Creates a fulfillment for selected line items in the fulfillment order. The corresponding mutation for this action is `fulfillmentCreateV2`.")] + CREATE_FULFILLMENT, /// ///Sends a request for fulfilling selected line items in a fulfillment order to a fulfillment service. The corresponding mutation for this action is `fulfillmentOrderSubmitFulfillmentRequest`. /// - [Description("Sends a request for fulfilling selected line items in a fulfillment order to a fulfillment service. The corresponding mutation for this action is `fulfillmentOrderSubmitFulfillmentRequest`.")] - REQUEST_FULFILLMENT, + [Description("Sends a request for fulfilling selected line items in a fulfillment order to a fulfillment service. The corresponding mutation for this action is `fulfillmentOrderSubmitFulfillmentRequest`.")] + REQUEST_FULFILLMENT, /// ///Cancels a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderCancel`. /// - [Description("Cancels a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderCancel`.")] - CANCEL_FULFILLMENT_ORDER, + [Description("Cancels a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderCancel`.")] + CANCEL_FULFILLMENT_ORDER, /// ///Moves a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMove`. /// - [Description("Moves a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMove`.")] - MOVE, + [Description("Moves a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMove`.")] + MOVE, /// ///Sends a cancellation request to the fulfillment service of a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderSubmitCancellationRequest`. /// - [Description("Sends a cancellation request to the fulfillment service of a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderSubmitCancellationRequest`.")] - REQUEST_CANCELLATION, + [Description("Sends a cancellation request to the fulfillment service of a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderSubmitCancellationRequest`.")] + REQUEST_CANCELLATION, /// ///Marks the fulfillment order as open. The corresponding mutation for this action is `fulfillmentOrderOpen`. /// - [Description("Marks the fulfillment order as open. The corresponding mutation for this action is `fulfillmentOrderOpen`.")] - MARK_AS_OPEN, + [Description("Marks the fulfillment order as open. The corresponding mutation for this action is `fulfillmentOrderOpen`.")] + MARK_AS_OPEN, /// ///Releases the fulfillment hold on the fulfillment order. The corresponding mutation for this action is `fulfillmentOrderReleaseHold`. /// - [Description("Releases the fulfillment hold on the fulfillment order. The corresponding mutation for this action is `fulfillmentOrderReleaseHold`.")] - RELEASE_HOLD, + [Description("Releases the fulfillment hold on the fulfillment order. The corresponding mutation for this action is `fulfillmentOrderReleaseHold`.")] + RELEASE_HOLD, /// ///Applies a fulfillment hold on the fulfillment order. The corresponding mutation for this action is `fulfillmentOrderHold`. /// - [Description("Applies a fulfillment hold on the fulfillment order. The corresponding mutation for this action is `fulfillmentOrderHold`.")] - HOLD, + [Description("Applies a fulfillment hold on the fulfillment order. The corresponding mutation for this action is `fulfillmentOrderHold`.")] + HOLD, /// ///Opens an external URL to initiate the fulfillment process outside Shopify. This action should be paired with `FulfillmentOrderSupportedAction.externalUrl`. /// - [Description("Opens an external URL to initiate the fulfillment process outside Shopify. This action should be paired with `FulfillmentOrderSupportedAction.externalUrl`.")] - EXTERNAL, + [Description("Opens an external URL to initiate the fulfillment process outside Shopify. This action should be paired with `FulfillmentOrderSupportedAction.externalUrl`.")] + EXTERNAL, /// ///Splits a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderSplit`. /// - [Description("Splits a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderSplit`.")] - SPLIT, + [Description("Splits a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderSplit`.")] + SPLIT, /// ///Merges a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMerge`. /// - [Description("Merges a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMerge`.")] - MERGE, - } - - public static class FulfillmentOrderActionStringValues - { - public const string CREATE_FULFILLMENT = @"CREATE_FULFILLMENT"; - public const string REQUEST_FULFILLMENT = @"REQUEST_FULFILLMENT"; - public const string CANCEL_FULFILLMENT_ORDER = @"CANCEL_FULFILLMENT_ORDER"; - public const string MOVE = @"MOVE"; - public const string REQUEST_CANCELLATION = @"REQUEST_CANCELLATION"; - public const string MARK_AS_OPEN = @"MARK_AS_OPEN"; - public const string RELEASE_HOLD = @"RELEASE_HOLD"; - public const string HOLD = @"HOLD"; - public const string EXTERNAL = @"EXTERNAL"; - public const string SPLIT = @"SPLIT"; - public const string MERGE = @"MERGE"; - } - + [Description("Merges a fulfillment order. The corresponding mutation for this action is `fulfillmentOrderMerge`.")] + MERGE, + } + + public static class FulfillmentOrderActionStringValues + { + public const string CREATE_FULFILLMENT = @"CREATE_FULFILLMENT"; + public const string REQUEST_FULFILLMENT = @"REQUEST_FULFILLMENT"; + public const string CANCEL_FULFILLMENT_ORDER = @"CANCEL_FULFILLMENT_ORDER"; + public const string MOVE = @"MOVE"; + public const string REQUEST_CANCELLATION = @"REQUEST_CANCELLATION"; + public const string MARK_AS_OPEN = @"MARK_AS_OPEN"; + public const string RELEASE_HOLD = @"RELEASE_HOLD"; + public const string HOLD = @"HOLD"; + public const string EXTERNAL = @"EXTERNAL"; + public const string SPLIT = @"SPLIT"; + public const string MERGE = @"MERGE"; + } + /// ///The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen. /// @@ -46678,322 +46678,322 @@ public static class FulfillmentOrderActionStringValues /// https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderAssignedLocation#field-fulfillmentorderassignedlocation-location ///) connection. /// - [Description("The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen.\n\n The fulfillment order's assigned location might change in the following cases:\n\n - The fulfillment order has been entirely moved to a new location. For example, the [fulfillmentOrderMove](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n ) mutation has been called, and you see the original fulfillment order in the [movedFulfillmentOrder](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove#field-fulfillmentordermovepayload-movedfulfillmentorder\n ) field within the mutation's response.\n\n - Work on the fulfillment order has not yet begun, which means that the fulfillment order has the\n [OPEN](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-open),\n [SCHEDULED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-scheduled), or\n [ON_HOLD](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-onhold)\n status, and the shop's location properties might be undergoing edits (for example, in the Shopify admin).\n\nIf the [fulfillmentOrderMove](\nhttps://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n) mutation has moved the fulfillment order's line items to a new location,\nbut hasn't moved the fulfillment order instance itself, then the original fulfillment order's assigned location\ndoesn't change.\nThis happens if the fulfillment order is being split during the move, or if all line items can be moved\nto an existing fulfillment order at a new location.\n\nOnce the fulfillment order has been taken into work or canceled,\nwhich means that the fulfillment order has the\n[IN_PROGRESS](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-inprogress),\n[CLOSED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-closed),\n[CANCELLED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-cancelled), or\n[INCOMPLETE](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-incomplete)\nstatus, `FulfillmentOrderAssignedLocation` acts as a snapshot of the shop's location content.\nUp-to-date shop's location data may be queried through [location](\n https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderAssignedLocation#field-fulfillmentorderassignedlocation-location\n) connection.")] - public class FulfillmentOrderAssignedLocation : GraphQLObject - { + [Description("The fulfillment order's assigned location. This is the location where the fulfillment is expected to happen.\n\n The fulfillment order's assigned location might change in the following cases:\n\n - The fulfillment order has been entirely moved to a new location. For example, the [fulfillmentOrderMove](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n ) mutation has been called, and you see the original fulfillment order in the [movedFulfillmentOrder](\n https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove#field-fulfillmentordermovepayload-movedfulfillmentorder\n ) field within the mutation's response.\n\n - Work on the fulfillment order has not yet begun, which means that the fulfillment order has the\n [OPEN](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-open),\n [SCHEDULED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-scheduled), or\n [ON_HOLD](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-onhold)\n status, and the shop's location properties might be undergoing edits (for example, in the Shopify admin).\n\nIf the [fulfillmentOrderMove](\nhttps://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentOrderMove\n) mutation has moved the fulfillment order's line items to a new location,\nbut hasn't moved the fulfillment order instance itself, then the original fulfillment order's assigned location\ndoesn't change.\nThis happens if the fulfillment order is being split during the move, or if all line items can be moved\nto an existing fulfillment order at a new location.\n\nOnce the fulfillment order has been taken into work or canceled,\nwhich means that the fulfillment order has the\n[IN_PROGRESS](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-inprogress),\n[CLOSED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-closed),\n[CANCELLED](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-cancelled), or\n[INCOMPLETE](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderStatus#value-incomplete)\nstatus, `FulfillmentOrderAssignedLocation` acts as a snapshot of the shop's location content.\nUp-to-date shop's location data may be queried through [location](\n https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderAssignedLocation#field-fulfillmentorderassignedlocation-location\n) connection.")] + public class FulfillmentOrderAssignedLocation : GraphQLObject + { /// ///The first line of the address for the location. /// - [Description("The first line of the address for the location.")] - public string? address1 { get; set; } - + [Description("The first line of the address for the location.")] + public string? address1 { get; set; } + /// ///The second line of the address for the location. /// - [Description("The second line of the address for the location.")] - public string? address2 { get; set; } - + [Description("The second line of the address for the location.")] + public string? address2 { get; set; } + /// ///The city of the location. /// - [Description("The city of the location.")] - public string? city { get; set; } - + [Description("The city of the location.")] + public string? city { get; set; } + /// ///The two-letter country code of the location. /// - [Description("The two-letter country code of the location.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter country code of the location.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The location where the fulfillment is expected to happen. This value might be different from ///`FulfillmentOrderAssignedLocation` if the location's attributes were updated ///after the fulfillment order was taken into work of canceled. /// - [Description("The location where the fulfillment is expected to happen. This value might be different from\n`FulfillmentOrderAssignedLocation` if the location's attributes were updated\nafter the fulfillment order was taken into work of canceled.")] - public Location? location { get; set; } - + [Description("The location where the fulfillment is expected to happen. This value might be different from\n`FulfillmentOrderAssignedLocation` if the location's attributes were updated\nafter the fulfillment order was taken into work of canceled.")] + public Location? location { get; set; } + /// ///The name of the location. /// - [Description("The name of the location.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the location.")] + [NonNull] + public string? name { get; set; } + /// ///The phone number of the location. /// - [Description("The phone number of the location.")] - public string? phone { get; set; } - + [Description("The phone number of the location.")] + public string? phone { get; set; } + /// ///The province of the location. /// - [Description("The province of the location.")] - public string? province { get; set; } - + [Description("The province of the location.")] + public string? province { get; set; } + /// ///The ZIP code of the location. /// - [Description("The ZIP code of the location.")] - public string? zip { get; set; } - } - + [Description("The ZIP code of the location.")] + public string? zip { get; set; } + } + /// ///The assigment status to be used to filter fulfillment orders. /// - [Description("The assigment status to be used to filter fulfillment orders.")] - public enum FulfillmentOrderAssignmentStatus - { + [Description("The assigment status to be used to filter fulfillment orders.")] + public enum FulfillmentOrderAssignmentStatus + { /// ///Fulfillment orders for which the merchant has requested cancellation of ///the previously accepted fulfillment request. /// - [Description("Fulfillment orders for which the merchant has requested cancellation of\nthe previously accepted fulfillment request.")] - CANCELLATION_REQUESTED, + [Description("Fulfillment orders for which the merchant has requested cancellation of\nthe previously accepted fulfillment request.")] + CANCELLATION_REQUESTED, /// ///Fulfillment orders for which the merchant has requested fulfillment. /// - [Description("Fulfillment orders for which the merchant has requested fulfillment.")] - FULFILLMENT_REQUESTED, + [Description("Fulfillment orders for which the merchant has requested fulfillment.")] + FULFILLMENT_REQUESTED, /// ///Fulfillment orders for which the merchant's fulfillment request has been accepted. ///Any number of fulfillments can be created on these fulfillment orders ///to completely fulfill the requested items. /// - [Description("Fulfillment orders for which the merchant's fulfillment request has been accepted.\nAny number of fulfillments can be created on these fulfillment orders\nto completely fulfill the requested items.")] - FULFILLMENT_ACCEPTED, + [Description("Fulfillment orders for which the merchant's fulfillment request has been accepted.\nAny number of fulfillments can be created on these fulfillment orders\nto completely fulfill the requested items.")] + FULFILLMENT_ACCEPTED, /// ///Fulfillment orders for which the merchant hasn't yet requested fulfillment. /// - [Description("Fulfillment orders for which the merchant hasn't yet requested fulfillment.")] - FULFILLMENT_UNSUBMITTED, - } - - public static class FulfillmentOrderAssignmentStatusStringValues - { - public const string CANCELLATION_REQUESTED = @"CANCELLATION_REQUESTED"; - public const string FULFILLMENT_REQUESTED = @"FULFILLMENT_REQUESTED"; - public const string FULFILLMENT_ACCEPTED = @"FULFILLMENT_ACCEPTED"; - public const string FULFILLMENT_UNSUBMITTED = @"FULFILLMENT_UNSUBMITTED"; - } - + [Description("Fulfillment orders for which the merchant hasn't yet requested fulfillment.")] + FULFILLMENT_UNSUBMITTED, + } + + public static class FulfillmentOrderAssignmentStatusStringValues + { + public const string CANCELLATION_REQUESTED = @"CANCELLATION_REQUESTED"; + public const string FULFILLMENT_REQUESTED = @"FULFILLMENT_REQUESTED"; + public const string FULFILLMENT_ACCEPTED = @"FULFILLMENT_ACCEPTED"; + public const string FULFILLMENT_UNSUBMITTED = @"FULFILLMENT_UNSUBMITTED"; + } + /// ///Return type for `fulfillmentOrderCancel` mutation. /// - [Description("Return type for `fulfillmentOrderCancel` mutation.")] - public class FulfillmentOrderCancelPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderCancel` mutation.")] + public class FulfillmentOrderCancelPayload : GraphQLObject + { /// ///The fulfillment order that was marked as canceled. /// - [Description("The fulfillment order that was marked as canceled.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order that was marked as canceled.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The fulfillment order that was created to replace the canceled fulfillment order. /// - [Description("The fulfillment order that was created to replace the canceled fulfillment order.")] - public FulfillmentOrder? replacementFulfillmentOrder { get; set; } - + [Description("The fulfillment order that was created to replace the canceled fulfillment order.")] + public FulfillmentOrder? replacementFulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentOrderClose` mutation. /// - [Description("Return type for `fulfillmentOrderClose` mutation.")] - public class FulfillmentOrderClosePayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderClose` mutation.")] + public class FulfillmentOrderClosePayload : GraphQLObject + { /// ///The fulfillment order that was marked as incomplete. /// - [Description("The fulfillment order that was marked as incomplete.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order that was marked as incomplete.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple FulfillmentOrders. /// - [Description("An auto-generated type for paginating through multiple FulfillmentOrders.")] - public class FulfillmentOrderConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple FulfillmentOrders.")] + public class FulfillmentOrderConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FulfillmentOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FulfillmentOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FulfillmentOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Represents the destination where the items should be sent upon fulfillment. /// - [Description("Represents the destination where the items should be sent upon fulfillment.")] - public class FulfillmentOrderDestination : GraphQLObject, INode - { + [Description("Represents the destination where the items should be sent upon fulfillment.")] + public class FulfillmentOrderDestination : GraphQLObject, INode + { /// ///The first line of the address of the destination. /// - [Description("The first line of the address of the destination.")] - public string? address1 { get; set; } - + [Description("The first line of the address of the destination.")] + public string? address1 { get; set; } + /// ///The second line of the address of the destination. /// - [Description("The second line of the address of the destination.")] - public string? address2 { get; set; } - + [Description("The second line of the address of the destination.")] + public string? address2 { get; set; } + /// ///The city of the destination. /// - [Description("The city of the destination.")] - public string? city { get; set; } - + [Description("The city of the destination.")] + public string? city { get; set; } + /// ///The company of the destination. /// - [Description("The company of the destination.")] - public string? company { get; set; } - + [Description("The company of the destination.")] + public string? company { get; set; } + /// ///The two-letter country code of the destination. /// - [Description("The two-letter country code of the destination.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter country code of the destination.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The email of the customer at the destination. /// - [Description("The email of the customer at the destination.")] - public string? email { get; set; } - + [Description("The email of the customer at the destination.")] + public string? email { get; set; } + /// ///The first name of the customer at the destination. /// - [Description("The first name of the customer at the destination.")] - public string? firstName { get; set; } - + [Description("The first name of the customer at the destination.")] + public string? firstName { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The last name of the customer at the destination. /// - [Description("The last name of the customer at the destination.")] - public string? lastName { get; set; } - + [Description("The last name of the customer at the destination.")] + public string? lastName { get; set; } + /// ///The location designated for the pick-up of the fulfillment order. /// - [Description("The location designated for the pick-up of the fulfillment order.")] - public Location? location { get; set; } - + [Description("The location designated for the pick-up of the fulfillment order.")] + public Location? location { get; set; } + /// ///The phone number of the customer at the destination. /// - [Description("The phone number of the customer at the destination.")] - public string? phone { get; set; } - + [Description("The phone number of the customer at the destination.")] + public string? phone { get; set; } + /// ///The province of the destination. /// - [Description("The province of the destination.")] - public string? province { get; set; } - + [Description("The province of the destination.")] + public string? province { get; set; } + /// ///The ZIP code of the destination. /// - [Description("The ZIP code of the destination.")] - public string? zip { get; set; } - } - + [Description("The ZIP code of the destination.")] + public string? zip { get; set; } + } + /// ///An auto-generated type which holds one FulfillmentOrder and a cursor during pagination. /// - [Description("An auto-generated type which holds one FulfillmentOrder and a cursor during pagination.")] - public class FulfillmentOrderEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one FulfillmentOrder and a cursor during pagination.")] + public class FulfillmentOrderEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FulfillmentOrderEdge. /// - [Description("The item at the end of FulfillmentOrderEdge.")] - [NonNull] - public FulfillmentOrder? node { get; set; } - } - + [Description("The item at the end of FulfillmentOrderEdge.")] + [NonNull] + public FulfillmentOrder? node { get; set; } + } + /// ///The input fields for the fulfillment hold applied on the fulfillment order. /// - [Description("The input fields for the fulfillment hold applied on the fulfillment order.")] - public class FulfillmentOrderHoldInput : GraphQLObject - { + [Description("The input fields for the fulfillment hold applied on the fulfillment order.")] + public class FulfillmentOrderHoldInput : GraphQLObject + { /// ///The reason for the fulfillment hold. /// - [Description("The reason for the fulfillment hold.")] - [NonNull] - [EnumType(typeof(FulfillmentHoldReason))] - public string? reason { get; set; } - + [Description("The reason for the fulfillment hold.")] + [NonNull] + [EnumType(typeof(FulfillmentHoldReason))] + public string? reason { get; set; } + /// ///Additional information about the fulfillment hold reason. /// - [Description("Additional information about the fulfillment hold reason.")] - public string? reasonNotes { get; set; } - + [Description("Additional information about the fulfillment hold reason.")] + public string? reasonNotes { get; set; } + /// ///Whether the merchant receives a notification about the fulfillment hold. The default value is `false`. /// - [Description("Whether the merchant receives a notification about the fulfillment hold. The default value is `false`.")] - public bool? notifyMerchant { get; set; } - + [Description("Whether the merchant receives a notification about the fulfillment hold. The default value is `false`.")] + public bool? notifyMerchant { get; set; } + /// ///A configurable ID used to track the automation system releasing these holds. /// - [Description("A configurable ID used to track the automation system releasing these holds.")] - public string? externalId { get; set; } - + [Description("A configurable ID used to track the automation system releasing these holds.")] + public string? externalId { get; set; } + /// ///An identifier that an app can use to reference one of the holds that it applies to a ///fulfillment order. @@ -47010,9 +47010,9 @@ public class FulfillmentOrderHoldInput : GraphQLObject - [Description("An identifier that an app can use to reference one of the holds that it applies to a\nfulfillment order.\n\nThis field must be unique among the holds that a single app applies to a single fulfillment order.\nIt prevents apps from inadvertently creating duplicate holds.\nThis field cannot exceed 64 characters.\n\nFor example, an app can place multiple holds on a single fulfillment order each with a different `handle`.\nIf an app attempts to place two holds with the same `handle`, the second hold will be rejected with\n[a duplicate hold user error](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderHoldUserErrorCode#value-duplicatefulfillmentholdhandle).\nThe same `handle` can however be re-used on different fulfillment orders and by different apps.\n\nBy default, `handle` will be an empty string. If an app wishes to place multiple holds on a single\nfulfillment order, then a different `handle` must be provided for each.")] - public string? handle { get; set; } - + [Description("An identifier that an app can use to reference one of the holds that it applies to a\nfulfillment order.\n\nThis field must be unique among the holds that a single app applies to a single fulfillment order.\nIt prevents apps from inadvertently creating duplicate holds.\nThis field cannot exceed 64 characters.\n\nFor example, an app can place multiple holds on a single fulfillment order each with a different `handle`.\nIf an app attempts to place two holds with the same `handle`, the second hold will be rejected with\n[a duplicate hold user error](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderHoldUserErrorCode#value-duplicatefulfillmentholdhandle).\nThe same `handle` can however be re-used on different fulfillment orders and by different apps.\n\nBy default, `handle` will be an empty string. If an app wishes to place multiple holds on a single\nfulfillment order, then a different `handle` must be provided for each.")] + public string? handle { get; set; } + /// ///The fulfillment order line items to be placed on hold. /// @@ -47022,1180 +47022,1180 @@ public class FulfillmentOrderHoldInput : GraphQLObject - [Description("The fulfillment order line items to be placed on hold.\n\nIf left blank, all line items of the fulfillment order are placed on hold.\n\nNot supported when placing a hold on a fulfillment order that is already held.\nIf supplied when a fulfillment order is already on hold, [a user error](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderHoldUserErrorCode#value-fulfillmentordernotsplittable)\nwill be returned indicating that the fulfillment order is not able to be split.")] - public IEnumerable? fulfillmentOrderLineItems { get; set; } - } - + [Description("The fulfillment order line items to be placed on hold.\n\nIf left blank, all line items of the fulfillment order are placed on hold.\n\nNot supported when placing a hold on a fulfillment order that is already held.\nIf supplied when a fulfillment order is already on hold, [a user error](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderHoldUserErrorCode#value-fulfillmentordernotsplittable)\nwill be returned indicating that the fulfillment order is not able to be split.")] + public IEnumerable? fulfillmentOrderLineItems { get; set; } + } + /// ///Return type for `fulfillmentOrderHold` mutation. /// - [Description("Return type for `fulfillmentOrderHold` mutation.")] - public class FulfillmentOrderHoldPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderHold` mutation.")] + public class FulfillmentOrderHoldPayload : GraphQLObject + { /// ///The fulfillment hold created for the fulfillment order. Null if no hold was created. /// - [Description("The fulfillment hold created for the fulfillment order. Null if no hold was created.")] - public FulfillmentHold? fulfillmentHold { get; set; } - + [Description("The fulfillment hold created for the fulfillment order. Null if no hold was created.")] + public FulfillmentHold? fulfillmentHold { get; set; } + /// ///The fulfillment order on which a fulfillment hold was applied. /// - [Description("The fulfillment order on which a fulfillment hold was applied.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order on which a fulfillment hold was applied.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The remaining fulfillment order containing the line items to which the hold wasn't applied, ///if specific line items were specified to be placed on hold. /// - [Description("The remaining fulfillment order containing the line items to which the hold wasn't applied,\nif specific line items were specified to be placed on hold.")] - public FulfillmentOrder? remainingFulfillmentOrder { get; set; } - + [Description("The remaining fulfillment order containing the line items to which the hold wasn't applied,\nif specific line items were specified to be placed on hold.")] + public FulfillmentOrder? remainingFulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrderHold`. /// - [Description("An error that occurs during the execution of `FulfillmentOrderHold`.")] - public class FulfillmentOrderHoldUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrderHold`.")] + public class FulfillmentOrderHoldUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrderHoldUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderHoldUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrderHoldUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrderHoldUserError`.")] - public enum FulfillmentOrderHoldUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrderHoldUserError`.")] + public enum FulfillmentOrderHoldUserErrorCode + { /// ///The fulfillment order could not be found. /// - [Description("The fulfillment order could not be found.")] - FULFILLMENT_ORDER_NOT_FOUND, + [Description("The fulfillment order could not be found.")] + FULFILLMENT_ORDER_NOT_FOUND, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The fulfillment order line item quantity must be greater than 0. /// - [Description("The fulfillment order line item quantity must be greater than 0.")] - GREATER_THAN_ZERO, + [Description("The fulfillment order line item quantity must be greater than 0.")] + GREATER_THAN_ZERO, /// ///The maximum number of fulfillment holds for this fulfillment order has been reached for this app. An app can only have up to 10 holds on a single fulfillment order at any one time. /// - [Description("The maximum number of fulfillment holds for this fulfillment order has been reached for this app. An app can only have up to 10 holds on a single fulfillment order at any one time.")] - FULFILLMENT_ORDER_HOLD_LIMIT_REACHED, + [Description("The maximum number of fulfillment holds for this fulfillment order has been reached for this app. An app can only have up to 10 holds on a single fulfillment order at any one time.")] + FULFILLMENT_ORDER_HOLD_LIMIT_REACHED, /// ///The handle provided for the fulfillment hold is already in use by this app for another hold on this fulfillment order. /// - [Description("The handle provided for the fulfillment hold is already in use by this app for another hold on this fulfillment order.")] - DUPLICATE_FULFILLMENT_HOLD_HANDLE, + [Description("The handle provided for the fulfillment hold is already in use by this app for another hold on this fulfillment order.")] + DUPLICATE_FULFILLMENT_HOLD_HANDLE, /// ///The fulfillment order line item quantity is invalid. /// - [Description("The fulfillment order line item quantity is invalid.")] - INVALID_LINE_ITEM_QUANTITY, + [Description("The fulfillment order line item quantity is invalid.")] + INVALID_LINE_ITEM_QUANTITY, /// ///The fulfillment order is not in a splittable state. /// - [Description("The fulfillment order is not in a splittable state.")] - FULFILLMENT_ORDER_NOT_SPLITTABLE, + [Description("The fulfillment order is not in a splittable state.")] + FULFILLMENT_ORDER_NOT_SPLITTABLE, /// ///The fulfillment order line items are not unique. /// - [Description("The fulfillment order line items are not unique.")] - DUPLICATED_FULFILLMENT_ORDER_LINE_ITEMS, - } - - public static class FulfillmentOrderHoldUserErrorCodeStringValues - { - public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; - public const string TAKEN = @"TAKEN"; - public const string GREATER_THAN_ZERO = @"GREATER_THAN_ZERO"; - public const string FULFILLMENT_ORDER_HOLD_LIMIT_REACHED = @"FULFILLMENT_ORDER_HOLD_LIMIT_REACHED"; - public const string DUPLICATE_FULFILLMENT_HOLD_HANDLE = @"DUPLICATE_FULFILLMENT_HOLD_HANDLE"; - public const string INVALID_LINE_ITEM_QUANTITY = @"INVALID_LINE_ITEM_QUANTITY"; - public const string FULFILLMENT_ORDER_NOT_SPLITTABLE = @"FULFILLMENT_ORDER_NOT_SPLITTABLE"; - public const string DUPLICATED_FULFILLMENT_ORDER_LINE_ITEMS = @"DUPLICATED_FULFILLMENT_ORDER_LINE_ITEMS"; - } - + [Description("The fulfillment order line items are not unique.")] + DUPLICATED_FULFILLMENT_ORDER_LINE_ITEMS, + } + + public static class FulfillmentOrderHoldUserErrorCodeStringValues + { + public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; + public const string TAKEN = @"TAKEN"; + public const string GREATER_THAN_ZERO = @"GREATER_THAN_ZERO"; + public const string FULFILLMENT_ORDER_HOLD_LIMIT_REACHED = @"FULFILLMENT_ORDER_HOLD_LIMIT_REACHED"; + public const string DUPLICATE_FULFILLMENT_HOLD_HANDLE = @"DUPLICATE_FULFILLMENT_HOLD_HANDLE"; + public const string INVALID_LINE_ITEM_QUANTITY = @"INVALID_LINE_ITEM_QUANTITY"; + public const string FULFILLMENT_ORDER_NOT_SPLITTABLE = @"FULFILLMENT_ORDER_NOT_SPLITTABLE"; + public const string DUPLICATED_FULFILLMENT_ORDER_LINE_ITEMS = @"DUPLICATED_FULFILLMENT_ORDER_LINE_ITEMS"; + } + /// ///The international duties relevant to a fulfillment order. /// - [Description("The international duties relevant to a fulfillment order.")] - public class FulfillmentOrderInternationalDuties : GraphQLObject - { + [Description("The international duties relevant to a fulfillment order.")] + public class FulfillmentOrderInternationalDuties : GraphQLObject + { /// ///The method of duties payment. Example values: `DDP`, `DAP`. /// - [Description("The method of duties payment. Example values: `DDP`, `DAP`.")] - [NonNull] - public string? incoterm { get; set; } - } - + [Description("The method of duties payment. Example values: `DDP`, `DAP`.")] + [NonNull] + public string? incoterm { get; set; } + } + /// ///Associates an order line item with quantities requiring fulfillment from the respective fulfillment order. /// - [Description("Associates an order line item with quantities requiring fulfillment from the respective fulfillment order.")] - public class FulfillmentOrderLineItem : GraphQLObject, INode - { + [Description("Associates an order line item with quantities requiring fulfillment from the respective fulfillment order.")] + public class FulfillmentOrderLineItem : GraphQLObject, INode + { /// ///The financial summary for the Fulfillment Order's Line Items. /// - [Description("The financial summary for the Fulfillment Order's Line Items.")] - [NonNull] - public IEnumerable? financialSummaries { get; set; } - + [Description("The financial summary for the Fulfillment Order's Line Items.")] + [NonNull] + public IEnumerable? financialSummaries { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image associated to the line item's variant. /// - [Description("The image associated to the line item's variant.")] - public Image? image { get; set; } - + [Description("The image associated to the line item's variant.")] + public Image? image { get; set; } + /// ///The ID of the inventory item. /// - [Description("The ID of the inventory item.")] - public string? inventoryItemId { get; set; } - + [Description("The ID of the inventory item.")] + public string? inventoryItemId { get; set; } + /// ///The associated order line item. /// - [Description("The associated order line item.")] - [NonNull] - public LineItem? lineItem { get; set; } - + [Description("The associated order line item.")] + [NonNull] + public LineItem? lineItem { get; set; } + /// ///The variant unit price without discounts applied, in shop and presentment currencies. /// - [Description("The variant unit price without discounts applied, in shop and presentment currencies.")] - [Obsolete("Use `financialSummaries` instead.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("The variant unit price without discounts applied, in shop and presentment currencies.")] + [Obsolete("Use `financialSummaries` instead.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The title of the product. /// - [Description("The title of the product.")] - [NonNull] - public string? productTitle { get; set; } - + [Description("The title of the product.")] + [NonNull] + public string? productTitle { get; set; } + /// ///The number of units remaining to be fulfilled. /// - [Description("The number of units remaining to be fulfilled.")] - [NonNull] - public int? remainingQuantity { get; set; } - + [Description("The number of units remaining to be fulfilled.")] + [NonNull] + public int? remainingQuantity { get; set; } + /// ///Whether physical shipping is required for the variant. /// - [Description("Whether physical shipping is required for the variant.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether physical shipping is required for the variant.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///The variant SKU number. /// - [Description("The variant SKU number.")] - public string? sku { get; set; } - + [Description("The variant SKU number.")] + public string? sku { get; set; } + /// ///The total number of units to be fulfilled. /// - [Description("The total number of units to be fulfilled.")] - [NonNull] - public int? totalQuantity { get; set; } - + [Description("The total number of units to be fulfilled.")] + [NonNull] + public int? totalQuantity { get; set; } + /// ///The product variant associated to the fulfillment order line item. /// - [Description("The product variant associated to the fulfillment order line item.")] - public ProductVariant? variant { get; set; } - + [Description("The product variant associated to the fulfillment order line item.")] + public ProductVariant? variant { get; set; } + /// ///The name of the variant. /// - [Description("The name of the variant.")] - public string? variantTitle { get; set; } - + [Description("The name of the variant.")] + public string? variantTitle { get; set; } + /// ///The name of the vendor who made the variant. /// - [Description("The name of the vendor who made the variant.")] - public string? vendor { get; set; } - + [Description("The name of the vendor who made the variant.")] + public string? vendor { get; set; } + /// ///Warning messages for a fulfillment order line item. /// - [Description("Warning messages for a fulfillment order line item.")] - [NonNull] - public IEnumerable? warnings { get; set; } - + [Description("Warning messages for a fulfillment order line item.")] + [NonNull] + public IEnumerable? warnings { get; set; } + /// ///The weight of a line item unit. /// - [Description("The weight of a line item unit.")] - public Weight? weight { get; set; } - } - + [Description("The weight of a line item unit.")] + public Weight? weight { get; set; } + } + /// ///An auto-generated type for paginating through multiple FulfillmentOrderLineItems. /// - [Description("An auto-generated type for paginating through multiple FulfillmentOrderLineItems.")] - public class FulfillmentOrderLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple FulfillmentOrderLineItems.")] + public class FulfillmentOrderLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one FulfillmentOrderLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one FulfillmentOrderLineItem and a cursor during pagination.")] - public class FulfillmentOrderLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one FulfillmentOrderLineItem and a cursor during pagination.")] + public class FulfillmentOrderLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FulfillmentOrderLineItemEdge. /// - [Description("The item at the end of FulfillmentOrderLineItemEdge.")] - [NonNull] - public FulfillmentOrderLineItem? node { get; set; } - } - + [Description("The item at the end of FulfillmentOrderLineItemEdge.")] + [NonNull] + public FulfillmentOrderLineItem? node { get; set; } + } + /// ///The financial details of a fulfillment order line item. /// - [Description("The financial details of a fulfillment order line item.")] - public class FulfillmentOrderLineItemFinancialSummary : GraphQLObject - { + [Description("The financial details of a fulfillment order line item.")] + public class FulfillmentOrderLineItemFinancialSummary : GraphQLObject + { /// ///The approximate split price of a line item unit, in shop and presentment currencies. This value doesn't include discounts applied to the entire order.For the full picture of applied discounts, see discountAllocations. /// - [Description("The approximate split price of a line item unit, in shop and presentment currencies. This value doesn't include discounts applied to the entire order.For the full picture of applied discounts, see discountAllocations.")] - [NonNull] - public MoneyBag? approximateDiscountedUnitPriceSet { get; set; } - + [Description("The approximate split price of a line item unit, in shop and presentment currencies. This value doesn't include discounts applied to the entire order.For the full picture of applied discounts, see discountAllocations.")] + [NonNull] + public MoneyBag? approximateDiscountedUnitPriceSet { get; set; } + /// ///The discounts that have been allocated onto the line item by discount applications, not including order edits and refunds. /// - [Description("The discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.")] - [NonNull] - public IEnumerable? discountAllocations { get; set; } - + [Description("The discounts that have been allocated onto the line item by discount applications, not including order edits and refunds.")] + [NonNull] + public IEnumerable? discountAllocations { get; set; } + /// ///The variant unit price without discounts applied, in shop and presentment currencies. /// - [Description("The variant unit price without discounts applied, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("The variant unit price without discounts applied, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///Number of line items that this financial summary applies to. /// - [Description("Number of line items that this financial summary applies to.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("Number of line items that this financial summary applies to.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields used to include the quantity of the fulfillment order line item that should be fulfilled. /// - [Description("The input fields used to include the quantity of the fulfillment order line item that should be fulfilled.")] - public class FulfillmentOrderLineItemInput : GraphQLObject - { + [Description("The input fields used to include the quantity of the fulfillment order line item that should be fulfilled.")] + public class FulfillmentOrderLineItemInput : GraphQLObject + { /// ///The ID of the fulfillment order line item. /// - [Description("The ID of the fulfillment order line item.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the fulfillment order line item.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity of the fulfillment order line item. /// - [Description("The quantity of the fulfillment order line item.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the fulfillment order line item.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///A fulfillment order line item warning. For example, a warning about why a fulfillment request was rejected. /// - [Description("A fulfillment order line item warning. For example, a warning about why a fulfillment request was rejected.")] - public class FulfillmentOrderLineItemWarning : GraphQLObject - { + [Description("A fulfillment order line item warning. For example, a warning about why a fulfillment request was rejected.")] + public class FulfillmentOrderLineItemWarning : GraphQLObject + { /// ///The description of warning. /// - [Description("The description of warning.")] - public string? description { get; set; } - + [Description("The description of warning.")] + public string? description { get; set; } + /// ///The title of warning. /// - [Description("The title of warning.")] - public string? title { get; set; } - } - + [Description("The title of warning.")] + public string? title { get; set; } + } + /// ///The input fields used to include the line items of a specified fulfillment order that should be fulfilled. /// - [Description("The input fields used to include the line items of a specified fulfillment order that should be fulfilled.")] - public class FulfillmentOrderLineItemsInput : GraphQLObject - { + [Description("The input fields used to include the line items of a specified fulfillment order that should be fulfilled.")] + public class FulfillmentOrderLineItemsInput : GraphQLObject + { /// ///The ID of the fulfillment order. /// - [Description("The ID of the fulfillment order.")] - [NonNull] - public string? fulfillmentOrderId { get; set; } - + [Description("The ID of the fulfillment order.")] + [NonNull] + public string? fulfillmentOrderId { get; set; } + /// ///The fulfillment order line items to be fulfilled. ///If left blank, all line items of the fulfillment order will be fulfilled. /// - [Description("The fulfillment order line items to be fulfilled.\nIf left blank, all line items of the fulfillment order will be fulfilled.")] - public IEnumerable? fulfillmentOrderLineItems { get; set; } - } - + [Description("The fulfillment order line items to be fulfilled.\nIf left blank, all line items of the fulfillment order will be fulfilled.")] + public IEnumerable? fulfillmentOrderLineItems { get; set; } + } + /// ///The input fields for marking fulfillment order line items as ready for pickup. /// - [Description("The input fields for marking fulfillment order line items as ready for pickup.")] - public class FulfillmentOrderLineItemsPreparedForPickupInput : GraphQLObject - { + [Description("The input fields for marking fulfillment order line items as ready for pickup.")] + public class FulfillmentOrderLineItemsPreparedForPickupInput : GraphQLObject + { /// ///The fulfillment orders associated with the line items which are ready to be picked up by a customer. /// - [Description("The fulfillment orders associated with the line items which are ready to be picked up by a customer.")] - [NonNull] - public IEnumerable? lineItemsByFulfillmentOrder { get; set; } - } - + [Description("The fulfillment orders associated with the line items which are ready to be picked up by a customer.")] + [NonNull] + public IEnumerable? lineItemsByFulfillmentOrder { get; set; } + } + /// ///Return type for `fulfillmentOrderLineItemsPreparedForPickup` mutation. /// - [Description("Return type for `fulfillmentOrderLineItemsPreparedForPickup` mutation.")] - public class FulfillmentOrderLineItemsPreparedForPickupPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderLineItemsPreparedForPickup` mutation.")] + public class FulfillmentOrderLineItemsPreparedForPickupPayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrderLineItemsPreparedForPickup`. /// - [Description("An error that occurs during the execution of `FulfillmentOrderLineItemsPreparedForPickup`.")] - public class FulfillmentOrderLineItemsPreparedForPickupUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrderLineItemsPreparedForPickup`.")] + public class FulfillmentOrderLineItemsPreparedForPickupUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrderLineItemsPreparedForPickupUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderLineItemsPreparedForPickupUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrderLineItemsPreparedForPickupUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrderLineItemsPreparedForPickupUserError`.")] - public enum FulfillmentOrderLineItemsPreparedForPickupUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrderLineItemsPreparedForPickupUserError`.")] + public enum FulfillmentOrderLineItemsPreparedForPickupUserErrorCode + { /// ///The fulfillment order does not have any line items that can be prepared. /// - [Description("The fulfillment order does not have any line items that can be prepared.")] - NO_LINE_ITEMS_TO_PREPARE_FOR_FULFILLMENT_ORDER, + [Description("The fulfillment order does not have any line items that can be prepared.")] + NO_LINE_ITEMS_TO_PREPARE_FOR_FULFILLMENT_ORDER, /// ///Invalid fulfillment order ID provided. /// - [Description("Invalid fulfillment order ID provided.")] - FULFILLMENT_ORDER_INVALID, + [Description("Invalid fulfillment order ID provided.")] + FULFILLMENT_ORDER_INVALID, /// ///Unable to prepare quantity. /// - [Description("Unable to prepare quantity.")] - UNABLE_TO_PREPARE_QUANTITY, - } - - public static class FulfillmentOrderLineItemsPreparedForPickupUserErrorCodeStringValues - { - public const string NO_LINE_ITEMS_TO_PREPARE_FOR_FULFILLMENT_ORDER = @"NO_LINE_ITEMS_TO_PREPARE_FOR_FULFILLMENT_ORDER"; - public const string FULFILLMENT_ORDER_INVALID = @"FULFILLMENT_ORDER_INVALID"; - public const string UNABLE_TO_PREPARE_QUANTITY = @"UNABLE_TO_PREPARE_QUANTITY"; - } - + [Description("Unable to prepare quantity.")] + UNABLE_TO_PREPARE_QUANTITY, + } + + public static class FulfillmentOrderLineItemsPreparedForPickupUserErrorCodeStringValues + { + public const string NO_LINE_ITEMS_TO_PREPARE_FOR_FULFILLMENT_ORDER = @"NO_LINE_ITEMS_TO_PREPARE_FOR_FULFILLMENT_ORDER"; + public const string FULFILLMENT_ORDER_INVALID = @"FULFILLMENT_ORDER_INVALID"; + public const string UNABLE_TO_PREPARE_QUANTITY = @"UNABLE_TO_PREPARE_QUANTITY"; + } + /// ///A location that a fulfillment order can potentially move to. /// - [Description("A location that a fulfillment order can potentially move to.")] - public class FulfillmentOrderLocationForMove : GraphQLObject - { + [Description("A location that a fulfillment order can potentially move to.")] + public class FulfillmentOrderLocationForMove : GraphQLObject + { /// ///Fulfillment order line items that can be moved from their current location to the given location. /// - [Description("Fulfillment order line items that can be moved from their current location to the given location.")] - [NonNull] - public FulfillmentOrderLineItemConnection? availableLineItems { get; set; } - + [Description("Fulfillment order line items that can be moved from their current location to the given location.")] + [NonNull] + public FulfillmentOrderLineItemConnection? availableLineItems { get; set; } + /// ///Total number of fulfillment order line items that can be moved from their current assigned location to the ///given location. /// - [Description("Total number of fulfillment order line items that can be moved from their current assigned location to the\ngiven location.")] - public Count? availableLineItemsCount { get; set; } - + [Description("Total number of fulfillment order line items that can be moved from their current assigned location to the\ngiven location.")] + public Count? availableLineItemsCount { get; set; } + /// ///The location being considered as the fulfillment order's new assigned location. /// - [Description("The location being considered as the fulfillment order's new assigned location.")] - [NonNull] - public Location? location { get; set; } - + [Description("The location being considered as the fulfillment order's new assigned location.")] + [NonNull] + public Location? location { get; set; } + /// ///A human-readable string with the reason why the fulfillment order, or some of its line items, can't be ///moved to the location. /// - [Description("A human-readable string with the reason why the fulfillment order, or some of its line items, can't be\nmoved to the location.")] - public string? message { get; set; } - + [Description("A human-readable string with the reason why the fulfillment order, or some of its line items, can't be\nmoved to the location.")] + public string? message { get; set; } + /// ///Whether the fulfillment order can be moved to the location. /// - [Description("Whether the fulfillment order can be moved to the location.")] - [NonNull] - public bool? movable { get; set; } - + [Description("Whether the fulfillment order can be moved to the location.")] + [NonNull] + public bool? movable { get; set; } + /// ///Fulfillment order line items that cannot be moved from their current location to the given location. /// - [Description("Fulfillment order line items that cannot be moved from their current location to the given location.")] - [NonNull] - public FulfillmentOrderLineItemConnection? unavailableLineItems { get; set; } - + [Description("Fulfillment order line items that cannot be moved from their current location to the given location.")] + [NonNull] + public FulfillmentOrderLineItemConnection? unavailableLineItems { get; set; } + /// ///Total number of fulfillment order line items that can't be moved from their current assigned location to the ///given location. /// - [Description("Total number of fulfillment order line items that can't be moved from their current assigned location to the\ngiven location.")] - public Count? unavailableLineItemsCount { get; set; } - } - + [Description("Total number of fulfillment order line items that can't be moved from their current assigned location to the\ngiven location.")] + public Count? unavailableLineItemsCount { get; set; } + } + /// ///An auto-generated type for paginating through multiple FulfillmentOrderLocationForMoves. /// - [Description("An auto-generated type for paginating through multiple FulfillmentOrderLocationForMoves.")] - public class FulfillmentOrderLocationForMoveConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple FulfillmentOrderLocationForMoves.")] + public class FulfillmentOrderLocationForMoveConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FulfillmentOrderLocationForMoveEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FulfillmentOrderLocationForMoveEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FulfillmentOrderLocationForMoveEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one FulfillmentOrderLocationForMove and a cursor during pagination. /// - [Description("An auto-generated type which holds one FulfillmentOrderLocationForMove and a cursor during pagination.")] - public class FulfillmentOrderLocationForMoveEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one FulfillmentOrderLocationForMove and a cursor during pagination.")] + public class FulfillmentOrderLocationForMoveEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FulfillmentOrderLocationForMoveEdge. /// - [Description("The item at the end of FulfillmentOrderLocationForMoveEdge.")] - [NonNull] - public FulfillmentOrderLocationForMove? node { get; set; } - } - + [Description("The item at the end of FulfillmentOrderLocationForMoveEdge.")] + [NonNull] + public FulfillmentOrderLocationForMove? node { get; set; } + } + /// ///A request made by the merchant or an order management app to a fulfillment service ///for a fulfillment order. /// - [Description("A request made by the merchant or an order management app to a fulfillment service\nfor a fulfillment order.")] - public class FulfillmentOrderMerchantRequest : GraphQLObject, INode - { + [Description("A request made by the merchant or an order management app to a fulfillment service\nfor a fulfillment order.")] + public class FulfillmentOrderMerchantRequest : GraphQLObject, INode + { /// ///The fulfillment order associated with the merchant request. /// - [Description("The fulfillment order associated with the merchant request.")] - [NonNull] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order associated with the merchant request.")] + [NonNull] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The kind of request made. /// - [Description("The kind of request made.")] - [NonNull] - [EnumType(typeof(FulfillmentOrderMerchantRequestKind))] - public string? kind { get; set; } - + [Description("The kind of request made.")] + [NonNull] + [EnumType(typeof(FulfillmentOrderMerchantRequestKind))] + public string? kind { get; set; } + /// ///The optional message that the merchant included in the request. /// - [Description("The optional message that the merchant included in the request.")] - public string? message { get; set; } - + [Description("The optional message that the merchant included in the request.")] + public string? message { get; set; } + /// ///Additional options requested by the merchant. These depend on the `kind` of the request. ///For example, for a `FULFILLMENT_REQUEST`, one option is `notify_customer`, which indicates whether the ///merchant intends to notify the customer upon fulfillment. The fulfillment service can then set ///`notifyCustomer` when making calls to `FulfillmentCreate`. /// - [Description("Additional options requested by the merchant. These depend on the `kind` of the request.\nFor example, for a `FULFILLMENT_REQUEST`, one option is `notify_customer`, which indicates whether the\nmerchant intends to notify the customer upon fulfillment. The fulfillment service can then set\n`notifyCustomer` when making calls to `FulfillmentCreate`.")] - public string? requestOptions { get; set; } - + [Description("Additional options requested by the merchant. These depend on the `kind` of the request.\nFor example, for a `FULFILLMENT_REQUEST`, one option is `notify_customer`, which indicates whether the\nmerchant intends to notify the customer upon fulfillment. The fulfillment service can then set\n`notifyCustomer` when making calls to `FulfillmentCreate`.")] + public string? requestOptions { get; set; } + /// ///The response from the fulfillment service. /// - [Description("The response from the fulfillment service.")] - public string? responseData { get; set; } - + [Description("The response from the fulfillment service.")] + public string? responseData { get; set; } + /// ///The timestamp when the request was made. /// - [Description("The timestamp when the request was made.")] - [NonNull] - public DateTime? sentAt { get; set; } - } - + [Description("The timestamp when the request was made.")] + [NonNull] + public DateTime? sentAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple FulfillmentOrderMerchantRequests. /// - [Description("An auto-generated type for paginating through multiple FulfillmentOrderMerchantRequests.")] - public class FulfillmentOrderMerchantRequestConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple FulfillmentOrderMerchantRequests.")] + public class FulfillmentOrderMerchantRequestConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in FulfillmentOrderMerchantRequestEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in FulfillmentOrderMerchantRequestEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in FulfillmentOrderMerchantRequestEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one FulfillmentOrderMerchantRequest and a cursor during pagination. /// - [Description("An auto-generated type which holds one FulfillmentOrderMerchantRequest and a cursor during pagination.")] - public class FulfillmentOrderMerchantRequestEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one FulfillmentOrderMerchantRequest and a cursor during pagination.")] + public class FulfillmentOrderMerchantRequestEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of FulfillmentOrderMerchantRequestEdge. /// - [Description("The item at the end of FulfillmentOrderMerchantRequestEdge.")] - [NonNull] - public FulfillmentOrderMerchantRequest? node { get; set; } - } - + [Description("The item at the end of FulfillmentOrderMerchantRequestEdge.")] + [NonNull] + public FulfillmentOrderMerchantRequest? node { get; set; } + } + /// ///The kinds of request merchants can make to a fulfillment service. /// - [Description("The kinds of request merchants can make to a fulfillment service.")] - public enum FulfillmentOrderMerchantRequestKind - { + [Description("The kinds of request merchants can make to a fulfillment service.")] + public enum FulfillmentOrderMerchantRequestKind + { /// ///The merchant requests fulfillment for an `OPEN` fulfillment order. /// - [Description("The merchant requests fulfillment for an `OPEN` fulfillment order.")] - FULFILLMENT_REQUEST, + [Description("The merchant requests fulfillment for an `OPEN` fulfillment order.")] + FULFILLMENT_REQUEST, /// ///The merchant requests cancellation of an `IN_PROGRESS` fulfillment order. /// - [Description("The merchant requests cancellation of an `IN_PROGRESS` fulfillment order.")] - CANCELLATION_REQUEST, - } - - public static class FulfillmentOrderMerchantRequestKindStringValues - { - public const string FULFILLMENT_REQUEST = @"FULFILLMENT_REQUEST"; - public const string CANCELLATION_REQUEST = @"CANCELLATION_REQUEST"; - } - + [Description("The merchant requests cancellation of an `IN_PROGRESS` fulfillment order.")] + CANCELLATION_REQUEST, + } + + public static class FulfillmentOrderMerchantRequestKindStringValues + { + public const string FULFILLMENT_REQUEST = @"FULFILLMENT_REQUEST"; + public const string CANCELLATION_REQUEST = @"CANCELLATION_REQUEST"; + } + /// ///The input fields for merging fulfillment orders. /// - [Description("The input fields for merging fulfillment orders.")] - public class FulfillmentOrderMergeInput : GraphQLObject - { + [Description("The input fields for merging fulfillment orders.")] + public class FulfillmentOrderMergeInput : GraphQLObject + { /// ///The details of the fulfillment orders to be merged. /// - [Description("The details of the fulfillment orders to be merged.")] - [NonNull] - public IEnumerable? mergeIntents { get; set; } - } - + [Description("The details of the fulfillment orders to be merged.")] + [NonNull] + public IEnumerable? mergeIntents { get; set; } + } + /// ///The input fields for merging fulfillment orders into a single merged fulfillment order. /// - [Description("The input fields for merging fulfillment orders into a single merged fulfillment order.")] - public class FulfillmentOrderMergeInputMergeIntent : GraphQLObject - { + [Description("The input fields for merging fulfillment orders into a single merged fulfillment order.")] + public class FulfillmentOrderMergeInputMergeIntent : GraphQLObject + { /// ///The fulfillment order line items to be merged. /// - [Description("The fulfillment order line items to be merged.")] - public IEnumerable? fulfillmentOrderLineItems { get; set; } - + [Description("The fulfillment order line items to be merged.")] + public IEnumerable? fulfillmentOrderLineItems { get; set; } + /// ///The ID of the fulfillment order to be merged. /// - [Description("The ID of the fulfillment order to be merged.")] - [NonNull] - public string? fulfillmentOrderId { get; set; } - } - + [Description("The ID of the fulfillment order to be merged.")] + [NonNull] + public string? fulfillmentOrderId { get; set; } + } + /// ///Return type for `fulfillmentOrderMerge` mutation. /// - [Description("Return type for `fulfillmentOrderMerge` mutation.")] - public class FulfillmentOrderMergePayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderMerge` mutation.")] + public class FulfillmentOrderMergePayload : GraphQLObject + { /// ///The result of the fulfillment order merges. /// - [Description("The result of the fulfillment order merges.")] - public IEnumerable? fulfillmentOrderMerges { get; set; } - + [Description("The result of the fulfillment order merges.")] + public IEnumerable? fulfillmentOrderMerges { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The result of merging a set of fulfillment orders. /// - [Description("The result of merging a set of fulfillment orders.")] - public class FulfillmentOrderMergeResult : GraphQLObject - { + [Description("The result of merging a set of fulfillment orders.")] + public class FulfillmentOrderMergeResult : GraphQLObject + { /// ///The new fulfillment order as a result of the merge. /// - [Description("The new fulfillment order as a result of the merge.")] - [NonNull] - public FulfillmentOrder? fulfillmentOrder { get; set; } - } - + [Description("The new fulfillment order as a result of the merge.")] + [NonNull] + public FulfillmentOrder? fulfillmentOrder { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrderMerge`. /// - [Description("An error that occurs during the execution of `FulfillmentOrderMerge`.")] - public class FulfillmentOrderMergeUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrderMerge`.")] + public class FulfillmentOrderMergeUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrderMergeUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderMergeUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrderMergeUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrderMergeUserError`.")] - public enum FulfillmentOrderMergeUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrderMergeUserError`.")] + public enum FulfillmentOrderMergeUserErrorCode + { /// ///The fulfillment order could not be found. /// - [Description("The fulfillment order could not be found.")] - FULFILLMENT_ORDER_NOT_FOUND, + [Description("The fulfillment order could not be found.")] + FULFILLMENT_ORDER_NOT_FOUND, /// ///The fulfillment order line item quantity must be greater than 0. /// - [Description("The fulfillment order line item quantity must be greater than 0.")] - GREATER_THAN, + [Description("The fulfillment order line item quantity must be greater than 0.")] + GREATER_THAN, /// ///The fulfillment order line item quantity is invalid. /// - [Description("The fulfillment order line item quantity is invalid.")] - INVALID_LINE_ITEM_QUANTITY, - } - - public static class FulfillmentOrderMergeUserErrorCodeStringValues - { - public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string INVALID_LINE_ITEM_QUANTITY = @"INVALID_LINE_ITEM_QUANTITY"; - } - + [Description("The fulfillment order line item quantity is invalid.")] + INVALID_LINE_ITEM_QUANTITY, + } + + public static class FulfillmentOrderMergeUserErrorCodeStringValues + { + public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string INVALID_LINE_ITEM_QUANTITY = @"INVALID_LINE_ITEM_QUANTITY"; + } + /// ///Return type for `fulfillmentOrderMove` mutation. /// - [Description("Return type for `fulfillmentOrderMove` mutation.")] - public class FulfillmentOrderMovePayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderMove` mutation.")] + public class FulfillmentOrderMovePayload : GraphQLObject + { /// ///The fulfillment order which now contains the moved line items and is assigned to the destination location. /// ///If the original fulfillment order doesn't have any line items which are fully or partially fulfilled, the original fulfillment order will be moved to the new location. ///However if this isn't the case, the moved fulfillment order will differ from the original one. /// - [Description("The fulfillment order which now contains the moved line items and is assigned to the destination location.\n\nIf the original fulfillment order doesn't have any line items which are fully or partially fulfilled, the original fulfillment order will be moved to the new location.\nHowever if this isn't the case, the moved fulfillment order will differ from the original one.")] - public FulfillmentOrder? movedFulfillmentOrder { get; set; } - + [Description("The fulfillment order which now contains the moved line items and is assigned to the destination location.\n\nIf the original fulfillment order doesn't have any line items which are fully or partially fulfilled, the original fulfillment order will be moved to the new location.\nHowever if this isn't the case, the moved fulfillment order will differ from the original one.")] + public FulfillmentOrder? movedFulfillmentOrder { get; set; } + /// ///The final state of the original fulfillment order. /// ///As a result of the move operation, the original fulfillment order might be moved to the new location ///or remain in the original location. The original fulfillment order might have the same status or be closed. /// - [Description("The final state of the original fulfillment order.\n\nAs a result of the move operation, the original fulfillment order might be moved to the new location\nor remain in the original location. The original fulfillment order might have the same status or be closed.")] - public FulfillmentOrder? originalFulfillmentOrder { get; set; } - + [Description("The final state of the original fulfillment order.\n\nAs a result of the move operation, the original fulfillment order might be moved to the new location\nor remain in the original location. The original fulfillment order might have the same status or be closed.")] + public FulfillmentOrder? originalFulfillmentOrder { get; set; } + /// ///This field is deprecated. /// - [Description("This field is deprecated.")] - public FulfillmentOrder? remainingFulfillmentOrder { get; set; } - + [Description("This field is deprecated.")] + public FulfillmentOrder? remainingFulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentOrderOpen` mutation. /// - [Description("Return type for `fulfillmentOrderOpen` mutation.")] - public class FulfillmentOrderOpenPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderOpen` mutation.")] + public class FulfillmentOrderOpenPayload : GraphQLObject + { /// ///The fulfillment order that was transitioned to open and is fulfillable. /// - [Description("The fulfillment order that was transitioned to open and is fulfillable.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order that was transitioned to open and is fulfillable.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentOrderRejectCancellationRequest` mutation. /// - [Description("Return type for `fulfillmentOrderRejectCancellationRequest` mutation.")] - public class FulfillmentOrderRejectCancellationRequestPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderRejectCancellationRequest` mutation.")] + public class FulfillmentOrderRejectCancellationRequestPayload : GraphQLObject + { /// ///The fulfillment order whose cancellation request was rejected. /// - [Description("The fulfillment order whose cancellation request was rejected.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order whose cancellation request was rejected.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentOrderRejectFulfillmentRequest` mutation. /// - [Description("Return type for `fulfillmentOrderRejectFulfillmentRequest` mutation.")] - public class FulfillmentOrderRejectFulfillmentRequestPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderRejectFulfillmentRequest` mutation.")] + public class FulfillmentOrderRejectFulfillmentRequestPayload : GraphQLObject + { /// ///The fulfillment order whose fulfillment request was rejected. /// - [Description("The fulfillment order whose fulfillment request was rejected.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order whose fulfillment request was rejected.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The reason for a fulfillment order rejection. /// - [Description("The reason for a fulfillment order rejection.")] - public enum FulfillmentOrderRejectionReason - { + [Description("The reason for a fulfillment order rejection.")] + public enum FulfillmentOrderRejectionReason + { /// ///The fulfillment order was rejected because of an incorrect address. /// - [Description("The fulfillment order was rejected because of an incorrect address.")] - INCORRECT_ADDRESS, + [Description("The fulfillment order was rejected because of an incorrect address.")] + INCORRECT_ADDRESS, /// ///The fulfillment order was rejected because inventory is out of stock. /// - [Description("The fulfillment order was rejected because inventory is out of stock.")] - INVENTORY_OUT_OF_STOCK, + [Description("The fulfillment order was rejected because inventory is out of stock.")] + INVENTORY_OUT_OF_STOCK, /// ///The fulfillment order was rejected because of an ineligible product. /// - [Description("The fulfillment order was rejected because of an ineligible product.")] - INELIGIBLE_PRODUCT, + [Description("The fulfillment order was rejected because of an ineligible product.")] + INELIGIBLE_PRODUCT, /// ///The fulfillment order was rejected because of an undeliverable destination. /// - [Description("The fulfillment order was rejected because of an undeliverable destination.")] - UNDELIVERABLE_DESTINATION, + [Description("The fulfillment order was rejected because of an undeliverable destination.")] + UNDELIVERABLE_DESTINATION, /// ///The fulfillment order was rejected because international address shipping hasn't been enabled. /// - [Description("The fulfillment order was rejected because international address shipping hasn't been enabled.")] - INTERNATIONAL_SHIPPING_UNAVAILABLE, + [Description("The fulfillment order was rejected because international address shipping hasn't been enabled.")] + INTERNATIONAL_SHIPPING_UNAVAILABLE, /// ///The fulfillment order was rejected because product information is incorrect to be able to ship. /// - [Description("The fulfillment order was rejected because product information is incorrect to be able to ship.")] - INCORRECT_PRODUCT_INFO, + [Description("The fulfillment order was rejected because product information is incorrect to be able to ship.")] + INCORRECT_PRODUCT_INFO, /// ///The fulfillment order was rejected because customs information was missing for international shipping. /// - [Description("The fulfillment order was rejected because customs information was missing for international shipping.")] - MISSING_CUSTOMS_INFO, + [Description("The fulfillment order was rejected because customs information was missing for international shipping.")] + MISSING_CUSTOMS_INFO, /// ///The fulfillment order was rejected because of an invalid SKU. /// - [Description("The fulfillment order was rejected because of an invalid SKU.")] - INVALID_SKU, + [Description("The fulfillment order was rejected because of an invalid SKU.")] + INVALID_SKU, /// ///The fulfillment order was rejected because the payment method was declined. /// - [Description("The fulfillment order was rejected because the payment method was declined.")] - PAYMENT_DECLINED, + [Description("The fulfillment order was rejected because the payment method was declined.")] + PAYMENT_DECLINED, /// ///The fulfillment order was rejected because the package preference was not set. /// - [Description("The fulfillment order was rejected because the package preference was not set.")] - PACKAGE_PREFERENCE_NOT_SET, + [Description("The fulfillment order was rejected because the package preference was not set.")] + PACKAGE_PREFERENCE_NOT_SET, /// ///The fulfillment order was rejected because of invalid customer contact information. /// - [Description("The fulfillment order was rejected because of invalid customer contact information.")] - INVALID_CONTACT_INFORMATION, + [Description("The fulfillment order was rejected because of invalid customer contact information.")] + INVALID_CONTACT_INFORMATION, /// ///The fulfillment order was rejected because the order is too large. /// - [Description("The fulfillment order was rejected because the order is too large.")] - ORDER_TOO_LARGE, + [Description("The fulfillment order was rejected because the order is too large.")] + ORDER_TOO_LARGE, /// ///The fulfillment order was rejected because the merchant is blocked or suspended. /// - [Description("The fulfillment order was rejected because the merchant is blocked or suspended.")] - MERCHANT_BLOCKED_OR_SUSPENDED, + [Description("The fulfillment order was rejected because the merchant is blocked or suspended.")] + MERCHANT_BLOCKED_OR_SUSPENDED, /// ///The fulfillment order was rejected for another reason. /// - [Description("The fulfillment order was rejected for another reason.")] - OTHER, - } - - public static class FulfillmentOrderRejectionReasonStringValues - { - public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; - public const string INVENTORY_OUT_OF_STOCK = @"INVENTORY_OUT_OF_STOCK"; - public const string INELIGIBLE_PRODUCT = @"INELIGIBLE_PRODUCT"; - public const string UNDELIVERABLE_DESTINATION = @"UNDELIVERABLE_DESTINATION"; - public const string INTERNATIONAL_SHIPPING_UNAVAILABLE = @"INTERNATIONAL_SHIPPING_UNAVAILABLE"; - public const string INCORRECT_PRODUCT_INFO = @"INCORRECT_PRODUCT_INFO"; - public const string MISSING_CUSTOMS_INFO = @"MISSING_CUSTOMS_INFO"; - public const string INVALID_SKU = @"INVALID_SKU"; - public const string PAYMENT_DECLINED = @"PAYMENT_DECLINED"; - public const string PACKAGE_PREFERENCE_NOT_SET = @"PACKAGE_PREFERENCE_NOT_SET"; - public const string INVALID_CONTACT_INFORMATION = @"INVALID_CONTACT_INFORMATION"; - public const string ORDER_TOO_LARGE = @"ORDER_TOO_LARGE"; - public const string MERCHANT_BLOCKED_OR_SUSPENDED = @"MERCHANT_BLOCKED_OR_SUSPENDED"; - public const string OTHER = @"OTHER"; - } - + [Description("The fulfillment order was rejected for another reason.")] + OTHER, + } + + public static class FulfillmentOrderRejectionReasonStringValues + { + public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; + public const string INVENTORY_OUT_OF_STOCK = @"INVENTORY_OUT_OF_STOCK"; + public const string INELIGIBLE_PRODUCT = @"INELIGIBLE_PRODUCT"; + public const string UNDELIVERABLE_DESTINATION = @"UNDELIVERABLE_DESTINATION"; + public const string INTERNATIONAL_SHIPPING_UNAVAILABLE = @"INTERNATIONAL_SHIPPING_UNAVAILABLE"; + public const string INCORRECT_PRODUCT_INFO = @"INCORRECT_PRODUCT_INFO"; + public const string MISSING_CUSTOMS_INFO = @"MISSING_CUSTOMS_INFO"; + public const string INVALID_SKU = @"INVALID_SKU"; + public const string PAYMENT_DECLINED = @"PAYMENT_DECLINED"; + public const string PACKAGE_PREFERENCE_NOT_SET = @"PACKAGE_PREFERENCE_NOT_SET"; + public const string INVALID_CONTACT_INFORMATION = @"INVALID_CONTACT_INFORMATION"; + public const string ORDER_TOO_LARGE = @"ORDER_TOO_LARGE"; + public const string MERCHANT_BLOCKED_OR_SUSPENDED = @"MERCHANT_BLOCKED_OR_SUSPENDED"; + public const string OTHER = @"OTHER"; + } + /// ///Return type for `fulfillmentOrderReleaseHold` mutation. /// - [Description("Return type for `fulfillmentOrderReleaseHold` mutation.")] - public class FulfillmentOrderReleaseHoldPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderReleaseHold` mutation.")] + public class FulfillmentOrderReleaseHoldPayload : GraphQLObject + { /// ///The fulfillment order on which the hold was released. /// - [Description("The fulfillment order on which the hold was released.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order on which the hold was released.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrderReleaseHold`. /// - [Description("An error that occurs during the execution of `FulfillmentOrderReleaseHold`.")] - public class FulfillmentOrderReleaseHoldUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrderReleaseHold`.")] + public class FulfillmentOrderReleaseHoldUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrderReleaseHoldUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderReleaseHoldUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrderReleaseHoldUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrderReleaseHoldUserError`.")] - public enum FulfillmentOrderReleaseHoldUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrderReleaseHoldUserError`.")] + public enum FulfillmentOrderReleaseHoldUserErrorCode + { /// ///The fulfillment order wasn't found. /// - [Description("The fulfillment order wasn't found.")] - FULFILLMENT_ORDER_NOT_FOUND, + [Description("The fulfillment order wasn't found.")] + FULFILLMENT_ORDER_NOT_FOUND, /// ///The app doesn't have access to release the fulfillment hold. /// - [Description("The app doesn't have access to release the fulfillment hold.")] - INVALID_ACCESS, - } - - public static class FulfillmentOrderReleaseHoldUserErrorCodeStringValues - { - public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; - public const string INVALID_ACCESS = @"INVALID_ACCESS"; - } - + [Description("The app doesn't have access to release the fulfillment hold.")] + INVALID_ACCESS, + } + + public static class FulfillmentOrderReleaseHoldUserErrorCodeStringValues + { + public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; + public const string INVALID_ACCESS = @"INVALID_ACCESS"; + } + /// ///The request status of a fulfillment order. /// - [Description("The request status of a fulfillment order.")] - public enum FulfillmentOrderRequestStatus - { + [Description("The request status of a fulfillment order.")] + public enum FulfillmentOrderRequestStatus + { /// ///The initial request status for the newly-created fulfillment orders. This is the only valid ///request status for fulfillment orders that aren't assigned to a fulfillment service. /// - [Description("The initial request status for the newly-created fulfillment orders. This is the only valid\nrequest status for fulfillment orders that aren't assigned to a fulfillment service.")] - UNSUBMITTED, + [Description("The initial request status for the newly-created fulfillment orders. This is the only valid\nrequest status for fulfillment orders that aren't assigned to a fulfillment service.")] + UNSUBMITTED, /// ///The merchant requested fulfillment for this fulfillment order. /// - [Description("The merchant requested fulfillment for this fulfillment order.")] - SUBMITTED, + [Description("The merchant requested fulfillment for this fulfillment order.")] + SUBMITTED, /// ///The fulfillment service accepted the merchant's fulfillment request. /// - [Description("The fulfillment service accepted the merchant's fulfillment request.")] - ACCEPTED, + [Description("The fulfillment service accepted the merchant's fulfillment request.")] + ACCEPTED, /// ///The fulfillment service rejected the merchant's fulfillment request. /// - [Description("The fulfillment service rejected the merchant's fulfillment request.")] - REJECTED, + [Description("The fulfillment service rejected the merchant's fulfillment request.")] + REJECTED, /// ///The merchant requested a cancellation of the fulfillment request for this fulfillment order. /// - [Description("The merchant requested a cancellation of the fulfillment request for this fulfillment order.")] - CANCELLATION_REQUESTED, + [Description("The merchant requested a cancellation of the fulfillment request for this fulfillment order.")] + CANCELLATION_REQUESTED, /// ///The fulfillment service accepted the merchant's fulfillment cancellation request. /// - [Description("The fulfillment service accepted the merchant's fulfillment cancellation request.")] - CANCELLATION_ACCEPTED, + [Description("The fulfillment service accepted the merchant's fulfillment cancellation request.")] + CANCELLATION_ACCEPTED, /// ///The fulfillment service rejected the merchant's fulfillment cancellation request. /// - [Description("The fulfillment service rejected the merchant's fulfillment cancellation request.")] - CANCELLATION_REJECTED, + [Description("The fulfillment service rejected the merchant's fulfillment cancellation request.")] + CANCELLATION_REJECTED, /// ///The fulfillment service closed the fulfillment order without completing it. /// - [Description("The fulfillment service closed the fulfillment order without completing it.")] - CLOSED, - } - - public static class FulfillmentOrderRequestStatusStringValues - { - public const string UNSUBMITTED = @"UNSUBMITTED"; - public const string SUBMITTED = @"SUBMITTED"; - public const string ACCEPTED = @"ACCEPTED"; - public const string REJECTED = @"REJECTED"; - public const string CANCELLATION_REQUESTED = @"CANCELLATION_REQUESTED"; - public const string CANCELLATION_ACCEPTED = @"CANCELLATION_ACCEPTED"; - public const string CANCELLATION_REJECTED = @"CANCELLATION_REJECTED"; - public const string CLOSED = @"CLOSED"; - } - + [Description("The fulfillment service closed the fulfillment order without completing it.")] + CLOSED, + } + + public static class FulfillmentOrderRequestStatusStringValues + { + public const string UNSUBMITTED = @"UNSUBMITTED"; + public const string SUBMITTED = @"SUBMITTED"; + public const string ACCEPTED = @"ACCEPTED"; + public const string REJECTED = @"REJECTED"; + public const string CANCELLATION_REQUESTED = @"CANCELLATION_REQUESTED"; + public const string CANCELLATION_ACCEPTED = @"CANCELLATION_ACCEPTED"; + public const string CANCELLATION_REJECTED = @"CANCELLATION_REJECTED"; + public const string CLOSED = @"CLOSED"; + } + /// ///Return type for `fulfillmentOrderReschedule` mutation. /// - [Description("Return type for `fulfillmentOrderReschedule` mutation.")] - public class FulfillmentOrderReschedulePayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderReschedule` mutation.")] + public class FulfillmentOrderReschedulePayload : GraphQLObject + { /// ///A fulfillment order with the rescheduled line items. /// @@ -48204,608 +48204,608 @@ public class FulfillmentOrderReschedulePayload : GraphQLObject - [Description("A fulfillment order with the rescheduled line items.\n\nFulfillment orders may be merged if they have the same `fulfillAt` datetime.\n\nIf the fulfillment order is merged then the resulting fulfillment order will be returned.\nOtherwise the original fulfillment order will be returned with an updated `fulfillAt` datetime.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("A fulfillment order with the rescheduled line items.\n\nFulfillment orders may be merged if they have the same `fulfillAt` datetime.\n\nIf the fulfillment order is merged then the resulting fulfillment order will be returned.\nOtherwise the original fulfillment order will be returned with an updated `fulfillAt` datetime.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrderReschedule`. /// - [Description("An error that occurs during the execution of `FulfillmentOrderReschedule`.")] - public class FulfillmentOrderRescheduleUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrderReschedule`.")] + public class FulfillmentOrderRescheduleUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrderRescheduleUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderRescheduleUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrderRescheduleUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrderRescheduleUserError`.")] - public enum FulfillmentOrderRescheduleUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrderRescheduleUserError`.")] + public enum FulfillmentOrderRescheduleUserErrorCode + { /// ///Fulfillment order could not be found. /// - [Description("Fulfillment order could not be found.")] - FULFILLMENT_ORDER_NOT_FOUND, - } - - public static class FulfillmentOrderRescheduleUserErrorCodeStringValues - { - public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; - } - + [Description("Fulfillment order could not be found.")] + FULFILLMENT_ORDER_NOT_FOUND, + } + + public static class FulfillmentOrderRescheduleUserErrorCodeStringValues + { + public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; + } + /// ///The set of valid sort keys for the FulfillmentOrder query. /// - [Description("The set of valid sort keys for the FulfillmentOrder query.")] - public enum FulfillmentOrderSortKeys - { + [Description("The set of valid sort keys for the FulfillmentOrder query.")] + public enum FulfillmentOrderSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class FulfillmentOrderSortKeysStringValues - { - public const string ID = @"ID"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class FulfillmentOrderSortKeysStringValues + { + public const string ID = @"ID"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The input fields for the split applied to the fulfillment order. /// - [Description("The input fields for the split applied to the fulfillment order.")] - public class FulfillmentOrderSplitInput : GraphQLObject - { + [Description("The input fields for the split applied to the fulfillment order.")] + public class FulfillmentOrderSplitInput : GraphQLObject + { /// ///The fulfillment order line items to be split out. /// - [Description("The fulfillment order line items to be split out.")] - [NonNull] - public IEnumerable? fulfillmentOrderLineItems { get; set; } - + [Description("The fulfillment order line items to be split out.")] + [NonNull] + public IEnumerable? fulfillmentOrderLineItems { get; set; } + /// ///The ID of the fulfillment order to be split. /// - [Description("The ID of the fulfillment order to be split.")] - [NonNull] - public string? fulfillmentOrderId { get; set; } - } - + [Description("The ID of the fulfillment order to be split.")] + [NonNull] + public string? fulfillmentOrderId { get; set; } + } + /// ///Return type for `fulfillmentOrderSplit` mutation. /// - [Description("Return type for `fulfillmentOrderSplit` mutation.")] - public class FulfillmentOrderSplitPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderSplit` mutation.")] + public class FulfillmentOrderSplitPayload : GraphQLObject + { /// ///The result of the fulfillment order splits. /// - [Description("The result of the fulfillment order splits.")] - public IEnumerable? fulfillmentOrderSplits { get; set; } - + [Description("The result of the fulfillment order splits.")] + public IEnumerable? fulfillmentOrderSplits { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The result of splitting a fulfillment order. /// - [Description("The result of splitting a fulfillment order.")] - public class FulfillmentOrderSplitResult : GraphQLObject - { + [Description("The result of splitting a fulfillment order.")] + public class FulfillmentOrderSplitResult : GraphQLObject + { /// ///The original fulfillment order as a result of the split. /// - [Description("The original fulfillment order as a result of the split.")] - [NonNull] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The original fulfillment order as a result of the split.")] + [NonNull] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The remaining fulfillment order as a result of the split. /// - [Description("The remaining fulfillment order as a result of the split.")] - [NonNull] - public FulfillmentOrder? remainingFulfillmentOrder { get; set; } - + [Description("The remaining fulfillment order as a result of the split.")] + [NonNull] + public FulfillmentOrder? remainingFulfillmentOrder { get; set; } + /// ///The replacement fulfillment order if the original fulfillment order wasn't in a state to be split. /// - [Description("The replacement fulfillment order if the original fulfillment order wasn't in a state to be split.")] - public FulfillmentOrder? replacementFulfillmentOrder { get; set; } - } - + [Description("The replacement fulfillment order if the original fulfillment order wasn't in a state to be split.")] + public FulfillmentOrder? replacementFulfillmentOrder { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrderSplit`. /// - [Description("An error that occurs during the execution of `FulfillmentOrderSplit`.")] - public class FulfillmentOrderSplitUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrderSplit`.")] + public class FulfillmentOrderSplitUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrderSplitUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrderSplitUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrderSplitUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrderSplitUserError`.")] - public enum FulfillmentOrderSplitUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrderSplitUserError`.")] + public enum FulfillmentOrderSplitUserErrorCode + { /// ///The fulfillment order could not be found. /// - [Description("The fulfillment order could not be found.")] - FULFILLMENT_ORDER_NOT_FOUND, + [Description("The fulfillment order could not be found.")] + FULFILLMENT_ORDER_NOT_FOUND, /// ///The fulfillment order line item quantity must be greater than 0. /// - [Description("The fulfillment order line item quantity must be greater than 0.")] - GREATER_THAN, + [Description("The fulfillment order line item quantity must be greater than 0.")] + GREATER_THAN, /// ///The fulfillment order line item quantity is invalid. /// - [Description("The fulfillment order line item quantity is invalid.")] - INVALID_LINE_ITEM_QUANTITY, + [Description("The fulfillment order line item quantity is invalid.")] + INVALID_LINE_ITEM_QUANTITY, /// ///The fulfillment order must have at least one line item input to split. /// - [Description("The fulfillment order must have at least one line item input to split.")] - NO_LINE_ITEMS_PROVIDED_TO_SPLIT, - } - - public static class FulfillmentOrderSplitUserErrorCodeStringValues - { - public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string INVALID_LINE_ITEM_QUANTITY = @"INVALID_LINE_ITEM_QUANTITY"; - public const string NO_LINE_ITEMS_PROVIDED_TO_SPLIT = @"NO_LINE_ITEMS_PROVIDED_TO_SPLIT"; - } - + [Description("The fulfillment order must have at least one line item input to split.")] + NO_LINE_ITEMS_PROVIDED_TO_SPLIT, + } + + public static class FulfillmentOrderSplitUserErrorCodeStringValues + { + public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string INVALID_LINE_ITEM_QUANTITY = @"INVALID_LINE_ITEM_QUANTITY"; + public const string NO_LINE_ITEMS_PROVIDED_TO_SPLIT = @"NO_LINE_ITEMS_PROVIDED_TO_SPLIT"; + } + /// ///The status of a fulfillment order. /// - [Description("The status of a fulfillment order.")] - public enum FulfillmentOrderStatus - { + [Description("The status of a fulfillment order.")] + public enum FulfillmentOrderStatus + { /// ///The fulfillment order is ready for fulfillment. /// - [Description("The fulfillment order is ready for fulfillment.")] - OPEN, + [Description("The fulfillment order is ready for fulfillment.")] + OPEN, /// ///The fulfillment order is being processed. /// - [Description("The fulfillment order is being processed.")] - IN_PROGRESS, + [Description("The fulfillment order is being processed.")] + IN_PROGRESS, /// ///The fulfillment order has been cancelled by the merchant. /// - [Description("The fulfillment order has been cancelled by the merchant.")] - CANCELLED, + [Description("The fulfillment order has been cancelled by the merchant.")] + CANCELLED, /// ///The fulfillment order cannot be completed as requested. /// - [Description("The fulfillment order cannot be completed as requested.")] - INCOMPLETE, + [Description("The fulfillment order cannot be completed as requested.")] + INCOMPLETE, /// ///The fulfillment order has been completed and closed. /// - [Description("The fulfillment order has been completed and closed.")] - CLOSED, + [Description("The fulfillment order has been completed and closed.")] + CLOSED, /// ///The fulfillment order is deferred and will be ready for fulfillment after the date and time specified in `fulfill_at`. /// - [Description("The fulfillment order is deferred and will be ready for fulfillment after the date and time specified in `fulfill_at`.")] - SCHEDULED, + [Description("The fulfillment order is deferred and will be ready for fulfillment after the date and time specified in `fulfill_at`.")] + SCHEDULED, /// ///The fulfillment order is on hold. The fulfillment process can't be initiated until the hold on the fulfillment order is released. /// - [Description("The fulfillment order is on hold. The fulfillment process can't be initiated until the hold on the fulfillment order is released.")] - ON_HOLD, - } - - public static class FulfillmentOrderStatusStringValues - { - public const string OPEN = @"OPEN"; - public const string IN_PROGRESS = @"IN_PROGRESS"; - public const string CANCELLED = @"CANCELLED"; - public const string INCOMPLETE = @"INCOMPLETE"; - public const string CLOSED = @"CLOSED"; - public const string SCHEDULED = @"SCHEDULED"; - public const string ON_HOLD = @"ON_HOLD"; - } - + [Description("The fulfillment order is on hold. The fulfillment process can't be initiated until the hold on the fulfillment order is released.")] + ON_HOLD, + } + + public static class FulfillmentOrderStatusStringValues + { + public const string OPEN = @"OPEN"; + public const string IN_PROGRESS = @"IN_PROGRESS"; + public const string CANCELLED = @"CANCELLED"; + public const string INCOMPLETE = @"INCOMPLETE"; + public const string CLOSED = @"CLOSED"; + public const string SCHEDULED = @"SCHEDULED"; + public const string ON_HOLD = @"ON_HOLD"; + } + /// ///Return type for `fulfillmentOrderSubmitCancellationRequest` mutation. /// - [Description("Return type for `fulfillmentOrderSubmitCancellationRequest` mutation.")] - public class FulfillmentOrderSubmitCancellationRequestPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderSubmitCancellationRequest` mutation.")] + public class FulfillmentOrderSubmitCancellationRequestPayload : GraphQLObject + { /// ///The fulfillment order specified in the cancelation request. /// - [Description("The fulfillment order specified in the cancelation request.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("The fulfillment order specified in the cancelation request.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentOrderSubmitFulfillmentRequest` mutation. /// - [Description("Return type for `fulfillmentOrderSubmitFulfillmentRequest` mutation.")] - public class FulfillmentOrderSubmitFulfillmentRequestPayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrderSubmitFulfillmentRequest` mutation.")] + public class FulfillmentOrderSubmitFulfillmentRequestPayload : GraphQLObject + { /// ///The original fulfillment order intended to request fulfillment for. /// - [Description("The original fulfillment order intended to request fulfillment for.")] - public FulfillmentOrder? originalFulfillmentOrder { get; set; } - + [Description("The original fulfillment order intended to request fulfillment for.")] + public FulfillmentOrder? originalFulfillmentOrder { get; set; } + /// ///The fulfillment order that was submitted to the fulfillment service. This will be the same as ///the original fulfillment order field. The exception to this is partial fulfillment requests or ///fulfillment request for cancelled or incomplete fulfillment orders. /// - [Description("The fulfillment order that was submitted to the fulfillment service. This will be the same as\nthe original fulfillment order field. The exception to this is partial fulfillment requests or\nfulfillment request for cancelled or incomplete fulfillment orders.")] - public FulfillmentOrder? submittedFulfillmentOrder { get; set; } - + [Description("The fulfillment order that was submitted to the fulfillment service. This will be the same as\nthe original fulfillment order field. The exception to this is partial fulfillment requests or\nfulfillment request for cancelled or incomplete fulfillment orders.")] + public FulfillmentOrder? submittedFulfillmentOrder { get; set; } + /// ///This field will only be present for partial fulfillment requests. This will represent the new ///fulfillment order with the remaining line items not submitted to the fulfillment service. /// - [Description("This field will only be present for partial fulfillment requests. This will represent the new\nfulfillment order with the remaining line items not submitted to the fulfillment service.")] - public FulfillmentOrder? unsubmittedFulfillmentOrder { get; set; } - + [Description("This field will only be present for partial fulfillment requests. This will represent the new\nfulfillment order with the remaining line items not submitted to the fulfillment service.")] + public FulfillmentOrder? unsubmittedFulfillmentOrder { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///One of the actions that the fulfillment order supports in its current state. /// - [Description("One of the actions that the fulfillment order supports in its current state.")] - public class FulfillmentOrderSupportedAction : GraphQLObject - { + [Description("One of the actions that the fulfillment order supports in its current state.")] + public class FulfillmentOrderSupportedAction : GraphQLObject + { /// ///The action value. /// - [Description("The action value.")] - [NonNull] - [EnumType(typeof(FulfillmentOrderAction))] - public string? action { get; set; } - + [Description("The action value.")] + [NonNull] + [EnumType(typeof(FulfillmentOrderAction))] + public string? action { get; set; } + /// ///The external URL to be used to initiate the fulfillment process outside Shopify. ///Applicable only when the `action` value is `EXTERNAL`. /// - [Description("The external URL to be used to initiate the fulfillment process outside Shopify.\nApplicable only when the `action` value is `EXTERNAL`.")] - public string? externalUrl { get; set; } - } - + [Description("The external URL to be used to initiate the fulfillment process outside Shopify.\nApplicable only when the `action` value is `EXTERNAL`.")] + public string? externalUrl { get; set; } + } + /// ///Return type for `fulfillmentOrdersReroute` mutation. /// - [Description("Return type for `fulfillmentOrdersReroute` mutation.")] - public class FulfillmentOrdersReroutePayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrdersReroute` mutation.")] + public class FulfillmentOrdersReroutePayload : GraphQLObject + { /// ///The fulfillment orders which contains the moved line items. /// - [Description("The fulfillment orders which contains the moved line items.")] - public IEnumerable? movedFulfillmentOrders { get; set; } - + [Description("The fulfillment orders which contains the moved line items.")] + public IEnumerable? movedFulfillmentOrders { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrdersReroute`. /// - [Description("An error that occurs during the execution of `FulfillmentOrdersReroute`.")] - public class FulfillmentOrdersRerouteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrdersReroute`.")] + public class FulfillmentOrdersRerouteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrdersRerouteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrdersRerouteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrdersRerouteUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrdersRerouteUserError`.")] - public enum FulfillmentOrdersRerouteUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrdersRerouteUserError`.")] + public enum FulfillmentOrdersRerouteUserErrorCode + { /// ///No fulfillment order IDs were provided. /// - [Description("No fulfillment order IDs were provided.")] - NO_FULFILLMENT_ORDER_IDS, + [Description("No fulfillment order IDs were provided.")] + NO_FULFILLMENT_ORDER_IDS, /// ///Fulfillment order could not be found. /// - [Description("Fulfillment order could not be found.")] - FULFILLMENT_ORDER_NOT_FOUND, + [Description("Fulfillment order could not be found.")] + FULFILLMENT_ORDER_NOT_FOUND, /// ///Fulfillment orders are not from the same order. /// - [Description("Fulfillment orders are not from the same order.")] - FULFILLMENT_ORDERS_NOT_FROM_THE_SAME_ORDER, + [Description("Fulfillment orders are not from the same order.")] + FULFILLMENT_ORDERS_NOT_FROM_THE_SAME_ORDER, /// ///All fulfillment orders must have status and request status compatible with reroutable states. /// - [Description("All fulfillment orders must have status and request status compatible with reroutable states.")] - FULFILLMENT_ORDERS_STATE_NOT_SUPPORTED, + [Description("All fulfillment orders must have status and request status compatible with reroutable states.")] + FULFILLMENT_ORDERS_STATE_NOT_SUPPORTED, /// ///Cannot reassign location for fulfillment orders. /// - [Description("Cannot reassign location for fulfillment orders.")] - CANNOT_REASSIGN_LOCATION_FOR_FULFILLMENT_ORDERS, + [Description("Cannot reassign location for fulfillment orders.")] + CANNOT_REASSIGN_LOCATION_FOR_FULFILLMENT_ORDERS, /// ///The delivery method type is not supported. /// - [Description("The delivery method type is not supported.")] - DELIVERY_METHOD_TYPE_NOT_SUPPORTED, + [Description("The delivery method type is not supported.")] + DELIVERY_METHOD_TYPE_NOT_SUPPORTED, /// ///This feature is only supported for multi-location shops. /// - [Description("This feature is only supported for multi-location shops.")] - SINGLE_LOCATION_SHOP_NOT_SUPPORTED, + [Description("This feature is only supported for multi-location shops.")] + SINGLE_LOCATION_SHOP_NOT_SUPPORTED, /// ///Fulfillment orders must belong to the same location. /// - [Description("Fulfillment orders must belong to the same location.")] - FULFILLMENT_ORDERS_MUST_BELONG_TO_SAME_LOCATION, - } - - public static class FulfillmentOrdersRerouteUserErrorCodeStringValues - { - public const string NO_FULFILLMENT_ORDER_IDS = @"NO_FULFILLMENT_ORDER_IDS"; - public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; - public const string FULFILLMENT_ORDERS_NOT_FROM_THE_SAME_ORDER = @"FULFILLMENT_ORDERS_NOT_FROM_THE_SAME_ORDER"; - public const string FULFILLMENT_ORDERS_STATE_NOT_SUPPORTED = @"FULFILLMENT_ORDERS_STATE_NOT_SUPPORTED"; - public const string CANNOT_REASSIGN_LOCATION_FOR_FULFILLMENT_ORDERS = @"CANNOT_REASSIGN_LOCATION_FOR_FULFILLMENT_ORDERS"; - public const string DELIVERY_METHOD_TYPE_NOT_SUPPORTED = @"DELIVERY_METHOD_TYPE_NOT_SUPPORTED"; - public const string SINGLE_LOCATION_SHOP_NOT_SUPPORTED = @"SINGLE_LOCATION_SHOP_NOT_SUPPORTED"; - public const string FULFILLMENT_ORDERS_MUST_BELONG_TO_SAME_LOCATION = @"FULFILLMENT_ORDERS_MUST_BELONG_TO_SAME_LOCATION"; - } - + [Description("Fulfillment orders must belong to the same location.")] + FULFILLMENT_ORDERS_MUST_BELONG_TO_SAME_LOCATION, + } + + public static class FulfillmentOrdersRerouteUserErrorCodeStringValues + { + public const string NO_FULFILLMENT_ORDER_IDS = @"NO_FULFILLMENT_ORDER_IDS"; + public const string FULFILLMENT_ORDER_NOT_FOUND = @"FULFILLMENT_ORDER_NOT_FOUND"; + public const string FULFILLMENT_ORDERS_NOT_FROM_THE_SAME_ORDER = @"FULFILLMENT_ORDERS_NOT_FROM_THE_SAME_ORDER"; + public const string FULFILLMENT_ORDERS_STATE_NOT_SUPPORTED = @"FULFILLMENT_ORDERS_STATE_NOT_SUPPORTED"; + public const string CANNOT_REASSIGN_LOCATION_FOR_FULFILLMENT_ORDERS = @"CANNOT_REASSIGN_LOCATION_FOR_FULFILLMENT_ORDERS"; + public const string DELIVERY_METHOD_TYPE_NOT_SUPPORTED = @"DELIVERY_METHOD_TYPE_NOT_SUPPORTED"; + public const string SINGLE_LOCATION_SHOP_NOT_SUPPORTED = @"SINGLE_LOCATION_SHOP_NOT_SUPPORTED"; + public const string FULFILLMENT_ORDERS_MUST_BELONG_TO_SAME_LOCATION = @"FULFILLMENT_ORDERS_MUST_BELONG_TO_SAME_LOCATION"; + } + /// ///Return type for `fulfillmentOrdersSetFulfillmentDeadline` mutation. /// - [Description("Return type for `fulfillmentOrdersSetFulfillmentDeadline` mutation.")] - public class FulfillmentOrdersSetFulfillmentDeadlinePayload : GraphQLObject - { + [Description("Return type for `fulfillmentOrdersSetFulfillmentDeadline` mutation.")] + public class FulfillmentOrdersSetFulfillmentDeadlinePayload : GraphQLObject + { /// ///Whether the fulfillment deadline was successfully set. /// - [Description("Whether the fulfillment deadline was successfully set.")] - public bool? success { get; set; } - + [Description("Whether the fulfillment deadline was successfully set.")] + public bool? success { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `FulfillmentOrdersSetFulfillmentDeadline`. /// - [Description("An error that occurs during the execution of `FulfillmentOrdersSetFulfillmentDeadline`.")] - public class FulfillmentOrdersSetFulfillmentDeadlineUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `FulfillmentOrdersSetFulfillmentDeadline`.")] + public class FulfillmentOrdersSetFulfillmentDeadlineUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(FulfillmentOrdersSetFulfillmentDeadlineUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(FulfillmentOrdersSetFulfillmentDeadlineUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `FulfillmentOrdersSetFulfillmentDeadlineUserError`. /// - [Description("Possible error codes that can be returned by `FulfillmentOrdersSetFulfillmentDeadlineUserError`.")] - public enum FulfillmentOrdersSetFulfillmentDeadlineUserErrorCode - { + [Description("Possible error codes that can be returned by `FulfillmentOrdersSetFulfillmentDeadlineUserError`.")] + public enum FulfillmentOrdersSetFulfillmentDeadlineUserErrorCode + { /// ///The fulfillment orders could not be found. /// - [Description("The fulfillment orders could not be found.")] - FULFILLMENT_ORDERS_NOT_FOUND, - } - - public static class FulfillmentOrdersSetFulfillmentDeadlineUserErrorCodeStringValues - { - public const string FULFILLMENT_ORDERS_NOT_FOUND = @"FULFILLMENT_ORDERS_NOT_FOUND"; - } - + [Description("The fulfillment orders could not be found.")] + FULFILLMENT_ORDERS_NOT_FOUND, + } + + public static class FulfillmentOrdersSetFulfillmentDeadlineUserErrorCodeStringValues + { + public const string FULFILLMENT_ORDERS_NOT_FOUND = @"FULFILLMENT_ORDERS_NOT_FOUND"; + } + /// ///The address at which the fulfillment occurred. This object is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead. /// - [Description("The address at which the fulfillment occurred. This object is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead.")] - public class FulfillmentOriginAddress : GraphQLObject - { + [Description("The address at which the fulfillment occurred. This object is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead.")] + public class FulfillmentOriginAddress : GraphQLObject + { /// ///The street address of the fulfillment location. /// - [Description("The street address of the fulfillment location.")] - public string? address1 { get; set; } - + [Description("The street address of the fulfillment location.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The city in which the fulfillment location is located. /// - [Description("The city in which the fulfillment location is located.")] - public string? city { get; set; } - + [Description("The city in which the fulfillment location is located.")] + public string? city { get; set; } + /// ///The country code of the fulfillment location. /// - [Description("The country code of the fulfillment location.")] - [NonNull] - public string? countryCode { get; set; } - + [Description("The country code of the fulfillment location.")] + [NonNull] + public string? countryCode { get; set; } + /// ///The province code of the fulfillment location. /// - [Description("The province code of the fulfillment location.")] - public string? provinceCode { get; set; } - + [Description("The province code of the fulfillment location.")] + public string? provinceCode { get; set; } + /// ///The zip code of the fulfillment location. /// - [Description("The zip code of the fulfillment location.")] - public string? zip { get; set; } - } - + [Description("The zip code of the fulfillment location.")] + public string? zip { get; set; } + } + /// ///The input fields used to include the address at which the fulfillment occurred. This input object is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead. /// - [Description("The input fields used to include the address at which the fulfillment occurred. This input object is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead.")] - public class FulfillmentOriginAddressInput : GraphQLObject - { + [Description("The input fields used to include the address at which the fulfillment occurred. This input object is intended for tax purposes, as a full address is required for tax providers to accurately calculate taxes. Typically this is the address of the warehouse or fulfillment center. To retrieve a fulfillment location's address, use the `assignedLocation` field on the [`FulfillmentOrder`](/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object instead.")] + public class FulfillmentOriginAddressInput : GraphQLObject + { /// ///The street address of the fulfillment location. /// - [Description("The street address of the fulfillment location.")] - public string? address1 { get; set; } - + [Description("The street address of the fulfillment location.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The city in which the fulfillment location is located. /// - [Description("The city in which the fulfillment location is located.")] - public string? city { get; set; } - + [Description("The city in which the fulfillment location is located.")] + public string? city { get; set; } + /// ///The zip code of the fulfillment location. /// - [Description("The zip code of the fulfillment location.")] - public string? zip { get; set; } - + [Description("The zip code of the fulfillment location.")] + public string? zip { get; set; } + /// ///The province of the fulfillment location. /// - [Description("The province of the fulfillment location.")] - public string? provinceCode { get; set; } - + [Description("The province of the fulfillment location.")] + public string? provinceCode { get; set; } + /// ///The country of the fulfillment location. /// - [Description("The country of the fulfillment location.")] - [NonNull] - public string? countryCode { get; set; } - } - + [Description("The country of the fulfillment location.")] + [NonNull] + public string? countryCode { get; set; } + } + /// ///A **Fulfillment Service** is a third party warehouse that prepares and ships orders ///on behalf of the store owner. Fulfillment services charge a fee to package and ship items @@ -48870,9 +48870,9 @@ public class FulfillmentOriginAddressInput : GraphQLObject - [Description("A **Fulfillment Service** is a third party warehouse that prepares and ships orders\non behalf of the store owner. Fulfillment services charge a fee to package and ship items\nand update product inventory levels. Some well known fulfillment services with Shopify integrations\ninclude: Amazon, Shipwire, and Rakuten. When an app registers a new `FulfillmentService` on a store,\nShopify automatically creates a `Location` that's associated to the fulfillment service.\nTo learn more about fulfillment services, refer to\n[Manage fulfillments as a fulfillment service app](https://shopify.dev/apps/fulfillment/fulfillment-service-apps)\nguide.\n\n## Mutations\n\nYou can work with the `FulfillmentService` object with the\n[fulfillmentServiceCreate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceCreate),\n[fulfillmentServiceUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceUpdate),\nand [fulfillmentServiceDelete](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceDelete)\nmutations.\n\n## Hosted endpoints\n\nFulfillment service providers integrate with Shopify by providing Shopify with a set of hosted endpoints that\nShopify can query on certain conditions.\nThese endpoints must have a common prefix, and this prefix should be supplied in the `callbackUrl` parameter\nin the\n[fulfillmentServiceCreate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceCreate)\nmutation.\n\n- Shopify sends POST requests to the `/fulfillment_order_notification` endpoint\n to notify the fulfillment service about fulfillment requests and fulfillment cancellation requests.\n\n For more information, refer to\n [Receive fulfillment requests and cancellations](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-2-receive-fulfillment-requests-and-cancellations).\n- Shopify sends GET requests to the `/fetch_tracking_numbers` endpoint to retrieve tracking numbers for orders\n if `trackingSupport` is set to `true`.\n\n For more information, refer to\n [Enable tracking support](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-8-enable-tracking-support-optional).\n\n Fulfillment services can also update tracking information using the\n [fulfillmentTrackingInfoUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentTrackingInfoUpdate) mutation,\n rather than waiting for Shopify to ask for tracking numbers.\n- Shopify sends GET requests to the `/fetch_stock` endpoint to retrieve\n on hand inventory levels for the fulfillment service location if `inventoryManagement` is set to `true`.\n\n For more information, refer to\n [Sharing inventory levels with Shopify](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-10-optional-share-inventory-levels-with-shopify).\n\nTo make sure you have everything set up correctly, you can test the `callbackUrl`-prefixed endpoints\nin your development store.\n\n## Resources and webhooks\n\nThere are a variety of objects and webhooks that enable a fulfillment service to work.\nTo exchange fulfillment information with Shopify, fulfillment services use the\n[FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder),\n[Fulfillment](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment) and\n[Order](https://shopify.dev/api/admin-graphql/latest/objects/Order) objects and related mutations.\nTo act on fulfillment process events that happen on the Shopify side,\nbesides awaiting calls to `callbackUrl`-prefixed endpoints,\nfulfillment services can subscribe to the\n[fulfillment order](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#webhooks)\nand [order](https://shopify.dev/api/admin-rest/latest/resources/webhook)\nwebhooks.")] - public class FulfillmentService : GraphQLObject - { + [Description("A **Fulfillment Service** is a third party warehouse that prepares and ships orders\non behalf of the store owner. Fulfillment services charge a fee to package and ship items\nand update product inventory levels. Some well known fulfillment services with Shopify integrations\ninclude: Amazon, Shipwire, and Rakuten. When an app registers a new `FulfillmentService` on a store,\nShopify automatically creates a `Location` that's associated to the fulfillment service.\nTo learn more about fulfillment services, refer to\n[Manage fulfillments as a fulfillment service app](https://shopify.dev/apps/fulfillment/fulfillment-service-apps)\nguide.\n\n## Mutations\n\nYou can work with the `FulfillmentService` object with the\n[fulfillmentServiceCreate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceCreate),\n[fulfillmentServiceUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceUpdate),\nand [fulfillmentServiceDelete](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceDelete)\nmutations.\n\n## Hosted endpoints\n\nFulfillment service providers integrate with Shopify by providing Shopify with a set of hosted endpoints that\nShopify can query on certain conditions.\nThese endpoints must have a common prefix, and this prefix should be supplied in the `callbackUrl` parameter\nin the\n[fulfillmentServiceCreate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentServiceCreate)\nmutation.\n\n- Shopify sends POST requests to the `/fulfillment_order_notification` endpoint\n to notify the fulfillment service about fulfillment requests and fulfillment cancellation requests.\n\n For more information, refer to\n [Receive fulfillment requests and cancellations](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-2-receive-fulfillment-requests-and-cancellations).\n- Shopify sends GET requests to the `/fetch_tracking_numbers` endpoint to retrieve tracking numbers for orders\n if `trackingSupport` is set to `true`.\n\n For more information, refer to\n [Enable tracking support](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#step-8-enable-tracking-support-optional).\n\n Fulfillment services can also update tracking information using the\n [fulfillmentTrackingInfoUpdate](https://shopify.dev/api/admin-graphql/latest/mutations/fulfillmentTrackingInfoUpdate) mutation,\n rather than waiting for Shopify to ask for tracking numbers.\n- Shopify sends GET requests to the `/fetch_stock` endpoint to retrieve\n on hand inventory levels for the fulfillment service location if `inventoryManagement` is set to `true`.\n\n For more information, refer to\n [Sharing inventory levels with Shopify](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-10-optional-share-inventory-levels-with-shopify).\n\nTo make sure you have everything set up correctly, you can test the `callbackUrl`-prefixed endpoints\nin your development store.\n\n## Resources and webhooks\n\nThere are a variety of objects and webhooks that enable a fulfillment service to work.\nTo exchange fulfillment information with Shopify, fulfillment services use the\n[FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder),\n[Fulfillment](https://shopify.dev/api/admin-graphql/latest/objects/Fulfillment) and\n[Order](https://shopify.dev/api/admin-graphql/latest/objects/Order) objects and related mutations.\nTo act on fulfillment process events that happen on the Shopify side,\nbesides awaiting calls to `callbackUrl`-prefixed endpoints,\nfulfillment services can subscribe to the\n[fulfillment order](https://shopify.dev/apps/fulfillment/fulfillment-service-apps/manage-fulfillments#webhooks)\nand [order](https://shopify.dev/api/admin-rest/latest/resources/webhook)\nwebhooks.")] + public class FulfillmentService : GraphQLObject + { /// ///The callback URL that the fulfillment service has registered for requests. The following considerations apply: /// @@ -48883,252 +48883,252 @@ public class FulfillmentService : GraphQLObject ///- Shopify uses the `<callbackUrl>/fulfillment_order_notification` endpoint to send /// [fulfillment and cancellation requests](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-9-optional-enable-tracking-support). /// - [Description("The callback URL that the fulfillment service has registered for requests. The following considerations apply:\n\n- Shopify queries the `/fetch_tracking_numbers` endpoint to retrieve tracking numbers\n for orders, if `trackingSupport` is set to `true`.\n- Shopify queries the `/fetch_stock` endpoint to retrieve inventory levels,\n if `inventoryManagement` is set to `true`.\n- Shopify uses the `/fulfillment_order_notification` endpoint to send\n [fulfillment and cancellation requests](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-9-optional-enable-tracking-support).")] - public string? callbackUrl { get; set; } - + [Description("The callback URL that the fulfillment service has registered for requests. The following considerations apply:\n\n- Shopify queries the `/fetch_tracking_numbers` endpoint to retrieve tracking numbers\n for orders, if `trackingSupport` is set to `true`.\n- Shopify queries the `/fetch_stock` endpoint to retrieve inventory levels,\n if `inventoryManagement` is set to `true`.\n- Shopify uses the `/fulfillment_order_notification` endpoint to send\n [fulfillment and cancellation requests](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-9-optional-enable-tracking-support).")] + public string? callbackUrl { get; set; } + /// ///Human-readable unique identifier for this fulfillment service. /// - [Description("Human-readable unique identifier for this fulfillment service.")] - [NonNull] - public string? handle { get; set; } - + [Description("Human-readable unique identifier for this fulfillment service.")] + [NonNull] + public string? handle { get; set; } + /// ///The ID of the fulfillment service. /// - [Description("The ID of the fulfillment service.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the fulfillment service.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the fulfillment service tracks product inventory and provides updates to Shopify. /// - [Description("Whether the fulfillment service tracks product inventory and provides updates to Shopify.")] - [NonNull] - public bool? inventoryManagement { get; set; } - + [Description("Whether the fulfillment service tracks product inventory and provides updates to Shopify.")] + [NonNull] + public bool? inventoryManagement { get; set; } + /// ///Location associated with the fulfillment service. /// - [Description("Location associated with the fulfillment service.")] - public Location? location { get; set; } - + [Description("Location associated with the fulfillment service.")] + public Location? location { get; set; } + /// ///Whether the fulfillment service can stock inventory alongside other locations. /// - [Description("Whether the fulfillment service can stock inventory alongside other locations.")] - [Obsolete("Fulfillment services are all migrating to permit SKU sharing.\nSetting permits SKU sharing to false [is no longer supported](https://shopify.dev/changelog/setting-permitsskusharing-argument-to-false-when-creating-a-fulfillment-service-returns-an-error).")] - [NonNull] - public bool? permitsSkuSharing { get; set; } - + [Description("Whether the fulfillment service can stock inventory alongside other locations.")] + [Obsolete("Fulfillment services are all migrating to permit SKU sharing.\nSetting permits SKU sharing to false [is no longer supported](https://shopify.dev/changelog/setting-permitsskusharing-argument-to-false-when-creating-a-fulfillment-service-returns-an-error).")] + [NonNull] + public bool? permitsSkuSharing { get; set; } + /// ///Whether the fulfillment service requires products to be physically shipped. /// - [Description("Whether the fulfillment service requires products to be physically shipped.")] - [NonNull] - public bool? requiresShippingMethod { get; set; } - + [Description("Whether the fulfillment service requires products to be physically shipped.")] + [NonNull] + public bool? requiresShippingMethod { get; set; } + /// ///The name of the fulfillment service as seen by merchants. /// - [Description("The name of the fulfillment service as seen by merchants.")] - [NonNull] - public string? serviceName { get; set; } - + [Description("The name of the fulfillment service as seen by merchants.")] + [NonNull] + public string? serviceName { get; set; } + /// ///Whether the fulfillment service implemented the /fetch_tracking_numbers endpoint. /// - [Description("Whether the fulfillment service implemented the /fetch_tracking_numbers endpoint.")] - [NonNull] - public bool? trackingSupport { get; set; } - + [Description("Whether the fulfillment service implemented the /fetch_tracking_numbers endpoint.")] + [NonNull] + public bool? trackingSupport { get; set; } + /// ///Type associated with the fulfillment service. /// - [Description("Type associated with the fulfillment service.")] - [NonNull] - [EnumType(typeof(FulfillmentServiceType))] - public string? type { get; set; } - } - + [Description("Type associated with the fulfillment service.")] + [NonNull] + [EnumType(typeof(FulfillmentServiceType))] + public string? type { get; set; } + } + /// ///Return type for `fulfillmentServiceCreate` mutation. /// - [Description("Return type for `fulfillmentServiceCreate` mutation.")] - public class FulfillmentServiceCreatePayload : GraphQLObject - { + [Description("Return type for `fulfillmentServiceCreate` mutation.")] + public class FulfillmentServiceCreatePayload : GraphQLObject + { /// ///The created fulfillment service. /// - [Description("The created fulfillment service.")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("The created fulfillment service.")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Actions that can be taken at the location when a client requests the deletion of the fulfillment service. /// - [Description("Actions that can be taken at the location when a client requests the deletion of the fulfillment service.")] - public enum FulfillmentServiceDeleteInventoryAction - { + [Description("Actions that can be taken at the location when a client requests the deletion of the fulfillment service.")] + public enum FulfillmentServiceDeleteInventoryAction + { /// ///Deactivate and delete the inventory and location. /// - [Description("Deactivate and delete the inventory and location.")] - DELETE, + [Description("Deactivate and delete the inventory and location.")] + DELETE, /// ///Keep the inventory in place and convert the Fulfillment Service's location to be merchant managed. /// - [Description("Keep the inventory in place and convert the Fulfillment Service's location to be merchant managed.")] - KEEP, + [Description("Keep the inventory in place and convert the Fulfillment Service's location to be merchant managed.")] + KEEP, /// ///Transfer the inventory and other dependencies to the provided location. /// - [Description("Transfer the inventory and other dependencies to the provided location.")] - TRANSFER, - } - - public static class FulfillmentServiceDeleteInventoryActionStringValues - { - public const string DELETE = @"DELETE"; - public const string KEEP = @"KEEP"; - public const string TRANSFER = @"TRANSFER"; - } - + [Description("Transfer the inventory and other dependencies to the provided location.")] + TRANSFER, + } + + public static class FulfillmentServiceDeleteInventoryActionStringValues + { + public const string DELETE = @"DELETE"; + public const string KEEP = @"KEEP"; + public const string TRANSFER = @"TRANSFER"; + } + /// ///Return type for `fulfillmentServiceDelete` mutation. /// - [Description("Return type for `fulfillmentServiceDelete` mutation.")] - public class FulfillmentServiceDeletePayload : GraphQLObject - { + [Description("Return type for `fulfillmentServiceDelete` mutation.")] + public class FulfillmentServiceDeletePayload : GraphQLObject + { /// ///The ID of the deleted fulfillment service. /// - [Description("The ID of the deleted fulfillment service.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted fulfillment service.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The type of a fulfillment service. /// - [Description("The type of a fulfillment service.")] - public enum FulfillmentServiceType - { + [Description("The type of a fulfillment service.")] + public enum FulfillmentServiceType + { /// ///Fulfillment by gift card. /// - [Description("Fulfillment by gift card.")] - GIFT_CARD, + [Description("Fulfillment by gift card.")] + GIFT_CARD, /// ///Manual fulfillment by the merchant. /// - [Description("Manual fulfillment by the merchant.")] - MANUAL, + [Description("Manual fulfillment by the merchant.")] + MANUAL, /// ///Fullfillment by a third-party fulfillment service. /// - [Description("Fullfillment by a third-party fulfillment service.")] - THIRD_PARTY, - } - - public static class FulfillmentServiceTypeStringValues - { - public const string GIFT_CARD = @"GIFT_CARD"; - public const string MANUAL = @"MANUAL"; - public const string THIRD_PARTY = @"THIRD_PARTY"; - } - + [Description("Fullfillment by a third-party fulfillment service.")] + THIRD_PARTY, + } + + public static class FulfillmentServiceTypeStringValues + { + public const string GIFT_CARD = @"GIFT_CARD"; + public const string MANUAL = @"MANUAL"; + public const string THIRD_PARTY = @"THIRD_PARTY"; + } + /// ///Return type for `fulfillmentServiceUpdate` mutation. /// - [Description("Return type for `fulfillmentServiceUpdate` mutation.")] - public class FulfillmentServiceUpdatePayload : GraphQLObject - { + [Description("Return type for `fulfillmentServiceUpdate` mutation.")] + public class FulfillmentServiceUpdatePayload : GraphQLObject + { /// ///The updated fulfillment service. /// - [Description("The updated fulfillment service.")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("The updated fulfillment service.")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The status of a fulfillment. /// - [Description("The status of a fulfillment.")] - public enum FulfillmentStatus - { + [Description("The status of a fulfillment.")] + public enum FulfillmentStatus + { /// ///Shopify has created the fulfillment and is waiting for the third-party fulfillment service to transition it to `open` or `success`. /// - [Description("Shopify has created the fulfillment and is waiting for the third-party fulfillment service to transition it to `open` or `success`.")] - [Obsolete("This is a legacy status and is due to be deprecated.")] - PENDING, + [Description("Shopify has created the fulfillment and is waiting for the third-party fulfillment service to transition it to `open` or `success`.")] + [Obsolete("This is a legacy status and is due to be deprecated.")] + PENDING, /// ///The third-party fulfillment service has acknowledged the fulfillment and is processing it. /// - [Description("The third-party fulfillment service has acknowledged the fulfillment and is processing it.")] - [Obsolete("This is a legacy status and is due to be deprecated.")] - OPEN, + [Description("The third-party fulfillment service has acknowledged the fulfillment and is processing it.")] + [Obsolete("This is a legacy status and is due to be deprecated.")] + OPEN, /// ///The fulfillment was completed successfully. /// - [Description("The fulfillment was completed successfully.")] - SUCCESS, + [Description("The fulfillment was completed successfully.")] + SUCCESS, /// ///The fulfillment was canceled. /// - [Description("The fulfillment was canceled.")] - CANCELLED, + [Description("The fulfillment was canceled.")] + CANCELLED, /// ///There was an error with the fulfillment request. /// - [Description("There was an error with the fulfillment request.")] - ERROR, + [Description("There was an error with the fulfillment request.")] + ERROR, /// ///The fulfillment request failed. /// - [Description("The fulfillment request failed.")] - FAILURE, - } - - public static class FulfillmentStatusStringValues - { - [Obsolete("This is a legacy status and is due to be deprecated.")] - public const string PENDING = @"PENDING"; - [Obsolete("This is a legacy status and is due to be deprecated.")] - public const string OPEN = @"OPEN"; - public const string SUCCESS = @"SUCCESS"; - public const string CANCELLED = @"CANCELLED"; - public const string ERROR = @"ERROR"; - public const string FAILURE = @"FAILURE"; - } - + [Description("The fulfillment request failed.")] + FAILURE, + } + + public static class FulfillmentStatusStringValues + { + [Obsolete("This is a legacy status and is due to be deprecated.")] + public const string PENDING = @"PENDING"; + [Obsolete("This is a legacy status and is due to be deprecated.")] + public const string OPEN = @"OPEN"; + public const string SUCCESS = @"SUCCESS"; + public const string CANCELLED = @"CANCELLED"; + public const string ERROR = @"ERROR"; + public const string FAILURE = @"FAILURE"; + } + /// ///Represents the tracking information for a fulfillment. /// - [Description("Represents the tracking information for a fulfillment.")] - public class FulfillmentTrackingInfo : GraphQLObject - { + [Description("Represents the tracking information for a fulfillment.")] + public class FulfillmentTrackingInfo : GraphQLObject + { /// ///The name of the tracking company. /// @@ -49280,9 +49280,9 @@ public class FulfillmentTrackingInfo : GraphQLObject /// * **United States**: GLS, Alliance Air Freight, Pilot Freight, LSO, Old Dominion, Pandion, R+L Carriers, Southwest Air Cargo /// * **South Africa**: Fastway, Skynet. /// - [Description("The name of the tracking company.\n\nFor tracking company names from the list below\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n### Supported tracking companies\n\nThe following tracking companies display for shops located in any country:\n\n * 4PX\n * AGS\n * Amazon\n * Amazon Logistics UK\n * An Post\n * Anjun Logistics\n * APC\n * Asendia USA\n * Australia Post\n * Bonshaw\n * BPost\n * BPost International\n * Canada Post\n * Canpar\n * CDL Last Mile\n * China Post\n * Chronopost\n * Chukou1\n * Colissimo\n * Comingle\n * Coordinadora\n * Correios\n * Correos\n * CTT\n * CTT Express\n * Cyprus Post\n * Delnext\n * Deutsche Post\n * DHL eCommerce\n * DHL eCommerce Asia\n * DHL Express\n * DPD\n * DPD Local\n * DPD UK\n * DTD Express\n * DX\n * Eagle\n * Estes\n * Evri\n * FedEx\n * First Global Logistics\n * First Line\n * FSC\n * Fulfilla\n * GLS\n * Guangdong Weisuyi Information Technology (WSE)\n * Heppner Internationale Spedition GmbH & Co.\n * Iceland Post\n * IDEX\n * Israel Post\n * Japan Post (EN)\n * Japan Post (JA)\n * La Poste Colissimo\n * La Poste Burkina Faso\n * Lasership\n * Latvia Post\n * Lietuvos Paštas\n * Logisters\n * Lone Star Overnight\n * M3 Logistics\n * Meteor Space\n * Mondial Relay\n * New Zealand Post\n * NinjaVan\n * North Russia Supply Chain (Shenzhen) Co.\n * OnTrac\n * Packeta\n * Pago Logistics\n * Ping An Da Tengfei Express\n * Pitney Bowes\n * Portal PostNord\n * Poste Italiane\n * PostNL\n * PostNord DK\n * PostNord NO\n * PostNord SE\n * Purolator\n * Qxpress\n * Qyun Express\n * Royal Mail\n * Royal Shipments\n * Sagawa (EN)\n * Sagawa (JA)\n * Sendle\n * SF Express\n * SFC Fulfillment\n * SHREE NANDAN COURIER\n * Singapore Post\n * Southwest Air Cargo\n * StarTrack\n * Step Forward Freight\n * Swiss Post\n * TForce Final Mile\n * Tinghao\n * TNT\n * Toll IPEC\n * United Delivery Service\n * UPS\n * USPS\n * Venipak\n * We Post\n * Whistl\n * Wizmo\n * WMYC\n * Xpedigo\n * XPO Logistics\n * Yamato (EN)\n * Yamato (JA)\n * YiFan Express\n * YunExpress\n\nThe following tracking companies are displayed for shops located in specific countries:\n\n * **Australia**: Australia Post, Sendle, Aramex Australia, TNT Australia, Hunter Express, Couriers Please, Bonds, Allied Express, Direct Couriers, Northline, GO Logistics\n * **Austria**: Österreichische Post\n * **Bulgaria**: Speedy\n * **Canada**: Intelcom, BoxKnight, Loomis, GLS\n * **China**: China Post, DHL eCommerce Asia, WanbExpress, YunExpress, Anjun Logistics, SFC Fulfillment, FSC\n * **Czechia**: Zásilkovna\n * **Germany**: Deutsche Post (DE), Deutsche Post (EN), DHL, DHL Express, Swiship, Hermes, GLS\n * **Spain**: SEUR\n * **France**: Colissimo, Mondial Relay, Colis Privé, GLS\n * **United Kingdom**: Evri, DPD UK, Parcelforce, Yodel, DHL Parcel, Tuffnells\n * **Greece**: ACS Courier\n * **Hong Kong SAR**: SF Express\n * **Ireland**: Fastway, DPD Ireland\n * **India**: DTDC, India Post, Delhivery, Gati KWE, Professional Couriers, XpressBees, Ecom Express, Ekart, Shadowfax, Bluedart\n * **Italy**: BRT, GLS Italy\n * **Japan**: エコ配, 西濃運輸, 西濃スーパーエキスプレス, 福山通運, 日本通運, 名鉄運輸, 第一貨物\n * **Netherlands**: DHL Parcel, DPD\n * **Norway**: Bring\n * **Poland**: Inpost\n * **Turkey**: PTT, Yurtiçi Kargo, Aras Kargo, Sürat Kargo\n * **United States**: GLS, Alliance Air Freight, Pilot Freight, LSO, Old Dominion, Pandion, R+L Carriers, Southwest Air Cargo\n * **South Africa**: Fastway, Skynet.")] - public string? company { get; set; } - + [Description("The name of the tracking company.\n\nFor tracking company names from the list below\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n### Supported tracking companies\n\nThe following tracking companies display for shops located in any country:\n\n * 4PX\n * AGS\n * Amazon\n * Amazon Logistics UK\n * An Post\n * Anjun Logistics\n * APC\n * Asendia USA\n * Australia Post\n * Bonshaw\n * BPost\n * BPost International\n * Canada Post\n * Canpar\n * CDL Last Mile\n * China Post\n * Chronopost\n * Chukou1\n * Colissimo\n * Comingle\n * Coordinadora\n * Correios\n * Correos\n * CTT\n * CTT Express\n * Cyprus Post\n * Delnext\n * Deutsche Post\n * DHL eCommerce\n * DHL eCommerce Asia\n * DHL Express\n * DPD\n * DPD Local\n * DPD UK\n * DTD Express\n * DX\n * Eagle\n * Estes\n * Evri\n * FedEx\n * First Global Logistics\n * First Line\n * FSC\n * Fulfilla\n * GLS\n * Guangdong Weisuyi Information Technology (WSE)\n * Heppner Internationale Spedition GmbH & Co.\n * Iceland Post\n * IDEX\n * Israel Post\n * Japan Post (EN)\n * Japan Post (JA)\n * La Poste Colissimo\n * La Poste Burkina Faso\n * Lasership\n * Latvia Post\n * Lietuvos Paštas\n * Logisters\n * Lone Star Overnight\n * M3 Logistics\n * Meteor Space\n * Mondial Relay\n * New Zealand Post\n * NinjaVan\n * North Russia Supply Chain (Shenzhen) Co.\n * OnTrac\n * Packeta\n * Pago Logistics\n * Ping An Da Tengfei Express\n * Pitney Bowes\n * Portal PostNord\n * Poste Italiane\n * PostNL\n * PostNord DK\n * PostNord NO\n * PostNord SE\n * Purolator\n * Qxpress\n * Qyun Express\n * Royal Mail\n * Royal Shipments\n * Sagawa (EN)\n * Sagawa (JA)\n * Sendle\n * SF Express\n * SFC Fulfillment\n * SHREE NANDAN COURIER\n * Singapore Post\n * Southwest Air Cargo\n * StarTrack\n * Step Forward Freight\n * Swiss Post\n * TForce Final Mile\n * Tinghao\n * TNT\n * Toll IPEC\n * United Delivery Service\n * UPS\n * USPS\n * Venipak\n * We Post\n * Whistl\n * Wizmo\n * WMYC\n * Xpedigo\n * XPO Logistics\n * Yamato (EN)\n * Yamato (JA)\n * YiFan Express\n * YunExpress\n\nThe following tracking companies are displayed for shops located in specific countries:\n\n * **Australia**: Australia Post, Sendle, Aramex Australia, TNT Australia, Hunter Express, Couriers Please, Bonds, Allied Express, Direct Couriers, Northline, GO Logistics\n * **Austria**: Österreichische Post\n * **Bulgaria**: Speedy\n * **Canada**: Intelcom, BoxKnight, Loomis, GLS\n * **China**: China Post, DHL eCommerce Asia, WanbExpress, YunExpress, Anjun Logistics, SFC Fulfillment, FSC\n * **Czechia**: Zásilkovna\n * **Germany**: Deutsche Post (DE), Deutsche Post (EN), DHL, DHL Express, Swiship, Hermes, GLS\n * **Spain**: SEUR\n * **France**: Colissimo, Mondial Relay, Colis Privé, GLS\n * **United Kingdom**: Evri, DPD UK, Parcelforce, Yodel, DHL Parcel, Tuffnells\n * **Greece**: ACS Courier\n * **Hong Kong SAR**: SF Express\n * **Ireland**: Fastway, DPD Ireland\n * **India**: DTDC, India Post, Delhivery, Gati KWE, Professional Couriers, XpressBees, Ecom Express, Ekart, Shadowfax, Bluedart\n * **Italy**: BRT, GLS Italy\n * **Japan**: エコ配, 西濃運輸, 西濃スーパーエキスプレス, 福山通運, 日本通運, 名鉄運輸, 第一貨物\n * **Netherlands**: DHL Parcel, DPD\n * **Norway**: Bring\n * **Poland**: Inpost\n * **Turkey**: PTT, Yurtiçi Kargo, Aras Kargo, Sürat Kargo\n * **United States**: GLS, Alliance Air Freight, Pilot Freight, LSO, Old Dominion, Pandion, R+L Carriers, Southwest Air Cargo\n * **South Africa**: Fastway, Skynet.")] + public string? company { get; set; } + /// ///The tracking number of the fulfillment. /// @@ -49298,9 +49298,9 @@ public class FulfillmentTrackingInfo : GraphQLObject /// This can result in an invalid tracking URL. /// It is highly recommended that you send the tracking company and the tracking URL. /// - [Description("The tracking number of the fulfillment.\n\nThe tracking number is clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking url provided in the `url` field.\n* [Shopify-known tracking company name](#supported-tracking-companies) specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URL.")] - public string? number { get; set; } - + [Description("The tracking number of the fulfillment.\n\nThe tracking number is clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking url provided in the `url` field.\n* [Shopify-known tracking company name](#supported-tracking-companies) specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URL.")] + public string? number { get; set; } + /// ///The URLs to track the fulfillment. /// @@ -49308,50 +49308,50 @@ public class FulfillmentTrackingInfo : GraphQLObject ///The tracking URL is displayed in the shipping confirmation email, which can optionally be sent to the customer. ///When accounts are enabled, it's also displayed in the customer's order history. /// - [Description("The URLs to track the fulfillment.\n\nThe tracking URL is displayed in the merchant's admin on the order page.\nThe tracking URL is displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, it's also displayed in the customer's order history.")] - public string? url { get; set; } - } - + [Description("The URLs to track the fulfillment.\n\nThe tracking URL is displayed in the merchant's admin on the order page.\nThe tracking URL is displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, it's also displayed in the customer's order history.")] + public string? url { get; set; } + } + /// ///Return type for `fulfillmentTrackingInfoUpdate` mutation. /// - [Description("Return type for `fulfillmentTrackingInfoUpdate` mutation.")] - public class FulfillmentTrackingInfoUpdatePayload : GraphQLObject - { + [Description("Return type for `fulfillmentTrackingInfoUpdate` mutation.")] + public class FulfillmentTrackingInfoUpdatePayload : GraphQLObject + { /// ///The updated fulfillment with tracking information. /// - [Description("The updated fulfillment with tracking information.")] - public Fulfillment? fulfillment { get; set; } - + [Description("The updated fulfillment with tracking information.")] + public Fulfillment? fulfillment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `fulfillmentTrackingInfoUpdateV2` mutation. /// - [Description("Return type for `fulfillmentTrackingInfoUpdateV2` mutation.")] - public class FulfillmentTrackingInfoUpdateV2Payload : GraphQLObject - { + [Description("Return type for `fulfillmentTrackingInfoUpdateV2` mutation.")] + public class FulfillmentTrackingInfoUpdateV2Payload : GraphQLObject + { /// ///The updated fulfillment with tracking information. /// - [Description("The updated fulfillment with tracking information.")] - public Fulfillment? fulfillment { get; set; } - + [Description("The updated fulfillment with tracking information.")] + public Fulfillment? fulfillment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields that specify all possible fields for tracking information. /// @@ -49364,9 +49364,9 @@ public class FulfillmentTrackingInfoUpdateV2Payload : GraphQLObject - [Description("The input fields that specify all possible fields for tracking information.\n\n> Note:\n> If you provide the `url` field, you should not provide the `urls` field.\n>\n> If you provide the `number` field, you should not provide the `numbers` field.\n>\n> If you provide the `url` field, you should provide the `number` field.\n>\n> If you provide the `urls` field, you should provide the `numbers` field.")] - public class FulfillmentTrackingInput : GraphQLObject - { + [Description("The input fields that specify all possible fields for tracking information.\n\n> Note:\n> If you provide the `url` field, you should not provide the `urls` field.\n>\n> If you provide the `number` field, you should not provide the `numbers` field.\n>\n> If you provide the `url` field, you should provide the `number` field.\n>\n> If you provide the `urls` field, you should provide the `numbers` field.")] + public class FulfillmentTrackingInput : GraphQLObject + { /// ///The tracking number of the fulfillment. /// @@ -49383,9 +49383,9 @@ public class FulfillmentTrackingInput : GraphQLObject /// This can result in an invalid tracking URL. /// It is highly recommended that you send the tracking company and the tracking URL. /// - [Description("The tracking number of the fulfillment.\n\nThe tracking number will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking url provided in the `url` field.\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URL.")] - public string? number { get; set; } - + [Description("The tracking number of the fulfillment.\n\nThe tracking number will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking url provided in the `url` field.\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URL.")] + public string? number { get; set; } + /// ///The URL to track the fulfillment. /// @@ -49398,9 +49398,9 @@ public class FulfillmentTrackingInput : GraphQLObject ///For example, `"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER"` is a valid URL. ///It includes a scheme (`https`) and a host (`myshipping.com`). /// - [Description("The URL to track the fulfillment.\n\nThe tracking URL is displayed in the merchant's admin on the order page.\nThe tracking URL is displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, it's also displayed in the customer's order history.\n\nThe URL must be an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\nFor example, `\"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER\"` is a valid URL.\nIt includes a scheme (`https`) and a host (`myshipping.com`).")] - public string? url { get; set; } - + [Description("The URL to track the fulfillment.\n\nThe tracking URL is displayed in the merchant's admin on the order page.\nThe tracking URL is displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, it's also displayed in the customer's order history.\n\nThe URL must be an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\nFor example, `\"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER\"` is a valid URL.\nIt includes a scheme (`https`) and a host (`myshipping.com`).")] + public string? url { get; set; } + /// ///The name of the tracking company. /// @@ -49419,9 +49419,9 @@ public class FulfillmentTrackingInput : GraphQLObject ///> [the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies) ///> (capitalization matters). /// - [Description("The name of the tracking company.\n\nIf you specify a tracking company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies),\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\nThe same tracking company will be applied to all tracking numbers specified.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n> Note:\n> Send the tracking company name exactly as written in\n> [the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n> (capitalization matters).")] - public string? company { get; set; } - + [Description("The name of the tracking company.\n\nIf you specify a tracking company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies),\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\nThe same tracking company will be applied to all tracking numbers specified.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n> Note:\n> Send the tracking company name exactly as written in\n> [the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n> (capitalization matters).")] + public string? company { get; set; } + /// ///The tracking numbers of the fulfillment, one or many. /// @@ -49444,9 +49444,9 @@ public class FulfillmentTrackingInput : GraphQLObject /// This can result in an invalid tracking URL. /// It is highly recommended that you send the tracking company and the tracking URLs. /// - [Description("The tracking numbers of the fulfillment, one or many.\n\nWith multiple tracking numbers, you can provide tracking information\nfor all shipments associated with the fulfillment, if there are more than one.\nFor example, if you're shipping assembly parts of one furniture item in several boxes.\n\nTracking numbers will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking URLs provided in the `urls` field.\n The tracking URLs will be matched to the tracking numbers based on their positions in the arrays.\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build tracking URLs automatically for all tracking numbers specified.\n The same tracking company will be applied to all tracking numbers.\n* Tracking numbers have a Shopify-known format.\n Shopify will guess tracking providers and build tracking URLs based on the tracking number formats.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URLs.")] - public IEnumerable? numbers { get; set; } - + [Description("The tracking numbers of the fulfillment, one or many.\n\nWith multiple tracking numbers, you can provide tracking information\nfor all shipments associated with the fulfillment, if there are more than one.\nFor example, if you're shipping assembly parts of one furniture item in several boxes.\n\nTracking numbers will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* Tracking URLs provided in the `urls` field.\n The tracking URLs will be matched to the tracking numbers based on their positions in the arrays.\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build tracking URLs automatically for all tracking numbers specified.\n The same tracking company will be applied to all tracking numbers.\n* Tracking numbers have a Shopify-known format.\n Shopify will guess tracking providers and build tracking URLs based on the tracking number formats.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.\n It is highly recommended that you send the tracking company and the tracking URLs.")] + public IEnumerable? numbers { get; set; } + /// ///The URLs to track the fulfillment, one or many. /// @@ -49467,2121 +49467,2121 @@ public class FulfillmentTrackingInput : GraphQLObject ///For example, `"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER"` is a valid URL. ///It includes a scheme (`https`) and a host (`myshipping.com`). /// - [Description("The URLs to track the fulfillment, one or many.\n\nThe tracking URLs are displayed in the merchant's admin on the order page.\nThe tracking URLs are displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, the tracking URLs are also displayed in the customer's order history.\n\nIf you're not specifying a\n[Shopify-known](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\ntracking company name in the `company` field,\nthen provide tracking URLs for all tracking numbers from the `numbers` field.\n\nTracking URLs from the `urls` array field are being matched with the tracking numbers from the `numbers` array\nfield correspondingly their positions in the arrays.\n\nEach URL must be an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\nFor example, `\"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER\"` is a valid URL.\nIt includes a scheme (`https`) and a host (`myshipping.com`).")] - public IEnumerable? urls { get; set; } - } - + [Description("The URLs to track the fulfillment, one or many.\n\nThe tracking URLs are displayed in the merchant's admin on the order page.\nThe tracking URLs are displayed in the shipping confirmation email, which can optionally be sent to the customer.\nWhen accounts are enabled, the tracking URLs are also displayed in the customer's order history.\n\nIf you're not specifying a\n[Shopify-known](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\ntracking company name in the `company` field,\nthen provide tracking URLs for all tracking numbers from the `numbers` field.\n\nTracking URLs from the `urls` array field are being matched with the tracking numbers from the `numbers` array\nfield correspondingly their positions in the arrays.\n\nEach URL must be an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and\n[RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.\nFor example, `\"https://www.myshipping.com/track/?tracknumbers=TRACKING_NUMBER\"` is a valid URL.\nIt includes a scheme (`https`) and a host (`myshipping.com`).")] + public IEnumerable? urls { get; set; } + } + /// ///The input fields used to create a fulfillment from fulfillment orders. /// - [Description("The input fields used to create a fulfillment from fulfillment orders.")] - public class FulfillmentV2Input : GraphQLObject - { + [Description("The input fields used to create a fulfillment from fulfillment orders.")] + public class FulfillmentV2Input : GraphQLObject + { /// ///The fulfillment's tracking information, including a tracking URL, a tracking number, ///and the company associated with the fulfillment. /// - [Description("The fulfillment's tracking information, including a tracking URL, a tracking number,\nand the company associated with the fulfillment.")] - public FulfillmentTrackingInput? trackingInfo { get; set; } - + [Description("The fulfillment's tracking information, including a tracking URL, a tracking number,\nand the company associated with the fulfillment.")] + public FulfillmentTrackingInput? trackingInfo { get; set; } + /// ///Whether the customer is notified. ///If `true`, then a notification is sent when the fulfillment is created. The default value is `false`. /// - [Description("Whether the customer is notified.\nIf `true`, then a notification is sent when the fulfillment is created. The default value is `false`.")] - public bool? notifyCustomer { get; set; } - + [Description("Whether the customer is notified.\nIf `true`, then a notification is sent when the fulfillment is created. The default value is `false`.")] + public bool? notifyCustomer { get; set; } + /// ///Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment ///order line items that have to be fulfilled for each fulfillment order. For any given pair, if the ///fulfillment order line items are left blank then all the fulfillment order line items of the ///associated fulfillment order ID will be fulfilled. /// - [Description("Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment\norder line items that have to be fulfilled for each fulfillment order. For any given pair, if the\nfulfillment order line items are left blank then all the fulfillment order line items of the\nassociated fulfillment order ID will be fulfilled.")] - [NonNull] - public IEnumerable? lineItemsByFulfillmentOrder { get; set; } - + [Description("Pairs of `fulfillment_order_id` and `fulfillment_order_line_items` that represent the fulfillment\norder line items that have to be fulfilled for each fulfillment order. For any given pair, if the\nfulfillment order line items are left blank then all the fulfillment order line items of the\nassociated fulfillment order ID will be fulfilled.")] + [NonNull] + public IEnumerable? lineItemsByFulfillmentOrder { get; set; } + /// ///Address information about the location from which the order was fulfilled. /// - [Description("Address information about the location from which the order was fulfilled.")] - public FulfillmentOriginAddressInput? originAddress { get; set; } - } - + [Description("Address information about the location from which the order was fulfilled.")] + public FulfillmentOriginAddressInput? originAddress { get; set; } + } + /// ///The App Bridge information for a Shopify Function. /// - [Description("The App Bridge information for a Shopify Function.")] - public class FunctionsAppBridge : GraphQLObject - { + [Description("The App Bridge information for a Shopify Function.")] + public class FunctionsAppBridge : GraphQLObject + { /// ///The relative path for creating a customization. /// - [Description("The relative path for creating a customization.")] - [NonNull] - public string? createPath { get; set; } - + [Description("The relative path for creating a customization.")] + [NonNull] + public string? createPath { get; set; } + /// ///The relative path for viewing a customization. /// - [Description("The relative path for viewing a customization.")] - [NonNull] - public string? detailsPath { get; set; } - } - + [Description("The relative path for viewing a customization.")] + [NonNull] + public string? detailsPath { get; set; } + } + /// ///The error history from running a Shopify Function. /// - [Description("The error history from running a Shopify Function.")] - public class FunctionsErrorHistory : GraphQLObject - { + [Description("The error history from running a Shopify Function.")] + public class FunctionsErrorHistory : GraphQLObject + { /// ///The date and time that the first error occurred. /// - [Description("The date and time that the first error occurred.")] - [NonNull] - public DateTime? errorsFirstOccurredAt { get; set; } - + [Description("The date and time that the first error occurred.")] + [NonNull] + public DateTime? errorsFirstOccurredAt { get; set; } + /// ///The date and time that the first error occurred. /// - [Description("The date and time that the first error occurred.")] - [NonNull] - public DateTime? firstOccurredAt { get; set; } - + [Description("The date and time that the first error occurred.")] + [NonNull] + public DateTime? firstOccurredAt { get; set; } + /// ///Whether the merchant has shared all the recent errors with the developer. /// - [Description("Whether the merchant has shared all the recent errors with the developer.")] - [NonNull] - public bool? hasBeenSharedSinceLastError { get; set; } - + [Description("Whether the merchant has shared all the recent errors with the developer.")] + [NonNull] + public bool? hasBeenSharedSinceLastError { get; set; } + /// ///Whether the merchant has shared all the recent errors with the developer. /// - [Description("Whether the merchant has shared all the recent errors with the developer.")] - [NonNull] - public bool? hasSharedRecentErrors { get; set; } - } - + [Description("Whether the merchant has shared all the recent errors with the developer.")] + [NonNull] + public bool? hasSharedRecentErrors { get; set; } + } + /// ///Represents any file other than HTML. /// - [Description("Represents any file other than HTML.")] - public class GenericFile : GraphQLObject, IFile, INode, IMetafieldReference - { + [Description("Represents any file other than HTML.")] + public class GenericFile : GraphQLObject, IFile, INode, IMetafieldReference + { /// ///A word or phrase to describe the contents or the function of a file. /// - [Description("A word or phrase to describe the contents or the function of a file.")] - public string? alt { get; set; } - + [Description("A word or phrase to describe the contents or the function of a file.")] + public string? alt { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Any errors that have occurred on the file. /// - [Description("Any errors that have occurred on the file.")] - [NonNull] - public IEnumerable? fileErrors { get; set; } - + [Description("Any errors that have occurred on the file.")] + [NonNull] + public IEnumerable? fileErrors { get; set; } + /// ///The status of the file. /// - [Description("The status of the file.")] - [NonNull] - [EnumType(typeof(FileStatus))] - public string? fileStatus { get; set; } - + [Description("The status of the file.")] + [NonNull] + [EnumType(typeof(FileStatus))] + public string? fileStatus { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The generic file's MIME type. /// - [Description("The generic file's MIME type.")] - public string? mimeType { get; set; } - + [Description("The generic file's MIME type.")] + public string? mimeType { get; set; } + /// ///The generic file's size in bytes. /// - [Description("The generic file's size in bytes.")] - public int? originalFileSize { get; set; } - + [Description("The generic file's size in bytes.")] + public int? originalFileSize { get; set; } + /// ///The preview image for the media. /// - [Description("The preview image for the media.")] - public MediaPreviewImage? preview { get; set; } - + [Description("The preview image for the media.")] + public MediaPreviewImage? preview { get; set; } + /// ///Status resulting from the latest update operation. See fileErrors for details. /// - [Description("Status resulting from the latest update operation. See fileErrors for details.")] - [EnumType(typeof(FileStatus))] - public string? updateStatus { get; set; } - + [Description("Status resulting from the latest update operation. See fileErrors for details.")] + [EnumType(typeof(FileStatus))] + public string? updateStatus { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The generic file's URL. /// - [Description("The generic file's URL.")] - public string? url { get; set; } - } - + [Description("The generic file's URL.")] + public string? url { get; set; } + } + /// ///Represents an issued gift card. /// - [Description("Represents an issued gift card.")] - public class GiftCard : GraphQLObject, INode - { + [Description("Represents an issued gift card.")] + public class GiftCard : GraphQLObject, INode + { /// ///The gift card's remaining balance. /// - [Description("The gift card's remaining balance.")] - [NonNull] - public MoneyV2? balance { get; set; } - + [Description("The gift card's remaining balance.")] + [NonNull] + public MoneyV2? balance { get; set; } + /// ///The date and time at which the gift card was created. /// - [Description("The date and time at which the gift card was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time at which the gift card was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The customer who will receive the gift card. /// - [Description("The customer who will receive the gift card.")] - public Customer? customer { get; set; } - + [Description("The customer who will receive the gift card.")] + public Customer? customer { get; set; } + /// ///The date and time at which the gift card was deactivated. /// - [Description("The date and time at which the gift card was deactivated.")] - public DateTime? deactivatedAt { get; set; } - + [Description("The date and time at which the gift card was deactivated.")] + public DateTime? deactivatedAt { get; set; } + /// ///Whether the gift card is enabled. /// - [Description("Whether the gift card is enabled.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Whether the gift card is enabled.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The date at which the gift card will expire. /// - [Description("The date at which the gift card will expire.")] - public DateOnly? expiresOn { get; set; } - + [Description("The date at which the gift card will expire.")] + public DateOnly? expiresOn { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The initial value of the gift card. /// - [Description("The initial value of the gift card.")] - [NonNull] - public MoneyV2? initialValue { get; set; } - + [Description("The initial value of the gift card.")] + [NonNull] + public MoneyV2? initialValue { get; set; } + /// ///The final four characters of the gift card code. /// - [Description("The final four characters of the gift card code.")] - [NonNull] - public string? lastCharacters { get; set; } - + [Description("The final four characters of the gift card code.")] + [NonNull] + public string? lastCharacters { get; set; } + /// ///The gift card code. Everything but the final four characters is masked. /// - [Description("The gift card code. Everything but the final four characters is masked.")] - [NonNull] - public string? maskedCode { get; set; } - + [Description("The gift card code. Everything but the final four characters is masked.")] + [NonNull] + public string? maskedCode { get; set; } + /// ///The note associated with the gift card, which isn't visible to the customer. /// - [Description("The note associated with the gift card, which isn't visible to the customer.")] - public string? note { get; set; } - + [Description("The note associated with the gift card, which isn't visible to the customer.")] + public string? note { get; set; } + /// ///Whether the customer and recipient will be notified when the gift card is issued. /// - [Description("Whether the customer and recipient will be notified when the gift card is issued.")] - [NonNull] - public bool? notify { get; set; } - + [Description("Whether the customer and recipient will be notified when the gift card is issued.")] + [NonNull] + public bool? notify { get; set; } + /// ///The order associated with the gift card. This value is `null` if the gift card was issued manually. /// - [Description("The order associated with the gift card. This value is `null` if the gift card was issued manually.")] - public Order? order { get; set; } - + [Description("The order associated with the gift card. This value is `null` if the gift card was issued manually.")] + public Order? order { get; set; } + /// ///The recipient who will receive the gift card. /// - [Description("The recipient who will receive the gift card.")] - public GiftCardRecipient? recipientAttributes { get; set; } - + [Description("The recipient who will receive the gift card.")] + public GiftCardRecipient? recipientAttributes { get; set; } + /// ///The theme template used to render the gift card online. /// - [Description("The theme template used to render the gift card online.")] - public string? templateSuffix { get; set; } - + [Description("The theme template used to render the gift card online.")] + public string? templateSuffix { get; set; } + /// ///The transaction history of the gift card. /// - [Description("The transaction history of the gift card.")] - public GiftCardTransactionConnection? transactions { get; set; } - + [Description("The transaction history of the gift card.")] + public GiftCardTransactionConnection? transactions { get; set; } + /// ///The date and time at which the gift card was updated. /// - [Description("The date and time at which the gift card was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time at which the gift card was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Represents information about the configuration of gift cards on the shop. /// - [Description("Represents information about the configuration of gift cards on the shop.")] - public class GiftCardConfiguration : GraphQLObject - { + [Description("Represents information about the configuration of gift cards on the shop.")] + public class GiftCardConfiguration : GraphQLObject + { /// ///The issue limit for gift cards in the default shop currency. /// - [Description("The issue limit for gift cards in the default shop currency.")] - [NonNull] - public MoneyV2? issueLimit { get; set; } - + [Description("The issue limit for gift cards in the default shop currency.")] + [NonNull] + public MoneyV2? issueLimit { get; set; } + /// ///The purchase limit for gift cards in the default shop currency. /// - [Description("The purchase limit for gift cards in the default shop currency.")] - [NonNull] - public MoneyV2? purchaseLimit { get; set; } - } - + [Description("The purchase limit for gift cards in the default shop currency.")] + [NonNull] + public MoneyV2? purchaseLimit { get; set; } + } + /// ///An auto-generated type for paginating through multiple GiftCards. /// - [Description("An auto-generated type for paginating through multiple GiftCards.")] - public class GiftCardConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple GiftCards.")] + public class GiftCardConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in GiftCardEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in GiftCardEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in GiftCardEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to issue a gift card. /// - [Description("The input fields to issue a gift card.")] - public class GiftCardCreateInput : GraphQLObject - { + [Description("The input fields to issue a gift card.")] + public class GiftCardCreateInput : GraphQLObject + { /// ///The initial value of the gift card. /// - [Description("The initial value of the gift card.")] - [NonNull] - public decimal? initialValue { get; set; } - + [Description("The initial value of the gift card.")] + [NonNull] + public decimal? initialValue { get; set; } + /// ///The gift card's code. It must be 8-20 characters long and contain only letters(a-z) and numbers(0-9). ///It isn't case sensitive. If not provided, then a random code will be generated. /// - [Description("The gift card's code. It must be 8-20 characters long and contain only letters(a-z) and numbers(0-9).\nIt isn't case sensitive. If not provided, then a random code will be generated.")] - public string? code { get; set; } - + [Description("The gift card's code. It must be 8-20 characters long and contain only letters(a-z) and numbers(0-9).\nIt isn't case sensitive. If not provided, then a random code will be generated.")] + public string? code { get; set; } + /// ///The ID of the customer who will receive the gift card. Requires `write_customers` access_scope. /// - [Description("The ID of the customer who will receive the gift card. Requires `write_customers` access_scope.")] - public string? customerId { get; set; } - + [Description("The ID of the customer who will receive the gift card. Requires `write_customers` access_scope.")] + public string? customerId { get; set; } + /// ///The date at which the gift card will expire. If not provided, then the gift card will never expire. /// - [Description("The date at which the gift card will expire. If not provided, then the gift card will never expire.")] - public DateOnly? expiresOn { get; set; } - + [Description("The date at which the gift card will expire. If not provided, then the gift card will never expire.")] + public DateOnly? expiresOn { get; set; } + /// ///The note associated with the gift card, which isn't visible to the customer. /// - [Description("The note associated with the gift card, which isn't visible to the customer.")] - public string? note { get; set; } - + [Description("The note associated with the gift card, which isn't visible to the customer.")] + public string? note { get; set; } + /// ///Whether to enable sending of notifications to the customer and recipient. ///Defaults to `true`. ///Setting this to `false` will prevent all notifications to the customer or recipient, unless the property is ///changed on a subsequent update. /// - [Description("Whether to enable sending of notifications to the customer and recipient.\nDefaults to `true`.\nSetting this to `false` will prevent all notifications to the customer or recipient, unless the property is\nchanged on a subsequent update.")] - public bool? notify { get; set; } - + [Description("Whether to enable sending of notifications to the customer and recipient.\nDefaults to `true`.\nSetting this to `false` will prevent all notifications to the customer or recipient, unless the property is\nchanged on a subsequent update.")] + public bool? notify { get; set; } + /// ///The recipient attributes of the gift card. /// - [Description("The recipient attributes of the gift card.")] - public GiftCardRecipientInput? recipientAttributes { get; set; } - + [Description("The recipient attributes of the gift card.")] + public GiftCardRecipientInput? recipientAttributes { get; set; } + /// ///The suffix of the Liquid template that's used to render the gift card online. ///For example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`. ///If not provided, then the default `gift_card.liquid` template is used. /// - [Description("The suffix of the Liquid template that's used to render the gift card online.\nFor example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`.\nIf not provided, then the default `gift_card.liquid` template is used.")] - public string? templateSuffix { get; set; } - } - + [Description("The suffix of the Liquid template that's used to render the gift card online.\nFor example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`.\nIf not provided, then the default `gift_card.liquid` template is used.")] + public string? templateSuffix { get; set; } + } + /// ///Return type for `giftCardCreate` mutation. /// - [Description("Return type for `giftCardCreate` mutation.")] - public class GiftCardCreatePayload : GraphQLObject - { + [Description("Return type for `giftCardCreate` mutation.")] + public class GiftCardCreatePayload : GraphQLObject + { /// ///The created gift card. /// - [Description("The created gift card.")] - public GiftCard? giftCard { get; set; } - + [Description("The created gift card.")] + public GiftCard? giftCard { get; set; } + /// ///The created gift card's code. /// - [Description("The created gift card's code.")] - public string? giftCardCode { get; set; } - + [Description("The created gift card's code.")] + public string? giftCardCode { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for a gift card credit transaction. /// - [Description("The input fields for a gift card credit transaction.")] - public class GiftCardCreditInput : GraphQLObject - { + [Description("The input fields for a gift card credit transaction.")] + public class GiftCardCreditInput : GraphQLObject + { /// ///The amount to credit the gift card. /// - [Description("The amount to credit the gift card.")] - [NonNull] - public MoneyInput? creditAmount { get; set; } - + [Description("The amount to credit the gift card.")] + [NonNull] + public MoneyInput? creditAmount { get; set; } + /// ///A note about the credit. /// - [Description("A note about the credit.")] - public string? note { get; set; } - + [Description("A note about the credit.")] + public string? note { get; set; } + /// ///The date and time the credit was processed. Defaults to current date and time. /// - [Description("The date and time the credit was processed. Defaults to current date and time.")] - public DateTime? processedAt { get; set; } - } - + [Description("The date and time the credit was processed. Defaults to current date and time.")] + public DateTime? processedAt { get; set; } + } + /// ///Return type for `giftCardCredit` mutation. /// - [Description("Return type for `giftCardCredit` mutation.")] - public class GiftCardCreditPayload : GraphQLObject - { + [Description("Return type for `giftCardCredit` mutation.")] + public class GiftCardCreditPayload : GraphQLObject + { /// ///The gift card credit transaction that was created. /// - [Description("The gift card credit transaction that was created.")] - public GiftCardCreditTransaction? giftCardCreditTransaction { get; set; } - + [Description("The gift card credit transaction that was created.")] + public GiftCardCreditTransaction? giftCardCreditTransaction { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A credit transaction which increases the gift card balance. /// - [Description("A credit transaction which increases the gift card balance.")] - public class GiftCardCreditTransaction : GraphQLObject, IGiftCardTransaction, IHasMetafields, INode - { + [Description("A credit transaction which increases the gift card balance.")] + public class GiftCardCreditTransaction : GraphQLObject, IGiftCardTransaction, IHasMetafields, INode + { /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The gift card that the transaction belongs to. /// - [Description("The gift card that the transaction belongs to.")] - [NonNull] - public GiftCard? giftCard { get; set; } - + [Description("The gift card that the transaction belongs to.")] + [NonNull] + public GiftCard? giftCard { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///A note about the transaction. /// - [Description("A note about the transaction.")] - public string? note { get; set; } - + [Description("A note about the transaction.")] + public string? note { get; set; } + /// ///The date and time when the transaction was processed. /// - [Description("The date and time when the transaction was processed.")] - [NonNull] - public DateTime? processedAt { get; set; } - } - + [Description("The date and time when the transaction was processed.")] + [NonNull] + public DateTime? processedAt { get; set; } + } + /// ///Return type for `giftCardDeactivate` mutation. /// - [Description("Return type for `giftCardDeactivate` mutation.")] - public class GiftCardDeactivatePayload : GraphQLObject - { + [Description("Return type for `giftCardDeactivate` mutation.")] + public class GiftCardDeactivatePayload : GraphQLObject + { /// ///The deactivated gift card. /// - [Description("The deactivated gift card.")] - public GiftCard? giftCard { get; set; } - + [Description("The deactivated gift card.")] + public GiftCard? giftCard { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `GiftCardDeactivate`. /// - [Description("An error that occurs during the execution of `GiftCardDeactivate`.")] - public class GiftCardDeactivateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `GiftCardDeactivate`.")] + public class GiftCardDeactivateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(GiftCardDeactivateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(GiftCardDeactivateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `GiftCardDeactivateUserError`. /// - [Description("Possible error codes that can be returned by `GiftCardDeactivateUserError`.")] - public enum GiftCardDeactivateUserErrorCode - { + [Description("Possible error codes that can be returned by `GiftCardDeactivateUserError`.")] + public enum GiftCardDeactivateUserErrorCode + { /// ///The gift card could not be found. /// - [Description("The gift card could not be found.")] - GIFT_CARD_NOT_FOUND, - } - - public static class GiftCardDeactivateUserErrorCodeStringValues - { - public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; - } - + [Description("The gift card could not be found.")] + GIFT_CARD_NOT_FOUND, + } + + public static class GiftCardDeactivateUserErrorCodeStringValues + { + public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; + } + /// ///The input fields for a gift card debit transaction. /// - [Description("The input fields for a gift card debit transaction.")] - public class GiftCardDebitInput : GraphQLObject - { + [Description("The input fields for a gift card debit transaction.")] + public class GiftCardDebitInput : GraphQLObject + { /// ///The amount to debit the gift card. /// - [Description("The amount to debit the gift card.")] - [NonNull] - public MoneyInput? debitAmount { get; set; } - + [Description("The amount to debit the gift card.")] + [NonNull] + public MoneyInput? debitAmount { get; set; } + /// ///A note about the debit. /// - [Description("A note about the debit.")] - public string? note { get; set; } - + [Description("A note about the debit.")] + public string? note { get; set; } + /// ///The date and time the debit was processed. Defaults to current date and time. /// - [Description("The date and time the debit was processed. Defaults to current date and time.")] - public DateTime? processedAt { get; set; } - } - + [Description("The date and time the debit was processed. Defaults to current date and time.")] + public DateTime? processedAt { get; set; } + } + /// ///Return type for `giftCardDebit` mutation. /// - [Description("Return type for `giftCardDebit` mutation.")] - public class GiftCardDebitPayload : GraphQLObject - { + [Description("Return type for `giftCardDebit` mutation.")] + public class GiftCardDebitPayload : GraphQLObject + { /// ///The gift card debit transaction that was created. /// - [Description("The gift card debit transaction that was created.")] - public GiftCardDebitTransaction? giftCardDebitTransaction { get; set; } - + [Description("The gift card debit transaction that was created.")] + public GiftCardDebitTransaction? giftCardDebitTransaction { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A debit transaction which decreases the gift card balance. /// - [Description("A debit transaction which decreases the gift card balance.")] - public class GiftCardDebitTransaction : GraphQLObject, IGiftCardTransaction, IHasMetafields, INode - { + [Description("A debit transaction which decreases the gift card balance.")] + public class GiftCardDebitTransaction : GraphQLObject, IGiftCardTransaction, IHasMetafields, INode + { /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The gift card that the transaction belongs to. /// - [Description("The gift card that the transaction belongs to.")] - [NonNull] - public GiftCard? giftCard { get; set; } - + [Description("The gift card that the transaction belongs to.")] + [NonNull] + public GiftCard? giftCard { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///A note about the transaction. /// - [Description("A note about the transaction.")] - public string? note { get; set; } - + [Description("A note about the transaction.")] + public string? note { get; set; } + /// ///The date and time when the transaction was processed. /// - [Description("The date and time when the transaction was processed.")] - [NonNull] - public DateTime? processedAt { get; set; } - } - + [Description("The date and time when the transaction was processed.")] + [NonNull] + public DateTime? processedAt { get; set; } + } + /// ///An auto-generated type which holds one GiftCard and a cursor during pagination. /// - [Description("An auto-generated type which holds one GiftCard and a cursor during pagination.")] - public class GiftCardEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one GiftCard and a cursor during pagination.")] + public class GiftCardEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of GiftCardEdge. /// - [Description("The item at the end of GiftCardEdge.")] - [NonNull] - public GiftCard? node { get; set; } - } - + [Description("The item at the end of GiftCardEdge.")] + [NonNull] + public GiftCard? node { get; set; } + } + /// ///Possible error codes that can be returned by `GiftCardUserError`. /// - [Description("Possible error codes that can be returned by `GiftCardUserError`.")] - public enum GiftCardErrorCode - { + [Description("Possible error codes that can be returned by `GiftCardUserError`.")] + public enum GiftCardErrorCode + { /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///Missing a required argument. /// - [Description("Missing a required argument.")] - MISSING_ARGUMENT, + [Description("Missing a required argument.")] + MISSING_ARGUMENT, /// ///The input value should be greater than the minimum allowed value. /// - [Description("The input value should be greater than the minimum allowed value.")] - GREATER_THAN, + [Description("The input value should be greater than the minimum allowed value.")] + GREATER_THAN, /// ///The maximum initial value in USD of a gift card was exceeded. /// - [Description("The maximum initial value in USD of a gift card was exceeded.")] - MAX_INITIAL_VALUE_EXCEEDED_IN_USD, + [Description("The maximum initial value in USD of a gift card was exceeded.")] + MAX_INITIAL_VALUE_EXCEEDED_IN_USD, /// ///The maximum initial value in the shop's local currency of a gift card was exceeded. /// - [Description("The maximum initial value in the shop's local currency of a gift card was exceeded.")] - MAX_INITIAL_VALUE_EXCEEDED, + [Description("The maximum initial value in the shop's local currency of a gift card was exceeded.")] + MAX_INITIAL_VALUE_EXCEEDED, /// ///The gift card's value exceeds the allowed limits. /// - [Description("The gift card's value exceeds the allowed limits.")] - GIFT_CARD_LIMIT_EXCEEDED, + [Description("The gift card's value exceeds the allowed limits.")] + GIFT_CARD_LIMIT_EXCEEDED, /// ///The customer could not be found. /// - [Description("The customer could not be found.")] - CUSTOMER_NOT_FOUND, + [Description("The customer could not be found.")] + CUSTOMER_NOT_FOUND, /// ///The recipient could not be found. /// - [Description("The recipient could not be found.")] - RECIPIENT_NOT_FOUND, - } - - public static class GiftCardErrorCodeStringValues - { - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string TAKEN = @"TAKEN"; - public const string INVALID = @"INVALID"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string MAX_INITIAL_VALUE_EXCEEDED_IN_USD = @"MAX_INITIAL_VALUE_EXCEEDED_IN_USD"; - public const string MAX_INITIAL_VALUE_EXCEEDED = @"MAX_INITIAL_VALUE_EXCEEDED"; - public const string GIFT_CARD_LIMIT_EXCEEDED = @"GIFT_CARD_LIMIT_EXCEEDED"; - public const string CUSTOMER_NOT_FOUND = @"CUSTOMER_NOT_FOUND"; - public const string RECIPIENT_NOT_FOUND = @"RECIPIENT_NOT_FOUND"; - } - + [Description("The recipient could not be found.")] + RECIPIENT_NOT_FOUND, + } + + public static class GiftCardErrorCodeStringValues + { + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string TAKEN = @"TAKEN"; + public const string INVALID = @"INVALID"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string MISSING_ARGUMENT = @"MISSING_ARGUMENT"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string MAX_INITIAL_VALUE_EXCEEDED_IN_USD = @"MAX_INITIAL_VALUE_EXCEEDED_IN_USD"; + public const string MAX_INITIAL_VALUE_EXCEEDED = @"MAX_INITIAL_VALUE_EXCEEDED"; + public const string GIFT_CARD_LIMIT_EXCEEDED = @"GIFT_CARD_LIMIT_EXCEEDED"; + public const string CUSTOMER_NOT_FOUND = @"CUSTOMER_NOT_FOUND"; + public const string RECIPIENT_NOT_FOUND = @"RECIPIENT_NOT_FOUND"; + } + /// ///Represents a recipient who will receive the issued gift card. /// - [Description("Represents a recipient who will receive the issued gift card.")] - public class GiftCardRecipient : GraphQLObject - { + [Description("Represents a recipient who will receive the issued gift card.")] + public class GiftCardRecipient : GraphQLObject + { /// ///The message sent with the gift card. /// - [Description("The message sent with the gift card.")] - public string? message { get; set; } - + [Description("The message sent with the gift card.")] + public string? message { get; set; } + /// ///The preferred name of the recipient who will receive the gift card. /// - [Description("The preferred name of the recipient who will receive the gift card.")] - public string? preferredName { get; set; } - + [Description("The preferred name of the recipient who will receive the gift card.")] + public string? preferredName { get; set; } + /// ///The recipient who will receive the gift card. /// - [Description("The recipient who will receive the gift card.")] - [NonNull] - public Customer? recipient { get; set; } - + [Description("The recipient who will receive the gift card.")] + [NonNull] + public Customer? recipient { get; set; } + /// ///The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime. /// - [Description("The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime.")] - public DateTime? sendNotificationAt { get; set; } - } - + [Description("The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime.")] + public DateTime? sendNotificationAt { get; set; } + } + /// ///The input fields to add a recipient to a gift card. /// - [Description("The input fields to add a recipient to a gift card.")] - public class GiftCardRecipientInput : GraphQLObject - { + [Description("The input fields to add a recipient to a gift card.")] + public class GiftCardRecipientInput : GraphQLObject + { /// ///The ID of the customer who will be the recipient of the gift card. Requires `write_customers` access_scope. /// - [Description("The ID of the customer who will be the recipient of the gift card. Requires `write_customers` access_scope.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the customer who will be the recipient of the gift card. Requires `write_customers` access_scope.")] + [NonNull] + public string? id { get; set; } + /// ///The preferred name of the recipient. /// - [Description("The preferred name of the recipient.")] - public string? preferredName { get; set; } - + [Description("The preferred name of the recipient.")] + public string? preferredName { get; set; } + /// ///The personalized message intended for the recipient. /// - [Description("The personalized message intended for the recipient.")] - public string? message { get; set; } - + [Description("The personalized message intended for the recipient.")] + public string? message { get; set; } + /// ///The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime. /// - [Description("The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime.")] - public DateTime? sendNotificationAt { get; set; } - } - + [Description("The scheduled datetime on which the gift card will be sent to the recipient. The gift card will be sent within an hour of the specified datetime.")] + public DateTime? sendNotificationAt { get; set; } + } + /// ///A sale associated with a gift card. /// - [Description("A sale associated with a gift card.")] - public class GiftCardSale : GraphQLObject, ISale - { + [Description("A sale associated with a gift card.")] + public class GiftCardSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line item for the associated sale. /// - [Description("The line item for the associated sale.")] - [NonNull] - public LineItem? lineItem { get; set; } - + [Description("The line item for the associated sale.")] + [NonNull] + public LineItem? lineItem { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///Return type for `giftCardSendNotificationToCustomer` mutation. /// - [Description("Return type for `giftCardSendNotificationToCustomer` mutation.")] - public class GiftCardSendNotificationToCustomerPayload : GraphQLObject - { + [Description("Return type for `giftCardSendNotificationToCustomer` mutation.")] + public class GiftCardSendNotificationToCustomerPayload : GraphQLObject + { /// ///The gift card that was sent. /// - [Description("The gift card that was sent.")] - public GiftCard? giftCard { get; set; } - + [Description("The gift card that was sent.")] + public GiftCard? giftCard { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `GiftCardSendNotificationToCustomer`. /// - [Description("An error that occurs during the execution of `GiftCardSendNotificationToCustomer`.")] - public class GiftCardSendNotificationToCustomerUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `GiftCardSendNotificationToCustomer`.")] + public class GiftCardSendNotificationToCustomerUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(GiftCardSendNotificationToCustomerUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(GiftCardSendNotificationToCustomerUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `GiftCardSendNotificationToCustomerUserError`. /// - [Description("Possible error codes that can be returned by `GiftCardSendNotificationToCustomerUserError`.")] - public enum GiftCardSendNotificationToCustomerUserErrorCode - { + [Description("Possible error codes that can be returned by `GiftCardSendNotificationToCustomerUserError`.")] + public enum GiftCardSendNotificationToCustomerUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The customer could not be found. /// - [Description("The customer could not be found.")] - CUSTOMER_NOT_FOUND, + [Description("The customer could not be found.")] + CUSTOMER_NOT_FOUND, /// ///The gift card could not be found. /// - [Description("The gift card could not be found.")] - GIFT_CARD_NOT_FOUND, - } - - public static class GiftCardSendNotificationToCustomerUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string CUSTOMER_NOT_FOUND = @"CUSTOMER_NOT_FOUND"; - public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; - } - + [Description("The gift card could not be found.")] + GIFT_CARD_NOT_FOUND, + } + + public static class GiftCardSendNotificationToCustomerUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string CUSTOMER_NOT_FOUND = @"CUSTOMER_NOT_FOUND"; + public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; + } + /// ///Return type for `giftCardSendNotificationToRecipient` mutation. /// - [Description("Return type for `giftCardSendNotificationToRecipient` mutation.")] - public class GiftCardSendNotificationToRecipientPayload : GraphQLObject - { + [Description("Return type for `giftCardSendNotificationToRecipient` mutation.")] + public class GiftCardSendNotificationToRecipientPayload : GraphQLObject + { /// ///The gift card that was sent. /// - [Description("The gift card that was sent.")] - public GiftCard? giftCard { get; set; } - + [Description("The gift card that was sent.")] + public GiftCard? giftCard { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `GiftCardSendNotificationToRecipient`. /// - [Description("An error that occurs during the execution of `GiftCardSendNotificationToRecipient`.")] - public class GiftCardSendNotificationToRecipientUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `GiftCardSendNotificationToRecipient`.")] + public class GiftCardSendNotificationToRecipientUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(GiftCardSendNotificationToRecipientUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(GiftCardSendNotificationToRecipientUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `GiftCardSendNotificationToRecipientUserError`. /// - [Description("Possible error codes that can be returned by `GiftCardSendNotificationToRecipientUserError`.")] - public enum GiftCardSendNotificationToRecipientUserErrorCode - { + [Description("Possible error codes that can be returned by `GiftCardSendNotificationToRecipientUserError`.")] + public enum GiftCardSendNotificationToRecipientUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The recipient could not be found. /// - [Description("The recipient could not be found.")] - RECIPIENT_NOT_FOUND, + [Description("The recipient could not be found.")] + RECIPIENT_NOT_FOUND, /// ///The gift card could not be found. /// - [Description("The gift card could not be found.")] - GIFT_CARD_NOT_FOUND, - } - - public static class GiftCardSendNotificationToRecipientUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string RECIPIENT_NOT_FOUND = @"RECIPIENT_NOT_FOUND"; - public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; - } - + [Description("The gift card could not be found.")] + GIFT_CARD_NOT_FOUND, + } + + public static class GiftCardSendNotificationToRecipientUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string RECIPIENT_NOT_FOUND = @"RECIPIENT_NOT_FOUND"; + public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; + } + /// ///The set of valid sort keys for the GiftCard query. /// - [Description("The set of valid sort keys for the GiftCard query.")] - public enum GiftCardSortKeys - { + [Description("The set of valid sort keys for the GiftCard query.")] + public enum GiftCardSortKeys + { /// ///Sort by the `amount_spent` value. /// - [Description("Sort by the `amount_spent` value.")] - AMOUNT_SPENT, + [Description("Sort by the `amount_spent` value.")] + AMOUNT_SPENT, /// ///Sort by the `balance` value. /// - [Description("Sort by the `balance` value.")] - BALANCE, + [Description("Sort by the `balance` value.")] + BALANCE, /// ///Sort by the `code` value. /// - [Description("Sort by the `code` value.")] - CODE, + [Description("Sort by the `code` value.")] + CODE, /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `customer_name` value. /// - [Description("Sort by the `customer_name` value.")] - CUSTOMER_NAME, + [Description("Sort by the `customer_name` value.")] + CUSTOMER_NAME, /// ///Sort by the `disabled_at` value. /// - [Description("Sort by the `disabled_at` value.")] - DISABLED_AT, + [Description("Sort by the `disabled_at` value.")] + DISABLED_AT, /// ///Sort by the `expires_on` value. /// - [Description("Sort by the `expires_on` value.")] - EXPIRES_ON, + [Description("Sort by the `expires_on` value.")] + EXPIRES_ON, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `initial_value` value. /// - [Description("Sort by the `initial_value` value.")] - INITIAL_VALUE, + [Description("Sort by the `initial_value` value.")] + INITIAL_VALUE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class GiftCardSortKeysStringValues - { - public const string AMOUNT_SPENT = @"AMOUNT_SPENT"; - public const string BALANCE = @"BALANCE"; - public const string CODE = @"CODE"; - public const string CREATED_AT = @"CREATED_AT"; - public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; - public const string DISABLED_AT = @"DISABLED_AT"; - public const string EXPIRES_ON = @"EXPIRES_ON"; - public const string ID = @"ID"; - public const string INITIAL_VALUE = @"INITIAL_VALUE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class GiftCardSortKeysStringValues + { + public const string AMOUNT_SPENT = @"AMOUNT_SPENT"; + public const string BALANCE = @"BALANCE"; + public const string CODE = @"CODE"; + public const string CREATED_AT = @"CREATED_AT"; + public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; + public const string DISABLED_AT = @"DISABLED_AT"; + public const string EXPIRES_ON = @"EXPIRES_ON"; + public const string ID = @"ID"; + public const string INITIAL_VALUE = @"INITIAL_VALUE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Interface for a gift card transaction. /// - [Description("Interface for a gift card transaction.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(GiftCardCreditTransaction), typeDiscriminator: "GiftCardCreditTransaction")] - [JsonDerivedType(typeof(GiftCardDebitTransaction), typeDiscriminator: "GiftCardDebitTransaction")] - public interface IGiftCardTransaction : IGraphQLObject, IHasMetafields - { + [Description("Interface for a gift card transaction.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(GiftCardCreditTransaction), typeDiscriminator: "GiftCardCreditTransaction")] + [JsonDerivedType(typeof(GiftCardDebitTransaction), typeDiscriminator: "GiftCardDebitTransaction")] + public interface IGiftCardTransaction : IGraphQLObject, IHasMetafields + { /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; } + /// ///The gift card that the transaction belongs to. /// - [Description("The gift card that the transaction belongs to.")] - [NonNull] - public GiftCard? giftCard { get; } - + [Description("The gift card that the transaction belongs to.")] + [NonNull] + public GiftCard? giftCard { get; } + /// ///The unique ID for the transaction. /// - [Description("The unique ID for the transaction.")] - [NonNull] - public string? id { get; } - + [Description("The unique ID for the transaction.")] + [NonNull] + public string? id { get; } + /// ///A note about the transaction. /// - [Description("A note about the transaction.")] - public string? note { get; } - + [Description("A note about the transaction.")] + public string? note { get; } + /// ///The date and time when the transaction was processed. /// - [Description("The date and time when the transaction was processed.")] - [NonNull] - public DateTime? processedAt { get; } - } - + [Description("The date and time when the transaction was processed.")] + [NonNull] + public DateTime? processedAt { get; } + } + /// ///An auto-generated type for paginating through multiple GiftCardTransactions. /// - [Description("An auto-generated type for paginating through multiple GiftCardTransactions.")] - public class GiftCardTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple GiftCardTransactions.")] + public class GiftCardTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in GiftCardTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in GiftCardTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in GiftCardTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one GiftCardTransaction and a cursor during pagination. /// - [Description("An auto-generated type which holds one GiftCardTransaction and a cursor during pagination.")] - public class GiftCardTransactionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one GiftCardTransaction and a cursor during pagination.")] + public class GiftCardTransactionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of GiftCardTransactionEdge. /// - [Description("The item at the end of GiftCardTransactionEdge.")] - [NonNull] - public IGiftCardTransaction? node { get; set; } - } - + [Description("The item at the end of GiftCardTransactionEdge.")] + [NonNull] + public IGiftCardTransaction? node { get; set; } + } + /// ///Represents an error that happens during the execution of a gift card transaction mutation. /// - [Description("Represents an error that happens during the execution of a gift card transaction mutation.")] - public class GiftCardTransactionUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during the execution of a gift card transaction mutation.")] + public class GiftCardTransactionUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(GiftCardTransactionUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(GiftCardTransactionUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `GiftCardTransactionUserError`. /// - [Description("Possible error codes that can be returned by `GiftCardTransactionUserError`.")] - public enum GiftCardTransactionUserErrorCode - { + [Description("Possible error codes that can be returned by `GiftCardTransactionUserError`.")] + public enum GiftCardTransactionUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///The gift card's value exceeds the allowed limits. /// - [Description("The gift card's value exceeds the allowed limits.")] - GIFT_CARD_LIMIT_EXCEEDED, + [Description("The gift card's value exceeds the allowed limits.")] + GIFT_CARD_LIMIT_EXCEEDED, /// ///The gift card could not be found. /// - [Description("The gift card could not be found.")] - GIFT_CARD_NOT_FOUND, + [Description("The gift card could not be found.")] + GIFT_CARD_NOT_FOUND, /// ///A positive amount must be used. /// - [Description("A positive amount must be used.")] - NEGATIVE_OR_ZERO_AMOUNT, + [Description("A positive amount must be used.")] + NEGATIVE_OR_ZERO_AMOUNT, /// ///The gift card does not have sufficient funds to satisfy the request. /// - [Description("The gift card does not have sufficient funds to satisfy the request.")] - INSUFFICIENT_FUNDS, + [Description("The gift card does not have sufficient funds to satisfy the request.")] + INSUFFICIENT_FUNDS, /// ///The currency provided does not match the currency of the gift card. /// - [Description("The currency provided does not match the currency of the gift card.")] - MISMATCHING_CURRENCY, - } - - public static class GiftCardTransactionUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string GIFT_CARD_LIMIT_EXCEEDED = @"GIFT_CARD_LIMIT_EXCEEDED"; - public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; - public const string NEGATIVE_OR_ZERO_AMOUNT = @"NEGATIVE_OR_ZERO_AMOUNT"; - public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; - public const string MISMATCHING_CURRENCY = @"MISMATCHING_CURRENCY"; - } - + [Description("The currency provided does not match the currency of the gift card.")] + MISMATCHING_CURRENCY, + } + + public static class GiftCardTransactionUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string GIFT_CARD_LIMIT_EXCEEDED = @"GIFT_CARD_LIMIT_EXCEEDED"; + public const string GIFT_CARD_NOT_FOUND = @"GIFT_CARD_NOT_FOUND"; + public const string NEGATIVE_OR_ZERO_AMOUNT = @"NEGATIVE_OR_ZERO_AMOUNT"; + public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; + public const string MISMATCHING_CURRENCY = @"MISMATCHING_CURRENCY"; + } + /// ///The input fields to update a gift card. /// - [Description("The input fields to update a gift card.")] - public class GiftCardUpdateInput : GraphQLObject - { + [Description("The input fields to update a gift card.")] + public class GiftCardUpdateInput : GraphQLObject + { /// ///The note associated with the gift card, which isn't visible to the customer. /// - [Description("The note associated with the gift card, which isn't visible to the customer.")] - public string? note { get; set; } - + [Description("The note associated with the gift card, which isn't visible to the customer.")] + public string? note { get; set; } + /// ///The date at which the gift card will expire. If set to `null`, then the gift card will never expire. /// - [Description("The date at which the gift card will expire. If set to `null`, then the gift card will never expire.")] - public DateOnly? expiresOn { get; set; } - + [Description("The date at which the gift card will expire. If set to `null`, then the gift card will never expire.")] + public DateOnly? expiresOn { get; set; } + /// ///The ID of the customer who will receive the gift card. The ID can't be changed if the gift card already has an assigned customer ID. /// - [Description("The ID of the customer who will receive the gift card. The ID can't be changed if the gift card already has an assigned customer ID.")] - public string? customerId { get; set; } - + [Description("The ID of the customer who will receive the gift card. The ID can't be changed if the gift card already has an assigned customer ID.")] + public string? customerId { get; set; } + /// ///Whether to enable sending of notifications to the customer or recipient of the gift card. /// - [Description("Whether to enable sending of notifications to the customer or recipient of the gift card.")] - public bool? notify { get; set; } - + [Description("Whether to enable sending of notifications to the customer or recipient of the gift card.")] + public bool? notify { get; set; } + /// ///The recipient attributes of the gift card. /// - [Description("The recipient attributes of the gift card.")] - public GiftCardRecipientInput? recipientAttributes { get; set; } - + [Description("The recipient attributes of the gift card.")] + public GiftCardRecipientInput? recipientAttributes { get; set; } + /// ///The suffix of the Liquid template that's used to render the gift card online. ///For example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`. /// - [Description("The suffix of the Liquid template that's used to render the gift card online.\nFor example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`.")] - public string? templateSuffix { get; set; } - } - + [Description("The suffix of the Liquid template that's used to render the gift card online.\nFor example, if the value is `birthday`, then the gift card is rendered using the template `gift_card.birthday.liquid`.")] + public string? templateSuffix { get; set; } + } + /// ///Return type for `giftCardUpdate` mutation. /// - [Description("Return type for `giftCardUpdate` mutation.")] - public class GiftCardUpdatePayload : GraphQLObject - { + [Description("Return type for `giftCardUpdate` mutation.")] + public class GiftCardUpdatePayload : GraphQLObject + { /// ///The updated gift card. /// - [Description("The updated gift card.")] - public GiftCard? giftCard { get; set; } - + [Description("The updated gift card.")] + public GiftCard? giftCard { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents an error that happens during the execution of a gift card mutation. /// - [Description("Represents an error that happens during the execution of a gift card mutation.")] - public class GiftCardUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during the execution of a gift card mutation.")] + public class GiftCardUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(GiftCardErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(GiftCardErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Represents a summary of the current version of data in a resource. /// ///The `compare_digest` field can be used as input for mutations that implement a compare-and-swap mechanism. /// - [Description("Represents a summary of the current version of data in a resource.\n\nThe `compare_digest` field can be used as input for mutations that implement a compare-and-swap mechanism.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Metafield), typeDiscriminator: "Metafield")] - public interface IHasCompareDigest : IGraphQLObject - { - public Metafield? AsMetafield() => this as Metafield; + [Description("Represents a summary of the current version of data in a resource.\n\nThe `compare_digest` field can be used as input for mutations that implement a compare-and-swap mechanism.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Metafield), typeDiscriminator: "Metafield")] + public interface IHasCompareDigest : IGraphQLObject + { + public Metafield? AsMetafield() => this as Metafield; /// ///The data stored in the resource, represented as a digest. /// - [Description("The data stored in the resource, represented as a digest.")] - [NonNull] - public string? compareDigest { get; } - } - + [Description("The data stored in the resource, represented as a digest.")] + [NonNull] + public string? compareDigest { get; } + } + /// ///Represents an object that has a list of events. /// - [Description("Represents an object that has a list of events.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(Comment), typeDiscriminator: "Comment")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] - [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] - [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] - [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - public interface IHasEvents : IGraphQLObject - { - public Article? AsArticle() => this as Article; - public Blog? AsBlog() => this as Blog; - public Collection? AsCollection() => this as Collection; - public Comment? AsComment() => this as Comment; - public Company? AsCompany() => this as Company; - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public Customer? AsCustomer() => this as Customer; - public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; - public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; - public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; - public DiscountNode? AsDiscountNode() => this as DiscountNode; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; - public Order? AsOrder() => this as Order; - public Page? AsPage() => this as Page; - public PriceRule? AsPriceRule() => this as PriceRule; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; + [Description("Represents an object that has a list of events.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(Comment), typeDiscriminator: "Comment")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] + [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] + [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] + [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + public interface IHasEvents : IGraphQLObject + { + public Article? AsArticle() => this as Article; + public Blog? AsBlog() => this as Blog; + public Collection? AsCollection() => this as Collection; + public Comment? AsComment() => this as Comment; + public Company? AsCompany() => this as Company; + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public Customer? AsCustomer() => this as Customer; + public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; + public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; + public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; + public DiscountNode? AsDiscountNode() => this as DiscountNode; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; + public Order? AsOrder() => this as Order; + public Page? AsPage() => this as Page; + public PriceRule? AsPriceRule() => this as PriceRule; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; } - } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; } + } + /// ///Localization extensions associated with the specified resource. For example, the tax id for government invoice. /// - [Description("Localization extensions associated with the specified resource. For example, the tax id for government invoice.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - public interface IHasLocalizationExtensions : IGraphQLObject - { - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public Order? AsOrder() => this as Order; + [Description("Localization extensions associated with the specified resource. For example, the tax id for government invoice.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + public interface IHasLocalizationExtensions : IGraphQLObject + { + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public Order? AsOrder() => this as Order; /// ///List of localization extensions for the resource. /// - [Description("List of localization extensions for the resource.")] - [Obsolete("This connection will be removed in a future version. Use `localizedFields` instead.")] - [NonNull] - public LocalizationExtensionConnection? localizationExtensions { get; } - } - + [Description("List of localization extensions for the resource.")] + [Obsolete("This connection will be removed in a future version. Use `localizedFields` instead.")] + [NonNull] + public LocalizationExtensionConnection? localizationExtensions { get; } + } + /// ///Localized fields associated with the specified resource. /// - [Description("Localized fields associated with the specified resource.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - public interface IHasLocalizedFields : IGraphQLObject - { - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public Order? AsOrder() => this as Order; + [Description("Localized fields associated with the specified resource.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + public interface IHasLocalizedFields : IGraphQLObject + { + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public Order? AsOrder() => this as Order; /// ///List of localized fields for the resource. /// - [Description("List of localized fields for the resource.")] - [NonNull] - public LocalizedFieldConnection? localizedFields { get; } - } - + [Description("List of localized fields for the resource.")] + [NonNull] + public LocalizedFieldConnection? localizedFields { get; } + } + /// ///Resources that metafield definitions can be applied to. /// - [Description("Resources that metafield definitions can be applied to.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] - [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] - [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] - [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] - [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] - [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] - [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] - [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] - [JsonDerivedType(typeof(Validation), typeDiscriminator: "Validation")] - public interface IHasMetafieldDefinitions : IGraphQLObject - { - public Article? AsArticle() => this as Article; - public Blog? AsBlog() => this as Blog; - public Collection? AsCollection() => this as Collection; - public Company? AsCompany() => this as Company; - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public Customer? AsCustomer() => this as Customer; - public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; - public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; - public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; - public DiscountNode? AsDiscountNode() => this as DiscountNode; - public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; - public Location? AsLocation() => this as Location; - public Market? AsMarket() => this as Market; - public Order? AsOrder() => this as Order; - public Page? AsPage() => this as Page; - public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; - public SellingPlan? AsSellingPlan() => this as SellingPlan; - public Shop? AsShop() => this as Shop; - public Validation? AsValidation() => this as Validation; + [Description("Resources that metafield definitions can be applied to.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] + [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] + [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] + [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] + [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] + [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] + [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] + [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] + [JsonDerivedType(typeof(Validation), typeDiscriminator: "Validation")] + public interface IHasMetafieldDefinitions : IGraphQLObject + { + public Article? AsArticle() => this as Article; + public Blog? AsBlog() => this as Blog; + public Collection? AsCollection() => this as Collection; + public Company? AsCompany() => this as Company; + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public Customer? AsCustomer() => this as Customer; + public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; + public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; + public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; + public DiscountNode? AsDiscountNode() => this as DiscountNode; + public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; + public Location? AsLocation() => this as Location; + public Market? AsMarket() => this as Market; + public Order? AsOrder() => this as Order; + public Page? AsPage() => this as Page; + public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; + public SellingPlan? AsSellingPlan() => this as SellingPlan; + public Shop? AsShop() => this as Shop; + public Validation? AsValidation() => this as Validation; /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; } - } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; } + } + /// ///Represents information about the metafields associated to the specified resource. /// - [Description("Represents information about the metafields associated to the specified resource.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AppInstallation), typeDiscriminator: "AppInstallation")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] - [JsonDerivedType(typeof(CartTransform), typeDiscriminator: "CartTransform")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(CustomerSegmentMember), typeDiscriminator: "CustomerSegmentMember")] - [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] - [JsonDerivedType(typeof(DeliveryMethod), typeDiscriminator: "DeliveryMethod")] - [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] - [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] - [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(FulfillmentConstraintRule), typeDiscriminator: "FulfillmentConstraintRule")] - [JsonDerivedType(typeof(GiftCardCreditTransaction), typeDiscriminator: "GiftCardCreditTransaction")] - [JsonDerivedType(typeof(GiftCardDebitTransaction), typeDiscriminator: "GiftCardDebitTransaction")] - [JsonDerivedType(typeof(Image), typeDiscriminator: "Image")] - [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] - [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] - [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] - [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] - [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] - [JsonDerivedType(typeof(Validation), typeDiscriminator: "Validation")] - public interface IHasMetafields : IGraphQLObject - { - public AppInstallation? AsAppInstallation() => this as AppInstallation; - public Article? AsArticle() => this as Article; - public Blog? AsBlog() => this as Blog; - public CartTransform? AsCartTransform() => this as CartTransform; - public Collection? AsCollection() => this as Collection; - public Company? AsCompany() => this as Company; - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public Customer? AsCustomer() => this as Customer; - public CustomerSegmentMember? AsCustomerSegmentMember() => this as CustomerSegmentMember; - public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; - public DeliveryMethod? AsDeliveryMethod() => this as DeliveryMethod; - public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; - public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; - public DiscountNode? AsDiscountNode() => this as DiscountNode; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public FulfillmentConstraintRule? AsFulfillmentConstraintRule() => this as FulfillmentConstraintRule; - public GiftCardCreditTransaction? AsGiftCardCreditTransaction() => this as GiftCardCreditTransaction; - public GiftCardDebitTransaction? AsGiftCardDebitTransaction() => this as GiftCardDebitTransaction; - public Image? AsImage() => this as Image; - public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; - public Location? AsLocation() => this as Location; - public Market? AsMarket() => this as Market; - public MediaImage? AsMediaImage() => this as MediaImage; - public Order? AsOrder() => this as Order; - public Page? AsPage() => this as Page; - public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; - public SellingPlan? AsSellingPlan() => this as SellingPlan; - public Shop? AsShop() => this as Shop; - public Validation? AsValidation() => this as Validation; + [Description("Represents information about the metafields associated to the specified resource.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AppInstallation), typeDiscriminator: "AppInstallation")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] + [JsonDerivedType(typeof(CartTransform), typeDiscriminator: "CartTransform")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(CustomerSegmentMember), typeDiscriminator: "CustomerSegmentMember")] + [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] + [JsonDerivedType(typeof(DeliveryMethod), typeDiscriminator: "DeliveryMethod")] + [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] + [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] + [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(FulfillmentConstraintRule), typeDiscriminator: "FulfillmentConstraintRule")] + [JsonDerivedType(typeof(GiftCardCreditTransaction), typeDiscriminator: "GiftCardCreditTransaction")] + [JsonDerivedType(typeof(GiftCardDebitTransaction), typeDiscriminator: "GiftCardDebitTransaction")] + [JsonDerivedType(typeof(Image), typeDiscriminator: "Image")] + [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] + [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] + [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] + [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] + [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] + [JsonDerivedType(typeof(Validation), typeDiscriminator: "Validation")] + public interface IHasMetafields : IGraphQLObject + { + public AppInstallation? AsAppInstallation() => this as AppInstallation; + public Article? AsArticle() => this as Article; + public Blog? AsBlog() => this as Blog; + public CartTransform? AsCartTransform() => this as CartTransform; + public Collection? AsCollection() => this as Collection; + public Company? AsCompany() => this as Company; + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public Customer? AsCustomer() => this as Customer; + public CustomerSegmentMember? AsCustomerSegmentMember() => this as CustomerSegmentMember; + public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; + public DeliveryMethod? AsDeliveryMethod() => this as DeliveryMethod; + public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; + public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; + public DiscountNode? AsDiscountNode() => this as DiscountNode; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public FulfillmentConstraintRule? AsFulfillmentConstraintRule() => this as FulfillmentConstraintRule; + public GiftCardCreditTransaction? AsGiftCardCreditTransaction() => this as GiftCardCreditTransaction; + public GiftCardDebitTransaction? AsGiftCardDebitTransaction() => this as GiftCardDebitTransaction; + public Image? AsImage() => this as Image; + public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; + public Location? AsLocation() => this as Location; + public Market? AsMarket() => this as Market; + public MediaImage? AsMediaImage() => this as MediaImage; + public Order? AsOrder() => this as Order; + public Page? AsPage() => this as Page; + public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; + public SellingPlan? AsSellingPlan() => this as SellingPlan; + public Shop? AsShop() => this as Shop; + public Validation? AsValidation() => this as Validation; /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; } - } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; } + } + /// ///The input fields to identify a metafield on an owner resource by namespace and key. /// - [Description("The input fields to identify a metafield on an owner resource by namespace and key.")] - public class HasMetafieldsIdentifier : GraphQLObject - { + [Description("The input fields to identify a metafield on an owner resource by namespace and key.")] + public class HasMetafieldsIdentifier : GraphQLObject + { /// ///The container the metafield belongs to. If omitted, the app-reserved namespace will be used. /// - [Description("The container the metafield belongs to. If omitted, the app-reserved namespace will be used.")] - public string? @namespace { get; set; } - + [Description("The container the metafield belongs to. If omitted, the app-reserved namespace will be used.")] + public string? @namespace { get; set; } + /// ///The key for the metafield. /// - [Description("The key for the metafield.")] - [NonNull] - public string? key { get; set; } - } - + [Description("The key for the metafield.")] + [NonNull] + public string? key { get; set; } + } + /// ///The input fields that identify metafield definitions. /// - [Description("The input fields that identify metafield definitions.")] - public class HasMetafieldsMetafieldIdentifierInput : GraphQLObject - { + [Description("The input fields that identify metafield definitions.")] + public class HasMetafieldsMetafieldIdentifierInput : GraphQLObject + { /// ///The container for a group of metafields that the metafield definition will be associated with. If omitted, the ///app-reserved namespace will be used. /// - [Description("The container for a group of metafields that the metafield definition will be associated with. If omitted, the\napp-reserved namespace will be used.")] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield definition will be associated with. If omitted, the\napp-reserved namespace will be used.")] + public string? @namespace { get; set; } + /// ///The unique identifier for the metafield definition within its namespace. /// - [Description("The unique identifier for the metafield definition within its namespace.")] - [NonNull] - public string? key { get; set; } - } - + [Description("The unique identifier for the metafield definition within its namespace.")] + [NonNull] + public string? key { get; set; } + } + /// ///Published translations associated with the resource. /// - [Description("Published translations associated with the resource.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(CookieBanner), typeDiscriminator: "CookieBanner")] - [JsonDerivedType(typeof(Image), typeDiscriminator: "Image")] - [JsonDerivedType(typeof(Link), typeDiscriminator: "Link")] - [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] - [JsonDerivedType(typeof(Menu), typeDiscriminator: "Menu")] - [JsonDerivedType(typeof(OnlineStoreTheme), typeDiscriminator: "OnlineStoreTheme")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductOption), typeDiscriminator: "ProductOption")] - [JsonDerivedType(typeof(ProductOptionValue), typeDiscriminator: "ProductOptionValue")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] - [JsonDerivedType(typeof(SellingPlanGroup), typeDiscriminator: "SellingPlanGroup")] - [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] - [JsonDerivedType(typeof(ShopPolicy), typeDiscriminator: "ShopPolicy")] - public interface IHasPublishedTranslations : IGraphQLObject - { - public Article? AsArticle() => this as Article; - public Blog? AsBlog() => this as Blog; - public Collection? AsCollection() => this as Collection; - public CookieBanner? AsCookieBanner() => this as CookieBanner; - public Image? AsImage() => this as Image; - public Link? AsLink() => this as Link; - public MediaImage? AsMediaImage() => this as MediaImage; - public Menu? AsMenu() => this as Menu; - public OnlineStoreTheme? AsOnlineStoreTheme() => this as OnlineStoreTheme; - public Page? AsPage() => this as Page; - public Product? AsProduct() => this as Product; - public ProductOption? AsProductOption() => this as ProductOption; - public ProductOptionValue? AsProductOptionValue() => this as ProductOptionValue; - public ProductVariant? AsProductVariant() => this as ProductVariant; - public SellingPlan? AsSellingPlan() => this as SellingPlan; - public SellingPlanGroup? AsSellingPlanGroup() => this as SellingPlanGroup; - public Shop? AsShop() => this as Shop; - public ShopPolicy? AsShopPolicy() => this as ShopPolicy; + [Description("Published translations associated with the resource.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(CookieBanner), typeDiscriminator: "CookieBanner")] + [JsonDerivedType(typeof(Image), typeDiscriminator: "Image")] + [JsonDerivedType(typeof(Link), typeDiscriminator: "Link")] + [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] + [JsonDerivedType(typeof(Menu), typeDiscriminator: "Menu")] + [JsonDerivedType(typeof(OnlineStoreTheme), typeDiscriminator: "OnlineStoreTheme")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductOption), typeDiscriminator: "ProductOption")] + [JsonDerivedType(typeof(ProductOptionValue), typeDiscriminator: "ProductOptionValue")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] + [JsonDerivedType(typeof(SellingPlanGroup), typeDiscriminator: "SellingPlanGroup")] + [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] + [JsonDerivedType(typeof(ShopPolicy), typeDiscriminator: "ShopPolicy")] + public interface IHasPublishedTranslations : IGraphQLObject + { + public Article? AsArticle() => this as Article; + public Blog? AsBlog() => this as Blog; + public Collection? AsCollection() => this as Collection; + public CookieBanner? AsCookieBanner() => this as CookieBanner; + public Image? AsImage() => this as Image; + public Link? AsLink() => this as Link; + public MediaImage? AsMediaImage() => this as MediaImage; + public Menu? AsMenu() => this as Menu; + public OnlineStoreTheme? AsOnlineStoreTheme() => this as OnlineStoreTheme; + public Page? AsPage() => this as Page; + public Product? AsProduct() => this as Product; + public ProductOption? AsProductOption() => this as ProductOption; + public ProductOptionValue? AsProductOptionValue() => this as ProductOptionValue; + public ProductVariant? AsProductVariant() => this as ProductVariant; + public SellingPlan? AsSellingPlan() => this as SellingPlan; + public SellingPlanGroup? AsSellingPlanGroup() => this as SellingPlanGroup; + public Shop? AsShop() => this as Shop; + public ShopPolicy? AsShopPolicy() => this as ShopPolicy; /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; } - } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; } + } + /// ///Represents information about the store credit accounts associated to the specified owner. /// - [Description("Represents information about the store credit accounts associated to the specified owner.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - public interface IHasStoreCreditAccounts : IGraphQLObject - { - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public Customer? AsCustomer() => this as Customer; + [Description("Represents information about the store credit accounts associated to the specified owner.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + public interface IHasStoreCreditAccounts : IGraphQLObject + { + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public Customer? AsCustomer() => this as Customer; /// ///Returns a list of store credit accounts that belong to the owner resource. ///A store credit account owner can hold multiple accounts each with a different currency. /// - [Description("Returns a list of store credit accounts that belong to the owner resource.\nA store credit account owner can hold multiple accounts each with a different currency.")] - [NonNull] - public StoreCreditAccountConnection? storeCreditAccounts { get; } - } - + [Description("Returns a list of store credit accounts that belong to the owner resource.\nA store credit account owner can hold multiple accounts each with a different currency.")] + [NonNull] + public StoreCreditAccountConnection? storeCreditAccounts { get; } + } + /// ///Return type for `httpServerPixelUpdate` mutation. /// - [Description("Return type for `httpServerPixelUpdate` mutation.")] - public class HttpServerPixelUpdatePayload : GraphQLObject - { + [Description("Return type for `httpServerPixelUpdate` mutation.")] + public class HttpServerPixelUpdatePayload : GraphQLObject + { /// ///The server pixel as configured by the mutation. /// - [Description("The server pixel as configured by the mutation.")] - public ServerPixel? serverPixel { get; set; } - + [Description("The server pixel as configured by the mutation.")] + public ServerPixel? serverPixel { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a Hydrogen storefront. /// - [Description("Represents a Hydrogen storefront.")] - public class HydrogenStorefront : GraphQLObject - { + [Description("Represents a Hydrogen storefront.")] + public class HydrogenStorefront : GraphQLObject + { /// ///The date and time when the Hydrogen storefront was created. /// - [Description("The date and time when the Hydrogen storefront was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the Hydrogen storefront was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The current deployment for the Hydrogen storefront. /// - [Description("The current deployment for the Hydrogen storefront.")] - public HydrogenStorefrontDeployment? currentProductionDeployment { get; set; } - + [Description("The current deployment for the Hydrogen storefront.")] + public HydrogenStorefrontDeployment? currentProductionDeployment { get; set; } + /// ///The variables associated with the preview Hydrogen storefront environment. /// - [Description("The variables associated with the preview Hydrogen storefront environment.")] - [NonNull] - public IEnumerable? environmentVariables { get; set; } - + [Description("The variables associated with the preview Hydrogen storefront environment.")] + [NonNull] + public IEnumerable? environmentVariables { get; set; } + /// ///All environments for the storefront. /// - [Description("All environments for the storefront.")] - [NonNull] - public IEnumerable? environments { get; set; } - + [Description("All environments for the storefront.")] + [NonNull] + public IEnumerable? environments { get; set; } + /// ///The handle of the Hydrogen storefront. /// - [Description("The handle of the Hydrogen storefront.")] - public string? handle { get; set; } - + [Description("The handle of the Hydrogen storefront.")] + public string? handle { get; set; } + /// ///The ID of the Hydrogen storefront. /// - [Description("The ID of the Hydrogen storefront.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the Hydrogen storefront.")] + [NonNull] + public string? id { get; set; } + /// ///The token that allows the custom storefront to be deployed to Oxygen. /// - [Description("The token that allows the custom storefront to be deployed to Oxygen.")] - public string? oxygenDeploymentToken { get; set; } - + [Description("The token that allows the custom storefront to be deployed to Oxygen.")] + public string? oxygenDeploymentToken { get; set; } + /// ///The production URL for a Hydrogen storefront. /// - [Description("The production URL for a Hydrogen storefront.")] - public string? productionUrl { get; set; } - + [Description("The production URL for a Hydrogen storefront.")] + public string? productionUrl { get; set; } + /// ///The name of the Hydrogen storefront. /// - [Description("The name of the Hydrogen storefront.")] - [NonNull] - public string? title { get; set; } - + [Description("The name of the Hydrogen storefront.")] + [NonNull] + public string? title { get; set; } + /// ///The date and time when the Hydrogen storefront was last updated. /// - [Description("The date and time when the Hydrogen storefront was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the Hydrogen storefront was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `hydrogenStorefrontCreate` mutation. /// - [Description("Return type for `hydrogenStorefrontCreate` mutation.")] - public class HydrogenStorefrontCreatePayload : GraphQLObject - { + [Description("Return type for `hydrogenStorefrontCreate` mutation.")] + public class HydrogenStorefrontCreatePayload : GraphQLObject + { /// ///The Hydrogen storefront that was just created. /// - [Description("The Hydrogen storefront that was just created.")] - public HydrogenStorefront? hydrogenStorefront { get; set; } - + [Description("The Hydrogen storefront that was just created.")] + public HydrogenStorefront? hydrogenStorefront { get; set; } + /// ///ID for job that connects the Hydrogen storefront to Oxygen. /// - [Description("ID for job that connects the Hydrogen storefront to Oxygen.")] - public string? jobId { get; set; } - + [Description("ID for job that connects the Hydrogen storefront to Oxygen.")] + public string? jobId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `HydrogenStorefrontCreate`. /// - [Description("An error that occurs during the execution of `HydrogenStorefrontCreate`.")] - public class HydrogenStorefrontCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `HydrogenStorefrontCreate`.")] + public class HydrogenStorefrontCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(HydrogenStorefrontCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(HydrogenStorefrontCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `HydrogenStorefrontCreateUserError`. /// - [Description("Possible error codes that can be returned by `HydrogenStorefrontCreateUserError`.")] - public enum HydrogenStorefrontCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `HydrogenStorefrontCreateUserError`.")] + public enum HydrogenStorefrontCreateUserErrorCode + { /// ///The job couldn't be processed. Please try again later. /// - [Description("The job couldn't be processed. Please try again later.")] - JOB_NOT_ENQUEUED, + [Description("The job couldn't be processed. Please try again later.")] + JOB_NOT_ENQUEUED, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The Hydrogen storefront failed to be created. /// - [Description("The Hydrogen storefront failed to be created.")] - FAILED_TO_CREATE, + [Description("The Hydrogen storefront failed to be created.")] + FAILED_TO_CREATE, /// ///The title for the storefront is too long. /// - [Description("The title for the storefront is too long.")] - TITLE_TOO_LONG, + [Description("The title for the storefront is too long.")] + TITLE_TOO_LONG, /// ///Your plan doesn't include Hydrogen storefronts. /// - [Description("Your plan doesn't include Hydrogen storefronts.")] - HYDROGEN_NOT_SUPPORTED_ON_PLAN, + [Description("Your plan doesn't include Hydrogen storefronts.")] + HYDROGEN_NOT_SUPPORTED_ON_PLAN, /// ///The Hydrogen storefront app isn't installed. /// - [Description("The Hydrogen storefront app isn't installed.")] - CUSTOM_STOREFRONTS_NOT_INSTALLED, + [Description("The Hydrogen storefront app isn't installed.")] + CUSTOM_STOREFRONTS_NOT_INSTALLED, /// ///The title for the storefront is already taken. /// - [Description("The title for the storefront is already taken.")] - TITLE_ALREADY_EXISTS, - } - - public static class HydrogenStorefrontCreateUserErrorCodeStringValues - { - public const string JOB_NOT_ENQUEUED = @"JOB_NOT_ENQUEUED"; - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string FAILED_TO_CREATE = @"FAILED_TO_CREATE"; - public const string TITLE_TOO_LONG = @"TITLE_TOO_LONG"; - public const string HYDROGEN_NOT_SUPPORTED_ON_PLAN = @"HYDROGEN_NOT_SUPPORTED_ON_PLAN"; - public const string CUSTOM_STOREFRONTS_NOT_INSTALLED = @"CUSTOM_STOREFRONTS_NOT_INSTALLED"; - public const string TITLE_ALREADY_EXISTS = @"TITLE_ALREADY_EXISTS"; - } - + [Description("The title for the storefront is already taken.")] + TITLE_ALREADY_EXISTS, + } + + public static class HydrogenStorefrontCreateUserErrorCodeStringValues + { + public const string JOB_NOT_ENQUEUED = @"JOB_NOT_ENQUEUED"; + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string FAILED_TO_CREATE = @"FAILED_TO_CREATE"; + public const string TITLE_TOO_LONG = @"TITLE_TOO_LONG"; + public const string HYDROGEN_NOT_SUPPORTED_ON_PLAN = @"HYDROGEN_NOT_SUPPORTED_ON_PLAN"; + public const string CUSTOM_STOREFRONTS_NOT_INSTALLED = @"CUSTOM_STOREFRONTS_NOT_INSTALLED"; + public const string TITLE_ALREADY_EXISTS = @"TITLE_ALREADY_EXISTS"; + } + /// ///The input fields use to replace application urls on a Customer OAuth Application. /// - [Description("The input fields use to replace application urls on a Customer OAuth Application.")] - public class HydrogenStorefrontCustomerApplicationUrlsReplaceInput : GraphQLObject - { + [Description("The input fields use to replace application urls on a Customer OAuth Application.")] + public class HydrogenStorefrontCustomerApplicationUrlsReplaceInput : GraphQLObject + { /// ///Add and remove urls from the list of allowed callback urls. /// - [Description("Add and remove urls from the list of allowed callback urls.")] - public HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput? redirectUri { get; set; } - + [Description("Add and remove urls from the list of allowed callback urls.")] + public HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput? redirectUri { get; set; } + /// ///Add and remove urls from the list of allowed JavaScript url origins. /// - [Description("Add and remove urls from the list of allowed JavaScript url origins.")] - public HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput? javascriptOrigin { get; set; } - + [Description("Add and remove urls from the list of allowed JavaScript url origins.")] + public HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput? javascriptOrigin { get; set; } + /// ///Add and remove urls from the list of allowed urls that can be redirected to post-logout. /// - [Description("Add and remove urls from the list of allowed urls that can be redirected to post-logout.")] - public HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput? logoutUris { get; set; } - } - + [Description("Add and remove urls from the list of allowed urls that can be redirected to post-logout.")] + public HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput? logoutUris { get; set; } + } + /// ///Return type for `hydrogenStorefrontCustomerApplicationUrlsReplace` mutation. /// - [Description("Return type for `hydrogenStorefrontCustomerApplicationUrlsReplace` mutation.")] - public class HydrogenStorefrontCustomerApplicationUrlsReplacePayload : GraphQLObject - { + [Description("Return type for `hydrogenStorefrontCustomerApplicationUrlsReplace` mutation.")] + public class HydrogenStorefrontCustomerApplicationUrlsReplacePayload : GraphQLObject + { /// ///List of allowed javaScript url origins. /// - [Description("List of allowed javaScript url origins.")] - public IEnumerable? javascriptOrigin { get; set; } - + [Description("List of allowed javaScript url origins.")] + public IEnumerable? javascriptOrigin { get; set; } + /// ///List of allowed urls that can be redirected to post-logout. /// - [Description("List of allowed urls that can be redirected to post-logout.")] - public IEnumerable? logoutUris { get; set; } - + [Description("List of allowed urls that can be redirected to post-logout.")] + public IEnumerable? logoutUris { get; set; } + /// ///List of allowed callback urls. /// - [Description("List of allowed callback urls.")] - public IEnumerable? redirectUri { get; set; } - + [Description("List of allowed callback urls.")] + public IEnumerable? redirectUri { get; set; } + /// ///Whether the customer application was updated successfully. /// - [Description("Whether the customer application was updated successfully.")] - public bool? success { get; set; } - + [Description("Whether the customer application was updated successfully.")] + public bool? success { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields used to replace Customer Account application urls. /// - [Description("The input fields used to replace Customer Account application urls.")] - public class HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput : GraphQLObject - { + [Description("The input fields used to replace Customer Account application urls.")] + public class HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput : GraphQLObject + { /// ///Url to add. /// - [Description("Url to add.")] - public IEnumerable? add { get; set; } - + [Description("Url to add.")] + public IEnumerable? add { get; set; } + /// ///Regular expression pattern for Urls to remove. /// - [Description("Regular expression pattern for Urls to remove.")] - public string? removeRegex { get; set; } - } - + [Description("Regular expression pattern for Urls to remove.")] + public string? removeRegex { get; set; } + } + /// ///Catches validation errors when setting up customer authentication for your Hydrogen storefront, so you can quickly fix configuration issues and get customers logging in smoothly. /// @@ -51597,60 +51597,60 @@ public class HydrogenStorefrontCustomerApplicationUrlsReplaceUriInput : GraphQLO /// ///Learn more about [Customer Account API configuration](https://shopify.dev/docs/storefronts/headless/building-with-the-customer-account-api/getting-started). /// - [Description("Catches validation errors when setting up customer authentication for your Hydrogen storefront, so you can quickly fix configuration issues and get customers logging in smoothly.\n\nFor example, when setting invalid redirect URLs or JavaScript origins that don't meet security requirements, this error type captures the specific validation failure with clear guidance for resolution.\n\nUse `HydrogenStorefrontCustomerUserError` to:\n- Handle customer account configuration errors\n- Display specific validation messages for authentication setup\n- Identify problematic URL or origin configurations\n- Guide developers through Customer Account API requirements\n\nEach error includes the field that failed validation and a descriptive message explaining the specific requirement, making it easier to troubleshoot customer authentication setup.\n\nLearn more about [Customer Account API configuration](https://shopify.dev/docs/storefronts/headless/building-with-the-customer-account-api/getting-started).")] - public class HydrogenStorefrontCustomerUserError : GraphQLObject, IDisplayableError - { + [Description("Catches validation errors when setting up customer authentication for your Hydrogen storefront, so you can quickly fix configuration issues and get customers logging in smoothly.\n\nFor example, when setting invalid redirect URLs or JavaScript origins that don't meet security requirements, this error type captures the specific validation failure with clear guidance for resolution.\n\nUse `HydrogenStorefrontCustomerUserError` to:\n- Handle customer account configuration errors\n- Display specific validation messages for authentication setup\n- Identify problematic URL or origin configurations\n- Guide developers through Customer Account API requirements\n\nEach error includes the field that failed validation and a descriptive message explaining the specific requirement, making it easier to troubleshoot customer authentication setup.\n\nLearn more about [Customer Account API configuration](https://shopify.dev/docs/storefronts/headless/building-with-the-customer-account-api/getting-started).")] + public class HydrogenStorefrontCustomerUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(HydrogenStorefrontCustomerUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(HydrogenStorefrontCustomerUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `HydrogenStorefrontCustomerUserError`. /// - [Description("Possible error codes that can be returned by `HydrogenStorefrontCustomerUserError`.")] - public enum HydrogenStorefrontCustomerUserErrorCode - { + [Description("Possible error codes that can be returned by `HydrogenStorefrontCustomerUserError`.")] + public enum HydrogenStorefrontCustomerUserErrorCode + { /// ///Customer Account API application not found. /// - [Description("Customer Account API application not found.")] - CUSTOMER_ACCOUNT_API_APPLICATION_NOT_FOUND, + [Description("Customer Account API application not found.")] + CUSTOMER_ACCOUNT_API_APPLICATION_NOT_FOUND, /// ///The Regex is invalid. /// - [Description("The Regex is invalid.")] - REGEX_INVALID, + [Description("The Regex is invalid.")] + REGEX_INVALID, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class HydrogenStorefrontCustomerUserErrorCodeStringValues - { - public const string CUSTOMER_ACCOUNT_API_APPLICATION_NOT_FOUND = @"CUSTOMER_ACCOUNT_API_APPLICATION_NOT_FOUND"; - public const string REGEX_INVALID = @"REGEX_INVALID"; - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class HydrogenStorefrontCustomerUserErrorCodeStringValues + { + public const string CUSTOMER_ACCOUNT_API_APPLICATION_NOT_FOUND = @"CUSTOMER_ACCOUNT_API_APPLICATION_NOT_FOUND"; + public const string REGEX_INVALID = @"REGEX_INVALID"; + public const string INVALID = @"INVALID"; + } + /// ///Tracks each version of your Hydrogen storefront as it gets deployed, giving you a complete history of what's live and what's been released. Every time you push updates to your storefront, this creates a new deployment record that captures the commit information and timestamps. /// @@ -51665,43 +51665,43 @@ public static class HydrogenStorefrontCustomerUserErrorCodeStringValues /// ///Learn more about [Hydrogen deployment workflows](https://shopify.dev/docs/storefronts/headless/hydrogen/deployments). /// - [Description("Tracks each version of your Hydrogen storefront as it gets deployed, giving you a complete history of what's live and what's been released. Every time you push updates to your storefront, this creates a new deployment record that captures the commit information and timestamps.\n\nFor example, when pushing updates to a Hydrogen storefront, each deployment represents a distinct version with its own commit SHA, commit message, and deployment timestamp, allowing teams to track release history.\n\nUse `HydrogenStorefrontDeployment` to:\n- Track deployment history and version information\n- Access deployment metadata and timestamps\n- View commit information for each deployment\n\nDeployments maintain immutable records of each release, providing audit trails for storefront changes.\n\nLearn more about [Hydrogen deployment workflows](https://shopify.dev/docs/storefronts/headless/hydrogen/deployments).")] - public class HydrogenStorefrontDeployment : GraphQLObject - { + [Description("Tracks each version of your Hydrogen storefront as it gets deployed, giving you a complete history of what's live and what's been released. Every time you push updates to your storefront, this creates a new deployment record that captures the commit information and timestamps.\n\nFor example, when pushing updates to a Hydrogen storefront, each deployment represents a distinct version with its own commit SHA, commit message, and deployment timestamp, allowing teams to track release history.\n\nUse `HydrogenStorefrontDeployment` to:\n- Track deployment history and version information\n- Access deployment metadata and timestamps\n- View commit information for each deployment\n\nDeployments maintain immutable records of each release, providing audit trails for storefront changes.\n\nLearn more about [Hydrogen deployment workflows](https://shopify.dev/docs/storefronts/headless/hydrogen/deployments).")] + public class HydrogenStorefrontDeployment : GraphQLObject + { /// ///The latest commit message for the deployment. /// - [Description("The latest commit message for the deployment.")] - public string? commitMessage { get; set; } - + [Description("The latest commit message for the deployment.")] + public string? commitMessage { get; set; } + /// ///The latest commit SHA for the deployment. /// - [Description("The latest commit SHA for the deployment.")] - public string? commitSha { get; set; } - + [Description("The latest commit SHA for the deployment.")] + public string? commitSha { get; set; } + /// ///The date and time when the deployment was created. /// - [Description("The date and time when the deployment was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the deployment was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The ID of the Hydrogen storefront deployment. /// - [Description("The ID of the Hydrogen storefront deployment.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the Hydrogen storefront deployment.")] + [NonNull] + public string? id { get; set; } + /// ///The date and time when the deployment was created. /// - [Description("The date and time when the deployment was created.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the deployment was created.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Defines an environment context for a Hydrogen storefront, such as development, staging, or production. Each environment maintains its own configuration and variables. /// @@ -51711,64 +51711,64 @@ public class HydrogenStorefrontDeployment : GraphQLObject - [Description("Defines an environment context for a Hydrogen storefront, such as development, staging, or production. Each environment maintains its own configuration and variables.\n\nFor example, a storefront might have separate environments for testing new features in development and serving customers in production, each with distinct configuration values.\n\nEnvironments provide isolated contexts for storefront operations and configuration management.\n\nLearn more about [Hydrogen environments](https://shopify.dev/docs/custom-storefronts/hydrogen).")] - public class HydrogenStorefrontEnvironment : GraphQLObject - { + [Description("Defines an environment context for a Hydrogen storefront, such as development, staging, or production. Each environment maintains its own configuration and variables.\n\nFor example, a storefront might have separate environments for testing new features in development and serving customers in production, each with distinct configuration values.\n\nEnvironments provide isolated contexts for storefront operations and configuration management.\n\nLearn more about [Hydrogen environments](https://shopify.dev/docs/custom-storefronts/hydrogen).")] + public class HydrogenStorefrontEnvironment : GraphQLObject + { /// ///The branch associated with the custom storefront environment. /// - [Description("The branch associated with the custom storefront environment.")] - public string? branch { get; set; } - + [Description("The branch associated with the custom storefront environment.")] + public string? branch { get; set; } + /// ///The date and time when the environment was created. /// - [Description("The date and time when the environment was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the environment was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The handle of the custom storefront environment. /// - [Description("The handle of the custom storefront environment.")] - public string? handle { get; set; } - + [Description("The handle of the custom storefront environment.")] + public string? handle { get; set; } + /// ///The ID of the custom storefront environment. /// - [Description("The ID of the custom storefront environment.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the custom storefront environment.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the custom storefront environment. /// - [Description("The name of the custom storefront environment.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the custom storefront environment.")] + [NonNull] + public string? name { get; set; } + /// ///The type of hydrogen storefront environment. /// - [Description("The type of hydrogen storefront environment.")] - [NonNull] - [EnumType(typeof(CustomStorefrontEnvironmentType))] - public string? type { get; set; } - + [Description("The type of hydrogen storefront environment.")] + [NonNull] + [EnumType(typeof(CustomStorefrontEnvironmentType))] + public string? type { get; set; } + /// ///The date and time when the environment was last updated. /// - [Description("The date and time when the environment was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the environment was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The URL of the custom storefront environment. /// - [Description("The URL of the custom storefront environment.")] - public string? url { get; set; } - } - + [Description("The URL of the custom storefront environment.")] + public string? url { get; set; } + } + /// ///Configuration variables that customize how your Hydrogen storefront behaves across different environments, letting you store key-value pairs for configuration settings. /// @@ -51778,92 +51778,92 @@ public class HydrogenStorefrontEnvironment : GraphQLObject - [Description("Configuration variables that customize how your Hydrogen storefront behaves across different environments, letting you store key-value pairs for configuration settings.\n\nFor example, environment variables might store configuration values that differ between development and production environments.\n\nVariables enable flexible storefront configuration without code changes across different deployment contexts.\n\nLearn more about [Hydrogen configuration](https://shopify.dev/docs/custom-storefronts/hydrogen).")] - public class HydrogenStorefrontEnvironmentVariable : GraphQLObject - { + [Description("Configuration variables that customize how your Hydrogen storefront behaves across different environments, letting you store key-value pairs for configuration settings.\n\nFor example, environment variables might store configuration values that differ between development and production environments.\n\nVariables enable flexible storefront configuration without code changes across different deployment contexts.\n\nLearn more about [Hydrogen configuration](https://shopify.dev/docs/custom-storefronts/hydrogen).")] + public class HydrogenStorefrontEnvironmentVariable : GraphQLObject + { /// ///The ID of the environment variable. /// - [Description("The ID of the environment variable.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the environment variable.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the environment variable is secret. /// - [Description("Whether the environment variable is secret.")] - [NonNull] - public bool? isSecret { get; set; } - + [Description("Whether the environment variable is secret.")] + [NonNull] + public bool? isSecret { get; set; } + /// ///The key of the environment variable. /// - [Description("The key of the environment variable.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the environment variable.")] + [NonNull] + public string? key { get; set; } + /// ///Whether the environment variable is read-only. /// - [Description("Whether the environment variable is read-only.")] - [NonNull] - public bool? readOnly { get; set; } - + [Description("Whether the environment variable is read-only.")] + [NonNull] + public bool? readOnly { get; set; } + /// ///The value of the environment variable. /// - [Description("The value of the environment variable.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the environment variable.")] + [NonNull] + public string? value { get; set; } + } + /// ///Return type for `hydrogenStorefrontEnvironmentVariableBulkReplace` mutation. /// - [Description("Return type for `hydrogenStorefrontEnvironmentVariableBulkReplace` mutation.")] - public class HydrogenStorefrontEnvironmentVariableBulkReplacePayload : GraphQLObject - { + [Description("Return type for `hydrogenStorefrontEnvironmentVariableBulkReplace` mutation.")] + public class HydrogenStorefrontEnvironmentVariableBulkReplacePayload : GraphQLObject + { /// ///The created environment variables. /// - [Description("The created environment variables.")] - public IEnumerable? environmentVariables { get; set; } - + [Description("The created environment variables.")] + public IEnumerable? environmentVariables { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for environment variables. /// - [Description("The input fields for environment variables.")] - public class HydrogenStorefrontEnvironmentVariableInput : GraphQLObject - { + [Description("The input fields for environment variables.")] + public class HydrogenStorefrontEnvironmentVariableInput : GraphQLObject + { /// ///Whether the variable value is hidden from the user. /// - [Description("Whether the variable value is hidden from the user.")] - public bool? isSecret { get; set; } - + [Description("Whether the variable value is hidden from the user.")] + public bool? isSecret { get; set; } + /// ///The key for your environment variable. /// - [Description("The key for your environment variable.")] - [NonNull] - public string? key { get; set; } - + [Description("The key for your environment variable.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the environment variable. /// - [Description("The value of the environment variable.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the environment variable.")] + [NonNull] + public string? value { get; set; } + } + /// ///Tracks long-running background operations for your Hydrogen storefront so you can monitor progress without waiting around. When you kick off time-intensive tasks that would normally timeout, the system creates a job that you can check on periodically. /// @@ -51878,141 +51878,141 @@ public class HydrogenStorefrontEnvironmentVariableInput : GraphQLObject - [Description("Tracks long-running background operations for your Hydrogen storefront so you can monitor progress without waiting around. When you kick off time-intensive tasks that would normally timeout, the system creates a job that you can check on periodically.\n\nFor example, when performing operations that take time to complete, the system creates a job that you can poll to track progress and completion status.\n\nUse the `HydrogenStorefrontJob` object to:\n- Monitor operation progress\n- Track the status of background tasks\n- Handle asynchronous storefront management operations\n\nJobs provide a reliable way to manage operations that may take several minutes to complete, allowing your CLI tools to provide progress feedback without maintaining long-lived connections.\n\nLearn more about [Hydrogen operations](https://shopify.dev/docs/custom-storefronts/hydrogen).")] - public class HydrogenStorefrontJob : GraphQLObject - { + [Description("Tracks long-running background operations for your Hydrogen storefront so you can monitor progress without waiting around. When you kick off time-intensive tasks that would normally timeout, the system creates a job that you can check on periodically.\n\nFor example, when performing operations that take time to complete, the system creates a job that you can poll to track progress and completion status.\n\nUse the `HydrogenStorefrontJob` object to:\n- Monitor operation progress\n- Track the status of background tasks\n- Handle asynchronous storefront management operations\n\nJobs provide a reliable way to manage operations that may take several minutes to complete, allowing your CLI tools to provide progress feedback without maintaining long-lived connections.\n\nLearn more about [Hydrogen operations](https://shopify.dev/docs/custom-storefronts/hydrogen).")] + public class HydrogenStorefrontJob : GraphQLObject + { /// ///Indicates whether the job is done. /// - [Description("Indicates whether the job is done.")] - [NonNull] - public bool? done { get; set; } - + [Description("Indicates whether the job is done.")] + [NonNull] + public bool? done { get; set; } + /// ///The errors for the job. /// - [Description("The errors for the job.")] - [NonNull] - public IEnumerable? errors { get; set; } - + [Description("The errors for the job.")] + [NonNull] + public IEnumerable? errors { get; set; } + /// ///The ID of the job. /// - [Description("The ID of the job.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the job.")] + [NonNull] + public string? id { get; set; } + /// ///The results for the job. /// - [Description("The results for the job.")] - public IEnumerable? results { get; set; } - } - + [Description("The results for the job.")] + public IEnumerable? results { get; set; } + } + /// ///Details of a staff member's associated Shopify Identity. /// - [Description("Details of a staff member's associated Shopify Identity.")] - public class IdentityAccount : GraphQLObject - { + [Description("Details of a staff member's associated Shopify Identity.")] + public class IdentityAccount : GraphQLObject + { /// ///The account settings page URL for the staff member. /// - [Description("The account settings page URL for the staff member.")] - public string? url { get; set; } - } - + [Description("The account settings page URL for the staff member.")] + public string? url { get; set; } + } + /// ///Represents an image resource. /// - [Description("Represents an image resource.")] - public class Image : GraphQLObject, IHasMetafields, IHasPublishedTranslations - { + [Description("Represents an image resource.")] + public class Image : GraphQLObject, IHasMetafields, IHasPublishedTranslations + { /// ///A word or phrase to share the nature or contents of an image. /// - [Description("A word or phrase to share the nature or contents of an image.")] - public string? altText { get; set; } - + [Description("A word or phrase to share the nature or contents of an image.")] + public string? altText { get; set; } + /// ///The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. /// - [Description("The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify.")] - public int? height { get; set; } - + [Description("The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify.")] + public int? height { get; set; } + /// ///A unique ID for the image. /// - [Description("A unique ID for the image.")] - public string? id { get; set; } - + [Description("A unique ID for the image.")] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The location of the original image as a URL. /// ///If there are any existing transformations in the original source URL, they will remain and not be stripped. /// - [Description("The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.")] - [Obsolete("Use `url` instead.")] - [NonNull] - public string? originalSrc { get; set; } - + [Description("The location of the original image as a URL.\n\nIf there are any existing transformations in the original source URL, they will remain and not be stripped.")] + [Obsolete("Use `url` instead.")] + [NonNull] + public string? originalSrc { get; set; } + /// ///The location of the image as a URL. /// - [Description("The location of the image as a URL.")] - [Obsolete("Use `url` instead.")] - [NonNull] - public string? src { get; set; } - + [Description("The location of the image as a URL.")] + [Obsolete("Use `url` instead.")] + [NonNull] + public string? src { get; set; } + /// ///The ThumbHash of the image. /// ///Useful to display placeholder images while the original image is loading. /// - [Description("The ThumbHash of the image.\n\nUseful to display placeholder images while the original image is loading.")] - public string? thumbhash { get; set; } - + [Description("The ThumbHash of the image.\n\nUseful to display placeholder images while the original image is loading.")] + public string? thumbhash { get; set; } + /// ///The location of the transformed image as a URL. /// ///All transformation arguments are considered "best-effort". If they can be applied to an image, they will be. ///Otherwise any transformations which an image type doesn't support will be ignored. /// - [Description("The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type doesn't support will be ignored.")] - [Obsolete("Use `url(transform:)` instead")] - [NonNull] - public string? transformedSrc { get; set; } - + [Description("The location of the transformed image as a URL.\n\nAll transformation arguments are considered \"best-effort\". If they can be applied to an image, they will be.\nOtherwise any transformations which an image type doesn't support will be ignored.")] + [Obsolete("Use `url(transform:)` instead")] + [NonNull] + public string? transformedSrc { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The location of the image as a URL. /// @@ -52022,135 +52022,135 @@ public class Image : GraphQLObject, IHasMetafields, IHasPublishedTranslat /// ///If you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases). /// - [Description("The location of the image as a URL.\n\nIf no transform options are specified, then the original image will be preserved including any pre-applied transforms.\n\nAll transformation options are considered \"best-effort\". Any transformation that the original image type doesn't support will be ignored.\n\nIf you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).")] - [NonNull] - public string? url { get; set; } - + [Description("The location of the image as a URL.\n\nIf no transform options are specified, then the original image will be preserved including any pre-applied transforms.\n\nAll transformation options are considered \"best-effort\". Any transformation that the original image type doesn't support will be ignored.\n\nIf you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).")] + [NonNull] + public string? url { get; set; } + /// ///The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. /// - [Description("The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify.")] - public int? width { get; set; } - } - + [Description("The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify.")] + public int? width { get; set; } + } + /// ///An auto-generated type for paginating through multiple Images. /// - [Description("An auto-generated type for paginating through multiple Images.")] - public class ImageConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Images.")] + public class ImageConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ImageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ImageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ImageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///List of supported image content types. /// - [Description("List of supported image content types.")] - public enum ImageContentType - { + [Description("List of supported image content types.")] + public enum ImageContentType + { /// ///A PNG image. /// - [Description("A PNG image.")] - PNG, + [Description("A PNG image.")] + PNG, /// ///A JPG image. /// - [Description("A JPG image.")] - JPG, + [Description("A JPG image.")] + JPG, /// ///A WEBP image. /// - [Description("A WEBP image.")] - WEBP, + [Description("A WEBP image.")] + WEBP, /// ///A BMP image. /// - [Description("A BMP image.")] - BMP, - } - - public static class ImageContentTypeStringValues - { - public const string PNG = @"PNG"; - public const string JPG = @"JPG"; - public const string WEBP = @"WEBP"; - public const string BMP = @"BMP"; - } - + [Description("A BMP image.")] + BMP, + } + + public static class ImageContentTypeStringValues + { + public const string PNG = @"PNG"; + public const string JPG = @"JPG"; + public const string WEBP = @"WEBP"; + public const string BMP = @"BMP"; + } + /// ///An auto-generated type which holds one Image and a cursor during pagination. /// - [Description("An auto-generated type which holds one Image and a cursor during pagination.")] - public class ImageEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Image and a cursor during pagination.")] + public class ImageEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ImageEdge. /// - [Description("The item at the end of ImageEdge.")] - [NonNull] - public Image? node { get; set; } - } - + [Description("The item at the end of ImageEdge.")] + [NonNull] + public Image? node { get; set; } + } + /// ///The input fields for an image. /// - [Description("The input fields for an image.")] - public class ImageInput : GraphQLObject - { + [Description("The input fields for an image.")] + public class ImageInput : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + public string? id { get; set; } + /// ///A word or phrase to share the nature or contents of an image. /// - [Description("A word or phrase to share the nature or contents of an image.")] - public string? altText { get; set; } - + [Description("A word or phrase to share the nature or contents of an image.")] + public string? altText { get; set; } + /// ///The URL of the image. May be a staged upload URL. /// - [Description("The URL of the image. May be a staged upload URL.")] - public string? src { get; set; } - } - + [Description("The URL of the image. May be a staged upload URL.")] + public string? src { get; set; } + } + /// ///The available options for transforming an image. /// ///All transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored. /// - [Description("The available options for transforming an image.\n\nAll transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored.")] - public class ImageTransformInput : GraphQLObject - { + [Description("The available options for transforming an image.\n\nAll transformation options are considered best effort. Any transformation that the original image type doesn't support will be ignored.")] + public class ImageTransformInput : GraphQLObject + { /// ///The region of the image to remain after cropping. ///Must be used in conjunction with the `maxWidth` and/or `maxHeight` fields, where the `maxWidth` and `maxHeight` aren't equal. @@ -52158,43 +52158,43 @@ public class ImageTransformInput : GraphQLObject ///a smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{ maxWidth: 5, maxHeight: 10, crop: LEFT }` will result ///in an image with a width of 5 and height of 10, where the right side of the image is removed. /// - [Description("The region of the image to remain after cropping.\nMust be used in conjunction with the `maxWidth` and/or `maxHeight` fields, where the `maxWidth` and `maxHeight` aren't equal.\nThe `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while\na smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{ maxWidth: 5, maxHeight: 10, crop: LEFT }` will result\nin an image with a width of 5 and height of 10, where the right side of the image is removed.")] - [EnumType(typeof(CropRegion))] - public string? crop { get; set; } - + [Description("The region of the image to remain after cropping.\nMust be used in conjunction with the `maxWidth` and/or `maxHeight` fields, where the `maxWidth` and `maxHeight` aren't equal.\nThe `crop` argument should coincide with the smaller value. A smaller `maxWidth` indicates a `LEFT` or `RIGHT` crop, while\na smaller `maxHeight` indicates a `TOP` or `BOTTOM` crop. For example, `{ maxWidth: 5, maxHeight: 10, crop: LEFT }` will result\nin an image with a width of 5 and height of 10, where the right side of the image is removed.")] + [EnumType(typeof(CropRegion))] + public string? crop { get; set; } + /// ///Image width in pixels between 1 and 5760. /// - [Description("Image width in pixels between 1 and 5760.")] - public int? maxWidth { get; set; } - + [Description("Image width in pixels between 1 and 5760.")] + public int? maxWidth { get; set; } + /// ///Image height in pixels between 1 and 5760. /// - [Description("Image height in pixels between 1 and 5760.")] - public int? maxHeight { get; set; } - + [Description("Image height in pixels between 1 and 5760.")] + public int? maxHeight { get; set; } + /// ///Defines an arbitrary cropping region. /// - [Description("Defines an arbitrary cropping region.")] - public CropRegionInput? cropRegion { get; set; } - + [Description("Defines an arbitrary cropping region.")] + public CropRegionInput? cropRegion { get; set; } + /// ///Image size multiplier for high-resolution retina displays. Must be within 1..3. /// - [Description("Image size multiplier for high-resolution retina displays. Must be within 1..3.")] - public int? scale { get; set; } - + [Description("Image size multiplier for high-resolution retina displays. Must be within 1..3.")] + public int? scale { get; set; } + /// ///Convert the source image into the preferred content type. ///Supported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`. /// - [Description("Convert the source image into the preferred content type.\nSupported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.")] - [EnumType(typeof(ImageContentType))] - public string? preferredContentType { get; set; } - } - + [Description("Convert the source image into the preferred content type.\nSupported conversions: `.svg` to `.png`, any file type to `.jpg`, and any file type to `.webp`.")] + [EnumType(typeof(ImageContentType))] + public string? preferredContentType { get; set; } + } + /// ///A parameter to upload an image. /// @@ -52205,304 +52205,304 @@ public class ImageTransformInput : GraphQLObject ///and returned by the ///[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate). /// - [Description("A parameter to upload an image.\n\nDeprecated in favor of\n[StagedUploadParameter](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadParameter),\nwhich is used in\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget)\nand returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] - public class ImageUploadParameter : GraphQLObject - { + [Description("A parameter to upload an image.\n\nDeprecated in favor of\n[StagedUploadParameter](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadParameter),\nwhich is used in\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget)\nand returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] + public class ImageUploadParameter : GraphQLObject + { /// ///The parameter name. /// - [Description("The parameter name.")] - [NonNull] - public string? name { get; set; } - + [Description("The parameter name.")] + [NonNull] + public string? name { get; set; } + /// ///The parameter value. /// - [Description("The parameter value.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The parameter value.")] + [NonNull] + public string? value { get; set; } + } + /// ///Answers the question if prices include duties and / or taxes. /// - [Description("Answers the question if prices include duties and / or taxes.")] - public enum InclusiveDutiesPricingStrategy - { + [Description("Answers the question if prices include duties and / or taxes.")] + public enum InclusiveDutiesPricingStrategy + { /// ///Add duties at checkout when configured to collect. /// - [Description("Add duties at checkout when configured to collect.")] - ADD_DUTIES_AT_CHECKOUT, + [Description("Add duties at checkout when configured to collect.")] + ADD_DUTIES_AT_CHECKOUT, /// ///Include duties in price when configured to collect. /// - [Description("Include duties in price when configured to collect.")] - INCLUDE_DUTIES_IN_PRICE, - } - - public static class InclusiveDutiesPricingStrategyStringValues - { - public const string ADD_DUTIES_AT_CHECKOUT = @"ADD_DUTIES_AT_CHECKOUT"; - public const string INCLUDE_DUTIES_IN_PRICE = @"INCLUDE_DUTIES_IN_PRICE"; - } - + [Description("Include duties in price when configured to collect.")] + INCLUDE_DUTIES_IN_PRICE, + } + + public static class InclusiveDutiesPricingStrategyStringValues + { + public const string ADD_DUTIES_AT_CHECKOUT = @"ADD_DUTIES_AT_CHECKOUT"; + public const string INCLUDE_DUTIES_IN_PRICE = @"INCLUDE_DUTIES_IN_PRICE"; + } + /// ///Answers the question if prices include duties and / or taxes. /// - [Description("Answers the question if prices include duties and / or taxes.")] - public enum InclusiveTaxPricingStrategy - { + [Description("Answers the question if prices include duties and / or taxes.")] + public enum InclusiveTaxPricingStrategy + { /// ///Add taxes at checkout when configured to collect. /// - [Description("Add taxes at checkout when configured to collect.")] - ADD_TAXES_AT_CHECKOUT, + [Description("Add taxes at checkout when configured to collect.")] + ADD_TAXES_AT_CHECKOUT, /// ///Include taxes in price when configured to collect. /// - [Description("Include taxes in price when configured to collect.")] - INCLUDES_TAXES_IN_PRICE, + [Description("Include taxes in price when configured to collect.")] + INCLUDES_TAXES_IN_PRICE, /// ///Include taxes in price based on country when configured to collect. /// - [Description("Include taxes in price based on country when configured to collect.")] - INCLUDES_TAXES_IN_PRICE_BASED_ON_COUNTRY, - } - - public static class InclusiveTaxPricingStrategyStringValues - { - public const string ADD_TAXES_AT_CHECKOUT = @"ADD_TAXES_AT_CHECKOUT"; - public const string INCLUDES_TAXES_IN_PRICE = @"INCLUDES_TAXES_IN_PRICE"; - public const string INCLUDES_TAXES_IN_PRICE_BASED_ON_COUNTRY = @"INCLUDES_TAXES_IN_PRICE_BASED_ON_COUNTRY"; - } - + [Description("Include taxes in price based on country when configured to collect.")] + INCLUDES_TAXES_IN_PRICE_BASED_ON_COUNTRY, + } + + public static class InclusiveTaxPricingStrategyStringValues + { + public const string ADD_TAXES_AT_CHECKOUT = @"ADD_TAXES_AT_CHECKOUT"; + public const string INCLUDES_TAXES_IN_PRICE = @"INCLUDES_TAXES_IN_PRICE"; + public const string INCLUDES_TAXES_IN_PRICE_BASED_ON_COUNTRY = @"INCLUDES_TAXES_IN_PRICE_BASED_ON_COUNTRY"; + } + /// ///The input fields for the incoming line item. /// - [Description("The input fields for the incoming line item.")] - public class IncomingRequestLineItemInput : GraphQLObject - { + [Description("The input fields for the incoming line item.")] + public class IncomingRequestLineItemInput : GraphQLObject + { /// ///The ID of the rejected line item. /// - [Description("The ID of the rejected line item.")] - [NonNull] - public string? fulfillmentOrderLineItemId { get; set; } - + [Description("The ID of the rejected line item.")] + [NonNull] + public string? fulfillmentOrderLineItemId { get; set; } + /// ///The rejection message of the line item. /// - [Description("The rejection message of the line item.")] - public string? message { get; set; } - } - + [Description("The rejection message of the line item.")] + public string? message { get; set; } + } + /// ///A string representing a choice of DDP or DDU configuration. /// - [Description("A string representing a choice of DDP or DDU configuration.")] - public enum IncotermConfiguration - { + [Description("A string representing a choice of DDP or DDU configuration.")] + public enum IncotermConfiguration + { /// ///Duties paid at checkout. /// - [Description("Duties paid at checkout.")] - DDP, + [Description("Duties paid at checkout.")] + DDP, /// ///Duties paid at delivery. /// - [Description("Duties paid at delivery.")] - DAP, + [Description("Duties paid at delivery.")] + DAP, /// ///Duties paid at delivery. /// - [Description("Duties paid at delivery.")] - DDU, + [Description("Duties paid at delivery.")] + DDU, /// ///This region is not supported. /// - [Description("This region is not supported.")] - UNSUPPORTED, - } - - public static class IncotermConfigurationStringValues - { - public const string DDP = @"DDP"; - public const string DAP = @"DAP"; - public const string DDU = @"DDU"; - public const string UNSUPPORTED = @"UNSUPPORTED"; - } - + [Description("This region is not supported.")] + UNSUPPORTED, + } + + public static class IncotermConfigurationStringValues + { + public const string DDP = @"DDP"; + public const string DAP = @"DAP"; + public const string DDU = @"DDU"; + public const string UNSUPPORTED = @"UNSUPPORTED"; + } + /// ///Represents whether the duties and international taxes are paid at the time of purchase or to be paid upon delivery. /// - [Description("Represents whether the duties and international taxes are paid at the time of purchase or to be paid upon delivery.")] - public class IncotermInformation : GraphQLObject - { + [Description("Represents whether the duties and international taxes are paid at the time of purchase or to be paid upon delivery.")] + public class IncotermInformation : GraphQLObject + { /// ///The incoterm representing when duties and international taxes will be payed. /// - [Description("The incoterm representing when duties and international taxes will be payed.")] - [EnumType(typeof(IncotermConfiguration))] - public string? incoterm { get; set; } - + [Description("The incoterm representing when duties and international taxes will be payed.")] + [EnumType(typeof(IncotermConfiguration))] + public string? incoterm { get; set; } + /// ///The reason why the incoterm was used for the order. /// - [Description("The reason why the incoterm was used for the order.")] - [EnumType(typeof(IncotermReason))] - public string? reason { get; set; } - } - + [Description("The reason why the incoterm was used for the order.")] + [EnumType(typeof(IncotermReason))] + public string? reason { get; set; } + } + /// ///A string representing the reason for an incoterm configuration on an order. /// - [Description("A string representing the reason for an incoterm configuration on an order.")] - public enum IncotermReason - { + [Description("A string representing the reason for an incoterm configuration on an order.")] + public enum IncotermReason + { /// ///The destination country is unsupported. /// - [Description("The destination country is unsupported.")] - UNSUPPORTED_REGION, + [Description("The destination country is unsupported.")] + UNSUPPORTED_REGION, /// ///An error occured while attempting to calculate duties and taxes. /// - [Description("An error occured while attempting to calculate duties and taxes.")] - ERROR_OCCURED, + [Description("An error occured while attempting to calculate duties and taxes.")] + ERROR_OCCURED, /// ///The incoterm is the result of a merchant configuration. /// - [Description("The incoterm is the result of a merchant configuration.")] - PRE_CONFIGURED, + [Description("The incoterm is the result of a merchant configuration.")] + PRE_CONFIGURED, /// ///The incoterm was selected by the buyer during checkout. /// - [Description("The incoterm was selected by the buyer during checkout.")] - BUYER_CONFIGURED, + [Description("The incoterm was selected by the buyer during checkout.")] + BUYER_CONFIGURED, /// ///The incoterm was configured by Flow. /// - [Description("The incoterm was configured by Flow.")] - FLOW_CONFIGURED, + [Description("The incoterm was configured by Flow.")] + FLOW_CONFIGURED, /// ///The incoterm was determined by the Low Value Goods Tax fallback. /// - [Description("The incoterm was determined by the Low Value Goods Tax fallback.")] - LOW_VALUE_GOODS_TAXES_APPLY, + [Description("The incoterm was determined by the Low Value Goods Tax fallback.")] + LOW_VALUE_GOODS_TAXES_APPLY, /// ///Duties and import taxes are included in the product price. /// - [Description("Duties and import taxes are included in the product price.")] - DUTY_AND_TAX_INCLUSIVE_PRICING, + [Description("Duties and import taxes are included in the product price.")] + DUTY_AND_TAX_INCLUSIVE_PRICING, /// ///Duties are included in the product price. /// - [Description("Duties are included in the product price.")] - DUTY_INCLUSIVE_PRICING, + [Description("Duties are included in the product price.")] + DUTY_INCLUSIVE_PRICING, /// ///The incoterm followed its default value of DDP, no configuration was specified. /// - [Description("The incoterm followed its default value of DDP, no configuration was specified.")] - DEFAULT_DUTIES_AND_TAXES, + [Description("The incoterm followed its default value of DDP, no configuration was specified.")] + DEFAULT_DUTIES_AND_TAXES, /// ///The incoterm was determined by the Tax Calculation fallback. /// - [Description("The incoterm was determined by the Tax Calculation fallback.")] - TAX_CALCULATION_FALLBACK, + [Description("The incoterm was determined by the Tax Calculation fallback.")] + TAX_CALCULATION_FALLBACK, /// ///The incoterm was determined by the duty and tax calculation fallback. /// - [Description("The incoterm was determined by the duty and tax calculation fallback.")] - DUTY_TAX_CALCULATION_FALLBACK, + [Description("The incoterm was determined by the duty and tax calculation fallback.")] + DUTY_TAX_CALCULATION_FALLBACK, /// ///The destination country is unsupported. /// - [Description("The destination country is unsupported.")] - [Obsolete("Use UNSUPPORTED_REGION instead")] - UNSUPPORTED, - } - - public static class IncotermReasonStringValues - { - public const string UNSUPPORTED_REGION = @"UNSUPPORTED_REGION"; - public const string ERROR_OCCURED = @"ERROR_OCCURED"; - public const string PRE_CONFIGURED = @"PRE_CONFIGURED"; - public const string BUYER_CONFIGURED = @"BUYER_CONFIGURED"; - public const string FLOW_CONFIGURED = @"FLOW_CONFIGURED"; - public const string LOW_VALUE_GOODS_TAXES_APPLY = @"LOW_VALUE_GOODS_TAXES_APPLY"; - public const string DUTY_AND_TAX_INCLUSIVE_PRICING = @"DUTY_AND_TAX_INCLUSIVE_PRICING"; - public const string DUTY_INCLUSIVE_PRICING = @"DUTY_INCLUSIVE_PRICING"; - public const string DEFAULT_DUTIES_AND_TAXES = @"DEFAULT_DUTIES_AND_TAXES"; - public const string TAX_CALCULATION_FALLBACK = @"TAX_CALCULATION_FALLBACK"; - public const string DUTY_TAX_CALCULATION_FALLBACK = @"DUTY_TAX_CALCULATION_FALLBACK"; - [Obsolete("Use UNSUPPORTED_REGION instead")] - public const string UNSUPPORTED = @"UNSUPPORTED"; - } - + [Description("The destination country is unsupported.")] + [Obsolete("Use UNSUPPORTED_REGION instead")] + UNSUPPORTED, + } + + public static class IncotermReasonStringValues + { + public const string UNSUPPORTED_REGION = @"UNSUPPORTED_REGION"; + public const string ERROR_OCCURED = @"ERROR_OCCURED"; + public const string PRE_CONFIGURED = @"PRE_CONFIGURED"; + public const string BUYER_CONFIGURED = @"BUYER_CONFIGURED"; + public const string FLOW_CONFIGURED = @"FLOW_CONFIGURED"; + public const string LOW_VALUE_GOODS_TAXES_APPLY = @"LOW_VALUE_GOODS_TAXES_APPLY"; + public const string DUTY_AND_TAX_INCLUSIVE_PRICING = @"DUTY_AND_TAX_INCLUSIVE_PRICING"; + public const string DUTY_INCLUSIVE_PRICING = @"DUTY_INCLUSIVE_PRICING"; + public const string DEFAULT_DUTIES_AND_TAXES = @"DEFAULT_DUTIES_AND_TAXES"; + public const string TAX_CALCULATION_FALLBACK = @"TAX_CALCULATION_FALLBACK"; + public const string DUTY_TAX_CALCULATION_FALLBACK = @"DUTY_TAX_CALCULATION_FALLBACK"; + [Obsolete("Use UNSUPPORTED_REGION instead")] + public const string UNSUPPORTED = @"UNSUPPORTED"; + } + /// ///Return type for `inventoryActivate` mutation. /// - [Description("Return type for `inventoryActivate` mutation.")] - public class InventoryActivatePayload : GraphQLObject - { + [Description("Return type for `inventoryActivate` mutation.")] + public class InventoryActivatePayload : GraphQLObject + { /// ///The inventory level that was activated. /// - [Description("The inventory level that was activated.")] - public InventoryLevel? inventoryLevel { get; set; } - + [Description("The inventory level that was activated.")] + public InventoryLevel? inventoryLevel { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for items and their adjustments. /// - [Description("The input fields for items and their adjustments.")] - public class InventoryAdjustItemInput : GraphQLObject - { + [Description("The input fields for items and their adjustments.")] + public class InventoryAdjustItemInput : GraphQLObject + { /// ///ID of the inventory item to adjust. /// - [Description("ID of the inventory item to adjust.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("ID of the inventory item to adjust.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///The change applied to the `available` quantity of the item at the location. /// - [Description("The change applied to the `available` quantity of the item at the location.")] - [NonNull] - public int? availableDelta { get; set; } - } - + [Description("The change applied to the `available` quantity of the item at the location.")] + [NonNull] + public int? availableDelta { get; set; } + } + /// ///The input fields required to adjust inventory quantities. /// - [Description("The input fields required to adjust inventory quantities.")] - public class InventoryAdjustQuantitiesInput : GraphQLObject - { + [Description("The input fields required to adjust inventory quantities.")] + public class InventoryAdjustQuantitiesInput : GraphQLObject + { /// ///The reason for the quantity changes. The value must be one of the [possible ///reasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand). /// - [Description("The reason for the quantity changes. The value must be one of the [possible \nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] - [NonNull] - public string? reason { get; set; } - + [Description("The reason for the quantity changes. The value must be one of the [possible \nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] + [NonNull] + public string? reason { get; set; } + /// ///The quantity [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) ///to be adjusted. /// - [Description("The quantity [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states)\nto be adjusted.")] - [NonNull] - public string? name { get; set; } - + [Description("The quantity [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states)\nto be adjusted.")] + [NonNull] + public string? name { get; set; } + /// ///A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history. /// @@ -52521,522 +52521,522 @@ public class InventoryAdjustQuantitiesInput : GraphQLObject - [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] - public string? referenceDocumentUri { get; set; } - + [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] + public string? referenceDocumentUri { get; set; } + /// ///The quantity changes of items at locations to be made. /// - [Description("The quantity changes of items at locations to be made.")] - [NonNull] - public IEnumerable? changes { get; set; } - } - + [Description("The quantity changes of items at locations to be made.")] + [NonNull] + public IEnumerable? changes { get; set; } + } + /// ///Return type for `inventoryAdjustQuantities` mutation. /// - [Description("Return type for `inventoryAdjustQuantities` mutation.")] - public class InventoryAdjustQuantitiesPayload : GraphQLObject - { + [Description("Return type for `inventoryAdjustQuantities` mutation.")] + public class InventoryAdjustQuantitiesPayload : GraphQLObject + { /// ///The group of changes made by the operation. /// - [Description("The group of changes made by the operation.")] - public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } - + [Description("The group of changes made by the operation.")] + public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryAdjustQuantities`. /// - [Description("An error that occurs during the execution of `InventoryAdjustQuantities`.")] - public class InventoryAdjustQuantitiesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryAdjustQuantities`.")] + public class InventoryAdjustQuantitiesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryAdjustQuantitiesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryAdjustQuantitiesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryAdjustQuantitiesUserError`. /// - [Description("Possible error codes that can be returned by `InventoryAdjustQuantitiesUserError`.")] - public enum InventoryAdjustQuantitiesUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryAdjustQuantitiesUserError`.")] + public enum InventoryAdjustQuantitiesUserErrorCode + { /// ///Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API. /// - [Description("Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.")] - INTERNAL_LEDGER_DOCUMENT, + [Description("Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.")] + INTERNAL_LEDGER_DOCUMENT, /// ///A ledger document URI is not allowed when adjusting available. /// - [Description("A ledger document URI is not allowed when adjusting available.")] - INVALID_AVAILABLE_DOCUMENT, + [Description("A ledger document URI is not allowed when adjusting available.")] + INVALID_AVAILABLE_DOCUMENT, /// ///The specified inventory item could not be found. /// - [Description("The specified inventory item could not be found.")] - INVALID_INVENTORY_ITEM, + [Description("The specified inventory item could not be found.")] + INVALID_INVENTORY_ITEM, /// ///The specified ledger document is invalid. /// - [Description("The specified ledger document is invalid.")] - INVALID_LEDGER_DOCUMENT, + [Description("The specified ledger document is invalid.")] + INVALID_LEDGER_DOCUMENT, /// ///The specified location could not be found. /// - [Description("The specified location could not be found.")] - INVALID_LOCATION, + [Description("The specified location could not be found.")] + INVALID_LOCATION, /// ///A ledger document URI is required except when adjusting available. /// - [Description("A ledger document URI is required except when adjusting available.")] - INVALID_QUANTITY_DOCUMENT, + [Description("A ledger document URI is required except when adjusting available.")] + INVALID_QUANTITY_DOCUMENT, /// ///The specified quantity name is invalid. /// - [Description("The specified quantity name is invalid.")] - INVALID_QUANTITY_NAME, + [Description("The specified quantity name is invalid.")] + INVALID_QUANTITY_NAME, /// ///The quantity can't be lower than -2,000,000,000. /// - [Description("The quantity can't be lower than -2,000,000,000.")] - INVALID_QUANTITY_TOO_LOW, + [Description("The quantity can't be lower than -2,000,000,000.")] + INVALID_QUANTITY_TOO_LOW, /// ///The quantity can't be higher than 2,000,000,000. /// - [Description("The quantity can't be higher than 2,000,000,000.")] - INVALID_QUANTITY_TOO_HIGH, + [Description("The quantity can't be higher than 2,000,000,000.")] + INVALID_QUANTITY_TOO_HIGH, /// ///The specified reason is invalid. /// - [Description("The specified reason is invalid.")] - INVALID_REASON, + [Description("The specified reason is invalid.")] + INVALID_REASON, /// ///The specified reference document is invalid. /// - [Description("The specified reference document is invalid.")] - INVALID_REFERENCE_DOCUMENT, + [Description("The specified reference document is invalid.")] + INVALID_REFERENCE_DOCUMENT, /// ///The quantities couldn't be adjusted. Try again. /// - [Description("The quantities couldn't be adjusted. Try again.")] - ADJUST_QUANTITIES_FAILED, + [Description("The quantities couldn't be adjusted. Try again.")] + ADJUST_QUANTITIES_FAILED, /// ///All changes must have the same ledger document URI or, in the case of adjusting available, no ledger document URI. /// - [Description("All changes must have the same ledger document URI or, in the case of adjusting available, no ledger document URI.")] - MAX_ONE_LEDGER_DOCUMENT, + [Description("All changes must have the same ledger document URI or, in the case of adjusting available, no ledger document URI.")] + MAX_ONE_LEDGER_DOCUMENT, /// ///The inventory item is not stocked at the location. /// - [Description("The inventory item is not stocked at the location.")] - ITEM_NOT_STOCKED_AT_LOCATION, + [Description("The inventory item is not stocked at the location.")] + ITEM_NOT_STOCKED_AT_LOCATION, /// ///The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle. /// - [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] - NON_MUTABLE_INVENTORY_ITEM, - } - - public static class InventoryAdjustQuantitiesUserErrorCodeStringValues - { - public const string INTERNAL_LEDGER_DOCUMENT = @"INTERNAL_LEDGER_DOCUMENT"; - public const string INVALID_AVAILABLE_DOCUMENT = @"INVALID_AVAILABLE_DOCUMENT"; - public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; - public const string INVALID_LEDGER_DOCUMENT = @"INVALID_LEDGER_DOCUMENT"; - public const string INVALID_LOCATION = @"INVALID_LOCATION"; - public const string INVALID_QUANTITY_DOCUMENT = @"INVALID_QUANTITY_DOCUMENT"; - public const string INVALID_QUANTITY_NAME = @"INVALID_QUANTITY_NAME"; - public const string INVALID_QUANTITY_TOO_LOW = @"INVALID_QUANTITY_TOO_LOW"; - public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; - public const string INVALID_REASON = @"INVALID_REASON"; - public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; - public const string ADJUST_QUANTITIES_FAILED = @"ADJUST_QUANTITIES_FAILED"; - public const string MAX_ONE_LEDGER_DOCUMENT = @"MAX_ONE_LEDGER_DOCUMENT"; - public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; - public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; - } - + [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] + NON_MUTABLE_INVENTORY_ITEM, + } + + public static class InventoryAdjustQuantitiesUserErrorCodeStringValues + { + public const string INTERNAL_LEDGER_DOCUMENT = @"INTERNAL_LEDGER_DOCUMENT"; + public const string INVALID_AVAILABLE_DOCUMENT = @"INVALID_AVAILABLE_DOCUMENT"; + public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; + public const string INVALID_LEDGER_DOCUMENT = @"INVALID_LEDGER_DOCUMENT"; + public const string INVALID_LOCATION = @"INVALID_LOCATION"; + public const string INVALID_QUANTITY_DOCUMENT = @"INVALID_QUANTITY_DOCUMENT"; + public const string INVALID_QUANTITY_NAME = @"INVALID_QUANTITY_NAME"; + public const string INVALID_QUANTITY_TOO_LOW = @"INVALID_QUANTITY_TOO_LOW"; + public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; + public const string INVALID_REASON = @"INVALID_REASON"; + public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; + public const string ADJUST_QUANTITIES_FAILED = @"ADJUST_QUANTITIES_FAILED"; + public const string MAX_ONE_LEDGER_DOCUMENT = @"MAX_ONE_LEDGER_DOCUMENT"; + public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; + public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; + } + /// ///The input fields required to adjust the inventory quantity. /// - [Description("The input fields required to adjust the inventory quantity.")] - public class InventoryAdjustQuantityInput : GraphQLObject - { + [Description("The input fields required to adjust the inventory quantity.")] + public class InventoryAdjustQuantityInput : GraphQLObject + { /// ///ID of the inventory level to adjust. /// - [Description("ID of the inventory level to adjust.")] - [NonNull] - public string? inventoryLevelId { get; set; } - + [Description("ID of the inventory level to adjust.")] + [NonNull] + public string? inventoryLevelId { get; set; } + /// ///The change applied to the `available` quantity of the item at the location. /// - [Description("The change applied to the `available` quantity of the item at the location.")] - [NonNull] - public int? availableDelta { get; set; } - } - + [Description("The change applied to the `available` quantity of the item at the location.")] + [NonNull] + public int? availableDelta { get; set; } + } + /// ///Return type for `inventoryAdjustQuantity` mutation. /// - [Description("Return type for `inventoryAdjustQuantity` mutation.")] - public class InventoryAdjustQuantityPayload : GraphQLObject - { + [Description("Return type for `inventoryAdjustQuantity` mutation.")] + public class InventoryAdjustQuantityPayload : GraphQLObject + { /// ///Represents the updated inventory quantity of an inventory item at a specific location. /// - [Description("Represents the updated inventory quantity of an inventory item at a specific location.")] - public InventoryLevel? inventoryLevel { get; set; } - + [Description("Represents the updated inventory quantity of an inventory item at a specific location.")] + public InventoryLevel? inventoryLevel { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a group of adjustments made as part of the same operation. /// - [Description("Represents a group of adjustments made as part of the same operation.")] - public class InventoryAdjustmentGroup : GraphQLObject, INode - { + [Description("Represents a group of adjustments made as part of the same operation.")] + public class InventoryAdjustmentGroup : GraphQLObject, INode + { /// ///The app that triggered the inventory event, if one exists. /// - [Description("The app that triggered the inventory event, if one exists.")] - public App? app { get; set; } - + [Description("The app that triggered the inventory event, if one exists.")] + public App? app { get; set; } + /// ///The set of inventory quantity changes that occurred in the inventory event. /// - [Description("The set of inventory quantity changes that occurred in the inventory event.")] - [NonNull] - public IEnumerable? changes { get; set; } - + [Description("The set of inventory quantity changes that occurred in the inventory event.")] + [NonNull] + public IEnumerable? changes { get; set; } + /// ///The date and time the inventory adjustment group was created. /// - [Description("The date and time the inventory adjustment group was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time the inventory adjustment group was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The reason for the group of adjustments. /// - [Description("The reason for the group of adjustments.")] - [NonNull] - public string? reason { get; set; } - + [Description("The reason for the group of adjustments.")] + [NonNull] + public string? reason { get; set; } + /// ///A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory ///quantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a ///draft order might have been previously reserved, and a merchant later creates an order from the draft order. ///In this case, the `referenceDocumentUri` for the inventory adjustment is a URI referencing the order ID. /// - [Description("A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory\nquantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a\ndraft order might have been previously reserved, and a merchant later creates an order from the draft order.\nIn this case, the `referenceDocumentUri` for the inventory adjustment is a URI referencing the order ID.")] - public string? referenceDocumentUri { get; set; } - + [Description("A freeform URI that represents why the inventory change happened. This can be the entity adjusting inventory\nquantities or the Shopify resource that's associated with the inventory adjustment. For example, a unit in a\ndraft order might have been previously reserved, and a merchant later creates an order from the draft order.\nIn this case, the `referenceDocumentUri` for the inventory adjustment is a URI referencing the order ID.")] + public string? referenceDocumentUri { get; set; } + /// ///The staff member associated with the inventory event. /// - [Description("The staff member associated with the inventory event.")] - public StaffMember? staffMember { get; set; } - } - + [Description("The staff member associated with the inventory event.")] + public StaffMember? staffMember { get; set; } + } + /// ///Return type for `inventoryBulkAdjustQuantityAtLocation` mutation. /// - [Description("Return type for `inventoryBulkAdjustQuantityAtLocation` mutation.")] - public class InventoryBulkAdjustQuantityAtLocationPayload : GraphQLObject - { + [Description("Return type for `inventoryBulkAdjustQuantityAtLocation` mutation.")] + public class InventoryBulkAdjustQuantityAtLocationPayload : GraphQLObject + { /// ///Represents the updated inventory quantities of an inventory item at the location. /// - [Description("Represents the updated inventory quantities of an inventory item at the location.")] - public IEnumerable? inventoryLevels { get; set; } - + [Description("Represents the updated inventory quantities of an inventory item at the location.")] + public IEnumerable? inventoryLevels { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields to specify whether the inventory item should be activated or not at the specified location. /// - [Description("The input fields to specify whether the inventory item should be activated or not at the specified location.")] - public class InventoryBulkToggleActivationInput : GraphQLObject - { + [Description("The input fields to specify whether the inventory item should be activated or not at the specified location.")] + public class InventoryBulkToggleActivationInput : GraphQLObject + { /// ///The ID of the location to modify the inventory item's stocked status. /// - [Description("The ID of the location to modify the inventory item's stocked status.")] - [NonNull] - public string? locationId { get; set; } - + [Description("The ID of the location to modify the inventory item's stocked status.")] + [NonNull] + public string? locationId { get; set; } + /// ///Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location. /// - [Description("Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location.")] - [NonNull] - public bool? activate { get; set; } - } - + [Description("Whether the inventory item can be stocked at the specified location. To deactivate, set the value to false which removes an inventory item's quantities from that location, and turns off inventory at that location.")] + [NonNull] + public bool? activate { get; set; } + } + /// ///Return type for `inventoryBulkToggleActivation` mutation. /// - [Description("Return type for `inventoryBulkToggleActivation` mutation.")] - public class InventoryBulkToggleActivationPayload : GraphQLObject - { + [Description("Return type for `inventoryBulkToggleActivation` mutation.")] + public class InventoryBulkToggleActivationPayload : GraphQLObject + { /// ///The inventory item that was updated. /// - [Description("The inventory item that was updated.")] - public InventoryItem? inventoryItem { get; set; } - + [Description("The inventory item that was updated.")] + public InventoryItem? inventoryItem { get; set; } + /// ///The activated inventory levels. /// - [Description("The activated inventory levels.")] - public IEnumerable? inventoryLevels { get; set; } - + [Description("The activated inventory levels.")] + public IEnumerable? inventoryLevels { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurred while setting the activation status of an inventory item. /// - [Description("An error that occurred while setting the activation status of an inventory item.")] - public class InventoryBulkToggleActivationUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurred while setting the activation status of an inventory item.")] + public class InventoryBulkToggleActivationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryBulkToggleActivationUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryBulkToggleActivationUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryBulkToggleActivationUserError`. /// - [Description("Possible error codes that can be returned by `InventoryBulkToggleActivationUserError`.")] - public enum InventoryBulkToggleActivationUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryBulkToggleActivationUserError`.")] + public enum InventoryBulkToggleActivationUserErrorCode + { /// ///An error occurred while setting the activation status. /// - [Description("An error occurred while setting the activation status.")] - GENERIC_ERROR, + [Description("An error occurred while setting the activation status.")] + GENERIC_ERROR, /// ///Cannot unstock an inventory item from the only location at which it is stocked. /// - [Description("Cannot unstock an inventory item from the only location at which it is stocked.")] - CANNOT_DEACTIVATE_FROM_ONLY_LOCATION, + [Description("Cannot unstock an inventory item from the only location at which it is stocked.")] + CANNOT_DEACTIVATE_FROM_ONLY_LOCATION, /// ///Cannot unstock this inventory item from this location because it has committed and incoming quantities. /// - [Description("Cannot unstock this inventory item from this location because it has committed and incoming quantities.")] - [Obsolete("This error code is deprecated. Both INCOMING_INVENTORY_AT_LOCATION and COMMITTED_INVENTORY_AT_LOCATION codes will be returned as individual errors instead.")] - COMMITTED_AND_INCOMING_INVENTORY_AT_LOCATION, + [Description("Cannot unstock this inventory item from this location because it has committed and incoming quantities.")] + [Obsolete("This error code is deprecated. Both INCOMING_INVENTORY_AT_LOCATION and COMMITTED_INVENTORY_AT_LOCATION codes will be returned as individual errors instead.")] + COMMITTED_AND_INCOMING_INVENTORY_AT_LOCATION, /// ///Cannot unstock this inventory item from this location because it has incoming quantities. /// - [Description("Cannot unstock this inventory item from this location because it has incoming quantities.")] - INCOMING_INVENTORY_AT_LOCATION, + [Description("Cannot unstock this inventory item from this location because it has incoming quantities.")] + INCOMING_INVENTORY_AT_LOCATION, /// ///Cannot unstock this inventory item from this location because it has committed quantities. /// - [Description("Cannot unstock this inventory item from this location because it has committed quantities.")] - COMMITTED_INVENTORY_AT_LOCATION, + [Description("Cannot unstock this inventory item from this location because it has committed quantities.")] + COMMITTED_INVENTORY_AT_LOCATION, /// ///Cannot unstock this inventory item from this location because it has unavailable quantities. /// - [Description("Cannot unstock this inventory item from this location because it has unavailable quantities.")] - RESERVED_INVENTORY_AT_LOCATION, + [Description("Cannot unstock this inventory item from this location because it has unavailable quantities.")] + RESERVED_INVENTORY_AT_LOCATION, /// ///Failed to unstock this inventory item from this location. /// - [Description("Failed to unstock this inventory item from this location.")] - FAILED_TO_UNSTOCK_FROM_LOCATION, + [Description("Failed to unstock this inventory item from this location.")] + FAILED_TO_UNSTOCK_FROM_LOCATION, /// ///Cannot stock this inventory item at this location because it is managed by a third-party fulfillment service. /// - [Description("Cannot stock this inventory item at this location because it is managed by a third-party fulfillment service.")] - INVENTORY_MANAGED_BY_3RD_PARTY, + [Description("Cannot stock this inventory item at this location because it is managed by a third-party fulfillment service.")] + INVENTORY_MANAGED_BY_3RD_PARTY, /// ///Cannot stock this inventory item at this location because it is managed by Shopify. /// - [Description("Cannot stock this inventory item at this location because it is managed by Shopify.")] - INVENTORY_MANAGED_BY_SHOPIFY, + [Description("Cannot stock this inventory item at this location because it is managed by Shopify.")] + INVENTORY_MANAGED_BY_SHOPIFY, /// ///Failed to stock this inventory item at this location. /// - [Description("Failed to stock this inventory item at this location.")] - FAILED_TO_STOCK_AT_LOCATION, + [Description("Failed to stock this inventory item at this location.")] + FAILED_TO_STOCK_AT_LOCATION, /// ///Cannot stock this inventory item at this location because the variant is missing a SKU. /// - [Description("Cannot stock this inventory item at this location because the variant is missing a SKU.")] - MISSING_SKU, + [Description("Cannot stock this inventory item at this location because the variant is missing a SKU.")] + MISSING_SKU, /// ///The location was not found. /// - [Description("The location was not found.")] - LOCATION_NOT_FOUND, + [Description("The location was not found.")] + LOCATION_NOT_FOUND, /// ///The inventory item was not found. /// - [Description("The inventory item was not found.")] - INVENTORY_ITEM_NOT_FOUND, - } - - public static class InventoryBulkToggleActivationUserErrorCodeStringValues - { - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string CANNOT_DEACTIVATE_FROM_ONLY_LOCATION = @"CANNOT_DEACTIVATE_FROM_ONLY_LOCATION"; - [Obsolete("This error code is deprecated. Both INCOMING_INVENTORY_AT_LOCATION and COMMITTED_INVENTORY_AT_LOCATION codes will be returned as individual errors instead.")] - public const string COMMITTED_AND_INCOMING_INVENTORY_AT_LOCATION = @"COMMITTED_AND_INCOMING_INVENTORY_AT_LOCATION"; - public const string INCOMING_INVENTORY_AT_LOCATION = @"INCOMING_INVENTORY_AT_LOCATION"; - public const string COMMITTED_INVENTORY_AT_LOCATION = @"COMMITTED_INVENTORY_AT_LOCATION"; - public const string RESERVED_INVENTORY_AT_LOCATION = @"RESERVED_INVENTORY_AT_LOCATION"; - public const string FAILED_TO_UNSTOCK_FROM_LOCATION = @"FAILED_TO_UNSTOCK_FROM_LOCATION"; - public const string INVENTORY_MANAGED_BY_3RD_PARTY = @"INVENTORY_MANAGED_BY_3RD_PARTY"; - public const string INVENTORY_MANAGED_BY_SHOPIFY = @"INVENTORY_MANAGED_BY_SHOPIFY"; - public const string FAILED_TO_STOCK_AT_LOCATION = @"FAILED_TO_STOCK_AT_LOCATION"; - public const string MISSING_SKU = @"MISSING_SKU"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string INVENTORY_ITEM_NOT_FOUND = @"INVENTORY_ITEM_NOT_FOUND"; - } - + [Description("The inventory item was not found.")] + INVENTORY_ITEM_NOT_FOUND, + } + + public static class InventoryBulkToggleActivationUserErrorCodeStringValues + { + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string CANNOT_DEACTIVATE_FROM_ONLY_LOCATION = @"CANNOT_DEACTIVATE_FROM_ONLY_LOCATION"; + [Obsolete("This error code is deprecated. Both INCOMING_INVENTORY_AT_LOCATION and COMMITTED_INVENTORY_AT_LOCATION codes will be returned as individual errors instead.")] + public const string COMMITTED_AND_INCOMING_INVENTORY_AT_LOCATION = @"COMMITTED_AND_INCOMING_INVENTORY_AT_LOCATION"; + public const string INCOMING_INVENTORY_AT_LOCATION = @"INCOMING_INVENTORY_AT_LOCATION"; + public const string COMMITTED_INVENTORY_AT_LOCATION = @"COMMITTED_INVENTORY_AT_LOCATION"; + public const string RESERVED_INVENTORY_AT_LOCATION = @"RESERVED_INVENTORY_AT_LOCATION"; + public const string FAILED_TO_UNSTOCK_FROM_LOCATION = @"FAILED_TO_UNSTOCK_FROM_LOCATION"; + public const string INVENTORY_MANAGED_BY_3RD_PARTY = @"INVENTORY_MANAGED_BY_3RD_PARTY"; + public const string INVENTORY_MANAGED_BY_SHOPIFY = @"INVENTORY_MANAGED_BY_SHOPIFY"; + public const string FAILED_TO_STOCK_AT_LOCATION = @"FAILED_TO_STOCK_AT_LOCATION"; + public const string MISSING_SKU = @"MISSING_SKU"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string INVENTORY_ITEM_NOT_FOUND = @"INVENTORY_ITEM_NOT_FOUND"; + } + /// ///Represents a change in an inventory quantity of an inventory item at a location. /// - [Description("Represents a change in an inventory quantity of an inventory item at a location.")] - public class InventoryChange : GraphQLObject - { + [Description("Represents a change in an inventory quantity of an inventory item at a location.")] + public class InventoryChange : GraphQLObject + { /// ///The amount by which the inventory quantity was changed. /// - [Description("The amount by which the inventory quantity was changed.")] - [NonNull] - public int? delta { get; set; } - + [Description("The amount by which the inventory quantity was changed.")] + [NonNull] + public int? delta { get; set; } + /// ///The inventory item associated with this inventory change. /// - [Description("The inventory item associated with this inventory change.")] - public InventoryItem? item { get; set; } - + [Description("The inventory item associated with this inventory change.")] + public InventoryItem? item { get; set; } + /// ///A URI that represents what the inventory quantity change was applied to. /// - [Description("A URI that represents what the inventory quantity change was applied to.")] - public string? ledgerDocumentUri { get; set; } - + [Description("A URI that represents what the inventory quantity change was applied to.")] + public string? ledgerDocumentUri { get; set; } + /// ///The location associated with this inventory change. /// - [Description("The location associated with this inventory change.")] - public Location? location { get; set; } - + [Description("The location associated with this inventory change.")] + public Location? location { get; set; } + /// ///The [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) ///of the inventory quantity that was changed. /// - [Description("The [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states)\nof the inventory quantity that was changed.")] - [NonNull] - public string? name { get; set; } - + [Description("The [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states)\nof the inventory quantity that was changed.")] + [NonNull] + public string? name { get; set; } + /// ///The quantity of named inventory after the change. /// - [Description("The quantity of named inventory after the change.")] - public int? quantityAfterChange { get; set; } - } - + [Description("The quantity of named inventory after the change.")] + public int? quantityAfterChange { get; set; } + } + /// ///The input fields for the change to be made to an inventory item at a location. /// - [Description("The input fields for the change to be made to an inventory item at a location.")] - public class InventoryChangeInput : GraphQLObject - { + [Description("The input fields for the change to be made to an inventory item at a location.")] + public class InventoryChangeInput : GraphQLObject + { /// ///The amount by which the inventory quantity will be changed. /// - [Description("The amount by which the inventory quantity will be changed.")] - [NonNull] - public int? delta { get; set; } - + [Description("The amount by which the inventory quantity will be changed.")] + [NonNull] + public int? delta { get; set; } + /// ///Specifies the inventory item to which the change will be applied. /// - [Description("Specifies the inventory item to which the change will be applied.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("Specifies the inventory item to which the change will be applied.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///Specifies the location at which the change will be applied. /// - [Description("Specifies the location at which the change will be applied.")] - [NonNull] - public string? locationId { get; set; } - + [Description("Specifies the location at which the change will be applied.")] + [NonNull] + public string? locationId { get; set; } + /// ///A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change. /// @@ -53050,501 +53050,501 @@ public class InventoryChangeInput : GraphQLObject /// ///Requirements: Valid non-Shopify URI with scheme and content. Required for all quantity names except `available`. Cannot use gid://shopify/* format. /// - [Description("A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[transaction-type]/[id]\n\nExamples:\n- gid://warehouse-app/InventoryTransaction/TXN-2024-001 (specific transaction)\n- gid://3pl-system/StockMovement/SM-2024-0125 (stock movement record)\n- gid://pos-app/InventoryUpdate/UPD-98765 (POS inventory update)\n- gid://erp-connector/LedgerEntry/LE-2024-11-21-001 (ledger entry)\n\nRequirements: Valid non-Shopify URI with scheme and content. Required for all quantity names except `available`. Cannot use gid://shopify/* format.")] - public string? ledgerDocumentUri { get; set; } - } - + [Description("A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[transaction-type]/[id]\n\nExamples:\n- gid://warehouse-app/InventoryTransaction/TXN-2024-001 (specific transaction)\n- gid://3pl-system/StockMovement/SM-2024-0125 (stock movement record)\n- gid://pos-app/InventoryUpdate/UPD-98765 (POS inventory update)\n- gid://erp-connector/LedgerEntry/LE-2024-11-21-001 (ledger entry)\n\nRequirements: Valid non-Shopify URI with scheme and content. Required for all quantity names except `available`. Cannot use gid://shopify/* format.")] + public string? ledgerDocumentUri { get; set; } + } + /// ///Return type for `inventoryDeactivate` mutation. /// - [Description("Return type for `inventoryDeactivate` mutation.")] - public class InventoryDeactivatePayload : GraphQLObject - { + [Description("Return type for `inventoryDeactivate` mutation.")] + public class InventoryDeactivatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents the goods available to be shipped to a customer. ///It holds essential information about the goods, including SKU and whether it is tracked. ///Learn [more about the relationships between inventory objects](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#inventory-object-relationships). /// - [Description("Represents the goods available to be shipped to a customer.\nIt holds essential information about the goods, including SKU and whether it is tracked.\nLearn [more about the relationships between inventory objects](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#inventory-object-relationships).")] - public class InventoryItem : GraphQLObject, ILegacyInteroperability, INode - { + [Description("Represents the goods available to be shipped to a customer.\nIt holds essential information about the goods, including SKU and whether it is tracked.\nLearn [more about the relationships between inventory objects](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#inventory-object-relationships).")] + public class InventoryItem : GraphQLObject, ILegacyInteroperability, INode + { /// ///The ISO 3166-1 alpha-2 country code of where the item originated from. /// - [Description("The ISO 3166-1 alpha-2 country code of where the item originated from.")] - [EnumType(typeof(CountryCode))] - public string? countryCodeOfOrigin { get; set; } - + [Description("The ISO 3166-1 alpha-2 country code of where the item originated from.")] + [EnumType(typeof(CountryCode))] + public string? countryCodeOfOrigin { get; set; } + /// ///A list of country specific harmonized system codes. /// - [Description("A list of country specific harmonized system codes.")] - [NonNull] - public CountryHarmonizedSystemCodeConnection? countryHarmonizedSystemCodes { get; set; } - + [Description("A list of country specific harmonized system codes.")] + [NonNull] + public CountryHarmonizedSystemCodeConnection? countryHarmonizedSystemCodes { get; set; } + /// ///The date and time when the inventory item was created. /// - [Description("The date and time when the inventory item was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the inventory item was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The number of inventory items that share the same SKU with this item. /// - [Description("The number of inventory items that share the same SKU with this item.")] - [NonNull] - public int? duplicateSkuCount { get; set; } - + [Description("The number of inventory items that share the same SKU with this item.")] + [NonNull] + public int? duplicateSkuCount { get; set; } + /// ///The harmonized system code of the item. This must be a number between 6 and 13 digits. /// - [Description("The harmonized system code of the item. This must be a number between 6 and 13 digits.")] - public string? harmonizedSystemCode { get; set; } - + [Description("The harmonized system code of the item. This must be a number between 6 and 13 digits.")] + public string? harmonizedSystemCode { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The URL that points to the inventory history for the item. /// - [Description("The URL that points to the inventory history for the item.")] - public string? inventoryHistoryUrl { get; set; } - + [Description("The URL that points to the inventory history for the item.")] + public string? inventoryHistoryUrl { get; set; } + /// ///The inventory item's quantities at the specified location. /// - [Description("The inventory item's quantities at the specified location.")] - public InventoryLevel? inventoryLevel { get; set; } - + [Description("The inventory item's quantities at the specified location.")] + public InventoryLevel? inventoryLevel { get; set; } + /// ///A list of the inventory item's quantities for each location that the inventory item can be stocked at. /// - [Description("A list of the inventory item's quantities for each location that the inventory item can be stocked at.")] - [NonNull] - public InventoryLevelConnection? inventoryLevels { get; set; } - + [Description("A list of the inventory item's quantities for each location that the inventory item can be stocked at.")] + [NonNull] + public InventoryLevelConnection? inventoryLevels { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The packaging dimensions of the inventory item. /// - [Description("The packaging dimensions of the inventory item.")] - [NonNull] - public InventoryItemMeasurement? measurement { get; set; } - + [Description("The packaging dimensions of the inventory item.")] + [NonNull] + public InventoryItemMeasurement? measurement { get; set; } + /// ///The ISO 3166-2 alpha-2 province code of where the item originated from. /// - [Description("The ISO 3166-2 alpha-2 province code of where the item originated from.")] - public string? provinceCodeOfOrigin { get; set; } - + [Description("The ISO 3166-2 alpha-2 province code of where the item originated from.")] + public string? provinceCodeOfOrigin { get; set; } + /// ///Whether the inventory item requires shipping. /// - [Description("Whether the inventory item requires shipping.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether the inventory item requires shipping.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///Inventory item SKU. Case-sensitive string. /// - [Description("Inventory item SKU. Case-sensitive string.")] - public string? sku { get; set; } - + [Description("Inventory item SKU. Case-sensitive string.")] + public string? sku { get; set; } + /// ///Whether inventory levels are tracked for the item. /// - [Description("Whether inventory levels are tracked for the item.")] - [NonNull] - public bool? tracked { get; set; } - + [Description("Whether inventory levels are tracked for the item.")] + [NonNull] + public bool? tracked { get; set; } + /// ///Whether the value of the `tracked` field for the inventory item can be changed. /// - [Description("Whether the value of the `tracked` field for the inventory item can be changed.")] - [NonNull] - public EditableProperty? trackedEditable { get; set; } - + [Description("Whether the value of the `tracked` field for the inventory item can be changed.")] + [NonNull] + public EditableProperty? trackedEditable { get; set; } + /// ///Unit cost associated with the inventory item. Note: the user must have "View product costs" permission granted in order to access this field once product granular permissions are enabled. /// - [Description("Unit cost associated with the inventory item. Note: the user must have \"View product costs\" permission granted in order to access this field once product granular permissions are enabled.")] - public MoneyV2? unitCost { get; set; } - + [Description("Unit cost associated with the inventory item. Note: the user must have \"View product costs\" permission granted in order to access this field once product granular permissions are enabled.")] + public MoneyV2? unitCost { get; set; } + /// ///The date and time when the inventory item was updated. /// - [Description("The date and time when the inventory item was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the inventory item was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The variant that owns this inventory item. /// - [Description("The variant that owns this inventory item.")] - [NonNull] - public ProductVariant? variant { get; set; } - } - + [Description("The variant that owns this inventory item.")] + [NonNull] + public ProductVariant? variant { get; set; } + } + /// ///An auto-generated type for paginating through multiple InventoryItems. /// - [Description("An auto-generated type for paginating through multiple InventoryItems.")] - public class InventoryItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple InventoryItems.")] + public class InventoryItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in InventoryItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in InventoryItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in InventoryItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one InventoryItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one InventoryItem and a cursor during pagination.")] - public class InventoryItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one InventoryItem and a cursor during pagination.")] + public class InventoryItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of InventoryItemEdge. /// - [Description("The item at the end of InventoryItemEdge.")] - [NonNull] - public InventoryItem? node { get; set; } - } - + [Description("The item at the end of InventoryItemEdge.")] + [NonNull] + public InventoryItem? node { get; set; } + } + /// ///The input fields for an inventory item. /// - [Description("The input fields for an inventory item.")] - public class InventoryItemInput : GraphQLObject - { + [Description("The input fields for an inventory item.")] + public class InventoryItemInput : GraphQLObject + { /// ///The SKU (stock keeping unit) of the inventory item. /// - [Description("The SKU (stock keeping unit) of the inventory item.")] - public string? sku { get; set; } - + [Description("The SKU (stock keeping unit) of the inventory item.")] + public string? sku { get; set; } + /// ///Unit cost associated with the inventory item, the currency is the shop's default currency. /// - [Description("Unit cost associated with the inventory item, the currency is the shop's default currency.")] - public decimal? cost { get; set; } - + [Description("Unit cost associated with the inventory item, the currency is the shop's default currency.")] + public decimal? cost { get; set; } + /// ///Whether the inventory item is tracked. /// - [Description("Whether the inventory item is tracked.")] - public bool? tracked { get; set; } - + [Description("Whether the inventory item is tracked.")] + public bool? tracked { get; set; } + /// ///The country where the item was manufactured or produced, specified using the standard two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code. /// - [Description("The country where the item was manufactured or produced, specified using the standard two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.")] - [EnumType(typeof(CountryCode))] - public string? countryCodeOfOrigin { get; set; } - + [Description("The country where the item was manufactured or produced, specified using the standard two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code.")] + [EnumType(typeof(CountryCode))] + public string? countryCodeOfOrigin { get; set; } + /// ///The harmonized system code of the inventory item. This must be a number between 6 and 13 digits. /// - [Description("The harmonized system code of the inventory item. This must be a number between 6 and 13 digits.")] - public string? harmonizedSystemCode { get; set; } - + [Description("The harmonized system code of the inventory item. This must be a number between 6 and 13 digits.")] + public string? harmonizedSystemCode { get; set; } + /// ///List of country-specific harmonized system codes. /// - [Description("List of country-specific harmonized system codes.")] - public IEnumerable? countryHarmonizedSystemCodes { get; set; } - + [Description("List of country-specific harmonized system codes.")] + public IEnumerable? countryHarmonizedSystemCodes { get; set; } + /// ///The province where the item was manufactured or produced, specified using the standard two-letter [ISO 3166-2 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) province code. /// - [Description("The province where the item was manufactured or produced, specified using the standard two-letter [ISO 3166-2 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) province code.")] - public string? provinceCodeOfOrigin { get; set; } - + [Description("The province where the item was manufactured or produced, specified using the standard two-letter [ISO 3166-2 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-2) province code.")] + public string? provinceCodeOfOrigin { get; set; } + /// ///The measurements of an inventory item. /// - [Description("The measurements of an inventory item.")] - public InventoryItemMeasurementInput? measurement { get; set; } - + [Description("The measurements of an inventory item.")] + public InventoryItemMeasurementInput? measurement { get; set; } + /// ///Whether the inventory item needs to be physically shipped to the customer. Items that require shipping are physical products, while digital goods and services typically don't require shipping and can be fulfilled electronically. /// - [Description("Whether the inventory item needs to be physically shipped to the customer. Items that require shipping are physical products, while digital goods and services typically don't require shipping and can be fulfilled electronically.")] - public bool? requiresShipping { get; set; } - } - + [Description("Whether the inventory item needs to be physically shipped to the customer. Items that require shipping are physical products, while digital goods and services typically don't require shipping and can be fulfilled electronically.")] + public bool? requiresShipping { get; set; } + } + /// ///Represents the packaged dimension for an inventory item. /// - [Description("Represents the packaged dimension for an inventory item.")] - public class InventoryItemMeasurement : GraphQLObject, INode - { + [Description("Represents the packaged dimension for an inventory item.")] + public class InventoryItemMeasurement : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The weight of the inventory item. /// - [Description("The weight of the inventory item.")] - public Weight? weight { get; set; } - } - + [Description("The weight of the inventory item.")] + public Weight? weight { get; set; } + } + /// ///The input fields for an inventory item measurement. /// - [Description("The input fields for an inventory item measurement.")] - public class InventoryItemMeasurementInput : GraphQLObject - { + [Description("The input fields for an inventory item measurement.")] + public class InventoryItemMeasurementInput : GraphQLObject + { /// ///The weight of the inventory item. /// - [Description("The weight of the inventory item.")] - public WeightInput? weight { get; set; } - + [Description("The weight of the inventory item.")] + public WeightInput? weight { get; set; } + /// ///Shipping package associated with inventory item. /// - [Description("Shipping package associated with inventory item.")] - public string? shippingPackageId { get; set; } - } - + [Description("Shipping package associated with inventory item.")] + public string? shippingPackageId { get; set; } + } + /// ///Return type for `inventoryItemUpdate` mutation. /// - [Description("Return type for `inventoryItemUpdate` mutation.")] - public class InventoryItemUpdatePayload : GraphQLObject - { + [Description("Return type for `inventoryItemUpdate` mutation.")] + public class InventoryItemUpdatePayload : GraphQLObject + { /// ///The inventory item that was updated. /// - [Description("The inventory item that was updated.")] - public InventoryItem? inventoryItem { get; set; } - + [Description("The inventory item that was updated.")] + public InventoryItem? inventoryItem { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The quantities of an inventory item that are related to a specific location. ///Learn [more about the relationships between inventory objects](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#inventory-object-relationships). /// - [Description("The quantities of an inventory item that are related to a specific location.\nLearn [more about the relationships between inventory objects](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#inventory-object-relationships).")] - public class InventoryLevel : GraphQLObject, INode - { + [Description("The quantities of an inventory item that are related to a specific location.\nLearn [more about the relationships between inventory objects](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states#inventory-object-relationships).")] + public class InventoryLevel : GraphQLObject, INode + { /// ///The quantity of inventory items that are available at the inventory level's associated location. /// - [Description("The quantity of inventory items that are available at the inventory level's associated location.")] - [Obsolete("Use the `quantities` field instead and specify available for names. Example: `quantities(names:[\"available\"]){name quantity}`.")] - [NonNull] - public int? available { get; set; } - + [Description("The quantity of inventory items that are available at the inventory level's associated location.")] + [Obsolete("Use the `quantities` field instead and specify available for names. Example: `quantities(names:[\"available\"]){name quantity}`.")] + [NonNull] + public int? available { get; set; } + /// ///Whether the inventory items associated with the inventory level can be deactivated. /// - [Description("Whether the inventory items associated with the inventory level can be deactivated.")] - [NonNull] - public bool? canDeactivate { get; set; } - + [Description("Whether the inventory items associated with the inventory level can be deactivated.")] + [NonNull] + public bool? canDeactivate { get; set; } + /// ///The date and time when the inventory level was created. /// - [Description("The date and time when the inventory level was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the inventory level was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated. /// - [Description("Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated.")] - public string? deactivationAlert { get; set; } - + [Description("Describes either the impact of deactivating the inventory level, or why the inventory level can't be deactivated.")] + public string? deactivationAlert { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity of inventory items that are going to the inventory level's associated location. /// - [Description("The quantity of inventory items that are going to the inventory level's associated location.")] - [Obsolete("Use the `quantities` field instead and specify incoming for names. Example: `quantities(names:[\"incoming\"]){name quantity}`.")] - [NonNull] - public int? incoming { get; set; } - + [Description("The quantity of inventory items that are going to the inventory level's associated location.")] + [Obsolete("Use the `quantities` field instead and specify incoming for names. Example: `quantities(names:[\"incoming\"]){name quantity}`.")] + [NonNull] + public int? incoming { get; set; } + /// ///Inventory item associated with the inventory level. /// - [Description("Inventory item associated with the inventory level.")] - [NonNull] - public InventoryItem? item { get; set; } - + [Description("Inventory item associated with the inventory level.")] + [NonNull] + public InventoryItem? item { get; set; } + /// ///The location associated with the inventory level. /// - [Description("The location associated with the inventory level.")] - [NonNull] - public Location? location { get; set; } - + [Description("The location associated with the inventory level.")] + [NonNull] + public Location? location { get; set; } + /// ///The quantity of an inventory item at a specific location, for a quantity ///[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states). /// - [Description("The quantity of an inventory item at a specific location, for a quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states).")] - [NonNull] - public IEnumerable? quantities { get; set; } - + [Description("The quantity of an inventory item at a specific location, for a quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states).")] + [NonNull] + public IEnumerable? quantities { get; set; } + /// ///Scheduled changes for the requested quantity names. /// - [Description("Scheduled changes for the requested quantity names.")] - [NonNull] - public InventoryScheduledChangeConnection? scheduledChanges { get; set; } - + [Description("Scheduled changes for the requested quantity names.")] + [NonNull] + public InventoryScheduledChangeConnection? scheduledChanges { get; set; } + /// ///The date and time when the inventory level was updated. /// - [Description("The date and time when the inventory level was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the inventory level was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple InventoryLevels. /// - [Description("An auto-generated type for paginating through multiple InventoryLevels.")] - public class InventoryLevelConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple InventoryLevels.")] + public class InventoryLevelConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in InventoryLevelEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in InventoryLevelEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in InventoryLevelEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one InventoryLevel and a cursor during pagination. /// - [Description("An auto-generated type which holds one InventoryLevel and a cursor during pagination.")] - public class InventoryLevelEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one InventoryLevel and a cursor during pagination.")] + public class InventoryLevelEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of InventoryLevelEdge. /// - [Description("The item at the end of InventoryLevelEdge.")] - [NonNull] - public InventoryLevel? node { get; set; } - } - + [Description("The item at the end of InventoryLevelEdge.")] + [NonNull] + public InventoryLevel? node { get; set; } + } + /// ///The input fields for an inventory level. /// - [Description("The input fields for an inventory level.")] - public class InventoryLevelInput : GraphQLObject - { + [Description("The input fields for an inventory level.")] + public class InventoryLevelInput : GraphQLObject + { /// ///The available quantity of an inventory item at a location. /// - [Description("The available quantity of an inventory item at a location.")] - [NonNull] - public int? availableQuantity { get; set; } - + [Description("The available quantity of an inventory item at a location.")] + [NonNull] + public int? availableQuantity { get; set; } + /// ///The ID of a location associated with the inventory level. /// - [Description("The ID of a location associated with the inventory level.")] - [NonNull] - public string? locationId { get; set; } - } - + [Description("The ID of a location associated with the inventory level.")] + [NonNull] + public string? locationId { get; set; } + } + /// ///The input fields required to move inventory quantities. /// - [Description("The input fields required to move inventory quantities.")] - public class InventoryMoveQuantitiesInput : GraphQLObject - { + [Description("The input fields required to move inventory quantities.")] + public class InventoryMoveQuantitiesInput : GraphQLObject + { /// ///The reason for the quantity changes. The value must be one of the [possible ///reasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand). /// - [Description("The reason for the quantity changes. The value must be one of the [possible \nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] - [NonNull] - public string? reason { get; set; } - + [Description("The reason for the quantity changes. The value must be one of the [possible \nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] + [NonNull] + public string? reason { get; set; } + /// ///A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history. /// @@ -53563,238 +53563,238 @@ public class InventoryMoveQuantitiesInput : GraphQLObject - [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] - [NonNull] - public string? referenceDocumentUri { get; set; } - + [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] + [NonNull] + public string? referenceDocumentUri { get; set; } + /// ///The quantity changes of items at locations to be made. /// - [Description("The quantity changes of items at locations to be made.")] - [NonNull] - public IEnumerable? changes { get; set; } - } - + [Description("The quantity changes of items at locations to be made.")] + [NonNull] + public IEnumerable? changes { get; set; } + } + /// ///Return type for `inventoryMoveQuantities` mutation. /// - [Description("Return type for `inventoryMoveQuantities` mutation.")] - public class InventoryMoveQuantitiesPayload : GraphQLObject - { + [Description("Return type for `inventoryMoveQuantities` mutation.")] + public class InventoryMoveQuantitiesPayload : GraphQLObject + { /// ///The group of changes made by the operation. /// - [Description("The group of changes made by the operation.")] - public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } - + [Description("The group of changes made by the operation.")] + public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryMoveQuantities`. /// - [Description("An error that occurs during the execution of `InventoryMoveQuantities`.")] - public class InventoryMoveQuantitiesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryMoveQuantities`.")] + public class InventoryMoveQuantitiesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryMoveQuantitiesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryMoveQuantitiesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryMoveQuantitiesUserError`. /// - [Description("Possible error codes that can be returned by `InventoryMoveQuantitiesUserError`.")] - public enum InventoryMoveQuantitiesUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryMoveQuantitiesUserError`.")] + public enum InventoryMoveQuantitiesUserErrorCode + { /// ///Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API. /// - [Description("Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.")] - INTERNAL_LEDGER_DOCUMENT, + [Description("Internal (gid://shopify/) ledger documents are not allowed to be adjusted via API.")] + INTERNAL_LEDGER_DOCUMENT, /// ///A ledger document URI is not allowed when adjusting available. /// - [Description("A ledger document URI is not allowed when adjusting available.")] - INVALID_AVAILABLE_DOCUMENT, + [Description("A ledger document URI is not allowed when adjusting available.")] + INVALID_AVAILABLE_DOCUMENT, /// ///The specified inventory item could not be found. /// - [Description("The specified inventory item could not be found.")] - INVALID_INVENTORY_ITEM, + [Description("The specified inventory item could not be found.")] + INVALID_INVENTORY_ITEM, /// ///The specified ledger document is invalid. /// - [Description("The specified ledger document is invalid.")] - INVALID_LEDGER_DOCUMENT, + [Description("The specified ledger document is invalid.")] + INVALID_LEDGER_DOCUMENT, /// ///The specified location could not be found. /// - [Description("The specified location could not be found.")] - INVALID_LOCATION, + [Description("The specified location could not be found.")] + INVALID_LOCATION, /// ///A ledger document URI is required except when adjusting available. /// - [Description("A ledger document URI is required except when adjusting available.")] - INVALID_QUANTITY_DOCUMENT, + [Description("A ledger document URI is required except when adjusting available.")] + INVALID_QUANTITY_DOCUMENT, /// ///The specified quantity name is invalid. /// - [Description("The specified quantity name is invalid.")] - INVALID_QUANTITY_NAME, + [Description("The specified quantity name is invalid.")] + INVALID_QUANTITY_NAME, /// ///The quantity can't be negative. /// - [Description("The quantity can't be negative.")] - INVALID_QUANTITY_NEGATIVE, + [Description("The quantity can't be negative.")] + INVALID_QUANTITY_NEGATIVE, /// ///The quantity can't be higher than 2,000,000,000. /// - [Description("The quantity can't be higher than 2,000,000,000.")] - INVALID_QUANTITY_TOO_HIGH, + [Description("The quantity can't be higher than 2,000,000,000.")] + INVALID_QUANTITY_TOO_HIGH, /// ///The specified reason is invalid. /// - [Description("The specified reason is invalid.")] - INVALID_REASON, + [Description("The specified reason is invalid.")] + INVALID_REASON, /// ///The specified reference document is invalid. /// - [Description("The specified reference document is invalid.")] - INVALID_REFERENCE_DOCUMENT, + [Description("The specified reference document is invalid.")] + INVALID_REFERENCE_DOCUMENT, /// ///The quantities couldn't be moved. Try again. /// - [Description("The quantities couldn't be moved. Try again.")] - MOVE_QUANTITIES_FAILED, + [Description("The quantities couldn't be moved. Try again.")] + MOVE_QUANTITIES_FAILED, /// ///The quantities can't be moved between different locations. /// - [Description("The quantities can't be moved between different locations.")] - DIFFERENT_LOCATIONS, + [Description("The quantities can't be moved between different locations.")] + DIFFERENT_LOCATIONS, /// ///The quantity names for each change can't be the same. /// - [Description("The quantity names for each change can't be the same.")] - SAME_QUANTITY_NAME, + [Description("The quantity names for each change can't be the same.")] + SAME_QUANTITY_NAME, /// ///Only a maximum of 2 ledger document URIs across all changes is allowed. /// - [Description("Only a maximum of 2 ledger document URIs across all changes is allowed.")] - MAXIMUM_LEDGER_DOCUMENT_URIS, + [Description("Only a maximum of 2 ledger document URIs across all changes is allowed.")] + MAXIMUM_LEDGER_DOCUMENT_URIS, /// ///The inventory item is not stocked at the location. /// - [Description("The inventory item is not stocked at the location.")] - ITEM_NOT_STOCKED_AT_LOCATION, + [Description("The inventory item is not stocked at the location.")] + ITEM_NOT_STOCKED_AT_LOCATION, /// ///The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle. /// - [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] - NON_MUTABLE_INVENTORY_ITEM, - } - - public static class InventoryMoveQuantitiesUserErrorCodeStringValues - { - public const string INTERNAL_LEDGER_DOCUMENT = @"INTERNAL_LEDGER_DOCUMENT"; - public const string INVALID_AVAILABLE_DOCUMENT = @"INVALID_AVAILABLE_DOCUMENT"; - public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; - public const string INVALID_LEDGER_DOCUMENT = @"INVALID_LEDGER_DOCUMENT"; - public const string INVALID_LOCATION = @"INVALID_LOCATION"; - public const string INVALID_QUANTITY_DOCUMENT = @"INVALID_QUANTITY_DOCUMENT"; - public const string INVALID_QUANTITY_NAME = @"INVALID_QUANTITY_NAME"; - public const string INVALID_QUANTITY_NEGATIVE = @"INVALID_QUANTITY_NEGATIVE"; - public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; - public const string INVALID_REASON = @"INVALID_REASON"; - public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; - public const string MOVE_QUANTITIES_FAILED = @"MOVE_QUANTITIES_FAILED"; - public const string DIFFERENT_LOCATIONS = @"DIFFERENT_LOCATIONS"; - public const string SAME_QUANTITY_NAME = @"SAME_QUANTITY_NAME"; - public const string MAXIMUM_LEDGER_DOCUMENT_URIS = @"MAXIMUM_LEDGER_DOCUMENT_URIS"; - public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; - public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; - } - + [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] + NON_MUTABLE_INVENTORY_ITEM, + } + + public static class InventoryMoveQuantitiesUserErrorCodeStringValues + { + public const string INTERNAL_LEDGER_DOCUMENT = @"INTERNAL_LEDGER_DOCUMENT"; + public const string INVALID_AVAILABLE_DOCUMENT = @"INVALID_AVAILABLE_DOCUMENT"; + public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; + public const string INVALID_LEDGER_DOCUMENT = @"INVALID_LEDGER_DOCUMENT"; + public const string INVALID_LOCATION = @"INVALID_LOCATION"; + public const string INVALID_QUANTITY_DOCUMENT = @"INVALID_QUANTITY_DOCUMENT"; + public const string INVALID_QUANTITY_NAME = @"INVALID_QUANTITY_NAME"; + public const string INVALID_QUANTITY_NEGATIVE = @"INVALID_QUANTITY_NEGATIVE"; + public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; + public const string INVALID_REASON = @"INVALID_REASON"; + public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; + public const string MOVE_QUANTITIES_FAILED = @"MOVE_QUANTITIES_FAILED"; + public const string DIFFERENT_LOCATIONS = @"DIFFERENT_LOCATIONS"; + public const string SAME_QUANTITY_NAME = @"SAME_QUANTITY_NAME"; + public const string MAXIMUM_LEDGER_DOCUMENT_URIS = @"MAXIMUM_LEDGER_DOCUMENT_URIS"; + public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; + public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; + } + /// ///Represents the change to be made to an inventory item at a location. ///The change can either involve the same quantity name between different locations, ///or involve different quantity names between the same location. /// - [Description("Represents the change to be made to an inventory item at a location.\nThe change can either involve the same quantity name between different locations,\nor involve different quantity names between the same location.")] - public class InventoryMoveQuantityChange : GraphQLObject - { + [Description("Represents the change to be made to an inventory item at a location.\nThe change can either involve the same quantity name between different locations,\nor involve different quantity names between the same location.")] + public class InventoryMoveQuantityChange : GraphQLObject + { /// ///Specifies the inventory item to which the change will be applied. /// - [Description("Specifies the inventory item to which the change will be applied.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("Specifies the inventory item to which the change will be applied.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///The amount by which the inventory quantity will be changed. /// - [Description("The amount by which the inventory quantity will be changed.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The amount by which the inventory quantity will be changed.")] + [NonNull] + public int? quantity { get; set; } + /// ///Details about where the move will be made from. /// - [Description("Details about where the move will be made from.")] - [NonNull] - public InventoryMoveQuantityTerminalInput? from { get; set; } - + [Description("Details about where the move will be made from.")] + [NonNull] + public InventoryMoveQuantityTerminalInput? from { get; set; } + /// ///Details about where the move will be made to. /// - [Description("Details about where the move will be made to.")] - [NonNull] - public InventoryMoveQuantityTerminalInput? to { get; set; } - } - + [Description("Details about where the move will be made to.")] + [NonNull] + public InventoryMoveQuantityTerminalInput? to { get; set; } + } + /// ///The input fields representing the change to be made to an inventory item at a location. /// - [Description("The input fields representing the change to be made to an inventory item at a location.")] - public class InventoryMoveQuantityTerminalInput : GraphQLObject - { + [Description("The input fields representing the change to be made to an inventory item at a location.")] + public class InventoryMoveQuantityTerminalInput : GraphQLObject + { /// ///Specifies the location at which the change will be applied. /// - [Description("Specifies the location at which the change will be applied.")] - [NonNull] - public string? locationId { get; set; } - + [Description("Specifies the location at which the change will be applied.")] + [NonNull] + public string? locationId { get; set; } + /// ///The quantity ///[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) to be ///moved. /// - [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) to be\nmoved.")] - [NonNull] - public string? name { get; set; } - + [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) to be\nmoved.")] + [NonNull] + public string? name { get; set; } + /// ///A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change. /// @@ -53808,24 +53808,24 @@ public class InventoryMoveQuantityTerminalInput : GraphQLObject - [Description("A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[transaction-type]/[id]\n\nExamples:\n- gid://warehouse-app/InventoryTransaction/TXN-2024-001 (specific transaction)\n- gid://3pl-system/StockMovement/SM-2024-0125 (stock movement record)\n- gid://pos-app/InventoryUpdate/UPD-98765 (POS inventory update)\n- gid://erp-connector/LedgerEntry/LE-2024-11-21-001 (ledger entry)\n\nRequirements: Valid non-Shopify URI with scheme and content. Required for all quantity names except `available`. Cannot use gid://shopify/* format.")] - public string? ledgerDocumentUri { get; set; } - } - + [Description("A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[transaction-type]/[id]\n\nExamples:\n- gid://warehouse-app/InventoryTransaction/TXN-2024-001 (specific transaction)\n- gid://3pl-system/StockMovement/SM-2024-0125 (stock movement record)\n- gid://pos-app/InventoryUpdate/UPD-98765 (POS inventory update)\n- gid://erp-connector/LedgerEntry/LE-2024-11-21-001 (ledger entry)\n\nRequirements: Valid non-Shopify URI with scheme and content. Required for all quantity names except `available`. Cannot use gid://shopify/* format.")] + public string? ledgerDocumentUri { get; set; } + } + /// ///General inventory properties for the shop. /// - [Description("General inventory properties for the shop.")] - public class InventoryProperties : GraphQLObject - { + [Description("General inventory properties for the shop.")] + public class InventoryProperties : GraphQLObject + { /// ///All the quantity names. /// - [Description("All the quantity names.")] - [NonNull] - public IEnumerable? quantityNames { get; set; } - } - + [Description("All the quantity names.")] + [NonNull] + public IEnumerable? quantityNames { get; set; } + } + /// ///The `InventoryQuantity` object lets you manage and track inventory quantities for specific [states](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states). ///Inventory quantities represent different states of items such as available for purchase, committed to orders, reserved for drafts, incoming from suppliers, or set aside for quality control or safety stock. @@ -53835,270 +53835,270 @@ public class InventoryProperties : GraphQLObject ///Inventory quantities can be managed by a merchant or by [fulfillment services](https://shopify.dev/docs/api/admin-graphql/latest/objects/fulfillmentservice) that handle inventory tracking. ///Learn more about working with [Shopify's inventory management system](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps). /// - [Description("The `InventoryQuantity` object lets you manage and track inventory quantities for specific [states](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states).\nInventory quantities represent different states of items such as available for purchase, committed to orders, reserved for drafts, incoming from suppliers, or set aside for quality control or safety stock.\n\nYou can use [inventory levels](https://shopify.dev/docs/api/admin-graphql/latest/objects/inventorylevel) to manage where inventory items are stocked. You can also [make inventory adjustments](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryAdjustQuantities) to apply changes to inventory quantities.\n\nInventory quantities can be managed by a merchant or by [fulfillment services](https://shopify.dev/docs/api/admin-graphql/latest/objects/fulfillmentservice) that handle inventory tracking.\nLearn more about working with [Shopify's inventory management system](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps).")] - public class InventoryQuantity : GraphQLObject, INode - { + [Description("The `InventoryQuantity` object lets you manage and track inventory quantities for specific [states](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states).\nInventory quantities represent different states of items such as available for purchase, committed to orders, reserved for drafts, incoming from suppliers, or set aside for quality control or safety stock.\n\nYou can use [inventory levels](https://shopify.dev/docs/api/admin-graphql/latest/objects/inventorylevel) to manage where inventory items are stocked. You can also [make inventory adjustments](https://shopify.dev/docs/api/admin-graphql/latest/mutations/inventoryAdjustQuantities) to apply changes to inventory quantities.\n\nInventory quantities can be managed by a merchant or by [fulfillment services](https://shopify.dev/docs/api/admin-graphql/latest/objects/fulfillmentservice) that handle inventory tracking.\nLearn more about working with [Shopify's inventory management system](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps).")] + public class InventoryQuantity : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The inventory state [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) ///that identifies the inventory quantity. /// - [Description("The inventory state [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states)\nthat identifies the inventory quantity.")] - [NonNull] - public string? name { get; set; } - + [Description("The inventory state [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states)\nthat identifies the inventory quantity.")] + [NonNull] + public string? name { get; set; } + /// ///The quantity of an inventory item at a specific location, for a quantity ///[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states). /// - [Description("The quantity of an inventory item at a specific location, for a quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states).")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of an inventory item at a specific location, for a quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states).")] + [NonNull] + public int? quantity { get; set; } + /// ///When the inventory quantity was last updated. /// - [Description("When the inventory quantity was last updated.")] - public DateTime? updatedAt { get; set; } - } - + [Description("When the inventory quantity was last updated.")] + public DateTime? updatedAt { get; set; } + } + /// ///The input fields for the quantity to be set for an inventory item at a location. /// - [Description("The input fields for the quantity to be set for an inventory item at a location.")] - public class InventoryQuantityInput : GraphQLObject - { + [Description("The input fields for the quantity to be set for an inventory item at a location.")] + public class InventoryQuantityInput : GraphQLObject + { /// ///Specifies the inventory item to which the quantity will be set. /// - [Description("Specifies the inventory item to which the quantity will be set.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("Specifies the inventory item to which the quantity will be set.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///Specifies the location at which the quantity will be set. /// - [Description("Specifies the location at which the quantity will be set.")] - [NonNull] - public string? locationId { get; set; } - + [Description("Specifies the location at which the quantity will be set.")] + [NonNull] + public string? locationId { get; set; } + /// ///The quantity to which the inventory quantity will be set. /// - [Description("The quantity to which the inventory quantity will be set.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity to which the inventory quantity will be set.")] + [NonNull] + public int? quantity { get; set; } + /// ///The current quantity to be compared against the persisted quantity. /// - [Description("The current quantity to be compared against the persisted quantity.")] - public int? compareQuantity { get; set; } - } - + [Description("The current quantity to be compared against the persisted quantity.")] + public int? compareQuantity { get; set; } + } + /// ///Details about an individual quantity name. /// - [Description("Details about an individual quantity name.")] - public class InventoryQuantityName : GraphQLObject - { + [Description("Details about an individual quantity name.")] + public class InventoryQuantityName : GraphQLObject + { /// ///List of quantity names that this quantity name belongs to. /// - [Description("List of quantity names that this quantity name belongs to.")] - [NonNull] - public IEnumerable? belongsTo { get; set; } - + [Description("List of quantity names that this quantity name belongs to.")] + [NonNull] + public IEnumerable? belongsTo { get; set; } + /// ///List of quantity names that comprise this quantity name. /// - [Description("List of quantity names that comprise this quantity name.")] - [NonNull] - public IEnumerable? comprises { get; set; } - + [Description("List of quantity names that comprise this quantity name.")] + [NonNull] + public IEnumerable? comprises { get; set; } + /// ///The display name for quantity names translated into applicable language. /// - [Description("The display name for quantity names translated into applicable language.")] - public string? displayName { get; set; } - + [Description("The display name for quantity names translated into applicable language.")] + public string? displayName { get; set; } + /// ///Whether the quantity name has been used by the merchant. /// - [Description("Whether the quantity name has been used by the merchant.")] - [NonNull] - public bool? isInUse { get; set; } - + [Description("Whether the quantity name has been used by the merchant.")] + [NonNull] + public bool? isInUse { get; set; } + /// ///The [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) of ///the inventory quantity. Used by ///[inventory queries and mutations](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#graphql-queries-and-mutations). /// - [Description("The [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) of\nthe inventory quantity. Used by\n[inventory queries and mutations](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#graphql-queries-and-mutations).")] - [NonNull] - public string? name { get; set; } - } - + [Description("The [name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#inventory-states) of\nthe inventory quantity. Used by\n[inventory queries and mutations](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps#graphql-queries-and-mutations).")] + [NonNull] + public string? name { get; set; } + } + /// ///Returns the scheduled changes to inventory states related to the ledger document. /// - [Description("Returns the scheduled changes to inventory states related to the ledger document.")] - public class InventoryScheduledChange : GraphQLObject - { + [Description("Returns the scheduled changes to inventory states related to the ledger document.")] + public class InventoryScheduledChange : GraphQLObject + { /// ///The date and time that the scheduled change is expected to happen. /// - [Description("The date and time that the scheduled change is expected to happen.")] - [NonNull] - public DateTime? expectedAt { get; set; } - + [Description("The date and time that the scheduled change is expected to happen.")] + [NonNull] + public DateTime? expectedAt { get; set; } + /// ///The quantity ///[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states) ///to transition from. /// - [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition from.")] - [NonNull] - public string? fromName { get; set; } - + [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition from.")] + [NonNull] + public string? fromName { get; set; } + /// ///The quantities of an inventory item that are related to a specific location. /// - [Description("The quantities of an inventory item that are related to a specific location.")] - [NonNull] - public InventoryLevel? inventoryLevel { get; set; } - + [Description("The quantities of an inventory item that are related to a specific location.")] + [NonNull] + public InventoryLevel? inventoryLevel { get; set; } + /// ///A freeform URI that represents what changed the inventory quantities. /// - [Description("A freeform URI that represents what changed the inventory quantities.")] - [NonNull] - public string? ledgerDocumentUri { get; set; } - + [Description("A freeform URI that represents what changed the inventory quantities.")] + [NonNull] + public string? ledgerDocumentUri { get; set; } + /// ///The quantity of the scheduled change associated with the ledger document in the `fromName` state. /// - [Description("The quantity of the scheduled change associated with the ledger document in the `fromName` state.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the scheduled change associated with the ledger document in the `fromName` state.")] + [NonNull] + public int? quantity { get; set; } + /// ///The quantity ///[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states) ///to transition to. /// - [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition to.")] - [NonNull] - public string? toName { get; set; } - } - + [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition to.")] + [NonNull] + public string? toName { get; set; } + } + /// ///An auto-generated type for paginating through multiple InventoryScheduledChanges. /// - [Description("An auto-generated type for paginating through multiple InventoryScheduledChanges.")] - public class InventoryScheduledChangeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple InventoryScheduledChanges.")] + public class InventoryScheduledChangeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in InventoryScheduledChangeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in InventoryScheduledChangeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in InventoryScheduledChangeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one InventoryScheduledChange and a cursor during pagination. /// - [Description("An auto-generated type which holds one InventoryScheduledChange and a cursor during pagination.")] - public class InventoryScheduledChangeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one InventoryScheduledChange and a cursor during pagination.")] + public class InventoryScheduledChangeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of InventoryScheduledChangeEdge. /// - [Description("The item at the end of InventoryScheduledChangeEdge.")] - [NonNull] - public InventoryScheduledChange? node { get; set; } - } - + [Description("The item at the end of InventoryScheduledChangeEdge.")] + [NonNull] + public InventoryScheduledChange? node { get; set; } + } + /// ///The input fields for a scheduled change of an inventory item. /// - [Description("The input fields for a scheduled change of an inventory item.")] - public class InventoryScheduledChangeInput : GraphQLObject - { + [Description("The input fields for a scheduled change of an inventory item.")] + public class InventoryScheduledChangeInput : GraphQLObject + { /// ///The date and time that the scheduled change is expected to happen. /// - [Description("The date and time that the scheduled change is expected to happen.")] - [NonNull] - public DateTime? expectedAt { get; set; } - + [Description("The date and time that the scheduled change is expected to happen.")] + [NonNull] + public DateTime? expectedAt { get; set; } + /// ///The quantity ///[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states) ///to transition from. /// - [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition from.")] - [NonNull] - public string? fromName { get; set; } - + [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition from.")] + [NonNull] + public string? fromName { get; set; } + /// ///The quantity ///[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states) ///to transition to. /// - [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition to.")] - [NonNull] - public string? toName { get; set; } - } - + [Description("The quantity\n[name](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#move-inventory-quantities-between-states)\nto transition to.")] + [NonNull] + public string? toName { get; set; } + } + /// ///The input fields for the inventory item associated with the scheduled changes that need to be applied. /// - [Description("The input fields for the inventory item associated with the scheduled changes that need to be applied.")] - public class InventoryScheduledChangeItemInput : GraphQLObject - { + [Description("The input fields for the inventory item associated with the scheduled changes that need to be applied.")] + public class InventoryScheduledChangeItemInput : GraphQLObject + { /// ///The ID of the inventory item. /// - [Description("The ID of the inventory item.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("The ID of the inventory item.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///The ID of the location. /// - [Description("The ID of the location.")] - [NonNull] - public string? locationId { get; set; } - + [Description("The ID of the location.")] + [NonNull] + public string? locationId { get; set; } + /// ///A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change. /// @@ -54112,32 +54112,32 @@ public class InventoryScheduledChangeItemInput : GraphQLObject - [Description("A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[transaction-type]/[id]\n\nExamples:\n- gid://warehouse-app/InventoryTransaction/TXN-2024-001 (specific transaction)\n- gid://3pl-system/StockMovement/SM-2024-0125 (stock movement record)\n- gid://pos-app/InventoryUpdate/UPD-98765 (POS inventory update)\n- gid://erp-connector/LedgerEntry/LE-2024-11-21-001 (ledger entry)\n\nRequirements: Valid non-Shopify URI with scheme and content. Cannot use gid://shopify/* format.")] - [NonNull] - public string? ledgerDocumentUri { get; set; } - + [Description("A non-Shopify URI that identifies what specific inventory transaction or ledger entry was changed. Represents the exact inventory movement being referenced, distinct from the business reason for the change.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[transaction-type]/[id]\n\nExamples:\n- gid://warehouse-app/InventoryTransaction/TXN-2024-001 (specific transaction)\n- gid://3pl-system/StockMovement/SM-2024-0125 (stock movement record)\n- gid://pos-app/InventoryUpdate/UPD-98765 (POS inventory update)\n- gid://erp-connector/LedgerEntry/LE-2024-11-21-001 (ledger entry)\n\nRequirements: Valid non-Shopify URI with scheme and content. Cannot use gid://shopify/* format.")] + [NonNull] + public string? ledgerDocumentUri { get; set; } + /// ///An array of all the scheduled changes for the item. /// - [Description("An array of all the scheduled changes for the item.")] - [NonNull] - public IEnumerable? scheduledChanges { get; set; } - } - + [Description("An array of all the scheduled changes for the item.")] + [NonNull] + public IEnumerable? scheduledChanges { get; set; } + } + /// ///The input fields required to set inventory on hand quantities. /// - [Description("The input fields required to set inventory on hand quantities.")] - public class InventorySetOnHandQuantitiesInput : GraphQLObject - { + [Description("The input fields required to set inventory on hand quantities.")] + public class InventorySetOnHandQuantitiesInput : GraphQLObject + { /// ///The reason for the quantity changes. The value must be one of the [possible ///reasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand). /// - [Description("The reason for the quantity changes. The value must be one of the [possible\nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] - [NonNull] - public string? reason { get; set; } - + [Description("The reason for the quantity changes. The value must be one of the [possible\nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] + [NonNull] + public string? reason { get; set; } + /// ///A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history. /// @@ -54156,157 +54156,157 @@ public class InventorySetOnHandQuantitiesInput : GraphQLObject - [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] - public string? referenceDocumentUri { get; set; } - + [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] + public string? referenceDocumentUri { get; set; } + /// ///The value to which the on hand quantity will be set. /// - [Description("The value to which the on hand quantity will be set.")] - [NonNull] - public IEnumerable? setQuantities { get; set; } - } - + [Description("The value to which the on hand quantity will be set.")] + [NonNull] + public IEnumerable? setQuantities { get; set; } + } + /// ///Return type for `inventorySetOnHandQuantities` mutation. /// - [Description("Return type for `inventorySetOnHandQuantities` mutation.")] - public class InventorySetOnHandQuantitiesPayload : GraphQLObject - { + [Description("Return type for `inventorySetOnHandQuantities` mutation.")] + public class InventorySetOnHandQuantitiesPayload : GraphQLObject + { /// ///The group of changes made by the operation. /// - [Description("The group of changes made by the operation.")] - public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } - + [Description("The group of changes made by the operation.")] + public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventorySetOnHandQuantities`. /// - [Description("An error that occurs during the execution of `InventorySetOnHandQuantities`.")] - public class InventorySetOnHandQuantitiesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventorySetOnHandQuantities`.")] + public class InventorySetOnHandQuantitiesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventorySetOnHandQuantitiesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventorySetOnHandQuantitiesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventorySetOnHandQuantitiesUserError`. /// - [Description("Possible error codes that can be returned by `InventorySetOnHandQuantitiesUserError`.")] - public enum InventorySetOnHandQuantitiesUserErrorCode - { + [Description("Possible error codes that can be returned by `InventorySetOnHandQuantitiesUserError`.")] + public enum InventorySetOnHandQuantitiesUserErrorCode + { /// ///The specified inventory item could not be found. /// - [Description("The specified inventory item could not be found.")] - INVALID_INVENTORY_ITEM, + [Description("The specified inventory item could not be found.")] + INVALID_INVENTORY_ITEM, /// ///The specified location could not be found. /// - [Description("The specified location could not be found.")] - INVALID_LOCATION, + [Description("The specified location could not be found.")] + INVALID_LOCATION, /// ///The quantity can't be negative. /// - [Description("The quantity can't be negative.")] - INVALID_QUANTITY_NEGATIVE, + [Description("The quantity can't be negative.")] + INVALID_QUANTITY_NEGATIVE, /// ///The specified reason is invalid. /// - [Description("The specified reason is invalid.")] - INVALID_REASON, + [Description("The specified reason is invalid.")] + INVALID_REASON, /// ///The specified reference document is invalid. /// - [Description("The specified reference document is invalid.")] - INVALID_REFERENCE_DOCUMENT, + [Description("The specified reference document is invalid.")] + INVALID_REFERENCE_DOCUMENT, /// ///The on-hand quantities couldn't be set. Try again. /// - [Description("The on-hand quantities couldn't be set. Try again.")] - SET_ON_HAND_QUANTITIES_FAILED, + [Description("The on-hand quantities couldn't be set. Try again.")] + SET_ON_HAND_QUANTITIES_FAILED, /// ///The inventory item is not stocked at the location. /// - [Description("The inventory item is not stocked at the location.")] - ITEM_NOT_STOCKED_AT_LOCATION, + [Description("The inventory item is not stocked at the location.")] + ITEM_NOT_STOCKED_AT_LOCATION, /// ///The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle. /// - [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] - NON_MUTABLE_INVENTORY_ITEM, + [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] + NON_MUTABLE_INVENTORY_ITEM, /// ///The total quantity can't be higher than 1,000,000,000. /// - [Description("The total quantity can't be higher than 1,000,000,000.")] - INVALID_QUANTITY_TOO_HIGH, + [Description("The total quantity can't be higher than 1,000,000,000.")] + INVALID_QUANTITY_TOO_HIGH, /// ///The compareQuantity value does not match persisted value. /// - [Description("The compareQuantity value does not match persisted value.")] - COMPARE_QUANTITY_STALE, - } - - public static class InventorySetOnHandQuantitiesUserErrorCodeStringValues - { - public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; - public const string INVALID_LOCATION = @"INVALID_LOCATION"; - public const string INVALID_QUANTITY_NEGATIVE = @"INVALID_QUANTITY_NEGATIVE"; - public const string INVALID_REASON = @"INVALID_REASON"; - public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; - public const string SET_ON_HAND_QUANTITIES_FAILED = @"SET_ON_HAND_QUANTITIES_FAILED"; - public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; - public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; - public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; - public const string COMPARE_QUANTITY_STALE = @"COMPARE_QUANTITY_STALE"; - } - + [Description("The compareQuantity value does not match persisted value.")] + COMPARE_QUANTITY_STALE, + } + + public static class InventorySetOnHandQuantitiesUserErrorCodeStringValues + { + public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; + public const string INVALID_LOCATION = @"INVALID_LOCATION"; + public const string INVALID_QUANTITY_NEGATIVE = @"INVALID_QUANTITY_NEGATIVE"; + public const string INVALID_REASON = @"INVALID_REASON"; + public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; + public const string SET_ON_HAND_QUANTITIES_FAILED = @"SET_ON_HAND_QUANTITIES_FAILED"; + public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; + public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; + public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; + public const string COMPARE_QUANTITY_STALE = @"COMPARE_QUANTITY_STALE"; + } + /// ///The input fields required to set inventory quantities. /// - [Description("The input fields required to set inventory quantities.")] - public class InventorySetQuantitiesInput : GraphQLObject - { + [Description("The input fields required to set inventory quantities.")] + public class InventorySetQuantitiesInput : GraphQLObject + { /// ///The reason for the quantity changes. The value must be one of the [possible ///reasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand). /// - [Description("The reason for the quantity changes. The value must be one of the [possible\nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] - [NonNull] - public string? reason { get; set; } - + [Description("The reason for the quantity changes. The value must be one of the [possible\nreasons](https://shopify.dev/docs/apps/fulfillment/inventory-management-apps/quantities-states#set-inventory-quantities-on-hand).")] + [NonNull] + public string? reason { get; set; } + /// ///The name of quantities to be changed. The only accepted values are: `available` or `on_hand`. /// - [Description("The name of quantities to be changed. The only accepted values are: `available` or `on_hand`.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of quantities to be changed. The only accepted values are: `available` or `on_hand`.")] + [NonNull] + public string? name { get; set; } + /// ///A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history. /// @@ -54325,208 +54325,208 @@ public class InventorySetQuantitiesInput : GraphQLObject - [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] - public string? referenceDocumentUri { get; set; } - + [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] + public string? referenceDocumentUri { get; set; } + /// ///The values to which each quantities will be set. /// - [Description("The values to which each quantities will be set.")] - [NonNull] - public IEnumerable? quantities { get; set; } - + [Description("The values to which each quantities will be set.")] + [NonNull] + public IEnumerable? quantities { get; set; } + /// ///Skip the compare quantity check in the quantities field. /// - [Description("Skip the compare quantity check in the quantities field.")] - public bool? ignoreCompareQuantity { get; set; } - } - + [Description("Skip the compare quantity check in the quantities field.")] + public bool? ignoreCompareQuantity { get; set; } + } + /// ///Return type for `inventorySetQuantities` mutation. /// - [Description("Return type for `inventorySetQuantities` mutation.")] - public class InventorySetQuantitiesPayload : GraphQLObject - { + [Description("Return type for `inventorySetQuantities` mutation.")] + public class InventorySetQuantitiesPayload : GraphQLObject + { /// ///The group of changes made by the operation. /// - [Description("The group of changes made by the operation.")] - public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } - + [Description("The group of changes made by the operation.")] + public InventoryAdjustmentGroup? inventoryAdjustmentGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventorySetQuantities`. /// - [Description("An error that occurs during the execution of `InventorySetQuantities`.")] - public class InventorySetQuantitiesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventorySetQuantities`.")] + public class InventorySetQuantitiesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventorySetQuantitiesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventorySetQuantitiesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventorySetQuantitiesUserError`. /// - [Description("Possible error codes that can be returned by `InventorySetQuantitiesUserError`.")] - public enum InventorySetQuantitiesUserErrorCode - { + [Description("Possible error codes that can be returned by `InventorySetQuantitiesUserError`.")] + public enum InventorySetQuantitiesUserErrorCode + { /// ///The specified inventory item could not be found. /// - [Description("The specified inventory item could not be found.")] - INVALID_INVENTORY_ITEM, + [Description("The specified inventory item could not be found.")] + INVALID_INVENTORY_ITEM, /// ///The specified location could not be found. /// - [Description("The specified location could not be found.")] - INVALID_LOCATION, + [Description("The specified location could not be found.")] + INVALID_LOCATION, /// ///The quantity can't be negative. /// - [Description("The quantity can't be negative.")] - INVALID_QUANTITY_NEGATIVE, + [Description("The quantity can't be negative.")] + INVALID_QUANTITY_NEGATIVE, /// ///The specified reason is invalid. /// - [Description("The specified reason is invalid.")] - INVALID_REASON, + [Description("The specified reason is invalid.")] + INVALID_REASON, /// ///The specified reference document is invalid. /// - [Description("The specified reference document is invalid.")] - INVALID_REFERENCE_DOCUMENT, + [Description("The specified reference document is invalid.")] + INVALID_REFERENCE_DOCUMENT, /// ///The specified inventory item is not stocked at the location. /// - [Description("The specified inventory item is not stocked at the location.")] - ITEM_NOT_STOCKED_AT_LOCATION, + [Description("The specified inventory item is not stocked at the location.")] + ITEM_NOT_STOCKED_AT_LOCATION, /// ///The total quantity can't be higher than 1,000,000,000. /// - [Description("The total quantity can't be higher than 1,000,000,000.")] - INVALID_QUANTITY_TOO_HIGH, + [Description("The total quantity can't be higher than 1,000,000,000.")] + INVALID_QUANTITY_TOO_HIGH, /// ///The total quantity can't be lower than -1,000,000,000. /// - [Description("The total quantity can't be lower than -1,000,000,000.")] - INVALID_QUANTITY_TOO_LOW, + [Description("The total quantity can't be lower than -1,000,000,000.")] + INVALID_QUANTITY_TOO_LOW, /// ///The compareQuantity argument must be given to each quantity or ignored using ignoreCompareQuantity. /// - [Description("The compareQuantity argument must be given to each quantity or ignored using ignoreCompareQuantity.")] - COMPARE_QUANTITY_REQUIRED, + [Description("The compareQuantity argument must be given to each quantity or ignored using ignoreCompareQuantity.")] + COMPARE_QUANTITY_REQUIRED, /// ///The compareQuantity value does not match persisted value. /// - [Description("The compareQuantity value does not match persisted value.")] - COMPARE_QUANTITY_STALE, + [Description("The compareQuantity value does not match persisted value.")] + COMPARE_QUANTITY_STALE, /// ///The quantity name must be either 'available' or 'on_hand'. /// - [Description("The quantity name must be either 'available' or 'on_hand'.")] - INVALID_NAME, + [Description("The quantity name must be either 'available' or 'on_hand'.")] + INVALID_NAME, /// ///The combination of inventoryItemId and locationId must be unique. /// - [Description("The combination of inventoryItemId and locationId must be unique.")] - NO_DUPLICATE_INVENTORY_ITEM_ID_GROUP_ID_PAIR, + [Description("The combination of inventoryItemId and locationId must be unique.")] + NO_DUPLICATE_INVENTORY_ITEM_ID_GROUP_ID_PAIR, /// ///The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle. /// - [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] - NON_MUTABLE_INVENTORY_ITEM, - } - - public static class InventorySetQuantitiesUserErrorCodeStringValues - { - public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; - public const string INVALID_LOCATION = @"INVALID_LOCATION"; - public const string INVALID_QUANTITY_NEGATIVE = @"INVALID_QUANTITY_NEGATIVE"; - public const string INVALID_REASON = @"INVALID_REASON"; - public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; - public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; - public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; - public const string INVALID_QUANTITY_TOO_LOW = @"INVALID_QUANTITY_TOO_LOW"; - public const string COMPARE_QUANTITY_REQUIRED = @"COMPARE_QUANTITY_REQUIRED"; - public const string COMPARE_QUANTITY_STALE = @"COMPARE_QUANTITY_STALE"; - public const string INVALID_NAME = @"INVALID_NAME"; - public const string NO_DUPLICATE_INVENTORY_ITEM_ID_GROUP_ID_PAIR = @"NO_DUPLICATE_INVENTORY_ITEM_ID_GROUP_ID_PAIR"; - public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; - } - + [Description("The specified inventory item is not allowed to be adjusted via API. Example: if the inventory item is a parent bundle.")] + NON_MUTABLE_INVENTORY_ITEM, + } + + public static class InventorySetQuantitiesUserErrorCodeStringValues + { + public const string INVALID_INVENTORY_ITEM = @"INVALID_INVENTORY_ITEM"; + public const string INVALID_LOCATION = @"INVALID_LOCATION"; + public const string INVALID_QUANTITY_NEGATIVE = @"INVALID_QUANTITY_NEGATIVE"; + public const string INVALID_REASON = @"INVALID_REASON"; + public const string INVALID_REFERENCE_DOCUMENT = @"INVALID_REFERENCE_DOCUMENT"; + public const string ITEM_NOT_STOCKED_AT_LOCATION = @"ITEM_NOT_STOCKED_AT_LOCATION"; + public const string INVALID_QUANTITY_TOO_HIGH = @"INVALID_QUANTITY_TOO_HIGH"; + public const string INVALID_QUANTITY_TOO_LOW = @"INVALID_QUANTITY_TOO_LOW"; + public const string COMPARE_QUANTITY_REQUIRED = @"COMPARE_QUANTITY_REQUIRED"; + public const string COMPARE_QUANTITY_STALE = @"COMPARE_QUANTITY_STALE"; + public const string INVALID_NAME = @"INVALID_NAME"; + public const string NO_DUPLICATE_INVENTORY_ITEM_ID_GROUP_ID_PAIR = @"NO_DUPLICATE_INVENTORY_ITEM_ID_GROUP_ID_PAIR"; + public const string NON_MUTABLE_INVENTORY_ITEM = @"NON_MUTABLE_INVENTORY_ITEM"; + } + /// ///The input fields for the quantity to be set for an inventory item at a location. /// - [Description("The input fields for the quantity to be set for an inventory item at a location.")] - public class InventorySetQuantityInput : GraphQLObject - { + [Description("The input fields for the quantity to be set for an inventory item at a location.")] + public class InventorySetQuantityInput : GraphQLObject + { /// ///Specifies the inventory item to which the quantity will be set. /// - [Description("Specifies the inventory item to which the quantity will be set.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("Specifies the inventory item to which the quantity will be set.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///Specifies the location at which the quantity will be set. /// - [Description("Specifies the location at which the quantity will be set.")] - [NonNull] - public string? locationId { get; set; } - + [Description("Specifies the location at which the quantity will be set.")] + [NonNull] + public string? locationId { get; set; } + /// ///The quantity to which the inventory quantity will be set. /// - [Description("The quantity to which the inventory quantity will be set.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity to which the inventory quantity will be set.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields for setting up scheduled changes of inventory items. /// - [Description("The input fields for setting up scheduled changes of inventory items.")] - public class InventorySetScheduledChangesInput : GraphQLObject - { + [Description("The input fields for setting up scheduled changes of inventory items.")] + public class InventorySetScheduledChangesInput : GraphQLObject + { /// ///The reason for setting up the scheduled changes. /// - [Description("The reason for setting up the scheduled changes.")] - [NonNull] - public string? reason { get; set; } - + [Description("The reason for setting up the scheduled changes.")] + [NonNull] + public string? reason { get; set; } + /// ///The list of all the items on which the scheduled changes need to be applied. /// - [Description("The list of all the items on which the scheduled changes need to be applied.")] - [NonNull] - public IEnumerable? items { get; set; } - + [Description("The list of all the items on which the scheduled changes need to be applied.")] + [NonNull] + public IEnumerable? items { get; set; } + /// ///A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history. /// @@ -54545,1380 +54545,1380 @@ public class InventorySetScheduledChangesInput : GraphQLObject - [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] - [NonNull] - public string? referenceDocumentUri { get; set; } - } - + [Description("A URI that represents why the inventory change happened, identifying the source system and document that caused this adjustment. Enables complete audit trails and brand visibility in Shopify admin inventory history.\n\nPreferred format - Global ID (GID): gid://[your-app-name]/[entity-type]/[id]\n\nExamples:\n- gid://warehouse-app/PurchaseOrder/PO-2024-001 (stock received)\n- gid://3pl-system/CycleCount/CC-2024-0125 (cycle count adjustment)\n- gid://pos-app/Transaction/TXN-98765 (in-store sale)\n- gid://erp-connector/SyncJob/SYNC-2024-11-21-001 (ERP sync)\n- gid://shopify/Order/1234567890 (Shopify order reference)\n\nBenefits: Your app name appears directly in merchant inventory history, reducing support tickets and providing clear audit trails for compliance.\n\nAlternative formats (also supported): https://myapp.com/documents/12345, custom-scheme://identifier\n\nRequirements: Valid URI with scheme and content. For GID format, all components (app, entity, id) must be present.")] + [NonNull] + public string? referenceDocumentUri { get; set; } + } + /// ///Return type for `inventorySetScheduledChanges` mutation. /// - [Description("Return type for `inventorySetScheduledChanges` mutation.")] - public class InventorySetScheduledChangesPayload : GraphQLObject - { + [Description("Return type for `inventorySetScheduledChanges` mutation.")] + public class InventorySetScheduledChangesPayload : GraphQLObject + { /// ///The scheduled changes that were created. /// - [Description("The scheduled changes that were created.")] - public IEnumerable? scheduledChanges { get; set; } - + [Description("The scheduled changes that were created.")] + public IEnumerable? scheduledChanges { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventorySetScheduledChanges`. /// - [Description("An error that occurs during the execution of `InventorySetScheduledChanges`.")] - public class InventorySetScheduledChangesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventorySetScheduledChanges`.")] + public class InventorySetScheduledChangesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventorySetScheduledChangesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventorySetScheduledChangesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventorySetScheduledChangesUserError`. /// - [Description("Possible error codes that can be returned by `InventorySetScheduledChangesUserError`.")] - public enum InventorySetScheduledChangesUserErrorCode - { + [Description("Possible error codes that can be returned by `InventorySetScheduledChangesUserError`.")] + public enum InventorySetScheduledChangesUserErrorCode + { /// ///There was an error updating the scheduled changes. /// - [Description("There was an error updating the scheduled changes.")] - ERROR_UPDATING_SCHEDULED, + [Description("There was an error updating the scheduled changes.")] + ERROR_UPDATING_SCHEDULED, /// ///The from_name and to_name can't be the same. /// - [Description("The from_name and to_name can't be the same.")] - SAME_FROM_TO_NAMES, + [Description("The from_name and to_name can't be the same.")] + SAME_FROM_TO_NAMES, /// ///The specified fromName is invalid. /// - [Description("The specified fromName is invalid.")] - INVALID_FROM_NAME, + [Description("The specified fromName is invalid.")] + INVALID_FROM_NAME, /// ///The specified toName is invalid. /// - [Description("The specified toName is invalid.")] - INVALID_TO_NAME, + [Description("The specified toName is invalid.")] + INVALID_TO_NAME, /// ///The item can only have one scheduled change for quantity name as the toName. /// - [Description("The item can only have one scheduled change for quantity name as the toName.")] - DUPLICATE_TO_NAME, + [Description("The item can only have one scheduled change for quantity name as the toName.")] + DUPLICATE_TO_NAME, /// ///The specified reason is invalid. /// - [Description("The specified reason is invalid.")] - INVALID_REASON, + [Description("The specified reason is invalid.")] + INVALID_REASON, /// ///The item can only have one scheduled change for quantity name as the fromName. /// - [Description("The item can only have one scheduled change for quantity name as the fromName.")] - DUPLICATE_FROM_NAME, + [Description("The item can only have one scheduled change for quantity name as the fromName.")] + DUPLICATE_FROM_NAME, /// ///The location couldn't be found. /// - [Description("The location couldn't be found.")] - LOCATION_NOT_FOUND, + [Description("The location couldn't be found.")] + LOCATION_NOT_FOUND, /// ///The inventory item was not found at the location specified. /// - [Description("The inventory item was not found at the location specified.")] - INVENTORY_STATE_NOT_FOUND, + [Description("The inventory item was not found at the location specified.")] + INVENTORY_STATE_NOT_FOUND, /// ///At least 1 item must be provided. /// - [Description("At least 1 item must be provided.")] - ITEMS_EMPTY, + [Description("At least 1 item must be provided.")] + ITEMS_EMPTY, /// ///The inventory item was not found. /// - [Description("The inventory item was not found.")] - INVENTORY_ITEM_NOT_FOUND, + [Description("The inventory item was not found.")] + INVENTORY_ITEM_NOT_FOUND, /// ///The specified field is invalid. /// - [Description("The specified field is invalid.")] - INCLUSION, + [Description("The specified field is invalid.")] + INCLUSION, /// ///The ledger document URI is invalid. /// - [Description("The ledger document URI is invalid.")] - LEDGER_DOCUMENT_INVALID, - } - - public static class InventorySetScheduledChangesUserErrorCodeStringValues - { - public const string ERROR_UPDATING_SCHEDULED = @"ERROR_UPDATING_SCHEDULED"; - public const string SAME_FROM_TO_NAMES = @"SAME_FROM_TO_NAMES"; - public const string INVALID_FROM_NAME = @"INVALID_FROM_NAME"; - public const string INVALID_TO_NAME = @"INVALID_TO_NAME"; - public const string DUPLICATE_TO_NAME = @"DUPLICATE_TO_NAME"; - public const string INVALID_REASON = @"INVALID_REASON"; - public const string DUPLICATE_FROM_NAME = @"DUPLICATE_FROM_NAME"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string INVENTORY_STATE_NOT_FOUND = @"INVENTORY_STATE_NOT_FOUND"; - public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; - public const string INVENTORY_ITEM_NOT_FOUND = @"INVENTORY_ITEM_NOT_FOUND"; - public const string INCLUSION = @"INCLUSION"; - public const string LEDGER_DOCUMENT_INVALID = @"LEDGER_DOCUMENT_INVALID"; - } - + [Description("The ledger document URI is invalid.")] + LEDGER_DOCUMENT_INVALID, + } + + public static class InventorySetScheduledChangesUserErrorCodeStringValues + { + public const string ERROR_UPDATING_SCHEDULED = @"ERROR_UPDATING_SCHEDULED"; + public const string SAME_FROM_TO_NAMES = @"SAME_FROM_TO_NAMES"; + public const string INVALID_FROM_NAME = @"INVALID_FROM_NAME"; + public const string INVALID_TO_NAME = @"INVALID_TO_NAME"; + public const string DUPLICATE_TO_NAME = @"DUPLICATE_TO_NAME"; + public const string INVALID_REASON = @"INVALID_REASON"; + public const string DUPLICATE_FROM_NAME = @"DUPLICATE_FROM_NAME"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string INVENTORY_STATE_NOT_FOUND = @"INVENTORY_STATE_NOT_FOUND"; + public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; + public const string INVENTORY_ITEM_NOT_FOUND = @"INVENTORY_ITEM_NOT_FOUND"; + public const string INCLUSION = @"INCLUSION"; + public const string LEDGER_DOCUMENT_INVALID = @"LEDGER_DOCUMENT_INVALID"; + } + /// ///Represents an inventory shipment. /// - [Description("Represents an inventory shipment.")] - public class InventoryShipment : GraphQLObject, INode - { + [Description("Represents an inventory shipment.")] + public class InventoryShipment : GraphQLObject, INode + { /// ///The date the shipment was created in UTC. /// - [Description("The date the shipment was created in UTC.")] - public DateTime? dateCreated { get; set; } - + [Description("The date the shipment was created in UTC.")] + public DateTime? dateCreated { get; set; } + /// ///The date the shipment was initially received in UTC. /// - [Description("The date the shipment was initially received in UTC.")] - public DateTime? dateReceived { get; set; } - + [Description("The date the shipment was initially received in UTC.")] + public DateTime? dateReceived { get; set; } + /// ///The date the shipment was shipped in UTC. /// - [Description("The date the shipment was shipped in UTC.")] - public DateTime? dateShipped { get; set; } - + [Description("The date the shipment was shipped in UTC.")] + public DateTime? dateShipped { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The total quantity of all items in the shipment. /// - [Description("The total quantity of all items in the shipment.")] - [NonNull] - public int? lineItemTotalQuantity { get; set; } - + [Description("The total quantity of all items in the shipment.")] + [NonNull] + public int? lineItemTotalQuantity { get; set; } + /// ///The line items included in this shipment. /// - [Description("The line items included in this shipment.")] - public InventoryShipmentLineItemConnection? lineItems { get; set; } - + [Description("The line items included in this shipment.")] + public InventoryShipmentLineItemConnection? lineItems { get; set; } + /// ///The number of line items associated with the inventory shipment. Limited to a maximum of 10000 by default. /// - [Description("The number of line items associated with the inventory shipment. Limited to a maximum of 10000 by default.")] - public Count? lineItemsCount { get; set; } - + [Description("The number of line items associated with the inventory shipment. Limited to a maximum of 10000 by default.")] + public Count? lineItemsCount { get; set; } + /// ///The name of the inventory shipment. /// - [Description("The name of the inventory shipment.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the inventory shipment.")] + [NonNull] + public string? name { get; set; } + /// ///The current status of the shipment. /// - [Description("The current status of the shipment.")] - [NonNull] - [EnumType(typeof(InventoryShipmentStatus))] - public string? status { get; set; } - + [Description("The current status of the shipment.")] + [NonNull] + [EnumType(typeof(InventoryShipmentStatus))] + public string? status { get; set; } + /// ///The total quantity of items accepted across all line items in this shipment. /// - [Description("The total quantity of items accepted across all line items in this shipment.")] - [NonNull] - public int? totalAcceptedQuantity { get; set; } - + [Description("The total quantity of items accepted across all line items in this shipment.")] + [NonNull] + public int? totalAcceptedQuantity { get; set; } + /// ///The total quantity of items received (both accepted and rejected) across all line items in this shipment. /// - [Description("The total quantity of items received (both accepted and rejected) across all line items in this shipment.")] - [NonNull] - public int? totalReceivedQuantity { get; set; } - + [Description("The total quantity of items received (both accepted and rejected) across all line items in this shipment.")] + [NonNull] + public int? totalReceivedQuantity { get; set; } + /// ///The total quantity of items rejected across all line items in this shipment. /// - [Description("The total quantity of items rejected across all line items in this shipment.")] - [NonNull] - public int? totalRejectedQuantity { get; set; } - + [Description("The total quantity of items rejected across all line items in this shipment.")] + [NonNull] + public int? totalRejectedQuantity { get; set; } + /// ///The tracking information for the shipment. /// - [Description("The tracking information for the shipment.")] - public InventoryShipmentTracking? tracking { get; set; } - } - + [Description("The tracking information for the shipment.")] + public InventoryShipmentTracking? tracking { get; set; } + } + /// ///Return type for `inventoryShipmentAddItems` mutation. /// - [Description("Return type for `inventoryShipmentAddItems` mutation.")] - public class InventoryShipmentAddItemsPayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentAddItems` mutation.")] + public class InventoryShipmentAddItemsPayload : GraphQLObject + { /// ///The list of added line items. /// - [Description("The list of added line items.")] - public IEnumerable? addedItems { get; set; } - + [Description("The list of added line items.")] + public IEnumerable? addedItems { get; set; } + /// ///The inventory shipment with the added items. /// - [Description("The inventory shipment with the added items.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("The inventory shipment with the added items.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentAddItems`. /// - [Description("An error that occurs during the execution of `InventoryShipmentAddItems`.")] - public class InventoryShipmentAddItemsUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentAddItems`.")] + public class InventoryShipmentAddItemsUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentAddItemsUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentAddItemsUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentAddItemsUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentAddItemsUserError`.")] - public enum InventoryShipmentAddItemsUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentAddItemsUserError`.")] + public enum InventoryShipmentAddItemsUserErrorCode + { /// ///Current shipment status does not support this operation. /// - [Description("Current shipment status does not support this operation.")] - INVALID_SHIPMENT_STATUS, + [Description("Current shipment status does not support this operation.")] + INVALID_SHIPMENT_STATUS, /// ///A single item can't be listed twice. /// - [Description("A single item can't be listed twice.")] - DUPLICATE_ITEM, + [Description("A single item can't be listed twice.")] + DUPLICATE_ITEM, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The item does not track inventory. /// - [Description("The item does not track inventory.")] - UNTRACKED_ITEM, + [Description("The item does not track inventory.")] + UNTRACKED_ITEM, /// ///The shipment was not found. /// - [Description("The shipment was not found.")] - SHIPMENT_NOT_FOUND, + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, - } - - public static class InventoryShipmentAddItemsUserErrorCodeStringValues - { - public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; - public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; - public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - } - + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, + } + + public static class InventoryShipmentAddItemsUserErrorCodeStringValues + { + public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; + public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + } + /// ///An auto-generated type for paginating through multiple InventoryShipments. /// - [Description("An auto-generated type for paginating through multiple InventoryShipments.")] - public class InventoryShipmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple InventoryShipments.")] + public class InventoryShipmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in InventoryShipmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in InventoryShipmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in InventoryShipmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `inventoryShipmentCreateInTransit` mutation. /// - [Description("Return type for `inventoryShipmentCreateInTransit` mutation.")] - public class InventoryShipmentCreateInTransitPayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentCreateInTransit` mutation.")] + public class InventoryShipmentCreateInTransitPayload : GraphQLObject + { /// ///The created inventory shipment. /// - [Description("The created inventory shipment.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("The created inventory shipment.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentCreateInTransit`. /// - [Description("An error that occurs during the execution of `InventoryShipmentCreateInTransit`.")] - public class InventoryShipmentCreateInTransitUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentCreateInTransit`.")] + public class InventoryShipmentCreateInTransitUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentCreateInTransitUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentCreateInTransitUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentCreateInTransitUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentCreateInTransitUserError`.")] - public enum InventoryShipmentCreateInTransitUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentCreateInTransitUserError`.")] + public enum InventoryShipmentCreateInTransitUserErrorCode + { /// ///A single item can't be listed twice. /// - [Description("A single item can't be listed twice.")] - DUPLICATE_ITEM, + [Description("A single item can't be listed twice.")] + DUPLICATE_ITEM, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, /// ///The item does not track inventory. /// - [Description("The item does not track inventory.")] - UNTRACKED_ITEM, + [Description("The item does not track inventory.")] + UNTRACKED_ITEM, /// ///The shipment input cannot be empty. /// - [Description("The shipment input cannot be empty.")] - EMPTY_SHIPMENT_INPUT, + [Description("The shipment input cannot be empty.")] + EMPTY_SHIPMENT_INPUT, /// ///The list of line items is empty. /// - [Description("The list of line items is empty.")] - ITEMS_EMPTY, + [Description("The list of line items is empty.")] + ITEMS_EMPTY, /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///The URL is invalid. /// - [Description("The URL is invalid.")] - INVALID_URL, + [Description("The URL is invalid.")] + INVALID_URL, /// ///The shipment input is invalid. /// - [Description("The shipment input is invalid.")] - INVALID_SHIPMENT_INPUT, + [Description("The shipment input is invalid.")] + INVALID_SHIPMENT_INPUT, /// ///One or more items are not valid. /// - [Description("One or more items are not valid.")] - INVALID_ITEM, + [Description("One or more items are not valid.")] + INVALID_ITEM, /// ///The item is not stocked at the intended location. /// - [Description("The item is not stocked at the intended location.")] - INVENTORY_STATE_NOT_ACTIVE, + [Description("The item is not stocked at the intended location.")] + INVENTORY_STATE_NOT_ACTIVE, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, - } - - public static class InventoryShipmentCreateInTransitUserErrorCodeStringValues - { - public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; - public const string EMPTY_SHIPMENT_INPUT = @"EMPTY_SHIPMENT_INPUT"; - public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string INVALID_URL = @"INVALID_URL"; - public const string INVALID_SHIPMENT_INPUT = @"INVALID_SHIPMENT_INPUT"; - public const string INVALID_ITEM = @"INVALID_ITEM"; - public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - } - + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, + } + + public static class InventoryShipmentCreateInTransitUserErrorCodeStringValues + { + public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; + public const string EMPTY_SHIPMENT_INPUT = @"EMPTY_SHIPMENT_INPUT"; + public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string INVALID_URL = @"INVALID_URL"; + public const string INVALID_SHIPMENT_INPUT = @"INVALID_SHIPMENT_INPUT"; + public const string INVALID_ITEM = @"INVALID_ITEM"; + public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + } + /// ///The input fields to add a shipment. /// - [Description("The input fields to add a shipment.")] - public class InventoryShipmentCreateInput : GraphQLObject - { + [Description("The input fields to add a shipment.")] + public class InventoryShipmentCreateInput : GraphQLObject + { /// ///The ID of the inventory movement (transfer or purchase order) this shipment belongs to. /// - [Description("The ID of the inventory movement (transfer or purchase order) this shipment belongs to.")] - [NonNull] - public string? movementId { get; set; } - + [Description("The ID of the inventory movement (transfer or purchase order) this shipment belongs to.")] + [NonNull] + public string? movementId { get; set; } + /// ///The tracking information for the shipment. /// - [Description("The tracking information for the shipment.")] - public InventoryShipmentTrackingInput? trackingInput { get; set; } - + [Description("The tracking information for the shipment.")] + public InventoryShipmentTrackingInput? trackingInput { get; set; } + /// ///The list of line items for the inventory shipment. /// - [Description("The list of line items for the inventory shipment.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The list of line items for the inventory shipment.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///The date the shipment was created. /// - [Description("The date the shipment was created.")] - public DateTime? dateCreated { get; set; } - } - + [Description("The date the shipment was created.")] + public DateTime? dateCreated { get; set; } + } + /// ///Return type for `inventoryShipmentCreate` mutation. /// - [Description("Return type for `inventoryShipmentCreate` mutation.")] - public class InventoryShipmentCreatePayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentCreate` mutation.")] + public class InventoryShipmentCreatePayload : GraphQLObject + { /// ///The created inventory shipment. /// - [Description("The created inventory shipment.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("The created inventory shipment.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentCreate`. /// - [Description("An error that occurs during the execution of `InventoryShipmentCreate`.")] - public class InventoryShipmentCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentCreate`.")] + public class InventoryShipmentCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentCreateUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentCreateUserError`.")] - public enum InventoryShipmentCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentCreateUserError`.")] + public enum InventoryShipmentCreateUserErrorCode + { /// ///The shipment input cannot be empty. /// - [Description("The shipment input cannot be empty.")] - EMPTY_SHIPMENT_INPUT, + [Description("The shipment input cannot be empty.")] + EMPTY_SHIPMENT_INPUT, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, /// ///Bundled items cannot be used for this operation. /// - [Description("Bundled items cannot be used for this operation.")] - BUNDLED_ITEM, + [Description("Bundled items cannot be used for this operation.")] + BUNDLED_ITEM, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///The item does not track inventory. /// - [Description("The item does not track inventory.")] - UNTRACKED_ITEM, + [Description("The item does not track inventory.")] + UNTRACKED_ITEM, /// ///A single item can't be listed twice. /// - [Description("A single item can't be listed twice.")] - DUPLICATE_ITEM, + [Description("A single item can't be listed twice.")] + DUPLICATE_ITEM, /// ///The shipment input is invalid. /// - [Description("The shipment input is invalid.")] - INVALID_SHIPMENT_INPUT, + [Description("The shipment input is invalid.")] + INVALID_SHIPMENT_INPUT, /// ///One or more items are not valid. /// - [Description("One or more items are not valid.")] - INVALID_ITEM, + [Description("One or more items are not valid.")] + INVALID_ITEM, /// ///The URL is invalid. /// - [Description("The URL is invalid.")] - INVALID_URL, + [Description("The URL is invalid.")] + INVALID_URL, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, - } - - public static class InventoryShipmentCreateUserErrorCodeStringValues - { - public const string EMPTY_SHIPMENT_INPUT = @"EMPTY_SHIPMENT_INPUT"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; - public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; - public const string INVALID_SHIPMENT_INPUT = @"INVALID_SHIPMENT_INPUT"; - public const string INVALID_ITEM = @"INVALID_ITEM"; - public const string INVALID_URL = @"INVALID_URL"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - } - + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, + } + + public static class InventoryShipmentCreateUserErrorCodeStringValues + { + public const string EMPTY_SHIPMENT_INPUT = @"EMPTY_SHIPMENT_INPUT"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; + public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; + public const string INVALID_SHIPMENT_INPUT = @"INVALID_SHIPMENT_INPUT"; + public const string INVALID_ITEM = @"INVALID_ITEM"; + public const string INVALID_URL = @"INVALID_URL"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + } + /// ///Return type for `inventoryShipmentDelete` mutation. /// - [Description("Return type for `inventoryShipmentDelete` mutation.")] - public class InventoryShipmentDeletePayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentDelete` mutation.")] + public class InventoryShipmentDeletePayload : GraphQLObject + { /// ///The ID of the inventory shipment that was deleted. /// - [Description("The ID of the inventory shipment that was deleted.")] - public string? id { get; set; } - + [Description("The ID of the inventory shipment that was deleted.")] + public string? id { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentDelete`. /// - [Description("An error that occurs during the execution of `InventoryShipmentDelete`.")] - public class InventoryShipmentDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentDelete`.")] + public class InventoryShipmentDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentDeleteUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentDeleteUserError`.")] - public enum InventoryShipmentDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentDeleteUserError`.")] + public enum InventoryShipmentDeleteUserErrorCode + { /// ///The shipment was not found. /// - [Description("The shipment was not found.")] - SHIPMENT_NOT_FOUND, + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, /// ///Current shipment status does not support this operation. /// - [Description("Current shipment status does not support this operation.")] - INVALID_SHIPMENT_STATUS, - } - - public static class InventoryShipmentDeleteUserErrorCodeStringValues - { - public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; - public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; - } - + [Description("Current shipment status does not support this operation.")] + INVALID_SHIPMENT_STATUS, + } + + public static class InventoryShipmentDeleteUserErrorCodeStringValues + { + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; + } + /// ///An auto-generated type which holds one InventoryShipment and a cursor during pagination. /// - [Description("An auto-generated type which holds one InventoryShipment and a cursor during pagination.")] - public class InventoryShipmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one InventoryShipment and a cursor during pagination.")] + public class InventoryShipmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of InventoryShipmentEdge. /// - [Description("The item at the end of InventoryShipmentEdge.")] - [NonNull] - public InventoryShipment? node { get; set; } - } - + [Description("The item at the end of InventoryShipmentEdge.")] + [NonNull] + public InventoryShipment? node { get; set; } + } + /// ///Represents a single line item within an inventory shipment. /// - [Description("Represents a single line item within an inventory shipment.")] - public class InventoryShipmentLineItem : GraphQLObject, INode - { + [Description("Represents a single line item within an inventory shipment.")] + public class InventoryShipmentLineItem : GraphQLObject, INode + { /// ///The quantity of items that were accepted in this shipment line item. /// - [Description("The quantity of items that were accepted in this shipment line item.")] - [NonNull] - public int? acceptedQuantity { get; set; } - + [Description("The quantity of items that were accepted in this shipment line item.")] + [NonNull] + public int? acceptedQuantity { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The inventory item associated with this line item. /// - [Description("The inventory item associated with this line item.")] - public InventoryItem? inventoryItem { get; set; } - + [Description("The inventory item associated with this line item.")] + public InventoryItem? inventoryItem { get; set; } + /// ///The quantity of items in this shipment line item. /// - [Description("The quantity of items in this shipment line item.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of items in this shipment line item.")] + [NonNull] + public int? quantity { get; set; } + /// ///The quantity of items that were rejected in this shipment line item. /// - [Description("The quantity of items that were rejected in this shipment line item.")] - [NonNull] - public int? rejectedQuantity { get; set; } - + [Description("The quantity of items that were rejected in this shipment line item.")] + [NonNull] + public int? rejectedQuantity { get; set; } + /// ///The total quantity of units that haven't been received (neither accepted or rejected) in this shipment line item. /// - [Description("The total quantity of units that haven't been received (neither accepted or rejected) in this shipment line item.")] - [NonNull] - public int? unreceivedQuantity { get; set; } - } - + [Description("The total quantity of units that haven't been received (neither accepted or rejected) in this shipment line item.")] + [NonNull] + public int? unreceivedQuantity { get; set; } + } + /// ///An auto-generated type for paginating through multiple InventoryShipmentLineItems. /// - [Description("An auto-generated type for paginating through multiple InventoryShipmentLineItems.")] - public class InventoryShipmentLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple InventoryShipmentLineItems.")] + public class InventoryShipmentLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in InventoryShipmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in InventoryShipmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in InventoryShipmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one InventoryShipmentLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one InventoryShipmentLineItem and a cursor during pagination.")] - public class InventoryShipmentLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one InventoryShipmentLineItem and a cursor during pagination.")] + public class InventoryShipmentLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of InventoryShipmentLineItemEdge. /// - [Description("The item at the end of InventoryShipmentLineItemEdge.")] - [NonNull] - public InventoryShipmentLineItem? node { get; set; } - } - + [Description("The item at the end of InventoryShipmentLineItemEdge.")] + [NonNull] + public InventoryShipmentLineItem? node { get; set; } + } + /// ///The input fields for a line item on an inventory shipment. /// - [Description("The input fields for a line item on an inventory shipment.")] - public class InventoryShipmentLineItemInput : GraphQLObject - { + [Description("The input fields for a line item on an inventory shipment.")] + public class InventoryShipmentLineItemInput : GraphQLObject + { /// ///The inventory item ID for the shipment line item. /// - [Description("The inventory item ID for the shipment line item.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("The inventory item ID for the shipment line item.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///The quantity for the shipment line item. /// - [Description("The quantity for the shipment line item.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity for the shipment line item.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///Return type for `inventoryShipmentMarkInTransit` mutation. /// - [Description("Return type for `inventoryShipmentMarkInTransit` mutation.")] - public class InventoryShipmentMarkInTransitPayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentMarkInTransit` mutation.")] + public class InventoryShipmentMarkInTransitPayload : GraphQLObject + { /// ///The marked in transit inventory shipment. /// - [Description("The marked in transit inventory shipment.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("The marked in transit inventory shipment.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentMarkInTransit`. /// - [Description("An error that occurs during the execution of `InventoryShipmentMarkInTransit`.")] - public class InventoryShipmentMarkInTransitUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentMarkInTransit`.")] + public class InventoryShipmentMarkInTransitUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentMarkInTransitUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentMarkInTransitUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentMarkInTransitUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentMarkInTransitUserError`.")] - public enum InventoryShipmentMarkInTransitUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentMarkInTransitUserError`.")] + public enum InventoryShipmentMarkInTransitUserErrorCode + { /// ///The shipment was not found. /// - [Description("The shipment was not found.")] - SHIPMENT_NOT_FOUND, + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, /// ///Current shipment status does not support this operation. /// - [Description("Current shipment status does not support this operation.")] - INVALID_SHIPMENT_STATUS, + [Description("Current shipment status does not support this operation.")] + INVALID_SHIPMENT_STATUS, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The item is not stocked at the intended location. /// - [Description("The item is not stocked at the intended location.")] - INVENTORY_STATE_NOT_ACTIVE, + [Description("The item is not stocked at the intended location.")] + INVENTORY_STATE_NOT_ACTIVE, /// ///The item does not track inventory. /// - [Description("The item does not track inventory.")] - UNTRACKED_ITEM, + [Description("The item does not track inventory.")] + UNTRACKED_ITEM, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///The list of line items is empty. /// - [Description("The list of line items is empty.")] - ITEMS_EMPTY, + [Description("The list of line items is empty.")] + ITEMS_EMPTY, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, /// ///Failed to activate inventory at location. /// - [Description("Failed to activate inventory at location.")] - ACTIVATION_FAILED, - } - - public static class InventoryShipmentMarkInTransitUserErrorCodeStringValues - { - public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; - public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; - public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - public const string ACTIVATION_FAILED = @"ACTIVATION_FAILED"; - } - + [Description("Failed to activate inventory at location.")] + ACTIVATION_FAILED, + } + + public static class InventoryShipmentMarkInTransitUserErrorCodeStringValues + { + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; + public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + public const string ACTIVATION_FAILED = @"ACTIVATION_FAILED"; + } + /// ///The input fields to receive an item on an inventory shipment. /// - [Description("The input fields to receive an item on an inventory shipment.")] - public class InventoryShipmentReceiveItemInput : GraphQLObject - { + [Description("The input fields to receive an item on an inventory shipment.")] + public class InventoryShipmentReceiveItemInput : GraphQLObject + { /// ///The shipment line item ID to be received. /// - [Description("The shipment line item ID to be received.")] - [NonNull] - public string? shipmentLineItemId { get; set; } - + [Description("The shipment line item ID to be received.")] + [NonNull] + public string? shipmentLineItemId { get; set; } + /// ///The quantity for the item to be received. /// - [Description("The quantity for the item to be received.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity for the item to be received.")] + [NonNull] + public int? quantity { get; set; } + /// ///The reason for received item. /// - [Description("The reason for received item.")] - [NonNull] - [EnumType(typeof(InventoryShipmentReceiveLineItemReason))] - public string? reason { get; set; } - } - + [Description("The reason for received item.")] + [NonNull] + [EnumType(typeof(InventoryShipmentReceiveLineItemReason))] + public string? reason { get; set; } + } + /// ///The reason for receiving a line item on an inventory shipment. /// - [Description("The reason for receiving a line item on an inventory shipment.")] - public enum InventoryShipmentReceiveLineItemReason - { + [Description("The reason for receiving a line item on an inventory shipment.")] + public enum InventoryShipmentReceiveLineItemReason + { /// ///The line item was accepted. /// - [Description("The line item was accepted.")] - ACCEPTED, + [Description("The line item was accepted.")] + ACCEPTED, /// ///The line item was rejected. /// - [Description("The line item was rejected.")] - REJECTED, - } - - public static class InventoryShipmentReceiveLineItemReasonStringValues - { - public const string ACCEPTED = @"ACCEPTED"; - public const string REJECTED = @"REJECTED"; - } - + [Description("The line item was rejected.")] + REJECTED, + } + + public static class InventoryShipmentReceiveLineItemReasonStringValues + { + public const string ACCEPTED = @"ACCEPTED"; + public const string REJECTED = @"REJECTED"; + } + /// ///Return type for `inventoryShipmentReceive` mutation. /// - [Description("Return type for `inventoryShipmentReceive` mutation.")] - public class InventoryShipmentReceivePayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentReceive` mutation.")] + public class InventoryShipmentReceivePayload : GraphQLObject + { /// ///The inventory shipment with received items. /// - [Description("The inventory shipment with received items.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("The inventory shipment with received items.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentReceive`. /// - [Description("An error that occurs during the execution of `InventoryShipmentReceive`.")] - public class InventoryShipmentReceiveUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentReceive`.")] + public class InventoryShipmentReceiveUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentReceiveUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentReceiveUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentReceiveUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentReceiveUserError`.")] - public enum InventoryShipmentReceiveUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentReceiveUserError`.")] + public enum InventoryShipmentReceiveUserErrorCode + { /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///Current shipment status does not support this operation. /// - [Description("Current shipment status does not support this operation.")] - INVALID_SHIPMENT_STATUS, + [Description("Current shipment status does not support this operation.")] + INVALID_SHIPMENT_STATUS, /// ///The item is not stocked at the intended location. /// - [Description("The item is not stocked at the intended location.")] - INVENTORY_STATE_NOT_ACTIVE, + [Description("The item is not stocked at the intended location.")] + INVENTORY_STATE_NOT_ACTIVE, /// ///The shipment was not found. /// - [Description("The shipment was not found.")] - SHIPMENT_NOT_FOUND, + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, - } - - public static class InventoryShipmentReceiveUserErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; - public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; - public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - } - + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, + } + + public static class InventoryShipmentReceiveUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; + public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + } + /// ///Return type for `inventoryShipmentRemoveItems` mutation. /// - [Description("Return type for `inventoryShipmentRemoveItems` mutation.")] - public class InventoryShipmentRemoveItemsPayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentRemoveItems` mutation.")] + public class InventoryShipmentRemoveItemsPayload : GraphQLObject + { /// ///The inventory shipment with items removed. /// - [Description("The inventory shipment with items removed.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("The inventory shipment with items removed.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentRemoveItems`. /// - [Description("An error that occurs during the execution of `InventoryShipmentRemoveItems`.")] - public class InventoryShipmentRemoveItemsUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentRemoveItems`.")] + public class InventoryShipmentRemoveItemsUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentRemoveItemsUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentRemoveItemsUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentRemoveItemsUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentRemoveItemsUserError`.")] - public enum InventoryShipmentRemoveItemsUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentRemoveItemsUserError`.")] + public enum InventoryShipmentRemoveItemsUserErrorCode + { /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///The shipment was not found. /// - [Description("The shipment was not found.")] - SHIPMENT_NOT_FOUND, + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///Current shipment status does not support this operation. /// - [Description("Current shipment status does not support this operation.")] - INVALID_SHIPMENT_STATUS, + [Description("Current shipment status does not support this operation.")] + INVALID_SHIPMENT_STATUS, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, - } - - public static class InventoryShipmentRemoveItemsUserErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - } - + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, + } + + public static class InventoryShipmentRemoveItemsUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + } + /// ///Return type for `inventoryShipmentSetTracking` mutation. /// - [Description("Return type for `inventoryShipmentSetTracking` mutation.")] - public class InventoryShipmentSetTrackingPayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentSetTracking` mutation.")] + public class InventoryShipmentSetTrackingPayload : GraphQLObject + { /// ///The inventory shipment with the edited tracking info. /// - [Description("The inventory shipment with the edited tracking info.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("The inventory shipment with the edited tracking info.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentSetTracking`. /// - [Description("An error that occurs during the execution of `InventoryShipmentSetTracking`.")] - public class InventoryShipmentSetTrackingUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentSetTracking`.")] + public class InventoryShipmentSetTrackingUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentSetTrackingUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentSetTrackingUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentSetTrackingUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentSetTrackingUserError`.")] - public enum InventoryShipmentSetTrackingUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentSetTrackingUserError`.")] + public enum InventoryShipmentSetTrackingUserErrorCode + { /// ///The shipment was not found. /// - [Description("The shipment was not found.")] - SHIPMENT_NOT_FOUND, + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, /// ///The URL is invalid. /// - [Description("The URL is invalid.")] - INVALID_URL, - } - - public static class InventoryShipmentSetTrackingUserErrorCodeStringValues - { - public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; - public const string INVALID_URL = @"INVALID_URL"; - } - + [Description("The URL is invalid.")] + INVALID_URL, + } + + public static class InventoryShipmentSetTrackingUserErrorCodeStringValues + { + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string INVALID_URL = @"INVALID_URL"; + } + /// ///The status of an inventory shipment. /// - [Description("The status of an inventory shipment.")] - public enum InventoryShipmentStatus - { + [Description("The status of an inventory shipment.")] + public enum InventoryShipmentStatus + { /// ///The inventory shipment has been created but not yet shipped. /// - [Description("The inventory shipment has been created but not yet shipped.")] - DRAFT, + [Description("The inventory shipment has been created but not yet shipped.")] + DRAFT, /// ///The inventory shipment is currently in transit. /// - [Description("The inventory shipment is currently in transit.")] - IN_TRANSIT, + [Description("The inventory shipment is currently in transit.")] + IN_TRANSIT, /// ///The inventory shipment has been partially received at the destination. /// - [Description("The inventory shipment has been partially received at the destination.")] - PARTIALLY_RECEIVED, + [Description("The inventory shipment has been partially received at the destination.")] + PARTIALLY_RECEIVED, /// ///The inventory shipment has been completely received at the destination. /// - [Description("The inventory shipment has been completely received at the destination.")] - RECEIVED, + [Description("The inventory shipment has been completely received at the destination.")] + RECEIVED, /// ///Status not included in the current enumeration set. /// - [Description("Status not included in the current enumeration set.")] - OTHER, - } - - public static class InventoryShipmentStatusStringValues - { - public const string DRAFT = @"DRAFT"; - public const string IN_TRANSIT = @"IN_TRANSIT"; - public const string PARTIALLY_RECEIVED = @"PARTIALLY_RECEIVED"; - public const string RECEIVED = @"RECEIVED"; - public const string OTHER = @"OTHER"; - } - + [Description("Status not included in the current enumeration set.")] + OTHER, + } + + public static class InventoryShipmentStatusStringValues + { + public const string DRAFT = @"DRAFT"; + public const string IN_TRANSIT = @"IN_TRANSIT"; + public const string PARTIALLY_RECEIVED = @"PARTIALLY_RECEIVED"; + public const string RECEIVED = @"RECEIVED"; + public const string OTHER = @"OTHER"; + } + /// ///Represents the tracking information for an inventory shipment. /// - [Description("Represents the tracking information for an inventory shipment.")] - public class InventoryShipmentTracking : GraphQLObject - { + [Description("Represents the tracking information for an inventory shipment.")] + public class InventoryShipmentTracking : GraphQLObject + { /// ///The estimated date and time that the shipment will arrive. /// - [Description("The estimated date and time that the shipment will arrive.")] - public DateTime? arrivesAt { get; set; } - + [Description("The estimated date and time that the shipment will arrive.")] + public DateTime? arrivesAt { get; set; } + /// ///The name of the shipping carrier company. /// - [Description("The name of the shipping carrier company.")] - public string? company { get; set; } - + [Description("The name of the shipping carrier company.")] + public string? company { get; set; } + /// ///The tracking number used by the carrier to identify the shipment. /// - [Description("The tracking number used by the carrier to identify the shipment.")] - public string? trackingNumber { get; set; } - + [Description("The tracking number used by the carrier to identify the shipment.")] + public string? trackingNumber { get; set; } + /// ///The URL to track the shipment. /// @@ -55926,22 +55926,22 @@ public class InventoryShipmentTracking : GraphQLObject - [Description("The URL to track the shipment.\n\nGiven a tracking number and a shipping carrier company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#field-company),\nShopify will return a generated tracking URL if no tracking URL was set manually.")] - public string? trackingUrl { get; set; } - } - + [Description("The URL to track the shipment.\n\nGiven a tracking number and a shipping carrier company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#field-company),\nShopify will return a generated tracking URL if no tracking URL was set manually.")] + public string? trackingUrl { get; set; } + } + /// ///The input fields for an inventory shipment's tracking information. /// - [Description("The input fields for an inventory shipment's tracking information.")] - public class InventoryShipmentTrackingInput : GraphQLObject - { + [Description("The input fields for an inventory shipment's tracking information.")] + public class InventoryShipmentTrackingInput : GraphQLObject + { /// ///The tracking number for the shipment. /// - [Description("The tracking number for the shipment.")] - public string? trackingNumber { get; set; } - + [Description("The tracking number for the shipment.")] + public string? trackingNumber { get; set; } + /// ///The name of the shipping carrier company. /// @@ -55949,9 +55949,9 @@ public class InventoryShipmentTrackingInput : GraphQLObject - [Description("The name of the shipping carrier company.\n\nGiven a shipping carrier company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#field-company),\nShopify can build a tracking URL for a provided tracking number.")] - public string? company { get; set; } - + [Description("The name of the shipping carrier company.\n\nGiven a shipping carrier company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#field-company),\nShopify can build a tracking URL for a provided tracking number.")] + public string? company { get; set; } + /// ///The URL to track the shipment. /// @@ -55959,2683 +55959,2683 @@ public class InventoryShipmentTrackingInput : GraphQLObject - [Description("The URL to track the shipment.\n\nUse this field to specify a custom tracking URL. If no custom tracking URL is set, Shopify will automatically provide\nthis field on query for a tracking number and a supported shipping carrier company from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#field-company).")] - public string? trackingUrl { get; set; } - + [Description("The URL to track the shipment.\n\nUse this field to specify a custom tracking URL. If no custom tracking URL is set, Shopify will automatically provide\nthis field on query for a tracking number and a supported shipping carrier company from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#field-company).")] + public string? trackingUrl { get; set; } + /// ///The estimated date and time that the shipment will arrive. /// - [Description("The estimated date and time that the shipment will arrive.")] - public DateTime? arrivesAt { get; set; } - } - + [Description("The estimated date and time that the shipment will arrive.")] + public DateTime? arrivesAt { get; set; } + } + /// ///The input fields for a line item on an inventory shipment. /// - [Description("The input fields for a line item on an inventory shipment.")] - public class InventoryShipmentUpdateItemQuantitiesInput : GraphQLObject - { + [Description("The input fields for a line item on an inventory shipment.")] + public class InventoryShipmentUpdateItemQuantitiesInput : GraphQLObject + { /// ///The ID for the inventory shipment line item. /// - [Description("The ID for the inventory shipment line item.")] - [NonNull] - public string? shipmentLineItemId { get; set; } - + [Description("The ID for the inventory shipment line item.")] + [NonNull] + public string? shipmentLineItemId { get; set; } + /// ///The quantity for the shipment line item. /// - [Description("The quantity for the shipment line item.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity for the shipment line item.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///Return type for `inventoryShipmentUpdateItemQuantities` mutation. /// - [Description("Return type for `inventoryShipmentUpdateItemQuantities` mutation.")] - public class InventoryShipmentUpdateItemQuantitiesPayload : GraphQLObject - { + [Description("Return type for `inventoryShipmentUpdateItemQuantities` mutation.")] + public class InventoryShipmentUpdateItemQuantitiesPayload : GraphQLObject + { /// ///The inventory shipment with updated item quantities. /// - [Description("The inventory shipment with updated item quantities.")] - public InventoryShipment? shipment { get; set; } - + [Description("The inventory shipment with updated item quantities.")] + public InventoryShipment? shipment { get; set; } + /// ///The updated item quantities. /// - [Description("The updated item quantities.")] - public IEnumerable? updatedLineItems { get; set; } - + [Description("The updated item quantities.")] + public IEnumerable? updatedLineItems { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryShipmentUpdateItemQuantities`. /// - [Description("An error that occurs during the execution of `InventoryShipmentUpdateItemQuantities`.")] - public class InventoryShipmentUpdateItemQuantitiesUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryShipmentUpdateItemQuantities`.")] + public class InventoryShipmentUpdateItemQuantitiesUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryShipmentUpdateItemQuantitiesUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryShipmentUpdateItemQuantitiesUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryShipmentUpdateItemQuantitiesUserError`. /// - [Description("Possible error codes that can be returned by `InventoryShipmentUpdateItemQuantitiesUserError`.")] - public enum InventoryShipmentUpdateItemQuantitiesUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryShipmentUpdateItemQuantitiesUserError`.")] + public enum InventoryShipmentUpdateItemQuantitiesUserErrorCode + { /// ///The shipment was not found. /// - [Description("The shipment was not found.")] - SHIPMENT_NOT_FOUND, + [Description("The shipment was not found.")] + SHIPMENT_NOT_FOUND, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///Current shipment status does not support this operation. /// - [Description("Current shipment status does not support this operation.")] - INVALID_SHIPMENT_STATUS, + [Description("Current shipment status does not support this operation.")] + INVALID_SHIPMENT_STATUS, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, - } - - public static class InventoryShipmentUpdateItemQuantitiesUserErrorCodeStringValues - { - public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - } - + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, + } + + public static class InventoryShipmentUpdateItemQuantitiesUserErrorCodeStringValues + { + public const string SHIPMENT_NOT_FOUND = @"SHIPMENT_NOT_FOUND"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string INVALID_SHIPMENT_STATUS = @"INVALID_SHIPMENT_STATUS"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + } + /// ///Represents the intention to move inventory between locations. /// - [Description("Represents the intention to move inventory between locations.")] - public class InventoryTransfer : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, ICommentEventEmbed - { + [Description("Represents the intention to move inventory between locations.")] + public class InventoryTransfer : GraphQLObject, ICommentEventSubject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, INode, ICommentEventEmbed + { /// ///The date and time the inventory transfer was created in UTC format. /// - [Description("The date and time the inventory transfer was created in UTC format.")] - public DateTime? dateCreated { get; set; } - + [Description("The date and time the inventory transfer was created in UTC format.")] + public DateTime? dateCreated { get; set; } + /// ///Snapshot of the destination location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil. /// - [Description("Snapshot of the destination location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil.")] - public LocationSnapshot? destination { get; set; } - + [Description("Snapshot of the destination location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil.")] + public LocationSnapshot? destination { get; set; } + /// ///The list of events associated with the inventory transfer. /// - [Description("The list of events associated with the inventory transfer.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The list of events associated with the inventory transfer.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///Whether the merchant has added timeline comments to the inventory transfer. /// - [Description("Whether the merchant has added timeline comments to the inventory transfer.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether the merchant has added timeline comments to the inventory transfer.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The line items associated with the inventory transfer. /// - [Description("The line items associated with the inventory transfer.")] - [NonNull] - public InventoryTransferLineItemConnection? lineItems { get; set; } - + [Description("The line items associated with the inventory transfer.")] + [NonNull] + public InventoryTransferLineItemConnection? lineItems { get; set; } + /// ///The number of line items associated with the inventory transfer. Limited to a maximum of 10000 by default. /// - [Description("The number of line items associated with the inventory transfer. Limited to a maximum of 10000 by default.")] - public Count? lineItemsCount { get; set; } - + [Description("The number of line items associated with the inventory transfer. Limited to a maximum of 10000 by default.")] + public Count? lineItemsCount { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The name of the inventory transfer. /// - [Description("The name of the inventory transfer.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the inventory transfer.")] + [NonNull] + public string? name { get; set; } + /// ///Additional note attached to the inventory transfer. /// - [Description("Additional note attached to the inventory transfer.")] - public string? note { get; set; } - + [Description("Additional note attached to the inventory transfer.")] + public string? note { get; set; } + /// ///Snapshot of the origin location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil. /// - [Description("Snapshot of the origin location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil.")] - public LocationSnapshot? origin { get; set; } - + [Description("Snapshot of the origin location (name, address, when snapped) with an optional link to the live Location object. If the original location is deleted, the snapshot data will still be available but the location link will be nil.")] + public LocationSnapshot? origin { get; set; } + /// ///The total quantity of items received in the transfer. /// - [Description("The total quantity of items received in the transfer.")] - [NonNull] - public int? receivedQuantity { get; set; } - + [Description("The total quantity of items received in the transfer.")] + [NonNull] + public int? receivedQuantity { get; set; } + /// ///The reference name of the inventory transfer. /// - [Description("The reference name of the inventory transfer.")] - public string? referenceName { get; set; } - + [Description("The reference name of the inventory transfer.")] + public string? referenceName { get; set; } + /// ///The shipments associated with the inventory transfer. /// - [Description("The shipments associated with the inventory transfer.")] - [NonNull] - public InventoryShipmentConnection? shipments { get; set; } - + [Description("The shipments associated with the inventory transfer.")] + [NonNull] + public InventoryShipmentConnection? shipments { get; set; } + /// ///The current status of the transfer. /// - [Description("The current status of the transfer.")] - [NonNull] - [EnumType(typeof(InventoryTransferStatus))] - public string? status { get; set; } - + [Description("The current status of the transfer.")] + [NonNull] + [EnumType(typeof(InventoryTransferStatus))] + public string? status { get; set; } + /// ///A list of tags that have been added to the inventory transfer. /// - [Description("A list of tags that have been added to the inventory transfer.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("A list of tags that have been added to the inventory transfer.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The total quantity of items being transferred. /// - [Description("The total quantity of items being transferred.")] - [NonNull] - public int? totalQuantity { get; set; } - } - + [Description("The total quantity of items being transferred.")] + [NonNull] + public int? totalQuantity { get; set; } + } + /// ///Return type for `inventoryTransferCancel` mutation. /// - [Description("Return type for `inventoryTransferCancel` mutation.")] - public class InventoryTransferCancelPayload : GraphQLObject - { + [Description("Return type for `inventoryTransferCancel` mutation.")] + public class InventoryTransferCancelPayload : GraphQLObject + { /// ///The cancelled inventory transfer. /// - [Description("The cancelled inventory transfer.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The cancelled inventory transfer.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferCancel`. /// - [Description("An error that occurs during the execution of `InventoryTransferCancel`.")] - public class InventoryTransferCancelUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferCancel`.")] + public class InventoryTransferCancelUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferCancelUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferCancelUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferCancelUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferCancelUserError`.")] - public enum InventoryTransferCancelUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferCancelUserError`.")] + public enum InventoryTransferCancelUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, /// ///Shipment already exists for the transfer. /// - [Description("Shipment already exists for the transfer.")] - SHIPMENT_EXISTS, - } - - public static class InventoryTransferCancelUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - public const string SHIPMENT_EXISTS = @"SHIPMENT_EXISTS"; - } - + [Description("Shipment already exists for the transfer.")] + SHIPMENT_EXISTS, + } + + public static class InventoryTransferCancelUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + public const string SHIPMENT_EXISTS = @"SHIPMENT_EXISTS"; + } + /// ///An auto-generated type for paginating through multiple InventoryTransfers. /// - [Description("An auto-generated type for paginating through multiple InventoryTransfers.")] - public class InventoryTransferConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple InventoryTransfers.")] + public class InventoryTransferConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in InventoryTransferEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in InventoryTransferEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in InventoryTransferEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to create an inventory transfer. /// - [Description("The input fields to create an inventory transfer.")] - public class InventoryTransferCreateAsReadyToShipInput : GraphQLObject - { + [Description("The input fields to create an inventory transfer.")] + public class InventoryTransferCreateAsReadyToShipInput : GraphQLObject + { /// ///The origin location for the inventory transfer. /// - [Description("The origin location for the inventory transfer.")] - public string? originLocationId { get; set; } - + [Description("The origin location for the inventory transfer.")] + public string? originLocationId { get; set; } + /// ///The destination location for the inventory transfer. /// - [Description("The destination location for the inventory transfer.")] - public string? destinationLocationId { get; set; } - + [Description("The destination location for the inventory transfer.")] + public string? destinationLocationId { get; set; } + /// ///The list of line items for the inventory transfer. /// - [Description("The list of line items for the inventory transfer.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The list of line items for the inventory transfer.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///The date and time the inventory transfer was created. If left blank, defaults to the current date and time in UTC format. /// - [Description("The date and time the inventory transfer was created. If left blank, defaults to the current date and time in UTC format.")] - public DateTime? dateCreated { get; set; } - + [Description("The date and time the inventory transfer was created. If left blank, defaults to the current date and time in UTC format.")] + public DateTime? dateCreated { get; set; } + /// ///A note to add to the Inventory Transfer. /// - [Description("A note to add to the Inventory Transfer.")] - public string? note { get; set; } - + [Description("A note to add to the Inventory Transfer.")] + public string? note { get; set; } + /// ///The tags to add to the inventory transfer. /// - [Description("The tags to add to the inventory transfer.")] - public IEnumerable? tags { get; set; } - + [Description("The tags to add to the inventory transfer.")] + public IEnumerable? tags { get; set; } + /// ///The reference name to add to the inventory transfer. /// - [Description("The reference name to add to the inventory transfer.")] - public string? referenceName { get; set; } - } - + [Description("The reference name to add to the inventory transfer.")] + public string? referenceName { get; set; } + } + /// ///Return type for `inventoryTransferCreateAsReadyToShip` mutation. /// - [Description("Return type for `inventoryTransferCreateAsReadyToShip` mutation.")] - public class InventoryTransferCreateAsReadyToShipPayload : GraphQLObject - { + [Description("Return type for `inventoryTransferCreateAsReadyToShip` mutation.")] + public class InventoryTransferCreateAsReadyToShipPayload : GraphQLObject + { /// ///The created inventory transfer. /// - [Description("The created inventory transfer.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The created inventory transfer.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferCreateAsReadyToShip`. /// - [Description("An error that occurs during the execution of `InventoryTransferCreateAsReadyToShip`.")] - public class InventoryTransferCreateAsReadyToShipUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferCreateAsReadyToShip`.")] + public class InventoryTransferCreateAsReadyToShipUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferCreateAsReadyToShipUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferCreateAsReadyToShipUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferCreateAsReadyToShipUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferCreateAsReadyToShipUserError`.")] - public enum InventoryTransferCreateAsReadyToShipUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferCreateAsReadyToShipUserError`.")] + public enum InventoryTransferCreateAsReadyToShipUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///The list of line items is empty. /// - [Description("The list of line items is empty.")] - ITEMS_EMPTY, + [Description("The list of line items is empty.")] + ITEMS_EMPTY, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, /// ///The location selected can't be found. /// - [Description("The location selected can't be found.")] - LOCATION_NOT_FOUND, + [Description("The location selected can't be found.")] + LOCATION_NOT_FOUND, /// ///The origin location cannot be the same as the destination location. /// - [Description("The origin location cannot be the same as the destination location.")] - TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION, + [Description("The origin location cannot be the same as the destination location.")] + TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION, /// ///The tag exceeds the maximum length. /// - [Description("The tag exceeds the maximum length.")] - TAG_EXCEEDS_MAX_LENGTH, + [Description("The tag exceeds the maximum length.")] + TAG_EXCEEDS_MAX_LENGTH, /// ///A location is required for this operation. /// - [Description("A location is required for this operation.")] - LOCATION_REQUIRED, + [Description("A location is required for this operation.")] + LOCATION_REQUIRED, /// ///Bundled items cannot be used for this operation. /// - [Description("Bundled items cannot be used for this operation.")] - BUNDLED_ITEM, + [Description("Bundled items cannot be used for this operation.")] + BUNDLED_ITEM, /// ///The item does not track inventory. /// - [Description("The item does not track inventory.")] - UNTRACKED_ITEM, + [Description("The item does not track inventory.")] + UNTRACKED_ITEM, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///A single item can't be listed twice. /// - [Description("A single item can't be listed twice.")] - DUPLICATE_ITEM, + [Description("A single item can't be listed twice.")] + DUPLICATE_ITEM, /// ///The item is not stocked at the intended location. /// - [Description("The item is not stocked at the intended location.")] - INVENTORY_STATE_NOT_ACTIVE, - } - - public static class InventoryTransferCreateAsReadyToShipUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION = @"TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION"; - public const string TAG_EXCEEDS_MAX_LENGTH = @"TAG_EXCEEDS_MAX_LENGTH"; - public const string LOCATION_REQUIRED = @"LOCATION_REQUIRED"; - public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; - public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; - public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; - } - + [Description("The item is not stocked at the intended location.")] + INVENTORY_STATE_NOT_ACTIVE, + } + + public static class InventoryTransferCreateAsReadyToShipUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION = @"TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION"; + public const string TAG_EXCEEDS_MAX_LENGTH = @"TAG_EXCEEDS_MAX_LENGTH"; + public const string LOCATION_REQUIRED = @"LOCATION_REQUIRED"; + public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; + public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; + public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; + } + /// ///The input fields to create an inventory transfer. /// - [Description("The input fields to create an inventory transfer.")] - public class InventoryTransferCreateInput : GraphQLObject - { + [Description("The input fields to create an inventory transfer.")] + public class InventoryTransferCreateInput : GraphQLObject + { /// ///The origin location for the inventory transfer. /// - [Description("The origin location for the inventory transfer.")] - public string? originLocationId { get; set; } - + [Description("The origin location for the inventory transfer.")] + public string? originLocationId { get; set; } + /// ///The destination location for the inventory transfer. /// - [Description("The destination location for the inventory transfer.")] - public string? destinationLocationId { get; set; } - + [Description("The destination location for the inventory transfer.")] + public string? destinationLocationId { get; set; } + /// ///The list of line items for the inventory transfer. /// - [Description("The list of line items for the inventory transfer.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The list of line items for the inventory transfer.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///The date and time the inventory transfer was created. If left blank, defaults to the current date and time in UTC format. /// - [Description("The date and time the inventory transfer was created. If left blank, defaults to the current date and time in UTC format.")] - public DateTime? dateCreated { get; set; } - + [Description("The date and time the inventory transfer was created. If left blank, defaults to the current date and time in UTC format.")] + public DateTime? dateCreated { get; set; } + /// ///A note to add to the Inventory Transfer. /// - [Description("A note to add to the Inventory Transfer.")] - public string? note { get; set; } - + [Description("A note to add to the Inventory Transfer.")] + public string? note { get; set; } + /// ///The tags to add to the inventory transfer. /// - [Description("The tags to add to the inventory transfer.")] - public IEnumerable? tags { get; set; } - + [Description("The tags to add to the inventory transfer.")] + public IEnumerable? tags { get; set; } + /// ///The reference name to add to the inventory transfer. /// - [Description("The reference name to add to the inventory transfer.")] - public string? referenceName { get; set; } - } - + [Description("The reference name to add to the inventory transfer.")] + public string? referenceName { get; set; } + } + /// ///Return type for `inventoryTransferCreate` mutation. /// - [Description("Return type for `inventoryTransferCreate` mutation.")] - public class InventoryTransferCreatePayload : GraphQLObject - { + [Description("Return type for `inventoryTransferCreate` mutation.")] + public class InventoryTransferCreatePayload : GraphQLObject + { /// ///The created inventory transfer. /// - [Description("The created inventory transfer.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The created inventory transfer.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferCreate`. /// - [Description("An error that occurs during the execution of `InventoryTransferCreate`.")] - public class InventoryTransferCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferCreate`.")] + public class InventoryTransferCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferCreateUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferCreateUserError`.")] - public enum InventoryTransferCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferCreateUserError`.")] + public enum InventoryTransferCreateUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///The location selected can't be found. /// - [Description("The location selected can't be found.")] - LOCATION_NOT_FOUND, + [Description("The location selected can't be found.")] + LOCATION_NOT_FOUND, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, /// ///The origin location cannot be the same as the destination location. /// - [Description("The origin location cannot be the same as the destination location.")] - TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION, + [Description("The origin location cannot be the same as the destination location.")] + TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION, /// ///The tag exceeds the maximum length. /// - [Description("The tag exceeds the maximum length.")] - TAG_EXCEEDS_MAX_LENGTH, + [Description("The tag exceeds the maximum length.")] + TAG_EXCEEDS_MAX_LENGTH, /// ///Bundled items cannot be used for this operation. /// - [Description("Bundled items cannot be used for this operation.")] - BUNDLED_ITEM, + [Description("Bundled items cannot be used for this operation.")] + BUNDLED_ITEM, /// ///The item does not track inventory. /// - [Description("The item does not track inventory.")] - UNTRACKED_ITEM, + [Description("The item does not track inventory.")] + UNTRACKED_ITEM, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///A single item can't be listed twice. /// - [Description("A single item can't be listed twice.")] - DUPLICATE_ITEM, + [Description("A single item can't be listed twice.")] + DUPLICATE_ITEM, /// ///The item is not stocked at the intended location. /// - [Description("The item is not stocked at the intended location.")] - INVENTORY_STATE_NOT_ACTIVE, - } - - public static class InventoryTransferCreateUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - public const string TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION = @"TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION"; - public const string TAG_EXCEEDS_MAX_LENGTH = @"TAG_EXCEEDS_MAX_LENGTH"; - public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; - public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; - public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; - } - + [Description("The item is not stocked at the intended location.")] + INVENTORY_STATE_NOT_ACTIVE, + } + + public static class InventoryTransferCreateUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + public const string TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION = @"TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION"; + public const string TAG_EXCEEDS_MAX_LENGTH = @"TAG_EXCEEDS_MAX_LENGTH"; + public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; + public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; + public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; + } + /// ///Return type for `inventoryTransferDelete` mutation. /// - [Description("Return type for `inventoryTransferDelete` mutation.")] - public class InventoryTransferDeletePayload : GraphQLObject - { + [Description("Return type for `inventoryTransferDelete` mutation.")] + public class InventoryTransferDeletePayload : GraphQLObject + { /// ///The ID of the deleted inventory transfer. /// - [Description("The ID of the deleted inventory transfer.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted inventory transfer.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferDelete`. /// - [Description("An error that occurs during the execution of `InventoryTransferDelete`.")] - public class InventoryTransferDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferDelete`.")] + public class InventoryTransferDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferDeleteUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferDeleteUserError`.")] - public enum InventoryTransferDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferDeleteUserError`.")] + public enum InventoryTransferDeleteUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, - } - - public static class InventoryTransferDeleteUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - } - + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, + } + + public static class InventoryTransferDeleteUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + } + /// ///Return type for `inventoryTransferDuplicate` mutation. /// - [Description("Return type for `inventoryTransferDuplicate` mutation.")] - public class InventoryTransferDuplicatePayload : GraphQLObject - { + [Description("Return type for `inventoryTransferDuplicate` mutation.")] + public class InventoryTransferDuplicatePayload : GraphQLObject + { /// ///The duplicated inventory transfer. /// - [Description("The duplicated inventory transfer.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The duplicated inventory transfer.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferDuplicate`. /// - [Description("An error that occurs during the execution of `InventoryTransferDuplicate`.")] - public class InventoryTransferDuplicateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferDuplicate`.")] + public class InventoryTransferDuplicateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferDuplicateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferDuplicateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferDuplicateUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferDuplicateUserError`.")] - public enum InventoryTransferDuplicateUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferDuplicateUserError`.")] + public enum InventoryTransferDuplicateUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, - } - - public static class InventoryTransferDuplicateUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - } - + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, + } + + public static class InventoryTransferDuplicateUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + } + /// ///An auto-generated type which holds one InventoryTransfer and a cursor during pagination. /// - [Description("An auto-generated type which holds one InventoryTransfer and a cursor during pagination.")] - public class InventoryTransferEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one InventoryTransfer and a cursor during pagination.")] + public class InventoryTransferEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of InventoryTransferEdge. /// - [Description("The item at the end of InventoryTransferEdge.")] - [NonNull] - public InventoryTransfer? node { get; set; } - } - + [Description("The item at the end of InventoryTransferEdge.")] + [NonNull] + public InventoryTransfer? node { get; set; } + } + /// ///The input fields to edit an inventory transfer. /// - [Description("The input fields to edit an inventory transfer.")] - public class InventoryTransferEditInput : GraphQLObject - { + [Description("The input fields to edit an inventory transfer.")] + public class InventoryTransferEditInput : GraphQLObject + { /// ///The origin location for the inventory transfer. The origin location can only be changed ///for draft transfers. /// - [Description("The origin location for the inventory transfer. The origin location can only be changed\nfor draft transfers.")] - public string? originId { get; set; } - + [Description("The origin location for the inventory transfer. The origin location can only be changed\nfor draft transfers.")] + public string? originId { get; set; } + /// ///The destination location for the inventory transfer. The destination location can only be ///changed for draft transfers. /// - [Description("The destination location for the inventory transfer. The destination location can only be\nchanged for draft transfers.")] - public string? destinationId { get; set; } - + [Description("The destination location for the inventory transfer. The destination location can only be\nchanged for draft transfers.")] + public string? destinationId { get; set; } + /// ///The date the inventory transfer was created. /// - [Description("The date the inventory transfer was created.")] - public DateOnly? dateCreated { get; set; } - + [Description("The date the inventory transfer was created.")] + public DateOnly? dateCreated { get; set; } + /// ///A note to add to the Inventory Transfer. /// - [Description("A note to add to the Inventory Transfer.")] - public string? note { get; set; } - + [Description("A note to add to the Inventory Transfer.")] + public string? note { get; set; } + /// ///The tags to add to the inventory transfer. /// - [Description("The tags to add to the inventory transfer.")] - public IEnumerable? tags { get; set; } - + [Description("The tags to add to the inventory transfer.")] + public IEnumerable? tags { get; set; } + /// ///The reference name to add to the inventory transfer. /// - [Description("The reference name to add to the inventory transfer.")] - public string? referenceName { get; set; } - } - + [Description("The reference name to add to the inventory transfer.")] + public string? referenceName { get; set; } + } + /// ///Return type for `inventoryTransferEdit` mutation. /// - [Description("Return type for `inventoryTransferEdit` mutation.")] - public class InventoryTransferEditPayload : GraphQLObject - { + [Description("Return type for `inventoryTransferEdit` mutation.")] + public class InventoryTransferEditPayload : GraphQLObject + { /// ///The edited inventory transfer. /// - [Description("The edited inventory transfer.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The edited inventory transfer.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferEdit`. /// - [Description("An error that occurs during the execution of `InventoryTransferEdit`.")] - public class InventoryTransferEditUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferEdit`.")] + public class InventoryTransferEditUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferEditUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferEditUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferEditUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferEditUserError`.")] - public enum InventoryTransferEditUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferEditUserError`.")] + public enum InventoryTransferEditUserErrorCode + { /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///The location of a transfer cannot be updated. Only Draft Transfers can mutate their locations. /// - [Description("The location of a transfer cannot be updated. Only Draft Transfers can mutate their locations.")] - TRANSFER_LOCATION_IMMUTABLE, + [Description("The location of a transfer cannot be updated. Only Draft Transfers can mutate their locations.")] + TRANSFER_LOCATION_IMMUTABLE, /// ///The origin location cannot be the same as the destination location. /// - [Description("The origin location cannot be the same as the destination location.")] - TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION, + [Description("The origin location cannot be the same as the destination location.")] + TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, /// ///The location selected can't be found. /// - [Description("The location selected can't be found.")] - LOCATION_NOT_FOUND, + [Description("The location selected can't be found.")] + LOCATION_NOT_FOUND, /// ///The item is not stocked at the intended location. /// - [Description("The item is not stocked at the intended location.")] - INVENTORY_STATE_NOT_ACTIVE, + [Description("The item is not stocked at the intended location.")] + INVENTORY_STATE_NOT_ACTIVE, /// ///The tag exceeds the maximum length. /// - [Description("The tag exceeds the maximum length.")] - TAG_EXCEEDS_MAX_LENGTH, - } - - public static class InventoryTransferEditUserErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string TRANSFER_LOCATION_IMMUTABLE = @"TRANSFER_LOCATION_IMMUTABLE"; - public const string TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION = @"TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; - public const string TAG_EXCEEDS_MAX_LENGTH = @"TAG_EXCEEDS_MAX_LENGTH"; - } - + [Description("The tag exceeds the maximum length.")] + TAG_EXCEEDS_MAX_LENGTH, + } + + public static class InventoryTransferEditUserErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string TRANSFER_LOCATION_IMMUTABLE = @"TRANSFER_LOCATION_IMMUTABLE"; + public const string TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION = @"TRANSFER_ORIGIN_CANNOT_BE_THE_SAME_AS_DESTINATION"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; + public const string TAG_EXCEEDS_MAX_LENGTH = @"TAG_EXCEEDS_MAX_LENGTH"; + } + /// ///Represents a line item belonging to an inventory transfer. /// - [Description("Represents a line item belonging to an inventory transfer.")] - public class InventoryTransferLineItem : GraphQLObject, INode - { + [Description("Represents a line item belonging to an inventory transfer.")] + public class InventoryTransferLineItem : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The inventory item associated with this line item. /// - [Description("The inventory item associated with this line item.")] - public InventoryItem? inventoryItem { get; set; } - + [Description("The inventory item associated with this line item.")] + public InventoryItem? inventoryItem { get; set; } + /// ///The quantity of the item that has been picked for a draft shipment but not yet shipped. /// - [Description("The quantity of the item that has been picked for a draft shipment but not yet shipped.")] - [NonNull] - public int? pickedForShipmentQuantity { get; set; } - + [Description("The quantity of the item that has been picked for a draft shipment but not yet shipped.")] + [NonNull] + public int? pickedForShipmentQuantity { get; set; } + /// ///The quantity of the item that can be actioned upon, such as editing the item quantity on the transfer or adding to a shipment. /// - [Description("The quantity of the item that can be actioned upon, such as editing the item quantity on the transfer or adding to a shipment.")] - [NonNull] - public int? processableQuantity { get; set; } - + [Description("The quantity of the item that can be actioned upon, such as editing the item quantity on the transfer or adding to a shipment.")] + [NonNull] + public int? processableQuantity { get; set; } + /// ///The quantity of the item that can be shipped. /// - [Description("The quantity of the item that can be shipped.")] - [NonNull] - public int? shippableQuantity { get; set; } - + [Description("The quantity of the item that can be shipped.")] + [NonNull] + public int? shippableQuantity { get; set; } + /// ///The quantity of the item that has been shipped. /// - [Description("The quantity of the item that has been shipped.")] - [NonNull] - public int? shippedQuantity { get; set; } - + [Description("The quantity of the item that has been shipped.")] + [NonNull] + public int? shippedQuantity { get; set; } + /// ///The title of the product associated with this line item. /// - [Description("The title of the product associated with this line item.")] - public string? title { get; set; } - + [Description("The title of the product associated with this line item.")] + public string? title { get; set; } + /// ///The total quantity of items being transferred. /// - [Description("The total quantity of items being transferred.")] - [NonNull] - public int? totalQuantity { get; set; } - } - + [Description("The total quantity of items being transferred.")] + [NonNull] + public int? totalQuantity { get; set; } + } + /// ///An auto-generated type for paginating through multiple InventoryTransferLineItems. /// - [Description("An auto-generated type for paginating through multiple InventoryTransferLineItems.")] - public class InventoryTransferLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple InventoryTransferLineItems.")] + public class InventoryTransferLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in InventoryTransferLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in InventoryTransferLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in InventoryTransferLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one InventoryTransferLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one InventoryTransferLineItem and a cursor during pagination.")] - public class InventoryTransferLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one InventoryTransferLineItem and a cursor during pagination.")] + public class InventoryTransferLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of InventoryTransferLineItemEdge. /// - [Description("The item at the end of InventoryTransferLineItemEdge.")] - [NonNull] - public InventoryTransferLineItem? node { get; set; } - } - + [Description("The item at the end of InventoryTransferLineItemEdge.")] + [NonNull] + public InventoryTransferLineItem? node { get; set; } + } + /// ///The input fields for a line item on an inventory transfer. /// - [Description("The input fields for a line item on an inventory transfer.")] - public class InventoryTransferLineItemInput : GraphQLObject - { + [Description("The input fields for a line item on an inventory transfer.")] + public class InventoryTransferLineItemInput : GraphQLObject + { /// ///The inventory item ID for the transfer line item. /// - [Description("The inventory item ID for the transfer line item.")] - [NonNull] - public string? inventoryItemId { get; set; } - + [Description("The inventory item ID for the transfer line item.")] + [NonNull] + public string? inventoryItemId { get; set; } + /// ///The quantity for the transfer line item. /// - [Description("The quantity for the transfer line item.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity for the transfer line item.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///Represents an update to a single transfer line item. /// - [Description("Represents an update to a single transfer line item.")] - public class InventoryTransferLineItemUpdate : GraphQLObject - { + [Description("Represents an update to a single transfer line item.")] + public class InventoryTransferLineItemUpdate : GraphQLObject + { /// ///The delta quantity for the transfer line item. /// - [Description("The delta quantity for the transfer line item.")] - public int? deltaQuantity { get; set; } - + [Description("The delta quantity for the transfer line item.")] + public int? deltaQuantity { get; set; } + /// ///The inventory item ID for the transfer line item. /// - [Description("The inventory item ID for the transfer line item.")] - public string? inventoryItemId { get; set; } - + [Description("The inventory item ID for the transfer line item.")] + public string? inventoryItemId { get; set; } + /// ///The new quantity for the transfer line item. /// - [Description("The new quantity for the transfer line item.")] - public int? newQuantity { get; set; } - } - + [Description("The new quantity for the transfer line item.")] + public int? newQuantity { get; set; } + } + /// ///Return type for `inventoryTransferMarkAsReadyToShip` mutation. /// - [Description("Return type for `inventoryTransferMarkAsReadyToShip` mutation.")] - public class InventoryTransferMarkAsReadyToShipPayload : GraphQLObject - { + [Description("Return type for `inventoryTransferMarkAsReadyToShip` mutation.")] + public class InventoryTransferMarkAsReadyToShipPayload : GraphQLObject + { /// ///The ready to ship inventory transfer. /// - [Description("The ready to ship inventory transfer.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The ready to ship inventory transfer.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferMarkAsReadyToShip`. /// - [Description("An error that occurs during the execution of `InventoryTransferMarkAsReadyToShip`.")] - public class InventoryTransferMarkAsReadyToShipUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferMarkAsReadyToShip`.")] + public class InventoryTransferMarkAsReadyToShipUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferMarkAsReadyToShipUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferMarkAsReadyToShipUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferMarkAsReadyToShipUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferMarkAsReadyToShipUserError`.")] - public enum InventoryTransferMarkAsReadyToShipUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferMarkAsReadyToShipUserError`.")] + public enum InventoryTransferMarkAsReadyToShipUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///The list of line items is empty. /// - [Description("The list of line items is empty.")] - ITEMS_EMPTY, + [Description("The list of line items is empty.")] + ITEMS_EMPTY, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, /// ///A location is required for this operation. /// - [Description("A location is required for this operation.")] - LOCATION_REQUIRED, + [Description("A location is required for this operation.")] + LOCATION_REQUIRED, /// ///One or more items are not valid. /// - [Description("One or more items are not valid.")] - INVALID_ITEM, + [Description("One or more items are not valid.")] + INVALID_ITEM, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, /// ///The location selected can't be found. /// - [Description("The location selected can't be found.")] - LOCATION_NOT_FOUND, - } - - public static class InventoryTransferMarkAsReadyToShipUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - public const string LOCATION_REQUIRED = @"LOCATION_REQUIRED"; - public const string INVALID_ITEM = @"INVALID_ITEM"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - } - + [Description("The location selected can't be found.")] + LOCATION_NOT_FOUND, + } + + public static class InventoryTransferMarkAsReadyToShipUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string ITEMS_EMPTY = @"ITEMS_EMPTY"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + public const string LOCATION_REQUIRED = @"LOCATION_REQUIRED"; + public const string INVALID_ITEM = @"INVALID_ITEM"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + } + /// ///The input fields to remove inventory items from a transfer. /// - [Description("The input fields to remove inventory items from a transfer.")] - public class InventoryTransferRemoveItemsInput : GraphQLObject - { + [Description("The input fields to remove inventory items from a transfer.")] + public class InventoryTransferRemoveItemsInput : GraphQLObject + { /// ///The ID of the inventory transfer where the items will be removed. /// - [Description("The ID of the inventory transfer where the items will be removed.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the inventory transfer where the items will be removed.")] + [NonNull] + public string? id { get; set; } + /// ///The IDs of the transfer line items to be removed from the transfer. /// - [Description("The IDs of the transfer line items to be removed from the transfer.")] - public IEnumerable? transferLineItemIds { get; set; } - } - + [Description("The IDs of the transfer line items to be removed from the transfer.")] + public IEnumerable? transferLineItemIds { get; set; } + } + /// ///Return type for `inventoryTransferRemoveItems` mutation. /// - [Description("Return type for `inventoryTransferRemoveItems` mutation.")] - public class InventoryTransferRemoveItemsPayload : GraphQLObject - { + [Description("Return type for `inventoryTransferRemoveItems` mutation.")] + public class InventoryTransferRemoveItemsPayload : GraphQLObject + { /// ///The transfer with line items removed. /// - [Description("The transfer with line items removed.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The transfer with line items removed.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The line items that have had their shippable quantity removed. /// - [Description("The line items that have had their shippable quantity removed.")] - public IEnumerable? removedQuantities { get; set; } - + [Description("The line items that have had their shippable quantity removed.")] + public IEnumerable? removedQuantities { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferRemoveItems`. /// - [Description("An error that occurs during the execution of `InventoryTransferRemoveItems`.")] - public class InventoryTransferRemoveItemsUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferRemoveItems`.")] + public class InventoryTransferRemoveItemsUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferRemoveItemsUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferRemoveItemsUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferRemoveItemsUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferRemoveItemsUserError`.")] - public enum InventoryTransferRemoveItemsUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferRemoveItemsUserError`.")] + public enum InventoryTransferRemoveItemsUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///A ready to ship transfer must have at least one item. /// - [Description("A ready to ship transfer must have at least one item.")] - CANT_REMOVE_ALL_ITEMS_FROM_READY_TO_SHIP_TRANSFER, + [Description("A ready to ship transfer must have at least one item.")] + CANT_REMOVE_ALL_ITEMS_FROM_READY_TO_SHIP_TRANSFER, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The item cannot have its shippable quantity removed if all of its quantity is fully allocated in one or more shipments. /// - [Description("The item cannot have its shippable quantity removed if all of its quantity is fully allocated in one or more shipments.")] - ALL_QUANTITY_SHIPPED, + [Description("The item cannot have its shippable quantity removed if all of its quantity is fully allocated in one or more shipments.")] + ALL_QUANTITY_SHIPPED, /// ///The item cannot be removed because it exists in a draft shipment with zero quantity. /// - [Description("The item cannot be removed because it exists in a draft shipment with zero quantity.")] - ITEM_PRESENT_ON_DRAFT_SHIPMENT_WITH_ZERO_QUANTITY, + [Description("The item cannot be removed because it exists in a draft shipment with zero quantity.")] + ITEM_PRESENT_ON_DRAFT_SHIPMENT_WITH_ZERO_QUANTITY, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, /// ///The location selected can't be found. /// - [Description("The location selected can't be found.")] - LOCATION_NOT_FOUND, - } - - public static class InventoryTransferRemoveItemsUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string CANT_REMOVE_ALL_ITEMS_FROM_READY_TO_SHIP_TRANSFER = @"CANT_REMOVE_ALL_ITEMS_FROM_READY_TO_SHIP_TRANSFER"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string ALL_QUANTITY_SHIPPED = @"ALL_QUANTITY_SHIPPED"; - public const string ITEM_PRESENT_ON_DRAFT_SHIPMENT_WITH_ZERO_QUANTITY = @"ITEM_PRESENT_ON_DRAFT_SHIPMENT_WITH_ZERO_QUANTITY"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - } - + [Description("The location selected can't be found.")] + LOCATION_NOT_FOUND, + } + + public static class InventoryTransferRemoveItemsUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string CANT_REMOVE_ALL_ITEMS_FROM_READY_TO_SHIP_TRANSFER = @"CANT_REMOVE_ALL_ITEMS_FROM_READY_TO_SHIP_TRANSFER"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string ALL_QUANTITY_SHIPPED = @"ALL_QUANTITY_SHIPPED"; + public const string ITEM_PRESENT_ON_DRAFT_SHIPMENT_WITH_ZERO_QUANTITY = @"ITEM_PRESENT_ON_DRAFT_SHIPMENT_WITH_ZERO_QUANTITY"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + } + /// ///The input fields to the InventoryTransferSetItems mutation. /// - [Description("The input fields to the InventoryTransferSetItems mutation.")] - public class InventoryTransferSetItemsInput : GraphQLObject - { + [Description("The input fields to the InventoryTransferSetItems mutation.")] + public class InventoryTransferSetItemsInput : GraphQLObject + { /// ///The ID of the inventory transfer where the items will be set. /// - [Description("The ID of the inventory transfer where the items will be set.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the inventory transfer where the items will be set.")] + [NonNull] + public string? id { get; set; } + /// ///The line items to be set on the Transfer. /// - [Description("The line items to be set on the Transfer.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - } - + [Description("The line items to be set on the Transfer.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + } + /// ///Return type for `inventoryTransferSetItems` mutation. /// - [Description("Return type for `inventoryTransferSetItems` mutation.")] - public class InventoryTransferSetItemsPayload : GraphQLObject - { + [Description("Return type for `inventoryTransferSetItems` mutation.")] + public class InventoryTransferSetItemsPayload : GraphQLObject + { /// ///The Transfer with its line items updated. /// - [Description("The Transfer with its line items updated.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("The Transfer with its line items updated.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///The updated line items. /// - [Description("The updated line items.")] - public IEnumerable? updatedLineItems { get; set; } - + [Description("The updated line items.")] + public IEnumerable? updatedLineItems { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `InventoryTransferSetItems`. /// - [Description("An error that occurs during the execution of `InventoryTransferSetItems`.")] - public class InventoryTransferSetItemsUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `InventoryTransferSetItems`.")] + public class InventoryTransferSetItemsUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(InventoryTransferSetItemsUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(InventoryTransferSetItemsUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `InventoryTransferSetItemsUserError`. /// - [Description("Possible error codes that can be returned by `InventoryTransferSetItemsUserError`.")] - public enum InventoryTransferSetItemsUserErrorCode - { + [Description("Possible error codes that can be returned by `InventoryTransferSetItemsUserError`.")] + public enum InventoryTransferSetItemsUserErrorCode + { /// ///The transfer was not found. /// - [Description("The transfer was not found.")] - TRANSFER_NOT_FOUND, + [Description("The transfer was not found.")] + TRANSFER_NOT_FOUND, /// ///Current transfer status does not support this operation. /// - [Description("Current transfer status does not support this operation.")] - INVALID_TRANSFER_STATUS, + [Description("Current transfer status does not support this operation.")] + INVALID_TRANSFER_STATUS, /// ///The location selected can't be found. /// - [Description("The location selected can't be found.")] - LOCATION_NOT_FOUND, + [Description("The location selected can't be found.")] + LOCATION_NOT_FOUND, /// ///The location selected is not active. /// - [Description("The location selected is not active.")] - LOCATION_NOT_ACTIVE, + [Description("The location selected is not active.")] + LOCATION_NOT_ACTIVE, /// ///Bundled items cannot be used for this operation. /// - [Description("Bundled items cannot be used for this operation.")] - BUNDLED_ITEM, + [Description("Bundled items cannot be used for this operation.")] + BUNDLED_ITEM, /// ///The item does not track inventory. /// - [Description("The item does not track inventory.")] - UNTRACKED_ITEM, + [Description("The item does not track inventory.")] + UNTRACKED_ITEM, /// ///The item was not found. /// - [Description("The item was not found.")] - ITEM_NOT_FOUND, + [Description("The item was not found.")] + ITEM_NOT_FOUND, /// ///The quantity is invalid. /// - [Description("The quantity is invalid.")] - INVALID_QUANTITY, + [Description("The quantity is invalid.")] + INVALID_QUANTITY, /// ///A single item can't be listed twice. /// - [Description("A single item can't be listed twice.")] - DUPLICATE_ITEM, + [Description("A single item can't be listed twice.")] + DUPLICATE_ITEM, /// ///The item is not stocked at the intended location. /// - [Description("The item is not stocked at the intended location.")] - INVENTORY_STATE_NOT_ACTIVE, - } - - public static class InventoryTransferSetItemsUserErrorCodeStringValues - { - public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; - public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; - public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; - public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; - public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; - public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; - } - + [Description("The item is not stocked at the intended location.")] + INVENTORY_STATE_NOT_ACTIVE, + } + + public static class InventoryTransferSetItemsUserErrorCodeStringValues + { + public const string TRANSFER_NOT_FOUND = @"TRANSFER_NOT_FOUND"; + public const string INVALID_TRANSFER_STATUS = @"INVALID_TRANSFER_STATUS"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string LOCATION_NOT_ACTIVE = @"LOCATION_NOT_ACTIVE"; + public const string BUNDLED_ITEM = @"BUNDLED_ITEM"; + public const string UNTRACKED_ITEM = @"UNTRACKED_ITEM"; + public const string ITEM_NOT_FOUND = @"ITEM_NOT_FOUND"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string DUPLICATE_ITEM = @"DUPLICATE_ITEM"; + public const string INVENTORY_STATE_NOT_ACTIVE = @"INVENTORY_STATE_NOT_ACTIVE"; + } + /// ///The status of a transfer. /// - [Description("The status of a transfer.")] - public enum InventoryTransferStatus - { + [Description("The status of a transfer.")] + public enum InventoryTransferStatus + { /// ///The inventory transfer has been created but not yet finalized. /// - [Description("The inventory transfer has been created but not yet finalized.")] - DRAFT, + [Description("The inventory transfer has been created but not yet finalized.")] + DRAFT, /// ///The inventory transfer has been created, but not yet shipped. /// - [Description("The inventory transfer has been created, but not yet shipped.")] - READY_TO_SHIP, + [Description("The inventory transfer has been created, but not yet shipped.")] + READY_TO_SHIP, /// ///The inventory transfer is in progress, with a shipment currently underway or received. /// - [Description("The inventory transfer is in progress, with a shipment currently underway or received.")] - IN_PROGRESS, + [Description("The inventory transfer is in progress, with a shipment currently underway or received.")] + IN_PROGRESS, /// ///The inventory transfer has been completely received at the destination. /// - [Description("The inventory transfer has been completely received at the destination.")] - TRANSFERRED, + [Description("The inventory transfer has been completely received at the destination.")] + TRANSFERRED, /// ///The inventory transfer has been canceled. /// - [Description("The inventory transfer has been canceled.")] - CANCELED, + [Description("The inventory transfer has been canceled.")] + CANCELED, /// ///Status not included in the current enumeration set. /// - [Description("Status not included in the current enumeration set.")] - OTHER, - } - - public static class InventoryTransferStatusStringValues - { - public const string DRAFT = @"DRAFT"; - public const string READY_TO_SHIP = @"READY_TO_SHIP"; - public const string IN_PROGRESS = @"IN_PROGRESS"; - public const string TRANSFERRED = @"TRANSFERRED"; - public const string CANCELED = @"CANCELED"; - public const string OTHER = @"OTHER"; - } - + [Description("Status not included in the current enumeration set.")] + OTHER, + } + + public static class InventoryTransferStatusStringValues + { + public const string DRAFT = @"DRAFT"; + public const string READY_TO_SHIP = @"READY_TO_SHIP"; + public const string IN_PROGRESS = @"IN_PROGRESS"; + public const string TRANSFERRED = @"TRANSFERRED"; + public const string CANCELED = @"CANCELED"; + public const string OTHER = @"OTHER"; + } + /// ///The financial transfer details for a return outcome that results in an invoice. /// - [Description("The financial transfer details for a return outcome that results in an invoice.")] - public class InvoiceReturnOutcome : GraphQLObject, IReturnOutcomeFinancialTransfer - { + [Description("The financial transfer details for a return outcome that results in an invoice.")] + public class InvoiceReturnOutcome : GraphQLObject, IReturnOutcomeFinancialTransfer + { /// ///The total monetary value to be invoiced in shop and presentment currencies. /// - [Description("The total monetary value to be invoiced in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amount { get; set; } - } - + [Description("The total monetary value to be invoiced in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amount { get; set; } + } + /// ///A job corresponds to some long running task that the client should poll for status. /// - [Description("A job corresponds to some long running task that the client should poll for status.")] - public class Job : GraphQLObject - { + [Description("A job corresponds to some long running task that the client should poll for status.")] + public class Job : GraphQLObject + { /// ///This indicates if the job is still queued or has been run. /// - [Description("This indicates if the job is still queued or has been run.")] - [NonNull] - public bool? done { get; set; } - + [Description("This indicates if the job is still queued or has been run.")] + [NonNull] + public bool? done { get; set; } + /// ///A globally-unique ID that's returned when running an asynchronous mutation. /// - [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] + [NonNull] + public string? id { get; set; } + /// ///This field will only resolve once the job is done. Can be used to ask for object(s) that have been changed by the job. /// - [Description("This field will only resolve once the job is done. Can be used to ask for object(s) that have been changed by the job.")] - public QueryRoot? query { get; set; } - } - + [Description("This field will only resolve once the job is done. Can be used to ask for object(s) that have been changed by the job.")] + public QueryRoot? query { get; set; } + } + /// ///A job corresponds to some long running task that the client should poll for status. /// - [Description("A job corresponds to some long running task that the client should poll for status.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CustomerSegmentMembersQuery), typeDiscriminator: "CustomerSegmentMembersQuery")] - [JsonDerivedType(typeof(OrderCancelJobResult), typeDiscriminator: "OrderCancelJobResult")] - public interface IJobResult : IGraphQLObject - { - public CustomerSegmentMembersQuery? AsCustomerSegmentMembersQuery() => this as CustomerSegmentMembersQuery; - public OrderCancelJobResult? AsOrderCancelJobResult() => this as OrderCancelJobResult; + [Description("A job corresponds to some long running task that the client should poll for status.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CustomerSegmentMembersQuery), typeDiscriminator: "CustomerSegmentMembersQuery")] + [JsonDerivedType(typeof(OrderCancelJobResult), typeDiscriminator: "OrderCancelJobResult")] + public interface IJobResult : IGraphQLObject + { + public CustomerSegmentMembersQuery? AsCustomerSegmentMembersQuery() => this as CustomerSegmentMembersQuery; + public OrderCancelJobResult? AsOrderCancelJobResult() => this as OrderCancelJobResult; /// ///This indicates if the job is still queued or has been run. /// - [Description("This indicates if the job is still queued or has been run.")] - [NonNull] - public bool? done { get; } - + [Description("This indicates if the job is still queued or has been run.")] + [NonNull] + public bool? done { get; } + /// ///A globally-unique ID that's returned when running an asynchronous mutation. /// - [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] - [NonNull] - public string? id { get; } - } - + [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] + [NonNull] + public string? id { get; } + } + /// ///Language codes supported by Shopify. /// - [Description("Language codes supported by Shopify.")] - public enum LanguageCode - { + [Description("Language codes supported by Shopify.")] + public enum LanguageCode + { /// ///Afrikaans. /// - [Description("Afrikaans.")] - AF, + [Description("Afrikaans.")] + AF, /// ///Akan. /// - [Description("Akan.")] - AK, + [Description("Akan.")] + AK, /// ///Amharic. /// - [Description("Amharic.")] - AM, + [Description("Amharic.")] + AM, /// ///Arabic. /// - [Description("Arabic.")] - AR, + [Description("Arabic.")] + AR, /// ///Assamese. /// - [Description("Assamese.")] - AS, + [Description("Assamese.")] + AS, /// ///Azerbaijani. /// - [Description("Azerbaijani.")] - AZ, + [Description("Azerbaijani.")] + AZ, /// ///Belarusian. /// - [Description("Belarusian.")] - BE, + [Description("Belarusian.")] + BE, /// ///Bulgarian. /// - [Description("Bulgarian.")] - BG, + [Description("Bulgarian.")] + BG, /// ///Bambara. /// - [Description("Bambara.")] - BM, + [Description("Bambara.")] + BM, /// ///Bangla. /// - [Description("Bangla.")] - BN, + [Description("Bangla.")] + BN, /// ///Tibetan. /// - [Description("Tibetan.")] - BO, + [Description("Tibetan.")] + BO, /// ///Breton. /// - [Description("Breton.")] - BR, + [Description("Breton.")] + BR, /// ///Bosnian. /// - [Description("Bosnian.")] - BS, + [Description("Bosnian.")] + BS, /// ///Catalan. /// - [Description("Catalan.")] - CA, + [Description("Catalan.")] + CA, /// ///Chechen. /// - [Description("Chechen.")] - CE, + [Description("Chechen.")] + CE, /// ///Central Kurdish. /// - [Description("Central Kurdish.")] - CKB, + [Description("Central Kurdish.")] + CKB, /// ///Czech. /// - [Description("Czech.")] - CS, + [Description("Czech.")] + CS, /// ///Welsh. /// - [Description("Welsh.")] - CY, + [Description("Welsh.")] + CY, /// ///Danish. /// - [Description("Danish.")] - DA, + [Description("Danish.")] + DA, /// ///German. /// - [Description("German.")] - DE, + [Description("German.")] + DE, /// ///Dzongkha. /// - [Description("Dzongkha.")] - DZ, + [Description("Dzongkha.")] + DZ, /// ///Ewe. /// - [Description("Ewe.")] - EE, + [Description("Ewe.")] + EE, /// ///Greek. /// - [Description("Greek.")] - EL, + [Description("Greek.")] + EL, /// ///English. /// - [Description("English.")] - EN, + [Description("English.")] + EN, /// ///Esperanto. /// - [Description("Esperanto.")] - EO, + [Description("Esperanto.")] + EO, /// ///Spanish. /// - [Description("Spanish.")] - ES, + [Description("Spanish.")] + ES, /// ///Estonian. /// - [Description("Estonian.")] - ET, + [Description("Estonian.")] + ET, /// ///Basque. /// - [Description("Basque.")] - EU, + [Description("Basque.")] + EU, /// ///Persian. /// - [Description("Persian.")] - FA, + [Description("Persian.")] + FA, /// ///Fulah. /// - [Description("Fulah.")] - FF, + [Description("Fulah.")] + FF, /// ///Finnish. /// - [Description("Finnish.")] - FI, + [Description("Finnish.")] + FI, /// ///Filipino. /// - [Description("Filipino.")] - FIL, + [Description("Filipino.")] + FIL, /// ///Faroese. /// - [Description("Faroese.")] - FO, + [Description("Faroese.")] + FO, /// ///French. /// - [Description("French.")] - FR, + [Description("French.")] + FR, /// ///Western Frisian. /// - [Description("Western Frisian.")] - FY, + [Description("Western Frisian.")] + FY, /// ///Irish. /// - [Description("Irish.")] - GA, + [Description("Irish.")] + GA, /// ///Scottish Gaelic. /// - [Description("Scottish Gaelic.")] - GD, + [Description("Scottish Gaelic.")] + GD, /// ///Galician. /// - [Description("Galician.")] - GL, + [Description("Galician.")] + GL, /// ///Gujarati. /// - [Description("Gujarati.")] - GU, + [Description("Gujarati.")] + GU, /// ///Manx. /// - [Description("Manx.")] - GV, + [Description("Manx.")] + GV, /// ///Hausa. /// - [Description("Hausa.")] - HA, + [Description("Hausa.")] + HA, /// ///Hebrew. /// - [Description("Hebrew.")] - HE, + [Description("Hebrew.")] + HE, /// ///Hindi. /// - [Description("Hindi.")] - HI, + [Description("Hindi.")] + HI, /// ///Croatian. /// - [Description("Croatian.")] - HR, + [Description("Croatian.")] + HR, /// ///Hungarian. /// - [Description("Hungarian.")] - HU, + [Description("Hungarian.")] + HU, /// ///Armenian. /// - [Description("Armenian.")] - HY, + [Description("Armenian.")] + HY, /// ///Interlingua. /// - [Description("Interlingua.")] - IA, + [Description("Interlingua.")] + IA, /// ///Indonesian. /// - [Description("Indonesian.")] - ID, + [Description("Indonesian.")] + ID, /// ///Igbo. /// - [Description("Igbo.")] - IG, + [Description("Igbo.")] + IG, /// ///Sichuan Yi. /// - [Description("Sichuan Yi.")] - II, + [Description("Sichuan Yi.")] + II, /// ///Icelandic. /// - [Description("Icelandic.")] - IS, + [Description("Icelandic.")] + IS, /// ///Italian. /// - [Description("Italian.")] - IT, + [Description("Italian.")] + IT, /// ///Japanese. /// - [Description("Japanese.")] - JA, + [Description("Japanese.")] + JA, /// ///Javanese. /// - [Description("Javanese.")] - JV, + [Description("Javanese.")] + JV, /// ///Georgian. /// - [Description("Georgian.")] - KA, + [Description("Georgian.")] + KA, /// ///Kikuyu. /// - [Description("Kikuyu.")] - KI, + [Description("Kikuyu.")] + KI, /// ///Kazakh. /// - [Description("Kazakh.")] - KK, + [Description("Kazakh.")] + KK, /// ///Kalaallisut. /// - [Description("Kalaallisut.")] - KL, + [Description("Kalaallisut.")] + KL, /// ///Khmer. /// - [Description("Khmer.")] - KM, + [Description("Khmer.")] + KM, /// ///Kannada. /// - [Description("Kannada.")] - KN, + [Description("Kannada.")] + KN, /// ///Korean. /// - [Description("Korean.")] - KO, + [Description("Korean.")] + KO, /// ///Kashmiri. /// - [Description("Kashmiri.")] - KS, + [Description("Kashmiri.")] + KS, /// ///Kurdish. /// - [Description("Kurdish.")] - KU, + [Description("Kurdish.")] + KU, /// ///Cornish. /// - [Description("Cornish.")] - KW, + [Description("Cornish.")] + KW, /// ///Kyrgyz. /// - [Description("Kyrgyz.")] - KY, + [Description("Kyrgyz.")] + KY, /// ///Luxembourgish. /// - [Description("Luxembourgish.")] - LB, + [Description("Luxembourgish.")] + LB, /// ///Ganda. /// - [Description("Ganda.")] - LG, + [Description("Ganda.")] + LG, /// ///Lingala. /// - [Description("Lingala.")] - LN, + [Description("Lingala.")] + LN, /// ///Lao. /// - [Description("Lao.")] - LO, + [Description("Lao.")] + LO, /// ///Lithuanian. /// - [Description("Lithuanian.")] - LT, + [Description("Lithuanian.")] + LT, /// ///Luba-Katanga. /// - [Description("Luba-Katanga.")] - LU, + [Description("Luba-Katanga.")] + LU, /// ///Latvian. /// - [Description("Latvian.")] - LV, + [Description("Latvian.")] + LV, /// ///Malagasy. /// - [Description("Malagasy.")] - MG, + [Description("Malagasy.")] + MG, /// ///Māori. /// - [Description("Māori.")] - MI, + [Description("Māori.")] + MI, /// ///Macedonian. /// - [Description("Macedonian.")] - MK, + [Description("Macedonian.")] + MK, /// ///Malayalam. /// - [Description("Malayalam.")] - ML, + [Description("Malayalam.")] + ML, /// ///Mongolian. /// - [Description("Mongolian.")] - MN, + [Description("Mongolian.")] + MN, /// ///Marathi. /// - [Description("Marathi.")] - MR, + [Description("Marathi.")] + MR, /// ///Malay. /// - [Description("Malay.")] - MS, + [Description("Malay.")] + MS, /// ///Maltese. /// - [Description("Maltese.")] - MT, + [Description("Maltese.")] + MT, /// ///Burmese. /// - [Description("Burmese.")] - MY, + [Description("Burmese.")] + MY, /// ///Norwegian (Bokmål). /// - [Description("Norwegian (Bokmål).")] - NB, + [Description("Norwegian (Bokmål).")] + NB, /// ///North Ndebele. /// - [Description("North Ndebele.")] - ND, + [Description("North Ndebele.")] + ND, /// ///Nepali. /// - [Description("Nepali.")] - NE, + [Description("Nepali.")] + NE, /// ///Dutch. /// - [Description("Dutch.")] - NL, + [Description("Dutch.")] + NL, /// ///Norwegian Nynorsk. /// - [Description("Norwegian Nynorsk.")] - NN, + [Description("Norwegian Nynorsk.")] + NN, /// ///Norwegian. /// - [Description("Norwegian.")] - NO, + [Description("Norwegian.")] + NO, /// ///Oromo. /// - [Description("Oromo.")] - OM, + [Description("Oromo.")] + OM, /// ///Odia. /// - [Description("Odia.")] - OR, + [Description("Odia.")] + OR, /// ///Ossetic. /// - [Description("Ossetic.")] - OS, + [Description("Ossetic.")] + OS, /// ///Punjabi. /// - [Description("Punjabi.")] - PA, + [Description("Punjabi.")] + PA, /// ///Polish. /// - [Description("Polish.")] - PL, + [Description("Polish.")] + PL, /// ///Pashto. /// - [Description("Pashto.")] - PS, + [Description("Pashto.")] + PS, /// ///Portuguese (Brazil). /// - [Description("Portuguese (Brazil).")] - PT_BR, + [Description("Portuguese (Brazil).")] + PT_BR, /// ///Portuguese (Portugal). /// - [Description("Portuguese (Portugal).")] - PT_PT, + [Description("Portuguese (Portugal).")] + PT_PT, /// ///Quechua. /// - [Description("Quechua.")] - QU, + [Description("Quechua.")] + QU, /// ///Romansh. /// - [Description("Romansh.")] - RM, + [Description("Romansh.")] + RM, /// ///Rundi. /// - [Description("Rundi.")] - RN, + [Description("Rundi.")] + RN, /// ///Romanian. /// - [Description("Romanian.")] - RO, + [Description("Romanian.")] + RO, /// ///Russian. /// - [Description("Russian.")] - RU, + [Description("Russian.")] + RU, /// ///Kinyarwanda. /// - [Description("Kinyarwanda.")] - RW, + [Description("Kinyarwanda.")] + RW, /// ///Sanskrit. /// - [Description("Sanskrit.")] - SA, + [Description("Sanskrit.")] + SA, /// ///Sardinian. /// - [Description("Sardinian.")] - SC, + [Description("Sardinian.")] + SC, /// ///Sindhi. /// - [Description("Sindhi.")] - SD, + [Description("Sindhi.")] + SD, /// ///Northern Sami. /// - [Description("Northern Sami.")] - SE, + [Description("Northern Sami.")] + SE, /// ///Sango. /// - [Description("Sango.")] - SG, + [Description("Sango.")] + SG, /// ///Sinhala. /// - [Description("Sinhala.")] - SI, + [Description("Sinhala.")] + SI, /// ///Slovak. /// - [Description("Slovak.")] - SK, + [Description("Slovak.")] + SK, /// ///Slovenian. /// - [Description("Slovenian.")] - SL, + [Description("Slovenian.")] + SL, /// ///Shona. /// - [Description("Shona.")] - SN, + [Description("Shona.")] + SN, /// ///Somali. /// - [Description("Somali.")] - SO, + [Description("Somali.")] + SO, /// ///Albanian. /// - [Description("Albanian.")] - SQ, + [Description("Albanian.")] + SQ, /// ///Serbian. /// - [Description("Serbian.")] - SR, + [Description("Serbian.")] + SR, /// ///Sundanese. /// - [Description("Sundanese.")] - SU, + [Description("Sundanese.")] + SU, /// ///Swedish. /// - [Description("Swedish.")] - SV, + [Description("Swedish.")] + SV, /// ///Swahili. /// - [Description("Swahili.")] - SW, + [Description("Swahili.")] + SW, /// ///Tamil. /// - [Description("Tamil.")] - TA, + [Description("Tamil.")] + TA, /// ///Telugu. /// - [Description("Telugu.")] - TE, + [Description("Telugu.")] + TE, /// ///Tajik. /// - [Description("Tajik.")] - TG, + [Description("Tajik.")] + TG, /// ///Thai. /// - [Description("Thai.")] - TH, + [Description("Thai.")] + TH, /// ///Tigrinya. /// - [Description("Tigrinya.")] - TI, + [Description("Tigrinya.")] + TI, /// ///Turkmen. /// - [Description("Turkmen.")] - TK, + [Description("Turkmen.")] + TK, /// ///Tongan. /// - [Description("Tongan.")] - TO, + [Description("Tongan.")] + TO, /// ///Turkish. /// - [Description("Turkish.")] - TR, + [Description("Turkish.")] + TR, /// ///Tatar. /// - [Description("Tatar.")] - TT, + [Description("Tatar.")] + TT, /// ///Uyghur. /// - [Description("Uyghur.")] - UG, + [Description("Uyghur.")] + UG, /// ///Ukrainian. /// - [Description("Ukrainian.")] - UK, + [Description("Ukrainian.")] + UK, /// ///Urdu. /// - [Description("Urdu.")] - UR, + [Description("Urdu.")] + UR, /// ///Uzbek. /// - [Description("Uzbek.")] - UZ, + [Description("Uzbek.")] + UZ, /// ///Vietnamese. /// - [Description("Vietnamese.")] - VI, + [Description("Vietnamese.")] + VI, /// ///Wolof. /// - [Description("Wolof.")] - WO, + [Description("Wolof.")] + WO, /// ///Xhosa. /// - [Description("Xhosa.")] - XH, + [Description("Xhosa.")] + XH, /// ///Yiddish. /// - [Description("Yiddish.")] - YI, + [Description("Yiddish.")] + YI, /// ///Yoruba. /// - [Description("Yoruba.")] - YO, + [Description("Yoruba.")] + YO, /// ///Chinese (Simplified). /// - [Description("Chinese (Simplified).")] - ZH_CN, + [Description("Chinese (Simplified).")] + ZH_CN, /// ///Chinese (Traditional). /// - [Description("Chinese (Traditional).")] - ZH_TW, + [Description("Chinese (Traditional).")] + ZH_TW, /// ///Zulu. /// - [Description("Zulu.")] - ZU, + [Description("Zulu.")] + ZU, /// ///Chinese. /// - [Description("Chinese.")] - ZH, + [Description("Chinese.")] + ZH, /// ///Portuguese. /// - [Description("Portuguese.")] - PT, + [Description("Portuguese.")] + PT, /// ///Church Slavic. /// - [Description("Church Slavic.")] - CU, + [Description("Church Slavic.")] + CU, /// ///Volapük. /// - [Description("Volapük.")] - VO, - } - - public static class LanguageCodeStringValues - { - public const string AF = @"AF"; - public const string AK = @"AK"; - public const string AM = @"AM"; - public const string AR = @"AR"; - public const string AS = @"AS"; - public const string AZ = @"AZ"; - public const string BE = @"BE"; - public const string BG = @"BG"; - public const string BM = @"BM"; - public const string BN = @"BN"; - public const string BO = @"BO"; - public const string BR = @"BR"; - public const string BS = @"BS"; - public const string CA = @"CA"; - public const string CE = @"CE"; - public const string CKB = @"CKB"; - public const string CS = @"CS"; - public const string CY = @"CY"; - public const string DA = @"DA"; - public const string DE = @"DE"; - public const string DZ = @"DZ"; - public const string EE = @"EE"; - public const string EL = @"EL"; - public const string EN = @"EN"; - public const string EO = @"EO"; - public const string ES = @"ES"; - public const string ET = @"ET"; - public const string EU = @"EU"; - public const string FA = @"FA"; - public const string FF = @"FF"; - public const string FI = @"FI"; - public const string FIL = @"FIL"; - public const string FO = @"FO"; - public const string FR = @"FR"; - public const string FY = @"FY"; - public const string GA = @"GA"; - public const string GD = @"GD"; - public const string GL = @"GL"; - public const string GU = @"GU"; - public const string GV = @"GV"; - public const string HA = @"HA"; - public const string HE = @"HE"; - public const string HI = @"HI"; - public const string HR = @"HR"; - public const string HU = @"HU"; - public const string HY = @"HY"; - public const string IA = @"IA"; - public const string ID = @"ID"; - public const string IG = @"IG"; - public const string II = @"II"; - public const string IS = @"IS"; - public const string IT = @"IT"; - public const string JA = @"JA"; - public const string JV = @"JV"; - public const string KA = @"KA"; - public const string KI = @"KI"; - public const string KK = @"KK"; - public const string KL = @"KL"; - public const string KM = @"KM"; - public const string KN = @"KN"; - public const string KO = @"KO"; - public const string KS = @"KS"; - public const string KU = @"KU"; - public const string KW = @"KW"; - public const string KY = @"KY"; - public const string LB = @"LB"; - public const string LG = @"LG"; - public const string LN = @"LN"; - public const string LO = @"LO"; - public const string LT = @"LT"; - public const string LU = @"LU"; - public const string LV = @"LV"; - public const string MG = @"MG"; - public const string MI = @"MI"; - public const string MK = @"MK"; - public const string ML = @"ML"; - public const string MN = @"MN"; - public const string MR = @"MR"; - public const string MS = @"MS"; - public const string MT = @"MT"; - public const string MY = @"MY"; - public const string NB = @"NB"; - public const string ND = @"ND"; - public const string NE = @"NE"; - public const string NL = @"NL"; - public const string NN = @"NN"; - public const string NO = @"NO"; - public const string OM = @"OM"; - public const string OR = @"OR"; - public const string OS = @"OS"; - public const string PA = @"PA"; - public const string PL = @"PL"; - public const string PS = @"PS"; - public const string PT_BR = @"PT_BR"; - public const string PT_PT = @"PT_PT"; - public const string QU = @"QU"; - public const string RM = @"RM"; - public const string RN = @"RN"; - public const string RO = @"RO"; - public const string RU = @"RU"; - public const string RW = @"RW"; - public const string SA = @"SA"; - public const string SC = @"SC"; - public const string SD = @"SD"; - public const string SE = @"SE"; - public const string SG = @"SG"; - public const string SI = @"SI"; - public const string SK = @"SK"; - public const string SL = @"SL"; - public const string SN = @"SN"; - public const string SO = @"SO"; - public const string SQ = @"SQ"; - public const string SR = @"SR"; - public const string SU = @"SU"; - public const string SV = @"SV"; - public const string SW = @"SW"; - public const string TA = @"TA"; - public const string TE = @"TE"; - public const string TG = @"TG"; - public const string TH = @"TH"; - public const string TI = @"TI"; - public const string TK = @"TK"; - public const string TO = @"TO"; - public const string TR = @"TR"; - public const string TT = @"TT"; - public const string UG = @"UG"; - public const string UK = @"UK"; - public const string UR = @"UR"; - public const string UZ = @"UZ"; - public const string VI = @"VI"; - public const string WO = @"WO"; - public const string XH = @"XH"; - public const string YI = @"YI"; - public const string YO = @"YO"; - public const string ZH_CN = @"ZH_CN"; - public const string ZH_TW = @"ZH_TW"; - public const string ZU = @"ZU"; - public const string ZH = @"ZH"; - public const string PT = @"PT"; - public const string CU = @"CU"; - public const string VO = @"VO"; - } - + [Description("Volapük.")] + VO, + } + + public static class LanguageCodeStringValues + { + public const string AF = @"AF"; + public const string AK = @"AK"; + public const string AM = @"AM"; + public const string AR = @"AR"; + public const string AS = @"AS"; + public const string AZ = @"AZ"; + public const string BE = @"BE"; + public const string BG = @"BG"; + public const string BM = @"BM"; + public const string BN = @"BN"; + public const string BO = @"BO"; + public const string BR = @"BR"; + public const string BS = @"BS"; + public const string CA = @"CA"; + public const string CE = @"CE"; + public const string CKB = @"CKB"; + public const string CS = @"CS"; + public const string CY = @"CY"; + public const string DA = @"DA"; + public const string DE = @"DE"; + public const string DZ = @"DZ"; + public const string EE = @"EE"; + public const string EL = @"EL"; + public const string EN = @"EN"; + public const string EO = @"EO"; + public const string ES = @"ES"; + public const string ET = @"ET"; + public const string EU = @"EU"; + public const string FA = @"FA"; + public const string FF = @"FF"; + public const string FI = @"FI"; + public const string FIL = @"FIL"; + public const string FO = @"FO"; + public const string FR = @"FR"; + public const string FY = @"FY"; + public const string GA = @"GA"; + public const string GD = @"GD"; + public const string GL = @"GL"; + public const string GU = @"GU"; + public const string GV = @"GV"; + public const string HA = @"HA"; + public const string HE = @"HE"; + public const string HI = @"HI"; + public const string HR = @"HR"; + public const string HU = @"HU"; + public const string HY = @"HY"; + public const string IA = @"IA"; + public const string ID = @"ID"; + public const string IG = @"IG"; + public const string II = @"II"; + public const string IS = @"IS"; + public const string IT = @"IT"; + public const string JA = @"JA"; + public const string JV = @"JV"; + public const string KA = @"KA"; + public const string KI = @"KI"; + public const string KK = @"KK"; + public const string KL = @"KL"; + public const string KM = @"KM"; + public const string KN = @"KN"; + public const string KO = @"KO"; + public const string KS = @"KS"; + public const string KU = @"KU"; + public const string KW = @"KW"; + public const string KY = @"KY"; + public const string LB = @"LB"; + public const string LG = @"LG"; + public const string LN = @"LN"; + public const string LO = @"LO"; + public const string LT = @"LT"; + public const string LU = @"LU"; + public const string LV = @"LV"; + public const string MG = @"MG"; + public const string MI = @"MI"; + public const string MK = @"MK"; + public const string ML = @"ML"; + public const string MN = @"MN"; + public const string MR = @"MR"; + public const string MS = @"MS"; + public const string MT = @"MT"; + public const string MY = @"MY"; + public const string NB = @"NB"; + public const string ND = @"ND"; + public const string NE = @"NE"; + public const string NL = @"NL"; + public const string NN = @"NN"; + public const string NO = @"NO"; + public const string OM = @"OM"; + public const string OR = @"OR"; + public const string OS = @"OS"; + public const string PA = @"PA"; + public const string PL = @"PL"; + public const string PS = @"PS"; + public const string PT_BR = @"PT_BR"; + public const string PT_PT = @"PT_PT"; + public const string QU = @"QU"; + public const string RM = @"RM"; + public const string RN = @"RN"; + public const string RO = @"RO"; + public const string RU = @"RU"; + public const string RW = @"RW"; + public const string SA = @"SA"; + public const string SC = @"SC"; + public const string SD = @"SD"; + public const string SE = @"SE"; + public const string SG = @"SG"; + public const string SI = @"SI"; + public const string SK = @"SK"; + public const string SL = @"SL"; + public const string SN = @"SN"; + public const string SO = @"SO"; + public const string SQ = @"SQ"; + public const string SR = @"SR"; + public const string SU = @"SU"; + public const string SV = @"SV"; + public const string SW = @"SW"; + public const string TA = @"TA"; + public const string TE = @"TE"; + public const string TG = @"TG"; + public const string TH = @"TH"; + public const string TI = @"TI"; + public const string TK = @"TK"; + public const string TO = @"TO"; + public const string TR = @"TR"; + public const string TT = @"TT"; + public const string UG = @"UG"; + public const string UK = @"UK"; + public const string UR = @"UR"; + public const string UZ = @"UZ"; + public const string VI = @"VI"; + public const string WO = @"WO"; + public const string XH = @"XH"; + public const string YI = @"YI"; + public const string YO = @"YO"; + public const string ZH_CN = @"ZH_CN"; + public const string ZH_TW = @"ZH_TW"; + public const string ZU = @"ZU"; + public const string ZH = @"ZH"; + public const string PT = @"PT"; + public const string CU = @"CU"; + public const string VO = @"VO"; + } + /// ///Interoperability metadata for types that directly correspond to a REST Admin API resource. ///For example, on the Product type, LegacyInteroperability returns metadata for the corresponding [Product object](https://shopify.dev/api/admin-graphql/latest/objects/product) in the REST Admin API. /// - [Description("Interoperability metadata for types that directly correspond to a REST Admin API resource.\nFor example, on the Product type, LegacyInteroperability returns metadata for the corresponding [Product object](https://shopify.dev/api/admin-graphql/latest/objects/product) in the REST Admin API.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(Fulfillment), typeDiscriminator: "Fulfillment")] - [JsonDerivedType(typeof(InventoryItem), typeDiscriminator: "InventoryItem")] - [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] - [JsonDerivedType(typeof(MarketingEvent), typeDiscriminator: "MarketingEvent")] - [JsonDerivedType(typeof(Metafield), typeDiscriminator: "Metafield")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - [JsonDerivedType(typeof(Refund), typeDiscriminator: "Refund")] - [JsonDerivedType(typeof(SavedSearch), typeDiscriminator: "SavedSearch")] - [JsonDerivedType(typeof(ScriptTag), typeDiscriminator: "ScriptTag")] - [JsonDerivedType(typeof(ShopifyPaymentsDispute), typeDiscriminator: "ShopifyPaymentsDispute")] - [JsonDerivedType(typeof(ShopifyPaymentsPayout), typeDiscriminator: "ShopifyPaymentsPayout")] - [JsonDerivedType(typeof(WebhookSubscription), typeDiscriminator: "WebhookSubscription")] - public interface ILegacyInteroperability : IGraphQLObject - { - public Customer? AsCustomer() => this as Customer; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public Fulfillment? AsFulfillment() => this as Fulfillment; - public InventoryItem? AsInventoryItem() => this as InventoryItem; - public Location? AsLocation() => this as Location; - public MarketingEvent? AsMarketingEvent() => this as MarketingEvent; - public Metafield? AsMetafield() => this as Metafield; - public Order? AsOrder() => this as Order; - public PriceRule? AsPriceRule() => this as PriceRule; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; - public Refund? AsRefund() => this as Refund; - public SavedSearch? AsSavedSearch() => this as SavedSearch; - public ScriptTag? AsScriptTag() => this as ScriptTag; - public ShopifyPaymentsDispute? AsShopifyPaymentsDispute() => this as ShopifyPaymentsDispute; - public ShopifyPaymentsPayout? AsShopifyPaymentsPayout() => this as ShopifyPaymentsPayout; - public WebhookSubscription? AsWebhookSubscription() => this as WebhookSubscription; + [Description("Interoperability metadata for types that directly correspond to a REST Admin API resource.\nFor example, on the Product type, LegacyInteroperability returns metadata for the corresponding [Product object](https://shopify.dev/api/admin-graphql/latest/objects/product) in the REST Admin API.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(Fulfillment), typeDiscriminator: "Fulfillment")] + [JsonDerivedType(typeof(InventoryItem), typeDiscriminator: "InventoryItem")] + [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] + [JsonDerivedType(typeof(MarketingEvent), typeDiscriminator: "MarketingEvent")] + [JsonDerivedType(typeof(Metafield), typeDiscriminator: "Metafield")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + [JsonDerivedType(typeof(Refund), typeDiscriminator: "Refund")] + [JsonDerivedType(typeof(SavedSearch), typeDiscriminator: "SavedSearch")] + [JsonDerivedType(typeof(ScriptTag), typeDiscriminator: "ScriptTag")] + [JsonDerivedType(typeof(ShopifyPaymentsDispute), typeDiscriminator: "ShopifyPaymentsDispute")] + [JsonDerivedType(typeof(ShopifyPaymentsPayout), typeDiscriminator: "ShopifyPaymentsPayout")] + [JsonDerivedType(typeof(WebhookSubscription), typeDiscriminator: "WebhookSubscription")] + public interface ILegacyInteroperability : IGraphQLObject + { + public Customer? AsCustomer() => this as Customer; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public Fulfillment? AsFulfillment() => this as Fulfillment; + public InventoryItem? AsInventoryItem() => this as InventoryItem; + public Location? AsLocation() => this as Location; + public MarketingEvent? AsMarketingEvent() => this as MarketingEvent; + public Metafield? AsMetafield() => this as Metafield; + public Order? AsOrder() => this as Order; + public PriceRule? AsPriceRule() => this as PriceRule; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; + public Refund? AsRefund() => this as Refund; + public SavedSearch? AsSavedSearch() => this as SavedSearch; + public ScriptTag? AsScriptTag() => this as ScriptTag; + public ShopifyPaymentsDispute? AsShopifyPaymentsDispute() => this as ShopifyPaymentsDispute; + public ShopifyPaymentsPayout? AsShopifyPaymentsPayout() => this as ShopifyPaymentsPayout; + public WebhookSubscription? AsWebhookSubscription() => this as WebhookSubscription; /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; } - } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; } + } + /// ///Units of measurement for length. /// - [Description("Units of measurement for length.")] - public enum LengthUnit - { + [Description("Units of measurement for length.")] + public enum LengthUnit + { /// ///1000 millimeters equals 1 meter. /// - [Description("1000 millimeters equals 1 meter.")] - MILLIMETERS, + [Description("1000 millimeters equals 1 meter.")] + MILLIMETERS, /// ///100 centimeters equals 1 meter. /// - [Description("100 centimeters equals 1 meter.")] - CENTIMETERS, + [Description("100 centimeters equals 1 meter.")] + CENTIMETERS, /// ///Metric system unit of length. /// - [Description("Metric system unit of length.")] - METERS, + [Description("Metric system unit of length.")] + METERS, /// ///12 inches equals 1 foot. /// - [Description("12 inches equals 1 foot.")] - INCHES, + [Description("12 inches equals 1 foot.")] + INCHES, /// ///Imperial system unit of length. /// - [Description("Imperial system unit of length.")] - FEET, + [Description("Imperial system unit of length.")] + FEET, /// ///1 yard equals 3 feet. /// - [Description("1 yard equals 3 feet.")] - YARDS, - } - - public static class LengthUnitStringValues - { - public const string MILLIMETERS = @"MILLIMETERS"; - public const string CENTIMETERS = @"CENTIMETERS"; - public const string METERS = @"METERS"; - public const string INCHES = @"INCHES"; - public const string FEET = @"FEET"; - public const string YARDS = @"YARDS"; - } - + [Description("1 yard equals 3 feet.")] + YARDS, + } + + public static class LengthUnitStringValues + { + public const string MILLIMETERS = @"MILLIMETERS"; + public const string CENTIMETERS = @"CENTIMETERS"; + public const string METERS = @"METERS"; + public const string INCHES = @"INCHES"; + public const string FEET = @"FEET"; + public const string YARDS = @"YARDS"; + } + /// ///The total number of pending orders on a shop if less then a maximum, or that maximum. ///The atMax field indicates when this maximum has been reached. /// - [Description("The total number of pending orders on a shop if less then a maximum, or that maximum.\nThe atMax field indicates when this maximum has been reached.")] - public class LimitedPendingOrderCount : GraphQLObject - { + [Description("The total number of pending orders on a shop if less then a maximum, or that maximum.\nThe atMax field indicates when this maximum has been reached.")] + public class LimitedPendingOrderCount : GraphQLObject + { /// ///This is set when the number of pending orders has reached the maximum. /// - [Description("This is set when the number of pending orders has reached the maximum.")] - [NonNull] - public bool? atMax { get; set; } - + [Description("This is set when the number of pending orders has reached the maximum.")] + [NonNull] + public bool? atMax { get; set; } + /// ///The number of pendings orders on the shop. ///Limited to a maximum of 10000. /// - [Description("The number of pendings orders on the shop.\nLimited to a maximum of 10000.")] - [NonNull] - public int? count { get; set; } - } - + [Description("The number of pendings orders on the shop.\nLimited to a maximum of 10000.")] + [NonNull] + public int? count { get; set; } + } + /// ///The `LineItem` object represents a single product or service that a customer purchased in an ///[order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order). @@ -58657,96 +58657,96 @@ public class LimitedPendingOrderCount : GraphQLObject ///about each item in an order. Learn more about ///[managing orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment). /// - [Description("The `LineItem` object represents a single product or service that a customer purchased in an\n[order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order).\nEach line item is associated with a\n[product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nand can have multiple [discount allocations](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAllocation).\nLine items contain details about what was purchased, including the product variant, quantity, pricing,\nand fulfillment status.\n\nUse the `LineItem` object to manage the following processes:\n\n- [Track the quantity of items](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/build-fulfillment-solutions) ordered, fulfilled, and unfulfilled.\n- [Calculate prices](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders), including discounts and taxes.\n- Manage fulfillment through [fulfillment services](https://shopify.dev/docs/apps/build/orders-fulfillment/fulfillment-service-apps).\n- Manage [returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management) and [exchanges](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-exchanges).\n- Handle [subscriptions](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) and recurring orders.\n\nLine items can also include custom attributes and properties, allowing merchants to add specific details\nabout each item in an order. Learn more about\n[managing orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).")] - public class LineItem : GraphQLObject, INode - { + [Description("The `LineItem` object represents a single product or service that a customer purchased in an\n[order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order).\nEach line item is associated with a\n[product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nand can have multiple [discount allocations](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAllocation).\nLine items contain details about what was purchased, including the product variant, quantity, pricing,\nand fulfillment status.\n\nUse the `LineItem` object to manage the following processes:\n\n- [Track the quantity of items](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/build-fulfillment-solutions) ordered, fulfilled, and unfulfilled.\n- [Calculate prices](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders), including discounts and taxes.\n- Manage fulfillment through [fulfillment services](https://shopify.dev/docs/apps/build/orders-fulfillment/fulfillment-service-apps).\n- Manage [returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management) and [exchanges](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-exchanges).\n- Handle [subscriptions](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) and recurring orders.\n\nLine items can also include custom attributes and properties, allowing merchants to add specific details\nabout each item in an order. Learn more about\n[managing orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).")] + public class LineItem : GraphQLObject, INode + { /// ///Whether the line item can be restocked. /// - [Description("Whether the line item can be restocked.")] - [Obsolete("Use `restockable` instead.")] - [NonNull] - public bool? canRestock { get; set; } - + [Description("Whether the line item can be restocked.")] + [Obsolete("Use `restockable` instead.")] + [NonNull] + public bool? canRestock { get; set; } + /// ///The subscription contract associated with this line item. /// - [Description("The subscription contract associated with this line item.")] - public SubscriptionContract? contract { get; set; } - + [Description("The subscription contract associated with this line item.")] + public SubscriptionContract? contract { get; set; } + /// ///The number of units ordered, excluding refunded and removed units. /// - [Description("The number of units ordered, excluding refunded and removed units.")] - [NonNull] - public int? currentQuantity { get; set; } - + [Description("The number of units ordered, excluding refunded and removed units.")] + [NonNull] + public int? currentQuantity { get; set; } + /// ///A list of attributes that represent custom features or special requests. /// - [Description("A list of attributes that represent custom features or special requests.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of attributes that represent custom features or special requests.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The discounts that have been allocated to the line item by discount applications, including discounts allocated to refunded and removed quantities. /// - [Description("The discounts that have been allocated to the line item by discount applications, including discounts allocated to refunded and removed quantities.")] - [NonNull] - public IEnumerable? discountAllocations { get; set; } - + [Description("The discounts that have been allocated to the line item by discount applications, including discounts allocated to refunded and removed quantities.")] + [NonNull] + public IEnumerable? discountAllocations { get; set; } + /// ///The total discounted price of the line item in shop currency, including refunded and removed quantities. This value doesn't include order-level discounts. /// - [Description("The total discounted price of the line item in shop currency, including refunded and removed quantities. This value doesn't include order-level discounts.")] - [Obsolete("Use `discountedTotalSet` instead.")] - [NonNull] - public decimal? discountedTotal { get; set; } - + [Description("The total discounted price of the line item in shop currency, including refunded and removed quantities. This value doesn't include order-level discounts.")] + [Obsolete("Use `discountedTotalSet` instead.")] + [NonNull] + public decimal? discountedTotal { get; set; } + /// ///The total discounted price of the line item in shop and presentment currencies, including refunded and removed quantities. This value doesn't include order-level discounts. Code-based discounts aren't included by default. /// - [Description("The total discounted price of the line item in shop and presentment currencies, including refunded and removed quantities. This value doesn't include order-level discounts. Code-based discounts aren't included by default.")] - [NonNull] - public MoneyBag? discountedTotalSet { get; set; } - + [Description("The total discounted price of the line item in shop and presentment currencies, including refunded and removed quantities. This value doesn't include order-level discounts. Code-based discounts aren't included by default.")] + [NonNull] + public MoneyBag? discountedTotalSet { get; set; } + /// ///The approximate unit price of the line item in shop currency. This value includes line-level discounts and discounts applied to refunded and removed quantities. It doesn't include order-level or code-based discounts. /// - [Description("The approximate unit price of the line item in shop currency. This value includes line-level discounts and discounts applied to refunded and removed quantities. It doesn't include order-level or code-based discounts.")] - [Obsolete("Use `discountedUnitPriceSet` instead.")] - [NonNull] - public decimal? discountedUnitPrice { get; set; } - + [Description("The approximate unit price of the line item in shop currency. This value includes line-level discounts and discounts applied to refunded and removed quantities. It doesn't include order-level or code-based discounts.")] + [Obsolete("Use `discountedUnitPriceSet` instead.")] + [NonNull] + public decimal? discountedUnitPrice { get; set; } + /// ///The approximate unit price of the line item in shop and presentment currencies. This value includes discounts applied to refunded and removed quantities. /// - [Description("The approximate unit price of the line item in shop and presentment currencies. This value includes discounts applied to refunded and removed quantities.")] - [NonNull] - public MoneyBag? discountedUnitPriceAfterAllDiscountsSet { get; set; } - + [Description("The approximate unit price of the line item in shop and presentment currencies. This value includes discounts applied to refunded and removed quantities.")] + [NonNull] + public MoneyBag? discountedUnitPriceAfterAllDiscountsSet { get; set; } + /// ///The approximate unit price of the line item in shop and presentment currencies. This value includes line-level discounts and discounts applied to refunded and removed quantities. It doesn't include order-level or code-based discounts. /// - [Description("The approximate unit price of the line item in shop and presentment currencies. This value includes line-level discounts and discounts applied to refunded and removed quantities. It doesn't include order-level or code-based discounts.")] - [NonNull] - public MoneyBag? discountedUnitPriceSet { get; set; } - + [Description("The approximate unit price of the line item in shop and presentment currencies. This value includes line-level discounts and discounts applied to refunded and removed quantities. It doesn't include order-level or code-based discounts.")] + [NonNull] + public MoneyBag? discountedUnitPriceSet { get; set; } + /// ///The duties associated with the line item. /// - [Description("The duties associated with the line item.")] - [NonNull] - public IEnumerable? duties { get; set; } - + [Description("The duties associated with the line item.")] + [NonNull] + public IEnumerable? duties { get; set; } + /// ///The total number of units to fulfill. /// - [Description("The total number of units to fulfill.")] - [Obsolete("Use [FulfillmentOrderLineItem#remainingQuantity](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderLineItem#field-fulfillmentorderlineitem-remainingquantity) instead.")] - [NonNull] - public int? fulfillableQuantity { get; set; } - + [Description("The total number of units to fulfill.")] + [Obsolete("Use [FulfillmentOrderLineItem#remainingQuantity](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderLineItem#field-fulfillmentorderlineitem-remainingquantity) instead.")] + [NonNull] + public int? fulfillableQuantity { get; set; } + /// ///The fulfillment service that stocks the product variant belonging to a line item. /// @@ -58762,3214 +58762,3214 @@ public class LineItem : GraphQLObject, INode /// ///If none of the above conditions are met, then the fulfillment service has the `manual` handle. /// - [Description("The fulfillment service that stocks the product variant belonging to a line item.\n\nThis is a third-party fulfillment service in the following scenarios:\n\n**Scenario 1**\n- The product variant is stocked by a single fulfillment service.\n- The [FulfillmentService](/api/admin-graphql/latest/objects/FulfillmentService) is a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\n**Scenario 2**\n- Multiple fulfillment services stock the product variant.\n- The last time that the line item was unfulfilled, it was awaiting fulfillment by a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\nIf none of the above conditions are met, then the fulfillment service has the `manual` handle.")] - [Obsolete("\nThe [relationship between a product variant and a fulfillment service was changed](/changelog/fulfillment-service-sku-sharing). A [ProductVariant](/api/admin-graphql/latest/objects/ProductVariant) can be stocked by multiple fulfillment services. As a result, we recommend that you use the [inventoryItem field](/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-inventoryitem) if you need to determine where a product variant is stocked.\n\nIf you need to determine whether a product is a gift card, then you should continue to use this field until an alternative is available.\n\nAltering the locations which stock a product variant won't change the value of this field for existing orders.\n\nLearn about [managing inventory quantities and states](/apps/fulfillment/inventory-management-apps/quantities-states).")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("The fulfillment service that stocks the product variant belonging to a line item.\n\nThis is a third-party fulfillment service in the following scenarios:\n\n**Scenario 1**\n- The product variant is stocked by a single fulfillment service.\n- The [FulfillmentService](/api/admin-graphql/latest/objects/FulfillmentService) is a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\n**Scenario 2**\n- Multiple fulfillment services stock the product variant.\n- The last time that the line item was unfulfilled, it was awaiting fulfillment by a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\nIf none of the above conditions are met, then the fulfillment service has the `manual` handle.")] + [Obsolete("\nThe [relationship between a product variant and a fulfillment service was changed](/changelog/fulfillment-service-sku-sharing). A [ProductVariant](/api/admin-graphql/latest/objects/ProductVariant) can be stocked by multiple fulfillment services. As a result, we recommend that you use the [inventoryItem field](/api/admin-graphql/latest/objects/ProductVariant#field-productvariant-inventoryitem) if you need to determine where a product variant is stocked.\n\nIf you need to determine whether a product is a gift card, then you should continue to use this field until an alternative is available.\n\nAltering the locations which stock a product variant won't change the value of this field for existing orders.\n\nLearn about [managing inventory quantities and states](/apps/fulfillment/inventory-management-apps/quantities-states).")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///The line item's fulfillment status. Returns 'fulfilled' if fulfillableQuantity >= quantity, ///'partial' if fulfillableQuantity > 0, and 'unfulfilled' otherwise. /// - [Description("The line item's fulfillment status. Returns 'fulfilled' if fulfillableQuantity >= quantity,\n'partial' if fulfillableQuantity > 0, and 'unfulfilled' otherwise.")] - [Obsolete("Use [FulfillmentOrderLineItem#remainingQuantity](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderLineItem#field-fulfillmentorderlineitem-remainingquantity) instead")] - [NonNull] - public string? fulfillmentStatus { get; set; } - + [Description("The line item's fulfillment status. Returns 'fulfilled' if fulfillableQuantity >= quantity,\n'partial' if fulfillableQuantity > 0, and 'unfulfilled' otherwise.")] + [Obsolete("Use [FulfillmentOrderLineItem#remainingQuantity](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrderLineItem#field-fulfillmentorderlineitem-remainingquantity) instead")] + [NonNull] + public string? fulfillmentStatus { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image associated to the line item's variant. /// - [Description("The image associated to the line item's variant.")] - public Image? image { get; set; } - + [Description("The image associated to the line item's variant.")] + public Image? image { get; set; } + /// ///Whether the line item represents the purchase of a gift card. /// - [Description("Whether the line item represents the purchase of a gift card.")] - [NonNull] - public bool? isGiftCard { get; set; } - + [Description("Whether the line item represents the purchase of a gift card.")] + [NonNull] + public bool? isGiftCard { get; set; } + /// ///The line item group associated to the line item. /// - [Description("The line item group associated to the line item.")] - public LineItemGroup? lineItemGroup { get; set; } - + [Description("The line item group associated to the line item.")] + public LineItemGroup? lineItemGroup { get; set; } + /// ///Whether the line item can be edited or not. /// - [Description("Whether the line item can be edited or not.")] - [NonNull] - public bool? merchantEditable { get; set; } - + [Description("Whether the line item can be edited or not.")] + [NonNull] + public bool? merchantEditable { get; set; } + /// ///The title of the product, optionally appended with the title of the variant (if applicable). /// - [Description("The title of the product, optionally appended with the title of the variant (if applicable).")] - [NonNull] - public string? name { get; set; } - + [Description("The title of the product, optionally appended with the title of the variant (if applicable).")] + [NonNull] + public string? name { get; set; } + /// ///The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object for more fulfillment details. /// - [Description("The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object for more fulfillment details.")] - [NonNull] - public int? nonFulfillableQuantity { get; set; } - + [Description("The total number of units that can't be fulfilled. For example, if items have been refunded, or the item is not something that can be fulfilled, like a tip. Please see the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object for more fulfillment details.")] + [NonNull] + public int? nonFulfillableQuantity { get; set; } + /// ///In shop currency, the total price of the line item when the order was created. ///This value doesn't include discounts. /// - [Description("In shop currency, the total price of the line item when the order was created.\nThis value doesn't include discounts.")] - [Obsolete("Use `originalTotalSet` instead.")] - [NonNull] - public decimal? originalTotal { get; set; } - + [Description("In shop currency, the total price of the line item when the order was created.\nThis value doesn't include discounts.")] + [Obsolete("Use `originalTotalSet` instead.")] + [NonNull] + public decimal? originalTotal { get; set; } + /// ///In shop and presentment currencies, the total price of the line item when the order was created. ///This value doesn't include discounts. /// - [Description("In shop and presentment currencies, the total price of the line item when the order was created.\nThis value doesn't include discounts.")] - [NonNull] - public MoneyBag? originalTotalSet { get; set; } - + [Description("In shop and presentment currencies, the total price of the line item when the order was created.\nThis value doesn't include discounts.")] + [NonNull] + public MoneyBag? originalTotalSet { get; set; } + /// ///In shop currency, the unit price of the line item when the order was created. This value doesn't include discounts. /// - [Description("In shop currency, the unit price of the line item when the order was created. This value doesn't include discounts.")] - [Obsolete("Use `originalUnitPriceSet` instead.")] - [NonNull] - public decimal? originalUnitPrice { get; set; } - + [Description("In shop currency, the unit price of the line item when the order was created. This value doesn't include discounts.")] + [Obsolete("Use `originalUnitPriceSet` instead.")] + [NonNull] + public decimal? originalUnitPrice { get; set; } + /// ///In shop and presentment currencies, the unit price of the line item when the order was created. This value doesn't include discounts. /// - [Description("In shop and presentment currencies, the unit price of the line item when the order was created. This value doesn't include discounts.")] - [NonNull] - public MoneyBag? originalUnitPriceSet { get; set; } - + [Description("In shop and presentment currencies, the unit price of the line item when the order was created. This value doesn't include discounts.")] + [NonNull] + public MoneyBag? originalUnitPriceSet { get; set; } + /// ///The Product object associated with this line item's variant. /// - [Description("The Product object associated with this line item's variant.")] - public Product? product { get; set; } - + [Description("The Product object associated with this line item's variant.")] + public Product? product { get; set; } + /// ///The number of units ordered, including refunded and removed units. /// - [Description("The number of units ordered, including refunded and removed units.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The number of units ordered, including refunded and removed units.")] + [NonNull] + public int? quantity { get; set; } + /// ///The number of units ordered, excluding refunded units and removed units. /// - [Description("The number of units ordered, excluding refunded units and removed units.")] - [NonNull] - public int? refundableQuantity { get; set; } - + [Description("The number of units ordered, excluding refunded units and removed units.")] + [NonNull] + public int? refundableQuantity { get; set; } + /// ///Whether physical shipping is required for the variant. /// - [Description("Whether physical shipping is required for the variant.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether physical shipping is required for the variant.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///Whether the line item can be restocked. /// - [Description("Whether the line item can be restocked.")] - [NonNull] - public bool? restockable { get; set; } - + [Description("Whether the line item can be restocked.")] + [NonNull] + public bool? restockable { get; set; } + /// ///The selling plan details associated with the line item. /// - [Description("The selling plan details associated with the line item.")] - public LineItemSellingPlan? sellingPlan { get; set; } - + [Description("The selling plan details associated with the line item.")] + public LineItemSellingPlan? sellingPlan { get; set; } + /// ///The variant SKU number. /// - [Description("The variant SKU number.")] - public string? sku { get; set; } - + [Description("The variant SKU number.")] + public string? sku { get; set; } + /// ///Staff attributed to the line item. /// - [Description("Staff attributed to the line item.")] - public StaffMember? staffMember { get; set; } - + [Description("Staff attributed to the line item.")] + public StaffMember? staffMember { get; set; } + /// ///The taxes charged for the line item, including taxes charged for refunded and removed quantities. /// - [Description("The taxes charged for the line item, including taxes charged for refunded and removed quantities.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("The taxes charged for the line item, including taxes charged for refunded and removed quantities.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Whether the variant is taxable. /// - [Description("Whether the variant is taxable.")] - [NonNull] - public bool? taxable { get; set; } - + [Description("Whether the variant is taxable.")] + [NonNull] + public bool? taxable { get; set; } + /// ///The title of the product at time of order creation. /// - [Description("The title of the product at time of order creation.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product at time of order creation.")] + [NonNull] + public string? title { get; set; } + /// ///The total discount allocated to the line item in shop currency, including the total allocated to refunded and removed quantities. This value doesn't include order-level discounts. /// - [Description("The total discount allocated to the line item in shop currency, including the total allocated to refunded and removed quantities. This value doesn't include order-level discounts.")] - [Obsolete("Use `totalDiscountSet` instead.")] - [NonNull] - public decimal? totalDiscount { get; set; } - + [Description("The total discount allocated to the line item in shop currency, including the total allocated to refunded and removed quantities. This value doesn't include order-level discounts.")] + [Obsolete("Use `totalDiscountSet` instead.")] + [NonNull] + public decimal? totalDiscount { get; set; } + /// ///The total discount allocated to the line item in shop and presentment currencies, including the total allocated to refunded and removed quantities. This value doesn't include order-level discounts. /// - [Description("The total discount allocated to the line item in shop and presentment currencies, including the total allocated to refunded and removed quantities. This value doesn't include order-level discounts.")] - [NonNull] - public MoneyBag? totalDiscountSet { get; set; } - + [Description("The total discount allocated to the line item in shop and presentment currencies, including the total allocated to refunded and removed quantities. This value doesn't include order-level discounts.")] + [NonNull] + public MoneyBag? totalDiscountSet { get; set; } + /// ///In shop currency, the total discounted price of the unfulfilled quantity for the line item. /// - [Description("In shop currency, the total discounted price of the unfulfilled quantity for the line item.")] - [Obsolete("Use `unfulfilledDiscountedTotalSet` instead.")] - [NonNull] - public decimal? unfulfilledDiscountedTotal { get; set; } - + [Description("In shop currency, the total discounted price of the unfulfilled quantity for the line item.")] + [Obsolete("Use `unfulfilledDiscountedTotalSet` instead.")] + [NonNull] + public decimal? unfulfilledDiscountedTotal { get; set; } + /// ///In shop and presentment currencies, the total discounted price of the unfulfilled quantity for the line item. /// - [Description("In shop and presentment currencies, the total discounted price of the unfulfilled quantity for the line item.")] - [NonNull] - public MoneyBag? unfulfilledDiscountedTotalSet { get; set; } - + [Description("In shop and presentment currencies, the total discounted price of the unfulfilled quantity for the line item.")] + [NonNull] + public MoneyBag? unfulfilledDiscountedTotalSet { get; set; } + /// ///In shop currency, the total price of the unfulfilled quantity for the line item. This value doesn't include discounts. /// - [Description("In shop currency, the total price of the unfulfilled quantity for the line item. This value doesn't include discounts.")] - [Obsolete("Use `unfulfilledOriginalTotalSet` instead.")] - [NonNull] - public decimal? unfulfilledOriginalTotal { get; set; } - + [Description("In shop currency, the total price of the unfulfilled quantity for the line item. This value doesn't include discounts.")] + [Obsolete("Use `unfulfilledOriginalTotalSet` instead.")] + [NonNull] + public decimal? unfulfilledOriginalTotal { get; set; } + /// ///In shop and presentment currencies, the total price of the unfulfilled quantity for the line item. This value doesn't include discounts. /// - [Description("In shop and presentment currencies, the total price of the unfulfilled quantity for the line item. This value doesn't include discounts.")] - [NonNull] - public MoneyBag? unfulfilledOriginalTotalSet { get; set; } - + [Description("In shop and presentment currencies, the total price of the unfulfilled quantity for the line item. This value doesn't include discounts.")] + [NonNull] + public MoneyBag? unfulfilledOriginalTotalSet { get; set; } + /// ///The number of units not yet fulfilled. /// - [Description("The number of units not yet fulfilled.")] - [NonNull] - public int? unfulfilledQuantity { get; set; } - + [Description("The number of units not yet fulfilled.")] + [NonNull] + public int? unfulfilledQuantity { get; set; } + /// ///The Variant object associated with this line item. /// - [Description("The Variant object associated with this line item.")] - public ProductVariant? variant { get; set; } - + [Description("The Variant object associated with this line item.")] + public ProductVariant? variant { get; set; } + /// ///The title of the variant at time of order creation. /// - [Description("The title of the variant at time of order creation.")] - public string? variantTitle { get; set; } - + [Description("The title of the variant at time of order creation.")] + public string? variantTitle { get; set; } + /// ///The name of the vendor who made the variant. /// - [Description("The name of the vendor who made the variant.")] - public string? vendor { get; set; } - } - + [Description("The name of the vendor who made the variant.")] + public string? vendor { get; set; } + } + /// ///An auto-generated type for paginating through multiple LineItems. /// - [Description("An auto-generated type for paginating through multiple LineItems.")] - public class LineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple LineItems.")] + public class LineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in LineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in LineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in LineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one LineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one LineItem and a cursor during pagination.")] - public class LineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one LineItem and a cursor during pagination.")] + public class LineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of LineItemEdge. /// - [Description("The item at the end of LineItemEdge.")] - [NonNull] - public LineItem? node { get; set; } - } - + [Description("The item at the end of LineItemEdge.")] + [NonNull] + public LineItem? node { get; set; } + } + /// ///A line item group (bundle) to which a line item belongs to. /// - [Description("A line item group (bundle) to which a line item belongs to.")] - public class LineItemGroup : GraphQLObject, INode - { + [Description("A line item group (bundle) to which a line item belongs to.")] + public class LineItemGroup : GraphQLObject, INode + { /// ///A list of attributes that represent custom features or special requests. /// - [Description("A list of attributes that represent custom features or special requests.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of attributes that represent custom features or special requests.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///ID of the product of the line item group. /// - [Description("ID of the product of the line item group.")] - public string? productId { get; set; } - + [Description("ID of the product of the line item group.")] + public string? productId { get; set; } + /// ///Quantity of the line item group on the order. /// - [Description("Quantity of the line item group on the order.")] - [NonNull] - public int? quantity { get; set; } - + [Description("Quantity of the line item group on the order.")] + [NonNull] + public int? quantity { get; set; } + /// ///Title of the line item group. /// - [Description("Title of the line item group.")] - [NonNull] - public string? title { get; set; } - + [Description("Title of the line item group.")] + [NonNull] + public string? title { get; set; } + /// ///ID of the variant of the line item group. /// - [Description("ID of the variant of the line item group.")] - public string? variantId { get; set; } - + [Description("ID of the variant of the line item group.")] + public string? variantId { get; set; } + /// ///SKU of the variant of the line item group. /// - [Description("SKU of the variant of the line item group.")] - public string? variantSku { get; set; } - } - + [Description("SKU of the variant of the line item group.")] + public string? variantSku { get; set; } + } + /// ///Represents the selling plan for a line item. /// - [Description("Represents the selling plan for a line item.")] - public class LineItemSellingPlan : GraphQLObject - { + [Description("Represents the selling plan for a line item.")] + public class LineItemSellingPlan : GraphQLObject + { /// ///The name of the selling plan for display purposes. /// - [Description("The name of the selling plan for display purposes.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the selling plan for display purposes.")] + [NonNull] + public string? name { get; set; } + /// ///The ID of the selling plan associated with the line item. /// - [Description("The ID of the selling plan associated with the line item.")] - public string? sellingPlanId { get; set; } - } - + [Description("The ID of the selling plan associated with the line item.")] + public string? sellingPlanId { get; set; } + } + /// ///A link to direct users to. /// - [Description("A link to direct users to.")] - public class Link : GraphQLObject, IHasPublishedTranslations - { + [Description("A link to direct users to.")] + public class Link : GraphQLObject, IHasPublishedTranslations + { /// ///A context-sensitive label for the link. /// - [Description("A context-sensitive label for the link.")] - [NonNull] - public string? label { get; set; } - + [Description("A context-sensitive label for the link.")] + [NonNull] + public string? label { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The URL that the link visits. /// - [Description("The URL that the link visits.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL that the link visits.")] + [NonNull] + public string? url { get; set; } + } + /// ///The identifier for the metafield linked to this option. /// ///This API is currently in early access. See [Metafield-linked product options](https://shopify.dev/docs/api/admin/migrate/new-product-model/metafield-linked) for more details. /// - [Description("The identifier for the metafield linked to this option.\n\nThis API is currently in early access. See [Metafield-linked product options](https://shopify.dev/docs/api/admin/migrate/new-product-model/metafield-linked) for more details.")] - public class LinkedMetafield : GraphQLObject - { + [Description("The identifier for the metafield linked to this option.\n\nThis API is currently in early access. See [Metafield-linked product options](https://shopify.dev/docs/api/admin/migrate/new-product-model/metafield-linked) for more details.")] + public class LinkedMetafield : GraphQLObject + { /// ///Key of the metafield the option is linked to. /// - [Description("Key of the metafield the option is linked to.")] - public string? key { get; set; } - + [Description("Key of the metafield the option is linked to.")] + public string? key { get; set; } + /// ///Namespace of the metafield the option is linked to. /// - [Description("Namespace of the metafield the option is linked to.")] - public string? @namespace { get; set; } - } - + [Description("Namespace of the metafield the option is linked to.")] + public string? @namespace { get; set; } + } + /// ///The input fields required to link a product option to a metafield. /// - [Description("The input fields required to link a product option to a metafield.")] - public class LinkedMetafieldCreateInput : GraphQLObject - { + [Description("The input fields required to link a product option to a metafield.")] + public class LinkedMetafieldCreateInput : GraphQLObject + { /// ///The namespace of the metafield this option is linked to. /// - [Description("The namespace of the metafield this option is linked to.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace of the metafield this option is linked to.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The key of the metafield this option is linked to. /// - [Description("The key of the metafield this option is linked to.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the metafield this option is linked to.")] + [NonNull] + public string? key { get; set; } + /// ///Values associated with the option. /// - [Description("Values associated with the option.")] - public IEnumerable? values { get; set; } - } - + [Description("Values associated with the option.")] + public IEnumerable? values { get; set; } + } + /// ///The input fields for linking a combined listing option to a metafield. /// - [Description("The input fields for linking a combined listing option to a metafield.")] - public class LinkedMetafieldInput : GraphQLObject - { + [Description("The input fields for linking a combined listing option to a metafield.")] + public class LinkedMetafieldInput : GraphQLObject + { /// ///The namespace of the linked metafield. /// - [Description("The namespace of the linked metafield.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace of the linked metafield.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The key of the linked metafield. /// - [Description("The key of the linked metafield.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the linked metafield.")] + [NonNull] + public string? key { get; set; } + /// ///The values of the linked metafield. /// - [Description("The values of the linked metafield.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("The values of the linked metafield.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///The input fields required to link a product option to a metafield. /// ///This API is currently in early access. See [Metafield-linked product options](https://shopify.dev/docs/api/admin/migrate/new-product-model/metafield-linked) for more details. /// - [Description("The input fields required to link a product option to a metafield.\n\nThis API is currently in early access. See [Metafield-linked product options](https://shopify.dev/docs/api/admin/migrate/new-product-model/metafield-linked) for more details.")] - public class LinkedMetafieldUpdateInput : GraphQLObject - { + [Description("The input fields required to link a product option to a metafield.\n\nThis API is currently in early access. See [Metafield-linked product options](https://shopify.dev/docs/api/admin/migrate/new-product-model/metafield-linked) for more details.")] + public class LinkedMetafieldUpdateInput : GraphQLObject + { /// ///The namespace of the metafield this option is linked to. /// - [Description("The namespace of the metafield this option is linked to.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace of the metafield this option is linked to.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The key of the metafield this option is linked to. /// - [Description("The key of the metafield this option is linked to.")] - [NonNull] - public string? key { get; set; } - } - + [Description("The key of the metafield this option is linked to.")] + [NonNull] + public string? key { get; set; } + } + /// ///Local payment methods payment details related to a transaction. /// - [Description("Local payment methods payment details related to a transaction.")] - public class LocalPaymentMethodsPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails - { + [Description("Local payment methods payment details related to a transaction.")] + public class LocalPaymentMethodsPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails + { /// ///The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime. /// - [Description("The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime.")] - public string? paymentDescriptor { get; set; } - + [Description("The descriptor by the payment provider. Only available for Amazon Pay and Buy with Prime.")] + public string? paymentDescriptor { get; set; } + /// ///The name of payment method used by the buyer. /// - [Description("The name of payment method used by the buyer.")] - public string? paymentMethodName { get; set; } - } - + [Description("The name of payment method used by the buyer.")] + public string? paymentMethodName { get; set; } + } + /// ///A locale. /// - [Description("A locale.")] - public class Locale : GraphQLObject - { + [Description("A locale.")] + public class Locale : GraphQLObject + { /// ///Locale ISO code. /// - [Description("Locale ISO code.")] - [NonNull] - public string? isoCode { get; set; } - + [Description("Locale ISO code.")] + [NonNull] + public string? isoCode { get; set; } + /// ///Human-readable locale name. /// - [Description("Human-readable locale name.")] - [NonNull] - public string? name { get; set; } - } - + [Description("Human-readable locale name.")] + [NonNull] + public string? name { get; set; } + } + /// ///Specifies the type of the underlying localizable content. This can be used to conditionally render different UI elements such as input fields. /// - [Description("Specifies the type of the underlying localizable content. This can be used to conditionally render different UI elements such as input fields.")] - public enum LocalizableContentType - { + [Description("Specifies the type of the underlying localizable content. This can be used to conditionally render different UI elements such as input fields.")] + public enum LocalizableContentType + { /// ///A JSON string. /// - [Description("A JSON string.")] - JSON_STRING, + [Description("A JSON string.")] + JSON_STRING, /// ///A JSON. /// - [Description("A JSON.")] - JSON, + [Description("A JSON.")] + JSON, /// ///A list of multi-line texts. /// - [Description("A list of multi-line texts.")] - LIST_MULTI_LINE_TEXT_FIELD, + [Description("A list of multi-line texts.")] + LIST_MULTI_LINE_TEXT_FIELD, /// ///A list of single-line texts. /// - [Description("A list of single-line texts.")] - LIST_SINGLE_LINE_TEXT_FIELD, + [Description("A list of single-line texts.")] + LIST_SINGLE_LINE_TEXT_FIELD, /// ///A list of URLs. /// - [Description("A list of URLs.")] - LIST_URL, + [Description("A list of URLs.")] + LIST_URL, /// ///A multi-line text. /// - [Description("A multi-line text.")] - MULTI_LINE_TEXT_FIELD, + [Description("A multi-line text.")] + MULTI_LINE_TEXT_FIELD, /// ///A rich text. /// - [Description("A rich text.")] - RICH_TEXT_FIELD, + [Description("A rich text.")] + RICH_TEXT_FIELD, /// ///A single-line text. /// - [Description("A single-line text.")] - SINGLE_LINE_TEXT_FIELD, + [Description("A single-line text.")] + SINGLE_LINE_TEXT_FIELD, /// ///A string. /// - [Description("A string.")] - STRING, + [Description("A string.")] + STRING, /// ///A URL. /// - [Description("A URL.")] - URL, + [Description("A URL.")] + URL, /// ///A link. /// - [Description("A link.")] - LINK, + [Description("A link.")] + LINK, /// ///A list of links. /// - [Description("A list of links.")] - LIST_LINK, + [Description("A list of links.")] + LIST_LINK, /// ///A file reference. /// - [Description("A file reference.")] - FILE_REFERENCE, + [Description("A file reference.")] + FILE_REFERENCE, /// ///A list of file references. /// - [Description("A list of file references.")] - LIST_FILE_REFERENCE, + [Description("A list of file references.")] + LIST_FILE_REFERENCE, /// ///An HTML. /// - [Description("An HTML.")] - HTML, + [Description("An HTML.")] + HTML, /// ///A URI. /// - [Description("A URI.")] - URI, + [Description("A URI.")] + URI, /// ///An inline rich text. /// - [Description("An inline rich text.")] - INLINE_RICH_TEXT, - } - - public static class LocalizableContentTypeStringValues - { - public const string JSON_STRING = @"JSON_STRING"; - public const string JSON = @"JSON"; - public const string LIST_MULTI_LINE_TEXT_FIELD = @"LIST_MULTI_LINE_TEXT_FIELD"; - public const string LIST_SINGLE_LINE_TEXT_FIELD = @"LIST_SINGLE_LINE_TEXT_FIELD"; - public const string LIST_URL = @"LIST_URL"; - public const string MULTI_LINE_TEXT_FIELD = @"MULTI_LINE_TEXT_FIELD"; - public const string RICH_TEXT_FIELD = @"RICH_TEXT_FIELD"; - public const string SINGLE_LINE_TEXT_FIELD = @"SINGLE_LINE_TEXT_FIELD"; - public const string STRING = @"STRING"; - public const string URL = @"URL"; - public const string LINK = @"LINK"; - public const string LIST_LINK = @"LIST_LINK"; - public const string FILE_REFERENCE = @"FILE_REFERENCE"; - public const string LIST_FILE_REFERENCE = @"LIST_FILE_REFERENCE"; - public const string HTML = @"HTML"; - public const string URI = @"URI"; - public const string INLINE_RICH_TEXT = @"INLINE_RICH_TEXT"; - } - + [Description("An inline rich text.")] + INLINE_RICH_TEXT, + } + + public static class LocalizableContentTypeStringValues + { + public const string JSON_STRING = @"JSON_STRING"; + public const string JSON = @"JSON"; + public const string LIST_MULTI_LINE_TEXT_FIELD = @"LIST_MULTI_LINE_TEXT_FIELD"; + public const string LIST_SINGLE_LINE_TEXT_FIELD = @"LIST_SINGLE_LINE_TEXT_FIELD"; + public const string LIST_URL = @"LIST_URL"; + public const string MULTI_LINE_TEXT_FIELD = @"MULTI_LINE_TEXT_FIELD"; + public const string RICH_TEXT_FIELD = @"RICH_TEXT_FIELD"; + public const string SINGLE_LINE_TEXT_FIELD = @"SINGLE_LINE_TEXT_FIELD"; + public const string STRING = @"STRING"; + public const string URL = @"URL"; + public const string LINK = @"LINK"; + public const string LIST_LINK = @"LIST_LINK"; + public const string FILE_REFERENCE = @"FILE_REFERENCE"; + public const string LIST_FILE_REFERENCE = @"LIST_FILE_REFERENCE"; + public const string HTML = @"HTML"; + public const string URI = @"URI"; + public const string INLINE_RICH_TEXT = @"INLINE_RICH_TEXT"; + } + /// ///Represents the value captured by a localization extension. Localization extensions are additional fields required by certain countries on international orders. For example, some countries require additional fields for customs information or tax identification numbers. /// - [Description("Represents the value captured by a localization extension. Localization extensions are additional fields required by certain countries on international orders. For example, some countries require additional fields for customs information or tax identification numbers.")] - public class LocalizationExtension : GraphQLObject - { + [Description("Represents the value captured by a localization extension. Localization extensions are additional fields required by certain countries on international orders. For example, some countries require additional fields for customs information or tax identification numbers.")] + public class LocalizationExtension : GraphQLObject + { /// ///Country ISO 3166-1 alpha-2 code. /// - [Description("Country ISO 3166-1 alpha-2 code.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("Country ISO 3166-1 alpha-2 code.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The localized extension keys that are allowed. /// - [Description("The localized extension keys that are allowed.")] - [NonNull] - [EnumType(typeof(LocalizationExtensionKey))] - public string? key { get; set; } - + [Description("The localized extension keys that are allowed.")] + [NonNull] + [EnumType(typeof(LocalizationExtensionKey))] + public string? key { get; set; } + /// ///The purpose of this localization extension. /// - [Description("The purpose of this localization extension.")] - [NonNull] - [EnumType(typeof(LocalizationExtensionPurpose))] - public string? purpose { get; set; } - + [Description("The purpose of this localization extension.")] + [NonNull] + [EnumType(typeof(LocalizationExtensionPurpose))] + public string? purpose { get; set; } + /// ///The localized extension title. /// - [Description("The localized extension title.")] - [NonNull] - public string? title { get; set; } - + [Description("The localized extension title.")] + [NonNull] + public string? title { get; set; } + /// ///The value of the field. /// - [Description("The value of the field.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the field.")] + [NonNull] + public string? value { get; set; } + } + /// ///An auto-generated type for paginating through multiple LocalizationExtensions. /// - [Description("An auto-generated type for paginating through multiple LocalizationExtensions.")] - public class LocalizationExtensionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple LocalizationExtensions.")] + public class LocalizationExtensionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in LocalizationExtensionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in LocalizationExtensionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in LocalizationExtensionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one LocalizationExtension and a cursor during pagination. /// - [Description("An auto-generated type which holds one LocalizationExtension and a cursor during pagination.")] - public class LocalizationExtensionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one LocalizationExtension and a cursor during pagination.")] + public class LocalizationExtensionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of LocalizationExtensionEdge. /// - [Description("The item at the end of LocalizationExtensionEdge.")] - [NonNull] - public LocalizationExtension? node { get; set; } - } - + [Description("The item at the end of LocalizationExtensionEdge.")] + [NonNull] + public LocalizationExtension? node { get; set; } + } + /// ///The input fields for a LocalizationExtensionInput. /// - [Description("The input fields for a LocalizationExtensionInput.")] - public class LocalizationExtensionInput : GraphQLObject - { + [Description("The input fields for a LocalizationExtensionInput.")] + public class LocalizationExtensionInput : GraphQLObject + { /// ///The key for the localization extension. /// - [Description("The key for the localization extension.")] - [NonNull] - [EnumType(typeof(LocalizationExtensionKey))] - public string? key { get; set; } - + [Description("The key for the localization extension.")] + [NonNull] + [EnumType(typeof(LocalizationExtensionKey))] + public string? key { get; set; } + /// ///The localization extension value. /// - [Description("The localization extension value.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The localization extension value.")] + [NonNull] + public string? value { get; set; } + } + /// ///The key of a localization extension. /// - [Description("The key of a localization extension.")] - public enum LocalizationExtensionKey - { + [Description("The key of a localization extension.")] + public enum LocalizationExtensionKey + { /// ///Extension key 'tax_credential_br' for country BR. /// - [Description("Extension key 'tax_credential_br' for country BR.")] - TAX_CREDENTIAL_BR, + [Description("Extension key 'tax_credential_br' for country BR.")] + TAX_CREDENTIAL_BR, /// ///Extension key 'shipping_credential_br' for country BR. /// - [Description("Extension key 'shipping_credential_br' for country BR.")] - SHIPPING_CREDENTIAL_BR, + [Description("Extension key 'shipping_credential_br' for country BR.")] + SHIPPING_CREDENTIAL_BR, /// ///Extension key 'tax_credential_cl' for country CL. /// - [Description("Extension key 'tax_credential_cl' for country CL.")] - TAX_CREDENTIAL_CL, + [Description("Extension key 'tax_credential_cl' for country CL.")] + TAX_CREDENTIAL_CL, /// ///Extension key 'shipping_credential_cl' for country CL. /// - [Description("Extension key 'shipping_credential_cl' for country CL.")] - SHIPPING_CREDENTIAL_CL, + [Description("Extension key 'shipping_credential_cl' for country CL.")] + SHIPPING_CREDENTIAL_CL, /// ///Extension key 'shipping_credential_cn' for country CN. /// - [Description("Extension key 'shipping_credential_cn' for country CN.")] - SHIPPING_CREDENTIAL_CN, + [Description("Extension key 'shipping_credential_cn' for country CN.")] + SHIPPING_CREDENTIAL_CN, /// ///Extension key 'tax_credential_co' for country CO. /// - [Description("Extension key 'tax_credential_co' for country CO.")] - TAX_CREDENTIAL_CO, + [Description("Extension key 'tax_credential_co' for country CO.")] + TAX_CREDENTIAL_CO, /// ///Extension key 'tax_credential_type_co' for country CO. /// - [Description("Extension key 'tax_credential_type_co' for country CO.")] - TAX_CREDENTIAL_TYPE_CO, + [Description("Extension key 'tax_credential_type_co' for country CO.")] + TAX_CREDENTIAL_TYPE_CO, /// ///Extension key 'shipping_credential_co' for country CO. /// - [Description("Extension key 'shipping_credential_co' for country CO.")] - SHIPPING_CREDENTIAL_CO, + [Description("Extension key 'shipping_credential_co' for country CO.")] + SHIPPING_CREDENTIAL_CO, /// ///Extension key 'shipping_credential_type_co' for country CO. /// - [Description("Extension key 'shipping_credential_type_co' for country CO.")] - SHIPPING_CREDENTIAL_TYPE_CO, + [Description("Extension key 'shipping_credential_type_co' for country CO.")] + SHIPPING_CREDENTIAL_TYPE_CO, /// ///Extension key 'tax_credential_cr' for country CR. /// - [Description("Extension key 'tax_credential_cr' for country CR.")] - TAX_CREDENTIAL_CR, + [Description("Extension key 'tax_credential_cr' for country CR.")] + TAX_CREDENTIAL_CR, /// ///Extension key 'shipping_credential_cr' for country CR. /// - [Description("Extension key 'shipping_credential_cr' for country CR.")] - SHIPPING_CREDENTIAL_CR, + [Description("Extension key 'shipping_credential_cr' for country CR.")] + SHIPPING_CREDENTIAL_CR, /// ///Extension key 'tax_credential_ec' for country EC. /// - [Description("Extension key 'tax_credential_ec' for country EC.")] - TAX_CREDENTIAL_EC, + [Description("Extension key 'tax_credential_ec' for country EC.")] + TAX_CREDENTIAL_EC, /// ///Extension key 'shipping_credential_ec' for country EC. /// - [Description("Extension key 'shipping_credential_ec' for country EC.")] - SHIPPING_CREDENTIAL_EC, + [Description("Extension key 'shipping_credential_ec' for country EC.")] + SHIPPING_CREDENTIAL_EC, /// ///Extension key 'tax_credential_gt' for country GT. /// - [Description("Extension key 'tax_credential_gt' for country GT.")] - TAX_CREDENTIAL_GT, + [Description("Extension key 'tax_credential_gt' for country GT.")] + TAX_CREDENTIAL_GT, /// ///Extension key 'shipping_credential_gt' for country GT. /// - [Description("Extension key 'shipping_credential_gt' for country GT.")] - SHIPPING_CREDENTIAL_GT, + [Description("Extension key 'shipping_credential_gt' for country GT.")] + SHIPPING_CREDENTIAL_GT, /// ///Extension key 'tax_credential_id' for country ID. /// - [Description("Extension key 'tax_credential_id' for country ID.")] - TAX_CREDENTIAL_ID, + [Description("Extension key 'tax_credential_id' for country ID.")] + TAX_CREDENTIAL_ID, /// ///Extension key 'shipping_credential_id' for country ID. /// - [Description("Extension key 'shipping_credential_id' for country ID.")] - SHIPPING_CREDENTIAL_ID, + [Description("Extension key 'shipping_credential_id' for country ID.")] + SHIPPING_CREDENTIAL_ID, /// ///Extension key 'tax_credential_it' for country IT. /// - [Description("Extension key 'tax_credential_it' for country IT.")] - TAX_CREDENTIAL_IT, + [Description("Extension key 'tax_credential_it' for country IT.")] + TAX_CREDENTIAL_IT, /// ///Extension key 'tax_email_it' for country IT. /// - [Description("Extension key 'tax_email_it' for country IT.")] - TAX_EMAIL_IT, + [Description("Extension key 'tax_email_it' for country IT.")] + TAX_EMAIL_IT, /// ///Extension key 'tax_credential_my' for country MY. /// - [Description("Extension key 'tax_credential_my' for country MY.")] - TAX_CREDENTIAL_MY, + [Description("Extension key 'tax_credential_my' for country MY.")] + TAX_CREDENTIAL_MY, /// ///Extension key 'shipping_credential_my' for country MY. /// - [Description("Extension key 'shipping_credential_my' for country MY.")] - SHIPPING_CREDENTIAL_MY, + [Description("Extension key 'shipping_credential_my' for country MY.")] + SHIPPING_CREDENTIAL_MY, /// ///Extension key 'shipping_credential_mx' for country MX. /// - [Description("Extension key 'shipping_credential_mx' for country MX.")] - SHIPPING_CREDENTIAL_MX, + [Description("Extension key 'shipping_credential_mx' for country MX.")] + SHIPPING_CREDENTIAL_MX, /// ///Extension key 'tax_credential_mx' for country MX. /// - [Description("Extension key 'tax_credential_mx' for country MX.")] - TAX_CREDENTIAL_MX, + [Description("Extension key 'tax_credential_mx' for country MX.")] + TAX_CREDENTIAL_MX, /// ///Extension key 'tax_credential_type_mx' for country MX. /// - [Description("Extension key 'tax_credential_type_mx' for country MX.")] - TAX_CREDENTIAL_TYPE_MX, + [Description("Extension key 'tax_credential_type_mx' for country MX.")] + TAX_CREDENTIAL_TYPE_MX, /// ///Extension key 'tax_credential_use_mx' for country MX. /// - [Description("Extension key 'tax_credential_use_mx' for country MX.")] - TAX_CREDENTIAL_USE_MX, + [Description("Extension key 'tax_credential_use_mx' for country MX.")] + TAX_CREDENTIAL_USE_MX, /// ///Extension key 'tax_credential_py' for country PY. /// - [Description("Extension key 'tax_credential_py' for country PY.")] - TAX_CREDENTIAL_PY, + [Description("Extension key 'tax_credential_py' for country PY.")] + TAX_CREDENTIAL_PY, /// ///Extension key 'shipping_credential_py' for country PY. /// - [Description("Extension key 'shipping_credential_py' for country PY.")] - SHIPPING_CREDENTIAL_PY, + [Description("Extension key 'shipping_credential_py' for country PY.")] + SHIPPING_CREDENTIAL_PY, /// ///Extension key 'tax_credential_pe' for country PE. /// - [Description("Extension key 'tax_credential_pe' for country PE.")] - TAX_CREDENTIAL_PE, + [Description("Extension key 'tax_credential_pe' for country PE.")] + TAX_CREDENTIAL_PE, /// ///Extension key 'shipping_credential_pe' for country PE. /// - [Description("Extension key 'shipping_credential_pe' for country PE.")] - SHIPPING_CREDENTIAL_PE, + [Description("Extension key 'shipping_credential_pe' for country PE.")] + SHIPPING_CREDENTIAL_PE, /// ///Extension key 'tax_credential_pt' for country PT. /// - [Description("Extension key 'tax_credential_pt' for country PT.")] - TAX_CREDENTIAL_PT, + [Description("Extension key 'tax_credential_pt' for country PT.")] + TAX_CREDENTIAL_PT, /// ///Extension key 'shipping_credential_pt' for country PT. /// - [Description("Extension key 'shipping_credential_pt' for country PT.")] - SHIPPING_CREDENTIAL_PT, + [Description("Extension key 'shipping_credential_pt' for country PT.")] + SHIPPING_CREDENTIAL_PT, /// ///Extension key 'shipping_credential_kr' for country KR. /// - [Description("Extension key 'shipping_credential_kr' for country KR.")] - SHIPPING_CREDENTIAL_KR, + [Description("Extension key 'shipping_credential_kr' for country KR.")] + SHIPPING_CREDENTIAL_KR, /// ///Extension key 'tax_credential_es' for country ES. /// - [Description("Extension key 'tax_credential_es' for country ES.")] - TAX_CREDENTIAL_ES, + [Description("Extension key 'tax_credential_es' for country ES.")] + TAX_CREDENTIAL_ES, /// ///Extension key 'shipping_credential_es' for country ES. /// - [Description("Extension key 'shipping_credential_es' for country ES.")] - SHIPPING_CREDENTIAL_ES, + [Description("Extension key 'shipping_credential_es' for country ES.")] + SHIPPING_CREDENTIAL_ES, /// ///Extension key 'shipping_credential_tw' for country TW. /// - [Description("Extension key 'shipping_credential_tw' for country TW.")] - SHIPPING_CREDENTIAL_TW, + [Description("Extension key 'shipping_credential_tw' for country TW.")] + SHIPPING_CREDENTIAL_TW, /// ///Extension key 'tax_credential_tr' for country TR. /// - [Description("Extension key 'tax_credential_tr' for country TR.")] - TAX_CREDENTIAL_TR, + [Description("Extension key 'tax_credential_tr' for country TR.")] + TAX_CREDENTIAL_TR, /// ///Extension key 'shipping_credential_tr' for country TR. /// - [Description("Extension key 'shipping_credential_tr' for country TR.")] - SHIPPING_CREDENTIAL_TR, - } - - public static class LocalizationExtensionKeyStringValues - { - public const string TAX_CREDENTIAL_BR = @"TAX_CREDENTIAL_BR"; - public const string SHIPPING_CREDENTIAL_BR = @"SHIPPING_CREDENTIAL_BR"; - public const string TAX_CREDENTIAL_CL = @"TAX_CREDENTIAL_CL"; - public const string SHIPPING_CREDENTIAL_CL = @"SHIPPING_CREDENTIAL_CL"; - public const string SHIPPING_CREDENTIAL_CN = @"SHIPPING_CREDENTIAL_CN"; - public const string TAX_CREDENTIAL_CO = @"TAX_CREDENTIAL_CO"; - public const string TAX_CREDENTIAL_TYPE_CO = @"TAX_CREDENTIAL_TYPE_CO"; - public const string SHIPPING_CREDENTIAL_CO = @"SHIPPING_CREDENTIAL_CO"; - public const string SHIPPING_CREDENTIAL_TYPE_CO = @"SHIPPING_CREDENTIAL_TYPE_CO"; - public const string TAX_CREDENTIAL_CR = @"TAX_CREDENTIAL_CR"; - public const string SHIPPING_CREDENTIAL_CR = @"SHIPPING_CREDENTIAL_CR"; - public const string TAX_CREDENTIAL_EC = @"TAX_CREDENTIAL_EC"; - public const string SHIPPING_CREDENTIAL_EC = @"SHIPPING_CREDENTIAL_EC"; - public const string TAX_CREDENTIAL_GT = @"TAX_CREDENTIAL_GT"; - public const string SHIPPING_CREDENTIAL_GT = @"SHIPPING_CREDENTIAL_GT"; - public const string TAX_CREDENTIAL_ID = @"TAX_CREDENTIAL_ID"; - public const string SHIPPING_CREDENTIAL_ID = @"SHIPPING_CREDENTIAL_ID"; - public const string TAX_CREDENTIAL_IT = @"TAX_CREDENTIAL_IT"; - public const string TAX_EMAIL_IT = @"TAX_EMAIL_IT"; - public const string TAX_CREDENTIAL_MY = @"TAX_CREDENTIAL_MY"; - public const string SHIPPING_CREDENTIAL_MY = @"SHIPPING_CREDENTIAL_MY"; - public const string SHIPPING_CREDENTIAL_MX = @"SHIPPING_CREDENTIAL_MX"; - public const string TAX_CREDENTIAL_MX = @"TAX_CREDENTIAL_MX"; - public const string TAX_CREDENTIAL_TYPE_MX = @"TAX_CREDENTIAL_TYPE_MX"; - public const string TAX_CREDENTIAL_USE_MX = @"TAX_CREDENTIAL_USE_MX"; - public const string TAX_CREDENTIAL_PY = @"TAX_CREDENTIAL_PY"; - public const string SHIPPING_CREDENTIAL_PY = @"SHIPPING_CREDENTIAL_PY"; - public const string TAX_CREDENTIAL_PE = @"TAX_CREDENTIAL_PE"; - public const string SHIPPING_CREDENTIAL_PE = @"SHIPPING_CREDENTIAL_PE"; - public const string TAX_CREDENTIAL_PT = @"TAX_CREDENTIAL_PT"; - public const string SHIPPING_CREDENTIAL_PT = @"SHIPPING_CREDENTIAL_PT"; - public const string SHIPPING_CREDENTIAL_KR = @"SHIPPING_CREDENTIAL_KR"; - public const string TAX_CREDENTIAL_ES = @"TAX_CREDENTIAL_ES"; - public const string SHIPPING_CREDENTIAL_ES = @"SHIPPING_CREDENTIAL_ES"; - public const string SHIPPING_CREDENTIAL_TW = @"SHIPPING_CREDENTIAL_TW"; - public const string TAX_CREDENTIAL_TR = @"TAX_CREDENTIAL_TR"; - public const string SHIPPING_CREDENTIAL_TR = @"SHIPPING_CREDENTIAL_TR"; - } - + [Description("Extension key 'shipping_credential_tr' for country TR.")] + SHIPPING_CREDENTIAL_TR, + } + + public static class LocalizationExtensionKeyStringValues + { + public const string TAX_CREDENTIAL_BR = @"TAX_CREDENTIAL_BR"; + public const string SHIPPING_CREDENTIAL_BR = @"SHIPPING_CREDENTIAL_BR"; + public const string TAX_CREDENTIAL_CL = @"TAX_CREDENTIAL_CL"; + public const string SHIPPING_CREDENTIAL_CL = @"SHIPPING_CREDENTIAL_CL"; + public const string SHIPPING_CREDENTIAL_CN = @"SHIPPING_CREDENTIAL_CN"; + public const string TAX_CREDENTIAL_CO = @"TAX_CREDENTIAL_CO"; + public const string TAX_CREDENTIAL_TYPE_CO = @"TAX_CREDENTIAL_TYPE_CO"; + public const string SHIPPING_CREDENTIAL_CO = @"SHIPPING_CREDENTIAL_CO"; + public const string SHIPPING_CREDENTIAL_TYPE_CO = @"SHIPPING_CREDENTIAL_TYPE_CO"; + public const string TAX_CREDENTIAL_CR = @"TAX_CREDENTIAL_CR"; + public const string SHIPPING_CREDENTIAL_CR = @"SHIPPING_CREDENTIAL_CR"; + public const string TAX_CREDENTIAL_EC = @"TAX_CREDENTIAL_EC"; + public const string SHIPPING_CREDENTIAL_EC = @"SHIPPING_CREDENTIAL_EC"; + public const string TAX_CREDENTIAL_GT = @"TAX_CREDENTIAL_GT"; + public const string SHIPPING_CREDENTIAL_GT = @"SHIPPING_CREDENTIAL_GT"; + public const string TAX_CREDENTIAL_ID = @"TAX_CREDENTIAL_ID"; + public const string SHIPPING_CREDENTIAL_ID = @"SHIPPING_CREDENTIAL_ID"; + public const string TAX_CREDENTIAL_IT = @"TAX_CREDENTIAL_IT"; + public const string TAX_EMAIL_IT = @"TAX_EMAIL_IT"; + public const string TAX_CREDENTIAL_MY = @"TAX_CREDENTIAL_MY"; + public const string SHIPPING_CREDENTIAL_MY = @"SHIPPING_CREDENTIAL_MY"; + public const string SHIPPING_CREDENTIAL_MX = @"SHIPPING_CREDENTIAL_MX"; + public const string TAX_CREDENTIAL_MX = @"TAX_CREDENTIAL_MX"; + public const string TAX_CREDENTIAL_TYPE_MX = @"TAX_CREDENTIAL_TYPE_MX"; + public const string TAX_CREDENTIAL_USE_MX = @"TAX_CREDENTIAL_USE_MX"; + public const string TAX_CREDENTIAL_PY = @"TAX_CREDENTIAL_PY"; + public const string SHIPPING_CREDENTIAL_PY = @"SHIPPING_CREDENTIAL_PY"; + public const string TAX_CREDENTIAL_PE = @"TAX_CREDENTIAL_PE"; + public const string SHIPPING_CREDENTIAL_PE = @"SHIPPING_CREDENTIAL_PE"; + public const string TAX_CREDENTIAL_PT = @"TAX_CREDENTIAL_PT"; + public const string SHIPPING_CREDENTIAL_PT = @"SHIPPING_CREDENTIAL_PT"; + public const string SHIPPING_CREDENTIAL_KR = @"SHIPPING_CREDENTIAL_KR"; + public const string TAX_CREDENTIAL_ES = @"TAX_CREDENTIAL_ES"; + public const string SHIPPING_CREDENTIAL_ES = @"SHIPPING_CREDENTIAL_ES"; + public const string SHIPPING_CREDENTIAL_TW = @"SHIPPING_CREDENTIAL_TW"; + public const string TAX_CREDENTIAL_TR = @"TAX_CREDENTIAL_TR"; + public const string SHIPPING_CREDENTIAL_TR = @"SHIPPING_CREDENTIAL_TR"; + } + /// ///The purpose of a localization extension. /// - [Description("The purpose of a localization extension.")] - public enum LocalizationExtensionPurpose - { + [Description("The purpose of a localization extension.")] + public enum LocalizationExtensionPurpose + { /// ///Extensions that are used for shipping purposes, for example, customs clearance. /// - [Description("Extensions that are used for shipping purposes, for example, customs clearance.")] - SHIPPING, + [Description("Extensions that are used for shipping purposes, for example, customs clearance.")] + SHIPPING, /// ///Extensions that are used for taxes purposes, for example, invoicing. /// - [Description("Extensions that are used for taxes purposes, for example, invoicing.")] - TAX, - } - - public static class LocalizationExtensionPurposeStringValues - { - public const string SHIPPING = @"SHIPPING"; - public const string TAX = @"TAX"; - } - + [Description("Extensions that are used for taxes purposes, for example, invoicing.")] + TAX, + } + + public static class LocalizationExtensionPurposeStringValues + { + public const string SHIPPING = @"SHIPPING"; + public const string TAX = @"TAX"; + } + /// ///Represents the value captured by a localized field. Localized fields are additional fields required by certain countries on international orders. For example, some countries require additional fields for customs information or tax identification numbers. /// - [Description("Represents the value captured by a localized field. Localized fields are additional fields required by certain countries on international orders. For example, some countries require additional fields for customs information or tax identification numbers.")] - public class LocalizedField : GraphQLObject - { + [Description("Represents the value captured by a localized field. Localized fields are additional fields required by certain countries on international orders. For example, some countries require additional fields for customs information or tax identification numbers.")] + public class LocalizedField : GraphQLObject + { /// ///Country ISO 3166-1 alpha-2 code. /// - [Description("Country ISO 3166-1 alpha-2 code.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("Country ISO 3166-1 alpha-2 code.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The localized field keys that are allowed. /// - [Description("The localized field keys that are allowed.")] - [NonNull] - [EnumType(typeof(LocalizedFieldKey))] - public string? key { get; set; } - + [Description("The localized field keys that are allowed.")] + [NonNull] + [EnumType(typeof(LocalizedFieldKey))] + public string? key { get; set; } + /// ///The purpose of this localized field. /// - [Description("The purpose of this localized field.")] - [NonNull] - [EnumType(typeof(LocalizedFieldPurpose))] - public string? purpose { get; set; } - + [Description("The purpose of this localized field.")] + [NonNull] + [EnumType(typeof(LocalizedFieldPurpose))] + public string? purpose { get; set; } + /// ///The localized field title. /// - [Description("The localized field title.")] - [NonNull] - public string? title { get; set; } - + [Description("The localized field title.")] + [NonNull] + public string? title { get; set; } + /// ///The value of the field. /// - [Description("The value of the field.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the field.")] + [NonNull] + public string? value { get; set; } + } + /// ///An auto-generated type for paginating through multiple LocalizedFields. /// - [Description("An auto-generated type for paginating through multiple LocalizedFields.")] - public class LocalizedFieldConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple LocalizedFields.")] + public class LocalizedFieldConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in LocalizedFieldEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in LocalizedFieldEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in LocalizedFieldEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one LocalizedField and a cursor during pagination. /// - [Description("An auto-generated type which holds one LocalizedField and a cursor during pagination.")] - public class LocalizedFieldEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one LocalizedField and a cursor during pagination.")] + public class LocalizedFieldEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of LocalizedFieldEdge. /// - [Description("The item at the end of LocalizedFieldEdge.")] - [NonNull] - public LocalizedField? node { get; set; } - } - + [Description("The item at the end of LocalizedFieldEdge.")] + [NonNull] + public LocalizedField? node { get; set; } + } + /// ///The input fields for a LocalizedFieldInput. /// - [Description("The input fields for a LocalizedFieldInput.")] - public class LocalizedFieldInput : GraphQLObject - { + [Description("The input fields for a LocalizedFieldInput.")] + public class LocalizedFieldInput : GraphQLObject + { /// ///The key for the localized field. /// - [Description("The key for the localized field.")] - [NonNull] - [EnumType(typeof(LocalizedFieldKey))] - public string? key { get; set; } - + [Description("The key for the localized field.")] + [NonNull] + [EnumType(typeof(LocalizedFieldKey))] + public string? key { get; set; } + /// ///The localized field value. /// - [Description("The localized field value.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The localized field value.")] + [NonNull] + public string? value { get; set; } + } + /// ///The key of a localized field. /// - [Description("The key of a localized field.")] - public enum LocalizedFieldKey - { + [Description("The key of a localized field.")] + public enum LocalizedFieldKey + { /// ///Localized field key 'tax_credential_br' for country Brazil. /// - [Description("Localized field key 'tax_credential_br' for country Brazil.")] - TAX_CREDENTIAL_BR, + [Description("Localized field key 'tax_credential_br' for country Brazil.")] + TAX_CREDENTIAL_BR, /// ///Localized field key 'shipping_credential_br' for country Brazil. /// - [Description("Localized field key 'shipping_credential_br' for country Brazil.")] - SHIPPING_CREDENTIAL_BR, + [Description("Localized field key 'shipping_credential_br' for country Brazil.")] + SHIPPING_CREDENTIAL_BR, /// ///Localized field key 'tax_credential_cl' for country Chile. /// - [Description("Localized field key 'tax_credential_cl' for country Chile.")] - TAX_CREDENTIAL_CL, + [Description("Localized field key 'tax_credential_cl' for country Chile.")] + TAX_CREDENTIAL_CL, /// ///Localized field key 'shipping_credential_cl' for country Chile. /// - [Description("Localized field key 'shipping_credential_cl' for country Chile.")] - SHIPPING_CREDENTIAL_CL, + [Description("Localized field key 'shipping_credential_cl' for country Chile.")] + SHIPPING_CREDENTIAL_CL, /// ///Localized field key 'shipping_credential_cn' for country China. /// - [Description("Localized field key 'shipping_credential_cn' for country China.")] - SHIPPING_CREDENTIAL_CN, + [Description("Localized field key 'shipping_credential_cn' for country China.")] + SHIPPING_CREDENTIAL_CN, /// ///Localized field key 'tax_credential_co' for country Colombia. /// - [Description("Localized field key 'tax_credential_co' for country Colombia.")] - TAX_CREDENTIAL_CO, + [Description("Localized field key 'tax_credential_co' for country Colombia.")] + TAX_CREDENTIAL_CO, /// ///Localized field key 'tax_credential_type_co' for country Colombia. /// - [Description("Localized field key 'tax_credential_type_co' for country Colombia.")] - TAX_CREDENTIAL_TYPE_CO, + [Description("Localized field key 'tax_credential_type_co' for country Colombia.")] + TAX_CREDENTIAL_TYPE_CO, /// ///Localized field key 'shipping_credential_co' for country Colombia. /// - [Description("Localized field key 'shipping_credential_co' for country Colombia.")] - SHIPPING_CREDENTIAL_CO, + [Description("Localized field key 'shipping_credential_co' for country Colombia.")] + SHIPPING_CREDENTIAL_CO, /// ///Localized field key 'shipping_credential_type_co' for country Colombia. /// - [Description("Localized field key 'shipping_credential_type_co' for country Colombia.")] - SHIPPING_CREDENTIAL_TYPE_CO, + [Description("Localized field key 'shipping_credential_type_co' for country Colombia.")] + SHIPPING_CREDENTIAL_TYPE_CO, /// ///Localized field key 'tax_credential_cr' for country Costa Rica. /// - [Description("Localized field key 'tax_credential_cr' for country Costa Rica.")] - TAX_CREDENTIAL_CR, + [Description("Localized field key 'tax_credential_cr' for country Costa Rica.")] + TAX_CREDENTIAL_CR, /// ///Localized field key 'shipping_credential_cr' for country Costa Rica. /// - [Description("Localized field key 'shipping_credential_cr' for country Costa Rica.")] - SHIPPING_CREDENTIAL_CR, + [Description("Localized field key 'shipping_credential_cr' for country Costa Rica.")] + SHIPPING_CREDENTIAL_CR, /// ///Localized field key 'tax_credential_ec' for country Ecuador. /// - [Description("Localized field key 'tax_credential_ec' for country Ecuador.")] - TAX_CREDENTIAL_EC, + [Description("Localized field key 'tax_credential_ec' for country Ecuador.")] + TAX_CREDENTIAL_EC, /// ///Localized field key 'shipping_credential_ec' for country Ecuador. /// - [Description("Localized field key 'shipping_credential_ec' for country Ecuador.")] - SHIPPING_CREDENTIAL_EC, + [Description("Localized field key 'shipping_credential_ec' for country Ecuador.")] + SHIPPING_CREDENTIAL_EC, /// ///Localized field key 'tax_credential_gt' for country Guatemala. /// - [Description("Localized field key 'tax_credential_gt' for country Guatemala.")] - TAX_CREDENTIAL_GT, + [Description("Localized field key 'tax_credential_gt' for country Guatemala.")] + TAX_CREDENTIAL_GT, /// ///Localized field key 'shipping_credential_gt' for country Guatemala. /// - [Description("Localized field key 'shipping_credential_gt' for country Guatemala.")] - SHIPPING_CREDENTIAL_GT, + [Description("Localized field key 'shipping_credential_gt' for country Guatemala.")] + SHIPPING_CREDENTIAL_GT, /// ///Localized field key 'tax_credential_id' for country Indonesia. /// - [Description("Localized field key 'tax_credential_id' for country Indonesia.")] - TAX_CREDENTIAL_ID, + [Description("Localized field key 'tax_credential_id' for country Indonesia.")] + TAX_CREDENTIAL_ID, /// ///Localized field key 'shipping_credential_id' for country Indonesia. /// - [Description("Localized field key 'shipping_credential_id' for country Indonesia.")] - SHIPPING_CREDENTIAL_ID, + [Description("Localized field key 'shipping_credential_id' for country Indonesia.")] + SHIPPING_CREDENTIAL_ID, /// ///Localized field key 'tax_credential_it' for country Italy. /// - [Description("Localized field key 'tax_credential_it' for country Italy.")] - TAX_CREDENTIAL_IT, + [Description("Localized field key 'tax_credential_it' for country Italy.")] + TAX_CREDENTIAL_IT, /// ///Localized field key 'tax_email_it' for country Italy. /// - [Description("Localized field key 'tax_email_it' for country Italy.")] - TAX_EMAIL_IT, + [Description("Localized field key 'tax_email_it' for country Italy.")] + TAX_EMAIL_IT, /// ///Localized field key 'tax_credential_my' for country Malaysia. /// - [Description("Localized field key 'tax_credential_my' for country Malaysia.")] - TAX_CREDENTIAL_MY, + [Description("Localized field key 'tax_credential_my' for country Malaysia.")] + TAX_CREDENTIAL_MY, /// ///Localized field key 'shipping_credential_my' for country Malaysia. /// - [Description("Localized field key 'shipping_credential_my' for country Malaysia.")] - SHIPPING_CREDENTIAL_MY, + [Description("Localized field key 'shipping_credential_my' for country Malaysia.")] + SHIPPING_CREDENTIAL_MY, /// ///Localized field key 'shipping_credential_mx' for country Mexico. /// - [Description("Localized field key 'shipping_credential_mx' for country Mexico.")] - SHIPPING_CREDENTIAL_MX, + [Description("Localized field key 'shipping_credential_mx' for country Mexico.")] + SHIPPING_CREDENTIAL_MX, /// ///Localized field key 'tax_credential_mx' for country Mexico. /// - [Description("Localized field key 'tax_credential_mx' for country Mexico.")] - TAX_CREDENTIAL_MX, + [Description("Localized field key 'tax_credential_mx' for country Mexico.")] + TAX_CREDENTIAL_MX, /// ///Localized field key 'tax_credential_type_mx' for country Mexico. /// - [Description("Localized field key 'tax_credential_type_mx' for country Mexico.")] - TAX_CREDENTIAL_TYPE_MX, + [Description("Localized field key 'tax_credential_type_mx' for country Mexico.")] + TAX_CREDENTIAL_TYPE_MX, /// ///Localized field key 'tax_credential_use_mx' for country Mexico. /// - [Description("Localized field key 'tax_credential_use_mx' for country Mexico.")] - TAX_CREDENTIAL_USE_MX, + [Description("Localized field key 'tax_credential_use_mx' for country Mexico.")] + TAX_CREDENTIAL_USE_MX, /// ///Localized field key 'tax_credential_py' for country Paraguay. /// - [Description("Localized field key 'tax_credential_py' for country Paraguay.")] - TAX_CREDENTIAL_PY, + [Description("Localized field key 'tax_credential_py' for country Paraguay.")] + TAX_CREDENTIAL_PY, /// ///Localized field key 'shipping_credential_py' for country Paraguay. /// - [Description("Localized field key 'shipping_credential_py' for country Paraguay.")] - SHIPPING_CREDENTIAL_PY, + [Description("Localized field key 'shipping_credential_py' for country Paraguay.")] + SHIPPING_CREDENTIAL_PY, /// ///Localized field key 'tax_credential_pe' for country Peru. /// - [Description("Localized field key 'tax_credential_pe' for country Peru.")] - TAX_CREDENTIAL_PE, + [Description("Localized field key 'tax_credential_pe' for country Peru.")] + TAX_CREDENTIAL_PE, /// ///Localized field key 'shipping_credential_pe' for country Peru. /// - [Description("Localized field key 'shipping_credential_pe' for country Peru.")] - SHIPPING_CREDENTIAL_PE, + [Description("Localized field key 'shipping_credential_pe' for country Peru.")] + SHIPPING_CREDENTIAL_PE, /// ///Localized field key 'tax_credential_pt' for country Portugal. /// - [Description("Localized field key 'tax_credential_pt' for country Portugal.")] - TAX_CREDENTIAL_PT, + [Description("Localized field key 'tax_credential_pt' for country Portugal.")] + TAX_CREDENTIAL_PT, /// ///Localized field key 'shipping_credential_pt' for country Portugal. /// - [Description("Localized field key 'shipping_credential_pt' for country Portugal.")] - SHIPPING_CREDENTIAL_PT, + [Description("Localized field key 'shipping_credential_pt' for country Portugal.")] + SHIPPING_CREDENTIAL_PT, /// ///Localized field key 'shipping_credential_kr' for country South Korea. /// - [Description("Localized field key 'shipping_credential_kr' for country South Korea.")] - SHIPPING_CREDENTIAL_KR, + [Description("Localized field key 'shipping_credential_kr' for country South Korea.")] + SHIPPING_CREDENTIAL_KR, /// ///Localized field key 'tax_credential_es' for country Spain. /// - [Description("Localized field key 'tax_credential_es' for country Spain.")] - TAX_CREDENTIAL_ES, + [Description("Localized field key 'tax_credential_es' for country Spain.")] + TAX_CREDENTIAL_ES, /// ///Localized field key 'shipping_credential_es' for country Spain. /// - [Description("Localized field key 'shipping_credential_es' for country Spain.")] - SHIPPING_CREDENTIAL_ES, + [Description("Localized field key 'shipping_credential_es' for country Spain.")] + SHIPPING_CREDENTIAL_ES, /// ///Localized field key 'shipping_credential_tw' for country Taiwan. /// - [Description("Localized field key 'shipping_credential_tw' for country Taiwan.")] - SHIPPING_CREDENTIAL_TW, + [Description("Localized field key 'shipping_credential_tw' for country Taiwan.")] + SHIPPING_CREDENTIAL_TW, /// ///Localized field key 'tax_credential_tr' for country Turkey. /// - [Description("Localized field key 'tax_credential_tr' for country Turkey.")] - TAX_CREDENTIAL_TR, + [Description("Localized field key 'tax_credential_tr' for country Turkey.")] + TAX_CREDENTIAL_TR, /// ///Localized field key 'shipping_credential_tr' for country Turkey. /// - [Description("Localized field key 'shipping_credential_tr' for country Turkey.")] - SHIPPING_CREDENTIAL_TR, - } - - public static class LocalizedFieldKeyStringValues - { - public const string TAX_CREDENTIAL_BR = @"TAX_CREDENTIAL_BR"; - public const string SHIPPING_CREDENTIAL_BR = @"SHIPPING_CREDENTIAL_BR"; - public const string TAX_CREDENTIAL_CL = @"TAX_CREDENTIAL_CL"; - public const string SHIPPING_CREDENTIAL_CL = @"SHIPPING_CREDENTIAL_CL"; - public const string SHIPPING_CREDENTIAL_CN = @"SHIPPING_CREDENTIAL_CN"; - public const string TAX_CREDENTIAL_CO = @"TAX_CREDENTIAL_CO"; - public const string TAX_CREDENTIAL_TYPE_CO = @"TAX_CREDENTIAL_TYPE_CO"; - public const string SHIPPING_CREDENTIAL_CO = @"SHIPPING_CREDENTIAL_CO"; - public const string SHIPPING_CREDENTIAL_TYPE_CO = @"SHIPPING_CREDENTIAL_TYPE_CO"; - public const string TAX_CREDENTIAL_CR = @"TAX_CREDENTIAL_CR"; - public const string SHIPPING_CREDENTIAL_CR = @"SHIPPING_CREDENTIAL_CR"; - public const string TAX_CREDENTIAL_EC = @"TAX_CREDENTIAL_EC"; - public const string SHIPPING_CREDENTIAL_EC = @"SHIPPING_CREDENTIAL_EC"; - public const string TAX_CREDENTIAL_GT = @"TAX_CREDENTIAL_GT"; - public const string SHIPPING_CREDENTIAL_GT = @"SHIPPING_CREDENTIAL_GT"; - public const string TAX_CREDENTIAL_ID = @"TAX_CREDENTIAL_ID"; - public const string SHIPPING_CREDENTIAL_ID = @"SHIPPING_CREDENTIAL_ID"; - public const string TAX_CREDENTIAL_IT = @"TAX_CREDENTIAL_IT"; - public const string TAX_EMAIL_IT = @"TAX_EMAIL_IT"; - public const string TAX_CREDENTIAL_MY = @"TAX_CREDENTIAL_MY"; - public const string SHIPPING_CREDENTIAL_MY = @"SHIPPING_CREDENTIAL_MY"; - public const string SHIPPING_CREDENTIAL_MX = @"SHIPPING_CREDENTIAL_MX"; - public const string TAX_CREDENTIAL_MX = @"TAX_CREDENTIAL_MX"; - public const string TAX_CREDENTIAL_TYPE_MX = @"TAX_CREDENTIAL_TYPE_MX"; - public const string TAX_CREDENTIAL_USE_MX = @"TAX_CREDENTIAL_USE_MX"; - public const string TAX_CREDENTIAL_PY = @"TAX_CREDENTIAL_PY"; - public const string SHIPPING_CREDENTIAL_PY = @"SHIPPING_CREDENTIAL_PY"; - public const string TAX_CREDENTIAL_PE = @"TAX_CREDENTIAL_PE"; - public const string SHIPPING_CREDENTIAL_PE = @"SHIPPING_CREDENTIAL_PE"; - public const string TAX_CREDENTIAL_PT = @"TAX_CREDENTIAL_PT"; - public const string SHIPPING_CREDENTIAL_PT = @"SHIPPING_CREDENTIAL_PT"; - public const string SHIPPING_CREDENTIAL_KR = @"SHIPPING_CREDENTIAL_KR"; - public const string TAX_CREDENTIAL_ES = @"TAX_CREDENTIAL_ES"; - public const string SHIPPING_CREDENTIAL_ES = @"SHIPPING_CREDENTIAL_ES"; - public const string SHIPPING_CREDENTIAL_TW = @"SHIPPING_CREDENTIAL_TW"; - public const string TAX_CREDENTIAL_TR = @"TAX_CREDENTIAL_TR"; - public const string SHIPPING_CREDENTIAL_TR = @"SHIPPING_CREDENTIAL_TR"; - } - + [Description("Localized field key 'shipping_credential_tr' for country Turkey.")] + SHIPPING_CREDENTIAL_TR, + } + + public static class LocalizedFieldKeyStringValues + { + public const string TAX_CREDENTIAL_BR = @"TAX_CREDENTIAL_BR"; + public const string SHIPPING_CREDENTIAL_BR = @"SHIPPING_CREDENTIAL_BR"; + public const string TAX_CREDENTIAL_CL = @"TAX_CREDENTIAL_CL"; + public const string SHIPPING_CREDENTIAL_CL = @"SHIPPING_CREDENTIAL_CL"; + public const string SHIPPING_CREDENTIAL_CN = @"SHIPPING_CREDENTIAL_CN"; + public const string TAX_CREDENTIAL_CO = @"TAX_CREDENTIAL_CO"; + public const string TAX_CREDENTIAL_TYPE_CO = @"TAX_CREDENTIAL_TYPE_CO"; + public const string SHIPPING_CREDENTIAL_CO = @"SHIPPING_CREDENTIAL_CO"; + public const string SHIPPING_CREDENTIAL_TYPE_CO = @"SHIPPING_CREDENTIAL_TYPE_CO"; + public const string TAX_CREDENTIAL_CR = @"TAX_CREDENTIAL_CR"; + public const string SHIPPING_CREDENTIAL_CR = @"SHIPPING_CREDENTIAL_CR"; + public const string TAX_CREDENTIAL_EC = @"TAX_CREDENTIAL_EC"; + public const string SHIPPING_CREDENTIAL_EC = @"SHIPPING_CREDENTIAL_EC"; + public const string TAX_CREDENTIAL_GT = @"TAX_CREDENTIAL_GT"; + public const string SHIPPING_CREDENTIAL_GT = @"SHIPPING_CREDENTIAL_GT"; + public const string TAX_CREDENTIAL_ID = @"TAX_CREDENTIAL_ID"; + public const string SHIPPING_CREDENTIAL_ID = @"SHIPPING_CREDENTIAL_ID"; + public const string TAX_CREDENTIAL_IT = @"TAX_CREDENTIAL_IT"; + public const string TAX_EMAIL_IT = @"TAX_EMAIL_IT"; + public const string TAX_CREDENTIAL_MY = @"TAX_CREDENTIAL_MY"; + public const string SHIPPING_CREDENTIAL_MY = @"SHIPPING_CREDENTIAL_MY"; + public const string SHIPPING_CREDENTIAL_MX = @"SHIPPING_CREDENTIAL_MX"; + public const string TAX_CREDENTIAL_MX = @"TAX_CREDENTIAL_MX"; + public const string TAX_CREDENTIAL_TYPE_MX = @"TAX_CREDENTIAL_TYPE_MX"; + public const string TAX_CREDENTIAL_USE_MX = @"TAX_CREDENTIAL_USE_MX"; + public const string TAX_CREDENTIAL_PY = @"TAX_CREDENTIAL_PY"; + public const string SHIPPING_CREDENTIAL_PY = @"SHIPPING_CREDENTIAL_PY"; + public const string TAX_CREDENTIAL_PE = @"TAX_CREDENTIAL_PE"; + public const string SHIPPING_CREDENTIAL_PE = @"SHIPPING_CREDENTIAL_PE"; + public const string TAX_CREDENTIAL_PT = @"TAX_CREDENTIAL_PT"; + public const string SHIPPING_CREDENTIAL_PT = @"SHIPPING_CREDENTIAL_PT"; + public const string SHIPPING_CREDENTIAL_KR = @"SHIPPING_CREDENTIAL_KR"; + public const string TAX_CREDENTIAL_ES = @"TAX_CREDENTIAL_ES"; + public const string SHIPPING_CREDENTIAL_ES = @"SHIPPING_CREDENTIAL_ES"; + public const string SHIPPING_CREDENTIAL_TW = @"SHIPPING_CREDENTIAL_TW"; + public const string TAX_CREDENTIAL_TR = @"TAX_CREDENTIAL_TR"; + public const string SHIPPING_CREDENTIAL_TR = @"SHIPPING_CREDENTIAL_TR"; + } + /// ///The purpose of a localized field. /// - [Description("The purpose of a localized field.")] - public enum LocalizedFieldPurpose - { + [Description("The purpose of a localized field.")] + public enum LocalizedFieldPurpose + { /// ///Fields that are used for shipping purposes, for example, customs clearance. /// - [Description("Fields that are used for shipping purposes, for example, customs clearance.")] - SHIPPING, + [Description("Fields that are used for shipping purposes, for example, customs clearance.")] + SHIPPING, /// ///Fields that are used for taxes purposes, for example, invoicing. /// - [Description("Fields that are used for taxes purposes, for example, invoicing.")] - TAX, - } - - public static class LocalizedFieldPurposeStringValues - { - public const string SHIPPING = @"SHIPPING"; - public const string TAX = @"TAX"; - } - + [Description("Fields that are used for taxes purposes, for example, invoicing.")] + TAX, + } + + public static class LocalizedFieldPurposeStringValues + { + public const string SHIPPING = @"SHIPPING"; + public const string TAX = @"TAX"; + } + /// ///Represents the location where the physical good resides. You can stock inventory at active locations. Active ///locations that have `fulfills_online_orders: true` and are configured with a shipping rate, pickup enabled or ///local delivery will be able to sell from their storefront. /// - [Description("Represents the location where the physical good resides. You can stock inventory at active locations. Active\nlocations that have `fulfills_online_orders: true` and are configured with a shipping rate, pickup enabled or\nlocal delivery will be able to sell from their storefront.")] - public class Location : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, ILegacyInteroperability, INode, IMetafieldReferencer - { + [Description("Represents the location where the physical good resides. You can stock inventory at active locations. Active\nlocations that have `fulfills_online_orders: true` and are configured with a shipping rate, pickup enabled or\nlocal delivery will be able to sell from their storefront.")] + public class Location : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, ILegacyInteroperability, INode, IMetafieldReferencer + { /// ///Whether the location can be reactivated. If `false`, then trying to activate the location with the ///[`LocationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate) ///mutation will return an error that describes why the location can't be activated. /// - [Description("Whether the location can be reactivated. If `false`, then trying to activate the location with the\n[`LocationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate)\nmutation will return an error that describes why the location can't be activated.")] - [NonNull] - public bool? activatable { get; set; } - + [Description("Whether the location can be reactivated. If `false`, then trying to activate the location with the\n[`LocationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate)\nmutation will return an error that describes why the location can't be activated.")] + [NonNull] + public bool? activatable { get; set; } + /// ///The address of this location. /// - [Description("The address of this location.")] - [NonNull] - public LocationAddress? address { get; set; } - + [Description("The address of this location.")] + [NonNull] + public LocationAddress? address { get; set; } + /// ///Whether the location address has been verified. /// - [Description("Whether the location address has been verified.")] - [NonNull] - public bool? addressVerified { get; set; } - + [Description("Whether the location address has been verified.")] + [NonNull] + public bool? addressVerified { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was added to a shop. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was added to a shop.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was added to a shop.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Whether this location can be deactivated. If `true`, then the location can be deactivated by calling the ///[`LocationDeactivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationDeactivate) ///mutation. If `false`, then calling the mutation to deactivate it will return an error that describes why the ///location can't be deactivated. /// - [Description("Whether this location can be deactivated. If `true`, then the location can be deactivated by calling the\n[`LocationDeactivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationDeactivate)\nmutation. If `false`, then calling the mutation to deactivate it will return an error that describes why the\nlocation can't be deactivated.")] - [NonNull] - public bool? deactivatable { get; set; } - + [Description("Whether this location can be deactivated. If `true`, then the location can be deactivated by calling the\n[`LocationDeactivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationDeactivate)\nmutation. If `false`, then calling the mutation to deactivate it will return an error that describes why the\nlocation can't be deactivated.")] + [NonNull] + public bool? deactivatable { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was deactivated at. For example, 3:30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as `"2019-09-07T15:50:00Z`". /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was deactivated at. For example, 3:30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as `\"2019-09-07T15:50:00Z`\".")] - public string? deactivatedAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) that the location was deactivated at. For example, 3:30 pm on September 7, 2019 in the time zone of UTC (Universal Time Coordinated) is represented as `\"2019-09-07T15:50:00Z`\".")] + public string? deactivatedAt { get; set; } + /// ///Whether this location can be deleted. /// - [Description("Whether this location can be deleted.")] - [NonNull] - public bool? deletable { get; set; } - + [Description("Whether this location can be deleted.")] + [NonNull] + public bool? deletable { get; set; } + /// ///Name of the service provider that fulfills from this location. /// - [Description("Name of the service provider that fulfills from this location.")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("Name of the service provider that fulfills from this location.")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///Whether this location can fulfill online orders. /// - [Description("Whether this location can fulfill online orders.")] - [NonNull] - public bool? fulfillsOnlineOrders { get; set; } - + [Description("Whether this location can fulfill online orders.")] + [NonNull] + public bool? fulfillsOnlineOrders { get; set; } + /// ///Whether this location has active inventory. /// - [Description("Whether this location has active inventory.")] - [NonNull] - public bool? hasActiveInventory { get; set; } - + [Description("Whether this location has active inventory.")] + [NonNull] + public bool? hasActiveInventory { get; set; } + /// ///Whether this location has orders that need to be fulfilled. /// - [Description("Whether this location has orders that need to be fulfilled.")] - [NonNull] - public bool? hasUnfulfilledOrders { get; set; } - + [Description("Whether this location has orders that need to be fulfilled.")] + [NonNull] + public bool? hasUnfulfilledOrders { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The quantities of an inventory item at this location. /// - [Description("The quantities of an inventory item at this location.")] - public InventoryLevel? inventoryLevel { get; set; } - + [Description("The quantities of an inventory item at this location.")] + public InventoryLevel? inventoryLevel { get; set; } + /// ///A list of the quantities of the inventory items that can be stocked at this location. /// - [Description("A list of the quantities of the inventory items that can be stocked at this location.")] - [NonNull] - public InventoryLevelConnection? inventoryLevels { get; set; } - + [Description("A list of the quantities of the inventory items that can be stocked at this location.")] + [NonNull] + public InventoryLevelConnection? inventoryLevels { get; set; } + /// ///Whether the location is active. A deactivated location can be activated (change `isActive: true`) if it has ///`activatable` set to `true` by calling the ///[`locationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate) ///mutation. /// - [Description("Whether the location is active. A deactivated location can be activated (change `isActive: true`) if it has\n`activatable` set to `true` by calling the\n[`locationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate)\nmutation.")] - [NonNull] - public bool? isActive { get; set; } - + [Description("Whether the location is active. A deactivated location can be activated (change `isActive: true`) if it has\n`activatable` set to `true` by calling the\n[`locationActivate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/locationActivate)\nmutation.")] + [NonNull] + public bool? isActive { get; set; } + /// ///Whether this location is a fulfillment service. /// - [Description("Whether this location is a fulfillment service.")] - [NonNull] - public bool? isFulfillmentService { get; set; } - + [Description("Whether this location is a fulfillment service.")] + [NonNull] + public bool? isFulfillmentService { get; set; } + /// ///Whether the location is your primary location for shipping inventory. /// - [Description("Whether the location is your primary location for shipping inventory.")] - [Obsolete("The concept of a primary location is deprecated, shipsInventory can be used to get a fallback location")] - [NonNull] - public bool? isPrimary { get; set; } - + [Description("Whether the location is your primary location for shipping inventory.")] + [Obsolete("The concept of a primary location is deprecated, shipsInventory can be used to get a fallback location")] + [NonNull] + public bool? isPrimary { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///Local pickup settings for the location. /// - [Description("Local pickup settings for the location.")] - public DeliveryLocalPickupSettings? localPickupSettingsV2 { get; set; } - + [Description("Local pickup settings for the location.")] + public DeliveryLocalPickupSettings? localPickupSettingsV2 { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The name of the location. /// - [Description("The name of the location.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the location.")] + [NonNull] + public string? name { get; set; } + /// ///Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored. /// - [Description("Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored.")] - [NonNull] - public bool? shipsInventory { get; set; } - + [Description("Whether this location is used for calculating shipping rates. In multi-origin shipping mode, this flag is ignored.")] + [NonNull] + public bool? shipsInventory { get; set; } + /// ///List of suggested addresses for this location (empty if none). /// - [Description("List of suggested addresses for this location (empty if none).")] - [NonNull] - public IEnumerable? suggestedAddresses { get; set; } - + [Description("List of suggested addresses for this location (empty if none).")] + [NonNull] + public IEnumerable? suggestedAddresses { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the location was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the location was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the location was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `locationActivate` mutation. /// - [Description("Return type for `locationActivate` mutation.")] - public class LocationActivatePayload : GraphQLObject - { + [Description("Return type for `locationActivate` mutation.")] + public class LocationActivatePayload : GraphQLObject + { /// ///The location that was activated. /// - [Description("The location that was activated.")] - public Location? location { get; set; } - + [Description("The location that was activated.")] + public Location? location { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? locationActivateUserErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? locationActivateUserErrors { get; set; } + } + /// ///An error that occurs while activating a location. /// - [Description("An error that occurs while activating a location.")] - public class LocationActivateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs while activating a location.")] + public class LocationActivateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(LocationActivateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(LocationActivateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `LocationActivateUserError`. /// - [Description("Possible error codes that can be returned by `LocationActivateUserError`.")] - public enum LocationActivateUserErrorCode - { + [Description("Possible error codes that can be returned by `LocationActivateUserError`.")] + public enum LocationActivateUserErrorCode + { /// ///An error occurred while activating the location. /// - [Description("An error occurred while activating the location.")] - GENERIC_ERROR, + [Description("An error occurred while activating the location.")] + GENERIC_ERROR, /// ///Shop has reached its location limit. /// - [Description("Shop has reached its location limit.")] - LOCATION_LIMIT, + [Description("Shop has reached its location limit.")] + LOCATION_LIMIT, /// ///This location currently cannot be activated as inventory, pending orders or transfers are being relocated from this location. /// - [Description("This location currently cannot be activated as inventory, pending orders or transfers are being relocated from this location.")] - HAS_ONGOING_RELOCATION, + [Description("This location currently cannot be activated as inventory, pending orders or transfers are being relocated from this location.")] + HAS_ONGOING_RELOCATION, /// ///Location not found. /// - [Description("Location not found.")] - LOCATION_NOT_FOUND, + [Description("Location not found.")] + LOCATION_NOT_FOUND, /// ///There is already an active location with this name. /// - [Description("There is already an active location with this name.")] - HAS_NON_UNIQUE_NAME, - } - - public static class LocationActivateUserErrorCodeStringValues - { - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string LOCATION_LIMIT = @"LOCATION_LIMIT"; - public const string HAS_ONGOING_RELOCATION = @"HAS_ONGOING_RELOCATION"; - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string HAS_NON_UNIQUE_NAME = @"HAS_NON_UNIQUE_NAME"; - } - + [Description("There is already an active location with this name.")] + HAS_NON_UNIQUE_NAME, + } + + public static class LocationActivateUserErrorCodeStringValues + { + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string LOCATION_LIMIT = @"LOCATION_LIMIT"; + public const string HAS_ONGOING_RELOCATION = @"HAS_ONGOING_RELOCATION"; + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string HAS_NON_UNIQUE_NAME = @"HAS_NON_UNIQUE_NAME"; + } + /// ///The input fields to use to specify the address while adding a location. /// - [Description("The input fields to use to specify the address while adding a location.")] - public class LocationAddAddressInput : GraphQLObject - { + [Description("The input fields to use to specify the address while adding a location.")] + public class LocationAddAddressInput : GraphQLObject + { /// ///The first line of the address. /// - [Description("The first line of the address.")] - public string? address1 { get; set; } - + [Description("The first line of the address.")] + public string? address1 { get; set; } + /// ///The second line of the address. /// - [Description("The second line of the address.")] - public string? address2 { get; set; } - + [Description("The second line of the address.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The phone number of the location. /// - [Description("The phone number of the location.")] - public string? phone { get; set; } - + [Description("The phone number of the location.")] + public string? phone { get; set; } + /// ///The ZIP code or postal code of the address. /// - [Description("The ZIP code or postal code of the address.")] - public string? zip { get; set; } - + [Description("The ZIP code or postal code of the address.")] + public string? zip { get; set; } + /// ///The two-letter code of country for the address. /// - [Description("The two-letter code of country for the address.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter code of country for the address.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The code for the region of the address, such as the state, province, or district. ///For example CA for California, United States. /// - [Description("The code for the region of the address, such as the state, province, or district.\nFor example CA for California, United States.")] - public string? provinceCode { get; set; } - } - + [Description("The code for the region of the address, such as the state, province, or district.\nFor example CA for California, United States.")] + public string? provinceCode { get; set; } + } + /// ///The input fields to use to add a location. /// - [Description("The input fields to use to add a location.")] - public class LocationAddInput : GraphQLObject - { + [Description("The input fields to use to add a location.")] + public class LocationAddInput : GraphQLObject + { /// ///The name of the location. /// - [Description("The name of the location.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the location.")] + [NonNull] + public string? name { get; set; } + /// ///The address of the location. /// - [Description("The address of the location.")] - [NonNull] - public LocationAddAddressInput? address { get; set; } - + [Description("The address of the location.")] + [NonNull] + public LocationAddAddressInput? address { get; set; } + /// ///Whether inventory at this location is available for sale online. /// - [Description("Whether inventory at this location is available for sale online.")] - public bool? fulfillsOnlineOrders { get; set; } - + [Description("Whether inventory at this location is available for sale online.")] + public bool? fulfillsOnlineOrders { get; set; } + /// ///Additional customizable information to associate with the location. /// - [Description("Additional customizable information to associate with the location.")] - public IEnumerable? metafields { get; set; } - } - + [Description("Additional customizable information to associate with the location.")] + public IEnumerable? metafields { get; set; } + } + /// ///Return type for `locationAdd` mutation. /// - [Description("Return type for `locationAdd` mutation.")] - public class LocationAddPayload : GraphQLObject - { + [Description("Return type for `locationAdd` mutation.")] + public class LocationAddPayload : GraphQLObject + { /// ///The location that was added. /// - [Description("The location that was added.")] - public Location? location { get; set; } - + [Description("The location that was added.")] + public Location? location { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs while adding a location. /// - [Description("An error that occurs while adding a location.")] - public class LocationAddUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs while adding a location.")] + public class LocationAddUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(LocationAddUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(LocationAddUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `LocationAddUserError`. /// - [Description("Possible error codes that can be returned by `LocationAddUserError`.")] - public enum LocationAddUserErrorCode - { + [Description("Possible error codes that can be returned by `LocationAddUserError`.")] + public enum LocationAddUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The ZIP code is not a valid US ZIP code. /// - [Description("The ZIP code is not a valid US ZIP code.")] - INVALID_US_ZIPCODE, + [Description("The ZIP code is not a valid US ZIP code.")] + INVALID_US_ZIPCODE, /// ///An error occurred while adding the location. /// - [Description("An error occurred while adding the location.")] - GENERIC_ERROR, + [Description("An error occurred while adding the location.")] + GENERIC_ERROR, /// ///The type is invalid. /// - [Description("The type is invalid.")] - INVALID_TYPE, + [Description("The type is invalid.")] + INVALID_TYPE, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///ApiPermission metafields can only be created or updated by the app owner. /// - [Description("ApiPermission metafields can only be created or updated by the app owner.")] - APP_NOT_AUTHORIZED, + [Description("ApiPermission metafields can only be created or updated by the app owner.")] + APP_NOT_AUTHORIZED, /// ///Unstructured reserved namespace. /// - [Description("Unstructured reserved namespace.")] - UNSTRUCTURED_RESERVED_NAMESPACE, + [Description("Unstructured reserved namespace.")] + UNSTRUCTURED_RESERVED_NAMESPACE, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The metafield violates a capability restriction. /// - [Description("The metafield violates a capability restriction.")] - CAPABILITY_VIOLATION, + [Description("The metafield violates a capability restriction.")] + CAPABILITY_VIOLATION, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, - } - - public static class LocationAddUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TAKEN = @"TAKEN"; - public const string BLANK = @"BLANK"; - public const string INVALID_US_ZIPCODE = @"INVALID_US_ZIPCODE"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; - public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string INCLUSION = @"INCLUSION"; - public const string PRESENT = @"PRESENT"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - } - + [Description("An internal error occurred.")] + INTERNAL_ERROR, + } + + public static class LocationAddUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TAKEN = @"TAKEN"; + public const string BLANK = @"BLANK"; + public const string INVALID_US_ZIPCODE = @"INVALID_US_ZIPCODE"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; + public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string INCLUSION = @"INCLUSION"; + public const string PRESENT = @"PRESENT"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + } + /// ///Represents the address of a location. /// - [Description("Represents the address of a location.")] - public class LocationAddress : GraphQLObject - { + [Description("Represents the address of a location.")] + public class LocationAddress : GraphQLObject + { /// ///The first line of the address for the location. /// - [Description("The first line of the address for the location.")] - public string? address1 { get; set; } - + [Description("The first line of the address for the location.")] + public string? address1 { get; set; } + /// ///The second line of the address for the location. /// - [Description("The second line of the address for the location.")] - public string? address2 { get; set; } - + [Description("The second line of the address for the location.")] + public string? address2 { get; set; } + /// ///The city of the location. /// - [Description("The city of the location.")] - public string? city { get; set; } - + [Description("The city of the location.")] + public string? city { get; set; } + /// ///The country of the location. /// - [Description("The country of the location.")] - public string? country { get; set; } - + [Description("The country of the location.")] + public string? country { get; set; } + /// ///The country code of the location. /// - [Description("The country code of the location.")] - public string? countryCode { get; set; } - + [Description("The country code of the location.")] + public string? countryCode { get; set; } + /// ///A formatted version of the address for the location. /// - [Description("A formatted version of the address for the location.")] - [NonNull] - public IEnumerable? formatted { get; set; } - + [Description("A formatted version of the address for the location.")] + [NonNull] + public IEnumerable? formatted { get; set; } + /// ///The approximate latitude coordinates of the location. /// - [Description("The approximate latitude coordinates of the location.")] - public decimal? latitude { get; set; } - + [Description("The approximate latitude coordinates of the location.")] + public decimal? latitude { get; set; } + /// ///The approximate longitude coordinates of the location. /// - [Description("The approximate longitude coordinates of the location.")] - public decimal? longitude { get; set; } - + [Description("The approximate longitude coordinates of the location.")] + public decimal? longitude { get; set; } + /// ///The phone number of the location. /// - [Description("The phone number of the location.")] - public string? phone { get; set; } - + [Description("The phone number of the location.")] + public string? phone { get; set; } + /// ///The province of the location. /// - [Description("The province of the location.")] - public string? province { get; set; } - + [Description("The province of the location.")] + public string? province { get; set; } + /// ///The code for the province, state, or district of the address of the location. /// - [Description("The code for the province, state, or district of the address of the location.")] - public string? provinceCode { get; set; } - + [Description("The code for the province, state, or district of the address of the location.")] + public string? provinceCode { get; set; } + /// ///The ZIP code of the location. /// - [Description("The ZIP code of the location.")] - public string? zip { get; set; } - } - + [Description("The ZIP code of the location.")] + public string? zip { get; set; } + } + /// ///An auto-generated type for paginating through multiple Locations. /// - [Description("An auto-generated type for paginating through multiple Locations.")] - public class LocationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Locations.")] + public class LocationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in LocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in LocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in LocationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `locationDeactivate` mutation. /// - [Description("Return type for `locationDeactivate` mutation.")] - public class LocationDeactivatePayload : GraphQLObject - { + [Description("Return type for `locationDeactivate` mutation.")] + public class LocationDeactivatePayload : GraphQLObject + { /// ///The location that was deactivated. /// - [Description("The location that was deactivated.")] - public Location? location { get; set; } - + [Description("The location that was deactivated.")] + public Location? location { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? locationDeactivateUserErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? locationDeactivateUserErrors { get; set; } + } + /// ///The possible errors that can be returned when executing the `locationDeactivate` mutation. /// - [Description("The possible errors that can be returned when executing the `locationDeactivate` mutation.")] - public class LocationDeactivateUserError : GraphQLObject, IDisplayableError - { + [Description("The possible errors that can be returned when executing the `locationDeactivate` mutation.")] + public class LocationDeactivateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(LocationDeactivateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(LocationDeactivateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `LocationDeactivateUserError`. /// - [Description("Possible error codes that can be returned by `LocationDeactivateUserError`.")] - public enum LocationDeactivateUserErrorCode - { + [Description("Possible error codes that can be returned by `LocationDeactivateUserError`.")] + public enum LocationDeactivateUserErrorCode + { /// ///Location not found. /// - [Description("Location not found.")] - LOCATION_NOT_FOUND, + [Description("Location not found.")] + LOCATION_NOT_FOUND, /// ///Location either has a fulfillment service or is the only location with a shipping address. /// - [Description("Location either has a fulfillment service or is the only location with a shipping address.")] - PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR, + [Description("Location either has a fulfillment service or is the only location with a shipping address.")] + PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR, /// ///Location has incoming inventory. The location can be deactivated after the inventory has been received. /// - [Description("Location has incoming inventory. The location can be deactivated after the inventory has been received.")] - TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR, + [Description("Location has incoming inventory. The location can be deactivated after the inventory has been received.")] + TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR, /// ///Location needs to be removed from Shopify POS for Retail subscription in Point of Sale channel. /// - [Description("Location needs to be removed from Shopify POS for Retail subscription in Point of Sale channel.")] - HAS_ACTIVE_RETAIL_SUBSCRIPTIONS, + [Description("Location needs to be removed from Shopify POS for Retail subscription in Point of Sale channel.")] + HAS_ACTIVE_RETAIL_SUBSCRIPTIONS, /// ///Destination location is the same as the location to be deactivated. /// - [Description("Destination location is the same as the location to be deactivated.")] - DESTINATION_LOCATION_IS_THE_SAME_LOCATION, + [Description("Destination location is the same as the location to be deactivated.")] + DESTINATION_LOCATION_IS_THE_SAME_LOCATION, /// ///Destination location is not found or inactive. /// - [Description("Destination location is not found or inactive.")] - DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE, + [Description("Destination location is not found or inactive.")] + DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE, /// ///Destination location is not Shopify managed. /// - [Description("Destination location is not Shopify managed.")] - DESTINATION_LOCATION_NOT_SHOPIFY_MANAGED, + [Description("Destination location is not Shopify managed.")] + DESTINATION_LOCATION_NOT_SHOPIFY_MANAGED, /// ///Location could not be deactivated without specifying where to relocate inventory at the location. /// - [Description("Location could not be deactivated without specifying where to relocate inventory at the location.")] - HAS_ACTIVE_INVENTORY_ERROR, + [Description("Location could not be deactivated without specifying where to relocate inventory at the location.")] + HAS_ACTIVE_INVENTORY_ERROR, /// ///Location could not be deactivated because it has pending orders. /// - [Description("Location could not be deactivated because it has pending orders.")] - HAS_FULFILLMENT_ORDERS_ERROR, + [Description("Location could not be deactivated because it has pending orders.")] + HAS_FULFILLMENT_ORDERS_ERROR, /// ///Location could not be deactivated because it has open purchase orders. /// - [Description("Location could not be deactivated because it has open purchase orders.")] - HAS_OPEN_PURCHASE_ORDERS_ERROR, + [Description("Location could not be deactivated because it has open purchase orders.")] + HAS_OPEN_PURCHASE_ORDERS_ERROR, /// ///Failed to relocate active inventories to the destination location. /// - [Description("Failed to relocate active inventories to the destination location.")] - FAILED_TO_RELOCATE_ACTIVE_INVENTORIES, + [Description("Failed to relocate active inventories to the destination location.")] + FAILED_TO_RELOCATE_ACTIVE_INVENTORIES, /// ///Failed to relocate open purchase orders to the destination location. /// - [Description("Failed to relocate open purchase orders to the destination location.")] - FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS, + [Description("Failed to relocate open purchase orders to the destination location.")] + FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS, /// ///Failed to relocate incoming movements to the destination location. /// - [Description("Failed to relocate incoming movements to the destination location.")] - FAILED_TO_RELOCATE_INCOMING_MOVEMENTS, + [Description("Failed to relocate incoming movements to the destination location.")] + FAILED_TO_RELOCATE_INCOMING_MOVEMENTS, /// ///At least one location must fulfill online orders. /// - [Description("At least one location must fulfill online orders.")] - CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT, - } - - public static class LocationDeactivateUserErrorCodeStringValues - { - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR = @"PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR"; - public const string TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR = @"TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR"; - public const string HAS_ACTIVE_RETAIL_SUBSCRIPTIONS = @"HAS_ACTIVE_RETAIL_SUBSCRIPTIONS"; - public const string DESTINATION_LOCATION_IS_THE_SAME_LOCATION = @"DESTINATION_LOCATION_IS_THE_SAME_LOCATION"; - public const string DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE = @"DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE"; - public const string DESTINATION_LOCATION_NOT_SHOPIFY_MANAGED = @"DESTINATION_LOCATION_NOT_SHOPIFY_MANAGED"; - public const string HAS_ACTIVE_INVENTORY_ERROR = @"HAS_ACTIVE_INVENTORY_ERROR"; - public const string HAS_FULFILLMENT_ORDERS_ERROR = @"HAS_FULFILLMENT_ORDERS_ERROR"; - public const string HAS_OPEN_PURCHASE_ORDERS_ERROR = @"HAS_OPEN_PURCHASE_ORDERS_ERROR"; - public const string FAILED_TO_RELOCATE_ACTIVE_INVENTORIES = @"FAILED_TO_RELOCATE_ACTIVE_INVENTORIES"; - public const string FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS = @"FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS"; - public const string FAILED_TO_RELOCATE_INCOMING_MOVEMENTS = @"FAILED_TO_RELOCATE_INCOMING_MOVEMENTS"; - public const string CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT = @"CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT"; - } - + [Description("At least one location must fulfill online orders.")] + CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT, + } + + public static class LocationDeactivateUserErrorCodeStringValues + { + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR = @"PERMANENTLY_BLOCKED_FROM_DEACTIVATION_ERROR"; + public const string TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR = @"TEMPORARILY_BLOCKED_FROM_DEACTIVATION_ERROR"; + public const string HAS_ACTIVE_RETAIL_SUBSCRIPTIONS = @"HAS_ACTIVE_RETAIL_SUBSCRIPTIONS"; + public const string DESTINATION_LOCATION_IS_THE_SAME_LOCATION = @"DESTINATION_LOCATION_IS_THE_SAME_LOCATION"; + public const string DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE = @"DESTINATION_LOCATION_NOT_FOUND_OR_INACTIVE"; + public const string DESTINATION_LOCATION_NOT_SHOPIFY_MANAGED = @"DESTINATION_LOCATION_NOT_SHOPIFY_MANAGED"; + public const string HAS_ACTIVE_INVENTORY_ERROR = @"HAS_ACTIVE_INVENTORY_ERROR"; + public const string HAS_FULFILLMENT_ORDERS_ERROR = @"HAS_FULFILLMENT_ORDERS_ERROR"; + public const string HAS_OPEN_PURCHASE_ORDERS_ERROR = @"HAS_OPEN_PURCHASE_ORDERS_ERROR"; + public const string FAILED_TO_RELOCATE_ACTIVE_INVENTORIES = @"FAILED_TO_RELOCATE_ACTIVE_INVENTORIES"; + public const string FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS = @"FAILED_TO_RELOCATE_OPEN_PURCHASE_ORDERS"; + public const string FAILED_TO_RELOCATE_INCOMING_MOVEMENTS = @"FAILED_TO_RELOCATE_INCOMING_MOVEMENTS"; + public const string CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT = @"CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT"; + } + /// ///Return type for `locationDelete` mutation. /// - [Description("Return type for `locationDelete` mutation.")] - public class LocationDeletePayload : GraphQLObject - { + [Description("Return type for `locationDelete` mutation.")] + public class LocationDeletePayload : GraphQLObject + { /// ///The ID of the location that was deleted. /// - [Description("The ID of the location that was deleted.")] - public string? deletedLocationId { get; set; } - + [Description("The ID of the location that was deleted.")] + public string? deletedLocationId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? locationDeleteUserErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? locationDeleteUserErrors { get; set; } + } + /// ///An error that occurs while deleting a location. /// - [Description("An error that occurs while deleting a location.")] - public class LocationDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs while deleting a location.")] + public class LocationDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(LocationDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(LocationDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `LocationDeleteUserError`. /// - [Description("Possible error codes that can be returned by `LocationDeleteUserError`.")] - public enum LocationDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `LocationDeleteUserError`.")] + public enum LocationDeleteUserErrorCode + { /// ///Location not found. /// - [Description("Location not found.")] - LOCATION_NOT_FOUND, + [Description("Location not found.")] + LOCATION_NOT_FOUND, /// ///The location cannot be deleted while it is active. /// - [Description("The location cannot be deleted while it is active.")] - LOCATION_IS_ACTIVE, + [Description("The location cannot be deleted while it is active.")] + LOCATION_IS_ACTIVE, /// ///An error occurred while deleting the location. /// - [Description("An error occurred while deleting the location.")] - GENERIC_ERROR, + [Description("An error occurred while deleting the location.")] + GENERIC_ERROR, /// ///The location cannot be deleted while it has inventory. /// - [Description("The location cannot be deleted while it has inventory.")] - LOCATION_HAS_INVENTORY, + [Description("The location cannot be deleted while it has inventory.")] + LOCATION_HAS_INVENTORY, /// ///The location cannot be deleted while it has pending orders. /// - [Description("The location cannot be deleted while it has pending orders.")] - LOCATION_HAS_PENDING_ORDERS, + [Description("The location cannot be deleted while it has pending orders.")] + LOCATION_HAS_PENDING_ORDERS, /// ///The location cannot be deleted while it has any active Retail subscriptions in the Point of Sale channel. /// - [Description("The location cannot be deleted while it has any active Retail subscriptions in the Point of Sale channel.")] - LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION, - } - - public static class LocationDeleteUserErrorCodeStringValues - { - public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; - public const string LOCATION_IS_ACTIVE = @"LOCATION_IS_ACTIVE"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string LOCATION_HAS_INVENTORY = @"LOCATION_HAS_INVENTORY"; - public const string LOCATION_HAS_PENDING_ORDERS = @"LOCATION_HAS_PENDING_ORDERS"; - public const string LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION = @"LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION"; - } - + [Description("The location cannot be deleted while it has any active Retail subscriptions in the Point of Sale channel.")] + LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION, + } + + public static class LocationDeleteUserErrorCodeStringValues + { + public const string LOCATION_NOT_FOUND = @"LOCATION_NOT_FOUND"; + public const string LOCATION_IS_ACTIVE = @"LOCATION_IS_ACTIVE"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string LOCATION_HAS_INVENTORY = @"LOCATION_HAS_INVENTORY"; + public const string LOCATION_HAS_PENDING_ORDERS = @"LOCATION_HAS_PENDING_ORDERS"; + public const string LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION = @"LOCATION_HAS_ACTIVE_RETAIL_SUBSCRIPTION"; + } + /// ///An auto-generated type which holds one Location and a cursor during pagination. /// - [Description("An auto-generated type which holds one Location and a cursor during pagination.")] - public class LocationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Location and a cursor during pagination.")] + public class LocationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of LocationEdge. /// - [Description("The item at the end of LocationEdge.")] - [NonNull] - public Location? node { get; set; } - } - + [Description("The item at the end of LocationEdge.")] + [NonNull] + public Location? node { get; set; } + } + /// ///The input fields to use to edit the address of a location. /// - [Description("The input fields to use to edit the address of a location.")] - public class LocationEditAddressInput : GraphQLObject - { + [Description("The input fields to use to edit the address of a location.")] + public class LocationEditAddressInput : GraphQLObject + { /// ///The first line of the address. /// - [Description("The first line of the address.")] - public string? address1 { get; set; } - + [Description("The first line of the address.")] + public string? address1 { get; set; } + /// ///The second line of the address. /// - [Description("The second line of the address.")] - public string? address2 { get; set; } - + [Description("The second line of the address.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The phone number of the location. /// - [Description("The phone number of the location.")] - public string? phone { get; set; } - + [Description("The phone number of the location.")] + public string? phone { get; set; } + /// ///The ZIP code or postal code of the location. /// - [Description("The ZIP code or postal code of the location.")] - public string? zip { get; set; } - + [Description("The ZIP code or postal code of the location.")] + public string? zip { get; set; } + /// ///The two-letter code of country for the address. /// - [Description("The two-letter code of country for the address.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter code of country for the address.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The code for the region of the address, such as the state, province, or district. ///For example CA for California, United States. /// - [Description("The code for the region of the address, such as the state, province, or district.\nFor example CA for California, United States.")] - public string? provinceCode { get; set; } - } - + [Description("The code for the region of the address, such as the state, province, or district.\nFor example CA for California, United States.")] + public string? provinceCode { get; set; } + } + /// ///The input fields to use to edit a location. /// - [Description("The input fields to use to edit a location.")] - public class LocationEditInput : GraphQLObject - { + [Description("The input fields to use to edit a location.")] + public class LocationEditInput : GraphQLObject + { /// ///The name of the location. /// - [Description("The name of the location.")] - public string? name { get; set; } - + [Description("The name of the location.")] + public string? name { get; set; } + /// ///The address of the location. /// - [Description("The address of the location.")] - public LocationEditAddressInput? address { get; set; } - + [Description("The address of the location.")] + public LocationEditAddressInput? address { get; set; } + /// ///Whether inventory at this location is available for sale online. /// ///**Note:** This can't be disabled for fulfillment service locations. /// - [Description("Whether inventory at this location is available for sale online.\n\n**Note:** This can't be disabled for fulfillment service locations.")] - public bool? fulfillsOnlineOrders { get; set; } - + [Description("Whether inventory at this location is available for sale online.\n\n**Note:** This can't be disabled for fulfillment service locations.")] + public bool? fulfillsOnlineOrders { get; set; } + /// ///Additional customizable information to associate with the location. /// - [Description("Additional customizable information to associate with the location.")] - public IEnumerable? metafields { get; set; } - } - + [Description("Additional customizable information to associate with the location.")] + public IEnumerable? metafields { get; set; } + } + /// ///Return type for `locationEdit` mutation. /// - [Description("Return type for `locationEdit` mutation.")] - public class LocationEditPayload : GraphQLObject - { + [Description("Return type for `locationEdit` mutation.")] + public class LocationEditPayload : GraphQLObject + { /// ///The location that was edited. /// - [Description("The location that was edited.")] - public Location? location { get; set; } - + [Description("The location that was edited.")] + public Location? location { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs while editing a location. /// - [Description("An error that occurs while editing a location.")] - public class LocationEditUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs while editing a location.")] + public class LocationEditUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(LocationEditUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(LocationEditUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `LocationEditUserError`. /// - [Description("Possible error codes that can be returned by `LocationEditUserError`.")] - public enum LocationEditUserErrorCode - { + [Description("Possible error codes that can be returned by `LocationEditUserError`.")] + public enum LocationEditUserErrorCode + { /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The ZIP code is not a valid US ZIP code. /// - [Description("The ZIP code is not a valid US ZIP code.")] - INVALID_US_ZIPCODE, + [Description("The ZIP code is not a valid US ZIP code.")] + INVALID_US_ZIPCODE, /// ///An error occurred while editing the location. /// - [Description("An error occurred while editing the location.")] - GENERIC_ERROR, + [Description("An error occurred while editing the location.")] + GENERIC_ERROR, /// ///At least one location must fulfill online orders. /// - [Description("At least one location must fulfill online orders.")] - CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT, + [Description("At least one location must fulfill online orders.")] + CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT, /// ///Cannot modify the online order fulfillment preference for fulfillment service locations. /// - [Description("Cannot modify the online order fulfillment preference for fulfillment service locations.")] - CANNOT_MODIFY_ONLINE_ORDER_FULFILLMENT_FOR_FS_LOCATION, + [Description("Cannot modify the online order fulfillment preference for fulfillment service locations.")] + CANNOT_MODIFY_ONLINE_ORDER_FULFILLMENT_FOR_FS_LOCATION, /// ///The type is invalid. /// - [Description("The type is invalid.")] - INVALID_TYPE, + [Description("The type is invalid.")] + INVALID_TYPE, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///ApiPermission metafields can only be created or updated by the app owner. /// - [Description("ApiPermission metafields can only be created or updated by the app owner.")] - APP_NOT_AUTHORIZED, + [Description("ApiPermission metafields can only be created or updated by the app owner.")] + APP_NOT_AUTHORIZED, /// ///Unstructured reserved namespace. /// - [Description("Unstructured reserved namespace.")] - UNSTRUCTURED_RESERVED_NAMESPACE, + [Description("Unstructured reserved namespace.")] + UNSTRUCTURED_RESERVED_NAMESPACE, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The metafield violates a capability restriction. /// - [Description("The metafield violates a capability restriction.")] - CAPABILITY_VIOLATION, + [Description("The metafield violates a capability restriction.")] + CAPABILITY_VIOLATION, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, - } - - public static class LocationEditUserErrorCodeStringValues - { - public const string TOO_LONG = @"TOO_LONG"; - public const string BLANK = @"BLANK"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - public const string INVALID_US_ZIPCODE = @"INVALID_US_ZIPCODE"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT = @"CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT"; - public const string CANNOT_MODIFY_ONLINE_ORDER_FULFILLMENT_FOR_FS_LOCATION = @"CANNOT_MODIFY_ONLINE_ORDER_FULFILLMENT_FOR_FS_LOCATION"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; - public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string INCLUSION = @"INCLUSION"; - public const string PRESENT = @"PRESENT"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - } - + [Description("An internal error occurred.")] + INTERNAL_ERROR, + } + + public static class LocationEditUserErrorCodeStringValues + { + public const string TOO_LONG = @"TOO_LONG"; + public const string BLANK = @"BLANK"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + public const string INVALID_US_ZIPCODE = @"INVALID_US_ZIPCODE"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT = @"CANNOT_DISABLE_ONLINE_ORDER_FULFILLMENT"; + public const string CANNOT_MODIFY_ONLINE_ORDER_FULFILLMENT_FOR_FS_LOCATION = @"CANNOT_MODIFY_ONLINE_ORDER_FULFILLMENT_FOR_FS_LOCATION"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; + public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string INCLUSION = @"INCLUSION"; + public const string PRESENT = @"PRESENT"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + } + /// ///The input fields for identifying a location. /// - [Description("The input fields for identifying a location.")] - public class LocationIdentifierInput : GraphQLObject - { + [Description("The input fields for identifying a location.")] + public class LocationIdentifierInput : GraphQLObject + { /// ///The ID of the location. /// - [Description("The ID of the location.")] - public string? id { get; set; } - + [Description("The ID of the location.")] + public string? id { get; set; } + /// ///The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the location. /// - [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the location.")] - public UniqueMetafieldValueInput? customId { get; set; } - } - + [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the location.")] + public UniqueMetafieldValueInput? customId { get; set; } + } + /// ///Return type for `locationLocalPickupDisable` mutation. /// - [Description("Return type for `locationLocalPickupDisable` mutation.")] - public class LocationLocalPickupDisablePayload : GraphQLObject - { + [Description("Return type for `locationLocalPickupDisable` mutation.")] + public class LocationLocalPickupDisablePayload : GraphQLObject + { /// ///The ID of the location for which local pickup was disabled. /// - [Description("The ID of the location for which local pickup was disabled.")] - public string? locationId { get; set; } - + [Description("The ID of the location for which local pickup was disabled.")] + public string? locationId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `locationLocalPickupEnable` mutation. /// - [Description("Return type for `locationLocalPickupEnable` mutation.")] - public class LocationLocalPickupEnablePayload : GraphQLObject - { + [Description("Return type for `locationLocalPickupEnable` mutation.")] + public class LocationLocalPickupEnablePayload : GraphQLObject + { /// ///The local pickup settings that were enabled. /// - [Description("The local pickup settings that were enabled.")] - public DeliveryLocalPickupSettings? localPickupSettings { get; set; } - + [Description("The local pickup settings that were enabled.")] + public DeliveryLocalPickupSettings? localPickupSettings { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A snapshot of location details including name and address captured at a specific point in time. Refer to the parent model to know the lifecycle. /// - [Description("A snapshot of location details including name and address captured at a specific point in time. Refer to the parent model to know the lifecycle.")] - public class LocationSnapshot : GraphQLObject - { + [Description("A snapshot of location details including name and address captured at a specific point in time. Refer to the parent model to know the lifecycle.")] + public class LocationSnapshot : GraphQLObject + { /// ///The address details of the location as they were when the snapshot was recorded. /// - [Description("The address details of the location as they were when the snapshot was recorded.")] - [NonNull] - public LocationAddress? address { get; set; } - + [Description("The address details of the location as they were when the snapshot was recorded.")] + [NonNull] + public LocationAddress? address { get; set; } + /// ///A reference to the live Location object, if it still exists and is accessible. This provides current details of the location, which may differ from the snapshotted name and address. /// - [Description("A reference to the live Location object, if it still exists and is accessible. This provides current details of the location, which may differ from the snapshotted name and address.")] - public Location? location { get; set; } - + [Description("A reference to the live Location object, if it still exists and is accessible. This provides current details of the location, which may differ from the snapshotted name and address.")] + public Location? location { get; set; } + /// ///The name of the location as it was when the snapshot was recorded. /// - [Description("The name of the location as it was when the snapshot was recorded.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the location as it was when the snapshot was recorded.")] + [NonNull] + public string? name { get; set; } + /// ///The date and time when these snapshot details (name and address) were recorded. /// - [Description("The date and time when these snapshot details (name and address) were recorded.")] - [NonNull] - public DateTime? snapshottedAt { get; set; } - } - + [Description("The date and time when these snapshot details (name and address) were recorded.")] + [NonNull] + public DateTime? snapshottedAt { get; set; } + } + /// ///The set of valid sort keys for the Location query. /// - [Description("The set of valid sort keys for the Location query.")] - public enum LocationSortKeys - { + [Description("The set of valid sort keys for the Location query.")] + public enum LocationSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, - } - - public static class LocationSortKeysStringValues - { - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string RELEVANCE = @"RELEVANCE"; - } - + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, + } + + public static class LocationSortKeysStringValues + { + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string RELEVANCE = @"RELEVANCE"; + } + /// ///Represents a suggested address for a location. /// - [Description("Represents a suggested address for a location.")] - public class LocationSuggestedAddress : GraphQLObject - { + [Description("Represents a suggested address for a location.")] + public class LocationSuggestedAddress : GraphQLObject + { /// ///The first line of the suggested address. /// - [Description("The first line of the suggested address.")] - public string? address1 { get; set; } - + [Description("The first line of the suggested address.")] + public string? address1 { get; set; } + /// ///The second line of the suggested address. /// - [Description("The second line of the suggested address.")] - public string? address2 { get; set; } - + [Description("The second line of the suggested address.")] + public string? address2 { get; set; } + /// ///The city of the suggested address. /// - [Description("The city of the suggested address.")] - public string? city { get; set; } - + [Description("The city of the suggested address.")] + public string? city { get; set; } + /// ///The country of the suggested address. /// - [Description("The country of the suggested address.")] - public string? country { get; set; } - + [Description("The country of the suggested address.")] + public string? country { get; set; } + /// ///The country code of the suggested address. /// - [Description("The country code of the suggested address.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The country code of the suggested address.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///A formatted version of the suggested address. /// - [Description("A formatted version of the suggested address.")] - [NonNull] - public IEnumerable? formatted { get; set; } - + [Description("A formatted version of the suggested address.")] + [NonNull] + public IEnumerable? formatted { get; set; } + /// ///The province of the suggested address. /// - [Description("The province of the suggested address.")] - public string? province { get; set; } - + [Description("The province of the suggested address.")] + public string? province { get; set; } + /// ///The code for the province, state, or district of the suggested address. /// - [Description("The code for the province, state, or district of the suggested address.")] - public string? provinceCode { get; set; } - + [Description("The code for the province, state, or district of the suggested address.")] + public string? provinceCode { get; set; } + /// ///The ZIP code of the suggested address. /// - [Description("The ZIP code of the suggested address.")] - public string? zip { get; set; } - } - + [Description("The ZIP code of the suggested address.")] + public string? zip { get; set; } + } + /// ///A condition checking the location that the visitor is shopping from. /// - [Description("A condition checking the location that the visitor is shopping from.")] - public class LocationsCondition : GraphQLObject - { + [Description("A condition checking the location that the visitor is shopping from.")] + public class LocationsCondition : GraphQLObject + { /// ///The application level for the condition. /// - [Description("The application level for the condition.")] - [EnumType(typeof(MarketConditionApplicationType))] - public string? applicationLevel { get; set; } - + [Description("The application level for the condition.")] + [EnumType(typeof(MarketConditionApplicationType))] + public string? applicationLevel { get; set; } + /// ///The locations that comprise the market. /// - [Description("The locations that comprise the market.")] - [NonNull] - public LocationConnection? locations { get; set; } - } - + [Description("The locations that comprise the market.")] + [NonNull] + public LocationConnection? locations { get; set; } + } + /// ///Signals that indicate whether prices should be locked for draft order. /// - [Description("Signals that indicate whether prices should be locked for draft order.")] - public enum LockDraftOrderPricesForBuyer - { + [Description("Signals that indicate whether prices should be locked for draft order.")] + public enum LockDraftOrderPricesForBuyer + { /// ///Leave current line item price overrides unchanged. /// - [Description("Leave current line item price overrides unchanged.")] - NOCHANGE, + [Description("Leave current line item price overrides unchanged.")] + NOCHANGE, /// ///Remove price overrides from all line items. /// - [Description("Remove price overrides from all line items.")] - UNLOCKALL, + [Description("Remove price overrides from all line items.")] + UNLOCKALL, /// ///Ensure all variant-backed line items have price overrides. Preserves existing overrides, or creates new ones from a line item's current price. /// - [Description("Ensure all variant-backed line items have price overrides. Preserves existing overrides, or creates new ones from a line item's current price.")] - LOCKALL, - } - - public static class LockDraftOrderPricesForBuyerStringValues - { - public const string NOCHANGE = @"NOCHANGE"; - public const string UNLOCKALL = @"UNLOCKALL"; - public const string LOCKALL = @"LOCKALL"; - } - + [Description("Ensure all variant-backed line items have price overrides. Preserves existing overrides, or creates new ones from a line item's current price.")] + LOCKALL, + } + + public static class LockDraftOrderPricesForBuyerStringValues + { + public const string NOCHANGE = @"NOCHANGE"; + public const string UNLOCKALL = @"UNLOCKALL"; + public const string LOCKALL = @"LOCKALL"; + } + /// ///Represents a customer mailing address. /// ///For example, a customer's default address and an order's billing address are both mailling addresses. /// - [Description("Represents a customer mailing address.\n\nFor example, a customer's default address and an order's billing address are both mailling addresses.")] - public class MailingAddress : GraphQLObject, INode - { + [Description("Represents a customer mailing address.\n\nFor example, a customer's default address and an order's billing address are both mailling addresses.")] + public class MailingAddress : GraphQLObject, INode + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The name of the customer's company or organization. /// - [Description("The name of the customer's company or organization.")] - public string? company { get; set; } - + [Description("The name of the customer's company or organization.")] + public string? company { get; set; } + /// ///Whether the address corresponds to recognized latitude and longitude values. /// - [Description("Whether the address corresponds to recognized latitude and longitude values.")] - [NonNull] - public bool? coordinatesValidated { get; set; } - + [Description("Whether the address corresponds to recognized latitude and longitude values.")] + [NonNull] + public bool? coordinatesValidated { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - public string? country { get; set; } - + [Description("The name of the country.")] + public string? country { get; set; } + /// ///The two-letter code for the country of the address. /// ///For example, US. /// - [Description("The two-letter code for the country of the address.\n\nFor example, US.")] - [Obsolete("Use `countryCodeV2` instead.")] - public string? countryCode { get; set; } - + [Description("The two-letter code for the country of the address.\n\nFor example, US.")] + [Obsolete("Use `countryCodeV2` instead.")] + public string? countryCode { get; set; } + /// ///The two-letter code for the country of the address. /// ///For example, US. /// - [Description("The two-letter code for the country of the address.\n\nFor example, US.")] - [EnumType(typeof(CountryCode))] - public string? countryCodeV2 { get; set; } - + [Description("The two-letter code for the country of the address.\n\nFor example, US.")] + [EnumType(typeof(CountryCode))] + public string? countryCodeV2 { get; set; } + /// ///The first name of the customer. /// - [Description("The first name of the customer.")] - public string? firstName { get; set; } - + [Description("The first name of the customer.")] + public string? firstName { get; set; } + /// ///A formatted version of the address, customized by the provided arguments. /// - [Description("A formatted version of the address, customized by the provided arguments.")] - [NonNull] - public IEnumerable? formatted { get; set; } - + [Description("A formatted version of the address, customized by the provided arguments.")] + [NonNull] + public IEnumerable? formatted { get; set; } + /// ///A comma-separated list of the values for city, province, and country. /// - [Description("A comma-separated list of the values for city, province, and country.")] - public string? formattedArea { get; set; } - + [Description("A comma-separated list of the values for city, province, and country.")] + public string? formattedArea { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The last name of the customer. /// - [Description("The last name of the customer.")] - public string? lastName { get; set; } - + [Description("The last name of the customer.")] + public string? lastName { get; set; } + /// ///The latitude coordinate of the customer address. /// - [Description("The latitude coordinate of the customer address.")] - public decimal? latitude { get; set; } - + [Description("The latitude coordinate of the customer address.")] + public decimal? latitude { get; set; } + /// ///The longitude coordinate of the customer address. /// - [Description("The longitude coordinate of the customer address.")] - public decimal? longitude { get; set; } - + [Description("The longitude coordinate of the customer address.")] + public decimal? longitude { get; set; } + /// ///The full name of the customer, based on firstName and lastName. /// - [Description("The full name of the customer, based on firstName and lastName.")] - public string? name { get; set; } - + [Description("The full name of the customer, based on firstName and lastName.")] + public string? name { get; set; } + /// ///A unique phone number for the customer. /// - [Description("A unique phone number for the customer.")] - public string? phone { get; set; } - + [Description("A unique phone number for the customer.")] + public string? phone { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + public string? province { get; set; } + /// ///The alphanumeric code for the region. /// ///For example, ON. /// - [Description("The alphanumeric code for the region.\n\nFor example, ON.")] - public string? provinceCode { get; set; } - + [Description("The alphanumeric code for the region.\n\nFor example, ON.")] + public string? provinceCode { get; set; } + /// ///The time zone of the address. /// - [Description("The time zone of the address.")] - public string? timeZone { get; set; } - + [Description("The time zone of the address.")] + public string? timeZone { get; set; } + /// ///The validation status that is leveraged by the address validation feature in the Shopify Admin. ///See ["Validating addresses in your Shopify admin"](https://help.shopify.com/manual/fulfillment/managing-orders/validating-order-address) for more details. /// - [Description("The validation status that is leveraged by the address validation feature in the Shopify Admin.\nSee [\"Validating addresses in your Shopify admin\"](https://help.shopify.com/manual/fulfillment/managing-orders/validating-order-address) for more details.")] - [EnumType(typeof(MailingAddressValidationResult))] - public string? validationResultSummary { get; set; } - + [Description("The validation status that is leveraged by the address validation feature in the Shopify Admin.\nSee [\"Validating addresses in your Shopify admin\"](https://help.shopify.com/manual/fulfillment/managing-orders/validating-order-address) for more details.")] + [EnumType(typeof(MailingAddressValidationResult))] + public string? validationResultSummary { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + } + /// ///An auto-generated type for paginating through multiple MailingAddresses. /// - [Description("An auto-generated type for paginating through multiple MailingAddresses.")] - public class MailingAddressConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MailingAddresses.")] + public class MailingAddressConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MailingAddressEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MailingAddressEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MailingAddressEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one MailingAddress and a cursor during pagination. /// - [Description("An auto-generated type which holds one MailingAddress and a cursor during pagination.")] - public class MailingAddressEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MailingAddress and a cursor during pagination.")] + public class MailingAddressEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MailingAddressEdge. /// - [Description("The item at the end of MailingAddressEdge.")] - [NonNull] - public MailingAddress? node { get; set; } - } - + [Description("The item at the end of MailingAddressEdge.")] + [NonNull] + public MailingAddress? node { get; set; } + } + /// ///The input fields to create or update a mailing address. /// - [Description("The input fields to create or update a mailing address.")] - public class MailingAddressInput : GraphQLObject - { + [Description("The input fields to create or update a mailing address.")] + public class MailingAddressInput : GraphQLObject + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The name of the customer's company or organization. /// - [Description("The name of the customer's company or organization.")] - public string? company { get; set; } - + [Description("The name of the customer's company or organization.")] + public string? company { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - [Obsolete("Use `countryCode` instead.")] - public string? country { get; set; } - + [Description("The name of the country.")] + [Obsolete("Use `countryCode` instead.")] + public string? country { get; set; } + /// ///The two-letter code for the country of the address. /// - [Description("The two-letter code for the country of the address.")] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("The two-letter code for the country of the address.")] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///The first name of the customer. /// - [Description("The first name of the customer.")] - public string? firstName { get; set; } - - [Obsolete("Not needed for 90% of mutations, and provided separately where it is needed.")] - public string? id { get; set; } - + [Description("The first name of the customer.")] + public string? firstName { get; set; } + + [Obsolete("Not needed for 90% of mutations, and provided separately where it is needed.")] + public string? id { get; set; } + /// ///The last name of the customer. /// - [Description("The last name of the customer.")] - public string? lastName { get; set; } - + [Description("The last name of the customer.")] + public string? lastName { get; set; } + /// ///A unique phone number for the customer. /// ///Formatted using E.164 standard. For example, _+16135551111_. /// - [Description("A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.")] - public string? phone { get; set; } - + [Description("A unique phone number for the customer.\n\nFormatted using E.164 standard. For example, _+16135551111_.")] + public string? phone { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - [Obsolete("Use `provinceCode` instead.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + [Obsolete("Use `provinceCode` instead.")] + public string? province { get; set; } + /// ///The code for the region of the address, such as the province, state, or district. ///For example QC for Quebec, Canada. /// - [Description("The code for the region of the address, such as the province, state, or district.\nFor example QC for Quebec, Canada.")] - public string? provinceCode { get; set; } - + [Description("The code for the region of the address, such as the province, state, or district.\nFor example QC for Quebec, Canada.")] + public string? provinceCode { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + } + /// ///Highest level of validation concerns identified for the address. /// - [Description("Highest level of validation concerns identified for the address.")] - public enum MailingAddressValidationResult - { + [Description("Highest level of validation concerns identified for the address.")] + public enum MailingAddressValidationResult + { /// ///Indicates that the address has been validated and no issues were found. /// - [Description("Indicates that the address has been validated and no issues were found.")] - NO_ISSUES, + [Description("Indicates that the address has been validated and no issues were found.")] + NO_ISSUES, /// ///Indicates that the address has been validated and is very likely to contain invalid information. /// - [Description("Indicates that the address has been validated and is very likely to contain invalid information.")] - ERROR, + [Description("Indicates that the address has been validated and is very likely to contain invalid information.")] + ERROR, /// ///Indicates that the address has been validated and might contain invalid information. /// - [Description("Indicates that the address has been validated and might contain invalid information.")] - WARNING, - } - - public static class MailingAddressValidationResultStringValues - { - public const string NO_ISSUES = @"NO_ISSUES"; - public const string ERROR = @"ERROR"; - public const string WARNING = @"WARNING"; - } - + [Description("Indicates that the address has been validated and might contain invalid information.")] + WARNING, + } + + public static class MailingAddressValidationResultStringValues + { + public const string NO_ISSUES = @"NO_ISSUES"; + public const string ERROR = @"ERROR"; + public const string WARNING = @"WARNING"; + } + /// ///The type of resource a payment mandate can be used for. /// - [Description("The type of resource a payment mandate can be used for.")] - public enum MandateResourceType - { + [Description("The type of resource a payment mandate can be used for.")] + public enum MandateResourceType + { /// ///A credential stored on file for merchant and customer initiated transactions. /// - [Description("A credential stored on file for merchant and customer initiated transactions.")] - CREDENTIAL_ON_FILE, + [Description("A credential stored on file for merchant and customer initiated transactions.")] + CREDENTIAL_ON_FILE, /// ///A credential stored on file for checkout. /// - [Description("A credential stored on file for checkout.")] - CHECKOUT, + [Description("A credential stored on file for checkout.")] + CHECKOUT, /// ///A credential stored on file for a Draft Order. /// - [Description("A credential stored on file for a Draft Order.")] - DRAFT_ORDER, + [Description("A credential stored on file for a Draft Order.")] + DRAFT_ORDER, /// ///A credential stored on file for an Order. /// - [Description("A credential stored on file for an Order.")] - ORDER, + [Description("A credential stored on file for an Order.")] + ORDER, /// ///A credential stored for subscription billing attempts. /// - [Description("A credential stored for subscription billing attempts.")] - SUBSCRIPTIONS, - } - - public static class MandateResourceTypeStringValues - { - public const string CREDENTIAL_ON_FILE = @"CREDENTIAL_ON_FILE"; - public const string CHECKOUT = @"CHECKOUT"; - public const string DRAFT_ORDER = @"DRAFT_ORDER"; - public const string ORDER = @"ORDER"; - public const string SUBSCRIPTIONS = @"SUBSCRIPTIONS"; - } - + [Description("A credential stored for subscription billing attempts.")] + SUBSCRIPTIONS, + } + + public static class MandateResourceTypeStringValues + { + public const string CREDENTIAL_ON_FILE = @"CREDENTIAL_ON_FILE"; + public const string CHECKOUT = @"CHECKOUT"; + public const string DRAFT_ORDER = @"DRAFT_ORDER"; + public const string ORDER = @"ORDER"; + public const string SUBSCRIPTIONS = @"SUBSCRIPTIONS"; + } + /// ///Manual discount applications capture the intentions of a discount that was manually created for an order. /// ///Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object. /// - [Description("Manual discount applications capture the intentions of a discount that was manually created for an order.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] - public class ManualDiscountApplication : GraphQLObject, IDiscountApplication - { + [Description("Manual discount applications capture the intentions of a discount that was manually created for an order.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] + public class ManualDiscountApplication : GraphQLObject, IDiscountApplication + { /// ///The method by which the discount's value is applied to its entitled items. /// - [Description("The method by which the discount's value is applied to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is applied to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The description of the discount application. /// - [Description("The description of the discount application.")] - public string? description { get; set; } - + [Description("The description of the discount application.")] + public string? description { get; set; } + /// ///An ordered index that can be used to identify the discount application and indicate the precedence ///of the discount application for calculations. /// - [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] - [NonNull] - public int? index { get; set; } - + [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] + [NonNull] + public int? index { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The title of the discount application. /// - [Description("The title of the discount application.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the discount application.")] + [NonNull] + public string? title { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///A market is a group of one or more regions that you want to target for international sales. ///By creating a market, you can configure a distinct, localized shopping experience for @@ -61978,108 +61978,108 @@ public class ManualDiscountApplication : GraphQLObject - [Description("A market is a group of one or more regions that you want to target for international sales.\nBy creating a market, you can configure a distinct, localized shopping experience for\ncustomers from a specific area of the world. For example, you can\n[change currency](https://shopify.dev/api/admin-graphql/current/mutations/marketCurrencySettingsUpdate),\n[configure international pricing](https://shopify.dev/apps/internationalization/product-price-lists),\nor [add market-specific domains or subfolders](https://shopify.dev/api/admin-graphql/current/objects/MarketWebPresence).")] - public class Market : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer - { + [Description("A market is a group of one or more regions that you want to target for international sales.\nBy creating a market, you can configure a distinct, localized shopping experience for\ncustomers from a specific area of the world. For example, you can\n[change currency](https://shopify.dev/api/admin-graphql/current/mutations/marketCurrencySettingsUpdate),\n[configure international pricing](https://shopify.dev/apps/internationalization/product-price-lists),\nor [add market-specific domains or subfolders](https://shopify.dev/api/admin-graphql/current/objects/MarketWebPresence).")] + public class Market : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer + { /// ///Whether the market has a customization with the given ID. /// - [Description("Whether the market has a customization with the given ID.")] - [NonNull] - public bool? assignedCustomization { get; set; } - + [Description("Whether the market has a customization with the given ID.")] + [NonNull] + public bool? assignedCustomization { get; set; } + /// ///The catalogs that belong to the market. /// - [Description("The catalogs that belong to the market.")] - [NonNull] - public MarketCatalogConnection? catalogs { get; set; } - + [Description("The catalogs that belong to the market.")] + [NonNull] + public MarketCatalogConnection? catalogs { get; set; } + /// ///The number of catalogs that belong to the market. /// - [Description("The number of catalogs that belong to the market.")] - public Count? catalogsCount { get; set; } - + [Description("The number of catalogs that belong to the market.")] + public Count? catalogsCount { get; set; } + /// ///The conditions under which a visitor is in the market. /// - [Description("The conditions under which a visitor is in the market.")] - public MarketConditions? conditions { get; set; } - + [Description("The conditions under which a visitor is in the market.")] + public MarketConditions? conditions { get; set; } + /// ///The market’s currency settings. /// - [Description("The market’s currency settings.")] - public MarketCurrencySettings? currencySettings { get; set; } - + [Description("The market’s currency settings.")] + public MarketCurrencySettings? currencySettings { get; set; } + /// ///Whether the market is enabled to receive visitors and sales. **Note**: Regions in inactive ///markets can't be selected on the storefront or in checkout. /// - [Description("Whether the market is enabled to receive visitors and sales. **Note**: Regions in inactive\nmarkets can't be selected on the storefront or in checkout.")] - [Obsolete("Use `status` instead.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Whether the market is enabled to receive visitors and sales. **Note**: Regions in inactive\nmarkets can't be selected on the storefront or in checkout.")] + [Obsolete("Use `status` instead.")] + [NonNull] + public bool? enabled { get; set; } + /// ///A short, human-readable unique identifier for the market. This is changeable by the merchant. /// - [Description("A short, human-readable unique identifier for the market. This is changeable by the merchant.")] - [NonNull] - public string? handle { get; set; } - + [Description("A short, human-readable unique identifier for the market. This is changeable by the merchant.")] + [NonNull] + public string? handle { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The name of the market. Not shown to customers. /// - [Description("The name of the market. Not shown to customers.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the market. Not shown to customers.")] + [NonNull] + public string? name { get; set; } + /// ///The inclusive pricing strategy for a market. This determines if prices include duties and / or taxes. /// - [Description("The inclusive pricing strategy for a market. This determines if prices include duties and / or taxes.")] - public MarketPriceInclusions? priceInclusions { get; set; } - + [Description("The inclusive pricing strategy for a market. This determines if prices include duties and / or taxes.")] + public MarketPriceInclusions? priceInclusions { get; set; } + /// ///The market’s price list, which specifies a percentage-based price adjustment as well as ///fixed price overrides for specific variants. @@ -62087,42 +62087,42 @@ public class Market : GraphQLObject, IHasMetafieldDefinitions, IHasMetaf ///Markets with multiple catalogs can have multiple price lists. To query which price lists are connected to ///a market, please query for price lists through the catalogs connection. /// - [Description("The market’s price list, which specifies a percentage-based price adjustment as well as\nfixed price overrides for specific variants.\n\nMarkets with multiple catalogs can have multiple price lists. To query which price lists are connected to\na market, please query for price lists through the catalogs connection.")] - [Obsolete("Use `catalogs` instead.")] - public PriceList? priceList { get; set; } - + [Description("The market’s price list, which specifies a percentage-based price adjustment as well as\nfixed price overrides for specific variants.\n\nMarkets with multiple catalogs can have multiple price lists. To query which price lists are connected to\na market, please query for price lists through the catalogs connection.")] + [Obsolete("Use `catalogs` instead.")] + public PriceList? priceList { get; set; } + /// ///Whether the market is the shop’s primary market. /// - [Description("Whether the market is the shop’s primary market.")] - [Obsolete("This field is deprecated and will be removed in the future.")] - [NonNull] - public bool? primary { get; set; } - + [Description("Whether the market is the shop’s primary market.")] + [Obsolete("This field is deprecated and will be removed in the future.")] + [NonNull] + public bool? primary { get; set; } + /// ///The regions that comprise the market. /// - [Description("The regions that comprise the market.")] - [Obsolete("This field is deprecated and will be removed in the future. Use `conditions.regionConditions` instead.")] - [NonNull] - public MarketRegionConnection? regions { get; set; } - + [Description("The regions that comprise the market.")] + [Obsolete("This field is deprecated and will be removed in the future. Use `conditions.regionConditions` instead.")] + [NonNull] + public MarketRegionConnection? regions { get; set; } + /// ///Status of the market. Replaces the enabled field. /// - [Description("Status of the market. Replaces the enabled field.")] - [NonNull] - [EnumType(typeof(MarketStatus))] - public string? status { get; set; } - + [Description("Status of the market. Replaces the enabled field.")] + [NonNull] + [EnumType(typeof(MarketStatus))] + public string? status { get; set; } + /// ///The type of the market. /// - [Description("The type of the market.")] - [NonNull] - [EnumType(typeof(MarketType))] - public string? type { get; set; } - + [Description("The type of the market.")] + [NonNull] + [EnumType(typeof(MarketType))] + public string? type { get; set; } + /// ///The market’s web presence, which defines its SEO strategy. This can be a different domain, ///subdomain, or subfolders of the primary domain. Each web presence comprises one or more @@ -62131,10 +62131,10 @@ public class Market : GraphQLObject, IHasMetafieldDefinitions, IHasMetaf ///selectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector). ///If it's the primary market and it has multiple web presences, then this field will return the primary domain web presence. /// - [Description("The market’s web presence, which defines its SEO strategy. This can be a different domain,\nsubdomain, or subfolders of the primary domain. Each web presence comprises one or more\nlanguage variants. If a market doesn't have its own web presence, then the market is accessible on the\nprimary market's domains using [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\nIf it's the primary market and it has multiple web presences, then this field will return the primary domain web presence.")] - [Obsolete("Use `webPresences` instead.")] - public MarketWebPresence? webPresence { get; set; } - + [Description("The market’s web presence, which defines its SEO strategy. This can be a different domain,\nsubdomain, or subfolders of the primary domain. Each web presence comprises one or more\nlanguage variants. If a market doesn't have its own web presence, then the market is accessible on the\nprimary market's domains using [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\nIf it's the primary market and it has multiple web presences, then this field will return the primary domain web presence.")] + [Obsolete("Use `webPresences` instead.")] + public MarketWebPresence? webPresence { get; set; } + /// ///The market’s web presences, which defines its SEO strategy. This can be a different domain, ///subdomain, or subfolders of the primary domain. Each web presence comprises one or more @@ -62142,386 +62142,386 @@ public class Market : GraphQLObject, IHasMetafieldDefinitions, IHasMetaf ///primary market's domains using [country ///selectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector). /// - [Description("The market’s web presences, which defines its SEO strategy. This can be a different domain,\nsubdomain, or subfolders of the primary domain. Each web presence comprises one or more\nlanguage variants. If a market doesn't have any web presences, then the market is accessible on the\nprimary market's domains using [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).")] - [NonNull] - public MarketWebPresenceConnection? webPresences { get; set; } - } - + [Description("The market’s web presences, which defines its SEO strategy. This can be a different domain,\nsubdomain, or subfolders of the primary domain. Each web presence comprises one or more\nlanguage variants. If a market doesn't have any web presences, then the market is accessible on the\nprimary market's domains using [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).")] + [NonNull] + public MarketWebPresenceConnection? webPresences { get; set; } + } + /// ///A list of products with publishing and pricing information associated with markets. /// - [Description("A list of products with publishing and pricing information associated with markets.")] - public class MarketCatalog : GraphQLObject, ICatalog, INode - { + [Description("A list of products with publishing and pricing information associated with markets.")] + public class MarketCatalog : GraphQLObject, ICatalog, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The markets associated with the catalog. /// - [Description("The markets associated with the catalog.")] - [NonNull] - public MarketConnection? markets { get; set; } - + [Description("The markets associated with the catalog.")] + [NonNull] + public MarketConnection? markets { get; set; } + /// ///The number of markets associated with the catalog. /// - [Description("The number of markets associated with the catalog.")] - public Count? marketsCount { get; set; } - + [Description("The number of markets associated with the catalog.")] + public Count? marketsCount { get; set; } + /// ///Most recent catalog operations. /// - [Description("Most recent catalog operations.")] - [NonNull] - public IEnumerable? operations { get; set; } - + [Description("Most recent catalog operations.")] + [NonNull] + public IEnumerable? operations { get; set; } + /// ///The price list associated with the catalog. /// - [Description("The price list associated with the catalog.")] - public PriceList? priceList { get; set; } - + [Description("The price list associated with the catalog.")] + public PriceList? priceList { get; set; } + /// ///A group of products and collections that's published to a catalog. /// - [Description("A group of products and collections that's published to a catalog.")] - public Publication? publication { get; set; } - + [Description("A group of products and collections that's published to a catalog.")] + public Publication? publication { get; set; } + /// ///The status of the catalog. /// - [Description("The status of the catalog.")] - [NonNull] - [EnumType(typeof(CatalogStatus))] - public string? status { get; set; } - + [Description("The status of the catalog.")] + [NonNull] + [EnumType(typeof(CatalogStatus))] + public string? status { get; set; } + /// ///The name of the catalog. /// - [Description("The name of the catalog.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the catalog.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple MarketCatalogs. /// - [Description("An auto-generated type for paginating through multiple MarketCatalogs.")] - public class MarketCatalogConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MarketCatalogs.")] + public class MarketCatalogConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MarketCatalogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MarketCatalogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MarketCatalogEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one MarketCatalog and a cursor during pagination. /// - [Description("An auto-generated type which holds one MarketCatalog and a cursor during pagination.")] - public class MarketCatalogEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MarketCatalog and a cursor during pagination.")] + public class MarketCatalogEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MarketCatalogEdge. /// - [Description("The item at the end of MarketCatalogEdge.")] - [NonNull] - public MarketCatalog? node { get; set; } - } - + [Description("The item at the end of MarketCatalogEdge.")] + [NonNull] + public MarketCatalog? node { get; set; } + } + /// ///The application level for a market condition. /// - [Description("The application level for a market condition.")] - public enum MarketConditionApplicationType - { + [Description("The application level for a market condition.")] + public enum MarketConditionApplicationType + { /// ///The condition matches specified records of a given type. /// - [Description("The condition matches specified records of a given type.")] - SPECIFIED, + [Description("The condition matches specified records of a given type.")] + SPECIFIED, /// ///The condition matches all records of a given type. /// - [Description("The condition matches all records of a given type.")] - ALL, - } - - public static class MarketConditionApplicationTypeStringValues - { - public const string SPECIFIED = @"SPECIFIED"; - public const string ALL = @"ALL"; - } - + [Description("The condition matches all records of a given type.")] + ALL, + } + + public static class MarketConditionApplicationTypeStringValues + { + public const string SPECIFIED = @"SPECIFIED"; + public const string ALL = @"ALL"; + } + /// ///The condition types for the condition set. /// - [Description("The condition types for the condition set.")] - public enum MarketConditionType - { + [Description("The condition types for the condition set.")] + public enum MarketConditionType + { /// ///The condition checks the visitor's region. /// - [Description("The condition checks the visitor's region.")] - REGION, + [Description("The condition checks the visitor's region.")] + REGION, /// ///The condition checks the location that the visitor is shopping from. /// - [Description("The condition checks the location that the visitor is shopping from.")] - LOCATION, + [Description("The condition checks the location that the visitor is shopping from.")] + LOCATION, /// ///The condition checks the company location that the visitor is purchasing for. /// - [Description("The condition checks the company location that the visitor is purchasing for.")] - COMPANY_LOCATION, - } - - public static class MarketConditionTypeStringValues - { - public const string REGION = @"REGION"; - public const string LOCATION = @"LOCATION"; - public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; - } - + [Description("The condition checks the company location that the visitor is purchasing for.")] + COMPANY_LOCATION, + } + + public static class MarketConditionTypeStringValues + { + public const string REGION = @"REGION"; + public const string LOCATION = @"LOCATION"; + public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; + } + /// ///The conditions that determine whether a visitor is in a market. /// - [Description("The conditions that determine whether a visitor is in a market.")] - public class MarketConditions : GraphQLObject - { + [Description("The conditions that determine whether a visitor is in a market.")] + public class MarketConditions : GraphQLObject + { /// ///The company location conditions that determine whether a visitor is in the market. /// - [Description("The company location conditions that determine whether a visitor is in the market.")] - public CompanyLocationsCondition? companyLocationsCondition { get; set; } - + [Description("The company location conditions that determine whether a visitor is in the market.")] + public CompanyLocationsCondition? companyLocationsCondition { get; set; } + /// ///The set of condition types that are defined for the market. /// - [Description("The set of condition types that are defined for the market.")] - [NonNull] - public IEnumerable? conditionTypes { get; set; } - + [Description("The set of condition types that are defined for the market.")] + [NonNull] + public IEnumerable? conditionTypes { get; set; } + /// ///The retail location conditions that determine whether a visitor is in the market. /// - [Description("The retail location conditions that determine whether a visitor is in the market.")] - public LocationsCondition? locationsCondition { get; set; } - + [Description("The retail location conditions that determine whether a visitor is in the market.")] + public LocationsCondition? locationsCondition { get; set; } + /// ///The region conditions that determine whether a visitor is in the market. /// - [Description("The region conditions that determine whether a visitor is in the market.")] - public RegionsCondition? regionsCondition { get; set; } - } - + [Description("The region conditions that determine whether a visitor is in the market.")] + public RegionsCondition? regionsCondition { get; set; } + } + /// ///The input fields required to create or update a company location market condition. /// - [Description("The input fields required to create or update a company location market condition.")] - public class MarketConditionsCompanyLocationsInput : GraphQLObject - { + [Description("The input fields required to create or update a company location market condition.")] + public class MarketConditionsCompanyLocationsInput : GraphQLObject + { /// ///A list of company location IDs to include in the market condition. /// - [Description("A list of company location IDs to include in the market condition.")] - public IEnumerable? companyLocationIds { get; set; } - + [Description("A list of company location IDs to include in the market condition.")] + public IEnumerable? companyLocationIds { get; set; } + /// ///A type of market condition (e.g. ALL) to apply. /// - [Description("A type of market condition (e.g. ALL) to apply.")] - [EnumType(typeof(MarketConditionApplicationType))] - public string? applicationLevel { get; set; } - } - + [Description("A type of market condition (e.g. ALL) to apply.")] + [EnumType(typeof(MarketConditionApplicationType))] + public string? applicationLevel { get; set; } + } + /// ///The input fields required to create or update the market conditions. /// - [Description("The input fields required to create or update the market conditions.")] - public class MarketConditionsInput : GraphQLObject - { + [Description("The input fields required to create or update the market conditions.")] + public class MarketConditionsInput : GraphQLObject + { /// ///The company locations to include in the market conditions. /// - [Description("The company locations to include in the market conditions.")] - public MarketConditionsCompanyLocationsInput? companyLocationsCondition { get; set; } - + [Description("The company locations to include in the market conditions.")] + public MarketConditionsCompanyLocationsInput? companyLocationsCondition { get; set; } + /// ///The locations to include in the market conditions. /// - [Description("The locations to include in the market conditions.")] - public MarketConditionsLocationsInput? locationsCondition { get; set; } - + [Description("The locations to include in the market conditions.")] + public MarketConditionsLocationsInput? locationsCondition { get; set; } + /// ///The regions to include in the market conditions. /// - [Description("The regions to include in the market conditions.")] - public MarketConditionsRegionsInput? regionsCondition { get; set; } - } - + [Description("The regions to include in the market conditions.")] + public MarketConditionsRegionsInput? regionsCondition { get; set; } + } + /// ///The input fields required to create or update a location market condition. /// - [Description("The input fields required to create or update a location market condition.")] - public class MarketConditionsLocationsInput : GraphQLObject - { + [Description("The input fields required to create or update a location market condition.")] + public class MarketConditionsLocationsInput : GraphQLObject + { /// ///A list of location IDs to include in the market condition. /// - [Description("A list of location IDs to include in the market condition.")] - public IEnumerable? locationIds { get; set; } - + [Description("A list of location IDs to include in the market condition.")] + public IEnumerable? locationIds { get; set; } + /// ///A type of market condition (e.g. ALL) to apply. /// - [Description("A type of market condition (e.g. ALL) to apply.")] - [EnumType(typeof(MarketConditionApplicationType))] - public string? applicationLevel { get; set; } - } - + [Description("A type of market condition (e.g. ALL) to apply.")] + [EnumType(typeof(MarketConditionApplicationType))] + public string? applicationLevel { get; set; } + } + /// ///The input fields to specify a region condition. /// - [Description("The input fields to specify a region condition.")] - public class MarketConditionsRegionInput : GraphQLObject - { + [Description("The input fields to specify a region condition.")] + public class MarketConditionsRegionInput : GraphQLObject + { /// ///A country code to which this condition should apply. /// - [Description("A country code to which this condition should apply.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("A country code to which this condition should apply.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///A province or state. /// - [Description("A province or state.")] - public string? province { get; set; } - } - + [Description("A province or state.")] + public string? province { get; set; } + } + /// ///The input fields required to create or update a region market condition. /// - [Description("The input fields required to create or update a region market condition.")] - public class MarketConditionsRegionsInput : GraphQLObject - { + [Description("The input fields required to create or update a region market condition.")] + public class MarketConditionsRegionsInput : GraphQLObject + { /// ///A list of market region IDs to include in the market condition. /// - [Description("A list of market region IDs to include in the market condition.")] - public IEnumerable? regionIds { get; set; } - + [Description("A list of market region IDs to include in the market condition.")] + public IEnumerable? regionIds { get; set; } + /// ///A list of market regions to include in the market condition. /// - [Description("A list of market regions to include in the market condition.")] - public IEnumerable? regions { get; set; } - + [Description("A list of market regions to include in the market condition.")] + public IEnumerable? regions { get; set; } + /// ///A type of market condition (e.g. ALL) to apply. /// - [Description("A type of market condition (e.g. ALL) to apply.")] - [EnumType(typeof(MarketConditionApplicationType))] - public string? applicationLevel { get; set; } - } - + [Description("A type of market condition (e.g. ALL) to apply.")] + [EnumType(typeof(MarketConditionApplicationType))] + public string? applicationLevel { get; set; } + } + /// ///The input fields required to update a market condition. /// - [Description("The input fields required to update a market condition.")] - public class MarketConditionsUpdateInput : GraphQLObject - { + [Description("The input fields required to update a market condition.")] + public class MarketConditionsUpdateInput : GraphQLObject + { /// ///The conditions to update to the market condition. /// - [Description("The conditions to update to the market condition.")] - public MarketConditionsInput? conditionsToAdd { get; set; } - + [Description("The conditions to update to the market condition.")] + public MarketConditionsInput? conditionsToAdd { get; set; } + /// ///The conditions to delete from the market condition. /// - [Description("The conditions to delete from the market condition.")] - public MarketConditionsInput? conditionsToDelete { get; set; } - } - + [Description("The conditions to delete from the market condition.")] + public MarketConditionsInput? conditionsToDelete { get; set; } + } + /// ///An auto-generated type for paginating through multiple Markets. /// - [Description("An auto-generated type for paginating through multiple Markets.")] - public class MarketConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Markets.")] + public class MarketConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MarketEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MarketEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MarketEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields required to create a market. /// - [Description("The input fields required to create a market.")] - public class MarketCreateInput : GraphQLObject - { + [Description("The input fields required to create a market.")] + public class MarketCreateInput : GraphQLObject + { /// ///The name of the market. Not shown to customers. /// - [Description("The name of the market. Not shown to customers.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the market. Not shown to customers.")] + [NonNull] + public string? name { get; set; } + /// ///A unique identifier for the market. For example `"ca"`. ///If the handle isn't provided, then the handle is auto-generated based on the country or name. /// - [Description("A unique identifier for the market. For example `\"ca\"`.\nIf the handle isn't provided, then the handle is auto-generated based on the country or name.")] - public string? handle { get; set; } - + [Description("A unique identifier for the market. For example `\"ca\"`.\nIf the handle isn't provided, then the handle is auto-generated based on the country or name.")] + public string? handle { get; set; } + /// ///Whether the market is enabled to receive visitors and sales. If a ///value isn't provided, then the market is enabled by default if all @@ -62531,1598 +62531,1598 @@ public class MarketCreateInput : GraphQLObject ///**Note**: Regions in inactive markets can't be selected on the ///storefront or in checkout. /// - [Description("Whether the market is enabled to receive visitors and sales. If a\nvalue isn't provided, then the market is enabled by default if all\nincluded regions have shipping rates, and disabled if any regions don't\nhave shipping rates.\n\n**Note**: Regions in inactive markets can't be selected on the\nstorefront or in checkout.")] - [Obsolete("Use `status` instead.")] - public bool? enabled { get; set; } - + [Description("Whether the market is enabled to receive visitors and sales. If a\nvalue isn't provided, then the market is enabled by default if all\nincluded regions have shipping rates, and disabled if any regions don't\nhave shipping rates.\n\n**Note**: Regions in inactive markets can't be selected on the\nstorefront or in checkout.")] + [Obsolete("Use `status` instead.")] + public bool? enabled { get; set; } + /// ///The regions to be included in the market. Each region can only be included in one market at ///a time. /// - [Description("The regions to be included in the market. Each region can only be included in one market at\na time.")] - [Obsolete("Use `conditions` instead.")] - public IEnumerable? regions { get; set; } - + [Description("The regions to be included in the market. Each region can only be included in one market at\na time.")] + [Obsolete("Use `conditions` instead.")] + public IEnumerable? regions { get; set; } + /// ///The conditions that apply to the market. /// - [Description("The conditions that apply to the market.")] - public MarketConditionsInput? conditions { get; set; } - + [Description("The conditions that apply to the market.")] + public MarketConditionsInput? conditions { get; set; } + /// ///Catalog IDs to include in the market. /// - [Description("Catalog IDs to include in the market.")] - public IEnumerable? catalogs { get; set; } - + [Description("Catalog IDs to include in the market.")] + public IEnumerable? catalogs { get; set; } + /// ///Whether to update duplicate market's status to draft. /// - [Description("Whether to update duplicate market's status to draft.")] - [Obsolete("Use `makeDuplicateUniqueMarketsDraft` instead.")] - public bool? makeDuplicateRegionMarketsDraft { get; set; } - + [Description("Whether to update duplicate market's status to draft.")] + [Obsolete("Use `makeDuplicateUniqueMarketsDraft` instead.")] + public bool? makeDuplicateRegionMarketsDraft { get; set; } + /// ///Whether to update duplicate region or wildcard markets' status to draft. /// - [Description("Whether to update duplicate region or wildcard markets' status to draft.")] - public bool? makeDuplicateUniqueMarketsDraft { get; set; } - + [Description("Whether to update duplicate region or wildcard markets' status to draft.")] + public bool? makeDuplicateUniqueMarketsDraft { get; set; } + /// ///The status of the market. /// - [Description("The status of the market.")] - [EnumType(typeof(MarketStatus))] - public string? status { get; set; } - + [Description("The status of the market.")] + [EnumType(typeof(MarketStatus))] + public string? status { get; set; } + /// ///Web presence IDs to include in the market. /// - [Description("Web presence IDs to include in the market.")] - public IEnumerable? webPresences { get; set; } - + [Description("Web presence IDs to include in the market.")] + public IEnumerable? webPresences { get; set; } + /// ///Currency settings for the market. /// - [Description("Currency settings for the market.")] - public MarketCurrencySettingsUpdateInput? currencySettings { get; set; } - + [Description("Currency settings for the market.")] + public MarketCurrencySettingsUpdateInput? currencySettings { get; set; } + /// ///The strategy used to determine how prices are displayed to the customer. /// - [Description("The strategy used to determine how prices are displayed to the customer.")] - public MarketPriceInclusionsInput? priceInclusions { get; set; } - } - + [Description("The strategy used to determine how prices are displayed to the customer.")] + public MarketPriceInclusionsInput? priceInclusions { get; set; } + } + /// ///Return type for `marketCreate` mutation. /// - [Description("Return type for `marketCreate` mutation.")] - public class MarketCreatePayload : GraphQLObject - { + [Description("Return type for `marketCreate` mutation.")] + public class MarketCreatePayload : GraphQLObject + { /// ///The market object. /// - [Description("The market object.")] - public Market? market { get; set; } - + [Description("The market object.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A market's currency settings. /// - [Description("A market's currency settings.")] - public class MarketCurrencySettings : GraphQLObject - { + [Description("A market's currency settings.")] + public class MarketCurrencySettings : GraphQLObject + { /// ///The currency which this market's customers must use if local currencies are disabled. /// - [Description("The currency which this market's customers must use if local currencies are disabled.")] - [NonNull] - public CurrencySetting? baseCurrency { get; set; } - + [Description("The currency which this market's customers must use if local currencies are disabled.")] + [NonNull] + public CurrencySetting? baseCurrency { get; set; } + /// ///Whether or not local currencies are enabled. If enabled, then prices will ///be converted to give each customer the best experience based on their ///region. If disabled, then all customers in this market will see prices ///in the market's base currency. /// - [Description("Whether or not local currencies are enabled. If enabled, then prices will\nbe converted to give each customer the best experience based on their\nregion. If disabled, then all customers in this market will see prices\nin the market's base currency.")] - [NonNull] - public bool? localCurrencies { get; set; } - + [Description("Whether or not local currencies are enabled. If enabled, then prices will\nbe converted to give each customer the best experience based on their\nregion. If disabled, then all customers in this market will see prices\nin the market's base currency.")] + [NonNull] + public bool? localCurrencies { get; set; } + /// ///Whether or not rounding is enabled on multi-currency prices. /// - [Description("Whether or not rounding is enabled on multi-currency prices.")] - [NonNull] - public bool? roundingEnabled { get; set; } - } - + [Description("Whether or not rounding is enabled on multi-currency prices.")] + [NonNull] + public bool? roundingEnabled { get; set; } + } + /// ///The input fields used to update the currency settings of a market. /// - [Description("The input fields used to update the currency settings of a market.")] - public class MarketCurrencySettingsUpdateInput : GraphQLObject - { + [Description("The input fields used to update the currency settings of a market.")] + public class MarketCurrencySettingsUpdateInput : GraphQLObject + { /// ///The currency which this market’s customers must use if local currencies are disabled. /// - [Description("The currency which this market’s customers must use if local currencies are disabled.")] - [EnumType(typeof(CurrencyCode))] - public string? baseCurrency { get; set; } - + [Description("The currency which this market’s customers must use if local currencies are disabled.")] + [EnumType(typeof(CurrencyCode))] + public string? baseCurrency { get; set; } + /// ///The manual exchange rate that will be used to convert shop currency prices. If null, then the automatic exchange rates will be used. /// - [Description("The manual exchange rate that will be used to convert shop currency prices. If null, then the automatic exchange rates will be used.")] - public decimal? baseCurrencyManualRate { get; set; } - + [Description("The manual exchange rate that will be used to convert shop currency prices. If null, then the automatic exchange rates will be used.")] + public decimal? baseCurrencyManualRate { get; set; } + /// ///Whether or not local currencies are enabled. If enabled, then prices will ///be converted to give each customer the best experience based on their ///region. If disabled, then all customers in this market will see prices ///in the market's base currency. /// - [Description("Whether or not local currencies are enabled. If enabled, then prices will\nbe converted to give each customer the best experience based on their\nregion. If disabled, then all customers in this market will see prices\nin the market's base currency.")] - public bool? localCurrencies { get; set; } - + [Description("Whether or not local currencies are enabled. If enabled, then prices will\nbe converted to give each customer the best experience based on their\nregion. If disabled, then all customers in this market will see prices\nin the market's base currency.")] + public bool? localCurrencies { get; set; } + /// ///Whether or not rounding is enabled on multi-currency prices. /// - [Description("Whether or not rounding is enabled on multi-currency prices.")] - public bool? roundingEnabled { get; set; } - } - + [Description("Whether or not rounding is enabled on multi-currency prices.")] + public bool? roundingEnabled { get; set; } + } + /// ///Return type for `marketCurrencySettingsUpdate` mutation. /// - [Description("Return type for `marketCurrencySettingsUpdate` mutation.")] - public class MarketCurrencySettingsUpdatePayload : GraphQLObject - { + [Description("Return type for `marketCurrencySettingsUpdate` mutation.")] + public class MarketCurrencySettingsUpdatePayload : GraphQLObject + { /// ///The market object. /// - [Description("The market object.")] - [Obsolete("Use `marketCreate` and `marketUpdate` mutations instead.")] - public Market? market { get; set; } - + [Description("The market object.")] + [Obsolete("Use `marketCreate` and `marketUpdate` mutations instead.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed market multi-currency operations. /// - [Description("Error codes for failed market multi-currency operations.")] - public class MarketCurrencySettingsUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed market multi-currency operations.")] + public class MarketCurrencySettingsUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MarketCurrencySettingsUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MarketCurrencySettingsUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MarketCurrencySettingsUserError`. /// - [Description("Possible error codes that can be returned by `MarketCurrencySettingsUserError`.")] - public enum MarketCurrencySettingsUserErrorCode - { + [Description("Possible error codes that can be returned by `MarketCurrencySettingsUserError`.")] + public enum MarketCurrencySettingsUserErrorCode + { /// ///The specified market wasn't found. /// - [Description("The specified market wasn't found.")] - MARKET_NOT_FOUND, + [Description("The specified market wasn't found.")] + MARKET_NOT_FOUND, /// ///The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing. /// - [Description("The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing.")] - MANAGED_MARKET, + [Description("The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing.")] + MANAGED_MARKET, /// ///This action is restricted if unified markets is enabled. /// - [Description("This action is restricted if unified markets is enabled.")] - UNIFIED_MARKETS_ENABLED, + [Description("This action is restricted if unified markets is enabled.")] + UNIFIED_MARKETS_ENABLED, /// ///The shop's payment gateway does not support enabling more than one currency. /// - [Description("The shop's payment gateway does not support enabling more than one currency.")] - MULTIPLE_CURRENCIES_NOT_SUPPORTED, + [Description("The shop's payment gateway does not support enabling more than one currency.")] + MULTIPLE_CURRENCIES_NOT_SUPPORTED, /// ///Can't enable or disable local currencies on a single country market. /// - [Description("Can't enable or disable local currencies on a single country market.")] - NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET, + [Description("Can't enable or disable local currencies on a single country market.")] + NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET, /// ///The specified currency is not supported. /// - [Description("The specified currency is not supported.")] - UNSUPPORTED_CURRENCY, + [Description("The specified currency is not supported.")] + UNSUPPORTED_CURRENCY, /// ///The primary market must use the shop currency. /// - [Description("The primary market must use the shop currency.")] - PRIMARY_MARKET_USES_SHOP_CURRENCY, - } - - public static class MarketCurrencySettingsUserErrorCodeStringValues - { - public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; - public const string MANAGED_MARKET = @"MANAGED_MARKET"; - public const string UNIFIED_MARKETS_ENABLED = @"UNIFIED_MARKETS_ENABLED"; - public const string MULTIPLE_CURRENCIES_NOT_SUPPORTED = @"MULTIPLE_CURRENCIES_NOT_SUPPORTED"; - public const string NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET = @"NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET"; - public const string UNSUPPORTED_CURRENCY = @"UNSUPPORTED_CURRENCY"; - public const string PRIMARY_MARKET_USES_SHOP_CURRENCY = @"PRIMARY_MARKET_USES_SHOP_CURRENCY"; - } - + [Description("The primary market must use the shop currency.")] + PRIMARY_MARKET_USES_SHOP_CURRENCY, + } + + public static class MarketCurrencySettingsUserErrorCodeStringValues + { + public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; + public const string MANAGED_MARKET = @"MANAGED_MARKET"; + public const string UNIFIED_MARKETS_ENABLED = @"UNIFIED_MARKETS_ENABLED"; + public const string MULTIPLE_CURRENCIES_NOT_SUPPORTED = @"MULTIPLE_CURRENCIES_NOT_SUPPORTED"; + public const string NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET = @"NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET"; + public const string UNSUPPORTED_CURRENCY = @"UNSUPPORTED_CURRENCY"; + public const string PRIMARY_MARKET_USES_SHOP_CURRENCY = @"PRIMARY_MARKET_USES_SHOP_CURRENCY"; + } + /// ///Return type for `marketDelete` mutation. /// - [Description("Return type for `marketDelete` mutation.")] - public class MarketDeletePayload : GraphQLObject - { + [Description("Return type for `marketDelete` mutation.")] + public class MarketDeletePayload : GraphQLObject + { /// ///The ID of the deleted market. /// - [Description("The ID of the deleted market.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted market.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Market and a cursor during pagination. /// - [Description("An auto-generated type which holds one Market and a cursor during pagination.")] - public class MarketEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Market and a cursor during pagination.")] + public class MarketEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MarketEdge. /// - [Description("The item at the end of MarketEdge.")] - [NonNull] - public Market? node { get; set; } - } - + [Description("The item at the end of MarketEdge.")] + [NonNull] + public Market? node { get; set; } + } + /// ///The market localizable content of a resource's field. /// - [Description("The market localizable content of a resource's field.")] - public class MarketLocalizableContent : GraphQLObject - { + [Description("The market localizable content of a resource's field.")] + public class MarketLocalizableContent : GraphQLObject + { /// ///The hash digest representation of the content value. /// - [Description("The hash digest representation of the content value.")] - public string? digest { get; set; } - + [Description("The hash digest representation of the content value.")] + public string? digest { get; set; } + /// ///The resource field that's being localized. /// - [Description("The resource field that's being localized.")] - [NonNull] - public string? key { get; set; } - + [Description("The resource field that's being localized.")] + [NonNull] + public string? key { get; set; } + /// ///The content value. /// - [Description("The content value.")] - public string? value { get; set; } - } - + [Description("The content value.")] + public string? value { get; set; } + } + /// ///A resource that has market localizable fields. /// - [Description("A resource that has market localizable fields.")] - public class MarketLocalizableResource : GraphQLObject - { + [Description("A resource that has market localizable fields.")] + public class MarketLocalizableResource : GraphQLObject + { /// ///The market localizable content. /// - [Description("The market localizable content.")] - [NonNull] - public IEnumerable? marketLocalizableContent { get; set; } - + [Description("The market localizable content.")] + [NonNull] + public IEnumerable? marketLocalizableContent { get; set; } + /// ///Market localizations for the market localizable content. /// - [Description("Market localizations for the market localizable content.")] - [NonNull] - public IEnumerable? marketLocalizations { get; set; } - + [Description("Market localizations for the market localizable content.")] + [NonNull] + public IEnumerable? marketLocalizations { get; set; } + /// ///The GID of the resource. /// - [Description("The GID of the resource.")] - [NonNull] - public string? resourceId { get; set; } - } - + [Description("The GID of the resource.")] + [NonNull] + public string? resourceId { get; set; } + } + /// ///An auto-generated type for paginating through multiple MarketLocalizableResources. /// - [Description("An auto-generated type for paginating through multiple MarketLocalizableResources.")] - public class MarketLocalizableResourceConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MarketLocalizableResources.")] + public class MarketLocalizableResourceConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MarketLocalizableResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MarketLocalizableResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MarketLocalizableResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one MarketLocalizableResource and a cursor during pagination. /// - [Description("An auto-generated type which holds one MarketLocalizableResource and a cursor during pagination.")] - public class MarketLocalizableResourceEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MarketLocalizableResource and a cursor during pagination.")] + public class MarketLocalizableResourceEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MarketLocalizableResourceEdge. /// - [Description("The item at the end of MarketLocalizableResourceEdge.")] - [NonNull] - public MarketLocalizableResource? node { get; set; } - } - + [Description("The item at the end of MarketLocalizableResourceEdge.")] + [NonNull] + public MarketLocalizableResource? node { get; set; } + } + /// ///The type of resources that are market localizable. /// - [Description("The type of resources that are market localizable.")] - public enum MarketLocalizableResourceType - { + [Description("The type of resources that are market localizable.")] + public enum MarketLocalizableResourceType + { /// ///A metafield. Market localizable fields: `value`. /// - [Description("A metafield. Market localizable fields: `value`.")] - METAFIELD, + [Description("A metafield. Market localizable fields: `value`.")] + METAFIELD, /// ///A Metaobject. Market Localizable fields are determined by the Metaobject type. /// - [Description("A Metaobject. Market Localizable fields are determined by the Metaobject type.")] - METAOBJECT, - } - - public static class MarketLocalizableResourceTypeStringValues - { - public const string METAFIELD = @"METAFIELD"; - public const string METAOBJECT = @"METAOBJECT"; - } - + [Description("A Metaobject. Market Localizable fields are determined by the Metaobject type.")] + METAOBJECT, + } + + public static class MarketLocalizableResourceTypeStringValues + { + public const string METAFIELD = @"METAFIELD"; + public const string METAOBJECT = @"METAOBJECT"; + } + /// ///The market localization of a field within a resource, which is determined by the market ID. /// - [Description("The market localization of a field within a resource, which is determined by the market ID.")] - public class MarketLocalization : GraphQLObject - { + [Description("The market localization of a field within a resource, which is determined by the market ID.")] + public class MarketLocalization : GraphQLObject + { /// ///A reference to the value being localized on the resource that this market localization belongs to. /// - [Description("A reference to the value being localized on the resource that this market localization belongs to.")] - [NonNull] - public string? key { get; set; } - + [Description("A reference to the value being localized on the resource that this market localization belongs to.")] + [NonNull] + public string? key { get; set; } + /// ///The market that the localization is specific to. /// - [Description("The market that the localization is specific to.")] - [NonNull] - public Market? market { get; set; } - + [Description("The market that the localization is specific to.")] + [NonNull] + public Market? market { get; set; } + /// ///Whether the original content has changed since this market localization was updated. /// - [Description("Whether the original content has changed since this market localization was updated.")] - [NonNull] - public bool? outdated { get; set; } - + [Description("Whether the original content has changed since this market localization was updated.")] + [NonNull] + public bool? outdated { get; set; } + /// ///The date and time when the market localization was updated. /// - [Description("The date and time when the market localization was updated.")] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the market localization was updated.")] + public DateTime? updatedAt { get; set; } + /// ///The value of the market localization. /// - [Description("The value of the market localization.")] - public string? value { get; set; } - } - + [Description("The value of the market localization.")] + public string? value { get; set; } + } + /// ///The input fields and values for creating or updating a market localization. /// - [Description("The input fields and values for creating or updating a market localization.")] - public class MarketLocalizationRegisterInput : GraphQLObject - { + [Description("The input fields and values for creating or updating a market localization.")] + public class MarketLocalizationRegisterInput : GraphQLObject + { /// ///The ID of the market that the localization is specific to. /// - [Description("The ID of the market that the localization is specific to.")] - [NonNull] - public string? marketId { get; set; } - + [Description("The ID of the market that the localization is specific to.")] + [NonNull] + public string? marketId { get; set; } + /// ///A reference to the value being localized on the resource that this market localization belongs to. /// - [Description("A reference to the value being localized on the resource that this market localization belongs to.")] - [NonNull] - public string? key { get; set; } - + [Description("A reference to the value being localized on the resource that this market localization belongs to.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the market localization. /// - [Description("The value of the market localization.")] - [NonNull] - public string? value { get; set; } - + [Description("The value of the market localization.")] + [NonNull] + public string? value { get; set; } + /// ///A hash digest representation of the content being localized. /// - [Description("A hash digest representation of the content being localized.")] - [NonNull] - public string? marketLocalizableContentDigest { get; set; } - } - + [Description("A hash digest representation of the content being localized.")] + [NonNull] + public string? marketLocalizableContentDigest { get; set; } + } + /// ///Return type for `marketLocalizationsRegister` mutation. /// - [Description("Return type for `marketLocalizationsRegister` mutation.")] - public class MarketLocalizationsRegisterPayload : GraphQLObject - { + [Description("Return type for `marketLocalizationsRegister` mutation.")] + public class MarketLocalizationsRegisterPayload : GraphQLObject + { /// ///The market localizations that were created or updated. /// - [Description("The market localizations that were created or updated.")] - public IEnumerable? marketLocalizations { get; set; } - + [Description("The market localizations that were created or updated.")] + public IEnumerable? marketLocalizations { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `marketLocalizationsRemove` mutation. /// - [Description("Return type for `marketLocalizationsRemove` mutation.")] - public class MarketLocalizationsRemovePayload : GraphQLObject - { + [Description("Return type for `marketLocalizationsRemove` mutation.")] + public class MarketLocalizationsRemovePayload : GraphQLObject + { /// ///The market localizations that were deleted. /// - [Description("The market localizations that were deleted.")] - public IEnumerable? marketLocalizations { get; set; } - + [Description("The market localizations that were deleted.")] + public IEnumerable? marketLocalizations { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The inclusive pricing strategy for a market. /// - [Description("The inclusive pricing strategy for a market.")] - public class MarketPriceInclusions : GraphQLObject - { + [Description("The inclusive pricing strategy for a market.")] + public class MarketPriceInclusions : GraphQLObject + { /// ///The inclusive duties pricing strategy of the market. This determines if prices include duties. /// - [Description("The inclusive duties pricing strategy of the market. This determines if prices include duties.")] - [NonNull] - [EnumType(typeof(InclusiveDutiesPricingStrategy))] - public string? inclusiveDutiesPricingStrategy { get; set; } - + [Description("The inclusive duties pricing strategy of the market. This determines if prices include duties.")] + [NonNull] + [EnumType(typeof(InclusiveDutiesPricingStrategy))] + public string? inclusiveDutiesPricingStrategy { get; set; } + /// ///The inclusive tax pricing strategy of the market. This determines if prices include taxes. /// - [Description("The inclusive tax pricing strategy of the market. This determines if prices include taxes.")] - [NonNull] - [EnumType(typeof(InclusiveTaxPricingStrategy))] - public string? inclusiveTaxPricingStrategy { get; set; } - + [Description("The inclusive tax pricing strategy of the market. This determines if prices include taxes.")] + [NonNull] + [EnumType(typeof(InclusiveTaxPricingStrategy))] + public string? inclusiveTaxPricingStrategy { get; set; } + /// ///The incoterm configuration of the market. /// - [Description("The incoterm configuration of the market.")] - [NonNull] - [EnumType(typeof(IncotermConfiguration))] - public string? incotermConfiguration { get; set; } - } - + [Description("The incoterm configuration of the market.")] + [NonNull] + [EnumType(typeof(IncotermConfiguration))] + public string? incotermConfiguration { get; set; } + } + /// ///The input fields used to create a price inclusion. /// - [Description("The input fields used to create a price inclusion.")] - public class MarketPriceInclusionsInput : GraphQLObject - { + [Description("The input fields used to create a price inclusion.")] + public class MarketPriceInclusionsInput : GraphQLObject + { /// ///The inclusive tax pricing strategy for the market. /// - [Description("The inclusive tax pricing strategy for the market.")] - [EnumType(typeof(InclusiveTaxPricingStrategy))] - public string? taxPricingStrategy { get; set; } - + [Description("The inclusive tax pricing strategy for the market.")] + [EnumType(typeof(InclusiveTaxPricingStrategy))] + public string? taxPricingStrategy { get; set; } + /// ///The inclusive duties pricing strategy for the market. /// - [Description("The inclusive duties pricing strategy for the market.")] - [EnumType(typeof(InclusiveDutiesPricingStrategy))] - public string? dutiesPricingStrategy { get; set; } - + [Description("The inclusive duties pricing strategy for the market.")] + [EnumType(typeof(InclusiveDutiesPricingStrategy))] + public string? dutiesPricingStrategy { get; set; } + /// ///The incoterm configuration for the market. /// - [Description("The incoterm configuration for the market.")] - [EnumType(typeof(IncotermConfiguration))] - public string? incotermConfiguration { get; set; } - } - + [Description("The incoterm configuration for the market.")] + [EnumType(typeof(IncotermConfiguration))] + public string? incotermConfiguration { get; set; } + } + /// ///A geographic region which comprises a market. /// - [Description("A geographic region which comprises a market.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(MarketRegionCountry), typeDiscriminator: "MarketRegionCountry")] - [JsonDerivedType(typeof(MarketRegionProvince), typeDiscriminator: "MarketRegionProvince")] - public interface IMarketRegion : IGraphQLObject - { - public MarketRegionCountry? AsMarketRegionCountry() => this as MarketRegionCountry; - public MarketRegionProvince? AsMarketRegionProvince() => this as MarketRegionProvince; + [Description("A geographic region which comprises a market.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(MarketRegionCountry), typeDiscriminator: "MarketRegionCountry")] + [JsonDerivedType(typeof(MarketRegionProvince), typeDiscriminator: "MarketRegionProvince")] + public interface IMarketRegion : IGraphQLObject + { + public MarketRegionCountry? AsMarketRegionCountry() => this as MarketRegionCountry; + public MarketRegionProvince? AsMarketRegionProvince() => this as MarketRegionProvince; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + /// ///The name of the region. /// - [Description("The name of the region.")] - [NonNull] - public string? name { get; } - } - + [Description("The name of the region.")] + [NonNull] + public string? name { get; } + } + /// ///An auto-generated type for paginating through multiple MarketRegions. /// - [Description("An auto-generated type for paginating through multiple MarketRegions.")] - public class MarketRegionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MarketRegions.")] + public class MarketRegionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MarketRegionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MarketRegionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MarketRegionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///A country which comprises a market. /// - [Description("A country which comprises a market.")] - public class MarketRegionCountry : GraphQLObject, IMarketRegion, INode - { + [Description("A country which comprises a market.")] + public class MarketRegionCountry : GraphQLObject, IMarketRegion, INode + { /// ///The ISO code identifying the country. /// - [Description("The ISO code identifying the country.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? code { get; set; } - + [Description("The ISO code identifying the country.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? code { get; set; } + /// ///The currency which this country uses given its market settings. /// - [Description("The currency which this country uses given its market settings.")] - [NonNull] - public CurrencySetting? currency { get; set; } - + [Description("The currency which this country uses given its market settings.")] + [NonNull] + public CurrencySetting? currency { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the region. /// - [Description("The name of the region.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the region.")] + [NonNull] + public string? name { get; set; } + } + /// ///The input fields for creating a market region with exactly one required option. /// - [Description("The input fields for creating a market region with exactly one required option.")] - public class MarketRegionCreateInput : GraphQLObject - { + [Description("The input fields for creating a market region with exactly one required option.")] + public class MarketRegionCreateInput : GraphQLObject + { /// ///A country code for the region. /// - [Description("A country code for the region.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - } - + [Description("A country code for the region.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + } + /// ///Return type for `marketRegionDelete` mutation. /// - [Description("Return type for `marketRegionDelete` mutation.")] - public class MarketRegionDeletePayload : GraphQLObject - { + [Description("Return type for `marketRegionDelete` mutation.")] + public class MarketRegionDeletePayload : GraphQLObject + { /// ///The ID of the deleted market region. /// - [Description("The ID of the deleted market region.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted market region.")] + public string? deletedId { get; set; } + /// ///The parent market object of the deleted region. /// - [Description("The parent market object of the deleted region.")] - public Market? market { get; set; } - + [Description("The parent market object of the deleted region.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one MarketRegion and a cursor during pagination. /// - [Description("An auto-generated type which holds one MarketRegion and a cursor during pagination.")] - public class MarketRegionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MarketRegion and a cursor during pagination.")] + public class MarketRegionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MarketRegionEdge. /// - [Description("The item at the end of MarketRegionEdge.")] - [NonNull] - public IMarketRegion? node { get; set; } - } - + [Description("The item at the end of MarketRegionEdge.")] + [NonNull] + public IMarketRegion? node { get; set; } + } + /// ///A province of a country which comprises a market. /// - [Description("A province of a country which comprises a market.")] - public class MarketRegionProvince : GraphQLObject, IMarketRegion, INode - { + [Description("A province of a country which comprises a market.")] + public class MarketRegionProvince : GraphQLObject, IMarketRegion, INode + { /// ///The province or state code. /// - [Description("The province or state code.")] - [NonNull] - public string? code { get; set; } - + [Description("The province or state code.")] + [NonNull] + public string? code { get; set; } + /// ///The country the province belongs to. /// - [Description("The country the province belongs to.")] - [NonNull] - public MarketRegionProvinceCountry? country { get; set; } - + [Description("The country the province belongs to.")] + [NonNull] + public MarketRegionProvinceCountry? country { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the region. /// - [Description("The name of the region.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the region.")] + [NonNull] + public string? name { get; set; } + } + /// ///A country that a province belongs to. /// - [Description("A country that a province belongs to.")] - public class MarketRegionProvinceCountry : GraphQLObject - { + [Description("A country that a province belongs to.")] + public class MarketRegionProvinceCountry : GraphQLObject + { /// ///The ISO code identifying the country. /// - [Description("The ISO code identifying the country.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? code { get; set; } - + [Description("The ISO code identifying the country.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? code { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the country.")] + [NonNull] + public string? name { get; set; } + } + /// ///Return type for `marketRegionsCreate` mutation. /// - [Description("Return type for `marketRegionsCreate` mutation.")] - public class MarketRegionsCreatePayload : GraphQLObject - { + [Description("Return type for `marketRegionsCreate` mutation.")] + public class MarketRegionsCreatePayload : GraphQLObject + { /// ///The market object. /// - [Description("The market object.")] - public Market? market { get; set; } - + [Description("The market object.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `marketRegionsDelete` mutation. /// - [Description("Return type for `marketRegionsDelete` mutation.")] - public class MarketRegionsDeletePayload : GraphQLObject - { + [Description("Return type for `marketRegionsDelete` mutation.")] + public class MarketRegionsDeletePayload : GraphQLObject + { /// ///The ID of the deleted market region. /// - [Description("The ID of the deleted market region.")] - public IEnumerable? deletedIds { get; set; } - + [Description("The ID of the deleted market region.")] + public IEnumerable? deletedIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The possible market statuses. /// - [Description("The possible market statuses.")] - public enum MarketStatus - { + [Description("The possible market statuses.")] + public enum MarketStatus + { /// ///The market is active. /// - [Description("The market is active.")] - ACTIVE, + [Description("The market is active.")] + ACTIVE, /// ///The market is in draft. /// - [Description("The market is in draft.")] - DRAFT, - } - - public static class MarketStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string DRAFT = @"DRAFT"; - } - + [Description("The market is in draft.")] + DRAFT, + } + + public static class MarketStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string DRAFT = @"DRAFT"; + } + /// ///The market types. /// - [Description("The market types.")] - public enum MarketType - { + [Description("The market types.")] + public enum MarketType + { /// ///The market does not apply to any visitor. /// - [Description("The market does not apply to any visitor.")] - NONE, + [Description("The market does not apply to any visitor.")] + NONE, /// ///The market applies to the visitor based on region. /// - [Description("The market applies to the visitor based on region.")] - REGION, + [Description("The market applies to the visitor based on region.")] + REGION, /// ///The market applies to the visitor based on the location. /// - [Description("The market applies to the visitor based on the location.")] - LOCATION, + [Description("The market applies to the visitor based on the location.")] + LOCATION, /// ///The market applies to the visitor based on the company location. /// - [Description("The market applies to the visitor based on the company location.")] - COMPANY_LOCATION, - } - - public static class MarketTypeStringValues - { - public const string NONE = @"NONE"; - public const string REGION = @"REGION"; - public const string LOCATION = @"LOCATION"; - public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; - } - + [Description("The market applies to the visitor based on the company location.")] + COMPANY_LOCATION, + } + + public static class MarketTypeStringValues + { + public const string NONE = @"NONE"; + public const string REGION = @"REGION"; + public const string LOCATION = @"LOCATION"; + public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; + } + /// ///The input fields used to update a market. /// - [Description("The input fields used to update a market.")] - public class MarketUpdateInput : GraphQLObject - { + [Description("The input fields used to update a market.")] + public class MarketUpdateInput : GraphQLObject + { /// ///The name of the market. Not shown to customers. /// - [Description("The name of the market. Not shown to customers.")] - public string? name { get; set; } - + [Description("The name of the market. Not shown to customers.")] + public string? name { get; set; } + /// ///A unique identifier for the market. For example `"ca"`. /// - [Description("A unique identifier for the market. For example `\"ca\"`.")] - public string? handle { get; set; } - + [Description("A unique identifier for the market. For example `\"ca\"`.")] + public string? handle { get; set; } + /// ///Whether the market is enabled to receive visitors and sales. **Note**: Regions in ///inactive markets cannot be selected on the storefront or in checkout. /// - [Description("Whether the market is enabled to receive visitors and sales. **Note**: Regions in\ninactive markets cannot be selected on the storefront or in checkout.")] - [Obsolete("Use `status` instead.")] - public bool? enabled { get; set; } - + [Description("Whether the market is enabled to receive visitors and sales. **Note**: Regions in\ninactive markets cannot be selected on the storefront or in checkout.")] + [Obsolete("Use `status` instead.")] + public bool? enabled { get; set; } + /// ///The conditions to update. /// - [Description("The conditions to update.")] - public MarketConditionsUpdateInput? conditions { get; set; } - + [Description("The conditions to update.")] + public MarketConditionsUpdateInput? conditions { get; set; } + /// ///Catalog IDs to include in the market. /// - [Description("Catalog IDs to include in the market.")] - public IEnumerable? catalogsToAdd { get; set; } - + [Description("Catalog IDs to include in the market.")] + public IEnumerable? catalogsToAdd { get; set; } + /// ///Catalog IDs to remove from the market. /// - [Description("Catalog IDs to remove from the market.")] - public IEnumerable? catalogsToDelete { get; set; } - + [Description("Catalog IDs to remove from the market.")] + public IEnumerable? catalogsToDelete { get; set; } + /// ///The web presences to add to the market. /// - [Description("The web presences to add to the market.")] - public IEnumerable? webPresencesToAdd { get; set; } - + [Description("The web presences to add to the market.")] + public IEnumerable? webPresencesToAdd { get; set; } + /// ///The web presences to remove from the market. /// - [Description("The web presences to remove from the market.")] - public IEnumerable? webPresencesToDelete { get; set; } - + [Description("The web presences to remove from the market.")] + public IEnumerable? webPresencesToDelete { get; set; } + /// ///Whether to update duplicate market's status to draft. /// - [Description("Whether to update duplicate market's status to draft.")] - [Obsolete("Use `makeDuplicateUniqueMarketsDraft` instead.")] - public bool? makeDuplicateRegionMarketsDraft { get; set; } - + [Description("Whether to update duplicate market's status to draft.")] + [Obsolete("Use `makeDuplicateUniqueMarketsDraft` instead.")] + public bool? makeDuplicateRegionMarketsDraft { get; set; } + /// ///Whether to update duplicate region or wildcard markets' status to draft. /// - [Description("Whether to update duplicate region or wildcard markets' status to draft.")] - public bool? makeDuplicateUniqueMarketsDraft { get; set; } - + [Description("Whether to update duplicate region or wildcard markets' status to draft.")] + public bool? makeDuplicateUniqueMarketsDraft { get; set; } + /// ///The status of the market. /// - [Description("The status of the market.")] - [EnumType(typeof(MarketStatus))] - public string? status { get; set; } - + [Description("The status of the market.")] + [EnumType(typeof(MarketStatus))] + public string? status { get; set; } + /// ///Currency settings for the market. /// - [Description("Currency settings for the market.")] - public MarketCurrencySettingsUpdateInput? currencySettings { get; set; } - + [Description("Currency settings for the market.")] + public MarketCurrencySettingsUpdateInput? currencySettings { get; set; } + /// ///Remove any currency settings that are defined for the market. /// - [Description("Remove any currency settings that are defined for the market.")] - public bool? removeCurrencySettings { get; set; } - + [Description("Remove any currency settings that are defined for the market.")] + public bool? removeCurrencySettings { get; set; } + /// ///The price inclusions to remove from the market. /// - [Description("The price inclusions to remove from the market.")] - public bool? removePriceInclusions { get; set; } - + [Description("The price inclusions to remove from the market.")] + public bool? removePriceInclusions { get; set; } + /// ///The strategy used to determine how prices are displayed to the customer. /// - [Description("The strategy used to determine how prices are displayed to the customer.")] - public MarketPriceInclusionsInput? priceInclusions { get; set; } - } - + [Description("The strategy used to determine how prices are displayed to the customer.")] + public MarketPriceInclusionsInput? priceInclusions { get; set; } + } + /// ///Return type for `marketUpdate` mutation. /// - [Description("Return type for `marketUpdate` mutation.")] - public class MarketUpdatePayload : GraphQLObject - { + [Description("Return type for `marketUpdate` mutation.")] + public class MarketUpdatePayload : GraphQLObject + { /// ///The market object. /// - [Description("The market object.")] - public Market? market { get; set; } - + [Description("The market object.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors encountered while managing a Market. /// - [Description("Defines errors encountered while managing a Market.")] - public class MarketUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors encountered while managing a Market.")] + public class MarketUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MarketUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MarketUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MarketUserError`. /// - [Description("Possible error codes that can be returned by `MarketUserError`.")] - public enum MarketUserErrorCode - { + [Description("Possible error codes that can be returned by `MarketUserError`.")] + public enum MarketUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The market wasn't found. /// - [Description("The market wasn't found.")] - MARKET_NOT_FOUND, + [Description("The market wasn't found.")] + MARKET_NOT_FOUND, /// ///The market region wasn't found. /// - [Description("The market region wasn't found.")] - REGION_NOT_FOUND, + [Description("The market region wasn't found.")] + REGION_NOT_FOUND, /// ///The province doesn't exist. /// - [Description("The province doesn't exist.")] - PROVINCE_DOES_NOT_EXIST, + [Description("The province doesn't exist.")] + PROVINCE_DOES_NOT_EXIST, /// ///The market web presence wasn't found. /// - [Description("The market web presence wasn't found.")] - WEB_PRESENCE_NOT_FOUND, + [Description("The market web presence wasn't found.")] + WEB_PRESENCE_NOT_FOUND, /// ///Can't add regions to the primary market. /// - [Description("Can't add regions to the primary market.")] - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET, + [Description("Can't add regions to the primary market.")] + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET, /// ///Can't delete the only region in a market. /// - [Description("Can't delete the only region in a market.")] - CANNOT_DELETE_ONLY_REGION, + [Description("Can't delete the only region in a market.")] + CANNOT_DELETE_ONLY_REGION, /// ///Exactly one input option is required. /// - [Description("Exactly one input option is required.")] - [Obsolete("No longer used")] - REQUIRES_EXACTLY_ONE_OPTION, + [Description("Exactly one input option is required.")] + [Obsolete("No longer used")] + REQUIRES_EXACTLY_ONE_OPTION, /// ///Can't delete the primary market. /// - [Description("Can't delete the primary market.")] - CANNOT_DELETE_PRIMARY_MARKET, + [Description("Can't delete the primary market.")] + CANNOT_DELETE_PRIMARY_MARKET, /// ///Can't delete the last province-driven market. /// - [Description("Can't delete the last province-driven market.")] - CANNOT_DELETE_PROVINCE_MARKET, + [Description("Can't delete the last province-driven market.")] + CANNOT_DELETE_PROVINCE_MARKET, /// ///Exceeds max multi-context markets. /// - [Description("Exceeds max multi-context markets.")] - EXCEEDS_MAX_MULTI_CONTEXT_MARKETS, + [Description("Exceeds max multi-context markets.")] + EXCEEDS_MAX_MULTI_CONTEXT_MARKETS, /// ///Domain was not found. /// - [Description("Domain was not found.")] - DOMAIN_NOT_FOUND, + [Description("Domain was not found.")] + DOMAIN_NOT_FOUND, /// ///The subfolder suffix must contain only letters. /// - [Description("The subfolder suffix must contain only letters.")] - [Obsolete("No longer used")] - SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS, + [Description("The subfolder suffix must contain only letters.")] + [Obsolete("No longer used")] + SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS, /// ///The subfolder suffix must be at least 2 letters. /// - [Description("The subfolder suffix must be at least 2 letters.")] - SUBFOLDER_SUFFIX_MUST_BE_AT_LEAST_2_LETTERS, + [Description("The subfolder suffix must be at least 2 letters.")] + SUBFOLDER_SUFFIX_MUST_BE_AT_LEAST_2_LETTERS, /// ///The subfolder suffix is invalid, please provide a different value. /// - [Description("The subfolder suffix is invalid, please provide a different value.")] - SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE, + [Description("The subfolder suffix is invalid, please provide a different value.")] + SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE, /// ///No languages selected. /// - [Description("No languages selected.")] - NO_LANGUAGES, + [Description("No languages selected.")] + NO_LANGUAGES, /// ///Can't enable or disable local currencies on a single country market. /// - [Description("Can't enable or disable local currencies on a single country market.")] - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET, + [Description("Can't enable or disable local currencies on a single country market.")] + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET, /// ///Rounding is not supported if unified markets are not enabled. /// - [Description("Rounding is not supported if unified markets are not enabled.")] - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - NO_ROUNDING_ON_LEGACY_MARKET, + [Description("Rounding is not supported if unified markets are not enabled.")] + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + NO_ROUNDING_ON_LEGACY_MARKET, /// ///Duplicates found in languages. /// - [Description("Duplicates found in languages.")] - DUPLICATE_LANGUAGES, + [Description("Duplicates found in languages.")] + DUPLICATE_LANGUAGES, /// ///Duplicate region market. /// - [Description("Duplicate region market.")] - DUPLICATE_REGION_MARKET, + [Description("Duplicate region market.")] + DUPLICATE_REGION_MARKET, /// ///Duplicate unique market. /// - [Description("Duplicate unique market.")] - DUPLICATE_UNIQUE_MARKET, + [Description("Duplicate unique market.")] + DUPLICATE_UNIQUE_MARKET, /// ///Cannot add region-specific language. /// - [Description("Cannot add region-specific language.")] - REGION_SPECIFIC_LANGUAGE, + [Description("Cannot add region-specific language.")] + REGION_SPECIFIC_LANGUAGE, /// ///Can't pass both `subfolderSuffix` and `domainId`. /// - [Description("Can't pass both `subfolderSuffix` and `domainId`.")] - CANNOT_HAVE_SUBFOLDER_AND_DOMAIN, + [Description("Can't pass both `subfolderSuffix` and `domainId`.")] + CANNOT_HAVE_SUBFOLDER_AND_DOMAIN, /// ///Can't add the web presence to the primary market. /// - [Description("Can't add the web presence to the primary market.")] - [Obsolete("No longer used")] - CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET, + [Description("Can't add the web presence to the primary market.")] + [Obsolete("No longer used")] + CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET, /// ///Can't add another web presence to the market. /// - [Description("Can't add another web presence to the market.")] - MARKET_REACHED_WEB_PRESENCE_LIMIT, + [Description("Can't add another web presence to the market.")] + MARKET_REACHED_WEB_PRESENCE_LIMIT, /// ///Market and condition types are not compatible with each other. /// - [Description("Market and condition types are not compatible with each other.")] - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - MARKET_NOT_COMPATIBLE_WITH_CONDITION_TYPES, + [Description("Market and condition types are not compatible with each other.")] + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + MARKET_NOT_COMPATIBLE_WITH_CONDITION_TYPES, /// ///The province code is missing. /// - [Description("The province code is missing.")] - MISSING_PROVINCE_CODE, + [Description("The province code is missing.")] + MISSING_PROVINCE_CODE, /// ///Can't have multiple subfolder web presences per market. /// - [Description("Can't have multiple subfolder web presences per market.")] - CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET, + [Description("Can't have multiple subfolder web presences per market.")] + CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET, /// ///Can't have both subfolder and domain web presences. /// - [Description("Can't have both subfolder and domain web presences.")] - CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES, + [Description("Can't have both subfolder and domain web presences.")] + CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES, /// ///One of `subfolderSuffix` or `domainId` is required. /// - [Description("One of `subfolderSuffix` or `domainId` is required.")] - REQUIRES_DOMAIN_OR_SUBFOLDER, + [Description("One of `subfolderSuffix` or `domainId` is required.")] + REQUIRES_DOMAIN_OR_SUBFOLDER, /// ///The primary market must use the primary domain. /// - [Description("The primary market must use the primary domain.")] - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN, + [Description("The primary market must use the primary domain.")] + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN, /// ///Can't delete the primary market's web presence. /// - [Description("Can't delete the primary market's web presence.")] - [Obsolete("No longer used")] - CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE, + [Description("Can't delete the primary market's web presence.")] + [Obsolete("No longer used")] + CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE, /// ///Can't have more than 50 markets. /// - [Description("Can't have more than 50 markets.")] - [Obsolete("No longer used")] - SHOP_REACHED_MARKETS_LIMIT, + [Description("Can't have more than 50 markets.")] + [Obsolete("No longer used")] + SHOP_REACHED_MARKETS_LIMIT, /// ///Can't disable the primary market. /// - [Description("Can't disable the primary market.")] - CANNOT_DISABLE_PRIMARY_MARKET, + [Description("Can't disable the primary market.")] + CANNOT_DISABLE_PRIMARY_MARKET, /// ///The language isn't published to the store. /// - [Description("The language isn't published to the store.")] - UNPUBLISHED_LANGUAGE, + [Description("The language isn't published to the store.")] + UNPUBLISHED_LANGUAGE, /// ///The language isn't enabled on the store. /// - [Description("The language isn't enabled on the store.")] - DISABLED_LANGUAGE, + [Description("The language isn't enabled on the store.")] + DISABLED_LANGUAGE, /// ///Can't set default locale to null. /// - [Description("Can't set default locale to null.")] - CANNOT_SET_DEFAULT_LOCALE_TO_NULL, + [Description("Can't set default locale to null.")] + CANNOT_SET_DEFAULT_LOCALE_TO_NULL, /// ///Can't add unsupported country or region. /// - [Description("Can't add unsupported country or region.")] - UNSUPPORTED_COUNTRY_REGION, + [Description("Can't add unsupported country or region.")] + UNSUPPORTED_COUNTRY_REGION, /// ///Can't add customer account domain to a market. /// - [Description("Can't add customer account domain to a market.")] - CANNOT_ADD_CUSTOMER_DOMAIN, + [Description("Can't add customer account domain to a market.")] + CANNOT_ADD_CUSTOMER_DOMAIN, /// ///An error occurred. See the message for details. /// - [Description("An error occurred. See the message for details.")] - GENERIC_ERROR, + [Description("An error occurred. See the message for details.")] + GENERIC_ERROR, /// ///Invalid combination of status and enabled. /// - [Description("Invalid combination of status and enabled.")] - INVALID_STATUS_AND_ENABLED_COMBINATION, + [Description("Invalid combination of status and enabled.")] + INVALID_STATUS_AND_ENABLED_COMBINATION, /// ///The province format is invalid. /// - [Description("The province format is invalid.")] - INVALID_PROVINCE_FORMAT, + [Description("The province format is invalid.")] + INVALID_PROVINCE_FORMAT, /// ///One or more condition IDs were not found. /// - [Description("One or more condition IDs were not found.")] - CONDITIONS_NOT_FOUND, + [Description("One or more condition IDs were not found.")] + CONDITIONS_NOT_FOUND, /// ///Specified conditions cannot be empty. /// - [Description("Specified conditions cannot be empty.")] - SPECIFIED_CONDITIONS_CANNOT_BE_EMPTY, + [Description("Specified conditions cannot be empty.")] + SPECIFIED_CONDITIONS_CANNOT_BE_EMPTY, /// ///One or more customizations were not found. /// - [Description("One or more customizations were not found.")] - CUSTOMIZATIONS_NOT_FOUND, + [Description("One or more customizations were not found.")] + CUSTOMIZATIONS_NOT_FOUND, /// ///Matching ALL or NONE isn't supported for this driver type. /// - [Description("Matching ALL or NONE isn't supported for this driver type.")] - WILDCARD_NOT_SUPPORTED, + [Description("Matching ALL or NONE isn't supported for this driver type.")] + WILDCARD_NOT_SUPPORTED, /// ///With an ID list in input, SPECIFIED is not needed. /// - [Description("With an ID list in input, SPECIFIED is not needed.")] - SPECIFIED_NOT_VALID_FOR_INPUT, + [Description("With an ID list in input, SPECIFIED is not needed.")] + SPECIFIED_NOT_VALID_FOR_INPUT, /// ///Web presences and condition types are not compatible with each other. /// - [Description("Web presences and condition types are not compatible with each other.")] - WEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPES, + [Description("Web presences and condition types are not compatible with each other.")] + WEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPES, /// ///Catalogs and condition types are not compatible with each other. /// - [Description("Catalogs and condition types are not compatible with each other.")] - CATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPES, + [Description("Catalogs and condition types are not compatible with each other.")] + CATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPES, /// ///A market can only have market catalogs. /// - [Description("A market can only have market catalogs.")] - CATALOG_TYPE_NOT_SUPPORTED, + [Description("A market can only have market catalogs.")] + CATALOG_TYPE_NOT_SUPPORTED, /// ///Inclusive pricing cannot be added to a market with the specified condition types. /// - [Description("Inclusive pricing cannot be added to a market with the specified condition types.")] - INCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPES, + [Description("Inclusive pricing cannot be added to a market with the specified condition types.")] + INCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPES, /// ///The specified conditions are not compatible with each other. /// - [Description("The specified conditions are not compatible with each other.")] - INCOMPATIBLE_CONDITIONS, + [Description("The specified conditions are not compatible with each other.")] + INCOMPATIBLE_CONDITIONS, /// ///The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing. /// - [Description("The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing.")] - MANAGED_MARKET, + [Description("The currency settings of the given market cannot be changed because the market manager has exclusive control of pricing.")] + MANAGED_MARKET, /// ///The shop's payment gateway does not support enabling more than one currency. /// - [Description("The shop's payment gateway does not support enabling more than one currency.")] - MULTIPLE_CURRENCIES_NOT_SUPPORTED, + [Description("The shop's payment gateway does not support enabling more than one currency.")] + MULTIPLE_CURRENCIES_NOT_SUPPORTED, /// ///The specified currency is not supported. /// - [Description("The specified currency is not supported.")] - UNSUPPORTED_CURRENCY, + [Description("The specified currency is not supported.")] + UNSUPPORTED_CURRENCY, /// ///The shop must have a web presence that uses the primary domain. /// - [Description("The shop must have a web presence that uses the primary domain.")] - SHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCE, + [Description("The shop must have a web presence that uses the primary domain.")] + SHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCE, /// ///Can’t delete, disable, or change the type of the last region market. /// - [Description("Can’t delete, disable, or change the type of the last region market.")] - MUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKET, + [Description("Can’t delete, disable, or change the type of the last region market.")] + MUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKET, /// ///The user doesn't have permission access to create or edit markets. /// - [Description("The user doesn't have permission access to create or edit markets.")] - USER_LACKS_PERMISSION, + [Description("The user doesn't have permission access to create or edit markets.")] + USER_LACKS_PERMISSION, /// ///Contains regions that cannot be managed. /// - [Description("Contains regions that cannot be managed.")] - CONTAINS_REGIONS_THAT_CANNOT_BE_MANAGED, + [Description("Contains regions that cannot be managed.")] + CONTAINS_REGIONS_THAT_CANNOT_BE_MANAGED, /// ///Unified markets are not enabled. /// - [Description("Unified markets are not enabled.")] - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - UNIFIED_MARKETS_NOT_ENABLED, + [Description("Unified markets are not enabled.")] + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + UNIFIED_MARKETS_NOT_ENABLED, /// ///Can't add web presence to the another market. /// - [Description("Can't add web presence to the another market.")] - WEB_PRESENCE_REACHED_MARKETS_LIMIT, + [Description("Can't add web presence to the another market.")] + WEB_PRESENCE_REACHED_MARKETS_LIMIT, /// ///A web presence cannot be added to a market with type retail location. /// - [Description("A web presence cannot be added to a market with type retail location.")] - [Obsolete("No longer used")] - WEB_PRESENCE_RETAIL_LOCATION, + [Description("A web presence cannot be added to a market with type retail location.")] + [Obsolete("No longer used")] + WEB_PRESENCE_RETAIL_LOCATION, /// ///Catalog condition types must be the same for all conditions on a catalog. /// - [Description("Catalog condition types must be the same for all conditions on a catalog.")] - CATALOG_CONDITION_TYPES_MUST_BE_THE_SAME, + [Description("Catalog condition types must be the same for all conditions on a catalog.")] + CATALOG_CONDITION_TYPES_MUST_BE_THE_SAME, /// ///A direct connection catalog can't be attached to a market. /// - [Description("A direct connection catalog can't be attached to a market.")] - MARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOG, + [Description("A direct connection catalog can't be attached to a market.")] + MARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOG, /// ///Your shop is not entitled to activate markets of this type. /// - [Description("Your shop is not entitled to activate markets of this type.")] - NOT_ENTITLED_TO_ACTIVATE_MARKET, + [Description("Your shop is not entitled to activate markets of this type.")] + NOT_ENTITLED_TO_ACTIVATE_MARKET, /// ///B2B markets must be merchant managed. /// - [Description("B2B markets must be merchant managed.")] - B2B_MARKET_MUST_BE_MERCHANT_MANAGED, + [Description("B2B markets must be merchant managed.")] + B2B_MARKET_MUST_BE_MERCHANT_MANAGED, /// ///POS location markets must be merchant managed. /// - [Description("POS location markets must be merchant managed.")] - POS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGED, + [Description("POS location markets must be merchant managed.")] + POS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGED, /// ///Catalogs created by Managed Markets cannot be added to a market. /// - [Description("Catalogs created by Managed Markets cannot be added to a market.")] - MANAGED_MARKETS_CATALOG_NOT_ALLOWED, + [Description("Catalogs created by Managed Markets cannot be added to a market.")] + MANAGED_MARKETS_CATALOG_NOT_ALLOWED, /// ///Retail location currency must be local. /// - [Description("Retail location currency must be local.")] - RETAIL_LOCATION_CURRENCY_MUST_BE_LOCAL, + [Description("Retail location currency must be local.")] + RETAIL_LOCATION_CURRENCY_MUST_BE_LOCAL, /// ///Catalogs with volume pricing or quantity rules are not supported for the specified condition types. /// - [Description("Catalogs with volume pricing or quantity rules are not supported for the specified condition types.")] - CATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTED, + [Description("Catalogs with volume pricing or quantity rules are not supported for the specified condition types.")] + CATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTED, /// ///All retail locations in a market must be in the same country. /// - [Description("All retail locations in a market must be in the same country.")] - MIXED_COUNTRY_LOCATIONS_NOT_ALLOWED, + [Description("All retail locations in a market must be in the same country.")] + MIXED_COUNTRY_LOCATIONS_NOT_ALLOWED, /// ///Location match all is only valid with one non-match all region. /// - [Description("Location match all is only valid with one non-match all region.")] - LOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGION, + [Description("Location match all is only valid with one non-match all region.")] + LOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGION, /// ///A location's country does not match the region's country. /// - [Description("A location's country does not match the region's country.")] - LOCATION_REGION_COUNTRY_MISMATCH, + [Description("A location's country does not match the region's country.")] + LOCATION_REGION_COUNTRY_MISMATCH, /// ///Managing this catalog is not supported by your plan. /// - [Description("Managing this catalog is not supported by your plan.")] - UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS, + [Description("Managing this catalog is not supported by your plan.")] + UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS, /// ///A country driver and a province driver belonging to the same country cannot be added to the same market. /// - [Description("A country driver and a province driver belonging to the same country cannot be added to the same market.")] - INVALID_COUNTRY_AND_PROVINCE_DRIVERS, + [Description("A country driver and a province driver belonging to the same country cannot be added to the same market.")] + INVALID_COUNTRY_AND_PROVINCE_DRIVERS, /// ///The selected province does not belong to the selected country. /// - [Description("The selected province does not belong to the selected country.")] - PROVINCE_MUST_BELONG_TO_COUNTRY, + [Description("The selected province does not belong to the selected country.")] + PROVINCE_MUST_BELONG_TO_COUNTRY, /// ///Can't add all provinces for a country to a market. /// - [Description("Can't add all provinces for a country to a market.")] - CANNOT_ADD_ALL_PROVINCES_FOR_A_COUNTRY_TO_A_MARKET, + [Description("Can't add all provinces for a country to a market.")] + CANNOT_ADD_ALL_PROVINCES_FOR_A_COUNTRY_TO_A_MARKET, /// ///Can't add selected responders to a province driven market. /// - [Description("Can't add selected responders to a province driven market.")] - [Obsolete("No longer used")] - INVALID_RESPONDER_FOR_PROVINCE_DRIVEN_MARKET, + [Description("Can't add selected responders to a province driven market.")] + [Obsolete("No longer used")] + INVALID_RESPONDER_FOR_PROVINCE_DRIVEN_MARKET, /// ///Can't add selected customizations to a market with a province condition. /// - [Description("Can't add selected customizations to a market with a province condition.")] - INVALID_CUSTOMIZATION_FOR_PROVINCE_CONDITION, - } - - public static class MarketUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string BLANK = @"BLANK"; - public const string INCLUSION = @"INCLUSION"; - public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; - public const string REGION_NOT_FOUND = @"REGION_NOT_FOUND"; - public const string PROVINCE_DOES_NOT_EXIST = @"PROVINCE_DOES_NOT_EXIST"; - public const string WEB_PRESENCE_NOT_FOUND = @"WEB_PRESENCE_NOT_FOUND"; - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - public const string CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET = @"CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET"; - public const string CANNOT_DELETE_ONLY_REGION = @"CANNOT_DELETE_ONLY_REGION"; - [Obsolete("No longer used")] - public const string REQUIRES_EXACTLY_ONE_OPTION = @"REQUIRES_EXACTLY_ONE_OPTION"; - public const string CANNOT_DELETE_PRIMARY_MARKET = @"CANNOT_DELETE_PRIMARY_MARKET"; - public const string CANNOT_DELETE_PROVINCE_MARKET = @"CANNOT_DELETE_PROVINCE_MARKET"; - public const string EXCEEDS_MAX_MULTI_CONTEXT_MARKETS = @"EXCEEDS_MAX_MULTI_CONTEXT_MARKETS"; - public const string DOMAIN_NOT_FOUND = @"DOMAIN_NOT_FOUND"; - [Obsolete("No longer used")] - public const string SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS = @"SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS"; - public const string SUBFOLDER_SUFFIX_MUST_BE_AT_LEAST_2_LETTERS = @"SUBFOLDER_SUFFIX_MUST_BE_AT_LEAST_2_LETTERS"; - public const string SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE = @"SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE"; - public const string NO_LANGUAGES = @"NO_LANGUAGES"; - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - public const string NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET = @"NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET"; - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - public const string NO_ROUNDING_ON_LEGACY_MARKET = @"NO_ROUNDING_ON_LEGACY_MARKET"; - public const string DUPLICATE_LANGUAGES = @"DUPLICATE_LANGUAGES"; - public const string DUPLICATE_REGION_MARKET = @"DUPLICATE_REGION_MARKET"; - public const string DUPLICATE_UNIQUE_MARKET = @"DUPLICATE_UNIQUE_MARKET"; - public const string REGION_SPECIFIC_LANGUAGE = @"REGION_SPECIFIC_LANGUAGE"; - public const string CANNOT_HAVE_SUBFOLDER_AND_DOMAIN = @"CANNOT_HAVE_SUBFOLDER_AND_DOMAIN"; - [Obsolete("No longer used")] - public const string CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET = @"CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET"; - public const string MARKET_REACHED_WEB_PRESENCE_LIMIT = @"MARKET_REACHED_WEB_PRESENCE_LIMIT"; - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - public const string MARKET_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"MARKET_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; - public const string MISSING_PROVINCE_CODE = @"MISSING_PROVINCE_CODE"; - public const string CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET = @"CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET"; - public const string CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES = @"CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES"; - public const string REQUIRES_DOMAIN_OR_SUBFOLDER = @"REQUIRES_DOMAIN_OR_SUBFOLDER"; - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - public const string PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN = @"PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN"; - [Obsolete("No longer used")] - public const string CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE = @"CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE"; - [Obsolete("No longer used")] - public const string SHOP_REACHED_MARKETS_LIMIT = @"SHOP_REACHED_MARKETS_LIMIT"; - public const string CANNOT_DISABLE_PRIMARY_MARKET = @"CANNOT_DISABLE_PRIMARY_MARKET"; - public const string UNPUBLISHED_LANGUAGE = @"UNPUBLISHED_LANGUAGE"; - public const string DISABLED_LANGUAGE = @"DISABLED_LANGUAGE"; - public const string CANNOT_SET_DEFAULT_LOCALE_TO_NULL = @"CANNOT_SET_DEFAULT_LOCALE_TO_NULL"; - public const string UNSUPPORTED_COUNTRY_REGION = @"UNSUPPORTED_COUNTRY_REGION"; - public const string CANNOT_ADD_CUSTOMER_DOMAIN = @"CANNOT_ADD_CUSTOMER_DOMAIN"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string INVALID_STATUS_AND_ENABLED_COMBINATION = @"INVALID_STATUS_AND_ENABLED_COMBINATION"; - public const string INVALID_PROVINCE_FORMAT = @"INVALID_PROVINCE_FORMAT"; - public const string CONDITIONS_NOT_FOUND = @"CONDITIONS_NOT_FOUND"; - public const string SPECIFIED_CONDITIONS_CANNOT_BE_EMPTY = @"SPECIFIED_CONDITIONS_CANNOT_BE_EMPTY"; - public const string CUSTOMIZATIONS_NOT_FOUND = @"CUSTOMIZATIONS_NOT_FOUND"; - public const string WILDCARD_NOT_SUPPORTED = @"WILDCARD_NOT_SUPPORTED"; - public const string SPECIFIED_NOT_VALID_FOR_INPUT = @"SPECIFIED_NOT_VALID_FOR_INPUT"; - public const string WEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"WEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; - public const string CATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"CATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; - public const string CATALOG_TYPE_NOT_SUPPORTED = @"CATALOG_TYPE_NOT_SUPPORTED"; - public const string INCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"INCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; - public const string INCOMPATIBLE_CONDITIONS = @"INCOMPATIBLE_CONDITIONS"; - public const string MANAGED_MARKET = @"MANAGED_MARKET"; - public const string MULTIPLE_CURRENCIES_NOT_SUPPORTED = @"MULTIPLE_CURRENCIES_NOT_SUPPORTED"; - public const string UNSUPPORTED_CURRENCY = @"UNSUPPORTED_CURRENCY"; - public const string SHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCE = @"SHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCE"; - public const string MUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKET = @"MUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKET"; - public const string USER_LACKS_PERMISSION = @"USER_LACKS_PERMISSION"; - public const string CONTAINS_REGIONS_THAT_CANNOT_BE_MANAGED = @"CONTAINS_REGIONS_THAT_CANNOT_BE_MANAGED"; - [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] - public const string UNIFIED_MARKETS_NOT_ENABLED = @"UNIFIED_MARKETS_NOT_ENABLED"; - public const string WEB_PRESENCE_REACHED_MARKETS_LIMIT = @"WEB_PRESENCE_REACHED_MARKETS_LIMIT"; - [Obsolete("No longer used")] - public const string WEB_PRESENCE_RETAIL_LOCATION = @"WEB_PRESENCE_RETAIL_LOCATION"; - public const string CATALOG_CONDITION_TYPES_MUST_BE_THE_SAME = @"CATALOG_CONDITION_TYPES_MUST_BE_THE_SAME"; - public const string MARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOG = @"MARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOG"; - public const string NOT_ENTITLED_TO_ACTIVATE_MARKET = @"NOT_ENTITLED_TO_ACTIVATE_MARKET"; - public const string B2B_MARKET_MUST_BE_MERCHANT_MANAGED = @"B2B_MARKET_MUST_BE_MERCHANT_MANAGED"; - public const string POS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGED = @"POS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGED"; - public const string MANAGED_MARKETS_CATALOG_NOT_ALLOWED = @"MANAGED_MARKETS_CATALOG_NOT_ALLOWED"; - public const string RETAIL_LOCATION_CURRENCY_MUST_BE_LOCAL = @"RETAIL_LOCATION_CURRENCY_MUST_BE_LOCAL"; - public const string CATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTED = @"CATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTED"; - public const string MIXED_COUNTRY_LOCATIONS_NOT_ALLOWED = @"MIXED_COUNTRY_LOCATIONS_NOT_ALLOWED"; - public const string LOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGION = @"LOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGION"; - public const string LOCATION_REGION_COUNTRY_MISMATCH = @"LOCATION_REGION_COUNTRY_MISMATCH"; - public const string UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS = @"UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS"; - public const string INVALID_COUNTRY_AND_PROVINCE_DRIVERS = @"INVALID_COUNTRY_AND_PROVINCE_DRIVERS"; - public const string PROVINCE_MUST_BELONG_TO_COUNTRY = @"PROVINCE_MUST_BELONG_TO_COUNTRY"; - public const string CANNOT_ADD_ALL_PROVINCES_FOR_A_COUNTRY_TO_A_MARKET = @"CANNOT_ADD_ALL_PROVINCES_FOR_A_COUNTRY_TO_A_MARKET"; - [Obsolete("No longer used")] - public const string INVALID_RESPONDER_FOR_PROVINCE_DRIVEN_MARKET = @"INVALID_RESPONDER_FOR_PROVINCE_DRIVEN_MARKET"; - public const string INVALID_CUSTOMIZATION_FOR_PROVINCE_CONDITION = @"INVALID_CUSTOMIZATION_FOR_PROVINCE_CONDITION"; - } - + [Description("Can't add selected customizations to a market with a province condition.")] + INVALID_CUSTOMIZATION_FOR_PROVINCE_CONDITION, + } + + public static class MarketUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string BLANK = @"BLANK"; + public const string INCLUSION = @"INCLUSION"; + public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; + public const string REGION_NOT_FOUND = @"REGION_NOT_FOUND"; + public const string PROVINCE_DOES_NOT_EXIST = @"PROVINCE_DOES_NOT_EXIST"; + public const string WEB_PRESENCE_NOT_FOUND = @"WEB_PRESENCE_NOT_FOUND"; + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + public const string CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET = @"CANNOT_ADD_REGIONS_TO_PRIMARY_MARKET"; + public const string CANNOT_DELETE_ONLY_REGION = @"CANNOT_DELETE_ONLY_REGION"; + [Obsolete("No longer used")] + public const string REQUIRES_EXACTLY_ONE_OPTION = @"REQUIRES_EXACTLY_ONE_OPTION"; + public const string CANNOT_DELETE_PRIMARY_MARKET = @"CANNOT_DELETE_PRIMARY_MARKET"; + public const string CANNOT_DELETE_PROVINCE_MARKET = @"CANNOT_DELETE_PROVINCE_MARKET"; + public const string EXCEEDS_MAX_MULTI_CONTEXT_MARKETS = @"EXCEEDS_MAX_MULTI_CONTEXT_MARKETS"; + public const string DOMAIN_NOT_FOUND = @"DOMAIN_NOT_FOUND"; + [Obsolete("No longer used")] + public const string SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS = @"SUBFOLDER_SUFFIX_MUST_CONTAIN_ONLY_LETTERS"; + public const string SUBFOLDER_SUFFIX_MUST_BE_AT_LEAST_2_LETTERS = @"SUBFOLDER_SUFFIX_MUST_BE_AT_LEAST_2_LETTERS"; + public const string SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE = @"SUBFOLDER_SUFFIX_CANNOT_BE_SCRIPT_CODE"; + public const string NO_LANGUAGES = @"NO_LANGUAGES"; + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + public const string NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET = @"NO_LOCAL_CURRENCIES_ON_SINGLE_COUNTRY_MARKET"; + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + public const string NO_ROUNDING_ON_LEGACY_MARKET = @"NO_ROUNDING_ON_LEGACY_MARKET"; + public const string DUPLICATE_LANGUAGES = @"DUPLICATE_LANGUAGES"; + public const string DUPLICATE_REGION_MARKET = @"DUPLICATE_REGION_MARKET"; + public const string DUPLICATE_UNIQUE_MARKET = @"DUPLICATE_UNIQUE_MARKET"; + public const string REGION_SPECIFIC_LANGUAGE = @"REGION_SPECIFIC_LANGUAGE"; + public const string CANNOT_HAVE_SUBFOLDER_AND_DOMAIN = @"CANNOT_HAVE_SUBFOLDER_AND_DOMAIN"; + [Obsolete("No longer used")] + public const string CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET = @"CANNOT_ADD_WEB_PRESENCE_TO_PRIMARY_MARKET"; + public const string MARKET_REACHED_WEB_PRESENCE_LIMIT = @"MARKET_REACHED_WEB_PRESENCE_LIMIT"; + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + public const string MARKET_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"MARKET_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; + public const string MISSING_PROVINCE_CODE = @"MISSING_PROVINCE_CODE"; + public const string CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET = @"CANNOT_HAVE_MULTIPLE_SUBFOLDERS_PER_MARKET"; + public const string CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES = @"CANNOT_HAVE_BOTH_SUBFOLDER_AND_DOMAIN_WEB_PRESENCES"; + public const string REQUIRES_DOMAIN_OR_SUBFOLDER = @"REQUIRES_DOMAIN_OR_SUBFOLDER"; + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + public const string PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN = @"PRIMARY_MARKET_MUST_USE_PRIMARY_DOMAIN"; + [Obsolete("No longer used")] + public const string CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE = @"CANNOT_DELETE_PRIMARY_MARKET_WEB_PRESENCE"; + [Obsolete("No longer used")] + public const string SHOP_REACHED_MARKETS_LIMIT = @"SHOP_REACHED_MARKETS_LIMIT"; + public const string CANNOT_DISABLE_PRIMARY_MARKET = @"CANNOT_DISABLE_PRIMARY_MARKET"; + public const string UNPUBLISHED_LANGUAGE = @"UNPUBLISHED_LANGUAGE"; + public const string DISABLED_LANGUAGE = @"DISABLED_LANGUAGE"; + public const string CANNOT_SET_DEFAULT_LOCALE_TO_NULL = @"CANNOT_SET_DEFAULT_LOCALE_TO_NULL"; + public const string UNSUPPORTED_COUNTRY_REGION = @"UNSUPPORTED_COUNTRY_REGION"; + public const string CANNOT_ADD_CUSTOMER_DOMAIN = @"CANNOT_ADD_CUSTOMER_DOMAIN"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string INVALID_STATUS_AND_ENABLED_COMBINATION = @"INVALID_STATUS_AND_ENABLED_COMBINATION"; + public const string INVALID_PROVINCE_FORMAT = @"INVALID_PROVINCE_FORMAT"; + public const string CONDITIONS_NOT_FOUND = @"CONDITIONS_NOT_FOUND"; + public const string SPECIFIED_CONDITIONS_CANNOT_BE_EMPTY = @"SPECIFIED_CONDITIONS_CANNOT_BE_EMPTY"; + public const string CUSTOMIZATIONS_NOT_FOUND = @"CUSTOMIZATIONS_NOT_FOUND"; + public const string WILDCARD_NOT_SUPPORTED = @"WILDCARD_NOT_SUPPORTED"; + public const string SPECIFIED_NOT_VALID_FOR_INPUT = @"SPECIFIED_NOT_VALID_FOR_INPUT"; + public const string WEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"WEB_PRESENCE_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; + public const string CATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"CATALOG_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; + public const string CATALOG_TYPE_NOT_SUPPORTED = @"CATALOG_TYPE_NOT_SUPPORTED"; + public const string INCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPES = @"INCLUSIVE_PRICING_NOT_COMPATIBLE_WITH_CONDITION_TYPES"; + public const string INCOMPATIBLE_CONDITIONS = @"INCOMPATIBLE_CONDITIONS"; + public const string MANAGED_MARKET = @"MANAGED_MARKET"; + public const string MULTIPLE_CURRENCIES_NOT_SUPPORTED = @"MULTIPLE_CURRENCIES_NOT_SUPPORTED"; + public const string UNSUPPORTED_CURRENCY = @"UNSUPPORTED_CURRENCY"; + public const string SHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCE = @"SHOP_MUST_HAVE_PRIMARY_DOMAIN_WEB_PRESENCE"; + public const string MUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKET = @"MUST_HAVE_AT_LEAST_ONE_ACTIVE_REGION_MARKET"; + public const string USER_LACKS_PERMISSION = @"USER_LACKS_PERMISSION"; + public const string CONTAINS_REGIONS_THAT_CANNOT_BE_MANAGED = @"CONTAINS_REGIONS_THAT_CANNOT_BE_MANAGED"; + [Obsolete("This will no longer be used after legacy markets are removed in April 2026")] + public const string UNIFIED_MARKETS_NOT_ENABLED = @"UNIFIED_MARKETS_NOT_ENABLED"; + public const string WEB_PRESENCE_REACHED_MARKETS_LIMIT = @"WEB_PRESENCE_REACHED_MARKETS_LIMIT"; + [Obsolete("No longer used")] + public const string WEB_PRESENCE_RETAIL_LOCATION = @"WEB_PRESENCE_RETAIL_LOCATION"; + public const string CATALOG_CONDITION_TYPES_MUST_BE_THE_SAME = @"CATALOG_CONDITION_TYPES_MUST_BE_THE_SAME"; + public const string MARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOG = @"MARKET_CANT_HAVE_DIRECT_CONNECTION_CATALOG"; + public const string NOT_ENTITLED_TO_ACTIVATE_MARKET = @"NOT_ENTITLED_TO_ACTIVATE_MARKET"; + public const string B2B_MARKET_MUST_BE_MERCHANT_MANAGED = @"B2B_MARKET_MUST_BE_MERCHANT_MANAGED"; + public const string POS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGED = @"POS_LOCATION_MARKET_MUST_BE_MERCHANT_MANAGED"; + public const string MANAGED_MARKETS_CATALOG_NOT_ALLOWED = @"MANAGED_MARKETS_CATALOG_NOT_ALLOWED"; + public const string RETAIL_LOCATION_CURRENCY_MUST_BE_LOCAL = @"RETAIL_LOCATION_CURRENCY_MUST_BE_LOCAL"; + public const string CATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTED = @"CATALOGS_WITH_VOLUME_PRICING_OR_QUANTITY_RULES_NOT_SUPPORTED"; + public const string MIXED_COUNTRY_LOCATIONS_NOT_ALLOWED = @"MIXED_COUNTRY_LOCATIONS_NOT_ALLOWED"; + public const string LOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGION = @"LOCATION_MATCH_ALL_REQUIRES_ONE_SPECIFIC_REGION"; + public const string LOCATION_REGION_COUNTRY_MISMATCH = @"LOCATION_REGION_COUNTRY_MISMATCH"; + public const string UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS = @"UNPERMITTED_ENTITLEMENTS_MARKET_CATALOGS"; + public const string INVALID_COUNTRY_AND_PROVINCE_DRIVERS = @"INVALID_COUNTRY_AND_PROVINCE_DRIVERS"; + public const string PROVINCE_MUST_BELONG_TO_COUNTRY = @"PROVINCE_MUST_BELONG_TO_COUNTRY"; + public const string CANNOT_ADD_ALL_PROVINCES_FOR_A_COUNTRY_TO_A_MARKET = @"CANNOT_ADD_ALL_PROVINCES_FOR_A_COUNTRY_TO_A_MARKET"; + [Obsolete("No longer used")] + public const string INVALID_RESPONDER_FOR_PROVINCE_DRIVEN_MARKET = @"INVALID_RESPONDER_FOR_PROVINCE_DRIVEN_MARKET"; + public const string INVALID_CUSTOMIZATION_FOR_PROVINCE_CONDITION = @"INVALID_CUSTOMIZATION_FOR_PROVINCE_CONDITION"; + } + /// ///The market’s web presence, which defines its SEO strategy. This can be a different domain ///(e.g. `example.ca`), subdomain (e.g. `ca.example.com`), or subfolders of the primary @@ -64137,2351 +64137,2351 @@ public static class MarketUserErrorCodeStringValues ///API](https://shopify.dev/custom-storefronts/internationalization/multiple-languages) for the countries in ///this market. /// - [Description("The market’s web presence, which defines its SEO strategy. This can be a different domain\n(e.g. `example.ca`), subdomain (e.g. `ca.example.com`), or subfolders of the primary\ndomain (e.g. `example.com/en-ca`). Each web presence comprises one or more language\nvariants. If a market does not have its own web presence, it is accessible on the shop’s\nprimary domain via [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\n\nNote: while the domain/subfolders defined by a market’s web presence are not applicable to\ncustom storefronts, which must manage their own domains and routing, the languages chosen\nhere do govern [the languages available on the Storefront\nAPI](https://shopify.dev/custom-storefronts/internationalization/multiple-languages) for the countries in\nthis market.")] - public class MarketWebPresence : GraphQLObject, INode - { + [Description("The market’s web presence, which defines its SEO strategy. This can be a different domain\n(e.g. `example.ca`), subdomain (e.g. `ca.example.com`), or subfolders of the primary\ndomain (e.g. `example.com/en-ca`). Each web presence comprises one or more language\nvariants. If a market does not have its own web presence, it is accessible on the shop’s\nprimary domain via [country\nselectors](https://shopify.dev/themes/internationalization/multiple-currencies-languages#the-country-selector).\n\nNote: while the domain/subfolders defined by a market’s web presence are not applicable to\ncustom storefronts, which must manage their own domains and routing, the languages chosen\nhere do govern [the languages available on the Storefront\nAPI](https://shopify.dev/custom-storefronts/internationalization/multiple-languages) for the countries in\nthis market.")] + public class MarketWebPresence : GraphQLObject, INode + { /// ///The ShopLocale object for the alternate locales. When a domain is used, these locales will be ///available as language-specific subfolders. For example, if English is an ///alternate locale, and `example.ca` is the market’s domain, then ///`example.ca/en` will load in English. /// - [Description("The ShopLocale object for the alternate locales. When a domain is used, these locales will be\navailable as language-specific subfolders. For example, if English is an\nalternate locale, and `example.ca` is the market’s domain, then\n`example.ca/en` will load in English.")] - [NonNull] - public IEnumerable? alternateLocales { get; set; } - + [Description("The ShopLocale object for the alternate locales. When a domain is used, these locales will be\navailable as language-specific subfolders. For example, if English is an\nalternate locale, and `example.ca` is the market’s domain, then\n`example.ca/en` will load in English.")] + [NonNull] + public IEnumerable? alternateLocales { get; set; } + /// ///The ShopLocale object for the default locale. When a domain is used, this is the locale that will ///be used when the domain root is accessed. For example, if French is the default locale, ///and `example.ca` is the market’s domain, then `example.ca` will load in French. /// - [Description("The ShopLocale object for the default locale. When a domain is used, this is the locale that will\nbe used when the domain root is accessed. For example, if French is the default locale,\nand `example.ca` is the market’s domain, then `example.ca` will load in French.")] - [NonNull] - public ShopLocale? defaultLocale { get; set; } - + [Description("The ShopLocale object for the default locale. When a domain is used, this is the locale that will\nbe used when the domain root is accessed. For example, if French is the default locale,\nand `example.ca` is the market’s domain, then `example.ca` will load in French.")] + [NonNull] + public ShopLocale? defaultLocale { get; set; } + /// ///The web presence’s domain. ///This field will be null if `subfolderSuffix` isn't null. /// - [Description("The web presence’s domain.\nThis field will be null if `subfolderSuffix` isn't null.")] - public Domain? domain { get; set; } - + [Description("The web presence’s domain.\nThis field will be null if `subfolderSuffix` isn't null.")] + public Domain? domain { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The associated market. This can be null for a web presence that isn't associated with a market. /// - [Description("The associated market. This can be null for a web presence that isn't associated with a market.")] - [Obsolete("Use `markets` instead.")] - public Market? market { get; set; } - + [Description("The associated market. This can be null for a web presence that isn't associated with a market.")] + [Obsolete("Use `markets` instead.")] + public Market? market { get; set; } + /// ///The associated markets for this web presence. /// - [Description("The associated markets for this web presence.")] - public MarketConnection? markets { get; set; } - + [Description("The associated markets for this web presence.")] + public MarketConnection? markets { get; set; } + /// ///The list of root URLs for each of the web presence’s locales. As of version `2024-04` this value will no longer have a trailing slash. /// - [Description("The list of root URLs for each of the web presence’s locales. As of version `2024-04` this value will no longer have a trailing slash.")] - [NonNull] - public IEnumerable? rootUrls { get; set; } - + [Description("The list of root URLs for each of the web presence’s locales. As of version `2024-04` this value will no longer have a trailing slash.")] + [NonNull] + public IEnumerable? rootUrls { get; set; } + /// ///The market-specific suffix of the subfolders defined by the web presence. Example: in `/en-us` the subfolder suffix is `us`. This field will be null if `domain` isn't null. /// - [Description("The market-specific suffix of the subfolders defined by the web presence. Example: in `/en-us` the subfolder suffix is `us`. This field will be null if `domain` isn't null.")] - public string? subfolderSuffix { get; set; } - } - + [Description("The market-specific suffix of the subfolders defined by the web presence. Example: in `/en-us` the subfolder suffix is `us`. This field will be null if `domain` isn't null.")] + public string? subfolderSuffix { get; set; } + } + /// ///An auto-generated type for paginating through multiple MarketWebPresences. /// - [Description("An auto-generated type for paginating through multiple MarketWebPresences.")] - public class MarketWebPresenceConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MarketWebPresences.")] + public class MarketWebPresenceConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MarketWebPresenceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MarketWebPresenceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MarketWebPresenceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields used to create a web presence for a market. /// - [Description("The input fields used to create a web presence for a market.")] - public class MarketWebPresenceCreateInput : GraphQLObject - { + [Description("The input fields used to create a web presence for a market.")] + public class MarketWebPresenceCreateInput : GraphQLObject + { /// ///The web presence's domain ID. This field must be `null` if the `subfolderSuffix` isn't `null`. /// - [Description("The web presence's domain ID. This field must be `null` if the `subfolderSuffix` isn't `null`.")] - public string? domainId { get; set; } - + [Description("The web presence's domain ID. This field must be `null` if the `subfolderSuffix` isn't `null`.")] + public string? domainId { get; set; } + /// ///The default locale for the market’s web presence. /// - [Description("The default locale for the market’s web presence.")] - [NonNull] - public string? defaultLocale { get; set; } - + [Description("The default locale for the market’s web presence.")] + [NonNull] + public string? defaultLocale { get; set; } + /// ///The alternate locales for the market’s web presence. /// - [Description("The alternate locales for the market’s web presence.")] - public IEnumerable? alternateLocales { get; set; } - + [Description("The alternate locales for the market’s web presence.")] + public IEnumerable? alternateLocales { get; set; } + /// ///The market-specific suffix of the subfolders defined by the web presence. ///For example: in `/en-us`, the subfolder suffix is `us`. ///Only ASCII characters are allowed. This field must be `null` if the `domainId` isn't `null`. /// - [Description("The market-specific suffix of the subfolders defined by the web presence.\nFor example: in `/en-us`, the subfolder suffix is `us`.\nOnly ASCII characters are allowed. This field must be `null` if the `domainId` isn't `null`.")] - public string? subfolderSuffix { get; set; } - } - + [Description("The market-specific suffix of the subfolders defined by the web presence.\nFor example: in `/en-us`, the subfolder suffix is `us`.\nOnly ASCII characters are allowed. This field must be `null` if the `domainId` isn't `null`.")] + public string? subfolderSuffix { get; set; } + } + /// ///Return type for `marketWebPresenceCreate` mutation. /// - [Description("Return type for `marketWebPresenceCreate` mutation.")] - public class MarketWebPresenceCreatePayload : GraphQLObject - { + [Description("Return type for `marketWebPresenceCreate` mutation.")] + public class MarketWebPresenceCreatePayload : GraphQLObject + { /// ///The market object. /// - [Description("The market object.")] - public Market? market { get; set; } - + [Description("The market object.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `marketWebPresenceDelete` mutation. /// - [Description("Return type for `marketWebPresenceDelete` mutation.")] - public class MarketWebPresenceDeletePayload : GraphQLObject - { + [Description("Return type for `marketWebPresenceDelete` mutation.")] + public class MarketWebPresenceDeletePayload : GraphQLObject + { /// ///The ID of the deleted web presence. /// - [Description("The ID of the deleted web presence.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted web presence.")] + public string? deletedId { get; set; } + /// ///The market for which the web presence was deleted. /// - [Description("The market for which the web presence was deleted.")] - public Market? market { get; set; } - + [Description("The market for which the web presence was deleted.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one MarketWebPresence and a cursor during pagination. /// - [Description("An auto-generated type which holds one MarketWebPresence and a cursor during pagination.")] - public class MarketWebPresenceEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MarketWebPresence and a cursor during pagination.")] + public class MarketWebPresenceEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MarketWebPresenceEdge. /// - [Description("The item at the end of MarketWebPresenceEdge.")] - [NonNull] - public MarketWebPresence? node { get; set; } - } - + [Description("The item at the end of MarketWebPresenceEdge.")] + [NonNull] + public MarketWebPresence? node { get; set; } + } + /// ///The URL for the homepage of the online store in the context of a particular market and a ///particular locale. /// - [Description("The URL for the homepage of the online store in the context of a particular market and a\nparticular locale.")] - public class MarketWebPresenceRootUrl : GraphQLObject - { + [Description("The URL for the homepage of the online store in the context of a particular market and a\nparticular locale.")] + public class MarketWebPresenceRootUrl : GraphQLObject + { /// ///The locale that the storefront loads in. /// - [Description("The locale that the storefront loads in.")] - [NonNull] - public string? locale { get; set; } - + [Description("The locale that the storefront loads in.")] + [NonNull] + public string? locale { get; set; } + /// ///The URL. /// - [Description("The URL.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL.")] + [NonNull] + public string? url { get; set; } + } + /// ///The input fields used to update a web presence for a market. /// - [Description("The input fields used to update a web presence for a market.")] - public class MarketWebPresenceUpdateInput : GraphQLObject - { + [Description("The input fields used to update a web presence for a market.")] + public class MarketWebPresenceUpdateInput : GraphQLObject + { /// ///The web presence's domain ID. This field must be null if `subfolderSuffix` is not null. /// - [Description("The web presence's domain ID. This field must be null if `subfolderSuffix` is not null.")] - public string? domainId { get; set; } - + [Description("The web presence's domain ID. This field must be null if `subfolderSuffix` is not null.")] + public string? domainId { get; set; } + /// ///The default locale for the market’s web presence. /// - [Description("The default locale for the market’s web presence.")] - public string? defaultLocale { get; set; } - + [Description("The default locale for the market’s web presence.")] + public string? defaultLocale { get; set; } + /// ///The alternate locales for the market’s web presence. /// - [Description("The alternate locales for the market’s web presence.")] - public IEnumerable? alternateLocales { get; set; } - + [Description("The alternate locales for the market’s web presence.")] + public IEnumerable? alternateLocales { get; set; } + /// ///The market-specific suffix of the subfolders defined by the web presence. ///Example: in `/en-us` the subfolder suffix is `us`. ///Only ASCII characters are allowed. This field must be null if `domainId` is not null. /// - [Description("The market-specific suffix of the subfolders defined by the web presence.\nExample: in `/en-us` the subfolder suffix is `us`.\nOnly ASCII characters are allowed. This field must be null if `domainId` is not null.")] - public string? subfolderSuffix { get; set; } - } - + [Description("The market-specific suffix of the subfolders defined by the web presence.\nExample: in `/en-us` the subfolder suffix is `us`.\nOnly ASCII characters are allowed. This field must be null if `domainId` is not null.")] + public string? subfolderSuffix { get; set; } + } + /// ///Return type for `marketWebPresenceUpdate` mutation. /// - [Description("Return type for `marketWebPresenceUpdate` mutation.")] - public class MarketWebPresenceUpdatePayload : GraphQLObject - { + [Description("Return type for `marketWebPresenceUpdate` mutation.")] + public class MarketWebPresenceUpdatePayload : GraphQLObject + { /// ///The market object. /// - [Description("The market object.")] - public Market? market { get; set; } - + [Description("The market object.")] + public Market? market { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `marketingActivitiesDeleteAllExternal` mutation. /// - [Description("Return type for `marketingActivitiesDeleteAllExternal` mutation.")] - public class MarketingActivitiesDeleteAllExternalPayload : GraphQLObject - { + [Description("Return type for `marketingActivitiesDeleteAllExternal` mutation.")] + public class MarketingActivitiesDeleteAllExternalPayload : GraphQLObject + { /// ///The asynchronous job that performs the deletion. The status of the job may be used to determine when it's safe again to create new activities. /// - [Description("The asynchronous job that performs the deletion. The status of the job may be used to determine when it's safe again to create new activities.")] - public Job? job { get; set; } - + [Description("The asynchronous job that performs the deletion. The status of the job may be used to determine when it's safe again to create new activities.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The marketing activity resource represents marketing that a /// merchant created through an app. /// - [Description("The marketing activity resource represents marketing that a\n merchant created through an app.")] - public class MarketingActivity : GraphQLObject, INode - { + [Description("The marketing activity resource represents marketing that a\n merchant created through an app.")] + public class MarketingActivity : GraphQLObject, INode + { /// ///The URL of the marketing activity listing page in the marketing section. /// - [Description("The URL of the marketing activity listing page in the marketing section.")] - public string? activityListUrl { get; set; } - + [Description("The URL of the marketing activity listing page in the marketing section.")] + public string? activityListUrl { get; set; } + /// ///The amount spent on the marketing activity. /// - [Description("The amount spent on the marketing activity.")] - public MoneyV2? adSpend { get; set; } - + [Description("The amount spent on the marketing activity.")] + public MoneyV2? adSpend { get; set; } + /// ///The admin url used to edit this activity. /// - [Description("The admin url used to edit this activity.")] - [NonNull] - public string? adminEditUrl { get; set; } - + [Description("The admin url used to edit this activity.")] + [NonNull] + public string? adminEditUrl { get; set; } + /// ///The app which created this marketing activity. /// - [Description("The app which created this marketing activity.")] - [NonNull] - public App? app { get; set; } - + [Description("The app which created this marketing activity.")] + [NonNull] + public App? app { get; set; } + /// ///The errors generated when an app publishes the marketing activity. /// - [Description("The errors generated when an app publishes the marketing activity.")] - public MarketingActivityExtensionAppErrors? appErrors { get; set; } - + [Description("The errors generated when an app publishes the marketing activity.")] + public MarketingActivityExtensionAppErrors? appErrors { get; set; } + /// ///The step type of a marketing automation activity. /// - [Description("The step type of a marketing automation activity.")] - public string? automationStepType { get; set; } - + [Description("The step type of a marketing automation activity.")] + public string? automationStepType { get; set; } + /// ///The allocated budget for the marketing activity. /// - [Description("The allocated budget for the marketing activity.")] - public MarketingBudget? budget { get; set; } - + [Description("The allocated budget for the marketing activity.")] + public MarketingBudget? budget { get; set; } + /// ///The date and time when the marketing activity was created. /// - [Description("The date and time when the marketing activity was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the marketing activity was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The time at which the most recent error occurred, which is set by the app. /// - [Description("The time at which the most recent error occurred, which is set by the app.")] - public DateTime? errorOccurredAt { get; set; } - + [Description("The time at which the most recent error occurred, which is set by the app.")] + public DateTime? errorOccurredAt { get; set; } + /// ///The flow editor URL to which the marketing activity is associated. /// - [Description("The flow editor URL to which the marketing activity is associated.")] - public string? flowEditorUrl { get; set; } - + [Description("The flow editor URL to which the marketing activity is associated.")] + public string? flowEditorUrl { get; set; } + /// ///The completed content in the marketing activity creation form. /// - [Description("The completed content in the marketing activity creation form.")] - public string? formData { get; set; } - + [Description("The completed content in the marketing activity creation form.")] + public string? formData { get; set; } + /// ///The hierarchy level of the marketing activity. /// - [Description("The hierarchy level of the marketing activity.")] - [EnumType(typeof(MarketingActivityHierarchyLevel))] - public string? hierarchyLevel { get; set; } - + [Description("The hierarchy level of the marketing activity.")] + [EnumType(typeof(MarketingActivityHierarchyLevel))] + public string? hierarchyLevel { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the marketing activity is in the main workflow version of the marketing automation. /// - [Description("Whether the marketing activity is in the main workflow version of the marketing automation.")] - [NonNull] - public bool? inMainWorkflowVersion { get; set; } - + [Description("Whether the marketing activity is in the main workflow version of the marketing automation.")] + [NonNull] + public bool? inMainWorkflowVersion { get; set; } + /// ///The marketing activity represents an external marketing activity. /// - [Description("The marketing activity represents an external marketing activity.")] - [NonNull] - public bool? isExternal { get; set; } - + [Description("The marketing activity represents an external marketing activity.")] + [NonNull] + public bool? isExternal { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [Obsolete("Use `marketingChannelType` instead.")] - [NonNull] - [EnumType(typeof(MarketingChannel))] - public string? marketingChannel { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [Obsolete("Use `marketingChannelType` instead.")] + [NonNull] + [EnumType(typeof(MarketingChannel))] + public string? marketingChannel { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [NonNull] - [EnumType(typeof(MarketingChannel))] - public string? marketingChannelType { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [NonNull] + [EnumType(typeof(MarketingChannel))] + public string? marketingChannelType { get; set; } + /// ///Associated marketing event of this marketing activity. /// - [Description("Associated marketing event of this marketing activity.")] - public MarketingEvent? marketingEvent { get; set; } - + [Description("Associated marketing event of this marketing activity.")] + public MarketingEvent? marketingEvent { get; set; } + /// ///ID of the parent activity of this marketing activity. /// - [Description("ID of the parent activity of this marketing activity.")] - public string? parentActivityId { get; set; } - + [Description("ID of the parent activity of this marketing activity.")] + public string? parentActivityId { get; set; } + /// ///ID of the parent activity of this marketing activity. /// - [Description("ID of the parent activity of this marketing activity.")] - public string? parentRemoteId { get; set; } - + [Description("ID of the parent activity of this marketing activity.")] + public string? parentRemoteId { get; set; } + /// ///The scheduled end time of the marketing activity, which is set by the app. /// - [Description("The scheduled end time of the marketing activity, which is set by the app.")] - public DateTime? scheduledToEndAt { get; set; } - + [Description("The scheduled end time of the marketing activity, which is set by the app.")] + public DateTime? scheduledToEndAt { get; set; } + /// ///The scheduled start time of the marketing activity, which is set by the app. /// - [Description("The scheduled start time of the marketing activity, which is set by the app.")] - public DateTime? scheduledToStartAt { get; set; } - + [Description("The scheduled start time of the marketing activity, which is set by the app.")] + public DateTime? scheduledToStartAt { get; set; } + /// ///A contextual description of the marketing activity based on the platform and tactic used. /// - [Description("A contextual description of the marketing activity based on the platform and tactic used.")] - [NonNull] - public string? sourceAndMedium { get; set; } - + [Description("A contextual description of the marketing activity based on the platform and tactic used.")] + [NonNull] + public string? sourceAndMedium { get; set; } + /// ///The current state of the marketing activity. /// - [Description("The current state of the marketing activity.")] - [NonNull] - [EnumType(typeof(MarketingActivityStatus))] - public string? status { get; set; } - + [Description("The current state of the marketing activity.")] + [NonNull] + [EnumType(typeof(MarketingActivityStatus))] + public string? status { get; set; } + /// ///The severity of the marketing activity's status. /// - [Description("The severity of the marketing activity's status.")] - [Obsolete("Use `statusBadgeTypeV2` instead.")] - [EnumType(typeof(MarketingActivityStatusBadgeType))] - public string? statusBadgeType { get; set; } - + [Description("The severity of the marketing activity's status.")] + [Obsolete("Use `statusBadgeTypeV2` instead.")] + [EnumType(typeof(MarketingActivityStatusBadgeType))] + public string? statusBadgeType { get; set; } + /// ///The severity of the marketing activity's status. /// - [Description("The severity of the marketing activity's status.")] - [EnumType(typeof(BadgeType))] - public string? statusBadgeTypeV2 { get; set; } - + [Description("The severity of the marketing activity's status.")] + [EnumType(typeof(BadgeType))] + public string? statusBadgeTypeV2 { get; set; } + /// ///The rendered status of the marketing activity. /// - [Description("The rendered status of the marketing activity.")] - [NonNull] - public string? statusLabel { get; set; } - + [Description("The rendered status of the marketing activity.")] + [NonNull] + public string? statusLabel { get; set; } + /// ///The [date and time]( /// https://help.shopify.com/https://en.wikipedia.org/wiki/ISO_8601 /// ) when the activity's status last changed. /// - [Description("The [date and time](\n https://help.shopify.com/https://en.wikipedia.org/wiki/ISO_8601\n ) when the activity's status last changed.")] - public DateTime? statusTransitionedAt { get; set; } - + [Description("The [date and time](\n https://help.shopify.com/https://en.wikipedia.org/wiki/ISO_8601\n ) when the activity's status last changed.")] + public DateTime? statusTransitionedAt { get; set; } + /// ///The method of marketing used for this marketing activity. /// - [Description("The method of marketing used for this marketing activity.")] - [NonNull] - [EnumType(typeof(MarketingTactic))] - public string? tactic { get; set; } - + [Description("The method of marketing used for this marketing activity.")] + [NonNull] + [EnumType(typeof(MarketingTactic))] + public string? tactic { get; set; } + /// ///The status to which the marketing activity is currently transitioning. /// - [Description("The status to which the marketing activity is currently transitioning.")] - [EnumType(typeof(MarketingActivityStatus))] - public string? targetStatus { get; set; } - + [Description("The status to which the marketing activity is currently transitioning.")] + [EnumType(typeof(MarketingActivityStatus))] + public string? targetStatus { get; set; } + /// ///The marketing activity's title, which is rendered on the marketing listing page. /// - [Description("The marketing activity's title, which is rendered on the marketing listing page.")] - [NonNull] - public string? title { get; set; } - + [Description("The marketing activity's title, which is rendered on the marketing listing page.")] + [NonNull] + public string? title { get; set; } + /// ///Whether the marketing activity is tracking opens. /// - [Description("Whether the marketing activity is tracking opens.")] - [NonNull] - public bool? trackingOpens { get; set; } - + [Description("Whether the marketing activity is tracking opens.")] + [NonNull] + public bool? trackingOpens { get; set; } + /// ///The date and time when the marketing activity was updated. /// - [Description("The date and time when the marketing activity was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the marketing activity was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The value portion of the URL query parameter used in attributing sessions to this activity. /// - [Description("The value portion of the URL query parameter used in attributing sessions to this activity.")] - public string? urlParameterValue { get; set; } - + [Description("The value portion of the URL query parameter used in attributing sessions to this activity.")] + public string? urlParameterValue { get; set; } + /// ///The set of [Urchin Tracking Module]( /// https://help.shopify.com/https://en.wikipedia.org/wiki/UTM_parameters /// ) used in the URL for tracking this marketing activity. /// - [Description("The set of [Urchin Tracking Module](\n https://help.shopify.com/https://en.wikipedia.org/wiki/UTM_parameters\n ) used in the URL for tracking this marketing activity.")] - public UTMParameters? utmParameters { get; set; } - } - + [Description("The set of [Urchin Tracking Module](\n https://help.shopify.com/https://en.wikipedia.org/wiki/UTM_parameters\n ) used in the URL for tracking this marketing activity.")] + public UTMParameters? utmParameters { get; set; } + } + /// ///The input fields combining budget amount and its marketing budget type. /// - [Description("The input fields combining budget amount and its marketing budget type.")] - public class MarketingActivityBudgetInput : GraphQLObject - { + [Description("The input fields combining budget amount and its marketing budget type.")] + public class MarketingActivityBudgetInput : GraphQLObject + { /// ///Budget type for marketing activity. /// - [Description("Budget type for marketing activity.")] - [EnumType(typeof(MarketingBudgetBudgetType))] - public string? budgetType { get; set; } - + [Description("Budget type for marketing activity.")] + [EnumType(typeof(MarketingBudgetBudgetType))] + public string? budgetType { get; set; } + /// ///Amount of budget for the marketing activity. /// - [Description("Amount of budget for the marketing activity.")] - public MoneyInput? total { get; set; } - } - + [Description("Amount of budget for the marketing activity.")] + public MoneyInput? total { get; set; } + } + /// ///An auto-generated type for paginating through multiple MarketingActivities. /// - [Description("An auto-generated type for paginating through multiple MarketingActivities.")] - public class MarketingActivityConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MarketingActivities.")] + public class MarketingActivityConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MarketingActivityEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MarketingActivityEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MarketingActivityEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for creating an externally-managed marketing activity. /// - [Description("The input fields for creating an externally-managed marketing activity.")] - public class MarketingActivityCreateExternalInput : GraphQLObject - { + [Description("The input fields for creating an externally-managed marketing activity.")] + public class MarketingActivityCreateExternalInput : GraphQLObject + { /// ///The title of the marketing activity. /// - [Description("The title of the marketing activity.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the marketing activity.")] + [NonNull] + public string? title { get; set; } + /// ///Specifies the [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) that are associated with a related marketing campaign. Either the URL parameter value or UTM can be set, but not both. /// - [Description("Specifies the [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) that are associated with a related marketing campaign. Either the URL parameter value or UTM can be set, but not both.")] - public UTMInput? utm { get; set; } - + [Description("Specifies the [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) that are associated with a related marketing campaign. Either the URL parameter value or UTM can be set, but not both.")] + public UTMInput? utm { get; set; } + /// ///Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set. /// - [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] - public string? urlParameterValue { get; set; } - + [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] + public string? urlParameterValue { get; set; } + /// ///The budget for this marketing activity. /// - [Description("The budget for this marketing activity.")] - public MarketingActivityBudgetInput? budget { get; set; } - + [Description("The budget for this marketing activity.")] + public MarketingActivityBudgetInput? budget { get; set; } + /// ///The amount spent on the marketing activity. /// - [Description("The amount spent on the marketing activity.")] - public MoneyInput? adSpend { get; set; } - + [Description("The amount spent on the marketing activity.")] + public MoneyInput? adSpend { get; set; } + /// ///A custom unique identifier for the marketing activity, which can be used to manage the activity and send engagement metrics without having to store our marketing activity ID in your systems. /// - [Description("A custom unique identifier for the marketing activity, which can be used to manage the activity and send engagement metrics without having to store our marketing activity ID in your systems.")] - public string? remoteId { get; set; } - + [Description("A custom unique identifier for the marketing activity, which can be used to manage the activity and send engagement metrics without having to store our marketing activity ID in your systems.")] + public string? remoteId { get; set; } + /// ///The status of the marketing activity. If status isn't set it will default to UNDEFINED. /// - [Description("The status of the marketing activity. If status isn't set it will default to UNDEFINED.")] - [EnumType(typeof(MarketingActivityExternalStatus))] - public string? status { get; set; } - + [Description("The status of the marketing activity. If status isn't set it will default to UNDEFINED.")] + [EnumType(typeof(MarketingActivityExternalStatus))] + public string? status { get; set; } + /// ///The URL for viewing and/or managing the activity outside of Shopify. /// - [Description("The URL for viewing and/or managing the activity outside of Shopify.")] - [NonNull] - public string? remoteUrl { get; set; } - + [Description("The URL for viewing and/or managing the activity outside of Shopify.")] + [NonNull] + public string? remoteUrl { get; set; } + /// ///The URL for a preview image that's used for the marketing activity. /// - [Description("The URL for a preview image that's used for the marketing activity.")] - public string? remotePreviewImageUrl { get; set; } - + [Description("The URL for a preview image that's used for the marketing activity.")] + public string? remotePreviewImageUrl { get; set; } + /// ///The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity. /// - [Description("The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity.")] - [NonNull] - [EnumType(typeof(MarketingTactic))] - public string? tactic { get; set; } - + [Description("The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity.")] + [NonNull] + [EnumType(typeof(MarketingTactic))] + public string? tactic { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [Obsolete("This field was renamed for clarity, please switch to using marketingChannelType when migrating to the latest API version.")] - [EnumType(typeof(MarketingChannel))] - public string? channel { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [Obsolete("This field was renamed for clarity, please switch to using marketingChannelType when migrating to the latest API version.")] + [EnumType(typeof(MarketingChannel))] + public string? channel { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [NonNull] - [EnumType(typeof(MarketingChannel))] - public string? marketingChannelType { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [NonNull] + [EnumType(typeof(MarketingChannel))] + public string? marketingChannelType { get; set; } + /// ///The domain from which ad clicks are forwarded to the shop. /// - [Description("The domain from which ad clicks are forwarded to the shop.")] - public string? referringDomain { get; set; } - + [Description("The domain from which ad clicks are forwarded to the shop.")] + public string? referringDomain { get; set; } + /// ///The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager. /// - [Description("The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.")] - public string? channelHandle { get; set; } - + [Description("The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.")] + public string? channelHandle { get; set; } + /// ///The date and time at which the activity is scheduled to start. /// - [Description("The date and time at which the activity is scheduled to start.")] - public DateTime? scheduledStart { get; set; } - + [Description("The date and time at which the activity is scheduled to start.")] + public DateTime? scheduledStart { get; set; } + /// ///The date and time at which the activity is scheduled to end. /// - [Description("The date and time at which the activity is scheduled to end.")] - public DateTime? scheduledEnd { get; set; } - + [Description("The date and time at which the activity is scheduled to end.")] + public DateTime? scheduledEnd { get; set; } + /// ///The date and time at which the activity started. If omitted or set to `null`, the current time will be used. /// - [Description("The date and time at which the activity started. If omitted or set to `null`, the current time will be used.")] - public DateTime? start { get; set; } - + [Description("The date and time at which the activity started. If omitted or set to `null`, the current time will be used.")] + public DateTime? start { get; set; } + /// ///The date and time at which the activity ended. If omitted or set to `null`, the current time will be used if the status is set to `INACTIVE` or `DELETED_EXTERNALLY`. /// - [Description("The date and time at which the activity ended. If omitted or set to `null`, the current time will be used if the status is set to `INACTIVE` or `DELETED_EXTERNALLY`.")] - public DateTime? end { get; set; } - + [Description("The date and time at which the activity ended. If omitted or set to `null`, the current time will be used if the status is set to `INACTIVE` or `DELETED_EXTERNALLY`.")] + public DateTime? end { get; set; } + /// ///The ID for the parent marketing activity, if creating hierarchical activities. /// - [Description("The ID for the parent marketing activity, if creating hierarchical activities.")] - public string? parentActivityId { get; set; } - + [Description("The ID for the parent marketing activity, if creating hierarchical activities.")] + public string? parentActivityId { get; set; } + /// ///The remote ID for the parent marketing activity, if creating hierarchical activities. /// - [Description("The remote ID for the parent marketing activity, if creating hierarchical activities.")] - public string? parentRemoteId { get; set; } - + [Description("The remote ID for the parent marketing activity, if creating hierarchical activities.")] + public string? parentRemoteId { get; set; } + /// ///The hierarchy level of the activity within a campaign. The hierarchy level can't be updated. /// - [Description("The hierarchy level of the activity within a campaign. The hierarchy level can't be updated.")] - [EnumType(typeof(MarketingActivityHierarchyLevel))] - public string? hierarchyLevel { get; set; } - } - + [Description("The hierarchy level of the activity within a campaign. The hierarchy level can't be updated.")] + [EnumType(typeof(MarketingActivityHierarchyLevel))] + public string? hierarchyLevel { get; set; } + } + /// ///Return type for `marketingActivityCreateExternal` mutation. /// - [Description("Return type for `marketingActivityCreateExternal` mutation.")] - public class MarketingActivityCreateExternalPayload : GraphQLObject - { + [Description("Return type for `marketingActivityCreateExternal` mutation.")] + public class MarketingActivityCreateExternalPayload : GraphQLObject + { /// ///The external marketing activity that was created. /// - [Description("The external marketing activity that was created.")] - public MarketingActivity? marketingActivity { get; set; } - + [Description("The external marketing activity that was created.")] + public MarketingActivity? marketingActivity { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields required to create a marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future. /// - [Description("The input fields required to create a marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future.")] - public class MarketingActivityCreateInput : GraphQLObject - { + [Description("The input fields required to create a marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future.")] + public class MarketingActivityCreateInput : GraphQLObject + { /// ///The title of the marketing activity. /// - [Description("The title of the marketing activity.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? marketingActivityTitle { get; set; } - + [Description("The title of the marketing activity.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? marketingActivityTitle { get; set; } + /// ///The form data in JSON serialized as a string. /// - [Description("The form data in JSON serialized as a string.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? formData { get; set; } - + [Description("The form data in JSON serialized as a string.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? formData { get; set; } + /// ///The ID of the marketing activity extension. /// - [Description("The ID of the marketing activity extension.")] - [NonNull] - public string? marketingActivityExtensionId { get; set; } - + [Description("The ID of the marketing activity extension.")] + [NonNull] + public string? marketingActivityExtensionId { get; set; } + /// ///Encoded context containing marketing campaign id. /// - [Description("Encoded context containing marketing campaign id.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? context { get; set; } - + [Description("Encoded context containing marketing campaign id.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? context { get; set; } + /// ///Specifies the ///[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) ///that are associated with a related marketing campaign. UTMInput is required for all Marketing ///tactics except Storefront App. /// - [Description("Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. UTMInput is required for all Marketing\ntactics except Storefront App.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public UTMInput? utm { get; set; } - + [Description("Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. UTMInput is required for all Marketing\ntactics except Storefront App.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public UTMInput? utm { get; set; } + /// ///Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set. /// - [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? urlParameterValue { get; set; } - + [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? urlParameterValue { get; set; } + /// ///The current state of the marketing activity. /// - [Description("The current state of the marketing activity.")] - [NonNull] - [EnumType(typeof(MarketingActivityStatus))] - public string? status { get; set; } - + [Description("The current state of the marketing activity.")] + [NonNull] + [EnumType(typeof(MarketingActivityStatus))] + public string? status { get; set; } + /// ///The budget for this marketing activity. /// - [Description("The budget for this marketing activity.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public MarketingActivityBudgetInput? budget { get; set; } - } - + [Description("The budget for this marketing activity.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public MarketingActivityBudgetInput? budget { get; set; } + } + /// ///Return type for `marketingActivityCreate` mutation. /// - [Description("Return type for `marketingActivityCreate` mutation.")] - public class MarketingActivityCreatePayload : GraphQLObject - { + [Description("Return type for `marketingActivityCreate` mutation.")] + public class MarketingActivityCreatePayload : GraphQLObject + { /// ///The created marketing activity. /// - [Description("The created marketing activity.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public MarketingActivity? marketingActivity { get; set; } - + [Description("The created marketing activity.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public MarketingActivity? marketingActivity { get; set; } + /// ///The path to return back to shopify admin from embedded editor. /// - [Description("The path to return back to shopify admin from embedded editor.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? redirectPath { get; set; } - + [Description("The path to return back to shopify admin from embedded editor.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? redirectPath { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `marketingActivityDeleteExternal` mutation. /// - [Description("Return type for `marketingActivityDeleteExternal` mutation.")] - public class MarketingActivityDeleteExternalPayload : GraphQLObject - { + [Description("Return type for `marketingActivityDeleteExternal` mutation.")] + public class MarketingActivityDeleteExternalPayload : GraphQLObject + { /// ///The ID of the marketing activity that was deleted, if one was deleted. /// - [Description("The ID of the marketing activity that was deleted, if one was deleted.")] - public string? deletedMarketingActivityId { get; set; } - + [Description("The ID of the marketing activity that was deleted, if one was deleted.")] + public string? deletedMarketingActivityId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one MarketingActivity and a cursor during pagination. /// - [Description("An auto-generated type which holds one MarketingActivity and a cursor during pagination.")] - public class MarketingActivityEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MarketingActivity and a cursor during pagination.")] + public class MarketingActivityEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MarketingActivityEdge. /// - [Description("The item at the end of MarketingActivityEdge.")] - [NonNull] - public MarketingActivity? node { get; set; } - } - + [Description("The item at the end of MarketingActivityEdge.")] + [NonNull] + public MarketingActivity? node { get; set; } + } + /// ///The error code resulted from the marketing activity extension integration. /// - [Description("The error code resulted from the marketing activity extension integration.")] - public enum MarketingActivityExtensionAppErrorCode - { + [Description("The error code resulted from the marketing activity extension integration.")] + public enum MarketingActivityExtensionAppErrorCode + { /// ///The shop/user must be onboarded to use the app. /// - [Description("The shop/user must be onboarded to use the app.")] - NOT_ONBOARDED_ERROR, + [Description("The shop/user must be onboarded to use the app.")] + NOT_ONBOARDED_ERROR, /// ///The app has returned validation errors. /// - [Description("The app has returned validation errors.")] - VALIDATION_ERROR, + [Description("The app has returned validation errors.")] + VALIDATION_ERROR, /// ///The app is either not responding or returning unexpected data. /// - [Description("The app is either not responding or returning unexpected data.")] - API_ERROR, + [Description("The app is either not responding or returning unexpected data.")] + API_ERROR, /// ///The app has returned an error when invoking the platform. /// - [Description("The app has returned an error when invoking the platform.")] - PLATFORM_ERROR, + [Description("The app has returned an error when invoking the platform.")] + PLATFORM_ERROR, /// ///The app needs to be installed. /// - [Description("The app needs to be installed.")] - INSTALL_REQUIRED_ERROR, + [Description("The app needs to be installed.")] + INSTALL_REQUIRED_ERROR, /// ///The app has returned an error with an info severity level. /// - [Description("The app has returned an error with an info severity level.")] - PLATFORM_ERROR_INFO, + [Description("The app has returned an error with an info severity level.")] + PLATFORM_ERROR_INFO, /// ///The app has returned an error with a warning severity level. /// - [Description("The app has returned an error with a warning severity level.")] - PLATFORM_ERROR_WARNING, + [Description("The app has returned an error with a warning severity level.")] + PLATFORM_ERROR_WARNING, /// ///The app has returned an error with a critical severity level. /// - [Description("The app has returned an error with a critical severity level.")] - PLATFORM_ERROR_CRITICAL, - } - - public static class MarketingActivityExtensionAppErrorCodeStringValues - { - public const string NOT_ONBOARDED_ERROR = @"NOT_ONBOARDED_ERROR"; - public const string VALIDATION_ERROR = @"VALIDATION_ERROR"; - public const string API_ERROR = @"API_ERROR"; - public const string PLATFORM_ERROR = @"PLATFORM_ERROR"; - public const string INSTALL_REQUIRED_ERROR = @"INSTALL_REQUIRED_ERROR"; - public const string PLATFORM_ERROR_INFO = @"PLATFORM_ERROR_INFO"; - public const string PLATFORM_ERROR_WARNING = @"PLATFORM_ERROR_WARNING"; - public const string PLATFORM_ERROR_CRITICAL = @"PLATFORM_ERROR_CRITICAL"; - } - + [Description("The app has returned an error with a critical severity level.")] + PLATFORM_ERROR_CRITICAL, + } + + public static class MarketingActivityExtensionAppErrorCodeStringValues + { + public const string NOT_ONBOARDED_ERROR = @"NOT_ONBOARDED_ERROR"; + public const string VALIDATION_ERROR = @"VALIDATION_ERROR"; + public const string API_ERROR = @"API_ERROR"; + public const string PLATFORM_ERROR = @"PLATFORM_ERROR"; + public const string INSTALL_REQUIRED_ERROR = @"INSTALL_REQUIRED_ERROR"; + public const string PLATFORM_ERROR_INFO = @"PLATFORM_ERROR_INFO"; + public const string PLATFORM_ERROR_WARNING = @"PLATFORM_ERROR_WARNING"; + public const string PLATFORM_ERROR_CRITICAL = @"PLATFORM_ERROR_CRITICAL"; + } + /// ///Represents errors returned from apps when using the marketing activity extension. /// - [Description("Represents errors returned from apps when using the marketing activity extension.")] - public class MarketingActivityExtensionAppErrors : GraphQLObject - { + [Description("Represents errors returned from apps when using the marketing activity extension.")] + public class MarketingActivityExtensionAppErrors : GraphQLObject + { /// ///The app error type. /// - [Description("The app error type.")] - [NonNull] - [EnumType(typeof(MarketingActivityExtensionAppErrorCode))] - public string? code { get; set; } - + [Description("The app error type.")] + [NonNull] + [EnumType(typeof(MarketingActivityExtensionAppErrorCode))] + public string? code { get; set; } + /// ///The list of errors returned by the app. /// - [Description("The list of errors returned by the app.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors returned by the app.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Set of possible statuses for an external marketing activity. /// - [Description("Set of possible statuses for an external marketing activity.")] - public enum MarketingActivityExternalStatus - { + [Description("Set of possible statuses for an external marketing activity.")] + public enum MarketingActivityExternalStatus + { /// ///This marketing activity is currently running. /// - [Description("This marketing activity is currently running.")] - ACTIVE, + [Description("This marketing activity is currently running.")] + ACTIVE, /// ///This marketing activity has completed running. /// - [Description("This marketing activity has completed running.")] - INACTIVE, + [Description("This marketing activity has completed running.")] + INACTIVE, /// ///This marketing activity is currently not running. /// - [Description("This marketing activity is currently not running.")] - PAUSED, + [Description("This marketing activity is currently not running.")] + PAUSED, /// ///This marketing activity is scheduled to run. /// - [Description("This marketing activity is scheduled to run.")] - SCHEDULED, + [Description("This marketing activity is scheduled to run.")] + SCHEDULED, /// ///This marketing activity was deleted and it was triggered from outside of Shopify. /// - [Description("This marketing activity was deleted and it was triggered from outside of Shopify.")] - DELETED_EXTERNALLY, + [Description("This marketing activity was deleted and it was triggered from outside of Shopify.")] + DELETED_EXTERNALLY, /// ///The marketing activity's status is unknown. /// - [Description("The marketing activity's status is unknown.")] - UNDEFINED, - } - - public static class MarketingActivityExternalStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string INACTIVE = @"INACTIVE"; - public const string PAUSED = @"PAUSED"; - public const string SCHEDULED = @"SCHEDULED"; - public const string DELETED_EXTERNALLY = @"DELETED_EXTERNALLY"; - public const string UNDEFINED = @"UNDEFINED"; - } - + [Description("The marketing activity's status is unknown.")] + UNDEFINED, + } + + public static class MarketingActivityExternalStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string INACTIVE = @"INACTIVE"; + public const string PAUSED = @"PAUSED"; + public const string SCHEDULED = @"SCHEDULED"; + public const string DELETED_EXTERNALLY = @"DELETED_EXTERNALLY"; + public const string UNDEFINED = @"UNDEFINED"; + } + /// ///Hierarchy levels for external marketing activities. /// - [Description("Hierarchy levels for external marketing activities.")] - public enum MarketingActivityHierarchyLevel - { + [Description("Hierarchy levels for external marketing activities.")] + public enum MarketingActivityHierarchyLevel + { /// ///An advertisement activity. Must be parented by an ad group or a campaign activity, and must be assigned tracking parameters (URL or UTM). /// - [Description("An advertisement activity. Must be parented by an ad group or a campaign activity, and must be assigned tracking parameters (URL or UTM).")] - AD, + [Description("An advertisement activity. Must be parented by an ad group or a campaign activity, and must be assigned tracking parameters (URL or UTM).")] + AD, /// ///A group of advertisement activities. Must be parented by a campaign activity. /// - [Description("A group of advertisement activities. Must be parented by a campaign activity.")] - AD_GROUP, + [Description("A group of advertisement activities. Must be parented by a campaign activity.")] + AD_GROUP, /// ///A campaign activity. May contain either ad groups or ads as child activities. If childless, then the campaign activity should have tracking parameters assigned (URL or UTM) otherwise it won't appear in marketing reports. /// - [Description("A campaign activity. May contain either ad groups or ads as child activities. If childless, then the campaign activity should have tracking parameters assigned (URL or UTM) otherwise it won't appear in marketing reports.")] - CAMPAIGN, - } - - public static class MarketingActivityHierarchyLevelStringValues - { - public const string AD = @"AD"; - public const string AD_GROUP = @"AD_GROUP"; - public const string CAMPAIGN = @"CAMPAIGN"; - } - + [Description("A campaign activity. May contain either ad groups or ads as child activities. If childless, then the campaign activity should have tracking parameters assigned (URL or UTM) otherwise it won't appear in marketing reports.")] + CAMPAIGN, + } + + public static class MarketingActivityHierarchyLevelStringValues + { + public const string AD = @"AD"; + public const string AD_GROUP = @"AD_GROUP"; + public const string CAMPAIGN = @"CAMPAIGN"; + } + /// ///The set of valid sort keys for the MarketingActivity query. /// - [Description("The set of valid sort keys for the MarketingActivity query.")] - public enum MarketingActivitySortKeys - { + [Description("The set of valid sort keys for the MarketingActivity query.")] + public enum MarketingActivitySortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, - } - - public static class MarketingActivitySortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string TITLE = @"TITLE"; - } - + [Description("Sort by the `title` value.")] + TITLE, + } + + public static class MarketingActivitySortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string TITLE = @"TITLE"; + } + /// ///Status helps to identify if this marketing activity has been completed, queued, failed etc. /// - [Description("Status helps to identify if this marketing activity has been completed, queued, failed etc.")] - public enum MarketingActivityStatus - { + [Description("Status helps to identify if this marketing activity has been completed, queued, failed etc.")] + public enum MarketingActivityStatus + { /// ///This marketing activity is currently running. /// - [Description("This marketing activity is currently running.")] - ACTIVE, + [Description("This marketing activity is currently running.")] + ACTIVE, /// ///This marketing activity is permanently unavailable. /// - [Description("This marketing activity is permanently unavailable.")] - DELETED, + [Description("This marketing activity is permanently unavailable.")] + DELETED, /// ///This marketing activity was deleted and it was triggered from outside of Shopify. /// - [Description("This marketing activity was deleted and it was triggered from outside of Shopify.")] - DELETED_EXTERNALLY, + [Description("This marketing activity was deleted and it was triggered from outside of Shopify.")] + DELETED_EXTERNALLY, /// ///This marketing activity is disconnected and no longer editable. /// - [Description("This marketing activity is disconnected and no longer editable.")] - DISCONNECTED, + [Description("This marketing activity is disconnected and no longer editable.")] + DISCONNECTED, /// ///This marketing activity has been edited, but it is not yet created. /// - [Description("This marketing activity has been edited, but it is not yet created.")] - DRAFT, + [Description("This marketing activity has been edited, but it is not yet created.")] + DRAFT, /// ///This marketing activity is unable to run. /// - [Description("This marketing activity is unable to run.")] - FAILED, + [Description("This marketing activity is unable to run.")] + FAILED, /// ///This marketing activity has completed running. /// - [Description("This marketing activity has completed running.")] - INACTIVE, + [Description("This marketing activity has completed running.")] + INACTIVE, /// ///This marketing activity is currently not running. /// - [Description("This marketing activity is currently not running.")] - PAUSED, + [Description("This marketing activity is currently not running.")] + PAUSED, /// ///This marketing activity is pending creation on the app's marketing platform. /// - [Description("This marketing activity is pending creation on the app's marketing platform.")] - PENDING, + [Description("This marketing activity is pending creation on the app's marketing platform.")] + PENDING, /// ///This marketing activity is scheduled to run. /// - [Description("This marketing activity is scheduled to run.")] - SCHEDULED, + [Description("This marketing activity is scheduled to run.")] + SCHEDULED, /// ///The marketing activity's status is unknown. /// - [Description("The marketing activity's status is unknown.")] - UNDEFINED, - } - - public static class MarketingActivityStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string DELETED = @"DELETED"; - public const string DELETED_EXTERNALLY = @"DELETED_EXTERNALLY"; - public const string DISCONNECTED = @"DISCONNECTED"; - public const string DRAFT = @"DRAFT"; - public const string FAILED = @"FAILED"; - public const string INACTIVE = @"INACTIVE"; - public const string PAUSED = @"PAUSED"; - public const string PENDING = @"PENDING"; - public const string SCHEDULED = @"SCHEDULED"; - public const string UNDEFINED = @"UNDEFINED"; - } - + [Description("The marketing activity's status is unknown.")] + UNDEFINED, + } + + public static class MarketingActivityStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string DELETED = @"DELETED"; + public const string DELETED_EXTERNALLY = @"DELETED_EXTERNALLY"; + public const string DISCONNECTED = @"DISCONNECTED"; + public const string DRAFT = @"DRAFT"; + public const string FAILED = @"FAILED"; + public const string INACTIVE = @"INACTIVE"; + public const string PAUSED = @"PAUSED"; + public const string PENDING = @"PENDING"; + public const string SCHEDULED = @"SCHEDULED"; + public const string UNDEFINED = @"UNDEFINED"; + } + /// ///StatusBadgeType helps to identify the color of the status badge. /// - [Description("StatusBadgeType helps to identify the color of the status badge.")] - public enum MarketingActivityStatusBadgeType - { + [Description("StatusBadgeType helps to identify the color of the status badge.")] + public enum MarketingActivityStatusBadgeType + { /// ///This status badge has type default. /// - [Description("This status badge has type default.")] - DEFAULT, + [Description("This status badge has type default.")] + DEFAULT, /// ///This status badge has type success. /// - [Description("This status badge has type success.")] - SUCCESS, + [Description("This status badge has type success.")] + SUCCESS, /// ///This status badge has type attention. /// - [Description("This status badge has type attention.")] - ATTENTION, + [Description("This status badge has type attention.")] + ATTENTION, /// ///This status badge has type warning. /// - [Description("This status badge has type warning.")] - WARNING, + [Description("This status badge has type warning.")] + WARNING, /// ///This status badge has type info. /// - [Description("This status badge has type info.")] - INFO, + [Description("This status badge has type info.")] + INFO, /// ///This status badge has type critical. /// - [Description("This status badge has type critical.")] - CRITICAL, - } - - public static class MarketingActivityStatusBadgeTypeStringValues - { - public const string DEFAULT = @"DEFAULT"; - public const string SUCCESS = @"SUCCESS"; - public const string ATTENTION = @"ATTENTION"; - public const string WARNING = @"WARNING"; - public const string INFO = @"INFO"; - public const string CRITICAL = @"CRITICAL"; - } - + [Description("This status badge has type critical.")] + CRITICAL, + } + + public static class MarketingActivityStatusBadgeTypeStringValues + { + public const string DEFAULT = @"DEFAULT"; + public const string SUCCESS = @"SUCCESS"; + public const string ATTENTION = @"ATTENTION"; + public const string WARNING = @"WARNING"; + public const string INFO = @"INFO"; + public const string CRITICAL = @"CRITICAL"; + } + /// ///The input fields required to update an externally managed marketing activity. /// - [Description("The input fields required to update an externally managed marketing activity.")] - public class MarketingActivityUpdateExternalInput : GraphQLObject - { + [Description("The input fields required to update an externally managed marketing activity.")] + public class MarketingActivityUpdateExternalInput : GraphQLObject + { /// ///The title of the marketing activity. /// - [Description("The title of the marketing activity.")] - public string? title { get; set; } - + [Description("The title of the marketing activity.")] + public string? title { get; set; } + /// ///The budget for this marketing activity. /// - [Description("The budget for this marketing activity.")] - public MarketingActivityBudgetInput? budget { get; set; } - + [Description("The budget for this marketing activity.")] + public MarketingActivityBudgetInput? budget { get; set; } + /// ///The amount spent on the marketing activity. /// - [Description("The amount spent on the marketing activity.")] - public MoneyInput? adSpend { get; set; } - + [Description("The amount spent on the marketing activity.")] + public MoneyInput? adSpend { get; set; } + /// ///The URL for viewing and/or managing the activity outside of Shopify. /// - [Description("The URL for viewing and/or managing the activity outside of Shopify.")] - public string? remoteUrl { get; set; } - + [Description("The URL for viewing and/or managing the activity outside of Shopify.")] + public string? remoteUrl { get; set; } + /// ///The URL for a preview image that's used for the marketing activity. /// - [Description("The URL for a preview image that's used for the marketing activity.")] - public string? remotePreviewImageUrl { get; set; } - + [Description("The URL for a preview image that's used for the marketing activity.")] + public string? remotePreviewImageUrl { get; set; } + /// ///The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity. /// - [Description("The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity.")] - [EnumType(typeof(MarketingTactic))] - public string? tactic { get; set; } - + [Description("The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity.")] + [EnumType(typeof(MarketingTactic))] + public string? tactic { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [Obsolete("This field was renamed for clarity, please switch to using marketingChannelType when migrating to the latest API version.")] - [EnumType(typeof(MarketingChannel))] - public string? channel { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [Obsolete("This field was renamed for clarity, please switch to using marketingChannelType when migrating to the latest API version.")] + [EnumType(typeof(MarketingChannel))] + public string? channel { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [EnumType(typeof(MarketingChannel))] - public string? marketingChannelType { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [EnumType(typeof(MarketingChannel))] + public string? marketingChannelType { get; set; } + /// ///The domain from which ad clicks are forwarded to the shop. /// - [Description("The domain from which ad clicks are forwarded to the shop.")] - public string? referringDomain { get; set; } - + [Description("The domain from which ad clicks are forwarded to the shop.")] + public string? referringDomain { get; set; } + /// ///The date and time at which the activity is scheduled to start. /// - [Description("The date and time at which the activity is scheduled to start.")] - public DateTime? scheduledStart { get; set; } - + [Description("The date and time at which the activity is scheduled to start.")] + public DateTime? scheduledStart { get; set; } + /// ///The date and time at which the activity is scheduled to end. /// - [Description("The date and time at which the activity is scheduled to end.")] - public DateTime? scheduledEnd { get; set; } - + [Description("The date and time at which the activity is scheduled to end.")] + public DateTime? scheduledEnd { get; set; } + /// ///The date and time at which the activity started. /// - [Description("The date and time at which the activity started.")] - public DateTime? start { get; set; } - + [Description("The date and time at which the activity started.")] + public DateTime? start { get; set; } + /// ///The date and time at which the activity ended. /// - [Description("The date and time at which the activity ended.")] - public DateTime? end { get; set; } - + [Description("The date and time at which the activity ended.")] + public DateTime? end { get; set; } + /// ///The status of the marketing activity. /// - [Description("The status of the marketing activity.")] - [EnumType(typeof(MarketingActivityExternalStatus))] - public string? status { get; set; } - } - + [Description("The status of the marketing activity.")] + [EnumType(typeof(MarketingActivityExternalStatus))] + public string? status { get; set; } + } + /// ///Return type for `marketingActivityUpdateExternal` mutation. /// - [Description("Return type for `marketingActivityUpdateExternal` mutation.")] - public class MarketingActivityUpdateExternalPayload : GraphQLObject - { + [Description("Return type for `marketingActivityUpdateExternal` mutation.")] + public class MarketingActivityUpdateExternalPayload : GraphQLObject + { /// ///The updated marketing activity. /// - [Description("The updated marketing activity.")] - public MarketingActivity? marketingActivity { get; set; } - + [Description("The updated marketing activity.")] + public MarketingActivity? marketingActivity { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields required to update a marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future. /// - [Description("The input fields required to update a marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future.")] - public class MarketingActivityUpdateInput : GraphQLObject - { + [Description("The input fields required to update a marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future.")] + public class MarketingActivityUpdateInput : GraphQLObject + { /// ///The ID of the marketing activity. /// - [Description("The ID of the marketing activity.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the marketing activity.")] + [NonNull] + public string? id { get; set; } + /// ///The ID of the recommendation that the marketing activity was created from, if one exists. /// - [Description("The ID of the recommendation that the marketing activity was created from, if one exists.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? marketingRecommendationId { get; set; } - + [Description("The ID of the recommendation that the marketing activity was created from, if one exists.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? marketingRecommendationId { get; set; } + /// ///The title of the marketing activity. /// - [Description("The title of the marketing activity.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? title { get; set; } - + [Description("The title of the marketing activity.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? title { get; set; } + /// ///The event context of the marketing activity. The event context is relayed from /// the external editor URL. /// - [Description("The event context of the marketing activity. The event context is relayed from\n the external editor URL.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? eventContext { get; set; } - + [Description("The event context of the marketing activity. The event context is relayed from\n the external editor URL.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? eventContext { get; set; } + /// ///Whether the marketing activity uses the external editor. /// - [Description("Whether the marketing activity uses the external editor.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public bool? useExternalEditor { get; set; } - + [Description("Whether the marketing activity uses the external editor.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public bool? useExternalEditor { get; set; } + /// ///Whether the marketing activity is tracking the email open rate. /// - [Description("Whether the marketing activity is tracking the email open rate.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public bool? trackingOpens { get; set; } - + [Description("Whether the marketing activity is tracking the email open rate.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public bool? trackingOpens { get; set; } + /// ///The budget for the marketing activity. /// - [Description("The budget for the marketing activity.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public MarketingActivityBudgetInput? budget { get; set; } - + [Description("The budget for the marketing activity.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public MarketingActivityBudgetInput? budget { get; set; } + /// ///The cumulative amount spent on the marketing activity. /// - [Description("The cumulative amount spent on the marketing activity.")] - [Obsolete("Use `MarketingEngagementCreate.MarketingEngagementInput.adSpend` GraphQL to send the ad spend.")] - public MoneyInput? adSpend { get; set; } - + [Description("The cumulative amount spent on the marketing activity.")] + [Obsolete("Use `MarketingEngagementCreate.MarketingEngagementInput.adSpend` GraphQL to send the ad spend.")] + public MoneyInput? adSpend { get; set; } + /// ///The current state of the marketing activity. Learn more about ///[marketing activities statuses](/api/marketing-activities/statuses). /// - [Description("The current state of the marketing activity. Learn more about\n[marketing activities statuses](/api/marketing-activities/statuses).")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - [EnumType(typeof(MarketingActivityStatus))] - public string? status { get; set; } - + [Description("The current state of the marketing activity. Learn more about\n[marketing activities statuses](/api/marketing-activities/statuses).")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + [EnumType(typeof(MarketingActivityStatus))] + public string? status { get; set; } + /// ///The target state that the marketing activity is transitioning to. Learn more about [marketing activities statuses](/api/marketing-activities/statuses). /// - [Description("The target state that the marketing activity is transitioning to. Learn more about [marketing activities statuses](/api/marketing-activities/statuses).")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - [EnumType(typeof(MarketingActivityStatus))] - public string? targetStatus { get; set; } - + [Description("The target state that the marketing activity is transitioning to. Learn more about [marketing activities statuses](/api/marketing-activities/statuses).")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + [EnumType(typeof(MarketingActivityStatus))] + public string? targetStatus { get; set; } + /// ///The time at which the activity is scheduled to start. /// - [Description("The time at which the activity is scheduled to start.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public DateTime? scheduledToStartAt { get; set; } - + [Description("The time at which the activity is scheduled to start.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public DateTime? scheduledToStartAt { get; set; } + /// ///The time at which the activity is scheduled to end. /// - [Description("The time at which the activity is scheduled to end.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public DateTime? scheduledToEndAt { get; set; } - + [Description("The time at which the activity is scheduled to end.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public DateTime? scheduledToEndAt { get; set; } + /// ///The form data of the marketing activity. This is only used if the marketing activity is /// integrated with the external editor. /// - [Description("The form data of the marketing activity. This is only used if the marketing activity is\n integrated with the external editor.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? formData { get; set; } - + [Description("The form data of the marketing activity. This is only used if the marketing activity is\n integrated with the external editor.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? formData { get; set; } + /// ///Specifies the ///[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) ///that are associated with a related marketing campaign. UTMInput is required for all Marketing ///tactics except Storefront App. The utm field can only be set once and never modified. /// - [Description("Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. UTMInput is required for all Marketing\ntactics except Storefront App. The utm field can only be set once and never modified.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public UTMInput? utm { get; set; } - + [Description("Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign. UTMInput is required for all Marketing\ntactics except Storefront App. The utm field can only be set once and never modified.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public UTMInput? utm { get; set; } + /// ///Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set. /// - [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? urlParameterValue { get; set; } - + [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? urlParameterValue { get; set; } + /// ///A list of the item IDs that were marketed in this marketing activity. Valid types for these items are: ///* `Product` ///* `Shop` /// - [Description("A list of the item IDs that were marketed in this marketing activity. Valid types for these items are:\n* `Product`\n* `Shop`")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public IEnumerable? marketedResources { get; set; } - + [Description("A list of the item IDs that were marketed in this marketing activity. Valid types for these items are:\n* `Product`\n* `Shop`")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public IEnumerable? marketedResources { get; set; } + /// ///Encoded context provided by Shopify during the update marketing activity callback. /// - [Description("Encoded context provided by Shopify during the update marketing activity callback.")] - [Obsolete("This context is no longer needed by Shopify in the callback.")] - public string? context { get; set; } - + [Description("Encoded context provided by Shopify during the update marketing activity callback.")] + [Obsolete("This context is no longer needed by Shopify in the callback.")] + public string? context { get; set; } + /// ///The error messages that were generated when the app was trying to complete the activity. ///Learn more about the ///[JSON format expected for error messages](/api/marketing-activities/statuses#failed-status). /// - [Description("The error messages that were generated when the app was trying to complete the activity.\nLearn more about the\n[JSON format expected for error messages](/api/marketing-activities/statuses#failed-status).")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public string? errors { get; set; } - + [Description("The error messages that were generated when the app was trying to complete the activity.\nLearn more about the\n[JSON format expected for error messages](/api/marketing-activities/statuses#failed-status).")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public string? errors { get; set; } + /// ///The time at which the most recent error occurred. /// - [Description("The time at which the most recent error occurred.")] - [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] - public DateTime? errorOccurredAt { get; set; } - } - + [Description("The time at which the most recent error occurred.")] + [Obsolete("Marketing activity app extensions are deprecated and will be removed in the near future.")] + public DateTime? errorOccurredAt { get; set; } + } + /// ///Return type for `marketingActivityUpdate` mutation. /// - [Description("Return type for `marketingActivityUpdate` mutation.")] - public class MarketingActivityUpdatePayload : GraphQLObject - { + [Description("Return type for `marketingActivityUpdate` mutation.")] + public class MarketingActivityUpdatePayload : GraphQLObject + { /// ///The updated marketing activity. /// - [Description("The updated marketing activity.")] - public MarketingActivity? marketingActivity { get; set; } - + [Description("The updated marketing activity.")] + public MarketingActivity? marketingActivity { get; set; } + /// ///The redirect path from the embedded editor to the Shopify admin. /// - [Description("The redirect path from the embedded editor to the Shopify admin.")] - public string? redirectPath { get; set; } - + [Description("The redirect path from the embedded editor to the Shopify admin.")] + public string? redirectPath { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for creating or updating an externally-managed marketing activity. /// - [Description("The input fields for creating or updating an externally-managed marketing activity.")] - public class MarketingActivityUpsertExternalInput : GraphQLObject - { + [Description("The input fields for creating or updating an externally-managed marketing activity.")] + public class MarketingActivityUpsertExternalInput : GraphQLObject + { /// ///The title of the marketing activity. /// - [Description("The title of the marketing activity.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the marketing activity.")] + [NonNull] + public string? title { get; set; } + /// ///Specifies the [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) that are associated with a related marketing campaign. Either the URL parameter value or UTM can be set, but not both. /// - [Description("Specifies the [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) that are associated with a related marketing campaign. Either the URL parameter value or UTM can be set, but not both.")] - public UTMInput? utm { get; set; } - + [Description("Specifies the [Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) that are associated with a related marketing campaign. Either the URL parameter value or UTM can be set, but not both.")] + public UTMInput? utm { get; set; } + /// ///The budget for this marketing activity. /// - [Description("The budget for this marketing activity.")] - public MarketingActivityBudgetInput? budget { get; set; } - + [Description("The budget for this marketing activity.")] + public MarketingActivityBudgetInput? budget { get; set; } + /// ///The amount spent on the marketing activity. /// - [Description("The amount spent on the marketing activity.")] - public MoneyInput? adSpend { get; set; } - + [Description("The amount spent on the marketing activity.")] + public MoneyInput? adSpend { get; set; } + /// ///A custom unique identifier for the marketing activity, which can be used to manage the activity and send engagement metrics without having to store our marketing activity ID in your systems. /// - [Description("A custom unique identifier for the marketing activity, which can be used to manage the activity and send engagement metrics without having to store our marketing activity ID in your systems.")] - [NonNull] - public string? remoteId { get; set; } - + [Description("A custom unique identifier for the marketing activity, which can be used to manage the activity and send engagement metrics without having to store our marketing activity ID in your systems.")] + [NonNull] + public string? remoteId { get; set; } + /// ///The status of the marketing activity. /// - [Description("The status of the marketing activity.")] - [NonNull] - [EnumType(typeof(MarketingActivityExternalStatus))] - public string? status { get; set; } - + [Description("The status of the marketing activity.")] + [NonNull] + [EnumType(typeof(MarketingActivityExternalStatus))] + public string? status { get; set; } + /// ///The URL for viewing and/or managing the activity outside of Shopify. /// - [Description("The URL for viewing and/or managing the activity outside of Shopify.")] - [NonNull] - public string? remoteUrl { get; set; } - + [Description("The URL for viewing and/or managing the activity outside of Shopify.")] + [NonNull] + public string? remoteUrl { get; set; } + /// ///The URL for a preview image that's used for the marketing activity. /// - [Description("The URL for a preview image that's used for the marketing activity.")] - public string? remotePreviewImageUrl { get; set; } - + [Description("The URL for a preview image that's used for the marketing activity.")] + public string? remotePreviewImageUrl { get; set; } + /// ///The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity. /// - [Description("The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity.")] - [NonNull] - [EnumType(typeof(MarketingTactic))] - public string? tactic { get; set; } - + [Description("The method of marketing used for this marketing activity. The marketing tactic determines which default fields are included in the marketing activity.")] + [NonNull] + [EnumType(typeof(MarketingTactic))] + public string? tactic { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [NonNull] - [EnumType(typeof(MarketingChannel))] - public string? marketingChannelType { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [NonNull] + [EnumType(typeof(MarketingChannel))] + public string? marketingChannelType { get; set; } + /// ///The domain from which ad clicks are forwarded to the shop. /// - [Description("The domain from which ad clicks are forwarded to the shop.")] - public string? referringDomain { get; set; } - + [Description("The domain from which ad clicks are forwarded to the shop.")] + public string? referringDomain { get; set; } + /// ///The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager. /// - [Description("The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.")] - public string? channelHandle { get; set; } - + [Description("The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.")] + public string? channelHandle { get; set; } + /// ///The date and time at which the activity is scheduled to start. /// - [Description("The date and time at which the activity is scheduled to start.")] - public DateTime? scheduledStart { get; set; } - + [Description("The date and time at which the activity is scheduled to start.")] + public DateTime? scheduledStart { get; set; } + /// ///The date and time at which the activity is scheduled to end. /// - [Description("The date and time at which the activity is scheduled to end.")] - public DateTime? scheduledEnd { get; set; } - + [Description("The date and time at which the activity is scheduled to end.")] + public DateTime? scheduledEnd { get; set; } + /// ///The date and time at which the activity started. On creation, if this field is omitted or set to `null`, the current time will be used. /// - [Description("The date and time at which the activity started. On creation, if this field is omitted or set to `null`, the current time will be used.")] - public DateTime? start { get; set; } - + [Description("The date and time at which the activity started. On creation, if this field is omitted or set to `null`, the current time will be used.")] + public DateTime? start { get; set; } + /// ///The date and time at which the activity started. On creation, if this field is omitted or set to `null`, the current time will be used if the status is set to `INACTIVE` or `DELETED_EXTERNALLY` . /// - [Description("The date and time at which the activity started. On creation, if this field is omitted or set to `null`, the current time will be used if the status is set to `INACTIVE` or `DELETED_EXTERNALLY` .")] - public DateTime? end { get; set; } - + [Description("The date and time at which the activity started. On creation, if this field is omitted or set to `null`, the current time will be used if the status is set to `INACTIVE` or `DELETED_EXTERNALLY` .")] + public DateTime? end { get; set; } + /// ///Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set. /// - [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] - public string? urlParameterValue { get; set; } - + [Description("Value for a query parameter that gets inserted into storefront URLs for matching storefront traffic to this activity. This feature is currently available on a limited basis to some partners only. UTMs should continue to be used for most partners. Both the URL parameter value and UTM parameters can be set.")] + public string? urlParameterValue { get; set; } + /// ///The remote ID for the parent marketing activity, if creating hierarchical activities. /// - [Description("The remote ID for the parent marketing activity, if creating hierarchical activities.")] - public string? parentRemoteId { get; set; } - + [Description("The remote ID for the parent marketing activity, if creating hierarchical activities.")] + public string? parentRemoteId { get; set; } + /// ///The hierarchy level of the activity within a campaign. The hierarchy level can't be updated. /// - [Description("The hierarchy level of the activity within a campaign. The hierarchy level can't be updated.")] - [EnumType(typeof(MarketingActivityHierarchyLevel))] - public string? hierarchyLevel { get; set; } - } - + [Description("The hierarchy level of the activity within a campaign. The hierarchy level can't be updated.")] + [EnumType(typeof(MarketingActivityHierarchyLevel))] + public string? hierarchyLevel { get; set; } + } + /// ///Return type for `marketingActivityUpsertExternal` mutation. /// - [Description("Return type for `marketingActivityUpsertExternal` mutation.")] - public class MarketingActivityUpsertExternalPayload : GraphQLObject - { + [Description("Return type for `marketingActivityUpsertExternal` mutation.")] + public class MarketingActivityUpsertExternalPayload : GraphQLObject + { /// ///The external marketing activity that was created or updated. /// - [Description("The external marketing activity that was created or updated.")] - public MarketingActivity? marketingActivity { get; set; } - + [Description("The external marketing activity that was created or updated.")] + public MarketingActivity? marketingActivity { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of marketing activity and engagement mutations. /// - [Description("An error that occurs during the execution of marketing activity and engagement mutations.")] - public class MarketingActivityUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of marketing activity and engagement mutations.")] + public class MarketingActivityUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MarketingActivityUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MarketingActivityUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MarketingActivityUserError`. /// - [Description("Possible error codes that can be returned by `MarketingActivityUserError`.")] - public enum MarketingActivityUserErrorCode - { + [Description("Possible error codes that can be returned by `MarketingActivityUserError`.")] + public enum MarketingActivityUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///Marketing activity does not exist. /// - [Description("Marketing activity does not exist.")] - MARKETING_ACTIVITY_DOES_NOT_EXIST, + [Description("Marketing activity does not exist.")] + MARKETING_ACTIVITY_DOES_NOT_EXIST, /// ///A marketing activity with the same remote ID already exists. /// - [Description("A marketing activity with the same remote ID already exists.")] - MARKETING_ACTIVITY_WITH_REMOTE_ID_ALREADY_EXISTS, + [Description("A marketing activity with the same remote ID already exists.")] + MARKETING_ACTIVITY_WITH_REMOTE_ID_ALREADY_EXISTS, /// ///A marketing activity with the same UTM campaign, medium, and source already exists. /// - [Description("A marketing activity with the same UTM campaign, medium, and source already exists.")] - MARKETING_ACTIVITY_WITH_UTM_CAMPAIGN_ALREADY_EXISTS, + [Description("A marketing activity with the same UTM campaign, medium, and source already exists.")] + MARKETING_ACTIVITY_WITH_UTM_CAMPAIGN_ALREADY_EXISTS, /// ///A marketing activity with the same URL parameter value already exists. /// - [Description("A marketing activity with the same URL parameter value already exists.")] - MARKETING_ACTIVITY_WITH_URL_PARAMETER_VALUE_ALREADY_EXISTS, + [Description("A marketing activity with the same URL parameter value already exists.")] + MARKETING_ACTIVITY_WITH_URL_PARAMETER_VALUE_ALREADY_EXISTS, /// ///Marketing activity is not valid, the associated marketing event does not exist. /// - [Description("Marketing activity is not valid, the associated marketing event does not exist.")] - MARKETING_EVENT_DOES_NOT_EXIST, + [Description("Marketing activity is not valid, the associated marketing event does not exist.")] + MARKETING_EVENT_DOES_NOT_EXIST, /// ///All currency codes provided in the input need to match. /// - [Description("All currency codes provided in the input need to match.")] - CURRENCY_CODE_MISMATCH_INPUT, + [Description("All currency codes provided in the input need to match.")] + CURRENCY_CODE_MISMATCH_INPUT, /// ///The currency codes provided need to match the referenced marketing activity's currency code. /// - [Description("The currency codes provided need to match the referenced marketing activity's currency code.")] - MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH, + [Description("The currency codes provided need to match the referenced marketing activity's currency code.")] + MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH, /// ///The job to delete all external activities failed to enqueue. /// - [Description("The job to delete all external activities failed to enqueue.")] - DELETE_JOB_FAILED_TO_ENQUEUE, + [Description("The job to delete all external activities failed to enqueue.")] + DELETE_JOB_FAILED_TO_ENQUEUE, /// ///Non-hierarchical marketing activities must have UTM parameters or a URL parameter value. /// - [Description("Non-hierarchical marketing activities must have UTM parameters or a URL parameter value.")] - NON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETER, + [Description("Non-hierarchical marketing activities must have UTM parameters or a URL parameter value.")] + NON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETER, /// ///A mutation can not be ran because a job to delete all external activities has been enqueued, which happens either from calling the marketingActivitiesDeleteAllExternal mutation or as a result of an app uninstall. /// - [Description("A mutation can not be ran because a job to delete all external activities has been enqueued, which happens either from calling the marketingActivitiesDeleteAllExternal mutation or as a result of an app uninstall.")] - DELETE_JOB_ENQUEUED, + [Description("A mutation can not be ran because a job to delete all external activities has been enqueued, which happens either from calling the marketingActivitiesDeleteAllExternal mutation or as a result of an app uninstall.")] + DELETE_JOB_ENQUEUED, /// ///The marketing activity must be an external activity. /// - [Description("The marketing activity must be an external activity.")] - ACTIVITY_NOT_EXTERNAL, + [Description("The marketing activity must be an external activity.")] + ACTIVITY_NOT_EXTERNAL, /// ///The channel handle value cannot be modified. /// - [Description("The channel handle value cannot be modified.")] - IMMUTABLE_CHANNEL_HANDLE, + [Description("The channel handle value cannot be modified.")] + IMMUTABLE_CHANNEL_HANDLE, /// ///The URL parameter value cannot be modified. /// - [Description("The URL parameter value cannot be modified.")] - IMMUTABLE_URL_PARAMETER, + [Description("The URL parameter value cannot be modified.")] + IMMUTABLE_URL_PARAMETER, /// ///The UTM parameters cannot be modified. /// - [Description("The UTM parameters cannot be modified.")] - IMMUTABLE_UTM_PARAMETERS, + [Description("The UTM parameters cannot be modified.")] + IMMUTABLE_UTM_PARAMETERS, /// ///The parent activity cannot be modified. /// - [Description("The parent activity cannot be modified.")] - IMMUTABLE_PARENT_ID, + [Description("The parent activity cannot be modified.")] + IMMUTABLE_PARENT_ID, /// ///The hierarchy level cannot be modified. /// - [Description("The hierarchy level cannot be modified.")] - IMMUTABLE_HIERARCHY_LEVEL, + [Description("The hierarchy level cannot be modified.")] + IMMUTABLE_HIERARCHY_LEVEL, /// ///The remote ID does not correspond to an existing activity. /// - [Description("The remote ID does not correspond to an existing activity.")] - INVALID_REMOTE_ID, + [Description("The remote ID does not correspond to an existing activity.")] + INVALID_REMOTE_ID, /// ///The channel handle is not recognized. /// - [Description("The channel handle is not recognized.")] - INVALID_CHANNEL_HANDLE, + [Description("The channel handle is not recognized.")] + INVALID_CHANNEL_HANDLE, /// ///Either the marketing activity ID or remote ID must be provided for the activity to be deleted. /// - [Description("Either the marketing activity ID or remote ID must be provided for the activity to be deleted.")] - INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS, + [Description("Either the marketing activity ID or remote ID must be provided for the activity to be deleted.")] + INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS, /// ///Either the channel_handle or delete_engagements_for_all_channels must be provided when deleting a marketing engagement. /// - [Description("Either the channel_handle or delete_engagements_for_all_channels must be provided when deleting a marketing engagement.")] - INVALID_DELETE_ENGAGEMENTS_ARGUMENTS, + [Description("Either the channel_handle or delete_engagements_for_all_channels must be provided when deleting a marketing engagement.")] + INVALID_DELETE_ENGAGEMENTS_ARGUMENTS, /// ///Either the marketing activity ID, remote ID, or UTM must be provided. /// - [Description("Either the marketing activity ID, remote ID, or UTM must be provided.")] - INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS, + [Description("Either the marketing activity ID, remote ID, or UTM must be provided.")] + INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS, /// ///For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided. /// - [Description("For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided.")] - INVALID_MARKETING_ENGAGEMENT_ARGUMENTS, + [Description("For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided.")] + INVALID_MARKETING_ENGAGEMENT_ARGUMENTS, /// ///No identifier found. For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided. /// - [Description("No identifier found. For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided.")] - INVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSING, + [Description("No identifier found. For activity level engagement, either the marketing activity ID or remote ID must be provided. For channel level engagement, the channel handle must be provided.")] + INVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSING, /// ///This activity has child activities and thus cannot be deleted. Child activities must be deleted before a parent activity. /// - [Description("This activity has child activities and thus cannot be deleted. Child activities must be deleted before a parent activity.")] - CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS, + [Description("This activity has child activities and thus cannot be deleted. Child activities must be deleted before a parent activity.")] + CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS, /// ///The activity's tactic can not be updated to STOREFRONT_APP. This type of tactic can only be specified when creating a new activity. /// - [Description("The activity's tactic can not be updated to STOREFRONT_APP. This type of tactic can only be specified when creating a new activity.")] - CANNOT_UPDATE_TACTIC_TO_STOREFRONT_APP, + [Description("The activity's tactic can not be updated to STOREFRONT_APP. This type of tactic can only be specified when creating a new activity.")] + CANNOT_UPDATE_TACTIC_TO_STOREFRONT_APP, /// ///The activity's tactic can not be updated from STOREFRONT_APP. /// - [Description("The activity's tactic can not be updated from STOREFRONT_APP.")] - CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP, - } - - public static class MarketingActivityUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - public const string MARKETING_ACTIVITY_DOES_NOT_EXIST = @"MARKETING_ACTIVITY_DOES_NOT_EXIST"; - public const string MARKETING_ACTIVITY_WITH_REMOTE_ID_ALREADY_EXISTS = @"MARKETING_ACTIVITY_WITH_REMOTE_ID_ALREADY_EXISTS"; - public const string MARKETING_ACTIVITY_WITH_UTM_CAMPAIGN_ALREADY_EXISTS = @"MARKETING_ACTIVITY_WITH_UTM_CAMPAIGN_ALREADY_EXISTS"; - public const string MARKETING_ACTIVITY_WITH_URL_PARAMETER_VALUE_ALREADY_EXISTS = @"MARKETING_ACTIVITY_WITH_URL_PARAMETER_VALUE_ALREADY_EXISTS"; - public const string MARKETING_EVENT_DOES_NOT_EXIST = @"MARKETING_EVENT_DOES_NOT_EXIST"; - public const string CURRENCY_CODE_MISMATCH_INPUT = @"CURRENCY_CODE_MISMATCH_INPUT"; - public const string MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH = @"MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH"; - public const string DELETE_JOB_FAILED_TO_ENQUEUE = @"DELETE_JOB_FAILED_TO_ENQUEUE"; - public const string NON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETER = @"NON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETER"; - public const string DELETE_JOB_ENQUEUED = @"DELETE_JOB_ENQUEUED"; - public const string ACTIVITY_NOT_EXTERNAL = @"ACTIVITY_NOT_EXTERNAL"; - public const string IMMUTABLE_CHANNEL_HANDLE = @"IMMUTABLE_CHANNEL_HANDLE"; - public const string IMMUTABLE_URL_PARAMETER = @"IMMUTABLE_URL_PARAMETER"; - public const string IMMUTABLE_UTM_PARAMETERS = @"IMMUTABLE_UTM_PARAMETERS"; - public const string IMMUTABLE_PARENT_ID = @"IMMUTABLE_PARENT_ID"; - public const string IMMUTABLE_HIERARCHY_LEVEL = @"IMMUTABLE_HIERARCHY_LEVEL"; - public const string INVALID_REMOTE_ID = @"INVALID_REMOTE_ID"; - public const string INVALID_CHANNEL_HANDLE = @"INVALID_CHANNEL_HANDLE"; - public const string INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS = @"INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS"; - public const string INVALID_DELETE_ENGAGEMENTS_ARGUMENTS = @"INVALID_DELETE_ENGAGEMENTS_ARGUMENTS"; - public const string INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS = @"INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS"; - public const string INVALID_MARKETING_ENGAGEMENT_ARGUMENTS = @"INVALID_MARKETING_ENGAGEMENT_ARGUMENTS"; - public const string INVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSING = @"INVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSING"; - public const string CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS = @"CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS"; - public const string CANNOT_UPDATE_TACTIC_TO_STOREFRONT_APP = @"CANNOT_UPDATE_TACTIC_TO_STOREFRONT_APP"; - public const string CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP = @"CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP"; - } - + [Description("The activity's tactic can not be updated from STOREFRONT_APP.")] + CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP, + } + + public static class MarketingActivityUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + public const string MARKETING_ACTIVITY_DOES_NOT_EXIST = @"MARKETING_ACTIVITY_DOES_NOT_EXIST"; + public const string MARKETING_ACTIVITY_WITH_REMOTE_ID_ALREADY_EXISTS = @"MARKETING_ACTIVITY_WITH_REMOTE_ID_ALREADY_EXISTS"; + public const string MARKETING_ACTIVITY_WITH_UTM_CAMPAIGN_ALREADY_EXISTS = @"MARKETING_ACTIVITY_WITH_UTM_CAMPAIGN_ALREADY_EXISTS"; + public const string MARKETING_ACTIVITY_WITH_URL_PARAMETER_VALUE_ALREADY_EXISTS = @"MARKETING_ACTIVITY_WITH_URL_PARAMETER_VALUE_ALREADY_EXISTS"; + public const string MARKETING_EVENT_DOES_NOT_EXIST = @"MARKETING_EVENT_DOES_NOT_EXIST"; + public const string CURRENCY_CODE_MISMATCH_INPUT = @"CURRENCY_CODE_MISMATCH_INPUT"; + public const string MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH = @"MARKETING_ACTIVITY_CURRENCY_CODE_MISMATCH"; + public const string DELETE_JOB_FAILED_TO_ENQUEUE = @"DELETE_JOB_FAILED_TO_ENQUEUE"; + public const string NON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETER = @"NON_HIERARCHIAL_REQUIRES_UTM_URL_PARAMETER"; + public const string DELETE_JOB_ENQUEUED = @"DELETE_JOB_ENQUEUED"; + public const string ACTIVITY_NOT_EXTERNAL = @"ACTIVITY_NOT_EXTERNAL"; + public const string IMMUTABLE_CHANNEL_HANDLE = @"IMMUTABLE_CHANNEL_HANDLE"; + public const string IMMUTABLE_URL_PARAMETER = @"IMMUTABLE_URL_PARAMETER"; + public const string IMMUTABLE_UTM_PARAMETERS = @"IMMUTABLE_UTM_PARAMETERS"; + public const string IMMUTABLE_PARENT_ID = @"IMMUTABLE_PARENT_ID"; + public const string IMMUTABLE_HIERARCHY_LEVEL = @"IMMUTABLE_HIERARCHY_LEVEL"; + public const string INVALID_REMOTE_ID = @"INVALID_REMOTE_ID"; + public const string INVALID_CHANNEL_HANDLE = @"INVALID_CHANNEL_HANDLE"; + public const string INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS = @"INVALID_DELETE_ACTIVITY_EXTERNAL_ARGUMENTS"; + public const string INVALID_DELETE_ENGAGEMENTS_ARGUMENTS = @"INVALID_DELETE_ENGAGEMENTS_ARGUMENTS"; + public const string INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS = @"INVALID_MARKETING_ACTIVITY_EXTERNAL_ARGUMENTS"; + public const string INVALID_MARKETING_ENGAGEMENT_ARGUMENTS = @"INVALID_MARKETING_ENGAGEMENT_ARGUMENTS"; + public const string INVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSING = @"INVALID_MARKETING_ENGAGEMENT_ARGUMENT_MISSING"; + public const string CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS = @"CANNOT_DELETE_ACTIVITY_WITH_CHILD_EVENTS"; + public const string CANNOT_UPDATE_TACTIC_TO_STOREFRONT_APP = @"CANNOT_UPDATE_TACTIC_TO_STOREFRONT_APP"; + public const string CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP = @"CANNOT_UPDATE_TACTIC_IF_ORIGINALLY_STOREFRONT_APP"; + } + /// ///This type combines budget amount and its marketing budget type. /// - [Description("This type combines budget amount and its marketing budget type.")] - public class MarketingBudget : GraphQLObject - { + [Description("This type combines budget amount and its marketing budget type.")] + public class MarketingBudget : GraphQLObject + { /// ///The budget type for a marketing activity. /// - [Description("The budget type for a marketing activity.")] - [NonNull] - [EnumType(typeof(MarketingBudgetBudgetType))] - public string? budgetType { get; set; } - + [Description("The budget type for a marketing activity.")] + [NonNull] + [EnumType(typeof(MarketingBudgetBudgetType))] + public string? budgetType { get; set; } + /// ///The amount of budget for marketing activity. /// - [Description("The amount of budget for marketing activity.")] - [NonNull] - public MoneyV2? total { get; set; } - } - + [Description("The amount of budget for marketing activity.")] + [NonNull] + public MoneyV2? total { get; set; } + } + /// ///The budget type for a marketing activity. /// - [Description("The budget type for a marketing activity.")] - public enum MarketingBudgetBudgetType - { + [Description("The budget type for a marketing activity.")] + public enum MarketingBudgetBudgetType + { /// ///A daily budget. /// - [Description("A daily budget.")] - DAILY, + [Description("A daily budget.")] + DAILY, /// ///A budget for the lifetime of a marketing activity. /// - [Description("A budget for the lifetime of a marketing activity.")] - LIFETIME, - } - - public static class MarketingBudgetBudgetTypeStringValues - { - public const string DAILY = @"DAILY"; - public const string LIFETIME = @"LIFETIME"; - } - + [Description("A budget for the lifetime of a marketing activity.")] + LIFETIME, + } + + public static class MarketingBudgetBudgetTypeStringValues + { + public const string DAILY = @"DAILY"; + public const string LIFETIME = @"LIFETIME"; + } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - public enum MarketingChannel - { + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + public enum MarketingChannel + { /// ///Paid search. /// - [Description("Paid search.")] - SEARCH, + [Description("Paid search.")] + SEARCH, /// ///Displayed ads. /// - [Description("Displayed ads.")] - DISPLAY, + [Description("Displayed ads.")] + DISPLAY, /// ///Social media. /// - [Description("Social media.")] - SOCIAL, + [Description("Social media.")] + SOCIAL, /// ///Email. /// - [Description("Email.")] - EMAIL, + [Description("Email.")] + EMAIL, /// ///Referral links. /// - [Description("Referral links.")] - REFERRAL, - } - - public static class MarketingChannelStringValues - { - public const string SEARCH = @"SEARCH"; - public const string DISPLAY = @"DISPLAY"; - public const string SOCIAL = @"SOCIAL"; - public const string EMAIL = @"EMAIL"; - public const string REFERRAL = @"REFERRAL"; - } - + [Description("Referral links.")] + REFERRAL, + } + + public static class MarketingChannelStringValues + { + public const string SEARCH = @"SEARCH"; + public const string DISPLAY = @"DISPLAY"; + public const string SOCIAL = @"SOCIAL"; + public const string EMAIL = @"EMAIL"; + public const string REFERRAL = @"REFERRAL"; + } + /// ///Marketing engagement represents customer activity taken on a marketing activity or a marketing channel. /// - [Description("Marketing engagement represents customer activity taken on a marketing activity or a marketing channel.")] - public class MarketingEngagement : GraphQLObject - { + [Description("Marketing engagement represents customer activity taken on a marketing activity or a marketing channel.")] + public class MarketingEngagement : GraphQLObject + { /// ///The total ad spend for the marketing content. Recurring weekly, monthly, or yearly spend needs to be divided into daily amounts. /// - [Description("The total ad spend for the marketing content. Recurring weekly, monthly, or yearly spend needs to be divided into daily amounts.")] - public MoneyV2? adSpend { get; set; } - + [Description("The total ad spend for the marketing content. Recurring weekly, monthly, or yearly spend needs to be divided into daily amounts.")] + public MoneyV2? adSpend { get; set; } + /// ///The unique string identifier of the channel to which the engagement metrics are being provided. This should be set when and only when providing channel-level engagements. This should be nil when providing activity-level engagements. For the correct handle for your channel, contact your partner manager. /// - [Description("The unique string identifier of the channel to which the engagement metrics are being provided. This should be set when and only when providing channel-level engagements. This should be nil when providing activity-level engagements. For the correct handle for your channel, contact your partner manager.")] - public string? channelHandle { get; set; } - + [Description("The unique string identifier of the channel to which the engagement metrics are being provided. This should be set when and only when providing channel-level engagements. This should be nil when providing activity-level engagements. For the correct handle for your channel, contact your partner manager.")] + public string? channelHandle { get; set; } + /// ///The total number of interactions, such as a button press or a screen touch, that occurred on the marketing content. /// - [Description("The total number of interactions, such as a button press or a screen touch, that occurred on the marketing content.")] - public int? clicksCount { get; set; } - + [Description("The total number of interactions, such as a button press or a screen touch, that occurred on the marketing content.")] + public int? clicksCount { get; set; } + /// ///The total number of comments on the marketing content. /// - [Description("The total number of comments on the marketing content.")] - public int? commentsCount { get; set; } - + [Description("The total number of comments on the marketing content.")] + public int? commentsCount { get; set; } + /// ///The total number of complaints on the marketing content. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were marked as spam. For social media platforms, this represents the number of dislikes or the number of times marketing content was reported. /// - [Description("The total number of complaints on the marketing content. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were marked as spam. For social media platforms, this represents the number of dislikes or the number of times marketing content was reported.")] - public int? complaintsCount { get; set; } - + [Description("The total number of complaints on the marketing content. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were marked as spam. For social media platforms, this represents the number of dislikes or the number of times marketing content was reported.")] + public int? complaintsCount { get; set; } + /// ///The total number of fails for the marketing content. For message-based platforms such as email or SMS, this represents the number of bounced marketing emails or messages. /// - [Description("The total number of fails for the marketing content. For message-based platforms such as email or SMS, this represents the number of bounced marketing emails or messages.")] - public int? failsCount { get; set; } - + [Description("The total number of fails for the marketing content. For message-based platforms such as email or SMS, this represents the number of bounced marketing emails or messages.")] + public int? failsCount { get; set; } + /// ///The total number of favorites, likes, saves, or bookmarks on the marketing content. /// - [Description("The total number of favorites, likes, saves, or bookmarks on the marketing content.")] - public int? favoritesCount { get; set; } - + [Description("The total number of favorites, likes, saves, or bookmarks on the marketing content.")] + public int? favoritesCount { get; set; } + /// ///The number of customers that have placed their first order. Doesn't include adjustments such as edits, exchanges, or returns. /// - [Description("The number of customers that have placed their first order. Doesn't include adjustments such as edits, exchanges, or returns.")] - public decimal? firstTimeCustomers { get; set; } - + [Description("The number of customers that have placed their first order. Doesn't include adjustments such as edits, exchanges, or returns.")] + public decimal? firstTimeCustomers { get; set; } + /// ///The total number of times marketing content was displayed to users, whether or not an interaction occurred. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were delivered. /// - [Description("The total number of times marketing content was displayed to users, whether or not an interaction occurred. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were delivered.")] - public int? impressionsCount { get; set; } - + [Description("The total number of times marketing content was displayed to users, whether or not an interaction occurred. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were delivered.")] + public int? impressionsCount { get; set; } + /// ///Specifies how the provided metrics have been aggregated. Cumulative metrics are aggregated from the first day of reporting up to and including `occuredOn`. Non-cumulative metrics are aggregated over the single day indicated in `occuredOn`. Cumulative metrics will monotonically increase in time as each record includes the previous day's values, and so on. Non-cumulative is strongly preferred, and support for cumulative metrics may be deprecated in the future. /// - [Description("Specifies how the provided metrics have been aggregated. Cumulative metrics are aggregated from the first day of reporting up to and including `occuredOn`. Non-cumulative metrics are aggregated over the single day indicated in `occuredOn`. Cumulative metrics will monotonically increase in time as each record includes the previous day's values, and so on. Non-cumulative is strongly preferred, and support for cumulative metrics may be deprecated in the future.")] - [NonNull] - public bool? isCumulative { get; set; } - + [Description("Specifies how the provided metrics have been aggregated. Cumulative metrics are aggregated from the first day of reporting up to and including `occuredOn`. Non-cumulative metrics are aggregated over the single day indicated in `occuredOn`. Cumulative metrics will monotonically increase in time as each record includes the previous day's values, and so on. Non-cumulative is strongly preferred, and support for cumulative metrics may be deprecated in the future.")] + [NonNull] + public bool? isCumulative { get; set; } + /// ///The marketing activity object related to this engagement. This corresponds to the marketingActivityId passed in on creation of the engagement. /// - [Description("The marketing activity object related to this engagement. This corresponds to the marketingActivityId passed in on creation of the engagement.")] - public MarketingActivity? marketingActivity { get; set; } - + [Description("The marketing activity object related to this engagement. This corresponds to the marketingActivityId passed in on creation of the engagement.")] + public MarketingActivity? marketingActivity { get; set; } + /// ///The calendar date (in the time zone offset specified by the utcOffset field) for which the metrics are being reported. For example, a shop in UTC-5 would set utcOffset="-05:00" and aggregate all engagements from 05:00:00Z up to 29:00:00Z (5am UTC next day) for each call. /// - [Description("The calendar date (in the time zone offset specified by the utcOffset field) for which the metrics are being reported. For example, a shop in UTC-5 would set utcOffset=\"-05:00\" and aggregate all engagements from 05:00:00Z up to 29:00:00Z (5am UTC next day) for each call.")] - [NonNull] - public DateOnly? occurredOn { get; set; } - + [Description("The calendar date (in the time zone offset specified by the utcOffset field) for which the metrics are being reported. For example, a shop in UTC-5 would set utcOffset=\"-05:00\" and aggregate all engagements from 05:00:00Z up to 29:00:00Z (5am UTC next day) for each call.")] + [NonNull] + public DateOnly? occurredOn { get; set; } + /// ///The number of orders generated from the marketing content. /// - [Description("The number of orders generated from the marketing content.")] - public decimal? orders { get; set; } - + [Description("The number of orders generated from the marketing content.")] + public decimal? orders { get; set; } + /// ///The number of returning customers that have placed an order. Doesn't include adjustments such as edits, exchanges, or returns. /// - [Description("The number of returning customers that have placed an order. Doesn't include adjustments such as edits, exchanges, or returns.")] - public decimal? returningCustomers { get; set; } - + [Description("The number of returning customers that have placed an order. Doesn't include adjustments such as edits, exchanges, or returns.")] + public decimal? returningCustomers { get; set; } + /// ///The amount of sales generated from the marketing content. /// - [Description("The amount of sales generated from the marketing content.")] - public MoneyV2? sales { get; set; } - + [Description("The amount of sales generated from the marketing content.")] + public MoneyV2? sales { get; set; } + /// ///The total number of marketing emails or messages that were sent. /// - [Description("The total number of marketing emails or messages that were sent.")] - public int? sendsCount { get; set; } - + [Description("The total number of marketing emails or messages that were sent.")] + public int? sendsCount { get; set; } + /// ///The number of online store sessions generated from the marketing content. /// - [Description("The number of online store sessions generated from the marketing content.")] - public int? sessionsCount { get; set; } - + [Description("The number of online store sessions generated from the marketing content.")] + public int? sessionsCount { get; set; } + /// ///The total number of times marketing content was distributed or reposted to either one's own network of followers through a social media platform or other digital channels. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were forwarded. /// - [Description("The total number of times marketing content was distributed or reposted to either one's own network of followers through a social media platform or other digital channels. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were forwarded.")] - public int? sharesCount { get; set; } - + [Description("The total number of times marketing content was distributed or reposted to either one's own network of followers through a social media platform or other digital channels. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were forwarded.")] + public int? sharesCount { get; set; } + /// ///The total number of unique clicks on the marketing content. /// - [Description("The total number of unique clicks on the marketing content.")] - public int? uniqueClicksCount { get; set; } - + [Description("The total number of unique clicks on the marketing content.")] + public int? uniqueClicksCount { get; set; } + /// ///The total number of all users who saw marketing content since it was published. For message-based platforms such as email or SMS, this represents the number of unique users that opened a marketing email or message. For video-based content, this represents the number of unique users that played video content. /// - [Description("The total number of all users who saw marketing content since it was published. For message-based platforms such as email or SMS, this represents the number of unique users that opened a marketing email or message. For video-based content, this represents the number of unique users that played video content.")] - public int? uniqueViewsCount { get; set; } - + [Description("The total number of all users who saw marketing content since it was published. For message-based platforms such as email or SMS, this represents the number of unique users that opened a marketing email or message. For video-based content, this represents the number of unique users that played video content.")] + public int? uniqueViewsCount { get; set; } + /// ///The total number of unsubscribes on the marketing content. For social media platforms, this represents the number of unfollows. /// - [Description("The total number of unsubscribes on the marketing content. For social media platforms, this represents the number of unfollows.")] - public int? unsubscribesCount { get; set; } - + [Description("The total number of unsubscribes on the marketing content. For social media platforms, this represents the number of unfollows.")] + public int? unsubscribesCount { get; set; } + /// ///The UTC offset for the time zone in which the metrics are being reported, in the format `"+HH:MM"` or `"-HH:MM"`. Used in combination with occurredOn when aggregating daily metrics. Must match the account settings for the shop to minimize eventual discrepancies in reporting. /// - [Description("The UTC offset for the time zone in which the metrics are being reported, in the format `\"+HH:MM\"` or `\"-HH:MM\"`. Used in combination with occurredOn when aggregating daily metrics. Must match the account settings for the shop to minimize eventual discrepancies in reporting.")] - [NonNull] - public TimeSpan? utcOffset { get; set; } - + [Description("The UTC offset for the time zone in which the metrics are being reported, in the format `\"+HH:MM\"` or `\"-HH:MM\"`. Used in combination with occurredOn when aggregating daily metrics. Must match the account settings for the shop to minimize eventual discrepancies in reporting.")] + [NonNull] + public TimeSpan? utcOffset { get; set; } + /// ///The total number of views on the marketing content. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were opened. For video-based content, this represents the number of times videos were played. /// - [Description("The total number of views on the marketing content. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were opened. For video-based content, this represents the number of times videos were played.")] - public int? viewsCount { get; set; } - } - + [Description("The total number of views on the marketing content. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were opened. For video-based content, this represents the number of times videos were played.")] + public int? viewsCount { get; set; } + } + /// ///Return type for `marketingEngagementCreate` mutation. /// - [Description("Return type for `marketingEngagementCreate` mutation.")] - public class MarketingEngagementCreatePayload : GraphQLObject - { + [Description("Return type for `marketingEngagementCreate` mutation.")] + public class MarketingEngagementCreatePayload : GraphQLObject + { /// ///The marketing engagement that was created. This represents customer activity taken on a marketing activity or a marketing channel. /// - [Description("The marketing engagement that was created. This represents customer activity taken on a marketing activity or a marketing channel.")] - public MarketingEngagement? marketingEngagement { get; set; } - + [Description("The marketing engagement that was created. This represents customer activity taken on a marketing activity or a marketing channel.")] + public MarketingEngagement? marketingEngagement { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for a marketing engagement. /// - [Description("The input fields for a marketing engagement.")] - public class MarketingEngagementInput : GraphQLObject - { + [Description("The input fields for a marketing engagement.")] + public class MarketingEngagementInput : GraphQLObject + { /// ///The calendar date (in the time zone offset specified by the utcOffset field) for which the metrics are being reported. For example, a shop in UTC-5 would set utcOffset="-05:00" and aggregate all engagements from 05:00:00Z up to 29:00:00Z (5am UTC next day) for each call. /// - [Description("The calendar date (in the time zone offset specified by the utcOffset field) for which the metrics are being reported. For example, a shop in UTC-5 would set utcOffset=\"-05:00\" and aggregate all engagements from 05:00:00Z up to 29:00:00Z (5am UTC next day) for each call.")] - [NonNull] - public DateOnly? occurredOn { get; set; } - + [Description("The calendar date (in the time zone offset specified by the utcOffset field) for which the metrics are being reported. For example, a shop in UTC-5 would set utcOffset=\"-05:00\" and aggregate all engagements from 05:00:00Z up to 29:00:00Z (5am UTC next day) for each call.")] + [NonNull] + public DateOnly? occurredOn { get; set; } + /// ///The total number of times marketing content was displayed to users, whether or not an interaction occurred. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were delivered. /// - [Description("The total number of times marketing content was displayed to users, whether or not an interaction occurred. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were delivered.")] - public int? impressionsCount { get; set; } - + [Description("The total number of times marketing content was displayed to users, whether or not an interaction occurred. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were delivered.")] + public int? impressionsCount { get; set; } + /// ///The total number of views on the marketing content. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were opened. For video-based content, this represents the number of times videos were played. /// - [Description("The total number of views on the marketing content. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were opened. For video-based content, this represents the number of times videos were played.")] - public int? viewsCount { get; set; } - + [Description("The total number of views on the marketing content. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were opened. For video-based content, this represents the number of times videos were played.")] + public int? viewsCount { get; set; } + /// ///The total number of interactions, such as a button press or a screen touch, that occurred on the marketing content. /// - [Description("The total number of interactions, such as a button press or a screen touch, that occurred on the marketing content.")] - public int? clicksCount { get; set; } - + [Description("The total number of interactions, such as a button press or a screen touch, that occurred on the marketing content.")] + public int? clicksCount { get; set; } + /// ///The total number of times marketing content was distributed or reposted to either one's own network of followers through a social media platform or other digital channels. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were forwarded. /// - [Description("The total number of times marketing content was distributed or reposted to either one's own network of followers through a social media platform or other digital channels. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were forwarded.")] - public int? sharesCount { get; set; } - + [Description("The total number of times marketing content was distributed or reposted to either one's own network of followers through a social media platform or other digital channels. For message-based platforms such as email or SMS, this represents the number of times marketing emails or messages were forwarded.")] + public int? sharesCount { get; set; } + /// ///The total number of favorites, likes, saves, or bookmarks on the marketing content. /// - [Description("The total number of favorites, likes, saves, or bookmarks on the marketing content.")] - public int? favoritesCount { get; set; } - + [Description("The total number of favorites, likes, saves, or bookmarks on the marketing content.")] + public int? favoritesCount { get; set; } + /// ///The total number of comments on the marketing content. /// - [Description("The total number of comments on the marketing content.")] - public int? commentsCount { get; set; } - + [Description("The total number of comments on the marketing content.")] + public int? commentsCount { get; set; } + /// ///The total number of unsubscribes on the marketing content. For social media platforms, this represents the number of unfollows. /// - [Description("The total number of unsubscribes on the marketing content. For social media platforms, this represents the number of unfollows.")] - public int? unsubscribesCount { get; set; } - + [Description("The total number of unsubscribes on the marketing content. For social media platforms, this represents the number of unfollows.")] + public int? unsubscribesCount { get; set; } + /// ///The total number of complaints on the marketing content. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were marked as spam. For social media platforms, this represents the number of dislikes or the number of times marketing content was reported. /// - [Description("The total number of complaints on the marketing content. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were marked as spam. For social media platforms, this represents the number of dislikes or the number of times marketing content was reported.")] - public int? complaintsCount { get; set; } - + [Description("The total number of complaints on the marketing content. For message-based platforms such as email or SMS, this represents the number of marketing emails or messages that were marked as spam. For social media platforms, this represents the number of dislikes or the number of times marketing content was reported.")] + public int? complaintsCount { get; set; } + /// ///The total number of fails for the marketing content. For message-based platforms such as email or SMS, this represents the number of bounced marketing emails or messages. /// - [Description("The total number of fails for the marketing content. For message-based platforms such as email or SMS, this represents the number of bounced marketing emails or messages.")] - public int? failsCount { get; set; } - + [Description("The total number of fails for the marketing content. For message-based platforms such as email or SMS, this represents the number of bounced marketing emails or messages.")] + public int? failsCount { get; set; } + /// ///The total number of marketing emails or messages that were sent. /// - [Description("The total number of marketing emails or messages that were sent.")] - public int? sendsCount { get; set; } - + [Description("The total number of marketing emails or messages that were sent.")] + public int? sendsCount { get; set; } + /// ///The total number of all users who saw marketing content since it was published. For message-based platforms such as email or SMS, this represents the number of unique users that opened a marketing email or message. For video-based content, this represents the number of unique users that played video content. /// - [Description("The total number of all users who saw marketing content since it was published. For message-based platforms such as email or SMS, this represents the number of unique users that opened a marketing email or message. For video-based content, this represents the number of unique users that played video content.")] - public int? uniqueViewsCount { get; set; } - + [Description("The total number of all users who saw marketing content since it was published. For message-based platforms such as email or SMS, this represents the number of unique users that opened a marketing email or message. For video-based content, this represents the number of unique users that played video content.")] + public int? uniqueViewsCount { get; set; } + /// ///The total number of unique clicks on the marketing content. /// - [Description("The total number of unique clicks on the marketing content.")] - public int? uniqueClicksCount { get; set; } - + [Description("The total number of unique clicks on the marketing content.")] + public int? uniqueClicksCount { get; set; } + /// ///The total ad spend for the marketing content. Recurring weekly, monthly, or yearly spend needs to be divided into daily amounts. /// - [Description("The total ad spend for the marketing content. Recurring weekly, monthly, or yearly spend needs to be divided into daily amounts.")] - public MoneyInput? adSpend { get; set; } - + [Description("The total ad spend for the marketing content. Recurring weekly, monthly, or yearly spend needs to be divided into daily amounts.")] + public MoneyInput? adSpend { get; set; } + /// ///Specifies how the provided metrics have been aggregated. Cumulative metrics are aggregated from the first day of reporting up to and including `occuredOn`. Non-cumulative metrics are aggregated over the single day indicated in `occuredOn`. Cumulative metrics will monotonically increase in time as each record includes the previous day's values, and so on. Non-cumulative is strongly preferred, and support for cumulative metrics may be deprecated in the future. /// - [Description("Specifies how the provided metrics have been aggregated. Cumulative metrics are aggregated from the first day of reporting up to and including `occuredOn`. Non-cumulative metrics are aggregated over the single day indicated in `occuredOn`. Cumulative metrics will monotonically increase in time as each record includes the previous day's values, and so on. Non-cumulative is strongly preferred, and support for cumulative metrics may be deprecated in the future.")] - [NonNull] - public bool? isCumulative { get; set; } - + [Description("Specifies how the provided metrics have been aggregated. Cumulative metrics are aggregated from the first day of reporting up to and including `occuredOn`. Non-cumulative metrics are aggregated over the single day indicated in `occuredOn`. Cumulative metrics will monotonically increase in time as each record includes the previous day's values, and so on. Non-cumulative is strongly preferred, and support for cumulative metrics may be deprecated in the future.")] + [NonNull] + public bool? isCumulative { get; set; } + /// ///The UTC offset for the time zone in which the metrics are being reported, in the format `"+HH:MM"` or `"-HH:MM"`. Used in combination with occurredOn when aggregating daily metrics. Must match the account settings for the shop to minimize eventual discrepancies in reporting. /// - [Description("The UTC offset for the time zone in which the metrics are being reported, in the format `\"+HH:MM\"` or `\"-HH:MM\"`. Used in combination with occurredOn when aggregating daily metrics. Must match the account settings for the shop to minimize eventual discrepancies in reporting.")] - [NonNull] - public TimeSpan? utcOffset { get; set; } - + [Description("The UTC offset for the time zone in which the metrics are being reported, in the format `\"+HH:MM\"` or `\"-HH:MM\"`. Used in combination with occurredOn when aggregating daily metrics. Must match the account settings for the shop to minimize eventual discrepancies in reporting.")] + [NonNull] + public TimeSpan? utcOffset { get; set; } + /// ///The amount of sales generated from the marketing content. /// - [Description("The amount of sales generated from the marketing content.")] - public MoneyInput? sales { get; set; } - + [Description("The amount of sales generated from the marketing content.")] + public MoneyInput? sales { get; set; } + /// ///The number of online store sessions generated from the marketing content. /// - [Description("The number of online store sessions generated from the marketing content.")] - public int? sessionsCount { get; set; } - + [Description("The number of online store sessions generated from the marketing content.")] + public int? sessionsCount { get; set; } + /// ///The number of orders generated from the marketing content. /// - [Description("The number of orders generated from the marketing content.")] - public decimal? orders { get; set; } - + [Description("The number of orders generated from the marketing content.")] + public decimal? orders { get; set; } + /// ///The number of customers that have placed their first order. Doesn't include adjustments such as edits, exchanges, or returns. /// - [Description("The number of customers that have placed their first order. Doesn't include adjustments such as edits, exchanges, or returns.")] - public decimal? firstTimeCustomers { get; set; } - + [Description("The number of customers that have placed their first order. Doesn't include adjustments such as edits, exchanges, or returns.")] + public decimal? firstTimeCustomers { get; set; } + /// ///The number of returning customers that have placed an order. Doesn't include adjustments such as edits, exchanges, or returns. /// - [Description("The number of returning customers that have placed an order. Doesn't include adjustments such as edits, exchanges, or returns.")] - public decimal? returningCustomers { get; set; } - } - + [Description("The number of returning customers that have placed an order. Doesn't include adjustments such as edits, exchanges, or returns.")] + public decimal? returningCustomers { get; set; } + } + /// ///Return type for `marketingEngagementsDelete` mutation. /// - [Description("Return type for `marketingEngagementsDelete` mutation.")] - public class MarketingEngagementsDeletePayload : GraphQLObject - { + [Description("Return type for `marketingEngagementsDelete` mutation.")] + public class MarketingEngagementsDeletePayload : GraphQLObject + { /// ///Informational message about the engagement data that has been marked for deletion. /// - [Description("Informational message about the engagement data that has been marked for deletion.")] - public string? result { get; set; } - + [Description("Informational message about the engagement data that has been marked for deletion.")] + public string? result { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents actions that market a merchant's store or products. /// - [Description("Represents actions that market a merchant's store or products.")] - public class MarketingEvent : GraphQLObject, ILegacyInteroperability, INode - { + [Description("Represents actions that market a merchant's store or products.")] + public class MarketingEvent : GraphQLObject, ILegacyInteroperability, INode + { /// ///The app that the marketing event is attributed to. /// - [Description("The app that the marketing event is attributed to.")] - [NonNull] - public App? app { get; set; } - + [Description("The app that the marketing event is attributed to.")] + [NonNull] + public App? app { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [Obsolete("Use `marketingChannelType` instead.")] - [EnumType(typeof(MarketingChannel))] - public string? channel { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [Obsolete("Use `marketingChannelType` instead.")] + [EnumType(typeof(MarketingChannel))] + public string? channel { get; set; } + /// ///The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager. /// - [Description("The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.")] - public string? channelHandle { get; set; } - + [Description("The unique string identifier of the channel to which this activity belongs. For the correct handle for your channel, contact your partner manager.")] + public string? channelHandle { get; set; } + /// ///A human-readable description of the marketing event. /// - [Description("A human-readable description of the marketing event.")] - public string? description { get; set; } - + [Description("A human-readable description of the marketing event.")] + public string? description { get; set; } + /// ///The date and time when the marketing event ended. /// - [Description("The date and time when the marketing event ended.")] - public DateTime? endedAt { get; set; } - + [Description("The date and time when the marketing event ended.")] + public DateTime? endedAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The URL where the marketing event can be managed. /// - [Description("The URL where the marketing event can be managed.")] - public string? manageUrl { get; set; } - + [Description("The URL where the marketing event can be managed.")] + public string? manageUrl { get; set; } + /// ///The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation. /// - [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] - [EnumType(typeof(MarketingChannel))] - public string? marketingChannelType { get; set; } - + [Description("The medium through which the marketing activity and event reached consumers. This is used for reporting aggregation.")] + [EnumType(typeof(MarketingChannel))] + public string? marketingChannelType { get; set; } + /// ///The URL where the marketing event can be previewed. /// - [Description("The URL where the marketing event can be previewed.")] - public string? previewUrl { get; set; } - + [Description("The URL where the marketing event can be previewed.")] + public string? previewUrl { get; set; } + /// ///An optional ID that helps Shopify validate engagement data. /// - [Description("An optional ID that helps Shopify validate engagement data.")] - public string? remoteId { get; set; } - + [Description("An optional ID that helps Shopify validate engagement data.")] + public string? remoteId { get; set; } + /// ///The date and time when the marketing event is scheduled to end. /// - [Description("The date and time when the marketing event is scheduled to end.")] - public DateTime? scheduledToEndAt { get; set; } - + [Description("The date and time when the marketing event is scheduled to end.")] + public DateTime? scheduledToEndAt { get; set; } + /// ///Where the `MarketingEvent` occurred and what kind of content was used. ///Because `utmSource` and `utmMedium` are often used interchangeably, this is @@ -66489,1075 +66489,1075 @@ public class MarketingEvent : GraphQLObject, ILegacyInteroperabi ///provide a consistent representation for any given piece of marketing ///regardless of the app that created it. /// - [Description("Where the `MarketingEvent` occurred and what kind of content was used.\nBecause `utmSource` and `utmMedium` are often used interchangeably, this is\nbased on a combination of `marketingChannel`, `referringDomain`, and `type` to\nprovide a consistent representation for any given piece of marketing\nregardless of the app that created it.")] - [NonNull] - public string? sourceAndMedium { get; set; } - + [Description("Where the `MarketingEvent` occurred and what kind of content was used.\nBecause `utmSource` and `utmMedium` are often used interchangeably, this is\nbased on a combination of `marketingChannel`, `referringDomain`, and `type` to\nprovide a consistent representation for any given piece of marketing\nregardless of the app that created it.")] + [NonNull] + public string? sourceAndMedium { get; set; } + /// ///The date and time when the marketing event started. /// - [Description("The date and time when the marketing event started.")] - [NonNull] - public DateTime? startedAt { get; set; } - + [Description("The date and time when the marketing event started.")] + [NonNull] + public DateTime? startedAt { get; set; } + /// ///The display text for the marketing event type. /// - [Description("The display text for the marketing event type.")] - [Obsolete("Use `sourceAndMedium` instead.")] - [NonNull] - public string? targetTypeDisplayText { get; set; } - + [Description("The display text for the marketing event type.")] + [Obsolete("Use `sourceAndMedium` instead.")] + [NonNull] + public string? targetTypeDisplayText { get; set; } + /// ///The marketing event type. /// - [Description("The marketing event type.")] - [NonNull] - [EnumType(typeof(MarketingTactic))] - public string? type { get; set; } - + [Description("The marketing event type.")] + [NonNull] + [EnumType(typeof(MarketingTactic))] + public string? type { get; set; } + /// ///The name of the marketing campaign. /// - [Description("The name of the marketing campaign.")] - public string? utmCampaign { get; set; } - + [Description("The name of the marketing campaign.")] + public string? utmCampaign { get; set; } + /// ///The medium that the marketing campaign is using. Example values: `cpc`, `banner`. /// - [Description("The medium that the marketing campaign is using. Example values: `cpc`, `banner`.")] - public string? utmMedium { get; set; } - + [Description("The medium that the marketing campaign is using. Example values: `cpc`, `banner`.")] + public string? utmMedium { get; set; } + /// ///The referrer of the marketing event. Example values: `google`, `newsletter`. /// - [Description("The referrer of the marketing event. Example values: `google`, `newsletter`.")] - public string? utmSource { get; set; } - } - + [Description("The referrer of the marketing event. Example values: `google`, `newsletter`.")] + public string? utmSource { get; set; } + } + /// ///An auto-generated type for paginating through multiple MarketingEvents. /// - [Description("An auto-generated type for paginating through multiple MarketingEvents.")] - public class MarketingEventConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MarketingEvents.")] + public class MarketingEventConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MarketingEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MarketingEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MarketingEventEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one MarketingEvent and a cursor during pagination. /// - [Description("An auto-generated type which holds one MarketingEvent and a cursor during pagination.")] - public class MarketingEventEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MarketingEvent and a cursor during pagination.")] + public class MarketingEventEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MarketingEventEdge. /// - [Description("The item at the end of MarketingEventEdge.")] - [NonNull] - public MarketingEvent? node { get; set; } - } - + [Description("The item at the end of MarketingEventEdge.")] + [NonNull] + public MarketingEvent? node { get; set; } + } + /// ///The set of valid sort keys for the MarketingEvent query. /// - [Description("The set of valid sort keys for the MarketingEvent query.")] - public enum MarketingEventSortKeys - { + [Description("The set of valid sort keys for the MarketingEvent query.")] + public enum MarketingEventSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `started_at` value. /// - [Description("Sort by the `started_at` value.")] - STARTED_AT, - } - - public static class MarketingEventSortKeysStringValues - { - public const string ID = @"ID"; - public const string STARTED_AT = @"STARTED_AT"; - } - + [Description("Sort by the `started_at` value.")] + STARTED_AT, + } + + public static class MarketingEventSortKeysStringValues + { + public const string ID = @"ID"; + public const string STARTED_AT = @"STARTED_AT"; + } + /// ///The available types of tactics for a marketing activity. /// - [Description("The available types of tactics for a marketing activity.")] - public enum MarketingTactic - { + [Description("The available types of tactics for a marketing activity.")] + public enum MarketingTactic + { /// ///An abandoned cart recovery email. /// - [Description("An abandoned cart recovery email.")] - ABANDONED_CART, + [Description("An abandoned cart recovery email.")] + ABANDONED_CART, /// ///An ad, such as a Facebook ad. /// - [Description("An ad, such as a Facebook ad.")] - AD, + [Description("An ad, such as a Facebook ad.")] + AD, /// ///An affiliate link. /// - [Description("An affiliate link.")] - AFFILIATE, + [Description("An affiliate link.")] + AFFILIATE, /// ///A link. /// - [Description("A link.")] - LINK, + [Description("A link.")] + LINK, /// ///A loyalty program. /// - [Description("A loyalty program.")] - LOYALTY, + [Description("A loyalty program.")] + LOYALTY, /// ///A messaging app, such as Facebook Messenger. /// - [Description("A messaging app, such as Facebook Messenger.")] - MESSAGE, + [Description("A messaging app, such as Facebook Messenger.")] + MESSAGE, /// ///A newsletter. /// - [Description("A newsletter.")] - NEWSLETTER, + [Description("A newsletter.")] + NEWSLETTER, /// ///A notification in the Shopify admin. /// - [Description("A notification in the Shopify admin.")] - NOTIFICATION, + [Description("A notification in the Shopify admin.")] + NOTIFICATION, /// ///A blog post. /// - [Description("A blog post.")] - POST, + [Description("A blog post.")] + POST, /// ///A retargeting ad. /// - [Description("A retargeting ad.")] - RETARGETING, + [Description("A retargeting ad.")] + RETARGETING, /// ///A transactional email. /// - [Description("A transactional email.")] - TRANSACTIONAL, + [Description("A transactional email.")] + TRANSACTIONAL, /// ///A popup on the online store. /// - [Description("A popup on the online store.")] - STOREFRONT_APP, + [Description("A popup on the online store.")] + STOREFRONT_APP, /// ///Search engine optimization. /// - [Description("Search engine optimization.")] - SEO, - } - - public static class MarketingTacticStringValues - { - public const string ABANDONED_CART = @"ABANDONED_CART"; - public const string AD = @"AD"; - public const string AFFILIATE = @"AFFILIATE"; - public const string LINK = @"LINK"; - public const string LOYALTY = @"LOYALTY"; - public const string MESSAGE = @"MESSAGE"; - public const string NEWSLETTER = @"NEWSLETTER"; - public const string NOTIFICATION = @"NOTIFICATION"; - public const string POST = @"POST"; - public const string RETARGETING = @"RETARGETING"; - public const string TRANSACTIONAL = @"TRANSACTIONAL"; - public const string STOREFRONT_APP = @"STOREFRONT_APP"; - public const string SEO = @"SEO"; - } - + [Description("Search engine optimization.")] + SEO, + } + + public static class MarketingTacticStringValues + { + public const string ABANDONED_CART = @"ABANDONED_CART"; + public const string AD = @"AD"; + public const string AFFILIATE = @"AFFILIATE"; + public const string LINK = @"LINK"; + public const string LOYALTY = @"LOYALTY"; + public const string MESSAGE = @"MESSAGE"; + public const string NEWSLETTER = @"NEWSLETTER"; + public const string NOTIFICATION = @"NOTIFICATION"; + public const string POST = @"POST"; + public const string RETARGETING = @"RETARGETING"; + public const string TRANSACTIONAL = @"TRANSACTIONAL"; + public const string STOREFRONT_APP = @"STOREFRONT_APP"; + public const string SEO = @"SEO"; + } + /// ///The required configuration of features that a marketplace sets for a store to onboard ///onto the marketplace channel. /// - [Description("The required configuration of features that a marketplace sets for a store to onboard \nonto the marketplace channel.")] - public class MarketplacePaymentsConfiguration : GraphQLObject - { + [Description("The required configuration of features that a marketplace sets for a store to onboard \nonto the marketplace channel.")] + public class MarketplacePaymentsConfiguration : GraphQLObject + { /// ///The URL that redirects the merchant to set up the required features on their store. /// - [Description("The URL that redirects the merchant to set up the required features on their store.")] - [NonNull] - public string? actionUrl { get; set; } - + [Description("The URL that redirects the merchant to set up the required features on their store.")] + [NonNull] + public string? actionUrl { get; set; } + /// ///The required features for a store to onboard onto the marketplace channel. /// - [Description("The required features for a store to onboard onto the marketplace channel.")] - [NonNull] - public IEnumerable? requestedFeatures { get; set; } - } - + [Description("The required features for a store to onboard onto the marketplace channel.")] + [NonNull] + public IEnumerable? requestedFeatures { get; set; } + } + /// ///Return type for `marketplacePaymentsConfigurationUpdate` mutation. /// - [Description("Return type for `marketplacePaymentsConfigurationUpdate` mutation.")] - public class MarketplacePaymentsConfigurationUpdatePayload : GraphQLObject - { + [Description("Return type for `marketplacePaymentsConfigurationUpdate` mutation.")] + public class MarketplacePaymentsConfigurationUpdatePayload : GraphQLObject + { /// ///The current payment configuration. /// - [Description("The current payment configuration.")] - public MarketplacePaymentsConfiguration? paymentConfiguration { get; set; } - + [Description("The current payment configuration.")] + public MarketplacePaymentsConfiguration? paymentConfiguration { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MarketplacePaymentsConfigurationUpdate`. /// - [Description("An error that occurs during the execution of `MarketplacePaymentsConfigurationUpdate`.")] - public class MarketplacePaymentsConfigurationUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MarketplacePaymentsConfigurationUpdate`.")] + public class MarketplacePaymentsConfigurationUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MarketplacePaymentsConfigurationUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MarketplacePaymentsConfigurationUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MarketplacePaymentsConfigurationUpdateUserError`. /// - [Description("Possible error codes that can be returned by `MarketplacePaymentsConfigurationUpdateUserError`.")] - public enum MarketplacePaymentsConfigurationUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `MarketplacePaymentsConfigurationUpdateUserError`.")] + public enum MarketplacePaymentsConfigurationUpdateUserErrorCode + { /// ///No features were requested. /// - [Description("No features were requested.")] - EMPTY_FEATURES, + [Description("No features were requested.")] + EMPTY_FEATURES, /// ///Invalid feature requested. /// - [Description("Invalid feature requested.")] - INVALID_FEATURE, + [Description("Invalid feature requested.")] + INVALID_FEATURE, /// ///A feature was required that the shop isn't eligible for. /// - [Description("A feature was required that the shop isn't eligible for.")] - NON_ONBOARDABLE_REQUIRED_FEATURE, + [Description("A feature was required that the shop isn't eligible for.")] + NON_ONBOARDABLE_REQUIRED_FEATURE, /// ///The configuration couldn't be saved. /// - [Description("The configuration couldn't be saved.")] - NOT_SAVED, - } - - public static class MarketplacePaymentsConfigurationUpdateUserErrorCodeStringValues - { - public const string EMPTY_FEATURES = @"EMPTY_FEATURES"; - public const string INVALID_FEATURE = @"INVALID_FEATURE"; - public const string NON_ONBOARDABLE_REQUIRED_FEATURE = @"NON_ONBOARDABLE_REQUIRED_FEATURE"; - public const string NOT_SAVED = @"NOT_SAVED"; - } - + [Description("The configuration couldn't be saved.")] + NOT_SAVED, + } + + public static class MarketplacePaymentsConfigurationUpdateUserErrorCodeStringValues + { + public const string EMPTY_FEATURES = @"EMPTY_FEATURES"; + public const string INVALID_FEATURE = @"INVALID_FEATURE"; + public const string NON_ONBOARDABLE_REQUIRED_FEATURE = @"NON_ONBOARDABLE_REQUIRED_FEATURE"; + public const string NOT_SAVED = @"NOT_SAVED"; + } + /// ///A feature that a Marketplace has requested a merchant have enabled on their shop. /// - [Description("A feature that a Marketplace has requested a merchant have enabled on their shop.")] - public class MarketplacePaymentsFeature : GraphQLObject - { + [Description("A feature that a Marketplace has requested a merchant have enabled on their shop.")] + public class MarketplacePaymentsFeature : GraphQLObject + { /// ///Whether the shop can onboard onto the feature. /// - [Description("Whether the shop can onboard onto the feature.")] - [NonNull] - public bool? onboardable { get; set; } - + [Description("Whether the shop can onboard onto the feature.")] + [NonNull] + public bool? onboardable { get; set; } + /// ///Whether the feature is ready for Marketplace usage. /// - [Description("Whether the feature is ready for Marketplace usage.")] - [NonNull] - public bool? ready { get; set; } - + [Description("Whether the feature is ready for Marketplace usage.")] + [NonNull] + public bool? ready { get; set; } + /// ///Whether the feature is required for the configuration to be ready. /// - [Description("Whether the feature is required for the configuration to be ready.")] - [NonNull] - public bool? required { get; set; } - + [Description("Whether the feature is required for the configuration to be ready.")] + [NonNull] + public bool? required { get; set; } + /// ///The subtype of the requested marketplace payments feature. /// - [Description("The subtype of the requested marketplace payments feature.")] - [NonNull] - [EnumType(typeof(MarketplacePaymentsFeatureSubtype))] - public string? subtype { get; set; } - + [Description("The subtype of the requested marketplace payments feature.")] + [NonNull] + [EnumType(typeof(MarketplacePaymentsFeatureSubtype))] + public string? subtype { get; set; } + /// ///The type of the requested marketplace payments feature. /// - [Description("The type of the requested marketplace payments feature.")] - [NonNull] - [EnumType(typeof(MarketplacePaymentsFeatureType))] - public string? type { get; set; } - } - + [Description("The type of the requested marketplace payments feature.")] + [NonNull] + [EnumType(typeof(MarketplacePaymentsFeatureType))] + public string? type { get; set; } + } + /// ///The input fields for a marketplace payments feature. /// - [Description("The input fields for a marketplace payments feature.")] - public class MarketplacePaymentsFeatureInput : GraphQLObject - { + [Description("The input fields for a marketplace payments feature.")] + public class MarketplacePaymentsFeatureInput : GraphQLObject + { /// ///The type of the marketplace payments feature. /// - [Description("The type of the marketplace payments feature.")] - [NonNull] - [EnumType(typeof(MarketplacePaymentsFeatureType))] - public string? type { get; set; } - + [Description("The type of the marketplace payments feature.")] + [NonNull] + [EnumType(typeof(MarketplacePaymentsFeatureType))] + public string? type { get; set; } + /// ///Whether the feature is required for the configuration to be ready. /// - [Description("Whether the feature is required for the configuration to be ready.")] - [NonNull] - public bool? required { get; set; } - } - + [Description("Whether the feature is required for the configuration to be ready.")] + [NonNull] + public bool? required { get; set; } + } + /// ///All the possible feature subtypes that can be returned for a feature. /// - [Description("All the possible feature subtypes that can be returned for a feature.")] - public enum MarketplacePaymentsFeatureSubtype - { + [Description("All the possible feature subtypes that can be returned for a feature.")] + public enum MarketplacePaymentsFeatureSubtype + { /// ///The Shopify Payments subtype for Shopify Payments feature. Returned when a merchant can use Shopify Payments. /// - [Description("The Shopify Payments subtype for Shopify Payments feature. Returned when a merchant can use Shopify Payments.")] - SHOPIFY_PAYMENTS, + [Description("The Shopify Payments subtype for Shopify Payments feature. Returned when a merchant can use Shopify Payments.")] + SHOPIFY_PAYMENTS, /// ///The Shop Pay subtype for Shopify Payments feature. Returned when a merchant can use Shop Pay with a 3rd party gateway. /// - [Description("The Shop Pay subtype for Shopify Payments feature. Returned when a merchant can use Shop Pay with a 3rd party gateway.")] - SHOP_PAY, + [Description("The Shop Pay subtype for Shopify Payments feature. Returned when a merchant can use Shop Pay with a 3rd party gateway.")] + SHOP_PAY, /// ///The only subtype for PayPal feature. /// - [Description("The only subtype for PayPal feature.")] - PAYPAL, - } - - public static class MarketplacePaymentsFeatureSubtypeStringValues - { - public const string SHOPIFY_PAYMENTS = @"SHOPIFY_PAYMENTS"; - public const string SHOP_PAY = @"SHOP_PAY"; - public const string PAYPAL = @"PAYPAL"; - } - + [Description("The only subtype for PayPal feature.")] + PAYPAL, + } + + public static class MarketplacePaymentsFeatureSubtypeStringValues + { + public const string SHOPIFY_PAYMENTS = @"SHOPIFY_PAYMENTS"; + public const string SHOP_PAY = @"SHOP_PAY"; + public const string PAYPAL = @"PAYPAL"; + } + /// ///All the possible features that a marketplace can require a merchant to enable for onboarding. /// - [Description("All the possible features that a marketplace can require a merchant to enable for onboarding.")] - public enum MarketplacePaymentsFeatureType - { + [Description("All the possible features that a marketplace can require a merchant to enable for onboarding.")] + public enum MarketplacePaymentsFeatureType + { /// ///Shopify Payments is enabled on a store. /// - [Description("Shopify Payments is enabled on a store.")] - SHOPIFY_PAYMENTS, + [Description("Shopify Payments is enabled on a store.")] + SHOPIFY_PAYMENTS, /// ///The PayPal payments app is enabled on a store and the merchant is onboarded with PayPal. /// - [Description("The PayPal payments app is enabled on a store and the merchant is onboarded with PayPal.")] - PAYPAL, - } - - public static class MarketplacePaymentsFeatureTypeStringValues - { - public const string SHOPIFY_PAYMENTS = @"SHOPIFY_PAYMENTS"; - public const string PAYPAL = @"PAYPAL"; - } - + [Description("The PayPal payments app is enabled on a store and the merchant is onboarded with PayPal.")] + PAYPAL, + } + + public static class MarketplacePaymentsFeatureTypeStringValues + { + public const string SHOPIFY_PAYMENTS = @"SHOPIFY_PAYMENTS"; + public const string PAYPAL = @"PAYPAL"; + } + /// ///The entitlements for B2B markets. /// - [Description("The entitlements for B2B markets.")] - public class MarketsB2BEntitlement : GraphQLObject - { + [Description("The entitlements for B2B markets.")] + public class MarketsB2BEntitlement : GraphQLObject + { /// ///The entitlements for B2B market catalogs. /// - [Description("The entitlements for B2B market catalogs.")] - [NonNull] - public MarketsCatalogsEntitlement? catalogs { get; set; } - + [Description("The entitlements for B2B market catalogs.")] + [NonNull] + public MarketsCatalogsEntitlement? catalogs { get; set; } + /// ///Whether B2B markets are enabled. /// - [Description("Whether B2B markets are enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Whether B2B markets are enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The entitlements for catalogs. /// - [Description("The entitlements for catalogs.")] - public class MarketsCatalogsEntitlement : GraphQLObject - { + [Description("The entitlements for catalogs.")] + public class MarketsCatalogsEntitlement : GraphQLObject + { /// ///Whether catalogs are enabled. /// - [Description("Whether catalogs are enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Whether catalogs are enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The entitlements for region markets. /// - [Description("The entitlements for region markets.")] - public class MarketsRegionsEntitlement : GraphQLObject - { + [Description("The entitlements for region markets.")] + public class MarketsRegionsEntitlement : GraphQLObject + { /// ///The entitlements for region market catalogs. /// - [Description("The entitlements for region market catalogs.")] - [NonNull] - public MarketsCatalogsEntitlement? catalogs { get; set; } - + [Description("The entitlements for region market catalogs.")] + [NonNull] + public MarketsCatalogsEntitlement? catalogs { get; set; } + /// ///Whether region markets are enabled. /// - [Description("Whether region markets are enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Whether region markets are enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The resolved values based on the markets configuration for a buyer signal. Resolved values include the resolved catalogs, web presences, currency, and price inclusivity. /// - [Description("The resolved values based on the markets configuration for a buyer signal. Resolved values include the resolved catalogs, web presences, currency, and price inclusivity.")] - public class MarketsResolvedValues : GraphQLObject - { + [Description("The resolved values based on the markets configuration for a buyer signal. Resolved values include the resolved catalogs, web presences, currency, and price inclusivity.")] + public class MarketsResolvedValues : GraphQLObject + { /// ///The resolved catalogs. /// - [Description("The resolved catalogs.")] - [NonNull] - public MarketCatalogConnection? catalogs { get; set; } - + [Description("The resolved catalogs.")] + [NonNull] + public MarketCatalogConnection? catalogs { get; set; } + /// ///The resolved currency code. /// - [Description("The resolved currency code.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The resolved currency code.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///The resolved price inclusivity attributes. /// - [Description("The resolved price inclusivity attributes.")] - [NonNull] - public ResolvedPriceInclusivity? priceInclusivity { get; set; } - + [Description("The resolved price inclusivity attributes.")] + [NonNull] + public ResolvedPriceInclusivity? priceInclusivity { get; set; } + /// ///The resolved web presences ordered by priority. /// - [Description("The resolved web presences ordered by priority.")] - [NonNull] - public MarketWebPresenceConnection? webPresences { get; set; } - } - + [Description("The resolved web presences ordered by priority.")] + [NonNull] + public MarketWebPresenceConnection? webPresences { get; set; } + } + /// ///The entitlements for retail markets. /// - [Description("The entitlements for retail markets.")] - public class MarketsRetailEntitlement : GraphQLObject - { + [Description("The entitlements for retail markets.")] + public class MarketsRetailEntitlement : GraphQLObject + { /// ///The entitlements for retail market catalogs. /// - [Description("The entitlements for retail market catalogs.")] - [NonNull] - public MarketsCatalogsEntitlement? catalogs { get; set; } - + [Description("The entitlements for retail market catalogs.")] + [NonNull] + public MarketsCatalogsEntitlement? catalogs { get; set; } + /// ///Whether retail markets are enabled. /// - [Description("Whether retail markets are enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Whether retail markets are enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The set of valid sort keys for the Markets query. /// - [Description("The set of valid sort keys for the Markets query.")] - public enum MarketsSortKeys - { + [Description("The set of valid sort keys for the Markets query.")] + public enum MarketsSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `market_condition_types` value. /// - [Description("Sort by the `market_condition_types` value.")] - MARKET_CONDITION_TYPES, + [Description("Sort by the `market_condition_types` value.")] + MARKET_CONDITION_TYPES, /// ///Sort by the `market_type` value. /// - [Description("Sort by the `market_type` value.")] - MARKET_TYPE, + [Description("Sort by the `market_type` value.")] + MARKET_TYPE, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `status` value. /// - [Description("Sort by the `status` value.")] - STATUS, + [Description("Sort by the `status` value.")] + STATUS, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class MarketsSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string MARKET_CONDITION_TYPES = @"MARKET_CONDITION_TYPES"; - public const string MARKET_TYPE = @"MARKET_TYPE"; - public const string NAME = @"NAME"; - public const string STATUS = @"STATUS"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class MarketsSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string MARKET_CONDITION_TYPES = @"MARKET_CONDITION_TYPES"; + public const string MARKET_TYPE = @"MARKET_TYPE"; + public const string NAME = @"NAME"; + public const string STATUS = @"STATUS"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The entitlements for themes. /// - [Description("The entitlements for themes.")] - public class MarketsThemesEntitlement : GraphQLObject - { + [Description("The entitlements for themes.")] + public class MarketsThemesEntitlement : GraphQLObject + { /// ///Whether themes are enabled. /// - [Description("Whether themes are enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Whether themes are enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///Markets entitlement information. /// - [Description("Markets entitlement information.")] - public class MarketsType : GraphQLObject - { + [Description("Markets entitlement information.")] + public class MarketsType : GraphQLObject + { /// ///The entitlements for B2B markets. /// - [Description("The entitlements for B2B markets.")] - [NonNull] - public MarketsB2BEntitlement? b2b { get; set; } - + [Description("The entitlements for B2B markets.")] + [NonNull] + public MarketsB2BEntitlement? b2b { get; set; } + /// ///The entitlements for region markets. /// - [Description("The entitlements for region markets.")] - [NonNull] - public MarketsRegionsEntitlement? regions { get; set; } - + [Description("The entitlements for region markets.")] + [NonNull] + public MarketsRegionsEntitlement? regions { get; set; } + /// ///The entitlements for retail markets. /// - [Description("The entitlements for retail markets.")] - [NonNull] - public MarketsRetailEntitlement? retail { get; set; } - + [Description("The entitlements for retail markets.")] + [NonNull] + public MarketsRetailEntitlement? retail { get; set; } + /// ///The entitlements for themes. /// - [Description("The entitlements for themes.")] - [NonNull] - public MarketsThemesEntitlement? themes { get; set; } - } - + [Description("The entitlements for themes.")] + [NonNull] + public MarketsThemesEntitlement? themes { get; set; } + } + /// ///Represents a media interface. /// - [Description("Represents a media interface.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(ExternalVideo), typeDiscriminator: "ExternalVideo")] - [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] - [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] - [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] - public interface IMedia : IGraphQLObject - { - public ExternalVideo? AsExternalVideo() => this as ExternalVideo; - public MediaImage? AsMediaImage() => this as MediaImage; - public Model3d? AsModel3d() => this as Model3d; - public Video? AsVideo() => this as Video; + [Description("Represents a media interface.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(ExternalVideo), typeDiscriminator: "ExternalVideo")] + [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] + [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] + [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] + public interface IMedia : IGraphQLObject + { + public ExternalVideo? AsExternalVideo() => this as ExternalVideo; + public MediaImage? AsMediaImage() => this as MediaImage; + public Model3d? AsModel3d() => this as Model3d; + public Video? AsVideo() => this as Video; /// ///A word or phrase to share the nature or contents of a media. /// - [Description("A word or phrase to share the nature or contents of a media.")] - public string? alt { get; } - + [Description("A word or phrase to share the nature or contents of a media.")] + public string? alt { get; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + /// ///The media content type. /// - [Description("The media content type.")] - [NonNull] - [EnumType(typeof(MediaContentType))] - public string? mediaContentType { get; } - + [Description("The media content type.")] + [NonNull] + [EnumType(typeof(MediaContentType))] + public string? mediaContentType { get; } + /// ///Any errors which have occurred on the media. /// - [Description("Any errors which have occurred on the media.")] - [NonNull] - public IEnumerable? mediaErrors { get; } - + [Description("Any errors which have occurred on the media.")] + [NonNull] + public IEnumerable? mediaErrors { get; } + /// ///The warnings attached to the media. /// - [Description("The warnings attached to the media.")] - [NonNull] - public IEnumerable? mediaWarnings { get; } - + [Description("The warnings attached to the media.")] + [NonNull] + public IEnumerable? mediaWarnings { get; } + /// ///The preview image for the media. /// - [Description("The preview image for the media.")] - public MediaPreviewImage? preview { get; } - + [Description("The preview image for the media.")] + public MediaPreviewImage? preview { get; } + /// ///Current status of the media. /// - [Description("Current status of the media.")] - [NonNull] - [EnumType(typeof(MediaStatus))] - public string? status { get; } - } - + [Description("Current status of the media.")] + [NonNull] + [EnumType(typeof(MediaStatus))] + public string? status { get; } + } + /// ///An auto-generated type for paginating through multiple Media. /// - [Description("An auto-generated type for paginating through multiple Media.")] - public class MediaConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Media.")] + public class MediaConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MediaEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MediaEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MediaEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The possible content types for a media object. /// - [Description("The possible content types for a media object.")] - public enum MediaContentType - { + [Description("The possible content types for a media object.")] + public enum MediaContentType + { /// ///A Shopify-hosted video. /// - [Description("A Shopify-hosted video.")] - VIDEO, + [Description("A Shopify-hosted video.")] + VIDEO, /// ///An externally hosted video. /// - [Description("An externally hosted video.")] - EXTERNAL_VIDEO, + [Description("An externally hosted video.")] + EXTERNAL_VIDEO, /// ///A 3d model. /// - [Description("A 3d model.")] - MODEL_3D, + [Description("A 3d model.")] + MODEL_3D, /// ///A Shopify-hosted image. /// - [Description("A Shopify-hosted image.")] - IMAGE, - } - - public static class MediaContentTypeStringValues - { - public const string VIDEO = @"VIDEO"; - public const string EXTERNAL_VIDEO = @"EXTERNAL_VIDEO"; - public const string MODEL_3D = @"MODEL_3D"; - public const string IMAGE = @"IMAGE"; - } - + [Description("A Shopify-hosted image.")] + IMAGE, + } + + public static class MediaContentTypeStringValues + { + public const string VIDEO = @"VIDEO"; + public const string EXTERNAL_VIDEO = @"EXTERNAL_VIDEO"; + public const string MODEL_3D = @"MODEL_3D"; + public const string IMAGE = @"IMAGE"; + } + /// ///An auto-generated type which holds one Media and a cursor during pagination. /// - [Description("An auto-generated type which holds one Media and a cursor during pagination.")] - public class MediaEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Media and a cursor during pagination.")] + public class MediaEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MediaEdge. /// - [Description("The item at the end of MediaEdge.")] - [NonNull] - public IMedia? node { get; set; } - } - + [Description("The item at the end of MediaEdge.")] + [NonNull] + public IMedia? node { get; set; } + } + /// ///Represents a media error. This typically occurs when there is an issue with the media itself causing it to fail validation. ///Check the media before attempting to upload again. /// - [Description("Represents a media error. This typically occurs when there is an issue with the media itself causing it to fail validation.\nCheck the media before attempting to upload again.")] - public class MediaError : GraphQLObject - { + [Description("Represents a media error. This typically occurs when there is an issue with the media itself causing it to fail validation.\nCheck the media before attempting to upload again.")] + public class MediaError : GraphQLObject + { /// ///Code representing the type of error. /// - [Description("Code representing the type of error.")] - [NonNull] - [EnumType(typeof(MediaErrorCode))] - public string? code { get; set; } - + [Description("Code representing the type of error.")] + [NonNull] + [EnumType(typeof(MediaErrorCode))] + public string? code { get; set; } + /// ///Additional details regarding the error. /// - [Description("Additional details regarding the error.")] - public string? details { get; set; } - + [Description("Additional details regarding the error.")] + public string? details { get; set; } + /// ///Translated error message. /// - [Description("Translated error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("Translated error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Error types for media. /// - [Description("Error types for media.")] - public enum MediaErrorCode - { + [Description("Error types for media.")] + public enum MediaErrorCode + { /// ///Media error has occured for unknown reason. /// - [Description("Media error has occured for unknown reason.")] - UNKNOWN, + [Description("Media error has occured for unknown reason.")] + UNKNOWN, /// ///Media could not be processed because the signed URL was invalid. /// - [Description("Media could not be processed because the signed URL was invalid.")] - INVALID_SIGNED_URL, + [Description("Media could not be processed because the signed URL was invalid.")] + INVALID_SIGNED_URL, /// ///Media could not be processed because the image could not be downloaded. /// - [Description("Media could not be processed because the image could not be downloaded.")] - IMAGE_DOWNLOAD_FAILURE, + [Description("Media could not be processed because the image could not be downloaded.")] + IMAGE_DOWNLOAD_FAILURE, /// ///Media could not be processed because the image could not be processed. /// - [Description("Media could not be processed because the image could not be processed.")] - IMAGE_PROCESSING_FAILURE, + [Description("Media could not be processed because the image could not be processed.")] + IMAGE_PROCESSING_FAILURE, /// ///Media timed out because it is currently being modified by another operation. /// - [Description("Media timed out because it is currently being modified by another operation.")] - MEDIA_TIMEOUT_ERROR, + [Description("Media timed out because it is currently being modified by another operation.")] + MEDIA_TIMEOUT_ERROR, /// ///Media could not be created because the external video could not be found. /// - [Description("Media could not be created because the external video could not be found.")] - EXTERNAL_VIDEO_NOT_FOUND, + [Description("Media could not be created because the external video could not be found.")] + EXTERNAL_VIDEO_NOT_FOUND, /// ///Media could not be created because the external video is not listed or is private. /// - [Description("Media could not be created because the external video is not listed or is private.")] - EXTERNAL_VIDEO_UNLISTED, + [Description("Media could not be created because the external video is not listed or is private.")] + EXTERNAL_VIDEO_UNLISTED, /// ///Media could not be created because the external video has an invalid aspect ratio. /// - [Description("Media could not be created because the external video has an invalid aspect ratio.")] - EXTERNAL_VIDEO_INVALID_ASPECT_RATIO, + [Description("Media could not be created because the external video has an invalid aspect ratio.")] + EXTERNAL_VIDEO_INVALID_ASPECT_RATIO, /// ///Media could not be created because embed permissions are disabled for this video. /// - [Description("Media could not be created because embed permissions are disabled for this video.")] - EXTERNAL_VIDEO_EMBED_DISABLED, + [Description("Media could not be created because embed permissions are disabled for this video.")] + EXTERNAL_VIDEO_EMBED_DISABLED, /// ///Media could not be created because video is either not found or still transcoding. /// - [Description("Media could not be created because video is either not found or still transcoding.")] - EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING, + [Description("Media could not be created because video is either not found or still transcoding.")] + EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING, /// ///File could not be processed because the source could not be downloaded. /// - [Description("File could not be processed because the source could not be downloaded.")] - GENERIC_FILE_DOWNLOAD_FAILURE, + [Description("File could not be processed because the source could not be downloaded.")] + GENERIC_FILE_DOWNLOAD_FAILURE, /// ///File could not be created because the size is too large. /// - [Description("File could not be created because the size is too large.")] - GENERIC_FILE_INVALID_SIZE, + [Description("File could not be created because the size is too large.")] + GENERIC_FILE_INVALID_SIZE, /// ///Media could not be created because the metadata could not be read. /// - [Description("Media could not be created because the metadata could not be read.")] - VIDEO_METADATA_READ_ERROR, + [Description("Media could not be created because the metadata could not be read.")] + VIDEO_METADATA_READ_ERROR, /// ///Media could not be created because it has an invalid file type. /// - [Description("Media could not be created because it has an invalid file type.")] - VIDEO_INVALID_FILETYPE_ERROR, + [Description("Media could not be created because it has an invalid file type.")] + VIDEO_INVALID_FILETYPE_ERROR, /// ///Media could not be created because it does not meet the minimum width requirement. /// - [Description("Media could not be created because it does not meet the minimum width requirement.")] - VIDEO_MIN_WIDTH_ERROR, + [Description("Media could not be created because it does not meet the minimum width requirement.")] + VIDEO_MIN_WIDTH_ERROR, /// ///Media could not be created because it does not meet the maximum width requirement. /// - [Description("Media could not be created because it does not meet the maximum width requirement.")] - VIDEO_MAX_WIDTH_ERROR, + [Description("Media could not be created because it does not meet the maximum width requirement.")] + VIDEO_MAX_WIDTH_ERROR, /// ///Media could not be created because it does not meet the minimum height requirement. /// - [Description("Media could not be created because it does not meet the minimum height requirement.")] - VIDEO_MIN_HEIGHT_ERROR, + [Description("Media could not be created because it does not meet the minimum height requirement.")] + VIDEO_MIN_HEIGHT_ERROR, /// ///Media could not be created because it does not meet the maximum height requirement. /// - [Description("Media could not be created because it does not meet the maximum height requirement.")] - VIDEO_MAX_HEIGHT_ERROR, + [Description("Media could not be created because it does not meet the maximum height requirement.")] + VIDEO_MAX_HEIGHT_ERROR, /// ///Media could not be created because it does not meet the minimum duration requirement. /// - [Description("Media could not be created because it does not meet the minimum duration requirement.")] - VIDEO_MIN_DURATION_ERROR, + [Description("Media could not be created because it does not meet the minimum duration requirement.")] + VIDEO_MIN_DURATION_ERROR, /// ///Media could not be created because it does not meet the maximum duration requirement. /// - [Description("Media could not be created because it does not meet the maximum duration requirement.")] - VIDEO_MAX_DURATION_ERROR, + [Description("Media could not be created because it does not meet the maximum duration requirement.")] + VIDEO_MAX_DURATION_ERROR, /// ///Video failed validation. /// - [Description("Video failed validation.")] - VIDEO_VALIDATION_ERROR, + [Description("Video failed validation.")] + VIDEO_VALIDATION_ERROR, /// ///Model failed validation. /// - [Description("Model failed validation.")] - MODEL3D_VALIDATION_ERROR, + [Description("Model failed validation.")] + MODEL3D_VALIDATION_ERROR, /// ///Media could not be created because the model's thumbnail generation failed. /// - [Description("Media could not be created because the model's thumbnail generation failed.")] - MODEL3D_THUMBNAIL_GENERATION_ERROR, + [Description("Media could not be created because the model's thumbnail generation failed.")] + MODEL3D_THUMBNAIL_GENERATION_ERROR, /// ///There was an issue while trying to generate a new thumbnail. /// - [Description("There was an issue while trying to generate a new thumbnail.")] - MODEL3D_THUMBNAIL_REGENERATION_ERROR, + [Description("There was an issue while trying to generate a new thumbnail.")] + MODEL3D_THUMBNAIL_REGENERATION_ERROR, /// ///Media could not be created because the model can't be converted to USDZ format. /// - [Description("Media could not be created because the model can't be converted to USDZ format.")] - MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR, + [Description("Media could not be created because the model can't be converted to USDZ format.")] + MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR, /// ///Media could not be created because the model file failed processing. /// - [Description("Media could not be created because the model file failed processing.")] - MODEL3D_GLB_OUTPUT_CREATION_ERROR, + [Description("Media could not be created because the model file failed processing.")] + MODEL3D_GLB_OUTPUT_CREATION_ERROR, /// ///Media could not be created because the model file failed processing. /// - [Description("Media could not be created because the model file failed processing.")] - MODEL3D_PROCESSING_FAILURE, + [Description("Media could not be created because the model file failed processing.")] + MODEL3D_PROCESSING_FAILURE, /// ///Media could not be created because the image is an unsupported file type. /// - [Description("Media could not be created because the image is an unsupported file type.")] - UNSUPPORTED_IMAGE_FILE_TYPE, + [Description("Media could not be created because the image is an unsupported file type.")] + UNSUPPORTED_IMAGE_FILE_TYPE, /// ///Media could not be created because the image size is too large. /// - [Description("Media could not be created because the image size is too large.")] - INVALID_IMAGE_FILE_SIZE, + [Description("Media could not be created because the image size is too large.")] + INVALID_IMAGE_FILE_SIZE, /// ///Media could not be created because the image has an invalid aspect ratio. /// - [Description("Media could not be created because the image has an invalid aspect ratio.")] - INVALID_IMAGE_ASPECT_RATIO, + [Description("Media could not be created because the image has an invalid aspect ratio.")] + INVALID_IMAGE_ASPECT_RATIO, /// ///Media could not be created because the image's resolution exceeds the max limit. /// - [Description("Media could not be created because the image's resolution exceeds the max limit.")] - INVALID_IMAGE_RESOLUTION, + [Description("Media could not be created because the image's resolution exceeds the max limit.")] + INVALID_IMAGE_RESOLUTION, /// ///Media could not be created because the cumulative file storage limit would be exceeded. /// - [Description("Media could not be created because the cumulative file storage limit would be exceeded.")] - FILE_STORAGE_LIMIT_EXCEEDED, + [Description("Media could not be created because the cumulative file storage limit would be exceeded.")] + FILE_STORAGE_LIMIT_EXCEEDED, /// ///Media could not be created because a file with the same name already exists. /// - [Description("Media could not be created because a file with the same name already exists.")] - DUPLICATE_FILENAME_ERROR, + [Description("Media could not be created because a file with the same name already exists.")] + DUPLICATE_FILENAME_ERROR, /// ///Media could not be reverted to previous version. /// - [Description("Media could not be reverted to previous version.")] - REVERT_MEDIA_VERSION_FAILURE, - } - - public static class MediaErrorCodeStringValues - { - public const string UNKNOWN = @"UNKNOWN"; - public const string INVALID_SIGNED_URL = @"INVALID_SIGNED_URL"; - public const string IMAGE_DOWNLOAD_FAILURE = @"IMAGE_DOWNLOAD_FAILURE"; - public const string IMAGE_PROCESSING_FAILURE = @"IMAGE_PROCESSING_FAILURE"; - public const string MEDIA_TIMEOUT_ERROR = @"MEDIA_TIMEOUT_ERROR"; - public const string EXTERNAL_VIDEO_NOT_FOUND = @"EXTERNAL_VIDEO_NOT_FOUND"; - public const string EXTERNAL_VIDEO_UNLISTED = @"EXTERNAL_VIDEO_UNLISTED"; - public const string EXTERNAL_VIDEO_INVALID_ASPECT_RATIO = @"EXTERNAL_VIDEO_INVALID_ASPECT_RATIO"; - public const string EXTERNAL_VIDEO_EMBED_DISABLED = @"EXTERNAL_VIDEO_EMBED_DISABLED"; - public const string EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING = @"EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING"; - public const string GENERIC_FILE_DOWNLOAD_FAILURE = @"GENERIC_FILE_DOWNLOAD_FAILURE"; - public const string GENERIC_FILE_INVALID_SIZE = @"GENERIC_FILE_INVALID_SIZE"; - public const string VIDEO_METADATA_READ_ERROR = @"VIDEO_METADATA_READ_ERROR"; - public const string VIDEO_INVALID_FILETYPE_ERROR = @"VIDEO_INVALID_FILETYPE_ERROR"; - public const string VIDEO_MIN_WIDTH_ERROR = @"VIDEO_MIN_WIDTH_ERROR"; - public const string VIDEO_MAX_WIDTH_ERROR = @"VIDEO_MAX_WIDTH_ERROR"; - public const string VIDEO_MIN_HEIGHT_ERROR = @"VIDEO_MIN_HEIGHT_ERROR"; - public const string VIDEO_MAX_HEIGHT_ERROR = @"VIDEO_MAX_HEIGHT_ERROR"; - public const string VIDEO_MIN_DURATION_ERROR = @"VIDEO_MIN_DURATION_ERROR"; - public const string VIDEO_MAX_DURATION_ERROR = @"VIDEO_MAX_DURATION_ERROR"; - public const string VIDEO_VALIDATION_ERROR = @"VIDEO_VALIDATION_ERROR"; - public const string MODEL3D_VALIDATION_ERROR = @"MODEL3D_VALIDATION_ERROR"; - public const string MODEL3D_THUMBNAIL_GENERATION_ERROR = @"MODEL3D_THUMBNAIL_GENERATION_ERROR"; - public const string MODEL3D_THUMBNAIL_REGENERATION_ERROR = @"MODEL3D_THUMBNAIL_REGENERATION_ERROR"; - public const string MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR = @"MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR"; - public const string MODEL3D_GLB_OUTPUT_CREATION_ERROR = @"MODEL3D_GLB_OUTPUT_CREATION_ERROR"; - public const string MODEL3D_PROCESSING_FAILURE = @"MODEL3D_PROCESSING_FAILURE"; - public const string UNSUPPORTED_IMAGE_FILE_TYPE = @"UNSUPPORTED_IMAGE_FILE_TYPE"; - public const string INVALID_IMAGE_FILE_SIZE = @"INVALID_IMAGE_FILE_SIZE"; - public const string INVALID_IMAGE_ASPECT_RATIO = @"INVALID_IMAGE_ASPECT_RATIO"; - public const string INVALID_IMAGE_RESOLUTION = @"INVALID_IMAGE_RESOLUTION"; - public const string FILE_STORAGE_LIMIT_EXCEEDED = @"FILE_STORAGE_LIMIT_EXCEEDED"; - public const string DUPLICATE_FILENAME_ERROR = @"DUPLICATE_FILENAME_ERROR"; - public const string REVERT_MEDIA_VERSION_FAILURE = @"REVERT_MEDIA_VERSION_FAILURE"; - } - + [Description("Media could not be reverted to previous version.")] + REVERT_MEDIA_VERSION_FAILURE, + } + + public static class MediaErrorCodeStringValues + { + public const string UNKNOWN = @"UNKNOWN"; + public const string INVALID_SIGNED_URL = @"INVALID_SIGNED_URL"; + public const string IMAGE_DOWNLOAD_FAILURE = @"IMAGE_DOWNLOAD_FAILURE"; + public const string IMAGE_PROCESSING_FAILURE = @"IMAGE_PROCESSING_FAILURE"; + public const string MEDIA_TIMEOUT_ERROR = @"MEDIA_TIMEOUT_ERROR"; + public const string EXTERNAL_VIDEO_NOT_FOUND = @"EXTERNAL_VIDEO_NOT_FOUND"; + public const string EXTERNAL_VIDEO_UNLISTED = @"EXTERNAL_VIDEO_UNLISTED"; + public const string EXTERNAL_VIDEO_INVALID_ASPECT_RATIO = @"EXTERNAL_VIDEO_INVALID_ASPECT_RATIO"; + public const string EXTERNAL_VIDEO_EMBED_DISABLED = @"EXTERNAL_VIDEO_EMBED_DISABLED"; + public const string EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING = @"EXTERNAL_VIDEO_EMBED_NOT_FOUND_OR_TRANSCODING"; + public const string GENERIC_FILE_DOWNLOAD_FAILURE = @"GENERIC_FILE_DOWNLOAD_FAILURE"; + public const string GENERIC_FILE_INVALID_SIZE = @"GENERIC_FILE_INVALID_SIZE"; + public const string VIDEO_METADATA_READ_ERROR = @"VIDEO_METADATA_READ_ERROR"; + public const string VIDEO_INVALID_FILETYPE_ERROR = @"VIDEO_INVALID_FILETYPE_ERROR"; + public const string VIDEO_MIN_WIDTH_ERROR = @"VIDEO_MIN_WIDTH_ERROR"; + public const string VIDEO_MAX_WIDTH_ERROR = @"VIDEO_MAX_WIDTH_ERROR"; + public const string VIDEO_MIN_HEIGHT_ERROR = @"VIDEO_MIN_HEIGHT_ERROR"; + public const string VIDEO_MAX_HEIGHT_ERROR = @"VIDEO_MAX_HEIGHT_ERROR"; + public const string VIDEO_MIN_DURATION_ERROR = @"VIDEO_MIN_DURATION_ERROR"; + public const string VIDEO_MAX_DURATION_ERROR = @"VIDEO_MAX_DURATION_ERROR"; + public const string VIDEO_VALIDATION_ERROR = @"VIDEO_VALIDATION_ERROR"; + public const string MODEL3D_VALIDATION_ERROR = @"MODEL3D_VALIDATION_ERROR"; + public const string MODEL3D_THUMBNAIL_GENERATION_ERROR = @"MODEL3D_THUMBNAIL_GENERATION_ERROR"; + public const string MODEL3D_THUMBNAIL_REGENERATION_ERROR = @"MODEL3D_THUMBNAIL_REGENERATION_ERROR"; + public const string MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR = @"MODEL3D_GLB_TO_USDZ_CONVERSION_ERROR"; + public const string MODEL3D_GLB_OUTPUT_CREATION_ERROR = @"MODEL3D_GLB_OUTPUT_CREATION_ERROR"; + public const string MODEL3D_PROCESSING_FAILURE = @"MODEL3D_PROCESSING_FAILURE"; + public const string UNSUPPORTED_IMAGE_FILE_TYPE = @"UNSUPPORTED_IMAGE_FILE_TYPE"; + public const string INVALID_IMAGE_FILE_SIZE = @"INVALID_IMAGE_FILE_SIZE"; + public const string INVALID_IMAGE_ASPECT_RATIO = @"INVALID_IMAGE_ASPECT_RATIO"; + public const string INVALID_IMAGE_RESOLUTION = @"INVALID_IMAGE_RESOLUTION"; + public const string FILE_STORAGE_LIMIT_EXCEEDED = @"FILE_STORAGE_LIMIT_EXCEEDED"; + public const string DUPLICATE_FILENAME_ERROR = @"DUPLICATE_FILENAME_ERROR"; + public const string REVERT_MEDIA_VERSION_FAILURE = @"REVERT_MEDIA_VERSION_FAILURE"; + } + /// ///Host for a Media Resource. /// - [Description("Host for a Media Resource.")] - public enum MediaHost - { + [Description("Host for a Media Resource.")] + public enum MediaHost + { /// ///Host for YouTube embedded videos. /// - [Description("Host for YouTube embedded videos.")] - YOUTUBE, + [Description("Host for YouTube embedded videos.")] + YOUTUBE, /// ///Host for Vimeo embedded videos. /// - [Description("Host for Vimeo embedded videos.")] - VIMEO, - } - - public static class MediaHostStringValues - { - public const string YOUTUBE = @"YOUTUBE"; - public const string VIMEO = @"VIMEO"; - } - + [Description("Host for Vimeo embedded videos.")] + VIMEO, + } + + public static class MediaHostStringValues + { + public const string YOUTUBE = @"YOUTUBE"; + public const string VIMEO = @"VIMEO"; + } + /// ///The `MediaImage` object represents an image hosted on Shopify's ///[content delivery network (CDN)](https://shopify.dev/docs/storefronts/themes/best-practices/performance/platform#shopify-cdn). @@ -67584,3253 +67584,3253 @@ public static class MediaHostStringValues ///[product variants](https://shopify.dev/docs/apps/build/online-store/product-variant-media), and ///[asynchronous media management](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components#asynchronous-media-management). /// - [Description("The `MediaImage` object represents an image hosted on Shopify's\n[content delivery network (CDN)](https://shopify.dev/docs/storefronts/themes/best-practices/performance/platform#shopify-cdn).\nShopify CDN is a content system that serves as the primary way to store,\nmanage, and deliver visual content for products, variants, and other resources across the Shopify platform.\n\nThe `MediaImage` object provides information to:\n\n- Store and display product and variant images across online stores, admin interfaces, and mobile apps.\n- Retrieve visual branding elements, including logos, banners, favicons, and background images in checkout flows.\n- Retrieve signed URLs for secure, time-limited access to original image files.\n\nEach `MediaImage` object provides both the processed image data (with automatic optimization and CDN delivery)\nand access to the original source file. The image processing is handled asynchronously, so images\nmight not be immediately available after upload. The\n[`status`](https://shopify.dev/docs/api/admin-graphql/latest/objects/mediaimage#field-MediaImage.fields.status)\nfield indicates when processing is complete and the image is ready for use.\n\nThe `MediaImage` object implements the [`Media`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Media)\ninterface alongside other media types, like videos and 3D models.\n\nLearn about\nmanaging media for [products](https://shopify.dev/docs/apps/build/online-store/product-media),\n[product variants](https://shopify.dev/docs/apps/build/online-store/product-variant-media), and\n[asynchronous media management](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components#asynchronous-media-management).")] - public class MediaImage : GraphQLObject, IFile, IHasMetafields, IHasPublishedTranslations, IMedia, INode, IMetafieldReference - { + [Description("The `MediaImage` object represents an image hosted on Shopify's\n[content delivery network (CDN)](https://shopify.dev/docs/storefronts/themes/best-practices/performance/platform#shopify-cdn).\nShopify CDN is a content system that serves as the primary way to store,\nmanage, and deliver visual content for products, variants, and other resources across the Shopify platform.\n\nThe `MediaImage` object provides information to:\n\n- Store and display product and variant images across online stores, admin interfaces, and mobile apps.\n- Retrieve visual branding elements, including logos, banners, favicons, and background images in checkout flows.\n- Retrieve signed URLs for secure, time-limited access to original image files.\n\nEach `MediaImage` object provides both the processed image data (with automatic optimization and CDN delivery)\nand access to the original source file. The image processing is handled asynchronously, so images\nmight not be immediately available after upload. The\n[`status`](https://shopify.dev/docs/api/admin-graphql/latest/objects/mediaimage#field-MediaImage.fields.status)\nfield indicates when processing is complete and the image is ready for use.\n\nThe `MediaImage` object implements the [`Media`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Media)\ninterface alongside other media types, like videos and 3D models.\n\nLearn about\nmanaging media for [products](https://shopify.dev/docs/apps/build/online-store/product-media),\n[product variants](https://shopify.dev/docs/apps/build/online-store/product-variant-media), and\n[asynchronous media management](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components#asynchronous-media-management).")] + public class MediaImage : GraphQLObject, IFile, IHasMetafields, IHasPublishedTranslations, IMedia, INode, IMetafieldReference + { /// ///A word or phrase to share the nature or contents of a media. /// - [Description("A word or phrase to share the nature or contents of a media.")] - public string? alt { get; set; } - + [Description("A word or phrase to share the nature or contents of a media.")] + public string? alt { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Any errors that have occurred on the file. /// - [Description("Any errors that have occurred on the file.")] - [NonNull] - public IEnumerable? fileErrors { get; set; } - + [Description("Any errors that have occurred on the file.")] + [NonNull] + public IEnumerable? fileErrors { get; set; } + /// ///The status of the file. /// - [Description("The status of the file.")] - [NonNull] - [EnumType(typeof(FileStatus))] - public string? fileStatus { get; set; } - + [Description("The status of the file.")] + [NonNull] + [EnumType(typeof(FileStatus))] + public string? fileStatus { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The image for the media. Returns `null` until `status` is `READY`. /// - [Description("The image for the media. Returns `null` until `status` is `READY`.")] - public Image? image { get; set; } - + [Description("The image for the media. Returns `null` until `status` is `READY`.")] + public Image? image { get; set; } + /// ///The media content type. /// - [Description("The media content type.")] - [NonNull] - [EnumType(typeof(MediaContentType))] - public string? mediaContentType { get; set; } - + [Description("The media content type.")] + [NonNull] + [EnumType(typeof(MediaContentType))] + public string? mediaContentType { get; set; } + /// ///Any errors which have occurred on the media. /// - [Description("Any errors which have occurred on the media.")] - [NonNull] - public IEnumerable? mediaErrors { get; set; } - + [Description("Any errors which have occurred on the media.")] + [NonNull] + public IEnumerable? mediaErrors { get; set; } + /// ///The warnings attached to the media. /// - [Description("The warnings attached to the media.")] - [NonNull] - public IEnumerable? mediaWarnings { get; set; } - + [Description("The warnings attached to the media.")] + [NonNull] + public IEnumerable? mediaWarnings { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - [Obsolete("No longer supported. Use metaobjects instead.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + [Obsolete("No longer supported. Use metaobjects instead.")] + public Metafield? metafield { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [Obsolete("No longer supported. Use metaobjects instead.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [Obsolete("No longer supported. Use metaobjects instead.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The MIME type of the image. /// - [Description("The MIME type of the image.")] - public string? mimeType { get; set; } - + [Description("The MIME type of the image.")] + public string? mimeType { get; set; } + /// ///The original source of the image. /// - [Description("The original source of the image.")] - public MediaImageOriginalSource? originalSource { get; set; } - + [Description("The original source of the image.")] + public MediaImageOriginalSource? originalSource { get; set; } + /// ///The preview image for the media. /// - [Description("The preview image for the media.")] - public MediaPreviewImage? preview { get; set; } - + [Description("The preview image for the media.")] + public MediaPreviewImage? preview { get; set; } + /// ///Current status of the media. /// - [Description("Current status of the media.")] - [NonNull] - [EnumType(typeof(MediaStatus))] - public string? status { get; set; } - + [Description("Current status of the media.")] + [NonNull] + [EnumType(typeof(MediaStatus))] + public string? status { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///Status resulting from the latest update operation. See fileErrors for details. /// - [Description("Status resulting from the latest update operation. See fileErrors for details.")] - [EnumType(typeof(FileStatus))] - public string? updateStatus { get; set; } - + [Description("Status resulting from the latest update operation. See fileErrors for details.")] + [EnumType(typeof(FileStatus))] + public string? updateStatus { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///The original source for an image. /// - [Description("The original source for an image.")] - public class MediaImageOriginalSource : GraphQLObject - { + [Description("The original source for an image.")] + public class MediaImageOriginalSource : GraphQLObject + { /// ///The size of the original file in bytes. /// - [Description("The size of the original file in bytes.")] - public int? fileSize { get; set; } - + [Description("The size of the original file in bytes.")] + public int? fileSize { get; set; } + /// ///The URL of the original image, valid only for a short period. /// - [Description("The URL of the original image, valid only for a short period.")] - public string? url { get; set; } - } - + [Description("The URL of the original image, valid only for a short period.")] + public string? url { get; set; } + } + /// ///Represents the preview image for a media. /// - [Description("Represents the preview image for a media.")] - public class MediaPreviewImage : GraphQLObject - { + [Description("Represents the preview image for a media.")] + public class MediaPreviewImage : GraphQLObject + { /// ///The preview image for the media. Returns `null` until `status` is `READY`. /// - [Description("The preview image for the media. Returns `null` until `status` is `READY`.")] - public Image? image { get; set; } - + [Description("The preview image for the media. Returns `null` until `status` is `READY`.")] + public Image? image { get; set; } + /// ///Current status of the preview image. /// - [Description("Current status of the preview image.")] - [NonNull] - [EnumType(typeof(MediaPreviewImageStatus))] - public string? status { get; set; } - } - + [Description("Current status of the preview image.")] + [NonNull] + [EnumType(typeof(MediaPreviewImageStatus))] + public string? status { get; set; } + } + /// ///The possible statuses for a media preview image. /// - [Description("The possible statuses for a media preview image.")] - public enum MediaPreviewImageStatus - { + [Description("The possible statuses for a media preview image.")] + public enum MediaPreviewImageStatus + { /// ///Preview image is uploaded but not yet processed. /// - [Description("Preview image is uploaded but not yet processed.")] - UPLOADED, + [Description("Preview image is uploaded but not yet processed.")] + UPLOADED, /// ///Preview image is being processed. /// - [Description("Preview image is being processed.")] - PROCESSING, + [Description("Preview image is being processed.")] + PROCESSING, /// ///Preview image is ready to be displayed. /// - [Description("Preview image is ready to be displayed.")] - READY, + [Description("Preview image is ready to be displayed.")] + READY, /// ///Preview image processing has failed. /// - [Description("Preview image processing has failed.")] - FAILED, - } - - public static class MediaPreviewImageStatusStringValues - { - public const string UPLOADED = @"UPLOADED"; - public const string PROCESSING = @"PROCESSING"; - public const string READY = @"READY"; - public const string FAILED = @"FAILED"; - } - + [Description("Preview image processing has failed.")] + FAILED, + } + + public static class MediaPreviewImageStatusStringValues + { + public const string UPLOADED = @"UPLOADED"; + public const string PROCESSING = @"PROCESSING"; + public const string READY = @"READY"; + public const string FAILED = @"FAILED"; + } + /// ///The possible statuses for a media object. /// - [Description("The possible statuses for a media object.")] - public enum MediaStatus - { + [Description("The possible statuses for a media object.")] + public enum MediaStatus + { /// ///Media has been uploaded but not yet processed. /// - [Description("Media has been uploaded but not yet processed.")] - UPLOADED, + [Description("Media has been uploaded but not yet processed.")] + UPLOADED, /// ///Media is being processed. /// - [Description("Media is being processed.")] - PROCESSING, + [Description("Media is being processed.")] + PROCESSING, /// ///Media is ready to be displayed. /// - [Description("Media is ready to be displayed.")] - READY, + [Description("Media is ready to be displayed.")] + READY, /// ///Media processing has failed. /// - [Description("Media processing has failed.")] - FAILED, - } - - public static class MediaStatusStringValues - { - public const string UPLOADED = @"UPLOADED"; - public const string PROCESSING = @"PROCESSING"; - public const string READY = @"READY"; - public const string FAILED = @"FAILED"; - } - + [Description("Media processing has failed.")] + FAILED, + } + + public static class MediaStatusStringValues + { + public const string UPLOADED = @"UPLOADED"; + public const string PROCESSING = @"PROCESSING"; + public const string READY = @"READY"; + public const string FAILED = @"FAILED"; + } + /// ///Represents an error that happens during execution of a Media query or mutation. /// - [Description("Represents an error that happens during execution of a Media query or mutation.")] - public class MediaUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during execution of a Media query or mutation.")] + public class MediaUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MediaUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MediaUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MediaUserError`. /// - [Description("Possible error codes that can be returned by `MediaUserError`.")] - public enum MediaUserErrorCode - { + [Description("Possible error codes that can be returned by `MediaUserError`.")] + public enum MediaUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///Video validation failed. /// - [Description("Video validation failed.")] - VIDEO_VALIDATION_ERROR, + [Description("Video validation failed.")] + VIDEO_VALIDATION_ERROR, /// ///Model validation failed. /// - [Description("Model validation failed.")] - MODEL3D_VALIDATION_ERROR, + [Description("Model validation failed.")] + MODEL3D_VALIDATION_ERROR, /// ///Video creation throttle was exceeded. /// - [Description("Video creation throttle was exceeded.")] - VIDEO_THROTTLE_EXCEEDED, + [Description("Video creation throttle was exceeded.")] + VIDEO_THROTTLE_EXCEEDED, /// ///Model3d creation throttle was exceeded. /// - [Description("Model3d creation throttle was exceeded.")] - MODEL3D_THROTTLE_EXCEEDED, + [Description("Model3d creation throttle was exceeded.")] + MODEL3D_THROTTLE_EXCEEDED, /// ///Exceeded the limit of media per product. /// - [Description("Exceeded the limit of media per product.")] - PRODUCT_MEDIA_LIMIT_EXCEEDED, + [Description("Exceeded the limit of media per product.")] + PRODUCT_MEDIA_LIMIT_EXCEEDED, /// ///Exceeded the limit of media per shop. /// - [Description("Exceeded the limit of media per shop.")] - SHOP_MEDIA_LIMIT_EXCEEDED, + [Description("Exceeded the limit of media per shop.")] + SHOP_MEDIA_LIMIT_EXCEEDED, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Media does not exist. /// - [Description("Media does not exist.")] - MEDIA_DOES_NOT_EXIST, + [Description("Media does not exist.")] + MEDIA_DOES_NOT_EXIST, /// ///Media version does not exist. /// - [Description("Media version does not exist.")] - MEDIA_VERSION_DOES_NOT_EXIST, + [Description("Media version does not exist.")] + MEDIA_VERSION_DOES_NOT_EXIST, /// ///Cannot specify source and revert version at the same time. /// - [Description("Cannot specify source and revert version at the same time.")] - CANNOT_SPECIFY_SOURCE_AND_VERSION_ID, + [Description("Cannot specify source and revert version at the same time.")] + CANNOT_SPECIFY_SOURCE_AND_VERSION_ID, /// ///Media does not exist on the given product. /// - [Description("Media does not exist on the given product.")] - MEDIA_DOES_NOT_EXIST_ON_PRODUCT, + [Description("Media does not exist on the given product.")] + MEDIA_DOES_NOT_EXIST_ON_PRODUCT, /// ///Only one mediaId is allowed per variant-media input pair. /// - [Description("Only one mediaId is allowed per variant-media input pair.")] - TOO_MANY_MEDIA_PER_INPUT_PAIR, + [Description("Only one mediaId is allowed per variant-media input pair.")] + TOO_MANY_MEDIA_PER_INPUT_PAIR, /// ///Exceeded the maximum number of 100 variant-media pairs per mutation call. /// - [Description("Exceeded the maximum number of 100 variant-media pairs per mutation call.")] - MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED, + [Description("Exceeded the maximum number of 100 variant-media pairs per mutation call.")] + MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED, /// ///Invalid media type. /// - [Description("Invalid media type.")] - INVALID_MEDIA_TYPE, + [Description("Invalid media type.")] + INVALID_MEDIA_TYPE, /// ///Variant specified in more than one pair. /// - [Description("Variant specified in more than one pair.")] - PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES, + [Description("Variant specified in more than one pair.")] + PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES, /// ///Variant does not exist on the given product. /// - [Description("Variant does not exist on the given product.")] - PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT, + [Description("Variant does not exist on the given product.")] + PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT, /// ///Non-ready media are not supported. /// - [Description("Non-ready media are not supported.")] - NON_READY_MEDIA, + [Description("Non-ready media are not supported.")] + NON_READY_MEDIA, /// ///Product variant already has attached media. /// - [Description("Product variant already has attached media.")] - PRODUCT_VARIANT_ALREADY_HAS_MEDIA, + [Description("Product variant already has attached media.")] + PRODUCT_VARIANT_ALREADY_HAS_MEDIA, /// ///The specified media is not attached to the specified variant. /// - [Description("The specified media is not attached to the specified variant.")] - MEDIA_IS_NOT_ATTACHED_TO_VARIANT, + [Description("The specified media is not attached to the specified variant.")] + MEDIA_IS_NOT_ATTACHED_TO_VARIANT, /// ///Media cannot be modified. It is currently being modified by another operation. /// - [Description("Media cannot be modified. It is currently being modified by another operation.")] - MEDIA_CANNOT_BE_MODIFIED, + [Description("Media cannot be modified. It is currently being modified by another operation.")] + MEDIA_CANNOT_BE_MODIFIED, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Missing arguments. /// - [Description("Missing arguments.")] - MISSING_ARGUMENTS, - } - - public static class MediaUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string VIDEO_VALIDATION_ERROR = @"VIDEO_VALIDATION_ERROR"; - public const string MODEL3D_VALIDATION_ERROR = @"MODEL3D_VALIDATION_ERROR"; - public const string VIDEO_THROTTLE_EXCEEDED = @"VIDEO_THROTTLE_EXCEEDED"; - public const string MODEL3D_THROTTLE_EXCEEDED = @"MODEL3D_THROTTLE_EXCEEDED"; - public const string PRODUCT_MEDIA_LIMIT_EXCEEDED = @"PRODUCT_MEDIA_LIMIT_EXCEEDED"; - public const string SHOP_MEDIA_LIMIT_EXCEEDED = @"SHOP_MEDIA_LIMIT_EXCEEDED"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string MEDIA_DOES_NOT_EXIST = @"MEDIA_DOES_NOT_EXIST"; - public const string MEDIA_VERSION_DOES_NOT_EXIST = @"MEDIA_VERSION_DOES_NOT_EXIST"; - public const string CANNOT_SPECIFY_SOURCE_AND_VERSION_ID = @"CANNOT_SPECIFY_SOURCE_AND_VERSION_ID"; - public const string MEDIA_DOES_NOT_EXIST_ON_PRODUCT = @"MEDIA_DOES_NOT_EXIST_ON_PRODUCT"; - public const string TOO_MANY_MEDIA_PER_INPUT_PAIR = @"TOO_MANY_MEDIA_PER_INPUT_PAIR"; - public const string MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED = @"MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED"; - public const string INVALID_MEDIA_TYPE = @"INVALID_MEDIA_TYPE"; - public const string PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES = @"PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES"; - public const string PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT = @"PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT"; - public const string NON_READY_MEDIA = @"NON_READY_MEDIA"; - public const string PRODUCT_VARIANT_ALREADY_HAS_MEDIA = @"PRODUCT_VARIANT_ALREADY_HAS_MEDIA"; - public const string MEDIA_IS_NOT_ATTACHED_TO_VARIANT = @"MEDIA_IS_NOT_ATTACHED_TO_VARIANT"; - public const string MEDIA_CANNOT_BE_MODIFIED = @"MEDIA_CANNOT_BE_MODIFIED"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string MISSING_ARGUMENTS = @"MISSING_ARGUMENTS"; - } - + [Description("Missing arguments.")] + MISSING_ARGUMENTS, + } + + public static class MediaUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string VIDEO_VALIDATION_ERROR = @"VIDEO_VALIDATION_ERROR"; + public const string MODEL3D_VALIDATION_ERROR = @"MODEL3D_VALIDATION_ERROR"; + public const string VIDEO_THROTTLE_EXCEEDED = @"VIDEO_THROTTLE_EXCEEDED"; + public const string MODEL3D_THROTTLE_EXCEEDED = @"MODEL3D_THROTTLE_EXCEEDED"; + public const string PRODUCT_MEDIA_LIMIT_EXCEEDED = @"PRODUCT_MEDIA_LIMIT_EXCEEDED"; + public const string SHOP_MEDIA_LIMIT_EXCEEDED = @"SHOP_MEDIA_LIMIT_EXCEEDED"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string MEDIA_DOES_NOT_EXIST = @"MEDIA_DOES_NOT_EXIST"; + public const string MEDIA_VERSION_DOES_NOT_EXIST = @"MEDIA_VERSION_DOES_NOT_EXIST"; + public const string CANNOT_SPECIFY_SOURCE_AND_VERSION_ID = @"CANNOT_SPECIFY_SOURCE_AND_VERSION_ID"; + public const string MEDIA_DOES_NOT_EXIST_ON_PRODUCT = @"MEDIA_DOES_NOT_EXIST_ON_PRODUCT"; + public const string TOO_MANY_MEDIA_PER_INPUT_PAIR = @"TOO_MANY_MEDIA_PER_INPUT_PAIR"; + public const string MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED = @"MAXIMUM_VARIANT_MEDIA_PAIRS_EXCEEDED"; + public const string INVALID_MEDIA_TYPE = @"INVALID_MEDIA_TYPE"; + public const string PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES = @"PRODUCT_VARIANT_SPECIFIED_MULTIPLE_TIMES"; + public const string PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT = @"PRODUCT_VARIANT_DOES_NOT_EXIST_ON_PRODUCT"; + public const string NON_READY_MEDIA = @"NON_READY_MEDIA"; + public const string PRODUCT_VARIANT_ALREADY_HAS_MEDIA = @"PRODUCT_VARIANT_ALREADY_HAS_MEDIA"; + public const string MEDIA_IS_NOT_ATTACHED_TO_VARIANT = @"MEDIA_IS_NOT_ATTACHED_TO_VARIANT"; + public const string MEDIA_CANNOT_BE_MODIFIED = @"MEDIA_CANNOT_BE_MODIFIED"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string MISSING_ARGUMENTS = @"MISSING_ARGUMENTS"; + } + /// ///Represents a media warning. This occurs when there is a non-blocking concern regarding your media. ///Consider reviewing your media to ensure it is correct and its parameters are as expected. /// - [Description("Represents a media warning. This occurs when there is a non-blocking concern regarding your media.\nConsider reviewing your media to ensure it is correct and its parameters are as expected.")] - public class MediaWarning : GraphQLObject - { + [Description("Represents a media warning. This occurs when there is a non-blocking concern regarding your media.\nConsider reviewing your media to ensure it is correct and its parameters are as expected.")] + public class MediaWarning : GraphQLObject + { /// ///The code representing the type of warning. /// - [Description("The code representing the type of warning.")] - [NonNull] - [EnumType(typeof(MediaWarningCode))] - public string? code { get; set; } - + [Description("The code representing the type of warning.")] + [NonNull] + [EnumType(typeof(MediaWarningCode))] + public string? code { get; set; } + /// ///Translated warning message. /// - [Description("Translated warning message.")] - public string? message { get; set; } - } - + [Description("Translated warning message.")] + public string? message { get; set; } + } + /// ///Warning types for media. /// - [Description("Warning types for media.")] - public enum MediaWarningCode - { + [Description("Warning types for media.")] + public enum MediaWarningCode + { /// ///3D model physical size might be invalid. The dimensions of your model are very small. Consider reviewing your model to ensure they are correct. /// - [Description("3D model physical size might be invalid. The dimensions of your model are very small. Consider reviewing your model to ensure they are correct.")] - MODEL_SMALL_PHYSICAL_SIZE, + [Description("3D model physical size might be invalid. The dimensions of your model are very small. Consider reviewing your model to ensure they are correct.")] + MODEL_SMALL_PHYSICAL_SIZE, /// ///3D model physical size might be invalid. The dimensions of your model are very large. Consider reviewing your model to ensure they are correct. /// - [Description("3D model physical size might be invalid. The dimensions of your model are very large. Consider reviewing your model to ensure they are correct.")] - MODEL_LARGE_PHYSICAL_SIZE, + [Description("3D model physical size might be invalid. The dimensions of your model are very large. Consider reviewing your model to ensure they are correct.")] + MODEL_LARGE_PHYSICAL_SIZE, /// ///The thumbnail failed to regenerate.Try applying the changes again to regenerate the thumbnail. /// - [Description("The thumbnail failed to regenerate.Try applying the changes again to regenerate the thumbnail.")] - MODEL_PREVIEW_IMAGE_FAIL, - } - - public static class MediaWarningCodeStringValues - { - public const string MODEL_SMALL_PHYSICAL_SIZE = @"MODEL_SMALL_PHYSICAL_SIZE"; - public const string MODEL_LARGE_PHYSICAL_SIZE = @"MODEL_LARGE_PHYSICAL_SIZE"; - public const string MODEL_PREVIEW_IMAGE_FAIL = @"MODEL_PREVIEW_IMAGE_FAIL"; - } - + [Description("The thumbnail failed to regenerate.Try applying the changes again to regenerate the thumbnail.")] + MODEL_PREVIEW_IMAGE_FAIL, + } + + public static class MediaWarningCodeStringValues + { + public const string MODEL_SMALL_PHYSICAL_SIZE = @"MODEL_SMALL_PHYSICAL_SIZE"; + public const string MODEL_LARGE_PHYSICAL_SIZE = @"MODEL_LARGE_PHYSICAL_SIZE"; + public const string MODEL_PREVIEW_IMAGE_FAIL = @"MODEL_PREVIEW_IMAGE_FAIL"; + } + /// ///A menu for display on the storefront. /// - [Description("A menu for display on the storefront.")] - public class Menu : GraphQLObject, IHasPublishedTranslations, INode - { + [Description("A menu for display on the storefront.")] + public class Menu : GraphQLObject, IHasPublishedTranslations, INode + { /// ///The menu's handle. /// - [Description("The menu's handle.")] - [NonNull] - public string? handle { get; set; } - + [Description("The menu's handle.")] + [NonNull] + public string? handle { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the menu is a default. The handle for default menus can't be updated and default menus can't be deleted. /// - [Description("Whether the menu is a default. The handle for default menus can't be updated and default menus can't be deleted.")] - [NonNull] - public bool? isDefault { get; set; } - + [Description("Whether the menu is a default. The handle for default menus can't be updated and default menus can't be deleted.")] + [NonNull] + public bool? isDefault { get; set; } + /// ///A list of items on the menu sorted by position. /// - [Description("A list of items on the menu sorted by position.")] - [NonNull] - public IEnumerable? items { get; set; } - + [Description("A list of items on the menu sorted by position.")] + [NonNull] + public IEnumerable? items { get; set; } + /// ///The menu's title. /// - [Description("The menu's title.")] - [NonNull] - public string? title { get; set; } - + [Description("The menu's title.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + } + /// ///An auto-generated type for paginating through multiple Menus. /// - [Description("An auto-generated type for paginating through multiple Menus.")] - public class MenuConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Menus.")] + public class MenuConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MenuEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MenuEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MenuEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `menuCreate` mutation. /// - [Description("Return type for `menuCreate` mutation.")] - public class MenuCreatePayload : GraphQLObject - { + [Description("Return type for `menuCreate` mutation.")] + public class MenuCreatePayload : GraphQLObject + { /// ///The created menu. /// - [Description("The created menu.")] - public Menu? menu { get; set; } - + [Description("The created menu.")] + public Menu? menu { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MenuCreate`. /// - [Description("An error that occurs during the execution of `MenuCreate`.")] - public class MenuCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MenuCreate`.")] + public class MenuCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MenuCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MenuCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MenuCreateUserError`. /// - [Description("Possible error codes that can be returned by `MenuCreateUserError`.")] - public enum MenuCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `MenuCreateUserError`.")] + public enum MenuCreateUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The menu cannot be nested more than 3 level deep. /// - [Description("The menu cannot be nested more than 3 level deep.")] - NESTING_TOO_DEEP, - } - - public static class MenuCreateUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string NESTING_TOO_DEEP = @"NESTING_TOO_DEEP"; - } - + [Description("The menu cannot be nested more than 3 level deep.")] + NESTING_TOO_DEEP, + } + + public static class MenuCreateUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string NESTING_TOO_DEEP = @"NESTING_TOO_DEEP"; + } + /// ///Return type for `menuDelete` mutation. /// - [Description("Return type for `menuDelete` mutation.")] - public class MenuDeletePayload : GraphQLObject - { + [Description("Return type for `menuDelete` mutation.")] + public class MenuDeletePayload : GraphQLObject + { /// ///The ID of the deleted menu. /// - [Description("The ID of the deleted menu.")] - public string? deletedMenuId { get; set; } - + [Description("The ID of the deleted menu.")] + public string? deletedMenuId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MenuDelete`. /// - [Description("An error that occurs during the execution of `MenuDelete`.")] - public class MenuDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MenuDelete`.")] + public class MenuDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MenuDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MenuDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MenuDeleteUserError`. /// - [Description("Possible error codes that can be returned by `MenuDeleteUserError`.")] - public enum MenuDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `MenuDeleteUserError`.")] + public enum MenuDeleteUserErrorCode + { /// ///Menu does not exist. /// - [Description("Menu does not exist.")] - MENU_DOES_NOT_EXIST, + [Description("Menu does not exist.")] + MENU_DOES_NOT_EXIST, /// ///Default menu cannot be deleted. /// - [Description("Default menu cannot be deleted.")] - UNABLE_TO_DELETE_DEFAULT_MENU, - } - - public static class MenuDeleteUserErrorCodeStringValues - { - public const string MENU_DOES_NOT_EXIST = @"MENU_DOES_NOT_EXIST"; - public const string UNABLE_TO_DELETE_DEFAULT_MENU = @"UNABLE_TO_DELETE_DEFAULT_MENU"; - } - + [Description("Default menu cannot be deleted.")] + UNABLE_TO_DELETE_DEFAULT_MENU, + } + + public static class MenuDeleteUserErrorCodeStringValues + { + public const string MENU_DOES_NOT_EXIST = @"MENU_DOES_NOT_EXIST"; + public const string UNABLE_TO_DELETE_DEFAULT_MENU = @"UNABLE_TO_DELETE_DEFAULT_MENU"; + } + /// ///An auto-generated type which holds one Menu and a cursor during pagination. /// - [Description("An auto-generated type which holds one Menu and a cursor during pagination.")] - public class MenuEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Menu and a cursor during pagination.")] + public class MenuEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MenuEdge. /// - [Description("The item at the end of MenuEdge.")] - [NonNull] - public Menu? node { get; set; } - } - + [Description("The item at the end of MenuEdge.")] + [NonNull] + public Menu? node { get; set; } + } + /// ///A menu item for display on the storefront. /// - [Description("A menu item for display on the storefront.")] - public class MenuItem : GraphQLObject - { + [Description("A menu item for display on the storefront.")] + public class MenuItem : GraphQLObject + { /// ///A globally-unique ID of the navigation menu item. /// - [Description("A globally-unique ID of the navigation menu item.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID of the navigation menu item.")] + [NonNull] + public string? id { get; set; } + /// ///List of the menu items nested under this item sorted by position. /// - [Description("List of the menu items nested under this item sorted by position.")] - [NonNull] - public IEnumerable? items { get; set; } - + [Description("List of the menu items nested under this item sorted by position.")] + [NonNull] + public IEnumerable? items { get; set; } + /// ///The ID of the resource to link to. /// - [Description("The ID of the resource to link to.")] - public string? resourceId { get; set; } - + [Description("The ID of the resource to link to.")] + public string? resourceId { get; set; } + /// ///The menu item's tags to filter a collection. /// - [Description("The menu item's tags to filter a collection.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("The menu item's tags to filter a collection.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The menu item's title. /// - [Description("The menu item's title.")] - [NonNull] - public string? title { get; set; } - + [Description("The menu item's title.")] + [NonNull] + public string? title { get; set; } + /// ///The menu item's type. /// - [Description("The menu item's type.")] - [NonNull] - [EnumType(typeof(MenuItemType))] - public string? type { get; set; } - + [Description("The menu item's type.")] + [NonNull] + [EnumType(typeof(MenuItemType))] + public string? type { get; set; } + /// ///The menu item's url. /// - [Description("The menu item's url.")] - public string? url { get; set; } - } - + [Description("The menu item's url.")] + public string? url { get; set; } + } + /// ///The input fields required to create a valid menu item. /// - [Description("The input fields required to create a valid menu item.")] - public class MenuItemCreateInput : GraphQLObject - { + [Description("The input fields required to create a valid menu item.")] + public class MenuItemCreateInput : GraphQLObject + { /// ///The menu item's title. /// - [Description("The menu item's title.")] - [NonNull] - public string? title { get; set; } - + [Description("The menu item's title.")] + [NonNull] + public string? title { get; set; } + /// ///The menu item's type. /// - [Description("The menu item's type.")] - [NonNull] - [EnumType(typeof(MenuItemType))] - public string? type { get; set; } - + [Description("The menu item's type.")] + [NonNull] + [EnumType(typeof(MenuItemType))] + public string? type { get; set; } + /// ///The menu item's association with an existing resource. /// - [Description("The menu item's association with an existing resource.")] - public string? resourceId { get; set; } - + [Description("The menu item's association with an existing resource.")] + public string? resourceId { get; set; } + /// ///The menu item's url to be used when the item doesn't point to a resource. /// - [Description("The menu item's url to be used when the item doesn't point to a resource.")] - public string? url { get; set; } - + [Description("The menu item's url to be used when the item doesn't point to a resource.")] + public string? url { get; set; } + /// ///The menu item's tags to filter a collection. /// - [Description("The menu item's tags to filter a collection.")] - public IEnumerable? tags { get; set; } - + [Description("The menu item's tags to filter a collection.")] + public IEnumerable? tags { get; set; } + /// ///List of the menu items nested under this item sorted by position. /// - [Description("List of the menu items nested under this item sorted by position.")] - public IEnumerable? items { get; set; } - } - + [Description("List of the menu items nested under this item sorted by position.")] + public IEnumerable? items { get; set; } + } + /// ///A menu item type. /// - [Description("A menu item type.")] - public enum MenuItemType - { + [Description("A menu item type.")] + public enum MenuItemType + { /// ///The frontpage menu item type. /// - [Description("The frontpage menu item type.")] - FRONTPAGE, + [Description("The frontpage menu item type.")] + FRONTPAGE, /// ///The collection menu item type. /// - [Description("The collection menu item type.")] - COLLECTION, + [Description("The collection menu item type.")] + COLLECTION, /// ///The collections menu item type. /// - [Description("The collections menu item type.")] - COLLECTIONS, + [Description("The collections menu item type.")] + COLLECTIONS, /// ///The product menu item type. /// - [Description("The product menu item type.")] - PRODUCT, + [Description("The product menu item type.")] + PRODUCT, /// ///The catalog menu item type. /// - [Description("The catalog menu item type.")] - CATALOG, + [Description("The catalog menu item type.")] + CATALOG, /// ///The page menu item type. /// - [Description("The page menu item type.")] - PAGE, + [Description("The page menu item type.")] + PAGE, /// ///The blog menu item type. /// - [Description("The blog menu item type.")] - BLOG, + [Description("The blog menu item type.")] + BLOG, /// ///The article menu item type. /// - [Description("The article menu item type.")] - ARTICLE, + [Description("The article menu item type.")] + ARTICLE, /// ///The search menu item type. /// - [Description("The search menu item type.")] - SEARCH, + [Description("The search menu item type.")] + SEARCH, /// ///The shop_policy menu item type. /// - [Description("The shop_policy menu item type.")] - SHOP_POLICY, + [Description("The shop_policy menu item type.")] + SHOP_POLICY, /// ///The http menu item type. /// - [Description("The http menu item type.")] - HTTP, + [Description("The http menu item type.")] + HTTP, /// ///The metaobject menu item type. /// - [Description("The metaobject menu item type.")] - METAOBJECT, + [Description("The metaobject menu item type.")] + METAOBJECT, /// ///The customer_account_page menu item type. /// - [Description("The customer_account_page menu item type.")] - CUSTOMER_ACCOUNT_PAGE, - } - - public static class MenuItemTypeStringValues - { - public const string FRONTPAGE = @"FRONTPAGE"; - public const string COLLECTION = @"COLLECTION"; - public const string COLLECTIONS = @"COLLECTIONS"; - public const string PRODUCT = @"PRODUCT"; - public const string CATALOG = @"CATALOG"; - public const string PAGE = @"PAGE"; - public const string BLOG = @"BLOG"; - public const string ARTICLE = @"ARTICLE"; - public const string SEARCH = @"SEARCH"; - public const string SHOP_POLICY = @"SHOP_POLICY"; - public const string HTTP = @"HTTP"; - public const string METAOBJECT = @"METAOBJECT"; - public const string CUSTOMER_ACCOUNT_PAGE = @"CUSTOMER_ACCOUNT_PAGE"; - } - + [Description("The customer_account_page menu item type.")] + CUSTOMER_ACCOUNT_PAGE, + } + + public static class MenuItemTypeStringValues + { + public const string FRONTPAGE = @"FRONTPAGE"; + public const string COLLECTION = @"COLLECTION"; + public const string COLLECTIONS = @"COLLECTIONS"; + public const string PRODUCT = @"PRODUCT"; + public const string CATALOG = @"CATALOG"; + public const string PAGE = @"PAGE"; + public const string BLOG = @"BLOG"; + public const string ARTICLE = @"ARTICLE"; + public const string SEARCH = @"SEARCH"; + public const string SHOP_POLICY = @"SHOP_POLICY"; + public const string HTTP = @"HTTP"; + public const string METAOBJECT = @"METAOBJECT"; + public const string CUSTOMER_ACCOUNT_PAGE = @"CUSTOMER_ACCOUNT_PAGE"; + } + /// ///The input fields required to update a valid menu item. /// - [Description("The input fields required to update a valid menu item.")] - public class MenuItemUpdateInput : GraphQLObject - { + [Description("The input fields required to update a valid menu item.")] + public class MenuItemUpdateInput : GraphQLObject + { /// ///The menu item's title. /// - [Description("The menu item's title.")] - [NonNull] - public string? title { get; set; } - + [Description("The menu item's title.")] + [NonNull] + public string? title { get; set; } + /// ///The menu item's type. /// - [Description("The menu item's type.")] - [NonNull] - [EnumType(typeof(MenuItemType))] - public string? type { get; set; } - + [Description("The menu item's type.")] + [NonNull] + [EnumType(typeof(MenuItemType))] + public string? type { get; set; } + /// ///The menu item's association with an existing resource. /// - [Description("The menu item's association with an existing resource.")] - public string? resourceId { get; set; } - + [Description("The menu item's association with an existing resource.")] + public string? resourceId { get; set; } + /// ///The menu item's url to be used when the item doesn't point to a resource. /// - [Description("The menu item's url to be used when the item doesn't point to a resource.")] - public string? url { get; set; } - + [Description("The menu item's url to be used when the item doesn't point to a resource.")] + public string? url { get; set; } + /// ///The menu item's tags to filter a collection. /// - [Description("The menu item's tags to filter a collection.")] - public IEnumerable? tags { get; set; } - + [Description("The menu item's tags to filter a collection.")] + public IEnumerable? tags { get; set; } + /// ///A globally-unique ID of the online store navigation menu item. /// - [Description("A globally-unique ID of the online store navigation menu item.")] - public string? id { get; set; } - + [Description("A globally-unique ID of the online store navigation menu item.")] + public string? id { get; set; } + /// ///List of the menu items nested under this item sorted by position. /// - [Description("List of the menu items nested under this item sorted by position.")] - public IEnumerable? items { get; set; } - } - + [Description("List of the menu items nested under this item sorted by position.")] + public IEnumerable? items { get; set; } + } + /// ///The set of valid sort keys for the Menu query. /// - [Description("The set of valid sort keys for the Menu query.")] - public enum MenuSortKeys - { + [Description("The set of valid sort keys for the Menu query.")] + public enum MenuSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class MenuSortKeysStringValues - { - public const string ID = @"ID"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class MenuSortKeysStringValues + { + public const string ID = @"ID"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Return type for `menuUpdate` mutation. /// - [Description("Return type for `menuUpdate` mutation.")] - public class MenuUpdatePayload : GraphQLObject - { + [Description("Return type for `menuUpdate` mutation.")] + public class MenuUpdatePayload : GraphQLObject + { /// ///The updated menu. /// - [Description("The updated menu.")] - public Menu? menu { get; set; } - + [Description("The updated menu.")] + public Menu? menu { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MenuUpdate`. /// - [Description("An error that occurs during the execution of `MenuUpdate`.")] - public class MenuUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MenuUpdate`.")] + public class MenuUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MenuUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MenuUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MenuUpdateUserError`. /// - [Description("Possible error codes that can be returned by `MenuUpdateUserError`.")] - public enum MenuUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `MenuUpdateUserError`.")] + public enum MenuUpdateUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The menu cannot be nested more than 3 level deep. /// - [Description("The menu cannot be nested more than 3 level deep.")] - NESTING_TOO_DEEP, - } - - public static class MenuUpdateUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string NESTING_TOO_DEEP = @"NESTING_TOO_DEEP"; - } - + [Description("The menu cannot be nested more than 3 level deep.")] + NESTING_TOO_DEEP, + } + + public static class MenuUpdateUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string NESTING_TOO_DEEP = @"NESTING_TOO_DEEP"; + } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - public enum MerchandiseDiscountClass - { + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + public enum MerchandiseDiscountClass + { /// ///The discount is combined with a ///[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("The discount is combined with a\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - PRODUCT, + [Description("The discount is combined with a\n[product discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + PRODUCT, /// ///The discount is combined with an ///[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///class. /// - [Description("The discount is combined with an\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] - ORDER, - } - - public static class MerchandiseDiscountClassStringValues - { - public const string PRODUCT = @"PRODUCT"; - public const string ORDER = @"ORDER"; - } - + [Description("The discount is combined with an\n[order discount](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nclass.")] + ORDER, + } + + public static class MerchandiseDiscountClassStringValues + { + public const string PRODUCT = @"PRODUCT"; + public const string ORDER = @"ORDER"; + } + /// ///Merchant signals for apps. /// - [Description("Merchant signals for apps.")] - public class MerchantAppSignals : GraphQLObject - { + [Description("Merchant signals for apps.")] + public class MerchantAppSignals : GraphQLObject + { /// ///Whether Shopify has pre-verified the merchant's business for onboarding to restricted apps. Returns `false` if the shop isn't marked as eligible. /// - [Description("Whether Shopify has pre-verified the merchant's business for onboarding to restricted apps. Returns `false` if the shop isn't marked as eligible.")] - [NonNull] - public bool? eligibleForRestrictedApps { get; set; } - } - + [Description("Whether Shopify has pre-verified the merchant's business for onboarding to restricted apps. Returns `false` if the shop isn't marked as eligible.")] + [NonNull] + public bool? eligibleForRestrictedApps { get; set; } + } + /// ///Merchant approval for accelerated onboarding to channel integration apps. /// - [Description("Merchant approval for accelerated onboarding to channel integration apps.")] - public class MerchantApprovalSignals : GraphQLObject - { + [Description("Merchant approval for accelerated onboarding to channel integration apps.")] + public class MerchantApprovalSignals : GraphQLObject + { /// ///Check if there is an enabled payment gateway. /// - [Description("Check if there is an enabled payment gateway.")] - [NonNull] - public bool? canProcessCheckout { get; set; } - + [Description("Check if there is an enabled payment gateway.")] + [NonNull] + public bool? canProcessCheckout { get; set; } + /// ///Whether the shop's Shopify Payments account identity is verified. Returns `false` if the identity is unverified or if the shop doesn't have a Shopify Payments account. /// - [Description("Whether the shop's Shopify Payments account identity is verified. Returns `false` if the identity is unverified or if the shop doesn't have a Shopify Payments account.")] - [NonNull] - public bool? identityVerified { get; set; } - + [Description("Whether the shop's Shopify Payments account identity is verified. Returns `false` if the identity is unverified or if the shop doesn't have a Shopify Payments account.")] + [NonNull] + public bool? identityVerified { get; set; } + /// ///A list of scores that represents the shop's ability to deliver on time to a particular country. The score is a value between 0 and 1. /// - [Description("A list of scores that represents the shop's ability to deliver on time to a particular country. The score is a value between 0 and 1.")] - [NonNull] - public IEnumerable? onTimeDeliveryScores { get; set; } - + [Description("A list of scores that represents the shop's ability to deliver on time to a particular country. The score is a value between 0 and 1.")] + [NonNull] + public IEnumerable? onTimeDeliveryScores { get; set; } + /// ///Whether Shopify has pre-verified the merchant's business for onboarding to channel integration apps. Returns `false` if the shop isn't marked for verification. /// - [Description("Whether Shopify has pre-verified the merchant's business for onboarding to channel integration apps. Returns `false` if the shop isn't marked for verification.")] - [NonNull] - public bool? verifiedByShopify { get; set; } - + [Description("Whether Shopify has pre-verified the merchant's business for onboarding to channel integration apps. Returns `false` if the shop isn't marked for verification.")] + [NonNull] + public bool? verifiedByShopify { get; set; } + /// ///Which tier of the Shopify verification was determined for the merchant's business for onboarding to channel integration apps. /// - [Description("Which tier of the Shopify verification was determined for the merchant's business for onboarding to channel integration apps.")] - [NonNull] - public string? verifiedByShopifyTier { get; set; } - } - + [Description("Which tier of the Shopify verification was determined for the merchant's business for onboarding to channel integration apps.")] + [NonNull] + public string? verifiedByShopifyTier { get; set; } + } + /// ///Metafields enable you to attach additional information to a Shopify resource, such as a [Product](https://shopify.dev/api/admin-graphql/latest/objects/product) or a [Collection](https://shopify.dev/api/admin-graphql/latest/objects/collection). ///For more information about where you can attach metafields refer to [HasMetafields](https://shopify.dev/api/admin-graphql/latest/interfaces/HasMetafields). ///Some examples of the data that metafields enable you to store are specifications, size charts, downloadable documents, release dates, images, or part numbers. ///Metafields are identified by an owner resource, namespace, and key. and store a value along with type information for that value. /// - [Description("Metafields enable you to attach additional information to a Shopify resource, such as a [Product](https://shopify.dev/api/admin-graphql/latest/objects/product) or a [Collection](https://shopify.dev/api/admin-graphql/latest/objects/collection).\nFor more information about where you can attach metafields refer to [HasMetafields](https://shopify.dev/api/admin-graphql/latest/interfaces/HasMetafields).\nSome examples of the data that metafields enable you to store are specifications, size charts, downloadable documents, release dates, images, or part numbers.\nMetafields are identified by an owner resource, namespace, and key. and store a value along with type information for that value.")] - public class Metafield : GraphQLObject, IHasCompareDigest, ILegacyInteroperability, INode - { + [Description("Metafields enable you to attach additional information to a Shopify resource, such as a [Product](https://shopify.dev/api/admin-graphql/latest/objects/product) or a [Collection](https://shopify.dev/api/admin-graphql/latest/objects/collection).\nFor more information about where you can attach metafields refer to [HasMetafields](https://shopify.dev/api/admin-graphql/latest/interfaces/HasMetafields).\nSome examples of the data that metafields enable you to store are specifications, size charts, downloadable documents, release dates, images, or part numbers.\nMetafields are identified by an owner resource, namespace, and key. and store a value along with type information for that value.")] + public class Metafield : GraphQLObject, IHasCompareDigest, ILegacyInteroperability, INode + { /// ///The data stored in the resource, represented as a digest. /// - [Description("The data stored in the resource, represented as a digest.")] - [NonNull] - public string? compareDigest { get; set; } - + [Description("The data stored in the resource, represented as a digest.")] + [NonNull] + public string? compareDigest { get; set; } + /// ///The date and time when the metafield was created. /// - [Description("The date and time when the metafield was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the metafield was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The metafield definition that the metafield belongs to, if any. /// - [Description("The metafield definition that the metafield belongs to, if any.")] - public MetafieldDefinition? definition { get; set; } - + [Description("The metafield definition that the metafield belongs to, if any.")] + public MetafieldDefinition? definition { get; set; } + /// ///The description of the metafield. /// - [Description("The description of the metafield.")] - [Obsolete("This field will be removed in a future release. Use the `description` on the metafield definition instead.")] - public string? description { get; set; } - + [Description("The description of the metafield.")] + [Obsolete("This field will be removed in a future release. Use the `description` on the metafield definition instead.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The data stored in the metafield in JSON format. /// - [Description("The data stored in the metafield in JSON format.")] - [NonNull] - public string? jsonValue { get; set; } - + [Description("The data stored in the metafield in JSON format.")] + [NonNull] + public string? jsonValue { get; set; } + /// ///The unique identifier for the metafield within its namespace. /// - [Description("The unique identifier for the metafield within its namespace.")] - [NonNull] - public string? key { get; set; } - + [Description("The unique identifier for the metafield within its namespace.")] + [NonNull] + public string? key { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The container for a group of metafields that the metafield is associated with. /// - [Description("The container for a group of metafields that the metafield is associated with.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield is associated with.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The resource that the metafield is attached to. /// - [Description("The resource that the metafield is attached to.")] - [NonNull] - public IHasMetafields? owner { get; set; } - + [Description("The resource that the metafield is attached to.")] + [NonNull] + public IHasMetafields? owner { get; set; } + /// ///The type of resource that the metafield is attached to. /// - [Description("The type of resource that the metafield is attached to.")] - [NonNull] - [EnumType(typeof(MetafieldOwnerType))] - public string? ownerType { get; set; } - + [Description("The type of resource that the metafield is attached to.")] + [NonNull] + [EnumType(typeof(MetafieldOwnerType))] + public string? ownerType { get; set; } + /// ///Returns a reference object if the metafield definition's type is a resource reference. /// - [Description("Returns a reference object if the metafield definition's type is a resource reference.")] - public IMetafieldReference? reference { get; set; } - + [Description("Returns a reference object if the metafield definition's type is a resource reference.")] + public IMetafieldReference? reference { get; set; } + /// ///A list of reference objects if the metafield's type is a resource reference list. /// - [Description("A list of reference objects if the metafield's type is a resource reference list.")] - public MetafieldReferenceConnection? references { get; set; } - + [Description("A list of reference objects if the metafield's type is a resource reference list.")] + public MetafieldReferenceConnection? references { get; set; } + /// ///The type of data that is stored in the metafield. ///Refer to the list of [supported types](https://shopify.dev/apps/metafields/types). /// - [Description("The type of data that is stored in the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).")] - [NonNull] - public string? type { get; set; } - + [Description("The type of data that is stored in the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).")] + [NonNull] + public string? type { get; set; } + /// ///The date and time when the metafield was updated. /// - [Description("The date and time when the metafield was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the metafield was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The data stored in the metafield. Always stored as a string, regardless of the metafield's type. /// - [Description("The data stored in the metafield. Always stored as a string, regardless of the metafield's type.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The data stored in the metafield. Always stored as a string, regardless of the metafield's type.")] + [NonNull] + public string? value { get; set; } + } + /// ///Access permissions for the definition's metafields. /// - [Description("Access permissions for the definition's metafields.")] - public class MetafieldAccess : GraphQLObject - { + [Description("Access permissions for the definition's metafields.")] + public class MetafieldAccess : GraphQLObject + { /// ///The access permitted on the Admin API. /// - [Description("The access permitted on the Admin API.")] - [EnumType(typeof(MetafieldAdminAccess))] - public string? admin { get; set; } - + [Description("The access permitted on the Admin API.")] + [EnumType(typeof(MetafieldAdminAccess))] + public string? admin { get; set; } + /// ///The access permitted on the Customer Account API. /// - [Description("The access permitted on the Customer Account API.")] - [NonNull] - [EnumType(typeof(MetafieldCustomerAccountAccess))] - public string? customerAccount { get; set; } - + [Description("The access permitted on the Customer Account API.")] + [NonNull] + [EnumType(typeof(MetafieldCustomerAccountAccess))] + public string? customerAccount { get; set; } + /// ///The access permitted on the Storefront API. /// - [Description("The access permitted on the Storefront API.")] - [EnumType(typeof(MetafieldStorefrontAccess))] - public string? storefront { get; set; } - } - + [Description("The access permitted on the Storefront API.")] + [EnumType(typeof(MetafieldStorefrontAccess))] + public string? storefront { get; set; } + } + /// ///The input fields that set access permissions for the definition's metafields. /// - [Description("The input fields that set access permissions for the definition's metafields.")] - public class MetafieldAccessInput : GraphQLObject - { + [Description("The input fields that set access permissions for the definition's metafields.")] + public class MetafieldAccessInput : GraphQLObject + { /// ///The access permitted on the Admin API. /// - [Description("The access permitted on the Admin API.")] - [EnumType(typeof(MetafieldAdminAccessInput))] - public string? admin { get; set; } - + [Description("The access permitted on the Admin API.")] + [EnumType(typeof(MetafieldAdminAccessInput))] + public string? admin { get; set; } + /// ///The access permitted on the Storefront API. /// - [Description("The access permitted on the Storefront API.")] - [EnumType(typeof(MetafieldStorefrontAccessInput))] - public string? storefront { get; set; } - + [Description("The access permitted on the Storefront API.")] + [EnumType(typeof(MetafieldStorefrontAccessInput))] + public string? storefront { get; set; } + /// ///The access permitted on the Customer Account API. /// - [Description("The access permitted on the Customer Account API.")] - [EnumType(typeof(MetafieldCustomerAccountAccessInput))] - public string? customerAccount { get; set; } - } - + [Description("The access permitted on the Customer Account API.")] + [EnumType(typeof(MetafieldCustomerAccountAccessInput))] + public string? customerAccount { get; set; } + } + /// ///The input fields for the access settings for the metafields under the definition. /// - [Description("The input fields for the access settings for the metafields under the definition.")] - public class MetafieldAccessUpdateInput : GraphQLObject - { + [Description("The input fields for the access settings for the metafields under the definition.")] + public class MetafieldAccessUpdateInput : GraphQLObject + { /// ///The admin access setting to use for the metafields under this definition. /// - [Description("The admin access setting to use for the metafields under this definition.")] - [EnumType(typeof(MetafieldAdminAccessInput))] - public string? admin { get; set; } - + [Description("The admin access setting to use for the metafields under this definition.")] + [EnumType(typeof(MetafieldAdminAccessInput))] + public string? admin { get; set; } + /// ///The storefront access setting to use for the metafields under this definition. /// - [Description("The storefront access setting to use for the metafields under this definition.")] - [EnumType(typeof(MetafieldStorefrontAccessInput))] - public string? storefront { get; set; } - + [Description("The storefront access setting to use for the metafields under this definition.")] + [EnumType(typeof(MetafieldStorefrontAccessInput))] + public string? storefront { get; set; } + /// ///The Customer Account API access setting to use for the metafields under this definition. /// - [Description("The Customer Account API access setting to use for the metafields under this definition.")] - [EnumType(typeof(MetafieldCustomerAccountAccessInput))] - public string? customerAccount { get; set; } - } - + [Description("The Customer Account API access setting to use for the metafields under this definition.")] + [EnumType(typeof(MetafieldCustomerAccountAccessInput))] + public string? customerAccount { get; set; } + } + /// ///Metafield access permissions for the Admin API. /// - [Description("Metafield access permissions for the Admin API.")] - public enum MetafieldAdminAccess - { + [Description("Metafield access permissions for the Admin API.")] + public enum MetafieldAdminAccess + { /// ///The merchant and other apps have no access. /// - [Description("The merchant and other apps have no access.")] - PRIVATE, + [Description("The merchant and other apps have no access.")] + PRIVATE, /// ///The merchant and other apps have read-only access. /// - [Description("The merchant and other apps have read-only access.")] - PUBLIC_READ, + [Description("The merchant and other apps have read-only access.")] + PUBLIC_READ, /// ///The merchant and other apps have read and write access. /// - [Description("The merchant and other apps have read and write access.")] - PUBLIC_READ_WRITE, + [Description("The merchant and other apps have read and write access.")] + PUBLIC_READ_WRITE, /// ///The merchant has read-only access. No other apps have access. /// - [Description("The merchant has read-only access. No other apps have access.")] - MERCHANT_READ, + [Description("The merchant has read-only access. No other apps have access.")] + MERCHANT_READ, /// ///The merchant has read and write access. No other apps have access. /// - [Description("The merchant has read and write access. No other apps have access.")] - MERCHANT_READ_WRITE, - } - - public static class MetafieldAdminAccessStringValues - { - public const string PRIVATE = @"PRIVATE"; - public const string PUBLIC_READ = @"PUBLIC_READ"; - public const string PUBLIC_READ_WRITE = @"PUBLIC_READ_WRITE"; - public const string MERCHANT_READ = @"MERCHANT_READ"; - public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; - } - + [Description("The merchant has read and write access. No other apps have access.")] + MERCHANT_READ_WRITE, + } + + public static class MetafieldAdminAccessStringValues + { + public const string PRIVATE = @"PRIVATE"; + public const string PUBLIC_READ = @"PUBLIC_READ"; + public const string PUBLIC_READ_WRITE = @"PUBLIC_READ_WRITE"; + public const string MERCHANT_READ = @"MERCHANT_READ"; + public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; + } + /// ///Metafield access permissions for the Admin API. /// - [Description("Metafield access permissions for the Admin API.")] - public enum MetafieldAdminAccessInput - { + [Description("Metafield access permissions for the Admin API.")] + public enum MetafieldAdminAccessInput + { /// ///The merchant has read-only access. No other apps have access. /// - [Description("The merchant has read-only access. No other apps have access.")] - MERCHANT_READ, + [Description("The merchant has read-only access. No other apps have access.")] + MERCHANT_READ, /// ///The merchant has read and write access. No other apps have access. /// - [Description("The merchant has read and write access. No other apps have access.")] - MERCHANT_READ_WRITE, - } - - public static class MetafieldAdminAccessInputStringValues - { - public const string MERCHANT_READ = @"MERCHANT_READ"; - public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; - } - + [Description("The merchant has read and write access. No other apps have access.")] + MERCHANT_READ_WRITE, + } + + public static class MetafieldAdminAccessInputStringValues + { + public const string MERCHANT_READ = @"MERCHANT_READ"; + public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; + } + /// ///Provides the capabilities of a metafield definition. /// - [Description("Provides the capabilities of a metafield definition.")] - public class MetafieldCapabilities : GraphQLObject - { + [Description("Provides the capabilities of a metafield definition.")] + public class MetafieldCapabilities : GraphQLObject + { /// ///Indicate whether a metafield definition is configured for filtering. /// - [Description("Indicate whether a metafield definition is configured for filtering.")] - [NonNull] - public MetafieldCapabilityAdminFilterable? adminFilterable { get; set; } - + [Description("Indicate whether a metafield definition is configured for filtering.")] + [NonNull] + public MetafieldCapabilityAdminFilterable? adminFilterable { get; set; } + /// ///Indicate whether a metafield definition can be used as a smart collection condition. /// - [Description("Indicate whether a metafield definition can be used as a smart collection condition.")] - [NonNull] - public MetafieldCapabilitySmartCollectionCondition? smartCollectionCondition { get; set; } - + [Description("Indicate whether a metafield definition can be used as a smart collection condition.")] + [NonNull] + public MetafieldCapabilitySmartCollectionCondition? smartCollectionCondition { get; set; } + /// ///Indicate whether the metafield values for a metafield definition are required to be unique. /// - [Description("Indicate whether the metafield values for a metafield definition are required to be unique.")] - [NonNull] - public MetafieldCapabilityUniqueValues? uniqueValues { get; set; } - } - + [Description("Indicate whether the metafield values for a metafield definition are required to be unique.")] + [NonNull] + public MetafieldCapabilityUniqueValues? uniqueValues { get; set; } + } + /// ///Information about the admin filterable capability on a metafield definition. /// - [Description("Information about the admin filterable capability on a metafield definition.")] - public class MetafieldCapabilityAdminFilterable : GraphQLObject - { + [Description("Information about the admin filterable capability on a metafield definition.")] + public class MetafieldCapabilityAdminFilterable : GraphQLObject + { /// ///Indicates if the definition is eligible to have the capability. /// - [Description("Indicates if the definition is eligible to have the capability.")] - [NonNull] - public bool? eligible { get; set; } - + [Description("Indicates if the definition is eligible to have the capability.")] + [NonNull] + public bool? eligible { get; set; } + /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + /// ///Determines the metafield definition's filter status for use in admin filtering. /// - [Description("Determines the metafield definition's filter status for use in admin filtering.")] - [NonNull] - [EnumType(typeof(MetafieldDefinitionAdminFilterStatus))] - public string? status { get; set; } - } - + [Description("Determines the metafield definition's filter status for use in admin filtering.")] + [NonNull] + [EnumType(typeof(MetafieldDefinitionAdminFilterStatus))] + public string? status { get; set; } + } + /// ///The input fields for enabling and disabling the admin filterable capability. /// - [Description("The input fields for enabling and disabling the admin filterable capability.")] - public class MetafieldCapabilityAdminFilterableInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the admin filterable capability.")] + public class MetafieldCapabilityAdminFilterableInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The input fields for creating a metafield capability. /// - [Description("The input fields for creating a metafield capability.")] - public class MetafieldCapabilityCreateInput : GraphQLObject - { + [Description("The input fields for creating a metafield capability.")] + public class MetafieldCapabilityCreateInput : GraphQLObject + { /// ///The input for updating the smart collection condition capability. /// - [Description("The input for updating the smart collection condition capability.")] - public MetafieldCapabilitySmartCollectionConditionInput? smartCollectionCondition { get; set; } - + [Description("The input for updating the smart collection condition capability.")] + public MetafieldCapabilitySmartCollectionConditionInput? smartCollectionCondition { get; set; } + /// ///The input for updating the admin filterable capability. /// - [Description("The input for updating the admin filterable capability.")] - public MetafieldCapabilityAdminFilterableInput? adminFilterable { get; set; } - + [Description("The input for updating the admin filterable capability.")] + public MetafieldCapabilityAdminFilterableInput? adminFilterable { get; set; } + /// ///The input for updating the unique values capability. /// - [Description("The input for updating the unique values capability.")] - public MetafieldCapabilityUniqueValuesInput? uniqueValues { get; set; } - } - + [Description("The input for updating the unique values capability.")] + public MetafieldCapabilityUniqueValuesInput? uniqueValues { get; set; } + } + /// ///Information about the smart collection condition capability on a metafield definition. /// - [Description("Information about the smart collection condition capability on a metafield definition.")] - public class MetafieldCapabilitySmartCollectionCondition : GraphQLObject - { + [Description("Information about the smart collection condition capability on a metafield definition.")] + public class MetafieldCapabilitySmartCollectionCondition : GraphQLObject + { /// ///Indicates if the definition is eligible to have the capability. /// - [Description("Indicates if the definition is eligible to have the capability.")] - [NonNull] - public bool? eligible { get; set; } - + [Description("Indicates if the definition is eligible to have the capability.")] + [NonNull] + public bool? eligible { get; set; } + /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The input fields for enabling and disabling the smart collection condition capability. /// - [Description("The input fields for enabling and disabling the smart collection condition capability.")] - public class MetafieldCapabilitySmartCollectionConditionInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the smart collection condition capability.")] + public class MetafieldCapabilitySmartCollectionConditionInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///Information about the unique values capability on a metafield definition. /// - [Description("Information about the unique values capability on a metafield definition.")] - public class MetafieldCapabilityUniqueValues : GraphQLObject - { + [Description("Information about the unique values capability on a metafield definition.")] + public class MetafieldCapabilityUniqueValues : GraphQLObject + { /// ///Indicates if the definition is eligible to have the capability. /// - [Description("Indicates if the definition is eligible to have the capability.")] - [NonNull] - public bool? eligible { get; set; } - + [Description("Indicates if the definition is eligible to have the capability.")] + [NonNull] + public bool? eligible { get; set; } + /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The input fields for enabling and disabling the unique values capability. /// - [Description("The input fields for enabling and disabling the unique values capability.")] - public class MetafieldCapabilityUniqueValuesInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the unique values capability.")] + public class MetafieldCapabilityUniqueValuesInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The input fields for updating a metafield capability. /// - [Description("The input fields for updating a metafield capability.")] - public class MetafieldCapabilityUpdateInput : GraphQLObject - { + [Description("The input fields for updating a metafield capability.")] + public class MetafieldCapabilityUpdateInput : GraphQLObject + { /// ///The input for updating the smart collection condition capability. /// - [Description("The input for updating the smart collection condition capability.")] - public MetafieldCapabilitySmartCollectionConditionInput? smartCollectionCondition { get; set; } - + [Description("The input for updating the smart collection condition capability.")] + public MetafieldCapabilitySmartCollectionConditionInput? smartCollectionCondition { get; set; } + /// ///The input for updating the admin filterable capability. /// - [Description("The input for updating the admin filterable capability.")] - public MetafieldCapabilityAdminFilterableInput? adminFilterable { get; set; } - + [Description("The input for updating the admin filterable capability.")] + public MetafieldCapabilityAdminFilterableInput? adminFilterable { get; set; } + /// ///The input for updating the unique values capability. /// - [Description("The input for updating the unique values capability.")] - public MetafieldCapabilityUniqueValuesInput? uniqueValues { get; set; } - } - + [Description("The input for updating the unique values capability.")] + public MetafieldCapabilityUniqueValuesInput? uniqueValues { get; set; } + } + /// ///An auto-generated type for paginating through multiple Metafields. /// - [Description("An auto-generated type for paginating through multiple Metafields.")] - public class MetafieldConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Metafields.")] + public class MetafieldConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MetafieldEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MetafieldEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MetafieldEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Metafield access permissions for the Customer Account API. /// - [Description("Metafield access permissions for the Customer Account API.")] - public enum MetafieldCustomerAccountAccess - { + [Description("Metafield access permissions for the Customer Account API.")] + public enum MetafieldCustomerAccountAccess + { /// ///Read and write access. /// - [Description("Read and write access.")] - READ_WRITE, + [Description("Read and write access.")] + READ_WRITE, /// ///Read-only access. /// - [Description("Read-only access.")] - READ, + [Description("Read-only access.")] + READ, /// ///No access. /// - [Description("No access.")] - NONE, - } - - public static class MetafieldCustomerAccountAccessStringValues - { - public const string READ_WRITE = @"READ_WRITE"; - public const string READ = @"READ"; - public const string NONE = @"NONE"; - } - + [Description("No access.")] + NONE, + } + + public static class MetafieldCustomerAccountAccessStringValues + { + public const string READ_WRITE = @"READ_WRITE"; + public const string READ = @"READ"; + public const string NONE = @"NONE"; + } + /// ///Metafield access permissions for the Customer Account API. /// - [Description("Metafield access permissions for the Customer Account API.")] - public enum MetafieldCustomerAccountAccessInput - { + [Description("Metafield access permissions for the Customer Account API.")] + public enum MetafieldCustomerAccountAccessInput + { /// ///Read and write access. /// - [Description("Read and write access.")] - READ_WRITE, + [Description("Read and write access.")] + READ_WRITE, /// ///Read-only access. /// - [Description("Read-only access.")] - READ, + [Description("Read-only access.")] + READ, /// ///No access. /// - [Description("No access.")] - NONE, - } - - public static class MetafieldCustomerAccountAccessInputStringValues - { - public const string READ_WRITE = @"READ_WRITE"; - public const string READ = @"READ"; - public const string NONE = @"NONE"; - } - + [Description("No access.")] + NONE, + } + + public static class MetafieldCustomerAccountAccessInputStringValues + { + public const string READ_WRITE = @"READ_WRITE"; + public const string READ = @"READ"; + public const string NONE = @"NONE"; + } + /// ///Metafield definitions enable you to define additional validation constraints for metafields, and enable the ///merchant to edit metafield values in context. /// - [Description("Metafield definitions enable you to define additional validation constraints for metafields, and enable the\nmerchant to edit metafield values in context.")] - public class MetafieldDefinition : GraphQLObject, INode - { + [Description("Metafield definitions enable you to define additional validation constraints for metafields, and enable the\nmerchant to edit metafield values in context.")] + public class MetafieldDefinition : GraphQLObject, INode + { /// ///The access settings associated with the metafield definition. /// - [Description("The access settings associated with the metafield definition.")] - [NonNull] - public MetafieldAccess? access { get; set; } - + [Description("The access settings associated with the metafield definition.")] + [NonNull] + public MetafieldAccess? access { get; set; } + /// ///The capabilities of the metafield definition. /// - [Description("The capabilities of the metafield definition.")] - [NonNull] - public MetafieldCapabilities? capabilities { get; set; } - + [Description("The capabilities of the metafield definition.")] + [NonNull] + public MetafieldCapabilities? capabilities { get; set; } + /// ///The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions) ///that determine what subtypes of resources a metafield definition applies to. /// - [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what subtypes of resources a metafield definition applies to.")] - public MetafieldDefinitionConstraints? constraints { get; set; } - + [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what subtypes of resources a metafield definition applies to.")] + public MetafieldDefinitionConstraints? constraints { get; set; } + /// ///The date and time when the metafield definition was created. /// - [Description("The date and time when the metafield definition was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the metafield definition was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The description of the metafield definition. /// - [Description("The description of the metafield definition.")] - public string? description { get; set; } - + [Description("The description of the metafield definition.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The unique identifier for the metafield definition within its namespace. /// - [Description("The unique identifier for the metafield definition within its namespace.")] - [NonNull] - public string? key { get; set; } - + [Description("The unique identifier for the metafield definition within its namespace.")] + [NonNull] + public string? key { get; set; } + /// ///The metafields that belong to the metafield definition. /// - [Description("The metafields that belong to the metafield definition.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("The metafields that belong to the metafield definition.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The count of the metafields that belong to the metafield definition. /// - [Description("The count of the metafields that belong to the metafield definition.")] - [NonNull] - public int? metafieldsCount { get; set; } - + [Description("The count of the metafields that belong to the metafield definition.")] + [NonNull] + public int? metafieldsCount { get; set; } + /// ///The human-readable name of the metafield definition. /// - [Description("The human-readable name of the metafield definition.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable name of the metafield definition.")] + [NonNull] + public string? name { get; set; } + /// ///The container for a group of metafields that the metafield definition is associated with. /// - [Description("The container for a group of metafields that the metafield definition is associated with.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield definition is associated with.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The resource type that the metafield definition is attached to. /// - [Description("The resource type that the metafield definition is attached to.")] - [NonNull] - [EnumType(typeof(MetafieldOwnerType))] - public string? ownerType { get; set; } - + [Description("The resource type that the metafield definition is attached to.")] + [NonNull] + [EnumType(typeof(MetafieldOwnerType))] + public string? ownerType { get; set; } + /// ///The position of the metafield definition in the pinned list. /// - [Description("The position of the metafield definition in the pinned list.")] - public int? pinnedPosition { get; set; } - + [Description("The position of the metafield definition in the pinned list.")] + public int? pinnedPosition { get; set; } + /// ///The standard metafield definition template associated with the metafield definition. /// - [Description("The standard metafield definition template associated with the metafield definition.")] - public StandardMetafieldDefinitionTemplate? standardTemplate { get; set; } - + [Description("The standard metafield definition template associated with the metafield definition.")] + public StandardMetafieldDefinitionTemplate? standardTemplate { get; set; } + /// ///The type of data that each of the metafields that belong to the metafield definition will store. ///Refer to the list of [supported types](https://shopify.dev/apps/metafields/types). /// - [Description("The type of data that each of the metafields that belong to the metafield definition will store.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).")] - [NonNull] - public MetafieldDefinitionType? type { get; set; } - + [Description("The type of data that each of the metafields that belong to the metafield definition will store.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).")] + [NonNull] + public MetafieldDefinitionType? type { get; set; } + /// ///The date and time when the metafield definition was updated. /// - [Description("The date and time when the metafield definition was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the metafield definition was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///Whether the metafield definition can be used as a collection condition. /// - [Description("Whether the metafield definition can be used as a collection condition.")] - [NonNull] - public bool? useAsCollectionCondition { get; set; } - + [Description("Whether the metafield definition can be used as a collection condition.")] + [NonNull] + public bool? useAsCollectionCondition { get; set; } + /// ///The validation status for the metafields that belong to the metafield definition. /// - [Description("The validation status for the metafields that belong to the metafield definition.")] - [NonNull] - [EnumType(typeof(MetafieldDefinitionValidationStatus))] - public string? validationStatus { get; set; } - + [Description("The validation status for the metafields that belong to the metafield definition.")] + [NonNull] + [EnumType(typeof(MetafieldDefinitionValidationStatus))] + public string? validationStatus { get; set; } + /// ///A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for ///the metafields that belong to the metafield definition. For example, for a metafield definition with the ///type `date`, you can set a minimum date validation so that each of the metafields that belong to it can only ///store dates after the specified minimum. /// - [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.")] - [NonNull] - public IEnumerable? validations { get; set; } - } - + [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.")] + [NonNull] + public IEnumerable? validations { get; set; } + } + /// ///Possible filter statuses associated with a metafield definition for use in admin filtering. /// - [Description("Possible filter statuses associated with a metafield definition for use in admin filtering.")] - public enum MetafieldDefinitionAdminFilterStatus - { + [Description("Possible filter statuses associated with a metafield definition for use in admin filtering.")] + public enum MetafieldDefinitionAdminFilterStatus + { /// ///The metafield definition cannot be used for admin filtering. /// - [Description("The metafield definition cannot be used for admin filtering.")] - NOT_FILTERABLE, + [Description("The metafield definition cannot be used for admin filtering.")] + NOT_FILTERABLE, /// ///The metafield definition's metafields are currently being processed for admin filtering. /// - [Description("The metafield definition's metafields are currently being processed for admin filtering.")] - IN_PROGRESS, + [Description("The metafield definition's metafields are currently being processed for admin filtering.")] + IN_PROGRESS, /// ///The metafield definition allows admin filtering by matching metafield values. /// - [Description("The metafield definition allows admin filtering by matching metafield values.")] - FILTERABLE, + [Description("The metafield definition allows admin filtering by matching metafield values.")] + FILTERABLE, /// ///The metafield definition has failed to be enabled for admin filtering. /// - [Description("The metafield definition has failed to be enabled for admin filtering.")] - FAILED, - } - - public static class MetafieldDefinitionAdminFilterStatusStringValues - { - public const string NOT_FILTERABLE = @"NOT_FILTERABLE"; - public const string IN_PROGRESS = @"IN_PROGRESS"; - public const string FILTERABLE = @"FILTERABLE"; - public const string FAILED = @"FAILED"; - } - + [Description("The metafield definition has failed to be enabled for admin filtering.")] + FAILED, + } + + public static class MetafieldDefinitionAdminFilterStatusStringValues + { + public const string NOT_FILTERABLE = @"NOT_FILTERABLE"; + public const string IN_PROGRESS = @"IN_PROGRESS"; + public const string FILTERABLE = @"FILTERABLE"; + public const string FAILED = @"FAILED"; + } + /// ///An auto-generated type for paginating through multiple MetafieldDefinitions. /// - [Description("An auto-generated type for paginating through multiple MetafieldDefinitions.")] - public class MetafieldDefinitionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MetafieldDefinitions.")] + public class MetafieldDefinitionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MetafieldDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MetafieldDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MetafieldDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Metafield definition constraint criteria to filter metafield definitions by. /// - [Description("Metafield definition constraint criteria to filter metafield definitions by.")] - public enum MetafieldDefinitionConstraintStatus - { + [Description("Metafield definition constraint criteria to filter metafield definitions by.")] + public enum MetafieldDefinitionConstraintStatus + { /// ///Returns both constrained and unconstrained metafield definitions. /// - [Description("Returns both constrained and unconstrained metafield definitions.")] - CONSTRAINED_AND_UNCONSTRAINED, + [Description("Returns both constrained and unconstrained metafield definitions.")] + CONSTRAINED_AND_UNCONSTRAINED, /// ///Only returns metafield definitions that are constrained to a resource subtype. /// - [Description("Only returns metafield definitions that are constrained to a resource subtype.")] - CONSTRAINED_ONLY, + [Description("Only returns metafield definitions that are constrained to a resource subtype.")] + CONSTRAINED_ONLY, /// ///Only returns metafield definitions that are not constrained to a resource subtype. /// - [Description("Only returns metafield definitions that are not constrained to a resource subtype.")] - UNCONSTRAINED_ONLY, - } - - public static class MetafieldDefinitionConstraintStatusStringValues - { - public const string CONSTRAINED_AND_UNCONSTRAINED = @"CONSTRAINED_AND_UNCONSTRAINED"; - public const string CONSTRAINED_ONLY = @"CONSTRAINED_ONLY"; - public const string UNCONSTRAINED_ONLY = @"UNCONSTRAINED_ONLY"; - } - + [Description("Only returns metafield definitions that are not constrained to a resource subtype.")] + UNCONSTRAINED_ONLY, + } + + public static class MetafieldDefinitionConstraintStatusStringValues + { + public const string CONSTRAINED_AND_UNCONSTRAINED = @"CONSTRAINED_AND_UNCONSTRAINED"; + public const string CONSTRAINED_ONLY = @"CONSTRAINED_ONLY"; + public const string UNCONSTRAINED_ONLY = @"UNCONSTRAINED_ONLY"; + } + /// ///The input fields used to identify a subtype of a resource for the purposes of metafield definition constraints. /// - [Description("The input fields used to identify a subtype of a resource for the purposes of metafield definition constraints.")] - public class MetafieldDefinitionConstraintSubtypeIdentifier : GraphQLObject - { + [Description("The input fields used to identify a subtype of a resource for the purposes of metafield definition constraints.")] + public class MetafieldDefinitionConstraintSubtypeIdentifier : GraphQLObject + { /// ///The category of the resource subtype. /// - [Description("The category of the resource subtype.")] - [NonNull] - public string? key { get; set; } - + [Description("The category of the resource subtype.")] + [NonNull] + public string? key { get; set; } + /// ///The specific subtype value within the identified subtype category. /// - [Description("The specific subtype value within the identified subtype category.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The specific subtype value within the identified subtype category.")] + [NonNull] + public string? value { get; set; } + } + /// ///A constraint subtype value that the metafield definition applies to. /// - [Description("A constraint subtype value that the metafield definition applies to.")] - public class MetafieldDefinitionConstraintValue : GraphQLObject - { + [Description("A constraint subtype value that the metafield definition applies to.")] + public class MetafieldDefinitionConstraintValue : GraphQLObject + { /// ///The subtype value of the constraint. /// - [Description("The subtype value of the constraint.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The subtype value of the constraint.")] + [NonNull] + public string? value { get; set; } + } + /// ///An auto-generated type for paginating through multiple MetafieldDefinitionConstraintValues. /// - [Description("An auto-generated type for paginating through multiple MetafieldDefinitionConstraintValues.")] - public class MetafieldDefinitionConstraintValueConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MetafieldDefinitionConstraintValues.")] + public class MetafieldDefinitionConstraintValueConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MetafieldDefinitionConstraintValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MetafieldDefinitionConstraintValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MetafieldDefinitionConstraintValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one MetafieldDefinitionConstraintValue and a cursor during pagination. /// - [Description("An auto-generated type which holds one MetafieldDefinitionConstraintValue and a cursor during pagination.")] - public class MetafieldDefinitionConstraintValueEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MetafieldDefinitionConstraintValue and a cursor during pagination.")] + public class MetafieldDefinitionConstraintValueEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MetafieldDefinitionConstraintValueEdge. /// - [Description("The item at the end of MetafieldDefinitionConstraintValueEdge.")] - [NonNull] - public MetafieldDefinitionConstraintValue? node { get; set; } - } - + [Description("The item at the end of MetafieldDefinitionConstraintValueEdge.")] + [NonNull] + public MetafieldDefinitionConstraintValue? node { get; set; } + } + /// ///The inputs fields for modifying a metafield definition's constraint subtype values. ///Exactly one option is required. /// - [Description("The inputs fields for modifying a metafield definition's constraint subtype values.\nExactly one option is required.")] - public class MetafieldDefinitionConstraintValueUpdateInput : GraphQLObject - { + [Description("The inputs fields for modifying a metafield definition's constraint subtype values.\nExactly one option is required.")] + public class MetafieldDefinitionConstraintValueUpdateInput : GraphQLObject + { /// ///The constraint subtype value to create. /// - [Description("The constraint subtype value to create.")] - public string? create { get; set; } - + [Description("The constraint subtype value to create.")] + public string? create { get; set; } + /// ///The constraint subtype value to delete. /// - [Description("The constraint subtype value to delete.")] - public string? delete { get; set; } - } - + [Description("The constraint subtype value to delete.")] + public string? delete { get; set; } + } + /// ///The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions) ///that determine what subtypes of resources a metafield definition applies to. /// - [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what subtypes of resources a metafield definition applies to.")] - public class MetafieldDefinitionConstraints : GraphQLObject - { + [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what subtypes of resources a metafield definition applies to.")] + public class MetafieldDefinitionConstraints : GraphQLObject + { /// ///The category of resource subtypes that the definition applies to. /// - [Description("The category of resource subtypes that the definition applies to.")] - public string? key { get; set; } - + [Description("The category of resource subtypes that the definition applies to.")] + public string? key { get; set; } + /// ///The specific constraint subtype values that the definition applies to. /// - [Description("The specific constraint subtype values that the definition applies to.")] - [NonNull] - public MetafieldDefinitionConstraintValueConnection? values { get; set; } - } - + [Description("The specific constraint subtype values that the definition applies to.")] + [NonNull] + public MetafieldDefinitionConstraintValueConnection? values { get; set; } + } + /// ///The input fields required to create metafield definition [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions). ///Each constraint applies a metafield definition to a subtype of a resource. /// - [Description("The input fields required to create metafield definition [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions).\nEach constraint applies a metafield definition to a subtype of a resource.")] - public class MetafieldDefinitionConstraintsInput : GraphQLObject - { + [Description("The input fields required to create metafield definition [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions).\nEach constraint applies a metafield definition to a subtype of a resource.")] + public class MetafieldDefinitionConstraintsInput : GraphQLObject + { /// ///The category of resource subtypes that the definition applies to. /// - [Description("The category of resource subtypes that the definition applies to.")] - [NonNull] - public string? key { get; set; } - + [Description("The category of resource subtypes that the definition applies to.")] + [NonNull] + public string? key { get; set; } + /// ///The specific constraint subtype values that the definition applies to. /// - [Description("The specific constraint subtype values that the definition applies to.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("The specific constraint subtype values that the definition applies to.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///The input fields required to update metafield definition [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions). ///Each constraint applies a metafield definition to a subtype of a resource. /// - [Description("The input fields required to update metafield definition [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions).\nEach constraint applies a metafield definition to a subtype of a resource.")] - public class MetafieldDefinitionConstraintsUpdatesInput : GraphQLObject - { + [Description("The input fields required to update metafield definition [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions).\nEach constraint applies a metafield definition to a subtype of a resource.")] + public class MetafieldDefinitionConstraintsUpdatesInput : GraphQLObject + { /// ///The category of resource subtypes that the definition applies to. ///If omitted and the definition is already constrained, the existing constraint key will be used. ///If set to `null`, all constraints will be removed. /// - [Description("The category of resource subtypes that the definition applies to.\nIf omitted and the definition is already constrained, the existing constraint key will be used.\nIf set to `null`, all constraints will be removed.")] - public string? key { get; set; } - + [Description("The category of resource subtypes that the definition applies to.\nIf omitted and the definition is already constrained, the existing constraint key will be used.\nIf set to `null`, all constraints will be removed.")] + public string? key { get; set; } + /// ///The specific constraint subtype values to create or delete. /// - [Description("The specific constraint subtype values to create or delete.")] - public IEnumerable? values { get; set; } - } - + [Description("The specific constraint subtype values to create or delete.")] + public IEnumerable? values { get; set; } + } + /// ///Return type for `metafieldDefinitionCreate` mutation. /// - [Description("Return type for `metafieldDefinitionCreate` mutation.")] - public class MetafieldDefinitionCreatePayload : GraphQLObject - { + [Description("Return type for `metafieldDefinitionCreate` mutation.")] + public class MetafieldDefinitionCreatePayload : GraphQLObject + { /// ///The metafield definition that was created. /// - [Description("The metafield definition that was created.")] - public MetafieldDefinition? createdDefinition { get; set; } - + [Description("The metafield definition that was created.")] + public MetafieldDefinition? createdDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MetafieldDefinitionCreate`. /// - [Description("An error that occurs during the execution of `MetafieldDefinitionCreate`.")] - public class MetafieldDefinitionCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MetafieldDefinitionCreate`.")] + public class MetafieldDefinitionCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MetafieldDefinitionCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MetafieldDefinitionCreateUserErrorCode))] + public string? code { get; set; } + /// ///The index of the array element that's causing the error. /// - [Description("The index of the array element that's causing the error.")] - public int? elementIndex { get; set; } - + [Description("The index of the array element that's causing the error.")] + public int? elementIndex { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MetafieldDefinitionCreateUserError`. /// - [Description("Possible error codes that can be returned by `MetafieldDefinitionCreateUserError`.")] - public enum MetafieldDefinitionCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `MetafieldDefinitionCreateUserError`.")] + public enum MetafieldDefinitionCreateUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///A capability is required for the definition type but is disabled. /// - [Description("A capability is required for the definition type but is disabled.")] - CAPABILITY_REQUIRED_BUT_DISABLED, + [Description("A capability is required for the definition type but is disabled.")] + CAPABILITY_REQUIRED_BUT_DISABLED, /// ///The definition limit per owner type has exceeded. /// - [Description("The definition limit per owner type has exceeded.")] - RESOURCE_TYPE_LIMIT_EXCEEDED, + [Description("The definition limit per owner type has exceeded.")] + RESOURCE_TYPE_LIMIT_EXCEEDED, /// ///The definition limit per owner type for the app has exceeded. /// - [Description("The definition limit per owner type for the app has exceeded.")] - RESOURCE_TYPE_LIMIT_EXCEEDED_BY_APP, + [Description("The definition limit per owner type for the app has exceeded.")] + RESOURCE_TYPE_LIMIT_EXCEEDED_BY_APP, /// ///The maximum limit of definitions per owner type has exceeded. /// - [Description("The maximum limit of definitions per owner type has exceeded.")] - LIMIT_EXCEEDED, + [Description("The maximum limit of definitions per owner type has exceeded.")] + LIMIT_EXCEEDED, /// ///An invalid option. /// - [Description("An invalid option.")] - INVALID_OPTION, + [Description("An invalid option.")] + INVALID_OPTION, /// ///A duplicate option. /// - [Description("A duplicate option.")] - DUPLICATE_OPTION, + [Description("A duplicate option.")] + DUPLICATE_OPTION, /// ///This namespace and key combination is reserved for standard definitions. /// - [Description("This namespace and key combination is reserved for standard definitions.")] - RESERVED_NAMESPACE_KEY, + [Description("This namespace and key combination is reserved for standard definitions.")] + RESERVED_NAMESPACE_KEY, /// ///The pinned limit has been reached for the owner type. /// - [Description("The pinned limit has been reached for the owner type.")] - PINNED_LIMIT_REACHED, + [Description("The pinned limit has been reached for the owner type.")] + PINNED_LIMIT_REACHED, /// ///This namespace and key combination is already in use for a set of your metafields. /// - [Description("This namespace and key combination is already in use for a set of your metafields.")] - UNSTRUCTURED_ALREADY_EXISTS, + [Description("This namespace and key combination is already in use for a set of your metafields.")] + UNSTRUCTURED_ALREADY_EXISTS, /// ///The metafield definition does not support pinning. /// - [Description("The metafield definition does not support pinning.")] - UNSUPPORTED_PINNING, + [Description("The metafield definition does not support pinning.")] + UNSUPPORTED_PINNING, /// ///A field contains an invalid character. /// - [Description("A field contains an invalid character.")] - INVALID_CHARACTER, + [Description("A field contains an invalid character.")] + INVALID_CHARACTER, /// ///The definition type is not eligible to be used as collection condition. /// - [Description("The definition type is not eligible to be used as collection condition.")] - TYPE_NOT_ALLOWED_FOR_CONDITIONS, + [Description("The definition type is not eligible to be used as collection condition.")] + TYPE_NOT_ALLOWED_FOR_CONDITIONS, /// ///You have reached the maximum allowed definitions for automated collections. /// - [Description("You have reached the maximum allowed definitions for automated collections.")] - OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS, + [Description("You have reached the maximum allowed definitions for automated collections.")] + OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS, /// ///The metafield definition constraints are invalid. /// - [Description("The metafield definition constraints are invalid.")] - INVALID_CONSTRAINTS, + [Description("The metafield definition constraints are invalid.")] + INVALID_CONSTRAINTS, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The input combination is invalid. /// - [Description("The input combination is invalid.")] - INVALID_INPUT_COMBINATION, + [Description("The input combination is invalid.")] + INVALID_INPUT_COMBINATION, /// ///The metafield definition capability is invalid. /// - [Description("The metafield definition capability is invalid.")] - INVALID_CAPABILITY, + [Description("The metafield definition capability is invalid.")] + INVALID_CAPABILITY, /// ///Admin access can only be specified for app-owned metafield definitions. /// - [Description("Admin access can only be specified for app-owned metafield definitions.")] - ADMIN_ACCESS_INPUT_NOT_ALLOWED, - } - - public static class MetafieldDefinitionCreateUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string INCLUSION = @"INCLUSION"; - public const string PRESENT = @"PRESENT"; - public const string TAKEN = @"TAKEN"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string BLANK = @"BLANK"; - public const string CAPABILITY_REQUIRED_BUT_DISABLED = @"CAPABILITY_REQUIRED_BUT_DISABLED"; - public const string RESOURCE_TYPE_LIMIT_EXCEEDED = @"RESOURCE_TYPE_LIMIT_EXCEEDED"; - public const string RESOURCE_TYPE_LIMIT_EXCEEDED_BY_APP = @"RESOURCE_TYPE_LIMIT_EXCEEDED_BY_APP"; - public const string LIMIT_EXCEEDED = @"LIMIT_EXCEEDED"; - public const string INVALID_OPTION = @"INVALID_OPTION"; - public const string DUPLICATE_OPTION = @"DUPLICATE_OPTION"; - public const string RESERVED_NAMESPACE_KEY = @"RESERVED_NAMESPACE_KEY"; - public const string PINNED_LIMIT_REACHED = @"PINNED_LIMIT_REACHED"; - public const string UNSTRUCTURED_ALREADY_EXISTS = @"UNSTRUCTURED_ALREADY_EXISTS"; - public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; - public const string INVALID_CHARACTER = @"INVALID_CHARACTER"; - public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; - public const string OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS = @"OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS"; - public const string INVALID_CONSTRAINTS = @"INVALID_CONSTRAINTS"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; - public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; - public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; - } - + [Description("Admin access can only be specified for app-owned metafield definitions.")] + ADMIN_ACCESS_INPUT_NOT_ALLOWED, + } + + public static class MetafieldDefinitionCreateUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string INCLUSION = @"INCLUSION"; + public const string PRESENT = @"PRESENT"; + public const string TAKEN = @"TAKEN"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string BLANK = @"BLANK"; + public const string CAPABILITY_REQUIRED_BUT_DISABLED = @"CAPABILITY_REQUIRED_BUT_DISABLED"; + public const string RESOURCE_TYPE_LIMIT_EXCEEDED = @"RESOURCE_TYPE_LIMIT_EXCEEDED"; + public const string RESOURCE_TYPE_LIMIT_EXCEEDED_BY_APP = @"RESOURCE_TYPE_LIMIT_EXCEEDED_BY_APP"; + public const string LIMIT_EXCEEDED = @"LIMIT_EXCEEDED"; + public const string INVALID_OPTION = @"INVALID_OPTION"; + public const string DUPLICATE_OPTION = @"DUPLICATE_OPTION"; + public const string RESERVED_NAMESPACE_KEY = @"RESERVED_NAMESPACE_KEY"; + public const string PINNED_LIMIT_REACHED = @"PINNED_LIMIT_REACHED"; + public const string UNSTRUCTURED_ALREADY_EXISTS = @"UNSTRUCTURED_ALREADY_EXISTS"; + public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; + public const string INVALID_CHARACTER = @"INVALID_CHARACTER"; + public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; + public const string OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS = @"OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS"; + public const string INVALID_CONSTRAINTS = @"INVALID_CONSTRAINTS"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; + public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; + public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; + } + /// ///Return type for `metafieldDefinitionDelete` mutation. /// - [Description("Return type for `metafieldDefinitionDelete` mutation.")] - public class MetafieldDefinitionDeletePayload : GraphQLObject - { + [Description("Return type for `metafieldDefinitionDelete` mutation.")] + public class MetafieldDefinitionDeletePayload : GraphQLObject + { /// ///The metafield definition that was deleted. /// - [Description("The metafield definition that was deleted.")] - public MetafieldDefinitionIdentifier? deletedDefinition { get; set; } - + [Description("The metafield definition that was deleted.")] + public MetafieldDefinitionIdentifier? deletedDefinition { get; set; } + /// ///The ID of the deleted metafield definition. /// - [Description("The ID of the deleted metafield definition.")] - public string? deletedDefinitionId { get; set; } - + [Description("The ID of the deleted metafield definition.")] + public string? deletedDefinitionId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MetafieldDefinitionDelete`. /// - [Description("An error that occurs during the execution of `MetafieldDefinitionDelete`.")] - public class MetafieldDefinitionDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MetafieldDefinitionDelete`.")] + public class MetafieldDefinitionDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MetafieldDefinitionDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MetafieldDefinitionDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MetafieldDefinitionDeleteUserError`. /// - [Description("Possible error codes that can be returned by `MetafieldDefinitionDeleteUserError`.")] - public enum MetafieldDefinitionDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `MetafieldDefinitionDeleteUserError`.")] + public enum MetafieldDefinitionDeleteUserErrorCode + { /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///Definition not found. /// - [Description("Definition not found.")] - NOT_FOUND, + [Description("Definition not found.")] + NOT_FOUND, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///Deleting an id type metafield definition requires deletion of its associated metafields. /// - [Description("Deleting an id type metafield definition requires deletion of its associated metafields.")] - ID_TYPE_DELETION_ERROR, + [Description("Deleting an id type metafield definition requires deletion of its associated metafields.")] + ID_TYPE_DELETION_ERROR, /// ///Deleting a reference type metafield definition requires deletion of its associated metafields. /// - [Description("Deleting a reference type metafield definition requires deletion of its associated metafields.")] - REFERENCE_TYPE_DELETION_ERROR, + [Description("Deleting a reference type metafield definition requires deletion of its associated metafields.")] + REFERENCE_TYPE_DELETION_ERROR, /// ///Deleting a definition in a reserved namespace requires deletion of its associated metafields. /// - [Description("Deleting a definition in a reserved namespace requires deletion of its associated metafields.")] - RESERVED_NAMESPACE_ORPHANED_METAFIELDS, + [Description("Deleting a definition in a reserved namespace requires deletion of its associated metafields.")] + RESERVED_NAMESPACE_ORPHANED_METAFIELDS, /// ///Action cannot proceed. Definition is currently in use. /// - [Description("Action cannot proceed. Definition is currently in use.")] - METAFIELD_DEFINITION_IN_USE, + [Description("Action cannot proceed. Definition is currently in use.")] + METAFIELD_DEFINITION_IN_USE, /// ///Definition is managed by app configuration and cannot be modified through the API. /// - [Description("Definition is managed by app configuration and cannot be modified through the API.")] - APP_CONFIG_MANAGED, + [Description("Definition is managed by app configuration and cannot be modified through the API.")] + APP_CONFIG_MANAGED, /// ///Definition is required by an installed app and cannot be deleted. /// - [Description("Definition is required by an installed app and cannot be deleted.")] - STANDARD_METAFIELD_DEFINITION_DEPENDENT_ON_APP, + [Description("Definition is required by an installed app and cannot be deleted.")] + STANDARD_METAFIELD_DEFINITION_DEPENDENT_ON_APP, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, - } - - public static class MetafieldDefinitionDeleteUserErrorCodeStringValues - { - public const string PRESENT = @"PRESENT"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string ID_TYPE_DELETION_ERROR = @"ID_TYPE_DELETION_ERROR"; - public const string REFERENCE_TYPE_DELETION_ERROR = @"REFERENCE_TYPE_DELETION_ERROR"; - public const string RESERVED_NAMESPACE_ORPHANED_METAFIELDS = @"RESERVED_NAMESPACE_ORPHANED_METAFIELDS"; - public const string METAFIELD_DEFINITION_IN_USE = @"METAFIELD_DEFINITION_IN_USE"; - public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; - public const string STANDARD_METAFIELD_DEFINITION_DEPENDENT_ON_APP = @"STANDARD_METAFIELD_DEFINITION_DEPENDENT_ON_APP"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - } - + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, + } + + public static class MetafieldDefinitionDeleteUserErrorCodeStringValues + { + public const string PRESENT = @"PRESENT"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string ID_TYPE_DELETION_ERROR = @"ID_TYPE_DELETION_ERROR"; + public const string REFERENCE_TYPE_DELETION_ERROR = @"REFERENCE_TYPE_DELETION_ERROR"; + public const string RESERVED_NAMESPACE_ORPHANED_METAFIELDS = @"RESERVED_NAMESPACE_ORPHANED_METAFIELDS"; + public const string METAFIELD_DEFINITION_IN_USE = @"METAFIELD_DEFINITION_IN_USE"; + public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; + public const string STANDARD_METAFIELD_DEFINITION_DEPENDENT_ON_APP = @"STANDARD_METAFIELD_DEFINITION_DEPENDENT_ON_APP"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + } + /// ///An auto-generated type which holds one MetafieldDefinition and a cursor during pagination. /// - [Description("An auto-generated type which holds one MetafieldDefinition and a cursor during pagination.")] - public class MetafieldDefinitionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MetafieldDefinition and a cursor during pagination.")] + public class MetafieldDefinitionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MetafieldDefinitionEdge. /// - [Description("The item at the end of MetafieldDefinitionEdge.")] - [NonNull] - public MetafieldDefinition? node { get; set; } - } - + [Description("The item at the end of MetafieldDefinitionEdge.")] + [NonNull] + public MetafieldDefinition? node { get; set; } + } + /// ///Identifies a metafield definition by its owner type, namespace, and key. /// - [Description("Identifies a metafield definition by its owner type, namespace, and key.")] - public class MetafieldDefinitionIdentifier : GraphQLObject - { + [Description("Identifies a metafield definition by its owner type, namespace, and key.")] + public class MetafieldDefinitionIdentifier : GraphQLObject + { /// ///The unique identifier for the metafield definition within its namespace. /// - [Description("The unique identifier for the metafield definition within its namespace.")] - [NonNull] - public string? key { get; set; } - + [Description("The unique identifier for the metafield definition within its namespace.")] + [NonNull] + public string? key { get; set; } + /// ///The container for a group of metafields that the metafield definition is associated with. /// - [Description("The container for a group of metafields that the metafield definition is associated with.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield definition is associated with.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The resource type that the metafield definition is attached to. /// - [Description("The resource type that the metafield definition is attached to.")] - [NonNull] - [EnumType(typeof(MetafieldOwnerType))] - public string? ownerType { get; set; } - } - + [Description("The resource type that the metafield definition is attached to.")] + [NonNull] + [EnumType(typeof(MetafieldOwnerType))] + public string? ownerType { get; set; } + } + /// ///The input fields that identify metafield definitions. /// - [Description("The input fields that identify metafield definitions.")] - public class MetafieldDefinitionIdentifierInput : GraphQLObject - { + [Description("The input fields that identify metafield definitions.")] + public class MetafieldDefinitionIdentifierInput : GraphQLObject + { /// ///The resource type that the metafield definition is attached to. /// - [Description("The resource type that the metafield definition is attached to.")] - [NonNull] - [EnumType(typeof(MetafieldOwnerType))] - public string? ownerType { get; set; } - + [Description("The resource type that the metafield definition is attached to.")] + [NonNull] + [EnumType(typeof(MetafieldOwnerType))] + public string? ownerType { get; set; } + /// ///The container for a group of metafields that the metafield definition will be associated with. If omitted, the ///app-reserved namespace will be used. /// - [Description("The container for a group of metafields that the metafield definition will be associated with. If omitted, the\napp-reserved namespace will be used.")] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield definition will be associated with. If omitted, the\napp-reserved namespace will be used.")] + public string? @namespace { get; set; } + /// ///The unique identifier for the metafield definition within its namespace. /// - [Description("The unique identifier for the metafield definition within its namespace.")] - [NonNull] - public string? key { get; set; } - } - + [Description("The unique identifier for the metafield definition within its namespace.")] + [NonNull] + public string? key { get; set; } + } + /// ///The input fields required to create a metafield definition. /// - [Description("The input fields required to create a metafield definition.")] - public class MetafieldDefinitionInput : GraphQLObject - { + [Description("The input fields required to create a metafield definition.")] + public class MetafieldDefinitionInput : GraphQLObject + { /// ///The container for a group of metafields that the metafield definition will be associated with. If omitted, the ///app-reserved namespace will be used. /// ///Must be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters. /// - [Description("The container for a group of metafields that the metafield definition will be associated with. If omitted, the\napp-reserved namespace will be used.\n\nMust be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters.")] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield definition will be associated with. If omitted, the\napp-reserved namespace will be used.\n\nMust be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters.")] + public string? @namespace { get; set; } + /// ///The unique identifier for the metafield definition within its namespace. /// ///Must be 2-64 characters long and only contain alphanumeric, hyphen, and underscore characters. /// - [Description("The unique identifier for the metafield definition within its namespace.\n\nMust be 2-64 characters long and only contain alphanumeric, hyphen, and underscore characters.")] - [NonNull] - public string? key { get; set; } - + [Description("The unique identifier for the metafield definition within its namespace.\n\nMust be 2-64 characters long and only contain alphanumeric, hyphen, and underscore characters.")] + [NonNull] + public string? key { get; set; } + /// ///The human-readable name for the metafield definition. /// - [Description("The human-readable name for the metafield definition.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable name for the metafield definition.")] + [NonNull] + public string? name { get; set; } + /// ///The description for the metafield definition. /// - [Description("The description for the metafield definition.")] - public string? description { get; set; } - + [Description("The description for the metafield definition.")] + public string? description { get; set; } + /// ///The resource type that the metafield definition is attached to. /// - [Description("The resource type that the metafield definition is attached to.")] - [NonNull] - [EnumType(typeof(MetafieldOwnerType))] - public string? ownerType { get; set; } - + [Description("The resource type that the metafield definition is attached to.")] + [NonNull] + [EnumType(typeof(MetafieldOwnerType))] + public string? ownerType { get; set; } + /// ///The type of data that each of the metafields that belong to the metafield definition will store. ///Refer to the list of [supported types](https://shopify.dev/apps/metafields/types). /// - [Description("The type of data that each of the metafields that belong to the metafield definition will store.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).")] - [NonNull] - public string? type { get; set; } - + [Description("The type of data that each of the metafields that belong to the metafield definition will store.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).")] + [NonNull] + public string? type { get; set; } + /// ///A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for ///the metafields that belong to the metafield definition. For example, for a metafield definition with the ///type `date`, you can set a minimum date validation so that each of the metafields that belong to it can only ///store dates after the specified minimum. /// - [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.")] - public IEnumerable? validations { get; set; } - + [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.")] + public IEnumerable? validations { get; set; } + /// ///Whether the metafield definition can be used as a collection condition. /// - [Description("Whether the metafield definition can be used as a collection condition.")] - [Obsolete("Use `smartCollectionCondition` instead.")] - public bool? useAsCollectionCondition { get; set; } - + [Description("Whether the metafield definition can be used as a collection condition.")] + [Obsolete("Use `smartCollectionCondition` instead.")] + public bool? useAsCollectionCondition { get; set; } + /// ///Whether to [pin](https://help.shopify.com/manual/custom-data/metafields/pinning-metafield-definitions) ///the metafield definition. /// - [Description("Whether to [pin](https://help.shopify.com/manual/custom-data/metafields/pinning-metafield-definitions)\nthe metafield definition.")] - public bool? pin { get; set; } - + [Description("Whether to [pin](https://help.shopify.com/manual/custom-data/metafields/pinning-metafield-definitions)\nthe metafield definition.")] + public bool? pin { get; set; } + /// ///The access settings that apply to each of the metafields that belong to the metafield definition. /// - [Description("The access settings that apply to each of the metafields that belong to the metafield definition.")] - public MetafieldAccessInput? access { get; set; } - + [Description("The access settings that apply to each of the metafields that belong to the metafield definition.")] + public MetafieldAccessInput? access { get; set; } + /// ///The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions) ///that determine what resources a metafield definition applies to. /// - [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what resources a metafield definition applies to.")] - public MetafieldDefinitionConstraintsInput? constraints { get; set; } - + [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what resources a metafield definition applies to.")] + public MetafieldDefinitionConstraintsInput? constraints { get; set; } + /// ///The capabilities of the metafield definition. /// - [Description("The capabilities of the metafield definition.")] - public MetafieldCapabilityCreateInput? capabilities { get; set; } - } - + [Description("The capabilities of the metafield definition.")] + public MetafieldCapabilityCreateInput? capabilities { get; set; } + } + /// ///Return type for `metafieldDefinitionPin` mutation. /// - [Description("Return type for `metafieldDefinitionPin` mutation.")] - public class MetafieldDefinitionPinPayload : GraphQLObject - { + [Description("Return type for `metafieldDefinitionPin` mutation.")] + public class MetafieldDefinitionPinPayload : GraphQLObject + { /// ///The metafield definition that was pinned. /// - [Description("The metafield definition that was pinned.")] - public MetafieldDefinition? pinnedDefinition { get; set; } - + [Description("The metafield definition that was pinned.")] + public MetafieldDefinition? pinnedDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MetafieldDefinitionPin`. /// - [Description("An error that occurs during the execution of `MetafieldDefinitionPin`.")] - public class MetafieldDefinitionPinUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MetafieldDefinitionPin`.")] + public class MetafieldDefinitionPinUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MetafieldDefinitionPinUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MetafieldDefinitionPinUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MetafieldDefinitionPinUserError`. /// - [Description("Possible error codes that can be returned by `MetafieldDefinitionPinUserError`.")] - public enum MetafieldDefinitionPinUserErrorCode - { + [Description("Possible error codes that can be returned by `MetafieldDefinitionPinUserError`.")] + public enum MetafieldDefinitionPinUserErrorCode + { /// ///The metafield definition was not found. /// - [Description("The metafield definition was not found.")] - NOT_FOUND, + [Description("The metafield definition was not found.")] + NOT_FOUND, /// ///The pinned limit has been reached for owner type. /// - [Description("The pinned limit has been reached for owner type.")] - PINNED_LIMIT_REACHED, + [Description("The pinned limit has been reached for owner type.")] + PINNED_LIMIT_REACHED, /// ///The metafield definition is already pinned. /// - [Description("The metafield definition is already pinned.")] - ALREADY_PINNED, + [Description("The metafield definition is already pinned.")] + ALREADY_PINNED, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///The metafield definition does not support pinning. /// - [Description("The metafield definition does not support pinning.")] - UNSUPPORTED_PINNING, + [Description("The metafield definition does not support pinning.")] + UNSUPPORTED_PINNING, /// ///Definition is managed by app configuration and cannot be modified through the API. /// - [Description("Definition is managed by app configuration and cannot be modified through the API.")] - APP_CONFIG_MANAGED, + [Description("Definition is managed by app configuration and cannot be modified through the API.")] + APP_CONFIG_MANAGED, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, - } - - public static class MetafieldDefinitionPinUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string PINNED_LIMIT_REACHED = @"PINNED_LIMIT_REACHED"; - public const string ALREADY_PINNED = @"ALREADY_PINNED"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; - public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - } - + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, + } + + public static class MetafieldDefinitionPinUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string PINNED_LIMIT_REACHED = @"PINNED_LIMIT_REACHED"; + public const string ALREADY_PINNED = @"ALREADY_PINNED"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; + public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + } + /// ///Possible metafield definition pinned statuses. /// - [Description("Possible metafield definition pinned statuses.")] - public enum MetafieldDefinitionPinnedStatus - { + [Description("Possible metafield definition pinned statuses.")] + public enum MetafieldDefinitionPinnedStatus + { /// ///All metafield definitions. /// - [Description("All metafield definitions.")] - ANY, + [Description("All metafield definitions.")] + ANY, /// ///Only metafield definitions that are pinned. /// - [Description("Only metafield definitions that are pinned.")] - PINNED, + [Description("Only metafield definitions that are pinned.")] + PINNED, /// ///Only metafield definitions that are not pinned. /// - [Description("Only metafield definitions that are not pinned.")] - UNPINNED, - } - - public static class MetafieldDefinitionPinnedStatusStringValues - { - public const string ANY = @"ANY"; - public const string PINNED = @"PINNED"; - public const string UNPINNED = @"UNPINNED"; - } - + [Description("Only metafield definitions that are not pinned.")] + UNPINNED, + } + + public static class MetafieldDefinitionPinnedStatusStringValues + { + public const string ANY = @"ANY"; + public const string PINNED = @"PINNED"; + public const string UNPINNED = @"UNPINNED"; + } + /// ///The set of valid sort keys for the MetafieldDefinition query. /// - [Description("The set of valid sort keys for the MetafieldDefinition query.")] - public enum MetafieldDefinitionSortKeys - { + [Description("The set of valid sort keys for the MetafieldDefinition query.")] + public enum MetafieldDefinitionSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `pinned_position` value. /// - [Description("Sort by the `pinned_position` value.")] - PINNED_POSITION, + [Description("Sort by the `pinned_position` value.")] + PINNED_POSITION, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, - } - - public static class MetafieldDefinitionSortKeysStringValues - { - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string PINNED_POSITION = @"PINNED_POSITION"; - public const string RELEVANCE = @"RELEVANCE"; - } - + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, + } + + public static class MetafieldDefinitionSortKeysStringValues + { + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string PINNED_POSITION = @"PINNED_POSITION"; + public const string RELEVANCE = @"RELEVANCE"; + } + /// ///The type and name for the optional validation configuration of a metafield. /// ///For example, a supported validation might consist of a `max` name and a `number_integer` type. ///This validation can then be used to enforce a maximum character length for a `single_line_text_field` metafield. /// - [Description("The type and name for the optional validation configuration of a metafield.\n\nFor example, a supported validation might consist of a `max` name and a `number_integer` type.\nThis validation can then be used to enforce a maximum character length for a `single_line_text_field` metafield.")] - public class MetafieldDefinitionSupportedValidation : GraphQLObject - { + [Description("The type and name for the optional validation configuration of a metafield.\n\nFor example, a supported validation might consist of a `max` name and a `number_integer` type.\nThis validation can then be used to enforce a maximum character length for a `single_line_text_field` metafield.")] + public class MetafieldDefinitionSupportedValidation : GraphQLObject + { /// ///The name of the metafield definition validation. /// - [Description("The name of the metafield definition validation.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the metafield definition validation.")] + [NonNull] + public string? name { get; set; } + /// ///The type of input for the validation. /// - [Description("The type of input for the validation.")] - [NonNull] - public string? type { get; set; } - } - + [Description("The type of input for the validation.")] + [NonNull] + public string? type { get; set; } + } + /// ///A metafield definition type provides basic foundation and validation for a metafield. /// - [Description("A metafield definition type provides basic foundation and validation for a metafield.")] - public class MetafieldDefinitionType : GraphQLObject - { + [Description("A metafield definition type provides basic foundation and validation for a metafield.")] + public class MetafieldDefinitionType : GraphQLObject + { /// ///The category associated with the metafield definition type. /// - [Description("The category associated with the metafield definition type.")] - [NonNull] - public string? category { get; set; } - + [Description("The category associated with the metafield definition type.")] + [NonNull] + public string? category { get; set; } + /// ///The name of the type for the metafield definition. ///See the list of [supported types](https://shopify.dev/apps/metafields/types). /// - [Description("The name of the type for the metafield definition.\nSee the list of [supported types](https://shopify.dev/apps/metafields/types).")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the type for the metafield definition.\nSee the list of [supported types](https://shopify.dev/apps/metafields/types).")] + [NonNull] + public string? name { get; set; } + /// ///The supported validations for a metafield definition type. /// - [Description("The supported validations for a metafield definition type.")] - [NonNull] - public IEnumerable? supportedValidations { get; set; } - + [Description("The supported validations for a metafield definition type.")] + [NonNull] + public IEnumerable? supportedValidations { get; set; } + /// ///Whether metafields without a definition can be migrated to a definition of this type. /// - [Description("Whether metafields without a definition can be migrated to a definition of this type.")] - [NonNull] - public bool? supportsDefinitionMigrations { get; set; } - + [Description("Whether metafields without a definition can be migrated to a definition of this type.")] + [NonNull] + public bool? supportsDefinitionMigrations { get; set; } + /// ///The value type for a metafield created with this definition type. /// - [Description("The value type for a metafield created with this definition type.")] - [Obsolete("`valueType` is deprecated and `name` should be used for type information.")] - [NonNull] - [EnumType(typeof(MetafieldValueType))] - public string? valueType { get; set; } - } - + [Description("The value type for a metafield created with this definition type.")] + [Obsolete("`valueType` is deprecated and `name` should be used for type information.")] + [NonNull] + [EnumType(typeof(MetafieldValueType))] + public string? valueType { get; set; } + } + /// ///Return type for `metafieldDefinitionUnpin` mutation. /// - [Description("Return type for `metafieldDefinitionUnpin` mutation.")] - public class MetafieldDefinitionUnpinPayload : GraphQLObject - { + [Description("Return type for `metafieldDefinitionUnpin` mutation.")] + public class MetafieldDefinitionUnpinPayload : GraphQLObject + { /// ///The metafield definition that was unpinned. /// - [Description("The metafield definition that was unpinned.")] - public MetafieldDefinition? unpinnedDefinition { get; set; } - + [Description("The metafield definition that was unpinned.")] + public MetafieldDefinition? unpinnedDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MetafieldDefinitionUnpin`. /// - [Description("An error that occurs during the execution of `MetafieldDefinitionUnpin`.")] - public class MetafieldDefinitionUnpinUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MetafieldDefinitionUnpin`.")] + public class MetafieldDefinitionUnpinUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MetafieldDefinitionUnpinUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MetafieldDefinitionUnpinUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MetafieldDefinitionUnpinUserError`. /// - [Description("Possible error codes that can be returned by `MetafieldDefinitionUnpinUserError`.")] - public enum MetafieldDefinitionUnpinUserErrorCode - { + [Description("Possible error codes that can be returned by `MetafieldDefinitionUnpinUserError`.")] + public enum MetafieldDefinitionUnpinUserErrorCode + { /// ///The metafield definition was not found. /// - [Description("The metafield definition was not found.")] - NOT_FOUND, + [Description("The metafield definition was not found.")] + NOT_FOUND, /// ///The metafield definition isn't pinned. /// - [Description("The metafield definition isn't pinned.")] - NOT_PINNED, + [Description("The metafield definition isn't pinned.")] + NOT_PINNED, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///Definition is managed by app configuration and cannot be modified through the API. /// - [Description("Definition is managed by app configuration and cannot be modified through the API.")] - APP_CONFIG_MANAGED, + [Description("Definition is managed by app configuration and cannot be modified through the API.")] + APP_CONFIG_MANAGED, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, - } - - public static class MetafieldDefinitionUnpinUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string NOT_PINNED = @"NOT_PINNED"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - } - + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, + } + + public static class MetafieldDefinitionUnpinUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string NOT_PINNED = @"NOT_PINNED"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + } + /// ///The input fields required to update a metafield definition. /// - [Description("The input fields required to update a metafield definition.")] - public class MetafieldDefinitionUpdateInput : GraphQLObject - { + [Description("The input fields required to update a metafield definition.")] + public class MetafieldDefinitionUpdateInput : GraphQLObject + { /// ///The container for a group of metafields that the metafield definition is associated with. Used to help identify ///the metafield definition, but cannot be updated itself. If omitted, the app-reserved namespace will be used. /// - [Description("The container for a group of metafields that the metafield definition is associated with. Used to help identify\nthe metafield definition, but cannot be updated itself. If omitted, the app-reserved namespace will be used.")] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield definition is associated with. Used to help identify\nthe metafield definition, but cannot be updated itself. If omitted, the app-reserved namespace will be used.")] + public string? @namespace { get; set; } + /// ///The unique identifier for the metafield definition within its namespace. Used to help identify the metafield ///definition, but can't be updated itself. /// - [Description("The unique identifier for the metafield definition within its namespace. Used to help identify the metafield\ndefinition, but can't be updated itself.")] - [NonNull] - public string? key { get; set; } - + [Description("The unique identifier for the metafield definition within its namespace. Used to help identify the metafield\ndefinition, but can't be updated itself.")] + [NonNull] + public string? key { get; set; } + /// ///The human-readable name for the metafield definition. /// - [Description("The human-readable name for the metafield definition.")] - public string? name { get; set; } - + [Description("The human-readable name for the metafield definition.")] + public string? name { get; set; } + /// ///The description for the metafield definition. /// - [Description("The description for the metafield definition.")] - public string? description { get; set; } - + [Description("The description for the metafield definition.")] + public string? description { get; set; } + /// ///The resource type that the metafield definition is attached to. Used to help identify the metafield definition, ///but can't be updated itself. /// - [Description("The resource type that the metafield definition is attached to. Used to help identify the metafield definition,\nbut can't be updated itself.")] - [NonNull] - [EnumType(typeof(MetafieldOwnerType))] - public string? ownerType { get; set; } - + [Description("The resource type that the metafield definition is attached to. Used to help identify the metafield definition,\nbut can't be updated itself.")] + [NonNull] + [EnumType(typeof(MetafieldOwnerType))] + public string? ownerType { get; set; } + /// ///A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for ///the metafields that belong to the metafield definition. For example, for a metafield definition with the ///type `date`, you can set a minimum date validation so that each of the metafields that belong to it can only ///store dates after the specified minimum. /// - [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.")] - public IEnumerable? validations { get; set; } - + [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe metafields that belong to the metafield definition. For example, for a metafield definition with the\ntype `date`, you can set a minimum date validation so that each of the metafields that belong to it can only\nstore dates after the specified minimum.")] + public IEnumerable? validations { get; set; } + /// ///Whether to pin the metafield definition. /// - [Description("Whether to pin the metafield definition.")] - public bool? pin { get; set; } - + [Description("Whether to pin the metafield definition.")] + public bool? pin { get; set; } + /// ///Whether the metafield definition can be used as a collection condition. /// - [Description("Whether the metafield definition can be used as a collection condition.")] - [Obsolete("Use `smartCollectionCondition` instead.")] - public bool? useAsCollectionCondition { get; set; } - + [Description("Whether the metafield definition can be used as a collection condition.")] + [Obsolete("Use `smartCollectionCondition` instead.")] + public bool? useAsCollectionCondition { get; set; } + /// ///The access settings that apply to each of the metafields that belong to the metafield definition. /// - [Description("The access settings that apply to each of the metafields that belong to the metafield definition.")] - public MetafieldAccessUpdateInput? access { get; set; } - + [Description("The access settings that apply to each of the metafields that belong to the metafield definition.")] + public MetafieldAccessUpdateInput? access { get; set; } + /// ///The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions) ///that determine what resources a metafield definition applies to. /// - [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what resources a metafield definition applies to.")] - public MetafieldDefinitionConstraintsUpdatesInput? constraintsUpdates { get; set; } - + [Description("The [constraints](https://shopify.dev/apps/build/custom-data/metafields/conditional-metafield-definitions)\nthat determine what resources a metafield definition applies to.")] + public MetafieldDefinitionConstraintsUpdatesInput? constraintsUpdates { get; set; } + /// ///The capabilities of the metafield definition. /// - [Description("The capabilities of the metafield definition.")] - public MetafieldCapabilityUpdateInput? capabilities { get; set; } - } - + [Description("The capabilities of the metafield definition.")] + public MetafieldCapabilityUpdateInput? capabilities { get; set; } + } + /// ///Return type for `metafieldDefinitionUpdate` mutation. /// - [Description("Return type for `metafieldDefinitionUpdate` mutation.")] - public class MetafieldDefinitionUpdatePayload : GraphQLObject - { + [Description("Return type for `metafieldDefinitionUpdate` mutation.")] + public class MetafieldDefinitionUpdatePayload : GraphQLObject + { /// ///The metafield definition that was updated. /// - [Description("The metafield definition that was updated.")] - public MetafieldDefinition? updatedDefinition { get; set; } - + [Description("The metafield definition that was updated.")] + public MetafieldDefinition? updatedDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + /// ///The asynchronous job updating the metafield definition's validation_status. /// - [Description("The asynchronous job updating the metafield definition's validation_status.")] - public Job? validationJob { get; set; } - } - + [Description("The asynchronous job updating the metafield definition's validation_status.")] + public Job? validationJob { get; set; } + } + /// ///An error that occurs during the execution of `MetafieldDefinitionUpdate`. /// - [Description("An error that occurs during the execution of `MetafieldDefinitionUpdate`.")] - public class MetafieldDefinitionUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MetafieldDefinitionUpdate`.")] + public class MetafieldDefinitionUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MetafieldDefinitionUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MetafieldDefinitionUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The index of the array element that's causing the error. /// - [Description("The index of the array element that's causing the error.")] - public int? elementIndex { get; set; } - + [Description("The index of the array element that's causing the error.")] + public int? elementIndex { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MetafieldDefinitionUpdateUserError`. /// - [Description("Possible error codes that can be returned by `MetafieldDefinitionUpdateUserError`.")] - public enum MetafieldDefinitionUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `MetafieldDefinitionUpdateUserError`.")] + public enum MetafieldDefinitionUpdateUserErrorCode + { /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The metafield definition wasn't found. /// - [Description("The metafield definition wasn't found.")] - NOT_FOUND, + [Description("The metafield definition wasn't found.")] + NOT_FOUND, /// ///An invalid input. /// - [Description("An invalid input.")] - INVALID_INPUT, + [Description("An invalid input.")] + INVALID_INPUT, /// ///A capability is required for the definition type but is disabled. /// - [Description("A capability is required for the definition type but is disabled.")] - CAPABILITY_REQUIRED_BUT_DISABLED, + [Description("A capability is required for the definition type but is disabled.")] + CAPABILITY_REQUIRED_BUT_DISABLED, /// ///The pinned limit has been reached for the owner type. /// - [Description("The pinned limit has been reached for the owner type.")] - PINNED_LIMIT_REACHED, + [Description("The pinned limit has been reached for the owner type.")] + PINNED_LIMIT_REACHED, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///The metafield definition does not support pinning. /// - [Description("The metafield definition does not support pinning.")] - UNSUPPORTED_PINNING, + [Description("The metafield definition does not support pinning.")] + UNSUPPORTED_PINNING, /// ///An invalid option. /// - [Description("An invalid option.")] - INVALID_OPTION, + [Description("An invalid option.")] + INVALID_OPTION, /// ///A duplicate option. /// - [Description("A duplicate option.")] - DUPLICATE_OPTION, + [Description("A duplicate option.")] + DUPLICATE_OPTION, /// ///The definition type is not eligible to be used as collection condition. /// - [Description("The definition type is not eligible to be used as collection condition.")] - TYPE_NOT_ALLOWED_FOR_CONDITIONS, + [Description("The definition type is not eligible to be used as collection condition.")] + TYPE_NOT_ALLOWED_FOR_CONDITIONS, /// ///Action cannot proceed. Definition is currently in use. /// - [Description("Action cannot proceed. Definition is currently in use.")] - METAFIELD_DEFINITION_IN_USE, + [Description("Action cannot proceed. Definition is currently in use.")] + METAFIELD_DEFINITION_IN_USE, /// ///You have reached the maximum allowed definitions for automated collections. /// - [Description("You have reached the maximum allowed definitions for automated collections.")] - OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS, + [Description("You have reached the maximum allowed definitions for automated collections.")] + OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS, /// ///You cannot change the metaobject definition pointed to by a metaobject reference metafield definition. /// - [Description("You cannot change the metaobject definition pointed to by a metaobject reference metafield definition.")] - METAOBJECT_DEFINITION_CHANGED, + [Description("You cannot change the metaobject definition pointed to by a metaobject reference metafield definition.")] + METAOBJECT_DEFINITION_CHANGED, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The input combination is invalid. /// - [Description("The input combination is invalid.")] - INVALID_INPUT_COMBINATION, + [Description("The input combination is invalid.")] + INVALID_INPUT_COMBINATION, /// ///The metafield definition constraints are invalid. /// - [Description("The metafield definition constraints are invalid.")] - INVALID_CONSTRAINTS, + [Description("The metafield definition constraints are invalid.")] + INVALID_CONSTRAINTS, /// ///The metafield definition capability is invalid. /// - [Description("The metafield definition capability is invalid.")] - INVALID_CAPABILITY, + [Description("The metafield definition capability is invalid.")] + INVALID_CAPABILITY, /// ///The metafield definition capability cannot be disabled. /// - [Description("The metafield definition capability cannot be disabled.")] - CAPABILITY_CANNOT_BE_DISABLED, + [Description("The metafield definition capability cannot be disabled.")] + CAPABILITY_CANNOT_BE_DISABLED, /// ///Admin access can only be specified for app-owned metafield definitions. /// - [Description("Admin access can only be specified for app-owned metafield definitions.")] - ADMIN_ACCESS_INPUT_NOT_ALLOWED, + [Description("Admin access can only be specified for app-owned metafield definitions.")] + ADMIN_ACCESS_INPUT_NOT_ALLOWED, /// ///Definition is managed by app configuration and cannot be modified through the API. /// - [Description("Definition is managed by app configuration and cannot be modified through the API.")] - APP_CONFIG_MANAGED, - } - - public static class MetafieldDefinitionUpdateUserErrorCodeStringValues - { - public const string PRESENT = @"PRESENT"; - public const string TOO_LONG = @"TOO_LONG"; - public const string BLANK = @"BLANK"; - public const string INVALID = @"INVALID"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string INVALID_INPUT = @"INVALID_INPUT"; - public const string CAPABILITY_REQUIRED_BUT_DISABLED = @"CAPABILITY_REQUIRED_BUT_DISABLED"; - public const string PINNED_LIMIT_REACHED = @"PINNED_LIMIT_REACHED"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; - public const string INVALID_OPTION = @"INVALID_OPTION"; - public const string DUPLICATE_OPTION = @"DUPLICATE_OPTION"; - public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; - public const string METAFIELD_DEFINITION_IN_USE = @"METAFIELD_DEFINITION_IN_USE"; - public const string OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS = @"OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS"; - public const string METAOBJECT_DEFINITION_CHANGED = @"METAOBJECT_DEFINITION_CHANGED"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; - public const string INVALID_CONSTRAINTS = @"INVALID_CONSTRAINTS"; - public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; - public const string CAPABILITY_CANNOT_BE_DISABLED = @"CAPABILITY_CANNOT_BE_DISABLED"; - public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; - public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; - } - + [Description("Definition is managed by app configuration and cannot be modified through the API.")] + APP_CONFIG_MANAGED, + } + + public static class MetafieldDefinitionUpdateUserErrorCodeStringValues + { + public const string PRESENT = @"PRESENT"; + public const string TOO_LONG = @"TOO_LONG"; + public const string BLANK = @"BLANK"; + public const string INVALID = @"INVALID"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string INVALID_INPUT = @"INVALID_INPUT"; + public const string CAPABILITY_REQUIRED_BUT_DISABLED = @"CAPABILITY_REQUIRED_BUT_DISABLED"; + public const string PINNED_LIMIT_REACHED = @"PINNED_LIMIT_REACHED"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; + public const string INVALID_OPTION = @"INVALID_OPTION"; + public const string DUPLICATE_OPTION = @"DUPLICATE_OPTION"; + public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; + public const string METAFIELD_DEFINITION_IN_USE = @"METAFIELD_DEFINITION_IN_USE"; + public const string OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS = @"OWNER_TYPE_LIMIT_EXCEEDED_FOR_AUTOMATED_COLLECTIONS"; + public const string METAOBJECT_DEFINITION_CHANGED = @"METAOBJECT_DEFINITION_CHANGED"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; + public const string INVALID_CONSTRAINTS = @"INVALID_CONSTRAINTS"; + public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; + public const string CAPABILITY_CANNOT_BE_DISABLED = @"CAPABILITY_CANNOT_BE_DISABLED"; + public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; + public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; + } + /// ///A configured metafield definition validation. /// @@ -70839,30 +70839,30 @@ public static class MetafieldDefinitionUpdateUserErrorCodeStringValues /// ///Refer to the [list of supported validations](https://shopify.dev/api/admin/graphql/reference/common-objects/metafieldDefinitionTypes#examples-Fetch_all_metafield_definition_types). /// - [Description("A configured metafield definition validation.\n\nFor example, for a metafield definition of `number_integer` type, you can set a validation with the name `max`\nand a value of `15`. This validation will ensure that the value of the metafield is a number less than or equal to 15.\n\nRefer to the [list of supported validations](https://shopify.dev/api/admin/graphql/reference/common-objects/metafieldDefinitionTypes#examples-Fetch_all_metafield_definition_types).")] - public class MetafieldDefinitionValidation : GraphQLObject - { + [Description("A configured metafield definition validation.\n\nFor example, for a metafield definition of `number_integer` type, you can set a validation with the name `max`\nand a value of `15`. This validation will ensure that the value of the metafield is a number less than or equal to 15.\n\nRefer to the [list of supported validations](https://shopify.dev/api/admin/graphql/reference/common-objects/metafieldDefinitionTypes#examples-Fetch_all_metafield_definition_types).")] + public class MetafieldDefinitionValidation : GraphQLObject + { /// ///The validation name. /// - [Description("The validation name.")] - [NonNull] - public string? name { get; set; } - + [Description("The validation name.")] + [NonNull] + public string? name { get; set; } + /// ///The name for the metafield type of this validation. /// - [Description("The name for the metafield type of this validation.")] - [NonNull] - public string? type { get; set; } - + [Description("The name for the metafield type of this validation.")] + [NonNull] + public string? type { get; set; } + /// ///The validation value. /// - [Description("The validation value.")] - public string? value { get; set; } - } - + [Description("The validation value.")] + public string? value { get; set; } + } + /// ///The name and value for a metafield definition validation. /// @@ -70871,145 +70871,145 @@ public class MetafieldDefinitionValidation : GraphQLObject - [Description("The name and value for a metafield definition validation.\n\nFor example, for a metafield definition of `single_line_text_field` type, you can set a validation with the name `min` and a value of `10`.\nThis validation will ensure that the value of the metafield is at least 10 characters.\n\nRefer to the [list of supported validations](https://shopify.dev/apps/build/custom-data/metafields/list-of-validation-options).")] - public class MetafieldDefinitionValidationInput : GraphQLObject - { + [Description("The name and value for a metafield definition validation.\n\nFor example, for a metafield definition of `single_line_text_field` type, you can set a validation with the name `min` and a value of `10`.\nThis validation will ensure that the value of the metafield is at least 10 characters.\n\nRefer to the [list of supported validations](https://shopify.dev/apps/build/custom-data/metafields/list-of-validation-options).")] + public class MetafieldDefinitionValidationInput : GraphQLObject + { /// ///The name for the metafield definition validation. /// - [Description("The name for the metafield definition validation.")] - [NonNull] - public string? name { get; set; } - + [Description("The name for the metafield definition validation.")] + [NonNull] + public string? name { get; set; } + /// ///The value for the metafield definition validation. /// - [Description("The value for the metafield definition validation.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value for the metafield definition validation.")] + [NonNull] + public string? value { get; set; } + } + /// ///Possible metafield definition validation statuses. /// - [Description("Possible metafield definition validation statuses.")] - public enum MetafieldDefinitionValidationStatus - { + [Description("Possible metafield definition validation statuses.")] + public enum MetafieldDefinitionValidationStatus + { /// ///All of this definition's metafields are valid. /// - [Description("All of this definition's metafields are valid.")] - ALL_VALID, + [Description("All of this definition's metafields are valid.")] + ALL_VALID, /// ///Asynchronous validation of this definition's metafields is in progress. /// - [Description("Asynchronous validation of this definition's metafields is in progress.")] - IN_PROGRESS, + [Description("Asynchronous validation of this definition's metafields is in progress.")] + IN_PROGRESS, /// ///Some of this definition's metafields are invalid. /// - [Description("Some of this definition's metafields are invalid.")] - SOME_INVALID, - } - - public static class MetafieldDefinitionValidationStatusStringValues - { - public const string ALL_VALID = @"ALL_VALID"; - public const string IN_PROGRESS = @"IN_PROGRESS"; - public const string SOME_INVALID = @"SOME_INVALID"; - } - + [Description("Some of this definition's metafields are invalid.")] + SOME_INVALID, + } + + public static class MetafieldDefinitionValidationStatusStringValues + { + public const string ALL_VALID = @"ALL_VALID"; + public const string IN_PROGRESS = @"IN_PROGRESS"; + public const string SOME_INVALID = @"SOME_INVALID"; + } + /// ///An auto-generated type which holds one Metafield and a cursor during pagination. /// - [Description("An auto-generated type which holds one Metafield and a cursor during pagination.")] - public class MetafieldEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Metafield and a cursor during pagination.")] + public class MetafieldEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MetafieldEdge. /// - [Description("The item at the end of MetafieldEdge.")] - [NonNull] - public Metafield? node { get; set; } - } - + [Description("The item at the end of MetafieldEdge.")] + [NonNull] + public Metafield? node { get; set; } + } + /// ///Identifies a metafield by its owner resource, namespace, and key. /// - [Description("Identifies a metafield by its owner resource, namespace, and key.")] - public class MetafieldIdentifier : GraphQLObject - { + [Description("Identifies a metafield by its owner resource, namespace, and key.")] + public class MetafieldIdentifier : GraphQLObject + { /// ///The key of the metafield. /// - [Description("The key of the metafield.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the metafield.")] + [NonNull] + public string? key { get; set; } + /// ///The namespace of the metafield. /// - [Description("The namespace of the metafield.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace of the metafield.")] + [NonNull] + public string? @namespace { get; set; } + /// ///GID of the owner resource that the metafield belongs to. /// - [Description("GID of the owner resource that the metafield belongs to.")] - [NonNull] - public string? ownerId { get; set; } - } - + [Description("GID of the owner resource that the metafield belongs to.")] + [NonNull] + public string? ownerId { get; set; } + } + /// ///The input fields that identify metafields. /// - [Description("The input fields that identify metafields.")] - public class MetafieldIdentifierInput : GraphQLObject - { + [Description("The input fields that identify metafields.")] + public class MetafieldIdentifierInput : GraphQLObject + { /// ///The unique ID of the resource that the metafield is attached to. /// - [Description("The unique ID of the resource that the metafield is attached to.")] - [NonNull] - public string? ownerId { get; set; } - + [Description("The unique ID of the resource that the metafield is attached to.")] + [NonNull] + public string? ownerId { get; set; } + /// ///The namespace of the metafield. /// - [Description("The namespace of the metafield.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace of the metafield.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The key of the metafield. /// - [Description("The key of the metafield.")] - [NonNull] - public string? key { get; set; } - } - + [Description("The key of the metafield.")] + [NonNull] + public string? key { get; set; } + } + /// ///The input fields to use to create or update a metafield through a mutation on the owning resource. ///An alternative way to create or update a metafield is by using the ///[metafieldsSet](https://shopify.dev/api/admin-graphql/latest/mutations/metafieldsSet) mutation. /// - [Description("The input fields to use to create or update a metafield through a mutation on the owning resource.\nAn alternative way to create or update a metafield is by using the\n[metafieldsSet](https://shopify.dev/api/admin-graphql/latest/mutations/metafieldsSet) mutation.")] - public class MetafieldInput : GraphQLObject - { + [Description("The input fields to use to create or update a metafield through a mutation on the owning resource.\nAn alternative way to create or update a metafield is by using the\n[metafieldsSet](https://shopify.dev/api/admin-graphql/latest/mutations/metafieldsSet) mutation.")] + public class MetafieldInput : GraphQLObject + { /// ///The unique ID of the metafield. Using `owner_id`, `namespace`, and `key` is preferred for creating and updating. /// - [Description("The unique ID of the metafield. Using `owner_id`, `namespace`, and `key` is preferred for creating and updating.")] - public string? id { get; set; } - + [Description("The unique ID of the metafield. Using `owner_id`, `namespace`, and `key` is preferred for creating and updating.")] + public string? id { get; set; } + /// ///The container for a group of metafields that the metafield is or will be associated with. Used in tandem with ///`key` to lookup a metafield on a resource, preventing conflicts with other metafields with the same `key`. @@ -71019,9 +71019,9 @@ public class MetafieldInput : GraphQLObject /// ///Must be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters. /// - [Description("The container for a group of metafields that the metafield is or will be associated with. Used in tandem with\n`key` to lookup a metafield on a resource, preventing conflicts with other metafields with the same `key`.\n\nRequired when creating a metafield, but optional when updating. Used to help identify the metafield when\nupdating, but can't be updated itself.\n\nMust be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters.")] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield is or will be associated with. Used in tandem with\n`key` to lookup a metafield on a resource, preventing conflicts with other metafields with the same `key`.\n\nRequired when creating a metafield, but optional when updating. Used to help identify the metafield when\nupdating, but can't be updated itself.\n\nMust be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters.")] + public string? @namespace { get; set; } + /// ///The unique identifier for a metafield within its namespace. /// @@ -71030,599 +71030,599 @@ public class MetafieldInput : GraphQLObject /// ///Must be 2-64 characters long and can contain alphanumeric, hyphen, and underscore characters. /// - [Description("The unique identifier for a metafield within its namespace.\n\nRequired when creating a metafield, but optional when updating. Used to help identify the metafield when\nupdating, but can't be updated itself.\n\nMust be 2-64 characters long and can contain alphanumeric, hyphen, and underscore characters.")] - public string? key { get; set; } - + [Description("The unique identifier for a metafield within its namespace.\n\nRequired when creating a metafield, but optional when updating. Used to help identify the metafield when\nupdating, but can't be updated itself.\n\nMust be 2-64 characters long and can contain alphanumeric, hyphen, and underscore characters.")] + public string? key { get; set; } + /// ///The data stored in the metafield. Always stored as a string, regardless of the metafield's type. /// - [Description("The data stored in the metafield. Always stored as a string, regardless of the metafield's type.")] - public string? value { get; set; } - + [Description("The data stored in the metafield. Always stored as a string, regardless of the metafield's type.")] + public string? value { get; set; } + /// ///The type of data that is stored in the metafield. ///Refer to the list of [supported types](https://shopify.dev/apps/metafields/types). /// ///Required when creating or updating a metafield without a definition. /// - [Description("The type of data that is stored in the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).\n\nRequired when creating or updating a metafield without a definition.")] - public string? type { get; set; } - } - + [Description("The type of data that is stored in the metafield.\nRefer to the list of [supported types](https://shopify.dev/apps/metafields/types).\n\nRequired when creating or updating a metafield without a definition.")] + public string? type { get; set; } + } + /// ///Possible types of a metafield's owner resource. /// - [Description("Possible types of a metafield's owner resource.")] - public enum MetafieldOwnerType - { + [Description("Possible types of a metafield's owner resource.")] + public enum MetafieldOwnerType + { /// ///The Api Permission metafield owner type. /// - [Description("The Api Permission metafield owner type.")] - API_PERMISSION, + [Description("The Api Permission metafield owner type.")] + API_PERMISSION, /// ///The Company metafield owner type. /// - [Description("The Company metafield owner type.")] - COMPANY, + [Description("The Company metafield owner type.")] + COMPANY, /// ///The Company Location metafield owner type. /// - [Description("The Company Location metafield owner type.")] - COMPANY_LOCATION, + [Description("The Company Location metafield owner type.")] + COMPANY_LOCATION, /// ///The Payment Customization metafield owner type. /// - [Description("The Payment Customization metafield owner type.")] - PAYMENT_CUSTOMIZATION, + [Description("The Payment Customization metafield owner type.")] + PAYMENT_CUSTOMIZATION, /// ///The Validation metafield owner type. /// - [Description("The Validation metafield owner type.")] - VALIDATION, + [Description("The Validation metafield owner type.")] + VALIDATION, /// ///The Customer metafield owner type. /// - [Description("The Customer metafield owner type.")] - CUSTOMER, + [Description("The Customer metafield owner type.")] + CUSTOMER, /// ///The Delivery Customization metafield owner type. /// - [Description("The Delivery Customization metafield owner type.")] - DELIVERY_CUSTOMIZATION, + [Description("The Delivery Customization metafield owner type.")] + DELIVERY_CUSTOMIZATION, /// ///The Delivery Method metafield owner type. /// - [Description("The Delivery Method metafield owner type.")] - DELIVERY_METHOD, + [Description("The Delivery Method metafield owner type.")] + DELIVERY_METHOD, /// ///The Delivery Option Generator metafield owner type. /// - [Description("The Delivery Option Generator metafield owner type.")] - DELIVERY_OPTION_GENERATOR, + [Description("The Delivery Option Generator metafield owner type.")] + DELIVERY_OPTION_GENERATOR, /// ///The draft order metafield owner type. /// - [Description("The draft order metafield owner type.")] - DRAFTORDER, + [Description("The draft order metafield owner type.")] + DRAFTORDER, /// ///The GiftCardTransaction metafield owner type. /// - [Description("The GiftCardTransaction metafield owner type.")] - GIFT_CARD_TRANSACTION, + [Description("The GiftCardTransaction metafield owner type.")] + GIFT_CARD_TRANSACTION, /// ///The Market metafield owner type. /// - [Description("The Market metafield owner type.")] - MARKET, + [Description("The Market metafield owner type.")] + MARKET, /// ///The Cart Transform metafield owner type. /// - [Description("The Cart Transform metafield owner type.")] - CARTTRANSFORM, + [Description("The Cart Transform metafield owner type.")] + CARTTRANSFORM, /// ///The Collection metafield owner type. /// - [Description("The Collection metafield owner type.")] - COLLECTION, + [Description("The Collection metafield owner type.")] + COLLECTION, /// ///The Media Image metafield owner type. /// - [Description("The Media Image metafield owner type.")] - [Obsolete("`MEDIA_IMAGE` is deprecated.")] - MEDIA_IMAGE, + [Description("The Media Image metafield owner type.")] + [Obsolete("`MEDIA_IMAGE` is deprecated.")] + MEDIA_IMAGE, /// ///The Product metafield owner type. /// - [Description("The Product metafield owner type.")] - PRODUCT, + [Description("The Product metafield owner type.")] + PRODUCT, /// ///The Product Variant metafield owner type. /// - [Description("The Product Variant metafield owner type.")] - PRODUCTVARIANT, + [Description("The Product Variant metafield owner type.")] + PRODUCTVARIANT, /// ///The Selling Plan metafield owner type. /// - [Description("The Selling Plan metafield owner type.")] - SELLING_PLAN, + [Description("The Selling Plan metafield owner type.")] + SELLING_PLAN, /// ///The Article metafield owner type. /// - [Description("The Article metafield owner type.")] - ARTICLE, + [Description("The Article metafield owner type.")] + ARTICLE, /// ///The Blog metafield owner type. /// - [Description("The Blog metafield owner type.")] - BLOG, + [Description("The Blog metafield owner type.")] + BLOG, /// ///The Page metafield owner type. /// - [Description("The Page metafield owner type.")] - PAGE, + [Description("The Page metafield owner type.")] + PAGE, /// ///The Fulfillment Constraint Rule metafield owner type. /// - [Description("The Fulfillment Constraint Rule metafield owner type.")] - FULFILLMENT_CONSTRAINT_RULE, + [Description("The Fulfillment Constraint Rule metafield owner type.")] + FULFILLMENT_CONSTRAINT_RULE, /// ///The Order Routing Location Rule metafield owner type. /// - [Description("The Order Routing Location Rule metafield owner type.")] - ORDER_ROUTING_LOCATION_RULE, + [Description("The Order Routing Location Rule metafield owner type.")] + ORDER_ROUTING_LOCATION_RULE, /// ///The Discount metafield owner type. /// - [Description("The Discount metafield owner type.")] - DISCOUNT, + [Description("The Discount metafield owner type.")] + DISCOUNT, /// ///The Order metafield owner type. /// - [Description("The Order metafield owner type.")] - ORDER, + [Description("The Order metafield owner type.")] + ORDER, /// ///The Location metafield owner type. /// - [Description("The Location metafield owner type.")] - LOCATION, + [Description("The Location metafield owner type.")] + LOCATION, /// ///The Shop metafield owner type. /// - [Description("The Shop metafield owner type.")] - SHOP, - } - - public static class MetafieldOwnerTypeStringValues - { - public const string API_PERMISSION = @"API_PERMISSION"; - public const string COMPANY = @"COMPANY"; - public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; - public const string PAYMENT_CUSTOMIZATION = @"PAYMENT_CUSTOMIZATION"; - public const string VALIDATION = @"VALIDATION"; - public const string CUSTOMER = @"CUSTOMER"; - public const string DELIVERY_CUSTOMIZATION = @"DELIVERY_CUSTOMIZATION"; - public const string DELIVERY_METHOD = @"DELIVERY_METHOD"; - public const string DELIVERY_OPTION_GENERATOR = @"DELIVERY_OPTION_GENERATOR"; - public const string DRAFTORDER = @"DRAFTORDER"; - public const string GIFT_CARD_TRANSACTION = @"GIFT_CARD_TRANSACTION"; - public const string MARKET = @"MARKET"; - public const string CARTTRANSFORM = @"CARTTRANSFORM"; - public const string COLLECTION = @"COLLECTION"; - [Obsolete("`MEDIA_IMAGE` is deprecated.")] - public const string MEDIA_IMAGE = @"MEDIA_IMAGE"; - public const string PRODUCT = @"PRODUCT"; - public const string PRODUCTVARIANT = @"PRODUCTVARIANT"; - public const string SELLING_PLAN = @"SELLING_PLAN"; - public const string ARTICLE = @"ARTICLE"; - public const string BLOG = @"BLOG"; - public const string PAGE = @"PAGE"; - public const string FULFILLMENT_CONSTRAINT_RULE = @"FULFILLMENT_CONSTRAINT_RULE"; - public const string ORDER_ROUTING_LOCATION_RULE = @"ORDER_ROUTING_LOCATION_RULE"; - public const string DISCOUNT = @"DISCOUNT"; - public const string ORDER = @"ORDER"; - public const string LOCATION = @"LOCATION"; - public const string SHOP = @"SHOP"; - } - + [Description("The Shop metafield owner type.")] + SHOP, + } + + public static class MetafieldOwnerTypeStringValues + { + public const string API_PERMISSION = @"API_PERMISSION"; + public const string COMPANY = @"COMPANY"; + public const string COMPANY_LOCATION = @"COMPANY_LOCATION"; + public const string PAYMENT_CUSTOMIZATION = @"PAYMENT_CUSTOMIZATION"; + public const string VALIDATION = @"VALIDATION"; + public const string CUSTOMER = @"CUSTOMER"; + public const string DELIVERY_CUSTOMIZATION = @"DELIVERY_CUSTOMIZATION"; + public const string DELIVERY_METHOD = @"DELIVERY_METHOD"; + public const string DELIVERY_OPTION_GENERATOR = @"DELIVERY_OPTION_GENERATOR"; + public const string DRAFTORDER = @"DRAFTORDER"; + public const string GIFT_CARD_TRANSACTION = @"GIFT_CARD_TRANSACTION"; + public const string MARKET = @"MARKET"; + public const string CARTTRANSFORM = @"CARTTRANSFORM"; + public const string COLLECTION = @"COLLECTION"; + [Obsolete("`MEDIA_IMAGE` is deprecated.")] + public const string MEDIA_IMAGE = @"MEDIA_IMAGE"; + public const string PRODUCT = @"PRODUCT"; + public const string PRODUCTVARIANT = @"PRODUCTVARIANT"; + public const string SELLING_PLAN = @"SELLING_PLAN"; + public const string ARTICLE = @"ARTICLE"; + public const string BLOG = @"BLOG"; + public const string PAGE = @"PAGE"; + public const string FULFILLMENT_CONSTRAINT_RULE = @"FULFILLMENT_CONSTRAINT_RULE"; + public const string ORDER_ROUTING_LOCATION_RULE = @"ORDER_ROUTING_LOCATION_RULE"; + public const string DISCOUNT = @"DISCOUNT"; + public const string ORDER = @"ORDER"; + public const string LOCATION = @"LOCATION"; + public const string SHOP = @"SHOP"; + } + /// ///The resource referenced by the metafield value. /// - [Description("The resource referenced by the metafield value.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(GenericFile), typeDiscriminator: "GenericFile")] - [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] - [JsonDerivedType(typeof(Metaobject), typeDiscriminator: "Metaobject")] - [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - [JsonDerivedType(typeof(TaxonomyValue), typeDiscriminator: "TaxonomyValue")] - [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] - public interface IMetafieldReference : IGraphQLObject - { - public Article? AsArticle() => this as Article; - public Collection? AsCollection() => this as Collection; - public Company? AsCompany() => this as Company; - public Customer? AsCustomer() => this as Customer; - public GenericFile? AsGenericFile() => this as GenericFile; - public MediaImage? AsMediaImage() => this as MediaImage; - public Metaobject? AsMetaobject() => this as Metaobject; - public Model3d? AsModel3d() => this as Model3d; - public Order? AsOrder() => this as Order; - public Page? AsPage() => this as Page; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; - public TaxonomyValue? AsTaxonomyValue() => this as TaxonomyValue; - public Video? AsVideo() => this as Video; + [Description("The resource referenced by the metafield value.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(GenericFile), typeDiscriminator: "GenericFile")] + [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] + [JsonDerivedType(typeof(Metaobject), typeDiscriminator: "Metaobject")] + [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + [JsonDerivedType(typeof(TaxonomyValue), typeDiscriminator: "TaxonomyValue")] + [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] + public interface IMetafieldReference : IGraphQLObject + { + public Article? AsArticle() => this as Article; + public Collection? AsCollection() => this as Collection; + public Company? AsCompany() => this as Company; + public Customer? AsCustomer() => this as Customer; + public GenericFile? AsGenericFile() => this as GenericFile; + public MediaImage? AsMediaImage() => this as MediaImage; + public Metaobject? AsMetaobject() => this as Metaobject; + public Model3d? AsModel3d() => this as Model3d; + public Order? AsOrder() => this as Order; + public Page? AsPage() => this as Page; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; + public TaxonomyValue? AsTaxonomyValue() => this as TaxonomyValue; + public Video? AsVideo() => this as Video; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///An auto-generated type for paginating through multiple MetafieldReferences. /// - [Description("An auto-generated type for paginating through multiple MetafieldReferences.")] - public class MetafieldReferenceConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MetafieldReferences.")] + public class MetafieldReferenceConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MetafieldReferenceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MetafieldReferenceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MetafieldReferenceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one MetafieldReference and a cursor during pagination. /// - [Description("An auto-generated type which holds one MetafieldReference and a cursor during pagination.")] - public class MetafieldReferenceEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MetafieldReference and a cursor during pagination.")] + public class MetafieldReferenceEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MetafieldReferenceEdge. /// - [Description("The item at the end of MetafieldReferenceEdge.")] - public IMetafieldReference? node { get; set; } - } - + [Description("The item at the end of MetafieldReferenceEdge.")] + public IMetafieldReference? node { get; set; } + } + /// ///Types of resources that may use metafields to reference other resources. /// - [Description("Types of resources that may use metafields to reference other resources.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AppInstallation), typeDiscriminator: "AppInstallation")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] - [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] - [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] - [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(FulfillmentOrder), typeDiscriminator: "FulfillmentOrder")] - [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] - [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] - [JsonDerivedType(typeof(Metaobject), typeDiscriminator: "Metaobject")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] - public interface IMetafieldReferencer : IGraphQLObject - { - public AppInstallation? AsAppInstallation() => this as AppInstallation; - public Article? AsArticle() => this as Article; - public Blog? AsBlog() => this as Blog; - public Collection? AsCollection() => this as Collection; - public Company? AsCompany() => this as Company; - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public Customer? AsCustomer() => this as Customer; - public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; - public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; - public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; - public DiscountNode? AsDiscountNode() => this as DiscountNode; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public FulfillmentOrder? AsFulfillmentOrder() => this as FulfillmentOrder; - public Location? AsLocation() => this as Location; - public Market? AsMarket() => this as Market; - public Metaobject? AsMetaobject() => this as Metaobject; - public Order? AsOrder() => this as Order; - public Page? AsPage() => this as Page; - public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; - public Shop? AsShop() => this as Shop; + [Description("Types of resources that may use metafields to reference other resources.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AppInstallation), typeDiscriminator: "AppInstallation")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] + [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] + [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] + [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(FulfillmentOrder), typeDiscriminator: "FulfillmentOrder")] + [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] + [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] + [JsonDerivedType(typeof(Metaobject), typeDiscriminator: "Metaobject")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] + public interface IMetafieldReferencer : IGraphQLObject + { + public AppInstallation? AsAppInstallation() => this as AppInstallation; + public Article? AsArticle() => this as Article; + public Blog? AsBlog() => this as Blog; + public Collection? AsCollection() => this as Collection; + public Company? AsCompany() => this as Company; + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public Customer? AsCustomer() => this as Customer; + public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; + public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; + public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; + public DiscountNode? AsDiscountNode() => this as DiscountNode; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public FulfillmentOrder? AsFulfillmentOrder() => this as FulfillmentOrder; + public Location? AsLocation() => this as Location; + public Market? AsMarket() => this as Market; + public Metaobject? AsMetaobject() => this as Metaobject; + public Order? AsOrder() => this as Order; + public Page? AsPage() => this as Page; + public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; + public Shop? AsShop() => this as Shop; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///Defines a relation between two resources via a reference metafield. ///The referencer owns the joining field with a given namespace and key, ///while the target is referenced by the field. /// - [Description("Defines a relation between two resources via a reference metafield.\nThe referencer owns the joining field with a given namespace and key,\nwhile the target is referenced by the field.")] - public class MetafieldRelation : GraphQLObject - { + [Description("Defines a relation between two resources via a reference metafield.\nThe referencer owns the joining field with a given namespace and key,\nwhile the target is referenced by the field.")] + public class MetafieldRelation : GraphQLObject + { /// ///The key of the field making the reference. /// - [Description("The key of the field making the reference.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the field making the reference.")] + [NonNull] + public string? key { get; set; } + /// ///The name of the field making the reference. /// - [Description("The name of the field making the reference.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the field making the reference.")] + [NonNull] + public string? name { get; set; } + /// ///The namespace of the metafield making the reference, or type of the metaobject. /// - [Description("The namespace of the metafield making the reference, or type of the metaobject.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace of the metafield making the reference, or type of the metaobject.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The resource making the reference. /// - [Description("The resource making the reference.")] - [NonNull] - public IMetafieldReferencer? referencer { get; set; } - + [Description("The resource making the reference.")] + [NonNull] + public IMetafieldReferencer? referencer { get; set; } + /// ///The referenced resource. /// - [Description("The referenced resource.")] - [Obsolete("No longer supported. Access the object directly instead.")] - [NonNull] - public IMetafieldReference? target { get; set; } - } - + [Description("The referenced resource.")] + [Obsolete("No longer supported. Access the object directly instead.")] + [NonNull] + public IMetafieldReference? target { get; set; } + } + /// ///An auto-generated type for paginating through multiple MetafieldRelations. /// - [Description("An auto-generated type for paginating through multiple MetafieldRelations.")] - public class MetafieldRelationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MetafieldRelations.")] + public class MetafieldRelationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MetafieldRelationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MetafieldRelationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MetafieldRelationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one MetafieldRelation and a cursor during pagination. /// - [Description("An auto-generated type which holds one MetafieldRelation and a cursor during pagination.")] - public class MetafieldRelationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MetafieldRelation and a cursor during pagination.")] + public class MetafieldRelationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MetafieldRelationEdge. /// - [Description("The item at the end of MetafieldRelationEdge.")] - [NonNull] - public MetafieldRelation? node { get; set; } - } - + [Description("The item at the end of MetafieldRelationEdge.")] + [NonNull] + public MetafieldRelation? node { get; set; } + } + /// ///Metafield access permissions for the Storefront API. /// - [Description("Metafield access permissions for the Storefront API.")] - public enum MetafieldStorefrontAccess - { + [Description("Metafield access permissions for the Storefront API.")] + public enum MetafieldStorefrontAccess + { /// ///Read-only access. /// - [Description("Read-only access.")] - PUBLIC_READ, + [Description("Read-only access.")] + PUBLIC_READ, /// ///No access. /// - [Description("No access.")] - NONE, - } - - public static class MetafieldStorefrontAccessStringValues - { - public const string PUBLIC_READ = @"PUBLIC_READ"; - public const string NONE = @"NONE"; - } - + [Description("No access.")] + NONE, + } + + public static class MetafieldStorefrontAccessStringValues + { + public const string PUBLIC_READ = @"PUBLIC_READ"; + public const string NONE = @"NONE"; + } + /// ///Metafield access permissions for the Storefront API. /// - [Description("Metafield access permissions for the Storefront API.")] - public enum MetafieldStorefrontAccessInput - { + [Description("Metafield access permissions for the Storefront API.")] + public enum MetafieldStorefrontAccessInput + { /// ///Read-only access. /// - [Description("Read-only access.")] - PUBLIC_READ, + [Description("Read-only access.")] + PUBLIC_READ, /// ///No access. /// - [Description("No access.")] - NONE, - } - - public static class MetafieldStorefrontAccessInputStringValues - { - public const string PUBLIC_READ = @"PUBLIC_READ"; - public const string NONE = @"NONE"; - } - + [Description("No access.")] + NONE, + } + + public static class MetafieldStorefrontAccessInputStringValues + { + public const string PUBLIC_READ = @"PUBLIC_READ"; + public const string NONE = @"NONE"; + } + /// ///Possible metafield validation statuses. /// - [Description("Possible metafield validation statuses.")] - public enum MetafieldValidationStatus - { + [Description("Possible metafield validation statuses.")] + public enum MetafieldValidationStatus + { /// ///Any validation status (valid or invalid). /// - [Description("Any validation status (valid or invalid).")] - ANY, + [Description("Any validation status (valid or invalid).")] + ANY, /// ///Valid (according to definition). /// - [Description("Valid (according to definition).")] - VALID, + [Description("Valid (according to definition).")] + VALID, /// ///Invalid (according to definition). /// - [Description("Invalid (according to definition).")] - INVALID, - } - - public static class MetafieldValidationStatusStringValues - { - public const string ANY = @"ANY"; - public const string VALID = @"VALID"; - public const string INVALID = @"INVALID"; - } - + [Description("Invalid (according to definition).")] + INVALID, + } + + public static class MetafieldValidationStatusStringValues + { + public const string ANY = @"ANY"; + public const string VALID = @"VALID"; + public const string INVALID = @"INVALID"; + } + /// ///Legacy type information for the stored value. ///Replaced by `type`. /// - [Description("Legacy type information for the stored value.\nReplaced by `type`.")] - public enum MetafieldValueType - { + [Description("Legacy type information for the stored value.\nReplaced by `type`.")] + public enum MetafieldValueType + { /// ///A text field. /// - [Description("A text field.")] - STRING, + [Description("A text field.")] + STRING, /// ///A whole number. /// - [Description("A whole number.")] - INTEGER, + [Description("A whole number.")] + INTEGER, /// ///A JSON string. /// - [Description("A JSON string.")] - JSON_STRING, + [Description("A JSON string.")] + JSON_STRING, /// ///A number with decimal places. /// - [Description("A number with decimal places.")] - FLOAT, + [Description("A number with decimal places.")] + FLOAT, /// ///A `true` or `false` value. /// - [Description("A `true` or `false` value.")] - BOOLEAN, - } - - public static class MetafieldValueTypeStringValues - { - public const string STRING = @"STRING"; - public const string INTEGER = @"INTEGER"; - public const string JSON_STRING = @"JSON_STRING"; - public const string FLOAT = @"FLOAT"; - public const string BOOLEAN = @"BOOLEAN"; - } - + [Description("A `true` or `false` value.")] + BOOLEAN, + } + + public static class MetafieldValueTypeStringValues + { + public const string STRING = @"STRING"; + public const string INTEGER = @"INTEGER"; + public const string JSON_STRING = @"JSON_STRING"; + public const string FLOAT = @"FLOAT"; + public const string BOOLEAN = @"BOOLEAN"; + } + /// ///Return type for `metafieldsDelete` mutation. /// - [Description("Return type for `metafieldsDelete` mutation.")] - public class MetafieldsDeletePayload : GraphQLObject - { + [Description("Return type for `metafieldsDelete` mutation.")] + public class MetafieldsDeletePayload : GraphQLObject + { /// ///List of metafield identifiers that were deleted, null if the corresponding metafield isn't found. /// - [Description("List of metafield identifiers that were deleted, null if the corresponding metafield isn't found.")] - public IEnumerable? deletedMetafields { get; set; } - + [Description("List of metafield identifiers that were deleted, null if the corresponding metafield isn't found.")] + public IEnumerable? deletedMetafields { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for a metafield value to set. /// - [Description("The input fields for a metafield value to set.")] - public class MetafieldsSetInput : GraphQLObject - { + [Description("The input fields for a metafield value to set.")] + public class MetafieldsSetInput : GraphQLObject + { /// ///The unique ID of the resource that the metafield is attached to. /// - [Description("The unique ID of the resource that the metafield is attached to.")] - [NonNull] - public string? ownerId { get; set; } - + [Description("The unique ID of the resource that the metafield is attached to.")] + [NonNull] + public string? ownerId { get; set; } + /// ///The container for a group of metafields that the metafield is or will be associated with. Used in tandem ///with `key` to lookup a metafield on a resource, preventing conflicts with other metafields with the @@ -71630,31 +71630,31 @@ public class MetafieldsSetInput : GraphQLObject /// ///Must be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters. /// - [Description("The container for a group of metafields that the metafield is or will be associated with. Used in tandem\nwith `key` to lookup a metafield on a resource, preventing conflicts with other metafields with the\nsame `key`. If omitted the app-reserved namespace will be used.\n\nMust be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters.")] - public string? @namespace { get; set; } - + [Description("The container for a group of metafields that the metafield is or will be associated with. Used in tandem\nwith `key` to lookup a metafield on a resource, preventing conflicts with other metafields with the\nsame `key`. If omitted the app-reserved namespace will be used.\n\nMust be 3-255 characters long and can contain alphanumeric, hyphen, and underscore characters.")] + public string? @namespace { get; set; } + /// ///The unique identifier for a metafield within its namespace. /// ///Must be 2-64 characters long and can contain alphanumeric, hyphen, and underscore characters. /// - [Description("The unique identifier for a metafield within its namespace.\n\nMust be 2-64 characters long and can contain alphanumeric, hyphen, and underscore characters.")] - [NonNull] - public string? key { get; set; } - + [Description("The unique identifier for a metafield within its namespace.\n\nMust be 2-64 characters long and can contain alphanumeric, hyphen, and underscore characters.")] + [NonNull] + public string? key { get; set; } + /// ///The data stored in the metafield. Always stored as a string, regardless of the metafield's type. /// - [Description("The data stored in the metafield. Always stored as a string, regardless of the metafield's type.")] - [NonNull] - public string? value { get; set; } - + [Description("The data stored in the metafield. Always stored as a string, regardless of the metafield's type.")] + [NonNull] + public string? value { get; set; } + /// ///The `compareDigest` value obtained from a previous query. Provide this with updates to ensure the metafield is modified safely. /// - [Description("The `compareDigest` value obtained from a previous query. Provide this with updates to ensure the metafield is modified safely.")] - public string? compareDigest { get; set; } - + [Description("The `compareDigest` value obtained from a previous query. Provide this with updates to ensure the metafield is modified safely.")] + public string? compareDigest { get; set; } + /// ///The type of data that is stored in the metafield. ///The type must be one of the [supported types](https://shopify.dev/apps/metafields/types). @@ -71662,2224 +71662,2224 @@ public class MetafieldsSetInput : GraphQLObject ///Required when there is no corresponding definition for the given `namespace`, `key`, and ///owner resource type (derived from `ownerId`). /// - [Description("The type of data that is stored in the metafield.\nThe type must be one of the [supported types](https://shopify.dev/apps/metafields/types).\n\nRequired when there is no corresponding definition for the given `namespace`, `key`, and\nowner resource type (derived from `ownerId`).")] - public string? type { get; set; } - } - + [Description("The type of data that is stored in the metafield.\nThe type must be one of the [supported types](https://shopify.dev/apps/metafields/types).\n\nRequired when there is no corresponding definition for the given `namespace`, `key`, and\nowner resource type (derived from `ownerId`).")] + public string? type { get; set; } + } + /// ///Return type for `metafieldsSet` mutation. /// - [Description("Return type for `metafieldsSet` mutation.")] - public class MetafieldsSetPayload : GraphQLObject - { + [Description("Return type for `metafieldsSet` mutation.")] + public class MetafieldsSetPayload : GraphQLObject + { /// ///The list of metafields that were set. /// - [Description("The list of metafields that were set.")] - public IEnumerable? metafields { get; set; } - + [Description("The list of metafields that were set.")] + public IEnumerable? metafields { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `MetafieldsSet`. /// - [Description("An error that occurs during the execution of `MetafieldsSet`.")] - public class MetafieldsSetUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `MetafieldsSet`.")] + public class MetafieldsSetUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MetafieldsSetUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MetafieldsSetUserErrorCode))] + public string? code { get; set; } + /// ///The index of the array element that's causing the error. /// - [Description("The index of the array element that's causing the error.")] - public int? elementIndex { get; set; } - + [Description("The index of the array element that's causing the error.")] + public int? elementIndex { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MetafieldsSetUserError`. /// - [Description("Possible error codes that can be returned by `MetafieldsSetUserError`.")] - public enum MetafieldsSetUserErrorCode - { + [Description("Possible error codes that can be returned by `MetafieldsSetUserError`.")] + public enum MetafieldsSetUserErrorCode + { /// ///The metafield can't be deleted due to owner. /// - [Description("The metafield can't be deleted due to owner.")] - CANNOT_DELETE_DUE_TO_OWNER, + [Description("The metafield can't be deleted due to owner.")] + CANNOT_DELETE_DUE_TO_OWNER, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The metafield violates a capability restriction. /// - [Description("The metafield violates a capability restriction.")] - CAPABILITY_VIOLATION, + [Description("The metafield violates a capability restriction.")] + CAPABILITY_VIOLATION, /// ///The metafield has been modified since it was loaded. /// - [Description("The metafield has been modified since it was loaded.")] - STALE_OBJECT, + [Description("The metafield has been modified since it was loaded.")] + STALE_OBJECT, /// ///The compareDigest is invalid. /// - [Description("The compareDigest is invalid.")] - INVALID_COMPARE_DIGEST, + [Description("The compareDigest is invalid.")] + INVALID_COMPARE_DIGEST, /// ///The type is invalid. /// - [Description("The type is invalid.")] - INVALID_TYPE, + [Description("The type is invalid.")] + INVALID_TYPE, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///ApiPermission metafields can only be created or updated by the app owner. /// - [Description("ApiPermission metafields can only be created or updated by the app owner.")] - APP_NOT_AUTHORIZED, + [Description("ApiPermission metafields can only be created or updated by the app owner.")] + APP_NOT_AUTHORIZED, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, - } - - public static class MetafieldsSetUserErrorCodeStringValues - { - public const string CANNOT_DELETE_DUE_TO_OWNER = @"CANNOT_DELETE_DUE_TO_OWNER"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; - public const string STALE_OBJECT = @"STALE_OBJECT"; - public const string INVALID_COMPARE_DIGEST = @"INVALID_COMPARE_DIGEST"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; - public const string INCLUSION = @"INCLUSION"; - public const string TAKEN = @"TAKEN"; - public const string PRESENT = @"PRESENT"; - public const string BLANK = @"BLANK"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - public const string INVALID = @"INVALID"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - } - + [Description("An internal error occurred.")] + INTERNAL_ERROR, + } + + public static class MetafieldsSetUserErrorCodeStringValues + { + public const string CANNOT_DELETE_DUE_TO_OWNER = @"CANNOT_DELETE_DUE_TO_OWNER"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; + public const string STALE_OBJECT = @"STALE_OBJECT"; + public const string INVALID_COMPARE_DIGEST = @"INVALID_COMPARE_DIGEST"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; + public const string INCLUSION = @"INCLUSION"; + public const string TAKEN = @"TAKEN"; + public const string PRESENT = @"PRESENT"; + public const string BLANK = @"BLANK"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + public const string INVALID = @"INVALID"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + } + /// ///Provides an object instance represented by a MetaobjectDefinition. /// - [Description("Provides an object instance represented by a MetaobjectDefinition.")] - public class Metaobject : GraphQLObject, INode, IMetafieldReference, IMetafieldReferencer - { + [Description("Provides an object instance represented by a MetaobjectDefinition.")] + public class Metaobject : GraphQLObject, INode, IMetafieldReference, IMetafieldReferencer + { /// ///The app used to create the object. /// - [Description("The app used to create the object.")] - [Obsolete("Use `createdByApp` instead.")] - [NonNull] - public App? app { get; set; } - + [Description("The app used to create the object.")] + [Obsolete("Use `createdByApp` instead.")] + [NonNull] + public App? app { get; set; } + /// ///Metaobject capabilities for this Metaobject. /// - [Description("Metaobject capabilities for this Metaobject.")] - [NonNull] - public MetaobjectCapabilityData? capabilities { get; set; } - + [Description("Metaobject capabilities for this Metaobject.")] + [NonNull] + public MetaobjectCapabilityData? capabilities { get; set; } + /// ///When the object was created. /// - [Description("When the object was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("When the object was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The app used to create the object. /// - [Description("The app used to create the object.")] - [NonNull] - public App? createdBy { get; set; } - + [Description("The app used to create the object.")] + [NonNull] + public App? createdBy { get; set; } + /// ///The app used to create the object. /// - [Description("The app used to create the object.")] - [NonNull] - public App? createdByApp { get; set; } - + [Description("The app used to create the object.")] + [NonNull] + public App? createdByApp { get; set; } + /// ///The staff member who created the metaobject. /// - [Description("The staff member who created the metaobject.")] - public StaffMember? createdByStaff { get; set; } - + [Description("The staff member who created the metaobject.")] + public StaffMember? createdByStaff { get; set; } + /// ///The MetaobjectDefinition that models this object type. /// - [Description("The MetaobjectDefinition that models this object type.")] - [NonNull] - public MetaobjectDefinition? definition { get; set; } - + [Description("The MetaobjectDefinition that models this object type.")] + [NonNull] + public MetaobjectDefinition? definition { get; set; } + /// ///The preferred display name field value of the metaobject. /// - [Description("The preferred display name field value of the metaobject.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The preferred display name field value of the metaobject.")] + [NonNull] + public string? displayName { get; set; } + /// ///The field for an object key, or null if the key has no field definition. /// - [Description("The field for an object key, or null if the key has no field definition.")] - public MetaobjectField? field { get; set; } - + [Description("The field for an object key, or null if the key has no field definition.")] + public MetaobjectField? field { get; set; } + /// ///All ordered fields of the metaobject with their definitions and values. /// - [Description("All ordered fields of the metaobject with their definitions and values.")] - [NonNull] - public IEnumerable? fields { get; set; } - + [Description("All ordered fields of the metaobject with their definitions and values.")] + [NonNull] + public IEnumerable? fields { get; set; } + /// ///The unique handle of the object, useful as a custom ID. /// - [Description("The unique handle of the object, useful as a custom ID.")] - [NonNull] - public string? handle { get; set; } - + [Description("The unique handle of the object, useful as a custom ID.")] + [NonNull] + public string? handle { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///List of back references metafields that belong to the resource. /// - [Description("List of back references metafields that belong to the resource.")] - [NonNull] - public MetafieldRelationConnection? referencedBy { get; set; } - + [Description("List of back references metafields that belong to the resource.")] + [NonNull] + public MetafieldRelationConnection? referencedBy { get; set; } + /// ///The staff member who created the metaobject. /// - [Description("The staff member who created the metaobject.")] - [Obsolete("Use `createdByStaff` instead.")] - public StaffMember? staffMember { get; set; } - + [Description("The staff member who created the metaobject.")] + [Obsolete("Use `createdByStaff` instead.")] + public StaffMember? staffMember { get; set; } + /// ///The recommended field to visually represent this metaobject. May be a file reference or color field. /// - [Description("The recommended field to visually represent this metaobject. May be a file reference or color field.")] - public MetaobjectField? thumbnailField { get; set; } - + [Description("The recommended field to visually represent this metaobject. May be a file reference or color field.")] + public MetaobjectField? thumbnailField { get; set; } + /// ///The type of the metaobject. /// - [Description("The type of the metaobject.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of the metaobject.")] + [NonNull] + public string? type { get; set; } + /// ///When the object was last updated. /// - [Description("When the object was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("When the object was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Access permissions for the definition's metaobjects. /// - [Description("Access permissions for the definition's metaobjects.")] - public class MetaobjectAccess : GraphQLObject - { + [Description("Access permissions for the definition's metaobjects.")] + public class MetaobjectAccess : GraphQLObject + { /// ///The access permitted on the Admin API. /// - [Description("The access permitted on the Admin API.")] - [NonNull] - [EnumType(typeof(MetaobjectAdminAccess))] - public string? admin { get; set; } - + [Description("The access permitted on the Admin API.")] + [NonNull] + [EnumType(typeof(MetaobjectAdminAccess))] + public string? admin { get; set; } + /// ///The access permitted on the Storefront API. /// - [Description("The access permitted on the Storefront API.")] - [NonNull] - [EnumType(typeof(MetaobjectStorefrontAccess))] - public string? storefront { get; set; } - } - + [Description("The access permitted on the Storefront API.")] + [NonNull] + [EnumType(typeof(MetaobjectStorefrontAccess))] + public string? storefront { get; set; } + } + /// ///The input fields that set access permissions for the definition's metaobjects. /// - [Description("The input fields that set access permissions for the definition's metaobjects.")] - public class MetaobjectAccessInput : GraphQLObject - { + [Description("The input fields that set access permissions for the definition's metaobjects.")] + public class MetaobjectAccessInput : GraphQLObject + { /// ///The access permitted on the Admin API. /// - [Description("The access permitted on the Admin API.")] - [EnumType(typeof(MetaobjectAdminAccessInput))] - public string? admin { get; set; } - + [Description("The access permitted on the Admin API.")] + [EnumType(typeof(MetaobjectAdminAccessInput))] + public string? admin { get; set; } + /// ///The access permitted on the Storefront API. /// - [Description("The access permitted on the Storefront API.")] - [EnumType(typeof(MetaobjectStorefrontAccess))] - public string? storefront { get; set; } - } - + [Description("The access permitted on the Storefront API.")] + [EnumType(typeof(MetaobjectStorefrontAccess))] + public string? storefront { get; set; } + } + /// ///Metaobject access permissions for the Admin API. When the metaobject is app-owned, the owning app always has ///full access. /// - [Description("Metaobject access permissions for the Admin API. When the metaobject is app-owned, the owning app always has\nfull access.")] - public enum MetaobjectAdminAccess - { + [Description("Metaobject access permissions for the Admin API. When the metaobject is app-owned, the owning app always has\nfull access.")] + public enum MetaobjectAdminAccess + { /// ///The merchant and other apps have no access. /// - [Description("The merchant and other apps have no access.")] - PRIVATE, + [Description("The merchant and other apps have no access.")] + PRIVATE, /// ///The merchant has read-only access. No other apps have access. /// - [Description("The merchant has read-only access. No other apps have access.")] - MERCHANT_READ, + [Description("The merchant has read-only access. No other apps have access.")] + MERCHANT_READ, /// ///The merchant has read and write access. No other apps have access. /// - [Description("The merchant has read and write access. No other apps have access.")] - MERCHANT_READ_WRITE, + [Description("The merchant has read and write access. No other apps have access.")] + MERCHANT_READ_WRITE, /// ///The merchant and other apps have read-only access. /// - [Description("The merchant and other apps have read-only access.")] - PUBLIC_READ, + [Description("The merchant and other apps have read-only access.")] + PUBLIC_READ, /// ///The merchant and other apps have read and write access. /// - [Description("The merchant and other apps have read and write access.")] - PUBLIC_READ_WRITE, - } - - public static class MetaobjectAdminAccessStringValues - { - public const string PRIVATE = @"PRIVATE"; - public const string MERCHANT_READ = @"MERCHANT_READ"; - public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; - public const string PUBLIC_READ = @"PUBLIC_READ"; - public const string PUBLIC_READ_WRITE = @"PUBLIC_READ_WRITE"; - } - + [Description("The merchant and other apps have read and write access.")] + PUBLIC_READ_WRITE, + } + + public static class MetaobjectAdminAccessStringValues + { + public const string PRIVATE = @"PRIVATE"; + public const string MERCHANT_READ = @"MERCHANT_READ"; + public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; + public const string PUBLIC_READ = @"PUBLIC_READ"; + public const string PUBLIC_READ_WRITE = @"PUBLIC_READ_WRITE"; + } + /// ///Metaobject access permissions for the Admin API. When the metaobject is app-owned, the owning app always has ///full access. /// - [Description("Metaobject access permissions for the Admin API. When the metaobject is app-owned, the owning app always has\nfull access.")] - public enum MetaobjectAdminAccessInput - { + [Description("Metaobject access permissions for the Admin API. When the metaobject is app-owned, the owning app always has\nfull access.")] + public enum MetaobjectAdminAccessInput + { /// ///The merchant has read-only access. No other apps have access. /// - [Description("The merchant has read-only access. No other apps have access.")] - MERCHANT_READ, + [Description("The merchant has read-only access. No other apps have access.")] + MERCHANT_READ, /// ///The merchant has read and write access. No other apps have access. /// - [Description("The merchant has read and write access. No other apps have access.")] - MERCHANT_READ_WRITE, - } - - public static class MetaobjectAdminAccessInputStringValues - { - public const string MERCHANT_READ = @"MERCHANT_READ"; - public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; - } - + [Description("The merchant has read and write access. No other apps have access.")] + MERCHANT_READ_WRITE, + } + + public static class MetaobjectAdminAccessInputStringValues + { + public const string MERCHANT_READ = @"MERCHANT_READ"; + public const string MERCHANT_READ_WRITE = @"MERCHANT_READ_WRITE"; + } + /// ///Return type for `metaobjectBulkDelete` mutation. /// - [Description("Return type for `metaobjectBulkDelete` mutation.")] - public class MetaobjectBulkDeletePayload : GraphQLObject - { + [Description("Return type for `metaobjectBulkDelete` mutation.")] + public class MetaobjectBulkDeletePayload : GraphQLObject + { /// ///The asynchronous job that deletes the metaobjects. /// - [Description("The asynchronous job that deletes the metaobjects.")] - public Job? job { get; set; } - + [Description("The asynchronous job that deletes the metaobjects.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Specifies the condition by which metaobjects are deleted. ///Exactly one field of input is required. /// - [Description("Specifies the condition by which metaobjects are deleted.\nExactly one field of input is required.")] - public class MetaobjectBulkDeleteWhereCondition : GraphQLObject - { + [Description("Specifies the condition by which metaobjects are deleted.\nExactly one field of input is required.")] + public class MetaobjectBulkDeleteWhereCondition : GraphQLObject + { /// ///Deletes all metaobjects with the specified `type`. /// - [Description("Deletes all metaobjects with the specified `type`.")] - public string? type { get; set; } - + [Description("Deletes all metaobjects with the specified `type`.")] + public string? type { get; set; } + /// ///A list of metaobjects IDs to delete. /// - [Description("A list of metaobjects IDs to delete.")] - public IEnumerable? ids { get; set; } - } - + [Description("A list of metaobjects IDs to delete.")] + public IEnumerable? ids { get; set; } + } + /// ///Provides the capabilities of a metaobject definition. /// - [Description("Provides the capabilities of a metaobject definition.")] - public class MetaobjectCapabilities : GraphQLObject - { + [Description("Provides the capabilities of a metaobject definition.")] + public class MetaobjectCapabilities : GraphQLObject + { /// ///Indicates whether a metaobject definition can be displayed as a page on the Online Store. /// - [Description("Indicates whether a metaobject definition can be displayed as a page on the Online Store.")] - public MetaobjectCapabilitiesOnlineStore? onlineStore { get; set; } - + [Description("Indicates whether a metaobject definition can be displayed as a page on the Online Store.")] + public MetaobjectCapabilitiesOnlineStore? onlineStore { get; set; } + /// ///Indicate whether a metaobject definition is publishable. /// - [Description("Indicate whether a metaobject definition is publishable.")] - [NonNull] - public MetaobjectCapabilitiesPublishable? publishable { get; set; } - + [Description("Indicate whether a metaobject definition is publishable.")] + [NonNull] + public MetaobjectCapabilitiesPublishable? publishable { get; set; } + /// ///Indicate whether a metaobject definition is renderable and exposes SEO data. /// - [Description("Indicate whether a metaobject definition is renderable and exposes SEO data.")] - public MetaobjectCapabilitiesRenderable? renderable { get; set; } - + [Description("Indicate whether a metaobject definition is renderable and exposes SEO data.")] + public MetaobjectCapabilitiesRenderable? renderable { get; set; } + /// ///Indicate whether a metaobject definition is translatable. /// - [Description("Indicate whether a metaobject definition is translatable.")] - [NonNull] - public MetaobjectCapabilitiesTranslatable? translatable { get; set; } - } - + [Description("Indicate whether a metaobject definition is translatable.")] + [NonNull] + public MetaobjectCapabilitiesTranslatable? translatable { get; set; } + } + /// ///The Online Store capability of a metaobject definition. /// - [Description("The Online Store capability of a metaobject definition.")] - public class MetaobjectCapabilitiesOnlineStore : GraphQLObject - { + [Description("The Online Store capability of a metaobject definition.")] + public class MetaobjectCapabilitiesOnlineStore : GraphQLObject + { /// ///The data associated with the Online Store capability. /// - [Description("The data associated with the Online Store capability.")] - public MetaobjectCapabilityDefinitionDataOnlineStore? data { get; set; } - + [Description("The data associated with the Online Store capability.")] + public MetaobjectCapabilityDefinitionDataOnlineStore? data { get; set; } + /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The publishable capability of a metaobject definition. /// - [Description("The publishable capability of a metaobject definition.")] - public class MetaobjectCapabilitiesPublishable : GraphQLObject - { + [Description("The publishable capability of a metaobject definition.")] + public class MetaobjectCapabilitiesPublishable : GraphQLObject + { /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The renderable capability of a metaobject definition. /// - [Description("The renderable capability of a metaobject definition.")] - public class MetaobjectCapabilitiesRenderable : GraphQLObject - { + [Description("The renderable capability of a metaobject definition.")] + public class MetaobjectCapabilitiesRenderable : GraphQLObject + { /// ///The data associated with the renderable capability. /// - [Description("The data associated with the renderable capability.")] - public MetaobjectCapabilityDefinitionDataRenderable? data { get; set; } - + [Description("The data associated with the renderable capability.")] + public MetaobjectCapabilityDefinitionDataRenderable? data { get; set; } + /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The translatable capability of a metaobject definition. /// - [Description("The translatable capability of a metaobject definition.")] - public class MetaobjectCapabilitiesTranslatable : GraphQLObject - { + [Description("The translatable capability of a metaobject definition.")] + public class MetaobjectCapabilitiesTranslatable : GraphQLObject + { /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The input fields for creating a metaobject capability. /// - [Description("The input fields for creating a metaobject capability.")] - public class MetaobjectCapabilityCreateInput : GraphQLObject - { + [Description("The input fields for creating a metaobject capability.")] + public class MetaobjectCapabilityCreateInput : GraphQLObject + { /// ///The input for enabling the publishable capability. /// - [Description("The input for enabling the publishable capability.")] - public MetaobjectCapabilityPublishableInput? publishable { get; set; } - + [Description("The input for enabling the publishable capability.")] + public MetaobjectCapabilityPublishableInput? publishable { get; set; } + /// ///The input for enabling the translatable capability. /// - [Description("The input for enabling the translatable capability.")] - public MetaobjectCapabilityTranslatableInput? translatable { get; set; } - + [Description("The input for enabling the translatable capability.")] + public MetaobjectCapabilityTranslatableInput? translatable { get; set; } + /// ///The input for enabling the renderable capability. /// - [Description("The input for enabling the renderable capability.")] - public MetaobjectCapabilityRenderableInput? renderable { get; set; } - + [Description("The input for enabling the renderable capability.")] + public MetaobjectCapabilityRenderableInput? renderable { get; set; } + /// ///The input for enabling the Online Store capability. /// - [Description("The input for enabling the Online Store capability.")] - public MetaobjectCapabilityOnlineStoreInput? onlineStore { get; set; } - } - + [Description("The input for enabling the Online Store capability.")] + public MetaobjectCapabilityOnlineStoreInput? onlineStore { get; set; } + } + /// ///Provides the capabilities of a metaobject. /// - [Description("Provides the capabilities of a metaobject.")] - public class MetaobjectCapabilityData : GraphQLObject - { + [Description("Provides the capabilities of a metaobject.")] + public class MetaobjectCapabilityData : GraphQLObject + { /// ///The Online Store capability for this metaobject. /// - [Description("The Online Store capability for this metaobject.")] - public MetaobjectCapabilityDataOnlineStore? onlineStore { get; set; } - + [Description("The Online Store capability for this metaobject.")] + public MetaobjectCapabilityDataOnlineStore? onlineStore { get; set; } + /// ///The publishable capability for this metaobject. /// - [Description("The publishable capability for this metaobject.")] - public MetaobjectCapabilityDataPublishable? publishable { get; set; } - } - + [Description("The publishable capability for this metaobject.")] + public MetaobjectCapabilityDataPublishable? publishable { get; set; } + } + /// ///The input fields for metaobject capabilities. /// - [Description("The input fields for metaobject capabilities.")] - public class MetaobjectCapabilityDataInput : GraphQLObject - { + [Description("The input fields for metaobject capabilities.")] + public class MetaobjectCapabilityDataInput : GraphQLObject + { /// ///Publishable capability input. /// - [Description("Publishable capability input.")] - public MetaobjectCapabilityDataPublishableInput? publishable { get; set; } - + [Description("Publishable capability input.")] + public MetaobjectCapabilityDataPublishableInput? publishable { get; set; } + /// ///Online Store capability input. /// - [Description("Online Store capability input.")] - public MetaobjectCapabilityDataOnlineStoreInput? onlineStore { get; set; } - } - + [Description("Online Store capability input.")] + public MetaobjectCapabilityDataOnlineStoreInput? onlineStore { get; set; } + } + /// ///The Online Store capability for the parent metaobject. /// - [Description("The Online Store capability for the parent metaobject.")] - public class MetaobjectCapabilityDataOnlineStore : GraphQLObject - { + [Description("The Online Store capability for the parent metaobject.")] + public class MetaobjectCapabilityDataOnlineStore : GraphQLObject + { /// ///The theme template used when viewing the metaobject in a store. /// - [Description("The theme template used when viewing the metaobject in a store.")] - public string? templateSuffix { get; set; } - } - + [Description("The theme template used when viewing the metaobject in a store.")] + public string? templateSuffix { get; set; } + } + /// ///The input fields for the Online Store capability to control renderability on the Online Store. /// - [Description("The input fields for the Online Store capability to control renderability on the Online Store.")] - public class MetaobjectCapabilityDataOnlineStoreInput : GraphQLObject - { + [Description("The input fields for the Online Store capability to control renderability on the Online Store.")] + public class MetaobjectCapabilityDataOnlineStoreInput : GraphQLObject + { /// ///The theme template used when viewing the metaobject in a store. /// - [Description("The theme template used when viewing the metaobject in a store.")] - public string? templateSuffix { get; set; } - } - + [Description("The theme template used when viewing the metaobject in a store.")] + public string? templateSuffix { get; set; } + } + /// ///The publishable capability for the parent metaobject. /// - [Description("The publishable capability for the parent metaobject.")] - public class MetaobjectCapabilityDataPublishable : GraphQLObject - { + [Description("The publishable capability for the parent metaobject.")] + public class MetaobjectCapabilityDataPublishable : GraphQLObject + { /// ///The visibility status of this metaobject across all channels. /// - [Description("The visibility status of this metaobject across all channels.")] - [NonNull] - [EnumType(typeof(MetaobjectStatus))] - public string? status { get; set; } - } - + [Description("The visibility status of this metaobject across all channels.")] + [NonNull] + [EnumType(typeof(MetaobjectStatus))] + public string? status { get; set; } + } + /// ///The input fields for publishable capability to adjust visibility on channels. /// - [Description("The input fields for publishable capability to adjust visibility on channels.")] - public class MetaobjectCapabilityDataPublishableInput : GraphQLObject - { + [Description("The input fields for publishable capability to adjust visibility on channels.")] + public class MetaobjectCapabilityDataPublishableInput : GraphQLObject + { /// ///The visibility status of this metaobject across all channels. /// - [Description("The visibility status of this metaobject across all channels.")] - [NonNull] - [EnumType(typeof(MetaobjectStatus))] - public string? status { get; set; } - } - + [Description("The visibility status of this metaobject across all channels.")] + [NonNull] + [EnumType(typeof(MetaobjectStatus))] + public string? status { get; set; } + } + /// ///The Online Store capability data for the metaobject definition. /// - [Description("The Online Store capability data for the metaobject definition.")] - public class MetaobjectCapabilityDefinitionDataOnlineStore : GraphQLObject - { + [Description("The Online Store capability data for the metaobject definition.")] + public class MetaobjectCapabilityDefinitionDataOnlineStore : GraphQLObject + { /// ///Flag indicating if a sufficient number of redirects are available to redirect all published entries. /// - [Description("Flag indicating if a sufficient number of redirects are available to redirect all published entries.")] - [NonNull] - public bool? canCreateRedirects { get; set; } - + [Description("Flag indicating if a sufficient number of redirects are available to redirect all published entries.")] + [NonNull] + public bool? canCreateRedirects { get; set; } + /// ///The URL handle for accessing pages of this metaobject type in the Online Store. /// - [Description("The URL handle for accessing pages of this metaobject type in the Online Store.")] - [NonNull] - public string? urlHandle { get; set; } - } - + [Description("The URL handle for accessing pages of this metaobject type in the Online Store.")] + [NonNull] + public string? urlHandle { get; set; } + } + /// ///The input fields of the Online Store capability. /// - [Description("The input fields of the Online Store capability.")] - public class MetaobjectCapabilityDefinitionDataOnlineStoreInput : GraphQLObject - { + [Description("The input fields of the Online Store capability.")] + public class MetaobjectCapabilityDefinitionDataOnlineStoreInput : GraphQLObject + { /// ///The URL handle for accessing pages of this metaobject type in the Online Store. /// - [Description("The URL handle for accessing pages of this metaobject type in the Online Store.")] - [NonNull] - public string? urlHandle { get; set; } - + [Description("The URL handle for accessing pages of this metaobject type in the Online Store.")] + [NonNull] + public string? urlHandle { get; set; } + /// ///Whether to redirect published metaobjects automatically when the URL handle changes. /// - [Description("Whether to redirect published metaobjects automatically when the URL handle changes.")] - public bool? createRedirects { get; set; } - } - + [Description("Whether to redirect published metaobjects automatically when the URL handle changes.")] + public bool? createRedirects { get; set; } + } + /// ///The renderable capability data for the metaobject definition. /// - [Description("The renderable capability data for the metaobject definition.")] - public class MetaobjectCapabilityDefinitionDataRenderable : GraphQLObject - { + [Description("The renderable capability data for the metaobject definition.")] + public class MetaobjectCapabilityDefinitionDataRenderable : GraphQLObject + { /// ///The metaobject field used as an alias for the SEO page description. /// - [Description("The metaobject field used as an alias for the SEO page description.")] - public string? metaDescriptionKey { get; set; } - + [Description("The metaobject field used as an alias for the SEO page description.")] + public string? metaDescriptionKey { get; set; } + /// ///The metaobject field used as an alias for the SEO page title. /// - [Description("The metaobject field used as an alias for the SEO page title.")] - public string? metaTitleKey { get; set; } - } - + [Description("The metaobject field used as an alias for the SEO page title.")] + public string? metaTitleKey { get; set; } + } + /// ///The input fields of the renderable capability for SEO aliases. /// - [Description("The input fields of the renderable capability for SEO aliases.")] - public class MetaobjectCapabilityDefinitionDataRenderableInput : GraphQLObject - { + [Description("The input fields of the renderable capability for SEO aliases.")] + public class MetaobjectCapabilityDefinitionDataRenderableInput : GraphQLObject + { /// ///The metaobject field used as an alias for the SEO page title. /// - [Description("The metaobject field used as an alias for the SEO page title.")] - public string? metaTitleKey { get; set; } - + [Description("The metaobject field used as an alias for the SEO page title.")] + public string? metaTitleKey { get; set; } + /// ///The metaobject field used as an alias for the SEO page description. /// - [Description("The metaobject field used as an alias for the SEO page description.")] - public string? metaDescriptionKey { get; set; } - } - + [Description("The metaobject field used as an alias for the SEO page description.")] + public string? metaDescriptionKey { get; set; } + } + /// ///The input fields for enabling and disabling the Online Store capability. /// - [Description("The input fields for enabling and disabling the Online Store capability.")] - public class MetaobjectCapabilityOnlineStoreInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the Online Store capability.")] + public class MetaobjectCapabilityOnlineStoreInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The data associated with the Online Store capability. /// - [Description("The data associated with the Online Store capability.")] - public MetaobjectCapabilityDefinitionDataOnlineStoreInput? data { get; set; } - } - + [Description("The data associated with the Online Store capability.")] + public MetaobjectCapabilityDefinitionDataOnlineStoreInput? data { get; set; } + } + /// ///The input fields for enabling and disabling the publishable capability. /// - [Description("The input fields for enabling and disabling the publishable capability.")] - public class MetaobjectCapabilityPublishableInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the publishable capability.")] + public class MetaobjectCapabilityPublishableInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The input fields for enabling and disabling the renderable capability. /// - [Description("The input fields for enabling and disabling the renderable capability.")] - public class MetaobjectCapabilityRenderableInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the renderable capability.")] + public class MetaobjectCapabilityRenderableInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The data associated with the renderable capability. /// - [Description("The data associated with the renderable capability.")] - public MetaobjectCapabilityDefinitionDataRenderableInput? data { get; set; } - } - + [Description("The data associated with the renderable capability.")] + public MetaobjectCapabilityDefinitionDataRenderableInput? data { get; set; } + } + /// ///The input fields for enabling and disabling the translatable capability. /// - [Description("The input fields for enabling and disabling the translatable capability.")] - public class MetaobjectCapabilityTranslatableInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the translatable capability.")] + public class MetaobjectCapabilityTranslatableInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///Metaobject Capabilities types which can be enabled. /// - [Description("Metaobject Capabilities types which can be enabled.")] - public enum MetaobjectCapabilityType - { + [Description("Metaobject Capabilities types which can be enabled.")] + public enum MetaobjectCapabilityType + { /// ///Allows for a Metaobject to be conditionally publishable. /// - [Description("Allows for a Metaobject to be conditionally publishable.")] - PUBLISHABLE, + [Description("Allows for a Metaobject to be conditionally publishable.")] + PUBLISHABLE, /// ///Allows for a Metaobject to be translated using the translation api. /// - [Description("Allows for a Metaobject to be translated using the translation api.")] - TRANSLATABLE, + [Description("Allows for a Metaobject to be translated using the translation api.")] + TRANSLATABLE, /// ///Allows for a Metaobject to have attributes of a renderable page such as SEO. /// - [Description("Allows for a Metaobject to have attributes of a renderable page such as SEO.")] - RENDERABLE, + [Description("Allows for a Metaobject to have attributes of a renderable page such as SEO.")] + RENDERABLE, /// ///Allows for a Metaobject to be rendered as an Online Store page. /// - [Description("Allows for a Metaobject to be rendered as an Online Store page.")] - ONLINE_STORE, - } - - public static class MetaobjectCapabilityTypeStringValues - { - public const string PUBLISHABLE = @"PUBLISHABLE"; - public const string TRANSLATABLE = @"TRANSLATABLE"; - public const string RENDERABLE = @"RENDERABLE"; - public const string ONLINE_STORE = @"ONLINE_STORE"; - } - + [Description("Allows for a Metaobject to be rendered as an Online Store page.")] + ONLINE_STORE, + } + + public static class MetaobjectCapabilityTypeStringValues + { + public const string PUBLISHABLE = @"PUBLISHABLE"; + public const string TRANSLATABLE = @"TRANSLATABLE"; + public const string RENDERABLE = @"RENDERABLE"; + public const string ONLINE_STORE = @"ONLINE_STORE"; + } + /// ///The input fields for updating a metaobject capability. /// - [Description("The input fields for updating a metaobject capability.")] - public class MetaobjectCapabilityUpdateInput : GraphQLObject - { + [Description("The input fields for updating a metaobject capability.")] + public class MetaobjectCapabilityUpdateInput : GraphQLObject + { /// ///The input for updating the publishable capability. /// - [Description("The input for updating the publishable capability.")] - public MetaobjectCapabilityPublishableInput? publishable { get; set; } - + [Description("The input for updating the publishable capability.")] + public MetaobjectCapabilityPublishableInput? publishable { get; set; } + /// ///The input for updating the translatable capability. /// - [Description("The input for updating the translatable capability.")] - public MetaobjectCapabilityTranslatableInput? translatable { get; set; } - + [Description("The input for updating the translatable capability.")] + public MetaobjectCapabilityTranslatableInput? translatable { get; set; } + /// ///The input for enabling the renderable capability. /// - [Description("The input for enabling the renderable capability.")] - public MetaobjectCapabilityRenderableInput? renderable { get; set; } - + [Description("The input for enabling the renderable capability.")] + public MetaobjectCapabilityRenderableInput? renderable { get; set; } + /// ///The input for enabling the Online Store capability. /// - [Description("The input for enabling the Online Store capability.")] - public MetaobjectCapabilityOnlineStoreInput? onlineStore { get; set; } - } - + [Description("The input for enabling the Online Store capability.")] + public MetaobjectCapabilityOnlineStoreInput? onlineStore { get; set; } + } + /// ///An auto-generated type for paginating through multiple Metaobjects. /// - [Description("An auto-generated type for paginating through multiple Metaobjects.")] - public class MetaobjectConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Metaobjects.")] + public class MetaobjectConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MetaobjectEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MetaobjectEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MetaobjectEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for creating a metaobject. /// - [Description("The input fields for creating a metaobject.")] - public class MetaobjectCreateInput : GraphQLObject - { + [Description("The input fields for creating a metaobject.")] + public class MetaobjectCreateInput : GraphQLObject + { /// ///The type of the metaobject. Must match an existing metaobject definition type. /// - [Description("The type of the metaobject. Must match an existing metaobject definition type.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of the metaobject. Must match an existing metaobject definition type.")] + [NonNull] + public string? type { get; set; } + /// ///A unique handle for the metaobject. This value is auto-generated when omitted. /// - [Description("A unique handle for the metaobject. This value is auto-generated when omitted.")] - public string? handle { get; set; } - + [Description("A unique handle for the metaobject. This value is auto-generated when omitted.")] + public string? handle { get; set; } + /// ///Values for fields. These are mapped by key to fields of the metaobject definition. /// - [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] - public IEnumerable? fields { get; set; } - + [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] + public IEnumerable? fields { get; set; } + /// ///Capabilities for the metaobject. /// - [Description("Capabilities for the metaobject.")] - public MetaobjectCapabilityDataInput? capabilities { get; set; } - } - + [Description("Capabilities for the metaobject.")] + public MetaobjectCapabilityDataInput? capabilities { get; set; } + } + /// ///Return type for `metaobjectCreate` mutation. /// - [Description("Return type for `metaobjectCreate` mutation.")] - public class MetaobjectCreatePayload : GraphQLObject - { + [Description("Return type for `metaobjectCreate` mutation.")] + public class MetaobjectCreatePayload : GraphQLObject + { /// ///The created metaobject. /// - [Description("The created metaobject.")] - public Metaobject? metaobject { get; set; } - + [Description("The created metaobject.")] + public Metaobject? metaobject { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Provides the definition of a generic object structure composed of metafields. /// - [Description("Provides the definition of a generic object structure composed of metafields.")] - public class MetaobjectDefinition : GraphQLObject, INode - { + [Description("Provides the definition of a generic object structure composed of metafields.")] + public class MetaobjectDefinition : GraphQLObject, INode + { /// ///Access configuration for the metaobject definition. /// - [Description("Access configuration for the metaobject definition.")] - [NonNull] - public MetaobjectAccess? access { get; set; } - + [Description("Access configuration for the metaobject definition.")] + [NonNull] + public MetaobjectAccess? access { get; set; } + /// ///The capabilities of the metaobject definition. /// - [Description("The capabilities of the metaobject definition.")] - [NonNull] - public MetaobjectCapabilities? capabilities { get; set; } - + [Description("The capabilities of the metaobject definition.")] + [NonNull] + public MetaobjectCapabilities? capabilities { get; set; } + /// ///The date and time when the metaobject definition was created. /// - [Description("The date and time when the metaobject definition was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the metaobject definition was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The app used to create the metaobject definition. /// - [Description("The app used to create the metaobject definition.")] - [NonNull] - public App? createdByApp { get; set; } - + [Description("The app used to create the metaobject definition.")] + [NonNull] + public App? createdByApp { get; set; } + /// ///The staff member who created the metaobject definition. /// - [Description("The staff member who created the metaobject definition.")] - public StaffMember? createdByStaff { get; set; } - + [Description("The staff member who created the metaobject definition.")] + public StaffMember? createdByStaff { get; set; } + /// ///The administrative description. /// - [Description("The administrative description.")] - public string? description { get; set; } - + [Description("The administrative description.")] + public string? description { get; set; } + /// ///The key of a field to reference as the display name for each object. /// - [Description("The key of a field to reference as the display name for each object.")] - public string? displayNameKey { get; set; } - + [Description("The key of a field to reference as the display name for each object.")] + public string? displayNameKey { get; set; } + /// ///The fields defined for this object type. /// - [Description("The fields defined for this object type.")] - [NonNull] - public IEnumerable? fieldDefinitions { get; set; } - + [Description("The fields defined for this object type.")] + [NonNull] + public IEnumerable? fieldDefinitions { get; set; } + /// ///Whether this metaobject definition has field whose type can visually represent a metaobject with the `thumbnailField`. /// - [Description("Whether this metaobject definition has field whose type can visually represent a metaobject with the `thumbnailField`.")] - [NonNull] - public bool? hasThumbnailField { get; set; } - + [Description("Whether this metaobject definition has field whose type can visually represent a metaobject with the `thumbnailField`.")] + [NonNull] + public bool? hasThumbnailField { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A paginated connection to the metaobjects associated with the definition. /// - [Description("A paginated connection to the metaobjects associated with the definition.")] - [NonNull] - public MetaobjectConnection? metaobjects { get; set; } - + [Description("A paginated connection to the metaobjects associated with the definition.")] + [NonNull] + public MetaobjectConnection? metaobjects { get; set; } + /// ///The count of metaobjects created for the definition. /// - [Description("The count of metaobjects created for the definition.")] - [NonNull] - public int? metaobjectsCount { get; set; } - + [Description("The count of metaobjects created for the definition.")] + [NonNull] + public int? metaobjectsCount { get; set; } + /// ///The human-readable name. /// - [Description("The human-readable name.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable name.")] + [NonNull] + public string? name { get; set; } + /// ///The standard metaobject template associated with the definition. /// - [Description("The standard metaobject template associated with the definition.")] - public StandardMetaobjectDefinitionTemplate? standardTemplate { get; set; } - + [Description("The standard metaobject template associated with the definition.")] + public StandardMetaobjectDefinitionTemplate? standardTemplate { get; set; } + /// ///The type of the object definition. Defines the namespace of associated metafields. /// - [Description("The type of the object definition. Defines the namespace of associated metafields.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of the object definition. Defines the namespace of associated metafields.")] + [NonNull] + public string? type { get; set; } + /// ///The date and time when the metaobject definition was last updated. /// - [Description("The date and time when the metaobject definition was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the metaobject definition was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple MetaobjectDefinitions. /// - [Description("An auto-generated type for paginating through multiple MetaobjectDefinitions.")] - public class MetaobjectDefinitionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MetaobjectDefinitions.")] + public class MetaobjectDefinitionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MetaobjectDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MetaobjectDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MetaobjectDefinitionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for creating a metaobject definition. /// - [Description("The input fields for creating a metaobject definition.")] - public class MetaobjectDefinitionCreateInput : GraphQLObject - { + [Description("The input fields for creating a metaobject definition.")] + public class MetaobjectDefinitionCreateInput : GraphQLObject + { /// ///A human-readable name for the definition. This can be changed at any time. /// - [Description("A human-readable name for the definition. This can be changed at any time.")] - public string? name { get; set; } - + [Description("A human-readable name for the definition. This can be changed at any time.")] + public string? name { get; set; } + /// ///An administrative description of the definition. /// - [Description("An administrative description of the definition.")] - public string? description { get; set; } - + [Description("An administrative description of the definition.")] + public string? description { get; set; } + /// ///The type of the metaobject definition. This can't be changed. /// ///Must be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters. /// - [Description("The type of the metaobject definition. This can't be changed.\n\nMust be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of the metaobject definition. This can't be changed.\n\nMust be 3-255 characters long and only contain alphanumeric, hyphen, and underscore characters.")] + [NonNull] + public string? type { get; set; } + /// ///A set of field definitions to create on this metaobject definition. /// - [Description("A set of field definitions to create on this metaobject definition.")] - public IEnumerable? fieldDefinitions { get; set; } - + [Description("A set of field definitions to create on this metaobject definition.")] + public IEnumerable? fieldDefinitions { get; set; } + /// ///Access configuration for the metaobjects created with this definition. /// - [Description("Access configuration for the metaobjects created with this definition.")] - public MetaobjectAccessInput? access { get; set; } - + [Description("Access configuration for the metaobjects created with this definition.")] + public MetaobjectAccessInput? access { get; set; } + /// ///The key of a field to reference as the display name for metaobjects of this type. /// - [Description("The key of a field to reference as the display name for metaobjects of this type.")] - public string? displayNameKey { get; set; } - + [Description("The key of a field to reference as the display name for metaobjects of this type.")] + public string? displayNameKey { get; set; } + /// ///The capabilities of the metaobject definition. /// - [Description("The capabilities of the metaobject definition.")] - public MetaobjectCapabilityCreateInput? capabilities { get; set; } - } - + [Description("The capabilities of the metaobject definition.")] + public MetaobjectCapabilityCreateInput? capabilities { get; set; } + } + /// ///Return type for `metaobjectDefinitionCreate` mutation. /// - [Description("Return type for `metaobjectDefinitionCreate` mutation.")] - public class MetaobjectDefinitionCreatePayload : GraphQLObject - { + [Description("Return type for `metaobjectDefinitionCreate` mutation.")] + public class MetaobjectDefinitionCreatePayload : GraphQLObject + { /// ///The created metaobject definition. /// - [Description("The created metaobject definition.")] - public MetaobjectDefinition? metaobjectDefinition { get; set; } - + [Description("The created metaobject definition.")] + public MetaobjectDefinition? metaobjectDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `metaobjectDefinitionDelete` mutation. /// - [Description("Return type for `metaobjectDefinitionDelete` mutation.")] - public class MetaobjectDefinitionDeletePayload : GraphQLObject - { + [Description("Return type for `metaobjectDefinitionDelete` mutation.")] + public class MetaobjectDefinitionDeletePayload : GraphQLObject + { /// ///The ID of the deleted metaobjects definition. /// - [Description("The ID of the deleted metaobjects definition.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted metaobjects definition.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one MetaobjectDefinition and a cursor during pagination. /// - [Description("An auto-generated type which holds one MetaobjectDefinition and a cursor during pagination.")] - public class MetaobjectDefinitionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MetaobjectDefinition and a cursor during pagination.")] + public class MetaobjectDefinitionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MetaobjectDefinitionEdge. /// - [Description("The item at the end of MetaobjectDefinitionEdge.")] - [NonNull] - public MetaobjectDefinition? node { get; set; } - } - + [Description("The item at the end of MetaobjectDefinitionEdge.")] + [NonNull] + public MetaobjectDefinition? node { get; set; } + } + /// ///The input fields for updating a metaobject definition. /// - [Description("The input fields for updating a metaobject definition.")] - public class MetaobjectDefinitionUpdateInput : GraphQLObject - { + [Description("The input fields for updating a metaobject definition.")] + public class MetaobjectDefinitionUpdateInput : GraphQLObject + { /// ///A human-readable name for the definition. /// - [Description("A human-readable name for the definition.")] - public string? name { get; set; } - + [Description("A human-readable name for the definition.")] + public string? name { get; set; } + /// ///An administrative description of the definition. /// - [Description("An administrative description of the definition.")] - public string? description { get; set; } - + [Description("An administrative description of the definition.")] + public string? description { get; set; } + /// ///A set of operations for modifying field definitions. /// - [Description("A set of operations for modifying field definitions.")] - public IEnumerable? fieldDefinitions { get; set; } - + [Description("A set of operations for modifying field definitions.")] + public IEnumerable? fieldDefinitions { get; set; } + /// ///Access configuration for the metaobjects created with this definition. /// - [Description("Access configuration for the metaobjects created with this definition.")] - public MetaobjectAccessInput? access { get; set; } - + [Description("Access configuration for the metaobjects created with this definition.")] + public MetaobjectAccessInput? access { get; set; } + /// ///The key of a metafield to reference as the display name for objects of this type. /// - [Description("The key of a metafield to reference as the display name for objects of this type.")] - public string? displayNameKey { get; set; } - + [Description("The key of a metafield to reference as the display name for objects of this type.")] + public string? displayNameKey { get; set; } + /// ///Whether the field order should be reset while updating. ///If `true`, then the order is assigned based on submitted fields followed by alphabetized field omissions. ///If `false`, then no changes are made to the existing field order and new fields are appended at the end. /// - [Description("Whether the field order should be reset while updating.\nIf `true`, then the order is assigned based on submitted fields followed by alphabetized field omissions.\nIf `false`, then no changes are made to the existing field order and new fields are appended at the end.")] - public bool? resetFieldOrder { get; set; } - + [Description("Whether the field order should be reset while updating.\nIf `true`, then the order is assigned based on submitted fields followed by alphabetized field omissions.\nIf `false`, then no changes are made to the existing field order and new fields are appended at the end.")] + public bool? resetFieldOrder { get; set; } + /// ///The capabilities of the metaobject definition. /// - [Description("The capabilities of the metaobject definition.")] - public MetaobjectCapabilityUpdateInput? capabilities { get; set; } - } - + [Description("The capabilities of the metaobject definition.")] + public MetaobjectCapabilityUpdateInput? capabilities { get; set; } + } + /// ///Return type for `metaobjectDefinitionUpdate` mutation. /// - [Description("Return type for `metaobjectDefinitionUpdate` mutation.")] - public class MetaobjectDefinitionUpdatePayload : GraphQLObject - { + [Description("Return type for `metaobjectDefinitionUpdate` mutation.")] + public class MetaobjectDefinitionUpdatePayload : GraphQLObject + { /// ///The updated metaobject definition. /// - [Description("The updated metaobject definition.")] - public MetaobjectDefinition? metaobjectDefinition { get; set; } - + [Description("The updated metaobject definition.")] + public MetaobjectDefinition? metaobjectDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `metaobjectDelete` mutation. /// - [Description("Return type for `metaobjectDelete` mutation.")] - public class MetaobjectDeletePayload : GraphQLObject - { + [Description("Return type for `metaobjectDelete` mutation.")] + public class MetaobjectDeletePayload : GraphQLObject + { /// ///The ID of the deleted metaobject. /// - [Description("The ID of the deleted metaobject.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted metaobject.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Metaobject and a cursor during pagination. /// - [Description("An auto-generated type which holds one Metaobject and a cursor during pagination.")] - public class MetaobjectEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Metaobject and a cursor during pagination.")] + public class MetaobjectEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MetaobjectEdge. /// - [Description("The item at the end of MetaobjectEdge.")] - [NonNull] - public Metaobject? node { get; set; } - } - + [Description("The item at the end of MetaobjectEdge.")] + [NonNull] + public Metaobject? node { get; set; } + } + /// ///Provides a field definition and the data value assigned to it. /// - [Description("Provides a field definition and the data value assigned to it.")] - public class MetaobjectField : GraphQLObject - { + [Description("Provides a field definition and the data value assigned to it.")] + public class MetaobjectField : GraphQLObject + { /// ///The field definition for this object key. /// - [Description("The field definition for this object key.")] - [NonNull] - public MetaobjectFieldDefinition? definition { get; set; } - + [Description("The field definition for this object key.")] + [NonNull] + public MetaobjectFieldDefinition? definition { get; set; } + /// ///The assigned field value in JSON format. /// - [Description("The assigned field value in JSON format.")] - public string? jsonValue { get; set; } - + [Description("The assigned field value in JSON format.")] + public string? jsonValue { get; set; } + /// ///The object key of this field. /// - [Description("The object key of this field.")] - [NonNull] - public string? key { get; set; } - + [Description("The object key of this field.")] + [NonNull] + public string? key { get; set; } + /// ///For resource reference fields, provides the referenced object. /// - [Description("For resource reference fields, provides the referenced object.")] - public IMetafieldReference? reference { get; set; } - + [Description("For resource reference fields, provides the referenced object.")] + public IMetafieldReference? reference { get; set; } + /// ///For resource reference list fields, provides the list of referenced objects. /// - [Description("For resource reference list fields, provides the list of referenced objects.")] - public MetafieldReferenceConnection? references { get; set; } - + [Description("For resource reference list fields, provides the list of referenced objects.")] + public MetafieldReferenceConnection? references { get; set; } + /// ///For file reference or color fields, provides visual attributes for this field. /// - [Description("For file reference or color fields, provides visual attributes for this field.")] - public MetaobjectThumbnail? thumbnail { get; set; } - + [Description("For file reference or color fields, provides visual attributes for this field.")] + public MetaobjectThumbnail? thumbnail { get; set; } + /// ///The type of the field. /// - [Description("The type of the field.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of the field.")] + [NonNull] + public string? type { get; set; } + /// ///The assigned field value, always stored as a string regardless of the field type. /// - [Description("The assigned field value, always stored as a string regardless of the field type.")] - public string? value { get; set; } - } - + [Description("The assigned field value, always stored as a string regardless of the field type.")] + public string? value { get; set; } + } + /// ///Information about the admin filterable capability. /// - [Description("Information about the admin filterable capability.")] - public class MetaobjectFieldCapabilityAdminFilterable : GraphQLObject - { + [Description("Information about the admin filterable capability.")] + public class MetaobjectFieldCapabilityAdminFilterable : GraphQLObject + { /// ///Indicates if the definition is eligible to have the capability. /// - [Description("Indicates if the definition is eligible to have the capability.")] - [NonNull] - public bool? eligible { get; set; } - + [Description("Indicates if the definition is eligible to have the capability.")] + [NonNull] + public bool? eligible { get; set; } + /// ///Indicates if the capability is enabled. /// - [Description("Indicates if the capability is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates if the capability is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///The input fields for enabling and disabling the admin filterable capability. /// - [Description("The input fields for enabling and disabling the admin filterable capability.")] - public class MetaobjectFieldCapabilityAdminFilterableInput : GraphQLObject - { + [Description("The input fields for enabling and disabling the admin filterable capability.")] + public class MetaobjectFieldCapabilityAdminFilterableInput : GraphQLObject + { /// ///Indicates whether the capability should be enabled or disabled. /// - [Description("Indicates whether the capability should be enabled or disabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Indicates whether the capability should be enabled or disabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///Defines a field for a MetaobjectDefinition with properties ///such as the field's data type and validations. /// - [Description("Defines a field for a MetaobjectDefinition with properties\nsuch as the field's data type and validations.")] - public class MetaobjectFieldDefinition : GraphQLObject - { + [Description("Defines a field for a MetaobjectDefinition with properties\nsuch as the field's data type and validations.")] + public class MetaobjectFieldDefinition : GraphQLObject + { /// ///Capabilities available for this metaobject field definition. /// - [Description("Capabilities available for this metaobject field definition.")] - [NonNull] - public MetaobjectFieldDefinitionCapabilities? capabilities { get; set; } - + [Description("Capabilities available for this metaobject field definition.")] + [NonNull] + public MetaobjectFieldDefinitionCapabilities? capabilities { get; set; } + /// ///The administrative description. /// - [Description("The administrative description.")] - public string? description { get; set; } - + [Description("The administrative description.")] + public string? description { get; set; } + /// ///A key name used to identify the field within the metaobject composition. /// - [Description("A key name used to identify the field within the metaobject composition.")] - [NonNull] - public string? key { get; set; } - + [Description("A key name used to identify the field within the metaobject composition.")] + [NonNull] + public string? key { get; set; } + /// ///The human-readable name. /// - [Description("The human-readable name.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable name.")] + [NonNull] + public string? name { get; set; } + /// ///Required status of the field within the metaobject composition. /// - [Description("Required status of the field within the metaobject composition.")] - [NonNull] - public bool? required { get; set; } - + [Description("Required status of the field within the metaobject composition.")] + [NonNull] + public bool? required { get; set; } + /// ///The type of data that the field stores. /// - [Description("The type of data that the field stores.")] - [NonNull] - public MetafieldDefinitionType? type { get; set; } - + [Description("The type of data that the field stores.")] + [NonNull] + public MetafieldDefinitionType? type { get; set; } + /// ///A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for ///the field. For example, a field with the type `date` can set a minimum date requirement. /// - [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe field. For example, a field with the type `date` can set a minimum date requirement.")] - [NonNull] - public IEnumerable? validations { get; set; } - + [Description("A list of [validation options](https://shopify.dev/apps/metafields/definitions/validation) for\nthe field. For example, a field with the type `date` can set a minimum date requirement.")] + [NonNull] + public IEnumerable? validations { get; set; } + /// ///Whether this field is visible within the Storefront API. /// - [Description("Whether this field is visible within the Storefront API.")] - [NonNull] - public bool? visibleToStorefrontApi { get; set; } - } - + [Description("Whether this field is visible within the Storefront API.")] + [NonNull] + public bool? visibleToStorefrontApi { get; set; } + } + /// ///Capabilities available for a metaobject field definition. /// - [Description("Capabilities available for a metaobject field definition.")] - public class MetaobjectFieldDefinitionCapabilities : GraphQLObject - { + [Description("Capabilities available for a metaobject field definition.")] + public class MetaobjectFieldDefinitionCapabilities : GraphQLObject + { /// ///Indicate whether a metaobject field definition is configured for filtering. /// - [Description("Indicate whether a metaobject field definition is configured for filtering.")] - [NonNull] - public MetaobjectFieldCapabilityAdminFilterable? adminFilterable { get; set; } - } - + [Description("Indicate whether a metaobject field definition is configured for filtering.")] + [NonNull] + public MetaobjectFieldCapabilityAdminFilterable? adminFilterable { get; set; } + } + /// ///The input fields for creating capabilities on a metaobject field definition. /// - [Description("The input fields for creating capabilities on a metaobject field definition.")] - public class MetaobjectFieldDefinitionCapabilityCreateInput : GraphQLObject - { + [Description("The input fields for creating capabilities on a metaobject field definition.")] + public class MetaobjectFieldDefinitionCapabilityCreateInput : GraphQLObject + { /// ///The input for configuring the admin filterable capability. /// - [Description("The input for configuring the admin filterable capability.")] - public MetaobjectFieldCapabilityAdminFilterableInput? adminFilterable { get; set; } - } - + [Description("The input for configuring the admin filterable capability.")] + public MetaobjectFieldCapabilityAdminFilterableInput? adminFilterable { get; set; } + } + /// ///The input fields for creating a metaobject field definition. /// - [Description("The input fields for creating a metaobject field definition.")] - public class MetaobjectFieldDefinitionCreateInput : GraphQLObject - { + [Description("The input fields for creating a metaobject field definition.")] + public class MetaobjectFieldDefinitionCreateInput : GraphQLObject + { /// ///The key of the new field definition. This can't be changed. /// ///Must be 2-64 characters long and only contain alphanumeric, hyphen, and underscore characters. /// - [Description("The key of the new field definition. This can't be changed.\n\nMust be 2-64 characters long and only contain alphanumeric, hyphen, and underscore characters.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the new field definition. This can't be changed.\n\nMust be 2-64 characters long and only contain alphanumeric, hyphen, and underscore characters.")] + [NonNull] + public string? key { get; set; } + /// ///The metafield type applied to values of the field. /// - [Description("The metafield type applied to values of the field.")] - [NonNull] - public string? type { get; set; } - + [Description("The metafield type applied to values of the field.")] + [NonNull] + public string? type { get; set; } + /// ///A human-readable name for the field. This can be changed at any time. /// - [Description("A human-readable name for the field. This can be changed at any time.")] - public string? name { get; set; } - + [Description("A human-readable name for the field. This can be changed at any time.")] + public string? name { get; set; } + /// ///An administrative description of the field. /// - [Description("An administrative description of the field.")] - public string? description { get; set; } - + [Description("An administrative description of the field.")] + public string? description { get; set; } + /// ///Whether metaobjects require a saved value for the field. /// - [Description("Whether metaobjects require a saved value for the field.")] - public bool? required { get; set; } - + [Description("Whether metaobjects require a saved value for the field.")] + public bool? required { get; set; } + /// ///Whether the field is visible to the storefront API. ///Defaults to the visibility of the parent metaobject definition. /// - [Description("Whether the field is visible to the storefront API.\nDefaults to the visibility of the parent metaobject definition.")] - public bool? visibleToStorefrontApi { get; set; } - + [Description("Whether the field is visible to the storefront API.\nDefaults to the visibility of the parent metaobject definition.")] + public bool? visibleToStorefrontApi { get; set; } + /// ///Custom validations that apply to values assigned to the field. /// - [Description("Custom validations that apply to values assigned to the field.")] - public IEnumerable? validations { get; set; } - + [Description("Custom validations that apply to values assigned to the field.")] + public IEnumerable? validations { get; set; } + /// ///Capabilities configuration for this field. /// - [Description("Capabilities configuration for this field.")] - public MetaobjectFieldDefinitionCapabilityCreateInput? capabilities { get; set; } - } - + [Description("Capabilities configuration for this field.")] + public MetaobjectFieldDefinitionCapabilityCreateInput? capabilities { get; set; } + } + /// ///The input fields for deleting a metaobject field definition. /// - [Description("The input fields for deleting a metaobject field definition.")] - public class MetaobjectFieldDefinitionDeleteInput : GraphQLObject - { + [Description("The input fields for deleting a metaobject field definition.")] + public class MetaobjectFieldDefinitionDeleteInput : GraphQLObject + { /// ///The key of the field definition to delete. /// - [Description("The key of the field definition to delete.")] - [NonNull] - public string? key { get; set; } - } - + [Description("The key of the field definition to delete.")] + [NonNull] + public string? key { get; set; } + } + /// ///The input fields for possible operations for modifying field definitions. Exactly one option is required. /// - [Description("The input fields for possible operations for modifying field definitions. Exactly one option is required.")] - public class MetaobjectFieldDefinitionOperationInput : GraphQLObject - { + [Description("The input fields for possible operations for modifying field definitions. Exactly one option is required.")] + public class MetaobjectFieldDefinitionOperationInput : GraphQLObject + { /// ///The input fields for creating a metaobject field definition. /// - [Description("The input fields for creating a metaobject field definition.")] - public MetaobjectFieldDefinitionCreateInput? create { get; set; } - + [Description("The input fields for creating a metaobject field definition.")] + public MetaobjectFieldDefinitionCreateInput? create { get; set; } + /// ///The input fields for updating a metaobject field definition. /// - [Description("The input fields for updating a metaobject field definition.")] - public MetaobjectFieldDefinitionUpdateInput? update { get; set; } - + [Description("The input fields for updating a metaobject field definition.")] + public MetaobjectFieldDefinitionUpdateInput? update { get; set; } + /// ///The input fields for deleting a metaobject field definition. /// - [Description("The input fields for deleting a metaobject field definition.")] - public MetaobjectFieldDefinitionDeleteInput? delete { get; set; } - } - + [Description("The input fields for deleting a metaobject field definition.")] + public MetaobjectFieldDefinitionDeleteInput? delete { get; set; } + } + /// ///The input fields for updating a metaobject field definition. /// - [Description("The input fields for updating a metaobject field definition.")] - public class MetaobjectFieldDefinitionUpdateInput : GraphQLObject - { + [Description("The input fields for updating a metaobject field definition.")] + public class MetaobjectFieldDefinitionUpdateInput : GraphQLObject + { /// ///The key of the field definition to update. /// - [Description("The key of the field definition to update.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the field definition to update.")] + [NonNull] + public string? key { get; set; } + /// ///A human-readable name for the field. /// - [Description("A human-readable name for the field.")] - public string? name { get; set; } - + [Description("A human-readable name for the field.")] + public string? name { get; set; } + /// ///An administrative description of the field. /// - [Description("An administrative description of the field.")] - public string? description { get; set; } - + [Description("An administrative description of the field.")] + public string? description { get; set; } + /// ///Whether metaobjects require a saved value for the field. /// - [Description("Whether metaobjects require a saved value for the field.")] - public bool? required { get; set; } - + [Description("Whether metaobjects require a saved value for the field.")] + public bool? required { get; set; } + /// ///Whether the field is visible to the storefront API. /// - [Description("Whether the field is visible to the storefront API.")] - public bool? visibleToStorefrontApi { get; set; } - + [Description("Whether the field is visible to the storefront API.")] + public bool? visibleToStorefrontApi { get; set; } + /// ///Custom validations that apply to values assigned to the field. /// - [Description("Custom validations that apply to values assigned to the field.")] - public IEnumerable? validations { get; set; } - + [Description("Custom validations that apply to values assigned to the field.")] + public IEnumerable? validations { get; set; } + /// ///Capabilities configuration for this field. /// - [Description("Capabilities configuration for this field.")] - public MetaobjectFieldDefinitionCapabilityCreateInput? capabilities { get; set; } - } - + [Description("Capabilities configuration for this field.")] + public MetaobjectFieldDefinitionCapabilityCreateInput? capabilities { get; set; } + } + /// ///The input fields for a metaobject field value. /// - [Description("The input fields for a metaobject field value.")] - public class MetaobjectFieldInput : GraphQLObject - { + [Description("The input fields for a metaobject field value.")] + public class MetaobjectFieldInput : GraphQLObject + { /// ///The key of the field. /// - [Description("The key of the field.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the field.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the field. /// - [Description("The value of the field.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the field.")] + [NonNull] + public string? value { get; set; } + } + /// ///The input fields for retrieving a metaobject by handle. /// - [Description("The input fields for retrieving a metaobject by handle.")] - public class MetaobjectHandleInput : GraphQLObject - { + [Description("The input fields for retrieving a metaobject by handle.")] + public class MetaobjectHandleInput : GraphQLObject + { /// ///The type of the metaobject. Must match an existing metaobject definition type. /// - [Description("The type of the metaobject. Must match an existing metaobject definition type.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of the metaobject. Must match an existing metaobject definition type.")] + [NonNull] + public string? type { get; set; } + /// ///The handle of the metaobject to create or update. /// - [Description("The handle of the metaobject to create or update.")] - [NonNull] - public string? handle { get; set; } - } - + [Description("The handle of the metaobject to create or update.")] + [NonNull] + public string? handle { get; set; } + } + /// ///Defines visibility status for metaobjects. /// - [Description("Defines visibility status for metaobjects.")] - public enum MetaobjectStatus - { + [Description("Defines visibility status for metaobjects.")] + public enum MetaobjectStatus + { /// ///The metaobjects is an internal record. /// - [Description("The metaobjects is an internal record.")] - DRAFT, + [Description("The metaobjects is an internal record.")] + DRAFT, /// ///The metaobjects is active for public use. /// - [Description("The metaobjects is active for public use.")] - ACTIVE, - } - - public static class MetaobjectStatusStringValues - { - public const string DRAFT = @"DRAFT"; - public const string ACTIVE = @"ACTIVE"; - } - + [Description("The metaobjects is active for public use.")] + ACTIVE, + } + + public static class MetaobjectStatusStringValues + { + public const string DRAFT = @"DRAFT"; + public const string ACTIVE = @"ACTIVE"; + } + /// ///Metaobject access permissions for the Storefront API. /// - [Description("Metaobject access permissions for the Storefront API.")] - public enum MetaobjectStorefrontAccess - { + [Description("Metaobject access permissions for the Storefront API.")] + public enum MetaobjectStorefrontAccess + { /// ///No access. /// - [Description("No access.")] - NONE, + [Description("No access.")] + NONE, /// ///Read-only access. /// - [Description("Read-only access.")] - PUBLIC_READ, - } - - public static class MetaobjectStorefrontAccessStringValues - { - public const string NONE = @"NONE"; - public const string PUBLIC_READ = @"PUBLIC_READ"; - } - + [Description("Read-only access.")] + PUBLIC_READ, + } + + public static class MetaobjectStorefrontAccessStringValues + { + public const string NONE = @"NONE"; + public const string PUBLIC_READ = @"PUBLIC_READ"; + } + /// ///Provides attributes for visual representation. /// - [Description("Provides attributes for visual representation.")] - public class MetaobjectThumbnail : GraphQLObject - { + [Description("Provides attributes for visual representation.")] + public class MetaobjectThumbnail : GraphQLObject + { /// ///The file to be used for visual representation of this metaobject. /// - [Description("The file to be used for visual representation of this metaobject.")] - public IFile? file { get; set; } - + [Description("The file to be used for visual representation of this metaobject.")] + public IFile? file { get; set; } + /// ///The hexadecimal color code to be used for respresenting this metaobject. /// - [Description("The hexadecimal color code to be used for respresenting this metaobject.")] - public string? hex { get; set; } - } - + [Description("The hexadecimal color code to be used for respresenting this metaobject.")] + public string? hex { get; set; } + } + /// ///The input fields for updating a metaobject. /// - [Description("The input fields for updating a metaobject.")] - public class MetaobjectUpdateInput : GraphQLObject - { + [Description("The input fields for updating a metaobject.")] + public class MetaobjectUpdateInput : GraphQLObject + { /// ///A unique handle for the metaobject. /// - [Description("A unique handle for the metaobject.")] - public string? handle { get; set; } - + [Description("A unique handle for the metaobject.")] + public string? handle { get; set; } + /// ///Values for fields. These are mapped by key to fields of the metaobject definition. /// - [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] - public IEnumerable? fields { get; set; } - + [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] + public IEnumerable? fields { get; set; } + /// ///Capabilities for the metaobject. /// - [Description("Capabilities for the metaobject.")] - public MetaobjectCapabilityDataInput? capabilities { get; set; } - + [Description("Capabilities for the metaobject.")] + public MetaobjectCapabilityDataInput? capabilities { get; set; } + /// ///Whether to create a redirect for the metaobject. /// - [Description("Whether to create a redirect for the metaobject.")] - public bool? redirectNewHandle { get; set; } - } - + [Description("Whether to create a redirect for the metaobject.")] + public bool? redirectNewHandle { get; set; } + } + /// ///Return type for `metaobjectUpdate` mutation. /// - [Description("Return type for `metaobjectUpdate` mutation.")] - public class MetaobjectUpdatePayload : GraphQLObject - { + [Description("Return type for `metaobjectUpdate` mutation.")] + public class MetaobjectUpdatePayload : GraphQLObject + { /// ///The updated metaobject. /// - [Description("The updated metaobject.")] - public Metaobject? metaobject { get; set; } - + [Description("The updated metaobject.")] + public Metaobject? metaobject { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for upserting a metaobject. /// - [Description("The input fields for upserting a metaobject.")] - public class MetaobjectUpsertInput : GraphQLObject - { + [Description("The input fields for upserting a metaobject.")] + public class MetaobjectUpsertInput : GraphQLObject + { /// ///The handle of the metaobject. /// - [Description("The handle of the metaobject.")] - public string? handle { get; set; } - + [Description("The handle of the metaobject.")] + public string? handle { get; set; } + /// ///Values for fields. These are mapped by key to fields of the metaobject definition. /// - [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] - public IEnumerable? fields { get; set; } - + [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] + public IEnumerable? fields { get; set; } + /// ///Capabilities for the metaobject. /// - [Description("Capabilities for the metaobject.")] - public MetaobjectCapabilityDataInput? capabilities { get; set; } - } - + [Description("Capabilities for the metaobject.")] + public MetaobjectCapabilityDataInput? capabilities { get; set; } + } + /// ///Return type for `metaobjectUpsert` mutation. /// - [Description("Return type for `metaobjectUpsert` mutation.")] - public class MetaobjectUpsertPayload : GraphQLObject - { + [Description("Return type for `metaobjectUpsert` mutation.")] + public class MetaobjectUpsertPayload : GraphQLObject + { /// ///The created or updated metaobject. /// - [Description("The created or updated metaobject.")] - public Metaobject? metaobject { get; set; } - + [Description("The created or updated metaobject.")] + public Metaobject? metaobject { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors encountered while managing metaobject resources. /// - [Description("Defines errors encountered while managing metaobject resources.")] - public class MetaobjectUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors encountered while managing metaobject resources.")] + public class MetaobjectUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MetaobjectUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MetaobjectUserErrorCode))] + public string? code { get; set; } + /// ///The index of the failing list element in an array. /// - [Description("The index of the failing list element in an array.")] - public int? elementIndex { get; set; } - + [Description("The index of the failing list element in an array.")] + public int? elementIndex { get; set; } + /// ///The key of the failing object element. /// - [Description("The key of the failing object element.")] - public string? elementKey { get; set; } - + [Description("The key of the failing object element.")] + public string? elementKey { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MetaobjectUserError`. /// - [Description("Possible error codes that can be returned by `MetaobjectUserError`.")] - public enum MetaobjectUserErrorCode - { + [Description("Possible error codes that can be returned by `MetaobjectUserError`.")] + public enum MetaobjectUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The metafield type is invalid. /// - [Description("The metafield type is invalid.")] - INVALID_TYPE, + [Description("The metafield type is invalid.")] + INVALID_TYPE, /// ///The value is invalid for the metafield type or the definition options. /// - [Description("The value is invalid for the metafield type or the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or the definition options.")] + INVALID_VALUE, /// ///The value for the metafield definition option was invalid. /// - [Description("The value for the metafield definition option was invalid.")] - INVALID_OPTION, + [Description("The value for the metafield definition option was invalid.")] + INVALID_OPTION, /// ///Duplicate inputs were provided for this field key. /// - [Description("Duplicate inputs were provided for this field key.")] - DUPLICATE_FIELD_INPUT, + [Description("Duplicate inputs were provided for this field key.")] + DUPLICATE_FIELD_INPUT, /// ///No metaobject definition found for this type. /// - [Description("No metaobject definition found for this type.")] - UNDEFINED_OBJECT_TYPE, + [Description("No metaobject definition found for this type.")] + UNDEFINED_OBJECT_TYPE, /// ///No field definition found for this key. /// - [Description("No field definition found for this key.")] - UNDEFINED_OBJECT_FIELD, + [Description("No field definition found for this key.")] + UNDEFINED_OBJECT_FIELD, /// ///The specified field key is already in use. /// - [Description("The specified field key is already in use.")] - OBJECT_FIELD_TAKEN, + [Description("The specified field key is already in use.")] + OBJECT_FIELD_TAKEN, /// ///Missing required fields were found for this object. /// - [Description("Missing required fields were found for this object.")] - OBJECT_FIELD_REQUIRED, + [Description("Missing required fields were found for this object.")] + OBJECT_FIELD_REQUIRED, /// ///The requested record couldn't be found. /// - [Description("The requested record couldn't be found.")] - RECORD_NOT_FOUND, + [Description("The requested record couldn't be found.")] + RECORD_NOT_FOUND, /// ///An unexpected error occurred. /// - [Description("An unexpected error occurred.")] - INTERNAL_ERROR, + [Description("An unexpected error occurred.")] + INTERNAL_ERROR, /// ///The maximum number of metaobjects definitions has been exceeded. /// - [Description("The maximum number of metaobjects definitions has been exceeded.")] - MAX_DEFINITIONS_EXCEEDED, + [Description("The maximum number of metaobjects definitions has been exceeded.")] + MAX_DEFINITIONS_EXCEEDED, /// ///The maximum number of metaobjects per shop has been exceeded. /// - [Description("The maximum number of metaobjects per shop has been exceeded.")] - MAX_OBJECTS_EXCEEDED, + [Description("The maximum number of metaobjects per shop has been exceeded.")] + MAX_OBJECTS_EXCEEDED, /// ///The maximum number of input metaobjects has been exceeded. /// - [Description("The maximum number of input metaobjects has been exceeded.")] - INPUT_LIMIT_EXCEEDED, + [Description("The maximum number of input metaobjects has been exceeded.")] + INPUT_LIMIT_EXCEEDED, /// ///The targeted object cannot be modified. /// - [Description("The targeted object cannot be modified.")] - IMMUTABLE, + [Description("The targeted object cannot be modified.")] + IMMUTABLE, /// ///Not authorized. /// - [Description("Not authorized.")] - NOT_AUTHORIZED, + [Description("Not authorized.")] + NOT_AUTHORIZED, /// ///The provided name is reserved for system use. /// - [Description("The provided name is reserved for system use.")] - RESERVED_NAME, + [Description("The provided name is reserved for system use.")] + RESERVED_NAME, /// ///The display name cannot be the same when using the metaobject as a product option. /// - [Description("The display name cannot be the same when using the metaobject as a product option.")] - DISPLAY_NAME_CONFLICT, + [Description("The display name cannot be the same when using the metaobject as a product option.")] + DISPLAY_NAME_CONFLICT, /// ///Admin access can only be specified on metaobject definitions that have an app-reserved type. /// - [Description("Admin access can only be specified on metaobject definitions that have an app-reserved type.")] - ADMIN_ACCESS_INPUT_NOT_ALLOWED, + [Description("Admin access can only be specified on metaobject definitions that have an app-reserved type.")] + ADMIN_ACCESS_INPUT_NOT_ALLOWED, /// ///Definition is managed by app configuration and cannot be modified through the API. /// - [Description("Definition is managed by app configuration and cannot be modified through the API.")] - APP_CONFIG_MANAGED, + [Description("Definition is managed by app configuration and cannot be modified through the API.")] + APP_CONFIG_MANAGED, /// ///Definition is required by an installed app and cannot be deleted. /// - [Description("Definition is required by an installed app and cannot be deleted.")] - STANDARD_METAOBJECT_DEFINITION_DEPENDENT_ON_APP, + [Description("Definition is required by an installed app and cannot be deleted.")] + STANDARD_METAOBJECT_DEFINITION_DEPENDENT_ON_APP, /// ///The capability you are using is not enabled. /// - [Description("The capability you are using is not enabled.")] - CAPABILITY_NOT_ENABLED, + [Description("The capability you are using is not enabled.")] + CAPABILITY_NOT_ENABLED, /// ///The Online Store URL handle is already taken. /// - [Description("The Online Store URL handle is already taken.")] - URL_HANDLE_TAKEN, + [Description("The Online Store URL handle is already taken.")] + URL_HANDLE_TAKEN, /// ///The Online Store URL handle is invalid. /// - [Description("The Online Store URL handle is invalid.")] - URL_HANDLE_INVALID, + [Description("The Online Store URL handle is invalid.")] + URL_HANDLE_INVALID, /// ///The Online Store URL handle cannot be blank. /// - [Description("The Online Store URL handle cannot be blank.")] - URL_HANDLE_BLANK, + [Description("The Online Store URL handle cannot be blank.")] + URL_HANDLE_BLANK, /// ///Renderable data input is referencing an invalid field. /// - [Description("Renderable data input is referencing an invalid field.")] - FIELD_TYPE_INVALID, + [Description("Renderable data input is referencing an invalid field.")] + FIELD_TYPE_INVALID, /// ///The input is missing required keys. /// - [Description("The input is missing required keys.")] - MISSING_REQUIRED_KEYS, + [Description("The input is missing required keys.")] + MISSING_REQUIRED_KEYS, /// ///The action cannot be completed because associated metaobjects are referenced by another resource. /// - [Description("The action cannot be completed because associated metaobjects are referenced by another resource.")] - REFERENCE_EXISTS_ERROR, - } - - public static class MetaobjectUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string INCLUSION = @"INCLUSION"; - public const string TAKEN = @"TAKEN"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string PRESENT = @"PRESENT"; - public const string BLANK = @"BLANK"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string INVALID_OPTION = @"INVALID_OPTION"; - public const string DUPLICATE_FIELD_INPUT = @"DUPLICATE_FIELD_INPUT"; - public const string UNDEFINED_OBJECT_TYPE = @"UNDEFINED_OBJECT_TYPE"; - public const string UNDEFINED_OBJECT_FIELD = @"UNDEFINED_OBJECT_FIELD"; - public const string OBJECT_FIELD_TAKEN = @"OBJECT_FIELD_TAKEN"; - public const string OBJECT_FIELD_REQUIRED = @"OBJECT_FIELD_REQUIRED"; - public const string RECORD_NOT_FOUND = @"RECORD_NOT_FOUND"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string MAX_DEFINITIONS_EXCEEDED = @"MAX_DEFINITIONS_EXCEEDED"; - public const string MAX_OBJECTS_EXCEEDED = @"MAX_OBJECTS_EXCEEDED"; - public const string INPUT_LIMIT_EXCEEDED = @"INPUT_LIMIT_EXCEEDED"; - public const string IMMUTABLE = @"IMMUTABLE"; - public const string NOT_AUTHORIZED = @"NOT_AUTHORIZED"; - public const string RESERVED_NAME = @"RESERVED_NAME"; - public const string DISPLAY_NAME_CONFLICT = @"DISPLAY_NAME_CONFLICT"; - public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; - public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; - public const string STANDARD_METAOBJECT_DEFINITION_DEPENDENT_ON_APP = @"STANDARD_METAOBJECT_DEFINITION_DEPENDENT_ON_APP"; - public const string CAPABILITY_NOT_ENABLED = @"CAPABILITY_NOT_ENABLED"; - public const string URL_HANDLE_TAKEN = @"URL_HANDLE_TAKEN"; - public const string URL_HANDLE_INVALID = @"URL_HANDLE_INVALID"; - public const string URL_HANDLE_BLANK = @"URL_HANDLE_BLANK"; - public const string FIELD_TYPE_INVALID = @"FIELD_TYPE_INVALID"; - public const string MISSING_REQUIRED_KEYS = @"MISSING_REQUIRED_KEYS"; - public const string REFERENCE_EXISTS_ERROR = @"REFERENCE_EXISTS_ERROR"; - } - + [Description("The action cannot be completed because associated metaobjects are referenced by another resource.")] + REFERENCE_EXISTS_ERROR, + } + + public static class MetaobjectUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string INCLUSION = @"INCLUSION"; + public const string TAKEN = @"TAKEN"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string PRESENT = @"PRESENT"; + public const string BLANK = @"BLANK"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string INVALID_OPTION = @"INVALID_OPTION"; + public const string DUPLICATE_FIELD_INPUT = @"DUPLICATE_FIELD_INPUT"; + public const string UNDEFINED_OBJECT_TYPE = @"UNDEFINED_OBJECT_TYPE"; + public const string UNDEFINED_OBJECT_FIELD = @"UNDEFINED_OBJECT_FIELD"; + public const string OBJECT_FIELD_TAKEN = @"OBJECT_FIELD_TAKEN"; + public const string OBJECT_FIELD_REQUIRED = @"OBJECT_FIELD_REQUIRED"; + public const string RECORD_NOT_FOUND = @"RECORD_NOT_FOUND"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string MAX_DEFINITIONS_EXCEEDED = @"MAX_DEFINITIONS_EXCEEDED"; + public const string MAX_OBJECTS_EXCEEDED = @"MAX_OBJECTS_EXCEEDED"; + public const string INPUT_LIMIT_EXCEEDED = @"INPUT_LIMIT_EXCEEDED"; + public const string IMMUTABLE = @"IMMUTABLE"; + public const string NOT_AUTHORIZED = @"NOT_AUTHORIZED"; + public const string RESERVED_NAME = @"RESERVED_NAME"; + public const string DISPLAY_NAME_CONFLICT = @"DISPLAY_NAME_CONFLICT"; + public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; + public const string APP_CONFIG_MANAGED = @"APP_CONFIG_MANAGED"; + public const string STANDARD_METAOBJECT_DEFINITION_DEPENDENT_ON_APP = @"STANDARD_METAOBJECT_DEFINITION_DEPENDENT_ON_APP"; + public const string CAPABILITY_NOT_ENABLED = @"CAPABILITY_NOT_ENABLED"; + public const string URL_HANDLE_TAKEN = @"URL_HANDLE_TAKEN"; + public const string URL_HANDLE_INVALID = @"URL_HANDLE_INVALID"; + public const string URL_HANDLE_BLANK = @"URL_HANDLE_BLANK"; + public const string FIELD_TYPE_INVALID = @"FIELD_TYPE_INVALID"; + public const string MISSING_REQUIRED_KEYS = @"MISSING_REQUIRED_KEYS"; + public const string REFERENCE_EXISTS_ERROR = @"REFERENCE_EXISTS_ERROR"; + } + /// ///The input fields for creating multiple metaobjects. /// - [Description("The input fields for creating multiple metaobjects.")] - public class MetaobjectsCreateInput : GraphQLObject - { + [Description("The input fields for creating multiple metaobjects.")] + public class MetaobjectsCreateInput : GraphQLObject + { /// ///The type of metaobjects to create. Must match an existing metaobject definition type. /// - [Description("The type of metaobjects to create. Must match an existing metaobject definition type.")] - [NonNull] - public string? type { get; set; } - + [Description("The type of metaobjects to create. Must match an existing metaobject definition type.")] + [NonNull] + public string? type { get; set; } + /// ///An array of inputs used to create metaobjects. /// - [Description("An array of inputs used to create metaobjects.")] - [NonNull] - public IEnumerable? metaobjects { get; set; } - } - + [Description("An array of inputs used to create metaobjects.")] + [NonNull] + public IEnumerable? metaobjects { get; set; } + } + /// ///The input fields for creating a single metaobject. /// - [Description("The input fields for creating a single metaobject.")] - public class MetaobjectsCreateMetaobjectInput : GraphQLObject - { + [Description("The input fields for creating a single metaobject.")] + public class MetaobjectsCreateMetaobjectInput : GraphQLObject + { /// ///A unique handle for the metaobject. This value is auto-generated when omitted. /// - [Description("A unique handle for the metaobject. This value is auto-generated when omitted.")] - public string? handle { get; set; } - + [Description("A unique handle for the metaobject. This value is auto-generated when omitted.")] + public string? handle { get; set; } + /// ///Values for fields. These are mapped by key to fields of the metaobject definition. /// - [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] - public IEnumerable? fields { get; set; } - + [Description("Values for fields. These are mapped by key to fields of the metaobject definition.")] + public IEnumerable? fields { get; set; } + /// ///Capabilities for the metaobject. /// - [Description("Capabilities for the metaobject.")] - public MetaobjectCapabilityDataInput? capabilities { get; set; } - } - + [Description("Capabilities for the metaobject.")] + public MetaobjectCapabilityDataInput? capabilities { get; set; } + } + /// ///Return type for `metaobjectsCreate` mutation. /// - [Description("Return type for `metaobjectsCreate` mutation.")] - public class MetaobjectsCreatePayload : GraphQLObject - { + [Description("Return type for `metaobjectsCreate` mutation.")] + public class MetaobjectsCreatePayload : GraphQLObject + { /// ///The created metaobjects. /// - [Description("The created metaobjects.")] - public IEnumerable? metaobjects { get; set; } - + [Description("The created metaobjects.")] + public IEnumerable? metaobjects { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of valid sort keys for the MethodDefinition query. /// - [Description("The set of valid sort keys for the MethodDefinition query.")] - public enum MethodDefinitionSortKeys - { + [Description("The set of valid sort keys for the MethodDefinition query.")] + public enum MethodDefinitionSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `rate_provider_type` value. /// - [Description("Sort by the `rate_provider_type` value.")] - RATE_PROVIDER_TYPE, - } - - public static class MethodDefinitionSortKeysStringValues - { - public const string ID = @"ID"; - public const string RATE_PROVIDER_TYPE = @"RATE_PROVIDER_TYPE"; - } - + [Description("Sort by the `rate_provider_type` value.")] + RATE_PROVIDER_TYPE, + } + + public static class MethodDefinitionSortKeysStringValues + { + public const string ID = @"ID"; + public const string RATE_PROVIDER_TYPE = @"RATE_PROVIDER_TYPE"; + } + /// ///You can use the `MobilePlatformApplication` resource to enable ///[shared web credentials](https://developer.apple.com/documentation/security/shared_web_credentials) for Shopify iOS apps, @@ -73898,486 +73898,486 @@ public static class MethodDefinitionSortKeysStringValues ///see the respective [iOS universal link](https://developer.apple.com/documentation/uikit/core_app/allowing_apps_and_websites_to_link_to_your_content) ///or [Android app link](https://developer.android.com/training/app-links) technical documentation. /// - [Description("You can use the `MobilePlatformApplication` resource to enable\n[shared web credentials](https://developer.apple.com/documentation/security/shared_web_credentials) for Shopify iOS apps,\nas well as to create [iOS universal link](https://developer.apple.com/ios/universal-links/)\nor [Android app link](https://developer.android.com/training/app-links/) verification endpoints for merchant Shopify iOS or Android apps.\nShared web credentials let iOS users access a native app after logging into the respective website in Safari without re-entering\ntheir username and password. If a user changes their credentials in the app, then those changes are reflected in Safari.\nYou must use a custom domain to integrate shared web credentials with Shopify. With each platform's link system,\nusers can tap a link to a shop's website and get seamlessly redirected to a merchant's installed app without going\nthrough a browser or manually selecting an app.\n\nFor full configuration instructions on iOS shared web credentials,\nsee the [associated domains setup](https://developer.apple.com/documentation/security/password_autofill/setting_up_an_app_s_associated_domains) technical documentation.\n\nFor full configuration instructions on iOS universal links or Android App Links,\nsee the respective [iOS universal link](https://developer.apple.com/documentation/uikit/core_app/allowing_apps_and_websites_to_link_to_your_content)\nor [Android app link](https://developer.android.com/training/app-links) technical documentation.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AndroidApplication), typeDiscriminator: "AndroidApplication")] - [JsonDerivedType(typeof(AppleApplication), typeDiscriminator: "AppleApplication")] - public interface IMobilePlatformApplication : IGraphQLObject - { - public AndroidApplication? AsAndroidApplication() => this as AndroidApplication; - public AppleApplication? AsAppleApplication() => this as AppleApplication; + [Description("You can use the `MobilePlatformApplication` resource to enable\n[shared web credentials](https://developer.apple.com/documentation/security/shared_web_credentials) for Shopify iOS apps,\nas well as to create [iOS universal link](https://developer.apple.com/ios/universal-links/)\nor [Android app link](https://developer.android.com/training/app-links/) verification endpoints for merchant Shopify iOS or Android apps.\nShared web credentials let iOS users access a native app after logging into the respective website in Safari without re-entering\ntheir username and password. If a user changes their credentials in the app, then those changes are reflected in Safari.\nYou must use a custom domain to integrate shared web credentials with Shopify. With each platform's link system,\nusers can tap a link to a shop's website and get seamlessly redirected to a merchant's installed app without going\nthrough a browser or manually selecting an app.\n\nFor full configuration instructions on iOS shared web credentials,\nsee the [associated domains setup](https://developer.apple.com/documentation/security/password_autofill/setting_up_an_app_s_associated_domains) technical documentation.\n\nFor full configuration instructions on iOS universal links or Android App Links,\nsee the respective [iOS universal link](https://developer.apple.com/documentation/uikit/core_app/allowing_apps_and_websites_to_link_to_your_content)\nor [Android app link](https://developer.android.com/training/app-links) technical documentation.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AndroidApplication), typeDiscriminator: "AndroidApplication")] + [JsonDerivedType(typeof(AppleApplication), typeDiscriminator: "AppleApplication")] + public interface IMobilePlatformApplication : IGraphQLObject + { + public AndroidApplication? AsAndroidApplication() => this as AndroidApplication; + public AppleApplication? AsAppleApplication() => this as AppleApplication; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///An auto-generated type for paginating through multiple MobilePlatformApplications. /// - [Description("An auto-generated type for paginating through multiple MobilePlatformApplications.")] - public class MobilePlatformApplicationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple MobilePlatformApplications.")] + public class MobilePlatformApplicationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in MobilePlatformApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in MobilePlatformApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in MobilePlatformApplicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for an Android based mobile platform application. /// - [Description("The input fields for an Android based mobile platform application.")] - public class MobilePlatformApplicationCreateAndroidInput : GraphQLObject - { + [Description("The input fields for an Android based mobile platform application.")] + public class MobilePlatformApplicationCreateAndroidInput : GraphQLObject + { /// ///Android application ID. /// - [Description("Android application ID.")] - public string? applicationId { get; set; } - + [Description("Android application ID.")] + public string? applicationId { get; set; } + /// ///The SHA256 fingerprints of the app’s signing certificate. /// - [Description("The SHA256 fingerprints of the app’s signing certificate.")] - [NonNull] - public IEnumerable? sha256CertFingerprints { get; set; } - + [Description("The SHA256 fingerprints of the app’s signing certificate.")] + [NonNull] + public IEnumerable? sha256CertFingerprints { get; set; } + /// ///Whether Android App Links are supported by this app. /// - [Description("Whether Android App Links are supported by this app.")] - [NonNull] - public bool? appLinksEnabled { get; set; } - } - + [Description("Whether Android App Links are supported by this app.")] + [NonNull] + public bool? appLinksEnabled { get; set; } + } + /// ///The input fields for an Apple based mobile platform application. /// - [Description("The input fields for an Apple based mobile platform application.")] - public class MobilePlatformApplicationCreateAppleInput : GraphQLObject - { + [Description("The input fields for an Apple based mobile platform application.")] + public class MobilePlatformApplicationCreateAppleInput : GraphQLObject + { /// ///Apple application ID. /// - [Description("Apple application ID.")] - public string? appId { get; set; } - + [Description("Apple application ID.")] + public string? appId { get; set; } + /// ///Whether Apple Universal Links are supported by this app. /// - [Description("Whether Apple Universal Links are supported by this app.")] - [NonNull] - public bool? universalLinksEnabled { get; set; } - + [Description("Whether Apple Universal Links are supported by this app.")] + [NonNull] + public bool? universalLinksEnabled { get; set; } + /// ///Whether Apple shared web credentials are enabled for this app. /// - [Description("Whether Apple shared web credentials are enabled for this app.")] - [NonNull] - public bool? sharedWebCredentialsEnabled { get; set; } - + [Description("Whether Apple shared web credentials are enabled for this app.")] + [NonNull] + public bool? sharedWebCredentialsEnabled { get; set; } + /// ///Whether Apple app clips are enabled for this app. /// - [Description("Whether Apple app clips are enabled for this app.")] - public bool? appClipsEnabled { get; set; } - + [Description("Whether Apple app clips are enabled for this app.")] + public bool? appClipsEnabled { get; set; } + /// ///The Apple app clip application ID. /// - [Description("The Apple app clip application ID.")] - public string? appClipApplicationId { get; set; } - } - + [Description("The Apple app clip application ID.")] + public string? appClipApplicationId { get; set; } + } + /// ///The input fields for a mobile application platform type. /// - [Description("The input fields for a mobile application platform type.")] - public class MobilePlatformApplicationCreateInput : GraphQLObject - { + [Description("The input fields for a mobile application platform type.")] + public class MobilePlatformApplicationCreateInput : GraphQLObject + { /// ///Android based mobile platform application. /// - [Description("Android based mobile platform application.")] - public MobilePlatformApplicationCreateAndroidInput? android { get; set; } - + [Description("Android based mobile platform application.")] + public MobilePlatformApplicationCreateAndroidInput? android { get; set; } + /// ///Apple based mobile platform application. /// - [Description("Apple based mobile platform application.")] - public MobilePlatformApplicationCreateAppleInput? apple { get; set; } - } - + [Description("Apple based mobile platform application.")] + public MobilePlatformApplicationCreateAppleInput? apple { get; set; } + } + /// ///Return type for `mobilePlatformApplicationCreate` mutation. /// - [Description("Return type for `mobilePlatformApplicationCreate` mutation.")] - public class MobilePlatformApplicationCreatePayload : GraphQLObject - { + [Description("Return type for `mobilePlatformApplicationCreate` mutation.")] + public class MobilePlatformApplicationCreatePayload : GraphQLObject + { /// ///Created mobile platform application. /// - [Description("Created mobile platform application.")] - public IMobilePlatformApplication? mobilePlatformApplication { get; set; } - + [Description("Created mobile platform application.")] + public IMobilePlatformApplication? mobilePlatformApplication { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `mobilePlatformApplicationDelete` mutation. /// - [Description("Return type for `mobilePlatformApplicationDelete` mutation.")] - public class MobilePlatformApplicationDeletePayload : GraphQLObject - { + [Description("Return type for `mobilePlatformApplicationDelete` mutation.")] + public class MobilePlatformApplicationDeletePayload : GraphQLObject + { /// ///The ID of the mobile platform application that was just deleted. /// - [Description("The ID of the mobile platform application that was just deleted.")] - public string? deletedMobilePlatformApplicationId { get; set; } - + [Description("The ID of the mobile platform application that was just deleted.")] + public string? deletedMobilePlatformApplicationId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one MobilePlatformApplication and a cursor during pagination. /// - [Description("An auto-generated type which holds one MobilePlatformApplication and a cursor during pagination.")] - public class MobilePlatformApplicationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one MobilePlatformApplication and a cursor during pagination.")] + public class MobilePlatformApplicationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of MobilePlatformApplicationEdge. /// - [Description("The item at the end of MobilePlatformApplicationEdge.")] - [NonNull] - public IMobilePlatformApplication? node { get; set; } - } - + [Description("The item at the end of MobilePlatformApplicationEdge.")] + [NonNull] + public IMobilePlatformApplication? node { get; set; } + } + /// ///The input fields for an Android based mobile platform application. /// - [Description("The input fields for an Android based mobile platform application.")] - public class MobilePlatformApplicationUpdateAndroidInput : GraphQLObject - { + [Description("The input fields for an Android based mobile platform application.")] + public class MobilePlatformApplicationUpdateAndroidInput : GraphQLObject + { /// ///Android application ID. /// - [Description("Android application ID.")] - public string? applicationId { get; set; } - + [Description("Android application ID.")] + public string? applicationId { get; set; } + /// ///The SHA256 fingerprints of the app’s signing certificate. /// - [Description("The SHA256 fingerprints of the app’s signing certificate.")] - public IEnumerable? sha256CertFingerprints { get; set; } - + [Description("The SHA256 fingerprints of the app’s signing certificate.")] + public IEnumerable? sha256CertFingerprints { get; set; } + /// ///Whether Android App Links are supported by this app. /// - [Description("Whether Android App Links are supported by this app.")] - public bool? appLinksEnabled { get; set; } - } - + [Description("Whether Android App Links are supported by this app.")] + public bool? appLinksEnabled { get; set; } + } + /// ///The input fields for an Apple based mobile platform application. /// - [Description("The input fields for an Apple based mobile platform application.")] - public class MobilePlatformApplicationUpdateAppleInput : GraphQLObject - { + [Description("The input fields for an Apple based mobile platform application.")] + public class MobilePlatformApplicationUpdateAppleInput : GraphQLObject + { /// ///Apple application ID. /// - [Description("Apple application ID.")] - public string? appId { get; set; } - + [Description("Apple application ID.")] + public string? appId { get; set; } + /// ///Whether Apple Universal Links are supported by this app. /// - [Description("Whether Apple Universal Links are supported by this app.")] - public bool? universalLinksEnabled { get; set; } - + [Description("Whether Apple Universal Links are supported by this app.")] + public bool? universalLinksEnabled { get; set; } + /// ///Whether Apple shared web credentials are enabled for this app. /// - [Description("Whether Apple shared web credentials are enabled for this app.")] - public bool? sharedWebCredentialsEnabled { get; set; } - + [Description("Whether Apple shared web credentials are enabled for this app.")] + public bool? sharedWebCredentialsEnabled { get; set; } + /// ///Whether Apple App Clips are enabled for this app. /// - [Description("Whether Apple App Clips are enabled for this app.")] - public bool? appClipsEnabled { get; set; } - + [Description("Whether Apple App Clips are enabled for this app.")] + public bool? appClipsEnabled { get; set; } + /// ///The Apple App Clip application ID. /// - [Description("The Apple App Clip application ID.")] - public string? appClipApplicationId { get; set; } - } - + [Description("The Apple App Clip application ID.")] + public string? appClipApplicationId { get; set; } + } + /// ///The input fields for the mobile platform application platform type. /// - [Description("The input fields for the mobile platform application platform type.")] - public class MobilePlatformApplicationUpdateInput : GraphQLObject - { + [Description("The input fields for the mobile platform application platform type.")] + public class MobilePlatformApplicationUpdateInput : GraphQLObject + { /// ///Android based Mobile Platform Application. /// - [Description("Android based Mobile Platform Application.")] - public MobilePlatformApplicationUpdateAndroidInput? android { get; set; } - + [Description("Android based Mobile Platform Application.")] + public MobilePlatformApplicationUpdateAndroidInput? android { get; set; } + /// ///Apple based Mobile Platform Application. /// - [Description("Apple based Mobile Platform Application.")] - public MobilePlatformApplicationUpdateAppleInput? apple { get; set; } - } - + [Description("Apple based Mobile Platform Application.")] + public MobilePlatformApplicationUpdateAppleInput? apple { get; set; } + } + /// ///Return type for `mobilePlatformApplicationUpdate` mutation. /// - [Description("Return type for `mobilePlatformApplicationUpdate` mutation.")] - public class MobilePlatformApplicationUpdatePayload : GraphQLObject - { + [Description("Return type for `mobilePlatformApplicationUpdate` mutation.")] + public class MobilePlatformApplicationUpdatePayload : GraphQLObject + { /// ///Created mobile platform application. /// - [Description("Created mobile platform application.")] - public IMobilePlatformApplication? mobilePlatformApplication { get; set; } - + [Description("Created mobile platform application.")] + public IMobilePlatformApplication? mobilePlatformApplication { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents an error in the input of a mutation. /// - [Description("Represents an error in the input of a mutation.")] - public class MobilePlatformApplicationUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error in the input of a mutation.")] + public class MobilePlatformApplicationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(MobilePlatformApplicationUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(MobilePlatformApplicationUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `MobilePlatformApplicationUserError`. /// - [Description("Possible error codes that can be returned by `MobilePlatformApplicationUserError`.")] - public enum MobilePlatformApplicationUserErrorCode - { + [Description("Possible error codes that can be returned by `MobilePlatformApplicationUserError`.")] + public enum MobilePlatformApplicationUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, - } - - public static class MobilePlatformApplicationUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string TOO_LONG = @"TOO_LONG"; - } - + [Description("The input value is too long.")] + TOO_LONG, + } + + public static class MobilePlatformApplicationUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string TOO_LONG = @"TOO_LONG"; + } + /// ///Represents a Shopify hosted 3D model. /// - [Description("Represents a Shopify hosted 3D model.")] - public class Model3d : GraphQLObject, IFile, IMedia, INode, IMetafieldReference - { + [Description("Represents a Shopify hosted 3D model.")] + public class Model3d : GraphQLObject, IFile, IMedia, INode, IMetafieldReference + { /// ///A word or phrase to describe the contents or the function of a file. /// - [Description("A word or phrase to describe the contents or the function of a file.")] - public string? alt { get; set; } - + [Description("A word or phrase to describe the contents or the function of a file.")] + public string? alt { get; set; } + /// ///The 3d model's bounding box information. /// - [Description("The 3d model's bounding box information.")] - public Model3dBoundingBox? boundingBox { get; set; } - + [Description("The 3d model's bounding box information.")] + public Model3dBoundingBox? boundingBox { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Any errors that have occurred on the file. /// - [Description("Any errors that have occurred on the file.")] - [NonNull] - public IEnumerable? fileErrors { get; set; } - + [Description("Any errors that have occurred on the file.")] + [NonNull] + public IEnumerable? fileErrors { get; set; } + /// ///The status of the file. /// - [Description("The status of the file.")] - [NonNull] - [EnumType(typeof(FileStatus))] - public string? fileStatus { get; set; } - + [Description("The status of the file.")] + [NonNull] + [EnumType(typeof(FileStatus))] + public string? fileStatus { get; set; } + /// ///The 3d model's filename. /// - [Description("The 3d model's filename.")] - [NonNull] - public string? filename { get; set; } - + [Description("The 3d model's filename.")] + [NonNull] + public string? filename { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The media content type. /// - [Description("The media content type.")] - [NonNull] - [EnumType(typeof(MediaContentType))] - public string? mediaContentType { get; set; } - + [Description("The media content type.")] + [NonNull] + [EnumType(typeof(MediaContentType))] + public string? mediaContentType { get; set; } + /// ///Any errors which have occurred on the media. /// - [Description("Any errors which have occurred on the media.")] - [NonNull] - public IEnumerable? mediaErrors { get; set; } - + [Description("Any errors which have occurred on the media.")] + [NonNull] + public IEnumerable? mediaErrors { get; set; } + /// ///The warnings attached to the media. /// - [Description("The warnings attached to the media.")] - [NonNull] - public IEnumerable? mediaWarnings { get; set; } - + [Description("The warnings attached to the media.")] + [NonNull] + public IEnumerable? mediaWarnings { get; set; } + /// ///The 3d model's original source. /// - [Description("The 3d model's original source.")] - public Model3dSource? originalSource { get; set; } - + [Description("The 3d model's original source.")] + public Model3dSource? originalSource { get; set; } + /// ///The preview image for the media. /// - [Description("The preview image for the media.")] - public MediaPreviewImage? preview { get; set; } - + [Description("The preview image for the media.")] + public MediaPreviewImage? preview { get; set; } + /// ///The 3d model's sources. /// - [Description("The 3d model's sources.")] - [NonNull] - public IEnumerable? sources { get; set; } - + [Description("The 3d model's sources.")] + [NonNull] + public IEnumerable? sources { get; set; } + /// ///Current status of the media. /// - [Description("Current status of the media.")] - [NonNull] - [EnumType(typeof(MediaStatus))] - public string? status { get; set; } - + [Description("Current status of the media.")] + [NonNull] + [EnumType(typeof(MediaStatus))] + public string? status { get; set; } + /// ///Status resulting from the latest update operation. See fileErrors for details. /// - [Description("Status resulting from the latest update operation. See fileErrors for details.")] - [EnumType(typeof(FileStatus))] - public string? updateStatus { get; set; } - + [Description("Status resulting from the latest update operation. See fileErrors for details.")] + [EnumType(typeof(FileStatus))] + public string? updateStatus { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the file was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Bounding box information of a 3d model. /// - [Description("Bounding box information of a 3d model.")] - public class Model3dBoundingBox : GraphQLObject - { + [Description("Bounding box information of a 3d model.")] + public class Model3dBoundingBox : GraphQLObject + { /// ///Size in meters of the smallest volume which contains the 3d model. /// - [Description("Size in meters of the smallest volume which contains the 3d model.")] - [NonNull] - public Vector3? size { get; set; } - } - + [Description("Size in meters of the smallest volume which contains the 3d model.")] + [NonNull] + public Vector3? size { get; set; } + } + /// ///A source for a Shopify-hosted 3d model. /// @@ -74387,128 +74387,128 @@ public class Model3dBoundingBox : GraphQLObject ///If the original source is in GLB format and over 15 MBs in size, then both the ///original and the USDZ formatted source are optimized to reduce the file size. /// - [Description("A source for a Shopify-hosted 3d model.\n\nTypes of sources include GLB and USDZ formatted 3d models, where the former\nis an original 3d model and the latter has been converted from the original.\n\nIf the original source is in GLB format and over 15 MBs in size, then both the\noriginal and the USDZ formatted source are optimized to reduce the file size.")] - public class Model3dSource : GraphQLObject - { + [Description("A source for a Shopify-hosted 3d model.\n\nTypes of sources include GLB and USDZ formatted 3d models, where the former\nis an original 3d model and the latter has been converted from the original.\n\nIf the original source is in GLB format and over 15 MBs in size, then both the\noriginal and the USDZ formatted source are optimized to reduce the file size.")] + public class Model3dSource : GraphQLObject + { /// ///The 3d model source's filesize. /// - [Description("The 3d model source's filesize.")] - [NonNull] - public int? filesize { get; set; } - + [Description("The 3d model source's filesize.")] + [NonNull] + public int? filesize { get; set; } + /// ///The 3d model source's format. /// - [Description("The 3d model source's format.")] - [NonNull] - public string? format { get; set; } - + [Description("The 3d model source's format.")] + [NonNull] + public string? format { get; set; } + /// ///The 3d model source's MIME type. /// - [Description("The 3d model source's MIME type.")] - [NonNull] - public string? mimeType { get; set; } - + [Description("The 3d model source's MIME type.")] + [NonNull] + public string? mimeType { get; set; } + /// ///The 3d model source's URL. /// - [Description("The 3d model source's URL.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The 3d model source's URL.")] + [NonNull] + public string? url { get; set; } + } + /// ///A collection of monetary values in their respective currencies. Typically used in the context of multi-currency pricing and transactions, ///when an amount in the shop's currency is converted to the customer's currency of choice (the presentment currency). /// - [Description("A collection of monetary values in their respective currencies. Typically used in the context of multi-currency pricing and transactions,\nwhen an amount in the shop's currency is converted to the customer's currency of choice (the presentment currency).")] - public class MoneyBag : GraphQLObject - { + [Description("A collection of monetary values in their respective currencies. Typically used in the context of multi-currency pricing and transactions,\nwhen an amount in the shop's currency is converted to the customer's currency of choice (the presentment currency).")] + public class MoneyBag : GraphQLObject + { /// ///Amount in presentment currency. /// - [Description("Amount in presentment currency.")] - [NonNull] - public MoneyV2? presentmentMoney { get; set; } - + [Description("Amount in presentment currency.")] + [NonNull] + public MoneyV2? presentmentMoney { get; set; } + /// ///Amount in shop currency. /// - [Description("Amount in shop currency.")] - [NonNull] - public MoneyV2? shopMoney { get; set; } - } - + [Description("Amount in shop currency.")] + [NonNull] + public MoneyV2? shopMoney { get; set; } + } + /// ///An input collection of monetary values in their respective currencies. ///Represents an amount in the shop's currency and the amount as converted to the customer's currency of choice (the presentment currency). /// - [Description("An input collection of monetary values in their respective currencies.\nRepresents an amount in the shop's currency and the amount as converted to the customer's currency of choice (the presentment currency).")] - public class MoneyBagInput : GraphQLObject - { + [Description("An input collection of monetary values in their respective currencies.\nRepresents an amount in the shop's currency and the amount as converted to the customer's currency of choice (the presentment currency).")] + public class MoneyBagInput : GraphQLObject + { /// ///Amount in shop currency. /// - [Description("Amount in shop currency.")] - [NonNull] - public MoneyInput? shopMoney { get; set; } - + [Description("Amount in shop currency.")] + [NonNull] + public MoneyInput? shopMoney { get; set; } + /// ///Amount in presentment currency. If this isn't given then we assume that the presentment currency is the same as the shop's currency. /// - [Description("Amount in presentment currency. If this isn't given then we assume that the presentment currency is the same as the shop's currency.")] - public MoneyInput? presentmentMoney { get; set; } - } - + [Description("Amount in presentment currency. If this isn't given then we assume that the presentment currency is the same as the shop's currency.")] + public MoneyInput? presentmentMoney { get; set; } + } + /// ///The input fields for a monetary value with currency. /// - [Description("The input fields for a monetary value with currency.")] - public class MoneyInput : GraphQLObject - { + [Description("The input fields for a monetary value with currency.")] + public class MoneyInput : GraphQLObject + { /// ///Decimal money amount. /// - [Description("Decimal money amount.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("Decimal money amount.")] + [NonNull] + public decimal? amount { get; set; } + /// ///Currency of the money. /// - [Description("Currency of the money.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - } - + [Description("Currency of the money.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + } + /// ///A precise monetary value and its associated currency. For example, 12.99 USD. /// - [Description("A precise monetary value and its associated currency. For example, 12.99 USD.")] - public class MoneyV2 : GraphQLObject, IDeliveryConditionCriteria, IPricingValue, ISellingPlanCheckoutChargeValue, ISellingPlanPricingPolicyAdjustmentValue - { + [Description("A precise monetary value and its associated currency. For example, 12.99 USD.")] + public class MoneyV2 : GraphQLObject, IDeliveryConditionCriteria, IPricingValue, ISellingPlanCheckoutChargeValue, ISellingPlanPricingPolicyAdjustmentValue + { /// ///A monetary value in decimal format, allowing for precise representation of cents or fractional ///currency. For example, 12.99. /// - [Description("A monetary value in decimal format, allowing for precise representation of cents or fractional\ncurrency. For example, 12.99.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("A monetary value in decimal format, allowing for precise representation of cents or fractional\ncurrency. For example, 12.99.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The three-letter currency code that represents a world currency used in a store. Currency codes ///include standard [standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes, ///and non-standard codes. For example, USD. /// - [Description("The three-letter currency code that represents a world currency used in a store. Currency codes\ninclude standard [standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes,\nand non-standard codes. For example, USD.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - } - + [Description("The three-letter currency code that represents a world currency used in a store. Currency codes\ninclude standard [standard ISO 4217 codes](https://en.wikipedia.org/wiki/ISO_4217), legacy codes,\nand non-standard codes. For example, USD.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + } + /// ///The input for moving a single object to a specific position in a set. /// @@ -74521,43 +74521,43 @@ public class MoneyV2 : GraphQLObject, IDeliveryConditionCriteria, IPric ///If `newPosition` is greater than or equal to the number of objects, the object is moved to the end of the set. ///Values do not have to be unique. Objects not included in the move list keep their relative order, aside from any displacement caused by the moves. /// - [Description("The input for moving a single object to a specific position in a set.\n\nProvide this input only for objects whose position actually changed; do not send inputs for the entire set.\n\n- id: The ID (GID) of the object to move.\n- newPosition: The zero-based index of the object's position within the set at the time this move is applied.\n\nMoves are applied sequentially, so `newPosition` for each move is evaluated after all prior moves in the same list.\nIf `newPosition` is greater than or equal to the number of objects, the object is moved to the end of the set.\nValues do not have to be unique. Objects not included in the move list keep their relative order, aside from any displacement caused by the moves.")] - public class MoveInput : GraphQLObject - { + [Description("The input for moving a single object to a specific position in a set.\n\nProvide this input only for objects whose position actually changed; do not send inputs for the entire set.\n\n- id: The ID (GID) of the object to move.\n- newPosition: The zero-based index of the object's position within the set at the time this move is applied.\n\nMoves are applied sequentially, so `newPosition` for each move is evaluated after all prior moves in the same list.\nIf `newPosition` is greater than or equal to the number of objects, the object is moved to the end of the set.\nValues do not have to be unique. Objects not included in the move list keep their relative order, aside from any displacement caused by the moves.")] + public class MoveInput : GraphQLObject + { /// ///The ID of the object to be moved. /// - [Description("The ID of the object to be moved.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the object to be moved.")] + [NonNull] + public string? id { get; set; } + /// ///Zero-based index of the object's position at the time this move is applied. If the value is >= the number of objects, the object is placed at the end. /// - [Description("Zero-based index of the object's position at the time this move is applied. If the value is >= the number of objects, the object is placed at the end.")] - [NonNull] - public ulong? newPosition { get; set; } - } - + [Description("Zero-based index of the object's position at the time this move is applied. If the value is >= the number of objects, the object is placed at the end.")] + [NonNull] + public ulong? newPosition { get; set; } + } + /// ///The schema's entry point for all mutation operations. /// - [Description("The schema's entry point for all mutation operations.")] - public class Mutation : GraphQLObject, IMutationRoot - { + [Description("The schema's entry point for all mutation operations.")] + public class Mutation : GraphQLObject, IMutationRoot + { /// ///Updates the email state value for an abandonment. /// - [Description("Updates the email state value for an abandonment.")] - [Obsolete("Use `abandonmentUpdateActivitiesDeliveryStatuses` instead.")] - public AbandonmentEmailStateUpdatePayload? abandonmentEmailStateUpdate { get; set; } - + [Description("Updates the email state value for an abandonment.")] + [Obsolete("Use `abandonmentUpdateActivitiesDeliveryStatuses` instead.")] + public AbandonmentEmailStateUpdatePayload? abandonmentEmailStateUpdate { get; set; } + /// ///Updates the marketing activities delivery statuses for an abandonment. /// - [Description("Updates the marketing activities delivery statuses for an abandonment.")] - public AbandonmentUpdateActivitiesDeliveryStatusesPayload? abandonmentUpdateActivitiesDeliveryStatuses { get; set; } - + [Description("Updates the marketing activities delivery statuses for an abandonment.")] + public AbandonmentUpdateActivitiesDeliveryStatusesPayload? abandonmentUpdateActivitiesDeliveryStatuses { get; set; } + /// ///Creates a one-time charge for app features or services that don't require recurring billing. This mutation is ideal for apps that sell individual features, premium content, or services on a per-use basis rather than subscription models. /// @@ -74572,9 +74572,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Explore one-time billing options on the [app purchases page](https://shopify.dev/docs/apps/launch/billing/support-one-time-purchases). /// - [Description("Creates a one-time charge for app features or services that don't require recurring billing. This mutation is ideal for apps that sell individual features, premium content, or services on a per-use basis rather than subscription models.\n\nFor example, a design app might charge merchants once for premium templates, or a marketing app could bill for individual campaign setups without ongoing monthly fees.\n\nUse the `AppPurchaseOneTimeCreate` mutation to:\n- Charge for premium features or content purchases\n- Bill for professional services or setup fees\n- Generate revenue from one-time digital product sales\n\nThe mutation returns a confirmation URL that merchants must visit to approve the charge. Test and development stores are not charged, allowing safe testing of billing flows.\n\nExplore one-time billing options on the [app purchases page](https://shopify.dev/docs/apps/launch/billing/support-one-time-purchases).")] - public AppPurchaseOneTimeCreatePayload? appPurchaseOneTimeCreate { get; set; } - + [Description("Creates a one-time charge for app features or services that don't require recurring billing. This mutation is ideal for apps that sell individual features, premium content, or services on a per-use basis rather than subscription models.\n\nFor example, a design app might charge merchants once for premium templates, or a marketing app could bill for individual campaign setups without ongoing monthly fees.\n\nUse the `AppPurchaseOneTimeCreate` mutation to:\n- Charge for premium features or content purchases\n- Bill for professional services or setup fees\n- Generate revenue from one-time digital product sales\n\nThe mutation returns a confirmation URL that merchants must visit to approve the charge. Test and development stores are not charged, allowing safe testing of billing flows.\n\nExplore one-time billing options on the [app purchases page](https://shopify.dev/docs/apps/launch/billing/support-one-time-purchases).")] + public AppPurchaseOneTimeCreatePayload? appPurchaseOneTimeCreate { get; set; } + /// ///Revokes previously granted access scopes from an app installation, allowing merchants to reduce an app's permissions without completely uninstalling it. This provides granular control over what data and functionality apps can access. /// @@ -74588,9 +74588,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [managing app permissions](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/manage-access-scopes#revoke-granted-scopes-dynamically). /// - [Description("Revokes previously granted access scopes from an app installation, allowing merchants to reduce an app's permissions without completely uninstalling it. This provides granular control over what data and functionality apps can access.\n\nFor example, if a merchant no longer wants an app to access customer information but still wants to use its inventory features, they can revoke the customer-related scopes while keeping inventory permissions active.\n\nUse the `appRevokeAccessScopes` mutation to:\n- Remove specific permissions from installed apps\n- Maintain app functionality while minimizing data exposure\n\nThe mutation returns details about which scopes were successfully revoked and any errors that prevented certain permissions from being removed.\n\nLearn more about [managing app permissions](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/manage-access-scopes#revoke-granted-scopes-dynamically).")] - public AppRevokeAccessScopesPayload? appRevokeAccessScopes { get; set; } - + [Description("Revokes previously granted access scopes from an app installation, allowing merchants to reduce an app's permissions without completely uninstalling it. This provides granular control over what data and functionality apps can access.\n\nFor example, if a merchant no longer wants an app to access customer information but still wants to use its inventory features, they can revoke the customer-related scopes while keeping inventory permissions active.\n\nUse the `appRevokeAccessScopes` mutation to:\n- Remove specific permissions from installed apps\n- Maintain app functionality while minimizing data exposure\n\nThe mutation returns details about which scopes were successfully revoked and any errors that prevented certain permissions from being removed.\n\nLearn more about [managing app permissions](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/manage-access-scopes#revoke-granted-scopes-dynamically).")] + public AppRevokeAccessScopesPayload? appRevokeAccessScopes { get; set; } + /// ///Cancels an active app subscription, stopping future billing cycles. The cancellation behavior depends on the `replacementBehavior` setting - it can either disable auto-renewal (allowing the subscription to continue until the end of the current billing period) or immediately cancel with prorated refunds. /// @@ -74605,21 +74605,21 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///For subscription lifecycle management and cancellation best practices, consult the [subscription management guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing). /// - [Description("Cancels an active app subscription, stopping future billing cycles. The cancellation behavior depends on the `replacementBehavior` setting - it can either disable auto-renewal (allowing the subscription to continue until the end of the current billing period) or immediately cancel with prorated refunds.\n\nWhen a merchant decides to discontinue using subscription features, this mutation provides a clean cancellation workflow that respects billing periods and merchant expectations.\n\nUse the `AppSubscriptionCancel` mutation to:\n- Process merchant-initiated subscription cancellations\n- Terminate subscriptions due to policy violations or account issues\n- Handle subscription cancellations during app uninstallation workflows\n\nThe cancellation timing and merchant access depends on the `replacementBehavior` setting and the app's specific implementation of subscription management.\n\nFor subscription lifecycle management and cancellation best practices, consult the [subscription management guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing).")] - public AppSubscriptionCancelPayload? appSubscriptionCancel { get; set; } - + [Description("Cancels an active app subscription, stopping future billing cycles. The cancellation behavior depends on the `replacementBehavior` setting - it can either disable auto-renewal (allowing the subscription to continue until the end of the current billing period) or immediately cancel with prorated refunds.\n\nWhen a merchant decides to discontinue using subscription features, this mutation provides a clean cancellation workflow that respects billing periods and merchant expectations.\n\nUse the `AppSubscriptionCancel` mutation to:\n- Process merchant-initiated subscription cancellations\n- Terminate subscriptions due to policy violations or account issues\n- Handle subscription cancellations during app uninstallation workflows\n\nThe cancellation timing and merchant access depends on the `replacementBehavior` setting and the app's specific implementation of subscription management.\n\nFor subscription lifecycle management and cancellation best practices, consult the [subscription management guide](https://shopify.dev/docs/apps/launch/billing/subscription-billing).")] + public AppSubscriptionCancelPayload? appSubscriptionCancel { get; set; } + /// ///Allows an app to charge a store for features or services on a recurring basis. /// - [Description("Allows an app to charge a store for features or services on a recurring basis.")] - public AppSubscriptionCreatePayload? appSubscriptionCreate { get; set; } - + [Description("Allows an app to charge a store for features or services on a recurring basis.")] + public AppSubscriptionCreatePayload? appSubscriptionCreate { get; set; } + /// ///Updates the capped amount on the usage pricing plan of an app subscription line item. /// - [Description("Updates the capped amount on the usage pricing plan of an app subscription line item.")] - public AppSubscriptionLineItemUpdatePayload? appSubscriptionLineItemUpdate { get; set; } - + [Description("Updates the capped amount on the usage pricing plan of an app subscription line item.")] + public AppSubscriptionLineItemUpdatePayload? appSubscriptionLineItemUpdate { get; set; } + /// ///Extends the trial period for an existing app subscription, giving merchants additional time to evaluate premium features before committing to paid billing. This mutation provides flexibility in trial management and can improve conversion rates by accommodating merchant needs. /// @@ -74636,9 +74636,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Trial extension strategies and conversion techniques are covered in the [offer free trials guide](https://shopify.dev/docs/apps/launch/billing/offer-free-trials). /// - [Description("Extends the trial period for an existing app subscription, giving merchants additional time to evaluate premium features before committing to paid billing. This mutation provides flexibility in trial management and can improve conversion rates by accommodating merchant needs.\n\nTrial extensions are particularly valuable when merchants need more time to fully evaluate complex features, experience technical setup delays, or require additional approval processes within their organization before committing to paid subscriptions.\n\nUse the `AppSubscriptionTrialExtend` mutation to:\n- Accommodate merchant requests for additional evaluation time\n- Compensate for service interruptions during trial periods\n- Support complex enterprise evaluation and approval workflows\n- Implement customer success strategies that improve trial-to-paid conversion\n- Handle technical onboarding delays that impact trial effectiveness\n\nThe extension modifies the existing trial end date, allowing continued access to subscription features without immediate billing. This approach maintains subscription continuity while providing merchants the flexibility they need for thorough feature evaluation.\n\nTrial extension strategies and conversion techniques are covered in the [offer free trials guide](https://shopify.dev/docs/apps/launch/billing/offer-free-trials).")] - public AppSubscriptionTrialExtendPayload? appSubscriptionTrialExtend { get; set; } - + [Description("Extends the trial period for an existing app subscription, giving merchants additional time to evaluate premium features before committing to paid billing. This mutation provides flexibility in trial management and can improve conversion rates by accommodating merchant needs.\n\nTrial extensions are particularly valuable when merchants need more time to fully evaluate complex features, experience technical setup delays, or require additional approval processes within their organization before committing to paid subscriptions.\n\nUse the `AppSubscriptionTrialExtend` mutation to:\n- Accommodate merchant requests for additional evaluation time\n- Compensate for service interruptions during trial periods\n- Support complex enterprise evaluation and approval workflows\n- Implement customer success strategies that improve trial-to-paid conversion\n- Handle technical onboarding delays that impact trial effectiveness\n\nThe extension modifies the existing trial end date, allowing continued access to subscription features without immediate billing. This approach maintains subscription continuity while providing merchants the flexibility they need for thorough feature evaluation.\n\nTrial extension strategies and conversion techniques are covered in the [offer free trials guide](https://shopify.dev/docs/apps/launch/billing/offer-free-trials).")] + public AppSubscriptionTrialExtendPayload? appSubscriptionTrialExtend { get; set; } + /// ///Uninstalls an app from a shop. /// @@ -74650,114 +74650,114 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [app lifecycle management](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/uninstall-app-api-request). /// - [Description("Uninstalls an app from a shop.\n\nThis mutation can only be used by apps to uninstall themselves. Apps with the `apps` access scope can uninstall other apps by providing the app ID in the input parameter.\n\nUse the `appUninstall` mutation to programmatically remove apps from shops.\n\nThe mutation returns the uninstalled app and any errors that occurred during the uninstallation process.\n\nLearn more about [app lifecycle management](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/uninstall-app-api-request).")] - public AppUninstallPayload? appUninstall { get; set; } - + [Description("Uninstalls an app from a shop.\n\nThis mutation can only be used by apps to uninstall themselves. Apps with the `apps` access scope can uninstall other apps by providing the app ID in the input parameter.\n\nUse the `appUninstall` mutation to programmatically remove apps from shops.\n\nThe mutation returns the uninstalled app and any errors that occurred during the uninstallation process.\n\nLearn more about [app lifecycle management](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation/uninstall-app-api-request).")] + public AppUninstallPayload? appUninstall { get; set; } + /// ///Enables an app to charge a store for features or services on a per-use basis. ///The usage charge value is counted towards the `cappedAmount` limit that was specified in the `appUsagePricingDetails` field when the app subscription was created. ///If you create an app usage charge that causes the total usage charges in a billing interval to exceed the capped amount, then a `Total price exceeds balance remaining` error is returned. /// - [Description("Enables an app to charge a store for features or services on a per-use basis.\nThe usage charge value is counted towards the `cappedAmount` limit that was specified in the `appUsagePricingDetails` field when the app subscription was created.\nIf you create an app usage charge that causes the total usage charges in a billing interval to exceed the capped amount, then a `Total price exceeds balance remaining` error is returned.")] - public AppUsageRecordCreatePayload? appUsageRecordCreate { get; set; } - + [Description("Enables an app to charge a store for features or services on a per-use basis.\nThe usage charge value is counted towards the `cappedAmount` limit that was specified in the `appUsagePricingDetails` field when the app subscription was created.\nIf you create an app usage charge that causes the total usage charges in a billing interval to exceed the capped amount, then a `Total price exceeds balance remaining` error is returned.")] + public AppUsageRecordCreatePayload? appUsageRecordCreate { get; set; } + /// ///Creates an article. /// - [Description("Creates an article.")] - public ArticleCreatePayload? articleCreate { get; set; } - + [Description("Creates an article.")] + public ArticleCreatePayload? articleCreate { get; set; } + /// ///Deletes an article. /// - [Description("Deletes an article.")] - public ArticleDeletePayload? articleDelete { get; set; } - + [Description("Deletes an article.")] + public ArticleDeletePayload? articleDelete { get; set; } + /// ///Updates an article. /// - [Description("Updates an article.")] - public ArticleUpdatePayload? articleUpdate { get; set; } - + [Description("Updates an article.")] + public ArticleUpdatePayload? articleUpdate { get; set; } + /// ///Update the backup region that is used when we have no better signal of what region a buyer is in. /// - [Description("Update the backup region that is used when we have no better signal of what region a buyer is in.")] - public BackupRegionUpdatePayload? backupRegionUpdate { get; set; } - + [Description("Update the backup region that is used when we have no better signal of what region a buyer is in.")] + public BackupRegionUpdatePayload? backupRegionUpdate { get; set; } + /// ///Creates a blog. /// - [Description("Creates a blog.")] - public BlogCreatePayload? blogCreate { get; set; } - + [Description("Creates a blog.")] + public BlogCreatePayload? blogCreate { get; set; } + /// ///Deletes a blog. /// - [Description("Deletes a blog.")] - public BlogDeletePayload? blogDelete { get; set; } - + [Description("Deletes a blog.")] + public BlogDeletePayload? blogDelete { get; set; } + /// ///Updates a blog. /// - [Description("Updates a blog.")] - public BlogUpdatePayload? blogUpdate { get; set; } - + [Description("Updates a blog.")] + public BlogUpdatePayload? blogUpdate { get; set; } + /// ///Creates resource feedback for multiple discounts. /// - [Description("Creates resource feedback for multiple discounts.")] - public BulkDiscountResourceFeedbackCreatePayload? bulkDiscountResourceFeedbackCreate { get; set; } - + [Description("Creates resource feedback for multiple discounts.")] + public BulkDiscountResourceFeedbackCreatePayload? bulkDiscountResourceFeedbackCreate { get; set; } + /// ///Starts the cancelation process of a running bulk operation. /// ///There may be a short delay from when a cancelation starts until the operation is actually canceled. /// - [Description("Starts the cancelation process of a running bulk operation.\n\nThere may be a short delay from when a cancelation starts until the operation is actually canceled.")] - public BulkOperationCancelPayload? bulkOperationCancel { get; set; } - + [Description("Starts the cancelation process of a running bulk operation.\n\nThere may be a short delay from when a cancelation starts until the operation is actually canceled.")] + public BulkOperationCancelPayload? bulkOperationCancel { get; set; } + /// ///Creates and runs a bulk operation mutation. /// ///To learn how to bulk import large volumes of data asynchronously, refer to the ///[bulk import data guide](https://shopify.dev/api/usage/bulk-operations/imports). /// - [Description("Creates and runs a bulk operation mutation.\n\nTo learn how to bulk import large volumes of data asynchronously, refer to the\n[bulk import data guide](https://shopify.dev/api/usage/bulk-operations/imports).")] - public BulkOperationRunMutationPayload? bulkOperationRunMutation { get; set; } - + [Description("Creates and runs a bulk operation mutation.\n\nTo learn how to bulk import large volumes of data asynchronously, refer to the\n[bulk import data guide](https://shopify.dev/api/usage/bulk-operations/imports).")] + public BulkOperationRunMutationPayload? bulkOperationRunMutation { get; set; } + /// ///Creates and runs a bulk operation query. /// ///See the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/queries) for more details. /// - [Description("Creates and runs a bulk operation query.\n\nSee the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/queries) for more details.")] - public BulkOperationRunQueryPayload? bulkOperationRunQuery { get; set; } - + [Description("Creates and runs a bulk operation query.\n\nSee the [bulk operations guide](https://shopify.dev/api/usage/bulk-operations/queries) for more details.")] + public BulkOperationRunQueryPayload? bulkOperationRunQuery { get; set; } + /// ///Creates product feedback for multiple products. /// - [Description("Creates product feedback for multiple products.")] - public BulkProductResourceFeedbackCreatePayload? bulkProductResourceFeedbackCreate { get; set; } - + [Description("Creates product feedback for multiple products.")] + public BulkProductResourceFeedbackCreatePayload? bulkProductResourceFeedbackCreate { get; set; } + /// ///Creates a new carrier service. /// - [Description("Creates a new carrier service.")] - public CarrierServiceCreatePayload? carrierServiceCreate { get; set; } - + [Description("Creates a new carrier service.")] + public CarrierServiceCreatePayload? carrierServiceCreate { get; set; } + /// ///Removes an existing carrier service. /// - [Description("Removes an existing carrier service.")] - public CarrierServiceDeletePayload? carrierServiceDelete { get; set; } - + [Description("Removes an existing carrier service.")] + public CarrierServiceDeletePayload? carrierServiceDelete { get; set; } + /// ///Updates a carrier service. Only the app that creates a carrier service can update it. /// - [Description("Updates a carrier service. Only the app that creates a carrier service can update it.")] - public CarrierServiceUpdatePayload? carrierServiceUpdate { get; set; } - + [Description("Updates a carrier service. Only the app that creates a carrier service can update it.")] + public CarrierServiceUpdatePayload? carrierServiceUpdate { get; set; } + /// ///Creates a cart transform function that lets merchants customize how products are bundled and presented during checkout. This gives merchants powerful control over their merchandising strategy by allowing apps to modify cart line items programmatically, supporting advanced approaches like dynamic bundles or personalized product recommendations. /// @@ -74776,9 +74776,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [customized bundles](https://shopify.dev/docs/apps/selling-strategies/bundles/add-a-customized-bundle). /// - [Description("Creates a cart transform function that lets merchants customize how products are bundled and presented during checkout. This gives merchants powerful control over their merchandising strategy by allowing apps to modify cart line items programmatically, supporting advanced approaches like dynamic bundles or personalized product recommendations.\n\nFor example, a bundle app might create a cart transform that automatically groups related products (like a camera, lens, and case) into a single bundle line item when customers add them to their cart, complete with bundle pricing and unified presentation.\n\nUse `CartTransformCreate` to:\n- Deploy custom bundling logic to merchant stores\n- Enable dynamic product grouping during checkout\n- Implement personalized product recommendations\n- Create conditional offers based on cart contents\n- Support complex pricing strategies for product combinations\n\nThe mutation processes synchronously and returns the created cart transform along with any validation errors. Once created, the cart transform function becomes active for the shop and will process cart modifications according to your defined logic. Cart transforms integrate with [Shopify Functions](https://shopify.dev/docs/api/functions) to provide powerful customization capabilities while maintaining checkout performance.\n\nCart Transform functions can be configured to block checkout on failure or allow graceful degradation, giving you control over how errors are handled in the customer experience.\n\nLearn more about [customized bundles](https://shopify.dev/docs/apps/selling-strategies/bundles/add-a-customized-bundle).")] - public CartTransformCreatePayload? cartTransformCreate { get; set; } - + [Description("Creates a cart transform function that lets merchants customize how products are bundled and presented during checkout. This gives merchants powerful control over their merchandising strategy by allowing apps to modify cart line items programmatically, supporting advanced approaches like dynamic bundles or personalized product recommendations.\n\nFor example, a bundle app might create a cart transform that automatically groups related products (like a camera, lens, and case) into a single bundle line item when customers add them to their cart, complete with bundle pricing and unified presentation.\n\nUse `CartTransformCreate` to:\n- Deploy custom bundling logic to merchant stores\n- Enable dynamic product grouping during checkout\n- Implement personalized product recommendations\n- Create conditional offers based on cart contents\n- Support complex pricing strategies for product combinations\n\nThe mutation processes synchronously and returns the created cart transform along with any validation errors. Once created, the cart transform function becomes active for the shop and will process cart modifications according to your defined logic. Cart transforms integrate with [Shopify Functions](https://shopify.dev/docs/api/functions) to provide powerful customization capabilities while maintaining checkout performance.\n\nCart Transform functions can be configured to block checkout on failure or allow graceful degradation, giving you control over how errors are handled in the customer experience.\n\nLearn more about [customized bundles](https://shopify.dev/docs/apps/selling-strategies/bundles/add-a-customized-bundle).")] + public CartTransformCreatePayload? cartTransformCreate { get; set; } + /// ///Removes an existing cart transform function from the merchant's store, disabling any customized bundle or cart modification logic it provided. This mutation persistently deletes the transform configuration and stops all associated cart processing. /// @@ -74797,45 +74797,45 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [managing cart transforms](https://shopify.dev/docs/apps/selling-strategies/bundles). /// - [Description("Removes an existing cart transform function from the merchant's store, disabling any customized bundle or cart modification logic it provided. This mutation persistently deletes the transform configuration and stops all associated cart processing.\n\nFor example, when discontinuing a bundle app or removing specific merchandising features, you would delete the corresponding cart transform to ensure customers no longer see the bundled products or modified cart behavior.\n\nUse `CartTransformDelete` to:\n- Deactivate customized bundle logic when removing app features\n- Clean up unused transform functions\n- Disable cart modifications during app uninstallation\n- Remove outdated merchandising strategies\n- Restore default cart behavior for merchants\n\nThe deletion processes immediately and returns the ID of the removed cart transform for confirmation. Once deleted, the transform function stops processing new cart operations, though existing cart sessions may retain their current state until refresh. This ensures a clean transition without disrupting active customer sessions.\n\nConsider the timing of deletions carefully, as removing transforms during peak shopping periods could affect customer experience if they have active carts with transformed items.\n\nLearn more about [managing cart transforms](https://shopify.dev/docs/apps/selling-strategies/bundles).")] - public CartTransformDeletePayload? cartTransformDelete { get; set; } - + [Description("Removes an existing cart transform function from the merchant's store, disabling any customized bundle or cart modification logic it provided. This mutation persistently deletes the transform configuration and stops all associated cart processing.\n\nFor example, when discontinuing a bundle app or removing specific merchandising features, you would delete the corresponding cart transform to ensure customers no longer see the bundled products or modified cart behavior.\n\nUse `CartTransformDelete` to:\n- Deactivate customized bundle logic when removing app features\n- Clean up unused transform functions\n- Disable cart modifications during app uninstallation\n- Remove outdated merchandising strategies\n- Restore default cart behavior for merchants\n\nThe deletion processes immediately and returns the ID of the removed cart transform for confirmation. Once deleted, the transform function stops processing new cart operations, though existing cart sessions may retain their current state until refresh. This ensures a clean transition without disrupting active customer sessions.\n\nConsider the timing of deletions carefully, as removing transforms during peak shopping periods could affect customer experience if they have active carts with transformed items.\n\nLearn more about [managing cart transforms](https://shopify.dev/docs/apps/selling-strategies/bundles).")] + public CartTransformDeletePayload? cartTransformDelete { get; set; } + /// ///Updates the context of a catalog. /// - [Description("Updates the context of a catalog.")] - public CatalogContextUpdatePayload? catalogContextUpdate { get; set; } - + [Description("Updates the context of a catalog.")] + public CatalogContextUpdatePayload? catalogContextUpdate { get; set; } + /// ///Creates a new catalog. For a complete explanation of a [`Catalog`](https://shopify.dev/api/admin-graphql/latest/interfaces/catalog)'s behaviour, and how you can use it with [`Publication`s](https://shopify.dev/api/admin-graphql/latest/objects/Publication) and [`PriceList`s](https://shopify.dev/api/admin-graphql/latest/objects/PriceList), see [here](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets). /// - [Description("Creates a new catalog. For a complete explanation of a [`Catalog`](https://shopify.dev/api/admin-graphql/latest/interfaces/catalog)'s behaviour, and how you can use it with [`Publication`s](https://shopify.dev/api/admin-graphql/latest/objects/Publication) and [`PriceList`s](https://shopify.dev/api/admin-graphql/latest/objects/PriceList), see [here](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets).")] - public CatalogCreatePayload? catalogCreate { get; set; } - + [Description("Creates a new catalog. For a complete explanation of a [`Catalog`](https://shopify.dev/api/admin-graphql/latest/interfaces/catalog)'s behaviour, and how you can use it with [`Publication`s](https://shopify.dev/api/admin-graphql/latest/objects/Publication) and [`PriceList`s](https://shopify.dev/api/admin-graphql/latest/objects/PriceList), see [here](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets).")] + public CatalogCreatePayload? catalogCreate { get; set; } + /// ///Delete a catalog. /// - [Description("Delete a catalog.")] - public CatalogDeletePayload? catalogDelete { get; set; } - + [Description("Delete a catalog.")] + public CatalogDeletePayload? catalogDelete { get; set; } + /// ///Updates an existing catalog. /// - [Description("Updates an existing catalog.")] - public CatalogUpdatePayload? catalogUpdate { get; set; } - + [Description("Updates an existing catalog.")] + public CatalogUpdatePayload? catalogUpdate { get; set; } + /// ///Delete a checkout and accounts app configuration. /// - [Description("Delete a checkout and accounts app configuration.")] - public CheckoutAndAccountsAppConfigurationDeletePayload? checkoutAndAccountsAppConfigurationDelete { get; set; } - + [Description("Delete a checkout and accounts app configuration.")] + public CheckoutAndAccountsAppConfigurationDeletePayload? checkoutAndAccountsAppConfigurationDelete { get; set; } + /// ///Create or update a checkout and accounts app configuration. /// - [Description("Create or update a checkout and accounts app configuration.")] - public CheckoutAndAccountsAppConfigurationUpdatePayload? checkoutAndAccountsAppConfigurationUpdate { get; set; } - + [Description("Create or update a checkout and accounts app configuration.")] + public CheckoutAndAccountsAppConfigurationUpdatePayload? checkoutAndAccountsAppConfigurationUpdate { get; set; } + /// ///Updates the checkout branding settings for a ///[checkout profile](https://shopify.dev/api/admin-graphql/unstable/queries/checkoutProfile). @@ -74847,9 +74847,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///To learn more about updating checkout branding settings, refer to the checkout branding ///[tutorial](https://shopify.dev/docs/apps/checkout/styling). /// - [Description("Updates the checkout branding settings for a\n[checkout profile](https://shopify.dev/api/admin-graphql/unstable/queries/checkoutProfile).\n\nIf the settings don't exist, then new settings are created. The checkout branding settings applied to a\npublished checkout profile will be immediately visible within the store's checkout. The checkout branding\nsettings applied to a draft checkout profile could be previewed within the admin checkout editor.\n\nTo learn more about updating checkout branding settings, refer to the checkout branding\n[tutorial](https://shopify.dev/docs/apps/checkout/styling).")] - public CheckoutBrandingUpsertPayload? checkoutBrandingUpsert { get; set; } - + [Description("Updates the checkout branding settings for a\n[checkout profile](https://shopify.dev/api/admin-graphql/unstable/queries/checkoutProfile).\n\nIf the settings don't exist, then new settings are created. The checkout branding settings applied to a\npublished checkout profile will be immediately visible within the store's checkout. The checkout branding\nsettings applied to a draft checkout profile could be previewed within the admin checkout editor.\n\nTo learn more about updating checkout branding settings, refer to the checkout branding\n[tutorial](https://shopify.dev/docs/apps/checkout/styling).")] + public CheckoutBrandingUpsertPayload? checkoutBrandingUpsert { get; set; } + /// ///Adds multiple products to an existing collection in a single operation. This mutation provides an efficient way to bulk-manage collection membership without individual product updates. /// @@ -74867,15 +74867,15 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection). /// - [Description("Adds multiple products to an existing collection in a single operation. This mutation provides an efficient way to bulk-manage collection membership without individual product updates.\n\nFor example, when merchants create seasonal collections, they can add dozens of related products at once rather than updating each product individually. A clothing store might add all winter jackets to a \"Winter Collection\" in one operation.\n\nUse `CollectionAddProducts` to:\n- Bulk-add products to collections for efficient catalog management\n- Implement collection building tools in admin interfaces\n- Organize collection membership during bulk product operations\n- Reduce API calls when managing large product sets\n\nThe mutation processes multiple product additions and returns success status along with any errors encountered during the operation. Products are added to the collection while preserving existing collection settings.\n\nThis operation only works with manual collections where merchants explicitly choose which products to include. It will return an error if used with smart collections that automatically include products based on conditions.\n\nLearn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] - public CollectionAddProductsPayload? collectionAddProducts { get; set; } - + [Description("Adds multiple products to an existing collection in a single operation. This mutation provides an efficient way to bulk-manage collection membership without individual product updates.\n\nFor example, when merchants create seasonal collections, they can add dozens of related products at once rather than updating each product individually. A clothing store might add all winter jackets to a \"Winter Collection\" in one operation.\n\nUse `CollectionAddProducts` to:\n- Bulk-add products to collections for efficient catalog management\n- Implement collection building tools in admin interfaces\n- Organize collection membership during bulk product operations\n- Reduce API calls when managing large product sets\n\nThe mutation processes multiple product additions and returns success status along with any errors encountered during the operation. Products are added to the collection while preserving existing collection settings.\n\nThis operation only works with manual collections where merchants explicitly choose which products to include. It will return an error if used with smart collections that automatically include products based on conditions.\n\nLearn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] + public CollectionAddProductsPayload? collectionAddProducts { get; set; } + /// ///Asynchronously adds a set of products to a given collection. It can take a long time to run. Instead of returning a collection, it returns a job which should be polled. /// - [Description("Asynchronously adds a set of products to a given collection. It can take a long time to run. Instead of returning a collection, it returns a job which should be polled.")] - public CollectionAddProductsV2Payload? collectionAddProductsV2 { get; set; } - + [Description("Asynchronously adds a set of products to a given collection. It can take a long time to run. Instead of returning a collection, it returns a job which should be polled.")] + public CollectionAddProductsV2Payload? collectionAddProductsV2 { get; set; } + /// ///Creates a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) ///to group [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) together @@ -74902,9 +74902,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities). /// - [Description("Creates a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection)\nto group [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) together\nin the [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\nFor example, an athletics store might create different collections for running attire, shoes, and accessories.\n\nThere are two types of collections:\n\n- **[Custom (manual) collections](https://help.shopify.com/manual/products/collections/manual-shopify-collection)**: You specify the products to include in a collection.\n- **[Smart (automated) collections](https://help.shopify.com/manual/products/collections/automated-collections)**: You define rules, and products matching those rules are automatically\nincluded in the collection.\n\nUse the `collectionCreate` mutation when you need to:\n\n- Create a new collection for a product launch or campaign\n- Organize products by category, season, or promotion\n- Automate product grouping using rules (for example, by tag, type, or price)\n\n> Note:\n> The created collection is unpublished by default. To make it available to customers,\nuse the [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\nmutation after creation.\n\nLearn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] - public CollectionCreatePayload? collectionCreate { get; set; } - + [Description("Creates a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection)\nto group [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) together\nin the [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\nFor example, an athletics store might create different collections for running attire, shoes, and accessories.\n\nThere are two types of collections:\n\n- **[Custom (manual) collections](https://help.shopify.com/manual/products/collections/manual-shopify-collection)**: You specify the products to include in a collection.\n- **[Smart (automated) collections](https://help.shopify.com/manual/products/collections/automated-collections)**: You define rules, and products matching those rules are automatically\nincluded in the collection.\n\nUse the `collectionCreate` mutation when you need to:\n\n- Create a new collection for a product launch or campaign\n- Organize products by category, season, or promotion\n- Automate product grouping using rules (for example, by tag, type, or price)\n\n> Note:\n> The created collection is unpublished by default. To make it available to customers,\nuse the [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\nmutation after creation.\n\nLearn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] + public CollectionCreatePayload? collectionCreate { get; set; } + /// ///Deletes a collection and removes it permanently from the store. This operation cannot be undone and will remove the collection from all sales channels where it was published. /// @@ -74919,16 +74919,16 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection). /// - [Description("Deletes a collection and removes it permanently from the store. This operation cannot be undone and will remove the collection from all sales channels where it was published.\n\nFor example, when merchants discontinue seasonal promotions or reorganize their catalog structure, they can delete outdated collections like \"Back to School 2023\" to keep their store organized.\n\nUse `CollectionDelete` to:\n- Remove outdated or unused collections from stores\n- Clean up collection structures during catalog reorganization\n- Implement collection management tools with deletion capabilities\n\nProducts within the deleted collection remain in the store but are no longer grouped under that collection.\n\nLearn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] - public CollectionDeletePayload? collectionDelete { get; set; } - + [Description("Deletes a collection and removes it permanently from the store. This operation cannot be undone and will remove the collection from all sales channels where it was published.\n\nFor example, when merchants discontinue seasonal promotions or reorganize their catalog structure, they can delete outdated collections like \"Back to School 2023\" to keep their store organized.\n\nUse `CollectionDelete` to:\n- Remove outdated or unused collections from stores\n- Clean up collection structures during catalog reorganization\n- Implement collection management tools with deletion capabilities\n\nProducts within the deleted collection remain in the store but are no longer grouped under that collection.\n\nLearn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] + public CollectionDeletePayload? collectionDelete { get; set; } + /// ///Publishes a collection to a channel. /// - [Description("Publishes a collection to a channel.")] - [Obsolete("Use `publishablePublish` instead.")] - public CollectionPublishPayload? collectionPublish { get; set; } - + [Description("Publishes a collection to a channel.")] + [Obsolete("Use `publishablePublish` instead.")] + public CollectionPublishPayload? collectionPublish { get; set; } + /// ///Removes multiple products from a collection in a single operation. This mutation can process large product sets (up to 250 products) and may take significant time to complete for collections with many products. /// @@ -74943,9 +74943,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection). /// - [Description("Removes multiple products from a collection in a single operation. This mutation can process large product sets (up to 250 products) and may take significant time to complete for collections with many products.\n\nFor example, when ending a seasonal promotion, merchants can remove all sale items from a \"Summer Clearance\" collection at once rather than editing each product individually.\n\nUse `CollectionRemoveProducts` to:\n- Bulk-remove products from collections efficiently\n- Clean up collection membership during catalog updates\n- Implement automated collection management workflows\n\nThe operation processes asynchronously to avoid timeouts and performance issues, especially for large product sets.\n\nLearn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] - public CollectionRemoveProductsPayload? collectionRemoveProducts { get; set; } - + [Description("Removes multiple products from a collection in a single operation. This mutation can process large product sets (up to 250 products) and may take significant time to complete for collections with many products.\n\nFor example, when ending a seasonal promotion, merchants can remove all sale items from a \"Summer Clearance\" collection at once rather than editing each product individually.\n\nUse `CollectionRemoveProducts` to:\n- Bulk-remove products from collections efficiently\n- Clean up collection membership during catalog updates\n- Implement automated collection management workflows\n\nThe operation processes asynchronously to avoid timeouts and performance issues, especially for large product sets.\n\nLearn more about [collection management](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] + public CollectionRemoveProductsPayload? collectionRemoveProducts { get; set; } + /// ///Asynchronously reorders products within a specified collection. Instead of returning an updated collection, this mutation returns a job, which should be [polled](https://shopify.dev/api/admin-graphql/latest/queries/job). The [`Collection.sortOrder`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-collection-sortorder) must be `MANUAL`. /// @@ -74965,16 +74965,16 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Displaced products will have their position altered in a consistent manner with no gaps. /// - [Description("Asynchronously reorders products within a specified collection. Instead of returning an updated collection, this mutation returns a job, which should be [polled](https://shopify.dev/api/admin-graphql/latest/queries/job). The [`Collection.sortOrder`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-collection-sortorder) must be `MANUAL`.\n\nHow to use this mutation:\n- Provide only the products that actually moved in the `moves` list; do not send the entire product list. For example: to move the product at index 1 to index N, send a single move for that product with `newPosition: N`.\n- Each move is applied sequentially in the order provided.\n- `newPosition` is a zero-based index within the collection at the moment the move is applied (after any prior moves in the list).\n- Products not included in `moves` keep their relative order, aside from any displacement caused by the moves.\n- If `newPosition` is greater than or equal to the number of products, the product is placed at the end.\n\nExample:\n- Initial order: [A, B, C, D, E] (indices 0..4)\n- Moves (applied in order):\n - E -> newPosition: 1\n - C -> newPosition: 4\n- Result: [A, E, B, D, C]\n\nDisplaced products will have their position altered in a consistent manner with no gaps.")] - public CollectionReorderProductsPayload? collectionReorderProducts { get; set; } - + [Description("Asynchronously reorders products within a specified collection. Instead of returning an updated collection, this mutation returns a job, which should be [polled](https://shopify.dev/api/admin-graphql/latest/queries/job). The [`Collection.sortOrder`](https://shopify.dev/api/admin-graphql/latest/objects/Collection#field-collection-sortorder) must be `MANUAL`.\n\nHow to use this mutation:\n- Provide only the products that actually moved in the `moves` list; do not send the entire product list. For example: to move the product at index 1 to index N, send a single move for that product with `newPosition: N`.\n- Each move is applied sequentially in the order provided.\n- `newPosition` is a zero-based index within the collection at the moment the move is applied (after any prior moves in the list).\n- Products not included in `moves` keep their relative order, aside from any displacement caused by the moves.\n- If `newPosition` is greater than or equal to the number of products, the product is placed at the end.\n\nExample:\n- Initial order: [A, B, C, D, E] (indices 0..4)\n- Moves (applied in order):\n - E -> newPosition: 1\n - C -> newPosition: 4\n- Result: [A, E, B, D, C]\n\nDisplaced products will have their position altered in a consistent manner with no gaps.")] + public CollectionReorderProductsPayload? collectionReorderProducts { get; set; } + /// ///Unpublishes a collection. /// - [Description("Unpublishes a collection.")] - [Obsolete("Use `publishableUnpublish` instead.")] - public CollectionUnpublishPayload? collectionUnpublish { get; set; } - + [Description("Unpublishes a collection.")] + [Obsolete("Use `publishableUnpublish` instead.")] + public CollectionUnpublishPayload? collectionUnpublish { get; set; } + /// ///Updates a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection), ///modifying its properties, products, or publication settings. Collections help organize @@ -75002,9 +75002,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities). /// - [Description("Updates a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection),\nmodifying its properties, products, or publication settings. Collections help organize\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) together\nin the [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\n\nUse the `collectionUpdate` mutation to programmatically modify collections in scenarios such as:\n\n- Updating collection details, like title, description, or image\n- Modifying SEO metadata for better search visibility\n- Changing which products are included (using rule updates for smart collections)\n- Publishing or unpublishing collections across different sales channels\n- Updating custom data using [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields)\n\nThere are two types of collections with different update capabilities:\n\n- **[Custom (manual) collections](https://help.shopify.com/manual/products/collections/manual-shopify-collection)**: You can update collection properties, but rule sets can't be modified since products are manually selected.\n- **[Smart (automated) collections](https://help.shopify.com/manual/products/collections/automated-collections)**: You can update both collection properties and the rules that automatically determine which products are included.\nWhen updating [rule sets](https://shopify.dev/docs/api/admin-graphql/latest/objects/CollectionRuleConditions) for smart collections, the operation might be processed asynchronously. In these cases, the mutation returns a [`job`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job) object that you can use to track the progress of the update.\n\nTo publish or unpublish collections to specific sales channels, use the dedicated\n[`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish) and\n[`publishableUnpublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishableUnpublish) mutations.\n\nLearn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] - public CollectionUpdatePayload? collectionUpdate { get; set; } - + [Description("Updates a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection),\nmodifying its properties, products, or publication settings. Collections help organize\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) together\nin the [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\n\nUse the `collectionUpdate` mutation to programmatically modify collections in scenarios such as:\n\n- Updating collection details, like title, description, or image\n- Modifying SEO metadata for better search visibility\n- Changing which products are included (using rule updates for smart collections)\n- Publishing or unpublishing collections across different sales channels\n- Updating custom data using [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields)\n\nThere are two types of collections with different update capabilities:\n\n- **[Custom (manual) collections](https://help.shopify.com/manual/products/collections/manual-shopify-collection)**: You can update collection properties, but rule sets can't be modified since products are manually selected.\n- **[Smart (automated) collections](https://help.shopify.com/manual/products/collections/automated-collections)**: You can update both collection properties and the rules that automatically determine which products are included.\nWhen updating [rule sets](https://shopify.dev/docs/api/admin-graphql/latest/objects/CollectionRuleConditions) for smart collections, the operation might be processed asynchronously. In these cases, the mutation returns a [`job`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Job) object that you can use to track the progress of the update.\n\nTo publish or unpublish collections to specific sales channels, use the dedicated\n[`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish) and\n[`publishableUnpublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishableUnpublish) mutations.\n\nLearn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] + public CollectionUpdatePayload? collectionUpdate { get; set; } + /// ///Add, remove and update `CombinedListing`s of a given Product. /// @@ -75021,297 +75021,297 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [Combined Listings](https://shopify.dev/apps/selling-strategies/combined-listings). /// - [Description("Add, remove and update `CombinedListing`s of a given Product.\n\n`CombinedListing`s are comprised of multiple products to create a single listing. There are two kinds of products used in a `CombinedListing`:\n\n1. Parent products\n2. Child products\n\nThe parent product is created with a `productCreate` with a `CombinedListingRole` of `PARENT`. Once created, you can associate child products with the parent product using this mutation. Parent products represent the idea of a product (e.g. Shoe).\n\nChild products represent a particular option value (or combination of option values) of a parent product. For instance, with your Shoe parent product, you may have several child products representing specific colors of the shoe (e.g. Shoe - Blue). You could also have child products representing more than a single option (e.g. Shoe - Blue/Canvas, Shoe - Blue/Leather, etc...).\n\nThe combined listing is the association of parent product to one or more child products.\n\nLearn more about [Combined Listings](https://shopify.dev/apps/selling-strategies/combined-listings).")] - public CombinedListingUpdatePayload? combinedListingUpdate { get; set; } - + [Description("Add, remove and update `CombinedListing`s of a given Product.\n\n`CombinedListing`s are comprised of multiple products to create a single listing. There are two kinds of products used in a `CombinedListing`:\n\n1. Parent products\n2. Child products\n\nThe parent product is created with a `productCreate` with a `CombinedListingRole` of `PARENT`. Once created, you can associate child products with the parent product using this mutation. Parent products represent the idea of a product (e.g. Shoe).\n\nChild products represent a particular option value (or combination of option values) of a parent product. For instance, with your Shoe parent product, you may have several child products representing specific colors of the shoe (e.g. Shoe - Blue). You could also have child products representing more than a single option (e.g. Shoe - Blue/Canvas, Shoe - Blue/Leather, etc...).\n\nThe combined listing is the association of parent product to one or more child products.\n\nLearn more about [Combined Listings](https://shopify.dev/apps/selling-strategies/combined-listings).")] + public CombinedListingUpdatePayload? combinedListingUpdate { get; set; } + /// ///Approves a comment. /// - [Description("Approves a comment.")] - public CommentApprovePayload? commentApprove { get; set; } - + [Description("Approves a comment.")] + public CommentApprovePayload? commentApprove { get; set; } + /// ///Deletes a comment. /// - [Description("Deletes a comment.")] - public CommentDeletePayload? commentDelete { get; set; } - + [Description("Deletes a comment.")] + public CommentDeletePayload? commentDelete { get; set; } + /// ///Marks a comment as not spam. /// - [Description("Marks a comment as not spam.")] - public CommentNotSpamPayload? commentNotSpam { get; set; } - + [Description("Marks a comment as not spam.")] + public CommentNotSpamPayload? commentNotSpam { get; set; } + /// ///Marks a comment as spam. /// - [Description("Marks a comment as spam.")] - public CommentSpamPayload? commentSpam { get; set; } - + [Description("Marks a comment as spam.")] + public CommentSpamPayload? commentSpam { get; set; } + /// ///Deletes a list of companies. /// - [Description("Deletes a list of companies.")] - public CompaniesDeletePayload? companiesDelete { get; set; } - + [Description("Deletes a list of companies.")] + public CompaniesDeletePayload? companiesDelete { get; set; } + /// ///Deletes a company address. /// - [Description("Deletes a company address.")] - public CompanyAddressDeletePayload? companyAddressDelete { get; set; } - + [Description("Deletes a company address.")] + public CompanyAddressDeletePayload? companyAddressDelete { get; set; } + /// ///Assigns the customer as a company contact. /// - [Description("Assigns the customer as a company contact.")] - public CompanyAssignCustomerAsContactPayload? companyAssignCustomerAsContact { get; set; } - + [Description("Assigns the customer as a company contact.")] + public CompanyAssignCustomerAsContactPayload? companyAssignCustomerAsContact { get; set; } + /// ///Assigns the main contact for the company. /// - [Description("Assigns the main contact for the company.")] - public CompanyAssignMainContactPayload? companyAssignMainContact { get; set; } - + [Description("Assigns the main contact for the company.")] + public CompanyAssignMainContactPayload? companyAssignMainContact { get; set; } + /// ///Assigns a role to a contact for a location. /// - [Description("Assigns a role to a contact for a location.")] - public CompanyContactAssignRolePayload? companyContactAssignRole { get; set; } - + [Description("Assigns a role to a contact for a location.")] + public CompanyContactAssignRolePayload? companyContactAssignRole { get; set; } + /// ///Assigns roles on a company contact. /// - [Description("Assigns roles on a company contact.")] - public CompanyContactAssignRolesPayload? companyContactAssignRoles { get; set; } - + [Description("Assigns roles on a company contact.")] + public CompanyContactAssignRolesPayload? companyContactAssignRoles { get; set; } + /// ///Creates a company contact and the associated customer. /// - [Description("Creates a company contact and the associated customer.")] - public CompanyContactCreatePayload? companyContactCreate { get; set; } - + [Description("Creates a company contact and the associated customer.")] + public CompanyContactCreatePayload? companyContactCreate { get; set; } + /// ///Deletes a company contact. /// - [Description("Deletes a company contact.")] - public CompanyContactDeletePayload? companyContactDelete { get; set; } - + [Description("Deletes a company contact.")] + public CompanyContactDeletePayload? companyContactDelete { get; set; } + /// ///Removes a company contact from a Company. /// - [Description("Removes a company contact from a Company.")] - public CompanyContactRemoveFromCompanyPayload? companyContactRemoveFromCompany { get; set; } - + [Description("Removes a company contact from a Company.")] + public CompanyContactRemoveFromCompanyPayload? companyContactRemoveFromCompany { get; set; } + /// ///Revokes a role on a company contact. /// - [Description("Revokes a role on a company contact.")] - public CompanyContactRevokeRolePayload? companyContactRevokeRole { get; set; } - + [Description("Revokes a role on a company contact.")] + public CompanyContactRevokeRolePayload? companyContactRevokeRole { get; set; } + /// ///Revokes roles on a company contact. /// - [Description("Revokes roles on a company contact.")] - public CompanyContactRevokeRolesPayload? companyContactRevokeRoles { get; set; } - + [Description("Revokes roles on a company contact.")] + public CompanyContactRevokeRolesPayload? companyContactRevokeRoles { get; set; } + /// ///Sends the company contact a welcome email. /// - [Description("Sends the company contact a welcome email.")] - public CompanyContactSendWelcomeEmailPayload? companyContactSendWelcomeEmail { get; set; } - + [Description("Sends the company contact a welcome email.")] + public CompanyContactSendWelcomeEmailPayload? companyContactSendWelcomeEmail { get; set; } + /// ///Updates a company contact. /// - [Description("Updates a company contact.")] - public CompanyContactUpdatePayload? companyContactUpdate { get; set; } - + [Description("Updates a company contact.")] + public CompanyContactUpdatePayload? companyContactUpdate { get; set; } + /// ///Deletes one or more company contacts. /// - [Description("Deletes one or more company contacts.")] - public CompanyContactsDeletePayload? companyContactsDelete { get; set; } - + [Description("Deletes one or more company contacts.")] + public CompanyContactsDeletePayload? companyContactsDelete { get; set; } + /// ///Creates a company. /// - [Description("Creates a company.")] - public CompanyCreatePayload? companyCreate { get; set; } - + [Description("Creates a company.")] + public CompanyCreatePayload? companyCreate { get; set; } + /// ///Deletes a company. /// - [Description("Deletes a company.")] - public CompanyDeletePayload? companyDelete { get; set; } - + [Description("Deletes a company.")] + public CompanyDeletePayload? companyDelete { get; set; } + /// ///Updates an address on a company location. /// - [Description("Updates an address on a company location.")] - public CompanyLocationAssignAddressPayload? companyLocationAssignAddress { get; set; } - + [Description("Updates an address on a company location.")] + public CompanyLocationAssignAddressPayload? companyLocationAssignAddress { get; set; } + /// ///Assigns roles on a company location. /// - [Description("Assigns roles on a company location.")] - public CompanyLocationAssignRolesPayload? companyLocationAssignRoles { get; set; } - + [Description("Assigns roles on a company location.")] + public CompanyLocationAssignRolesPayload? companyLocationAssignRoles { get; set; } + /// ///Creates one or more mappings between a staff member at a shop and a company location. /// - [Description("Creates one or more mappings between a staff member at a shop and a company location.")] - public CompanyLocationAssignStaffMembersPayload? companyLocationAssignStaffMembers { get; set; } - + [Description("Creates one or more mappings between a staff member at a shop and a company location.")] + public CompanyLocationAssignStaffMembersPayload? companyLocationAssignStaffMembers { get; set; } + /// ///Assigns tax exemptions to the company location. /// - [Description("Assigns tax exemptions to the company location.")] - [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] - public CompanyLocationAssignTaxExemptionsPayload? companyLocationAssignTaxExemptions { get; set; } - + [Description("Assigns tax exemptions to the company location.")] + [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] + public CompanyLocationAssignTaxExemptionsPayload? companyLocationAssignTaxExemptions { get; set; } + /// ///Creates a company location. /// - [Description("Creates a company location.")] - public CompanyLocationCreatePayload? companyLocationCreate { get; set; } - + [Description("Creates a company location.")] + public CompanyLocationCreatePayload? companyLocationCreate { get; set; } + /// ///Creates a tax registration for a company location. /// - [Description("Creates a tax registration for a company location.")] - [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] - public CompanyLocationCreateTaxRegistrationPayload? companyLocationCreateTaxRegistration { get; set; } - + [Description("Creates a tax registration for a company location.")] + [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] + public CompanyLocationCreateTaxRegistrationPayload? companyLocationCreateTaxRegistration { get; set; } + /// ///Deletes a company location. /// - [Description("Deletes a company location.")] - public CompanyLocationDeletePayload? companyLocationDelete { get; set; } - + [Description("Deletes a company location.")] + public CompanyLocationDeletePayload? companyLocationDelete { get; set; } + /// ///Deletes one or more existing mappings between a staff member at a shop and a company location. /// - [Description("Deletes one or more existing mappings between a staff member at a shop and a company location.")] - public CompanyLocationRemoveStaffMembersPayload? companyLocationRemoveStaffMembers { get; set; } - + [Description("Deletes one or more existing mappings between a staff member at a shop and a company location.")] + public CompanyLocationRemoveStaffMembersPayload? companyLocationRemoveStaffMembers { get; set; } + /// ///Revokes roles on a company location. /// - [Description("Revokes roles on a company location.")] - public CompanyLocationRevokeRolesPayload? companyLocationRevokeRoles { get; set; } - + [Description("Revokes roles on a company location.")] + public CompanyLocationRevokeRolesPayload? companyLocationRevokeRoles { get; set; } + /// ///Revokes tax exemptions from the company location. /// - [Description("Revokes tax exemptions from the company location.")] - [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] - public CompanyLocationRevokeTaxExemptionsPayload? companyLocationRevokeTaxExemptions { get; set; } - + [Description("Revokes tax exemptions from the company location.")] + [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] + public CompanyLocationRevokeTaxExemptionsPayload? companyLocationRevokeTaxExemptions { get; set; } + /// ///Revokes tax registration on a company location. /// - [Description("Revokes tax registration on a company location.")] - [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] - public CompanyLocationRevokeTaxRegistrationPayload? companyLocationRevokeTaxRegistration { get; set; } - + [Description("Revokes tax registration on a company location.")] + [Obsolete("Use `companyLocationTaxSettingsUpdate` instead.")] + public CompanyLocationRevokeTaxRegistrationPayload? companyLocationRevokeTaxRegistration { get; set; } + /// ///Sets the tax settings for a company location. /// - [Description("Sets the tax settings for a company location.")] - public CompanyLocationTaxSettingsUpdatePayload? companyLocationTaxSettingsUpdate { get; set; } - + [Description("Sets the tax settings for a company location.")] + public CompanyLocationTaxSettingsUpdatePayload? companyLocationTaxSettingsUpdate { get; set; } + /// ///Updates a company location. /// - [Description("Updates a company location.")] - public CompanyLocationUpdatePayload? companyLocationUpdate { get; set; } - + [Description("Updates a company location.")] + public CompanyLocationUpdatePayload? companyLocationUpdate { get; set; } + /// ///Deletes a list of company locations. /// - [Description("Deletes a list of company locations.")] - public CompanyLocationsDeletePayload? companyLocationsDelete { get; set; } - + [Description("Deletes a list of company locations.")] + public CompanyLocationsDeletePayload? companyLocationsDelete { get; set; } + /// ///Revokes the main contact from the company. /// - [Description("Revokes the main contact from the company.")] - public CompanyRevokeMainContactPayload? companyRevokeMainContact { get; set; } - + [Description("Revokes the main contact from the company.")] + public CompanyRevokeMainContactPayload? companyRevokeMainContact { get; set; } + /// ///Updates a company. /// - [Description("Updates a company.")] - public CompanyUpdatePayload? companyUpdate { get; set; } - + [Description("Updates a company.")] + public CompanyUpdatePayload? companyUpdate { get; set; } + /// ///Update or create consent policies in bulk. /// - [Description("Update or create consent policies in bulk.")] - public ConsentPolicyUpdatePayload? consentPolicyUpdate { get; set; } - + [Description("Update or create consent policies in bulk.")] + public ConsentPolicyUpdatePayload? consentPolicyUpdate { get; set; } + /// ///Add tax exemptions for the customer. /// - [Description("Add tax exemptions for the customer.")] - public CustomerAddTaxExemptionsPayload? customerAddTaxExemptions { get; set; } - + [Description("Add tax exemptions for the customer.")] + public CustomerAddTaxExemptionsPayload? customerAddTaxExemptions { get; set; } + /// ///Create a new customer address. /// - [Description("Create a new customer address.")] - public CustomerAddressCreatePayload? customerAddressCreate { get; set; } - + [Description("Create a new customer address.")] + public CustomerAddressCreatePayload? customerAddressCreate { get; set; } + /// ///Deletes a customer's address. /// - [Description("Deletes a customer's address.")] - public CustomerAddressDeletePayload? customerAddressDelete { get; set; } - + [Description("Deletes a customer's address.")] + public CustomerAddressDeletePayload? customerAddressDelete { get; set; } + /// ///Update a customer's address information. /// - [Description("Update a customer's address information.")] - public CustomerAddressUpdatePayload? customerAddressUpdate { get; set; } - + [Description("Update a customer's address information.")] + public CustomerAddressUpdatePayload? customerAddressUpdate { get; set; } + /// ///Cancels a pending erasure of a customer's data. Read more [here](https://help.shopify.com/manual/privacy-and-security/privacy/processing-customer-data-requests#cancel-customer-data-erasure). /// ///To request an erasure of a customer's data use the [customerRequestDataErasure mutation](https://shopify.dev/api/admin-graphql/unstable/mutations/customerRequestDataErasure). /// - [Description("Cancels a pending erasure of a customer's data. Read more [here](https://help.shopify.com/manual/privacy-and-security/privacy/processing-customer-data-requests#cancel-customer-data-erasure).\n\nTo request an erasure of a customer's data use the [customerRequestDataErasure mutation](https://shopify.dev/api/admin-graphql/unstable/mutations/customerRequestDataErasure).")] - public CustomerCancelDataErasurePayload? customerCancelDataErasure { get; set; } - + [Description("Cancels a pending erasure of a customer's data. Read more [here](https://help.shopify.com/manual/privacy-and-security/privacy/processing-customer-data-requests#cancel-customer-data-erasure).\n\nTo request an erasure of a customer's data use the [customerRequestDataErasure mutation](https://shopify.dev/api/admin-graphql/unstable/mutations/customerRequestDataErasure).")] + public CustomerCancelDataErasurePayload? customerCancelDataErasure { get; set; } + /// ///Create a new customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data). /// - [Description("Create a new customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).")] - public CustomerCreatePayload? customerCreate { get; set; } - + [Description("Create a new customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).")] + public CustomerCreatePayload? customerCreate { get; set; } + /// ///Delete a customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data). /// - [Description("Delete a customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).")] - public CustomerDeletePayload? customerDelete { get; set; } - + [Description("Delete a customer. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).")] + public CustomerDeletePayload? customerDelete { get; set; } + /// ///Update a customer's email marketing information information. /// - [Description("Update a customer's email marketing information information.")] - public CustomerEmailMarketingConsentUpdatePayload? customerEmailMarketingConsentUpdate { get; set; } - + [Description("Update a customer's email marketing information information.")] + public CustomerEmailMarketingConsentUpdatePayload? customerEmailMarketingConsentUpdate { get; set; } + /// ///Generate an account activation URL for a customer. /// - [Description("Generate an account activation URL for a customer.")] - public CustomerGenerateAccountActivationUrlPayload? customerGenerateAccountActivationUrl { get; set; } - + [Description("Generate an account activation URL for a customer.")] + public CustomerGenerateAccountActivationUrlPayload? customerGenerateAccountActivationUrl { get; set; } + /// ///Merges two customers. /// - [Description("Merges two customers.")] - public CustomerMergePayload? customerMerge { get; set; } - + [Description("Merges two customers.")] + public CustomerMergePayload? customerMerge { get; set; } + /// ///Creates a vaulted payment method for a customer from duplication data. /// @@ -75319,101 +75319,101 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Currently, this only supports Shop Pay payment methods. This is only available for selected partner apps. /// - [Description("Creates a vaulted payment method for a customer from duplication data.\n\nThis data must be obtained from another shop within the same organization.\n\nCurrently, this only supports Shop Pay payment methods. This is only available for selected partner apps.")] - public CustomerPaymentMethodCreateFromDuplicationDataPayload? customerPaymentMethodCreateFromDuplicationData { get; set; } - + [Description("Creates a vaulted payment method for a customer from duplication data.\n\nThis data must be obtained from another shop within the same organization.\n\nCurrently, this only supports Shop Pay payment methods. This is only available for selected partner apps.")] + public CustomerPaymentMethodCreateFromDuplicationDataPayload? customerPaymentMethodCreateFromDuplicationData { get; set; } + /// ///Creates a credit card payment method for a customer using a session id. ///These values are only obtained through card imports happening from a PCI compliant environment. ///Please use customerPaymentMethodRemoteCreate if you are not managing credit cards directly. /// - [Description("Creates a credit card payment method for a customer using a session id.\nThese values are only obtained through card imports happening from a PCI compliant environment.\nPlease use customerPaymentMethodRemoteCreate if you are not managing credit cards directly.")] - public CustomerPaymentMethodCreditCardCreatePayload? customerPaymentMethodCreditCardCreate { get; set; } - + [Description("Creates a credit card payment method for a customer using a session id.\nThese values are only obtained through card imports happening from a PCI compliant environment.\nPlease use customerPaymentMethodRemoteCreate if you are not managing credit cards directly.")] + public CustomerPaymentMethodCreditCardCreatePayload? customerPaymentMethodCreditCardCreate { get; set; } + /// ///Updates the credit card payment method for a customer. /// - [Description("Updates the credit card payment method for a customer.")] - public CustomerPaymentMethodCreditCardUpdatePayload? customerPaymentMethodCreditCardUpdate { get; set; } - + [Description("Updates the credit card payment method for a customer.")] + public CustomerPaymentMethodCreditCardUpdatePayload? customerPaymentMethodCreditCardUpdate { get; set; } + /// ///Returns encrypted data that can be used to duplicate the payment method in another shop within the same organization. /// ///Currently, this only supports Shop Pay payment methods. This is only available for selected partner apps. /// - [Description("Returns encrypted data that can be used to duplicate the payment method in another shop within the same organization.\n\nCurrently, this only supports Shop Pay payment methods. This is only available for selected partner apps.")] - public CustomerPaymentMethodGetDuplicationDataPayload? customerPaymentMethodGetDuplicationData { get; set; } - + [Description("Returns encrypted data that can be used to duplicate the payment method in another shop within the same organization.\n\nCurrently, this only supports Shop Pay payment methods. This is only available for selected partner apps.")] + public CustomerPaymentMethodGetDuplicationDataPayload? customerPaymentMethodGetDuplicationData { get; set; } + /// ///Returns a URL that allows the customer to update a specific payment method. /// ///Currently, `customerPaymentMethodGetUpdateUrl` only supports Shop Pay. /// - [Description("Returns a URL that allows the customer to update a specific payment method.\n\nCurrently, `customerPaymentMethodGetUpdateUrl` only supports Shop Pay.")] - public CustomerPaymentMethodGetUpdateUrlPayload? customerPaymentMethodGetUpdateUrl { get; set; } - + [Description("Returns a URL that allows the customer to update a specific payment method.\n\nCurrently, `customerPaymentMethodGetUpdateUrl` only supports Shop Pay.")] + public CustomerPaymentMethodGetUpdateUrlPayload? customerPaymentMethodGetUpdateUrl { get; set; } + /// ///Creates a PayPal billing agreement for a customer. /// - [Description("Creates a PayPal billing agreement for a customer.")] - public CustomerPaymentMethodPaypalBillingAgreementCreatePayload? customerPaymentMethodPaypalBillingAgreementCreate { get; set; } - + [Description("Creates a PayPal billing agreement for a customer.")] + public CustomerPaymentMethodPaypalBillingAgreementCreatePayload? customerPaymentMethodPaypalBillingAgreementCreate { get; set; } + /// ///Updates a PayPal billing agreement for a customer. /// - [Description("Updates a PayPal billing agreement for a customer.")] - public CustomerPaymentMethodPaypalBillingAgreementUpdatePayload? customerPaymentMethodPaypalBillingAgreementUpdate { get; set; } - + [Description("Updates a PayPal billing agreement for a customer.")] + public CustomerPaymentMethodPaypalBillingAgreementUpdatePayload? customerPaymentMethodPaypalBillingAgreementUpdate { get; set; } + /// ///Create a payment method from remote gateway identifiers. NOTE: This operation processes payment methods asynchronously. The returned payment method will initially have incomplete details. Developers must poll this payment method using customerPaymentMethod query until all payment method details are available, or the payment method is revoked (usually within seconds). /// - [Description("Create a payment method from remote gateway identifiers. NOTE: This operation processes payment methods asynchronously. The returned payment method will initially have incomplete details. Developers must poll this payment method using customerPaymentMethod query until all payment method details are available, or the payment method is revoked (usually within seconds).")] - public CustomerPaymentMethodRemoteCreatePayload? customerPaymentMethodRemoteCreate { get; set; } - + [Description("Create a payment method from remote gateway identifiers. NOTE: This operation processes payment methods asynchronously. The returned payment method will initially have incomplete details. Developers must poll this payment method using customerPaymentMethod query until all payment method details are available, or the payment method is revoked (usually within seconds).")] + public CustomerPaymentMethodRemoteCreatePayload? customerPaymentMethodRemoteCreate { get; set; } + /// ///Revokes a customer's payment method. /// - [Description("Revokes a customer's payment method.")] - public CustomerPaymentMethodRevokePayload? customerPaymentMethodRevoke { get; set; } - + [Description("Revokes a customer's payment method.")] + public CustomerPaymentMethodRevokePayload? customerPaymentMethodRevoke { get; set; } + /// ///Sends a link to the customer so they can update a specific payment method. /// - [Description("Sends a link to the customer so they can update a specific payment method.")] - public CustomerPaymentMethodSendUpdateEmailPayload? customerPaymentMethodSendUpdateEmail { get; set; } - + [Description("Sends a link to the customer so they can update a specific payment method.")] + public CustomerPaymentMethodSendUpdateEmailPayload? customerPaymentMethodSendUpdateEmail { get; set; } + /// ///Remove tax exemptions from a customer. /// - [Description("Remove tax exemptions from a customer.")] - public CustomerRemoveTaxExemptionsPayload? customerRemoveTaxExemptions { get; set; } - + [Description("Remove tax exemptions from a customer.")] + public CustomerRemoveTaxExemptionsPayload? customerRemoveTaxExemptions { get; set; } + /// ///Replace tax exemptions for a customer. /// - [Description("Replace tax exemptions for a customer.")] - public CustomerReplaceTaxExemptionsPayload? customerReplaceTaxExemptions { get; set; } - + [Description("Replace tax exemptions for a customer.")] + public CustomerReplaceTaxExemptionsPayload? customerReplaceTaxExemptions { get; set; } + /// ///Enqueues a request to erase customer's data. Read more [here](https://help.shopify.com/manual/privacy-and-security/privacy/processing-customer-data-requests#erase-customer-personal-data). /// ///To cancel the data erasure request use the [customerCancelDataErasure mutation](https://shopify.dev/api/admin-graphql/unstable/mutations/customerCancelDataErasure). /// - [Description("Enqueues a request to erase customer's data. Read more [here](https://help.shopify.com/manual/privacy-and-security/privacy/processing-customer-data-requests#erase-customer-personal-data).\n\nTo cancel the data erasure request use the [customerCancelDataErasure mutation](https://shopify.dev/api/admin-graphql/unstable/mutations/customerCancelDataErasure).")] - public CustomerRequestDataErasurePayload? customerRequestDataErasure { get; set; } - + [Description("Enqueues a request to erase customer's data. Read more [here](https://help.shopify.com/manual/privacy-and-security/privacy/processing-customer-data-requests#erase-customer-personal-data).\n\nTo cancel the data erasure request use the [customerCancelDataErasure mutation](https://shopify.dev/api/admin-graphql/unstable/mutations/customerCancelDataErasure).")] + public CustomerRequestDataErasurePayload? customerRequestDataErasure { get; set; } + /// ///Creates a customer segment members query. /// - [Description("Creates a customer segment members query.")] - public CustomerSegmentMembersQueryCreatePayload? customerSegmentMembersQueryCreate { get; set; } - + [Description("Creates a customer segment members query.")] + public CustomerSegmentMembersQueryCreatePayload? customerSegmentMembersQueryCreate { get; set; } + /// ///Sends the customer an account invite email. /// - [Description("Sends the customer an account invite email.")] - public CustomerSendAccountInviteEmailPayload? customerSendAccountInviteEmail { get; set; } - + [Description("Sends the customer an account invite email.")] + public CustomerSendAccountInviteEmailPayload? customerSendAccountInviteEmail { get; set; } + /// ///Creates or updates a customer in a single mutation. /// @@ -75440,126 +75440,126 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///All other fields will be updated to the value passed. Omitted fields will not be updated. /// - [Description("Creates or updates a customer in a single mutation.\n\nUse this mutation when syncing information from an external data source into Shopify.\n\nThis mutation can be used to create a new customer, update an existing customer by id, or\nupsert a customer by a unique key (email or phone).\n\nTo create a new customer omit the `identifier` argument.\nTo update an existing customer, include the `identifier` with the id of the customer to update.\n\nTo perform an 'upsert' by unique key (email or phone)\nuse the `identifier` argument to upsert a customer by a unique key (email or phone). If a customer\nwith the specified unique key exists, it will be updated. If not, a new customer will be created with\nthat unique key.\n\nAs of API version 2022-10, apps using protected customer data must meet the\nprotected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data)\n\nAny list field (e.g.\n[addresses](https://shopify.dev/api/admin-graphql/unstable/input-objects/MailingAddressInput),\nwill be updated so that all included entries are either created or updated, and all existing entries not\nincluded will be deleted.\n\nAll other fields will be updated to the value passed. Omitted fields will not be updated.")] - public CustomerSetPayload? customerSet { get; set; } - + [Description("Creates or updates a customer in a single mutation.\n\nUse this mutation when syncing information from an external data source into Shopify.\n\nThis mutation can be used to create a new customer, update an existing customer by id, or\nupsert a customer by a unique key (email or phone).\n\nTo create a new customer omit the `identifier` argument.\nTo update an existing customer, include the `identifier` with the id of the customer to update.\n\nTo perform an 'upsert' by unique key (email or phone)\nuse the `identifier` argument to upsert a customer by a unique key (email or phone). If a customer\nwith the specified unique key exists, it will be updated. If not, a new customer will be created with\nthat unique key.\n\nAs of API version 2022-10, apps using protected customer data must meet the\nprotected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data)\n\nAny list field (e.g.\n[addresses](https://shopify.dev/api/admin-graphql/unstable/input-objects/MailingAddressInput),\nwill be updated so that all included entries are either created or updated, and all existing entries not\nincluded will be deleted.\n\nAll other fields will be updated to the value passed. Omitted fields will not be updated.")] + public CustomerSetPayload? customerSet { get; set; } + /// ///Update a customer's SMS marketing consent information. /// - [Description("Update a customer's SMS marketing consent information.")] - public CustomerSmsMarketingConsentUpdatePayload? customerSmsMarketingConsentUpdate { get; set; } - + [Description("Update a customer's SMS marketing consent information.")] + public CustomerSmsMarketingConsentUpdatePayload? customerSmsMarketingConsentUpdate { get; set; } + /// ///Update a customer's attributes. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data). /// - [Description("Update a customer's attributes. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).")] - public CustomerUpdatePayload? customerUpdate { get; set; } - + [Description("Update a customer's attributes. As of API version 2022-10, apps using protected customer data must meet the protected customer data [requirements](https://shopify.dev/apps/store/data-protection/protected-customer-data).")] + public CustomerUpdatePayload? customerUpdate { get; set; } + /// ///Updates a customer's default address. /// - [Description("Updates a customer's default address.")] - public CustomerUpdateDefaultAddressPayload? customerUpdateDefaultAddress { get; set; } - + [Description("Updates a customer's default address.")] + public CustomerUpdateDefaultAddressPayload? customerUpdateDefaultAddress { get; set; } + /// ///Opt out a customer from data sale. /// - [Description("Opt out a customer from data sale.")] - public DataSaleOptOutPayload? dataSaleOptOut { get; set; } - + [Description("Opt out a customer from data sale.")] + public DataSaleOptOutPayload? dataSaleOptOut { get; set; } + /// ///Creates a delegate access token. /// ///To learn more about creating delegate access tokens, refer to ///[Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens). /// - [Description("Creates a delegate access token.\n\nTo learn more about creating delegate access tokens, refer to\n[Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens).")] - public DelegateAccessTokenCreatePayload? delegateAccessTokenCreate { get; set; } - + [Description("Creates a delegate access token.\n\nTo learn more about creating delegate access tokens, refer to\n[Delegate OAuth access tokens to subsystems](https://shopify.dev/docs/apps/build/authentication-authorization/access-tokens/use-delegate-tokens).")] + public DelegateAccessTokenCreatePayload? delegateAccessTokenCreate { get; set; } + /// ///Destroys a delegate access token. /// - [Description("Destroys a delegate access token.")] - public DelegateAccessTokenDestroyPayload? delegateAccessTokenDestroy { get; set; } - + [Description("Destroys a delegate access token.")] + public DelegateAccessTokenDestroyPayload? delegateAccessTokenDestroy { get; set; } + /// ///Activates and deactivates delivery customizations. /// - [Description("Activates and deactivates delivery customizations.")] - public DeliveryCustomizationActivationPayload? deliveryCustomizationActivation { get; set; } - + [Description("Activates and deactivates delivery customizations.")] + public DeliveryCustomizationActivationPayload? deliveryCustomizationActivation { get; set; } + /// ///Creates a delivery customization. /// - [Description("Creates a delivery customization.")] - public DeliveryCustomizationCreatePayload? deliveryCustomizationCreate { get; set; } - + [Description("Creates a delivery customization.")] + public DeliveryCustomizationCreatePayload? deliveryCustomizationCreate { get; set; } + /// ///Creates a delivery customization. /// - [Description("Creates a delivery customization.")] - public DeliveryCustomizationDeletePayload? deliveryCustomizationDelete { get; set; } - + [Description("Creates a delivery customization.")] + public DeliveryCustomizationDeletePayload? deliveryCustomizationDelete { get; set; } + /// ///Updates a delivery customization. /// - [Description("Updates a delivery customization.")] - public DeliveryCustomizationUpdatePayload? deliveryCustomizationUpdate { get; set; } - + [Description("Updates a delivery customization.")] + public DeliveryCustomizationUpdatePayload? deliveryCustomizationUpdate { get; set; } + /// ///Create a delivery profile. /// - [Description("Create a delivery profile.")] - public DeliveryProfileCreatePayload? deliveryProfileCreate { get; set; } - + [Description("Create a delivery profile.")] + public DeliveryProfileCreatePayload? deliveryProfileCreate { get; set; } + /// ///Enqueue the removal of a delivery profile. /// - [Description("Enqueue the removal of a delivery profile.")] - public DeliveryProfileRemovePayload? deliveryProfileRemove { get; set; } - + [Description("Enqueue the removal of a delivery profile.")] + public DeliveryProfileRemovePayload? deliveryProfileRemove { get; set; } + /// ///Update a delivery profile. /// - [Description("Update a delivery profile.")] - public DeliveryProfileUpdatePayload? deliveryProfileUpdate { get; set; } - + [Description("Update a delivery profile.")] + public DeliveryProfileUpdatePayload? deliveryProfileUpdate { get; set; } + /// ///Updates the delivery promise participants by adding or removing owners based on a branded promise handle. /// - [Description("Updates the delivery promise participants by adding or removing owners based on a branded promise handle.")] - public DeliveryPromiseParticipantsUpdatePayload? deliveryPromiseParticipantsUpdate { get; set; } - + [Description("Updates the delivery promise participants by adding or removing owners based on a branded promise handle.")] + public DeliveryPromiseParticipantsUpdatePayload? deliveryPromiseParticipantsUpdate { get; set; } + /// ///Creates or updates a delivery promise provider. Currently restricted to select approved delivery promise partners. /// - [Description("Creates or updates a delivery promise provider. Currently restricted to select approved delivery promise partners.")] - public DeliveryPromiseProviderUpsertPayload? deliveryPromiseProviderUpsert { get; set; } - + [Description("Creates or updates a delivery promise provider. Currently restricted to select approved delivery promise partners.")] + public DeliveryPromiseProviderUpsertPayload? deliveryPromiseProviderUpsert { get; set; } + /// ///Creates or updates a delivery promise SKU setting that will be used when looking up delivery promises for the SKU. /// - [Description("Creates or updates a delivery promise SKU setting that will be used when looking up delivery promises for the SKU.")] - public DeliveryPromiseSkuSettingUpsertPayload? deliveryPromiseSkuSettingUpsert { get; set; } - + [Description("Creates or updates a delivery promise SKU setting that will be used when looking up delivery promises for the SKU.")] + public DeliveryPromiseSkuSettingUpsertPayload? deliveryPromiseSkuSettingUpsert { get; set; } + /// ///Set the delivery settings for a shop. /// - [Description("Set the delivery settings for a shop.")] - public DeliverySettingUpdatePayload? deliverySettingUpdate { get; set; } - + [Description("Set the delivery settings for a shop.")] + public DeliverySettingUpdatePayload? deliverySettingUpdate { get; set; } + /// ///Assigns a location as the shipping origin while using legacy compatibility mode for multi-location delivery profiles. /// - [Description("Assigns a location as the shipping origin while using legacy compatibility mode for multi-location delivery profiles.")] - public DeliveryShippingOriginAssignPayload? deliveryShippingOriginAssign { get; set; } - + [Description("Assigns a location as the shipping origin while using legacy compatibility mode for multi-location delivery profiles.")] + public DeliveryShippingOriginAssignPayload? deliveryShippingOriginAssign { get; set; } + /// ///Activates an automatic discount. /// - [Description("Activates an automatic discount.")] - public DiscountAutomaticActivatePayload? discountAutomaticActivate { get; set; } - + [Description("Activates an automatic discount.")] + public DiscountAutomaticActivatePayload? discountAutomaticActivate { get; set; } + /// ///Creates an automatic discount that's managed by an app. ///Use this mutation with [Shopify Functions](https://shopify.dev/docs/apps/build/functions) @@ -75576,9 +75576,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountCodeAppCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeAppCreate) ///mutation. /// - [Description("Creates an automatic discount that's managed by an app.\nUse this mutation with [Shopify Functions](https://shopify.dev/docs/apps/build/functions)\nwhen you need advanced, custom, or dynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nFor example, use this mutation to create an automatic discount using an app's\n\"Volume\" discount type that applies a percentage\noff when customers purchase more than the minimum quantity of a product. For an example implementation,\nrefer to [our tutorial](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> To create code discounts with custom logic, use the\n[`discountCodeAppCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeAppCreate)\nmutation.")] - public DiscountAutomaticAppCreatePayload? discountAutomaticAppCreate { get; set; } - + [Description("Creates an automatic discount that's managed by an app.\nUse this mutation with [Shopify Functions](https://shopify.dev/docs/apps/build/functions)\nwhen you need advanced, custom, or dynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nFor example, use this mutation to create an automatic discount using an app's\n\"Volume\" discount type that applies a percentage\noff when customers purchase more than the minimum quantity of a product. For an example implementation,\nrefer to [our tutorial](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> To create code discounts with custom logic, use the\n[`discountCodeAppCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeAppCreate)\nmutation.")] + public DiscountAutomaticAppCreatePayload? discountAutomaticAppCreate { get; set; } + /// ///Updates an existing automatic discount that's managed by an app using ///[Shopify Functions](https://shopify.dev/docs/apps/build/functions). @@ -75595,9 +75595,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountCodeAppUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeAppUpdate) ///mutation instead. /// - [Description("Updates an existing automatic discount that's managed by an app using\n[Shopify Functions](https://shopify.dev/docs/apps/build/functions).\nUse this mutation when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nFor example, use this mutation to update a new \"Volume\" discount type that applies a percentage\noff when customers purchase more than the minimum quantity of a product. For an example implementation,\nrefer to [our tutorial](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> To update code discounts with custom logic, use the\n[`discountCodeAppUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeAppUpdate)\nmutation instead.")] - public DiscountAutomaticAppUpdatePayload? discountAutomaticAppUpdate { get; set; } - + [Description("Updates an existing automatic discount that's managed by an app using\n[Shopify Functions](https://shopify.dev/docs/apps/build/functions).\nUse this mutation when you need advanced, custom, or\ndynamic discount capabilities that aren't supported by\n[Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nFor example, use this mutation to update a new \"Volume\" discount type that applies a percentage\noff when customers purchase more than the minimum quantity of a product. For an example implementation,\nrefer to [our tutorial](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> To update code discounts with custom logic, use the\n[`discountCodeAppUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeAppUpdate)\nmutation instead.")] + public DiscountAutomaticAppUpdatePayload? discountAutomaticAppUpdate { get; set; } + /// ///Creates an ///[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) @@ -75608,9 +75608,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountCodeBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicCreate) ///mutation. /// - [Description("Creates an\n[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To create code discounts, use the\n[`discountCodeBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicCreate)\nmutation.")] - public DiscountAutomaticBasicCreatePayload? discountAutomaticBasicCreate { get; set; } - + [Description("Creates an\n[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To create code discounts, use the\n[`discountCodeBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicCreate)\nmutation.")] + public DiscountAutomaticBasicCreatePayload? discountAutomaticBasicCreate { get; set; } + /// ///Updates an existing ///[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) @@ -75621,9 +75621,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountCodeBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicUpdate) ///mutation instead. /// - [Description("Updates an existing\n[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To update code discounts, use the\n[`discountCodeBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicUpdate)\nmutation instead.")] - public DiscountAutomaticBasicUpdatePayload? discountAutomaticBasicUpdate { get; set; } - + [Description("Updates an existing\n[amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To update code discounts, use the\n[`discountCodeBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBasicUpdate)\nmutation instead.")] + public DiscountAutomaticBasicUpdatePayload? discountAutomaticBasicUpdate { get; set; } + /// ///Deletes multiple automatic discounts in a single operation, providing efficient bulk management for stores with extensive discount catalogs. This mutation processes deletions asynchronously to handle large volumes without blocking other operations. /// @@ -75639,9 +75639,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [discount management](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomatic). /// - [Description("Deletes multiple automatic discounts in a single operation, providing efficient bulk management for stores with extensive discount catalogs. This mutation processes deletions asynchronously to handle large volumes without blocking other operations.\n\nFor example, when cleaning up expired seasonal promotions or removing outdated automatic discounts across product categories, merchants can delete dozens of discounts simultaneously rather than processing each individually.\n\nUse `DiscountAutomaticBulkDelete` to:\n- Remove multiple automatic discounts efficiently\n- Clean up expired or obsolete promotions\n- Streamline discount management workflows\n- Process large-scale discount removals asynchronously\n\nThe operation returns a job object for tracking deletion progress and any validation errors encountered during processing.\n\nLearn more about [discount management](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomatic).")] - public DiscountAutomaticBulkDeletePayload? discountAutomaticBulkDelete { get; set; } - + [Description("Deletes multiple automatic discounts in a single operation, providing efficient bulk management for stores with extensive discount catalogs. This mutation processes deletions asynchronously to handle large volumes without blocking other operations.\n\nFor example, when cleaning up expired seasonal promotions or removing outdated automatic discounts across product categories, merchants can delete dozens of discounts simultaneously rather than processing each individually.\n\nUse `DiscountAutomaticBulkDelete` to:\n- Remove multiple automatic discounts efficiently\n- Clean up expired or obsolete promotions\n- Streamline discount management workflows\n- Process large-scale discount removals asynchronously\n\nThe operation returns a job object for tracking deletion progress and any validation errors encountered during processing.\n\nLearn more about [discount management](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomatic).")] + public DiscountAutomaticBulkDeletePayload? discountAutomaticBulkDelete { get; set; } + /// ///Creates a ///[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) @@ -75652,9 +75652,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountCodeBxgyCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBxgyCreate) ///mutation. /// - [Description("Creates a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To create code discounts, use the\n[`discountCodeBxgyCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBxgyCreate)\nmutation.")] - public DiscountAutomaticBxgyCreatePayload? discountAutomaticBxgyCreate { get; set; } - + [Description("Creates a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To create code discounts, use the\n[`discountCodeBxgyCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBxgyCreate)\nmutation.")] + public DiscountAutomaticBxgyCreatePayload? discountAutomaticBxgyCreate { get; set; } + /// ///Updates an existing ///[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) @@ -75665,15 +75665,15 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountCodeBxgyUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBxgyUpdate) ///mutation instead. /// - [Description("Updates an existing\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To update code discounts, use the\n[`discountCodeBxgyUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBxgyUpdate)\nmutation instead.")] - public DiscountAutomaticBxgyUpdatePayload? discountAutomaticBxgyUpdate { get; set; } - + [Description("Updates an existing\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's automatically applied on a cart and at checkout.\n\n> Note:\n> To update code discounts, use the\n[`discountCodeBxgyUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountCodeBxgyUpdate)\nmutation instead.")] + public DiscountAutomaticBxgyUpdatePayload? discountAutomaticBxgyUpdate { get; set; } + /// ///Deactivates an automatic discount. /// - [Description("Deactivates an automatic discount.")] - public DiscountAutomaticDeactivatePayload? discountAutomaticDeactivate { get; set; } - + [Description("Deactivates an automatic discount.")] + public DiscountAutomaticDeactivatePayload? discountAutomaticDeactivate { get; set; } + /// ///Deletes an existing automatic discount from the store, permanently removing it from all future order calculations. This mutation provides a clean way to remove promotional campaigns that are no longer needed. /// @@ -75687,9 +75687,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///The mutation returns the ID of the deleted discount for confirmation and any validation errors if the deletion cannot be completed. Once deleted, the automatic discount will no longer appear in discount lists or apply to new customer orders. /// - [Description("Deletes an existing automatic discount from the store, permanently removing it from all future order calculations. This mutation provides a clean way to remove promotional campaigns that are no longer needed.\n\nFor example, when a seasonal promotion ends or a flash sale concludes, merchants can use this mutation to ensure the discount no longer applies to new orders while preserving historical order data.\n\nUse `DiscountAutomaticDelete` to:\n- Remove expired promotional campaigns\n- Clean up test discounts during development\n- Delete automatic discounts that conflict with new promotions\n- Maintain a clean discount configuration\n\nThe mutation returns the ID of the deleted discount for confirmation and any validation errors if the deletion cannot be completed. Once deleted, the automatic discount will no longer appear in discount lists or apply to new customer orders.")] - public DiscountAutomaticDeletePayload? discountAutomaticDelete { get; set; } - + [Description("Deletes an existing automatic discount from the store, permanently removing it from all future order calculations. This mutation provides a clean way to remove promotional campaigns that are no longer needed.\n\nFor example, when a seasonal promotion ends or a flash sale concludes, merchants can use this mutation to ensure the discount no longer applies to new orders while preserving historical order data.\n\nUse `DiscountAutomaticDelete` to:\n- Remove expired promotional campaigns\n- Clean up test discounts during development\n- Delete automatic discounts that conflict with new promotions\n- Maintain a clean discount configuration\n\nThe mutation returns the ID of the deleted discount for confirmation and any validation errors if the deletion cannot be completed. Once deleted, the automatic discount will no longer appear in discount lists or apply to new customer orders.")] + public DiscountAutomaticDeletePayload? discountAutomaticDelete { get; set; } + /// ///Creates automatic free shipping discounts that apply to qualifying orders without requiring discount codes. These promotions automatically activate when customers meet specified criteria, streamlining the checkout experience. /// @@ -75705,9 +75705,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [automatic discounts](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticNode). /// - [Description("Creates automatic free shipping discounts that apply to qualifying orders without requiring discount codes. These promotions automatically activate when customers meet specified criteria, streamlining the checkout experience.\n\nFor example, a store might create an automatic free shipping discount for orders over variable pricing to encourage larger purchases, or offer free shipping to specific customer segments during promotional periods.\n\nUse `DiscountAutomaticFreeShippingCreate` to:\n- Set up code-free shipping promotions\n- Create order value-based shipping incentives\n- Target specific customer groups with shipping benefits\n- Establish location-based shipping discounts\n\nThe mutation validates discount configuration and returns the created automatic discount node along with any configuration errors that need resolution.\n\nLearn more about [automatic discounts](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticNode).")] - public DiscountAutomaticFreeShippingCreatePayload? discountAutomaticFreeShippingCreate { get; set; } - + [Description("Creates automatic free shipping discounts that apply to qualifying orders without requiring discount codes. These promotions automatically activate when customers meet specified criteria, streamlining the checkout experience.\n\nFor example, a store might create an automatic free shipping discount for orders over variable pricing to encourage larger purchases, or offer free shipping to specific customer segments during promotional periods.\n\nUse `DiscountAutomaticFreeShippingCreate` to:\n- Set up code-free shipping promotions\n- Create order value-based shipping incentives\n- Target specific customer groups with shipping benefits\n- Establish location-based shipping discounts\n\nThe mutation validates discount configuration and returns the created automatic discount node along with any configuration errors that need resolution.\n\nLearn more about [automatic discounts](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticNode).")] + public DiscountAutomaticFreeShippingCreatePayload? discountAutomaticFreeShippingCreate { get; set; } + /// ///Updates existing automatic free shipping discounts, allowing merchants to modify promotion criteria, shipping destinations, and eligibility requirements without recreating the entire discount structure. /// @@ -75723,9 +75723,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [managing automatic discounts](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping). /// - [Description("Updates existing automatic free shipping discounts, allowing merchants to modify promotion criteria, shipping destinations, and eligibility requirements without recreating the entire discount structure.\n\nFor example, extending a holiday free shipping promotion to include additional countries, adjusting the minimum order value threshold, or expanding customer eligibility to include new segments.\n\nUse `DiscountAutomaticFreeShippingUpdate` to:\n- Modify shipping discount thresholds and criteria\n- Expand or restrict geographic availability\n- Update customer targeting and eligibility rules\n- Adjust promotion timing and activation periods\n\nChanges take effect immediately for new orders, while the mutation validates all modifications and reports any configuration conflicts through user errors.\n\nLearn more about [managing automatic discounts](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping).")] - public DiscountAutomaticFreeShippingUpdatePayload? discountAutomaticFreeShippingUpdate { get; set; } - + [Description("Updates existing automatic free shipping discounts, allowing merchants to modify promotion criteria, shipping destinations, and eligibility requirements without recreating the entire discount structure.\n\nFor example, extending a holiday free shipping promotion to include additional countries, adjusting the minimum order value threshold, or expanding customer eligibility to include new segments.\n\nUse `DiscountAutomaticFreeShippingUpdate` to:\n- Modify shipping discount thresholds and criteria\n- Expand or restrict geographic availability\n- Update customer targeting and eligibility rules\n- Adjust promotion timing and activation periods\n\nChanges take effect immediately for new orders, while the mutation validates all modifications and reports any configuration conflicts through user errors.\n\nLearn more about [managing automatic discounts](https://shopify.dev/docs/api/admin-graphql/latest/objects/DiscountAutomaticFreeShipping).")] + public DiscountAutomaticFreeShippingUpdatePayload? discountAutomaticFreeShippingUpdate { get; set; } + /// ///Activates a previously created code discount, making it available for customers to use during checkout. This mutation transitions inactive discount codes into an active state where they can be applied to orders. /// @@ -75739,9 +75739,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///The mutation returns the updated discount code node with its new active status and handles any validation errors that might prevent activation, such as conflicting discount rules or invalid date ranges. /// - [Description("Activates a previously created code discount, making it available for customers to use during checkout. This mutation transitions inactive discount codes into an active state where they can be applied to orders.\n\nFor example, after creating a \"SUMMER20\" discount code but leaving it inactive during setup, merchants can activate it when ready to launch their summer promotion campaign.\n\nUse `DiscountCodeActivate` to:\n- Launch scheduled promotional campaigns\n- Reactivate previously paused discount codes\n- Enable discount codes after configuration changes\n- Control the timing of discount availability\n\nThe mutation returns the updated discount code node with its new active status and handles any validation errors that might prevent activation, such as conflicting discount rules or invalid date ranges.")] - public DiscountCodeActivatePayload? discountCodeActivate { get; set; } - + [Description("Activates a previously created code discount, making it available for customers to use during checkout. This mutation transitions inactive discount codes into an active state where they can be applied to orders.\n\nFor example, after creating a \"SUMMER20\" discount code but leaving it inactive during setup, merchants can activate it when ready to launch their summer promotion campaign.\n\nUse `DiscountCodeActivate` to:\n- Launch scheduled promotional campaigns\n- Reactivate previously paused discount codes\n- Enable discount codes after configuration changes\n- Control the timing of discount availability\n\nThe mutation returns the updated discount code node with its new active status and handles any validation errors that might prevent activation, such as conflicting discount rules or invalid date ranges.")] + public DiscountCodeActivatePayload? discountCodeActivate { get; set; } + /// ///Creates a code discount. The discount type must be provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Functions can implement [order](https://shopify.dev/docs/api/functions/reference/order-discounts), [product](https://shopify.dev/docs/api/functions/reference/product-discounts), or [shipping](https://shopify.dev/docs/api/functions/reference/shipping-discounts) discount functions. Use this mutation with Shopify Functions when you need custom logic beyond [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types). /// @@ -75751,36 +75751,36 @@ public class Mutation : GraphQLObject, IMutationRoot ///> Note: ///> To create automatic discounts with custom logic, use [`discountAutomaticAppCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticAppCreate). /// - [Description("Creates a code discount. The discount type must be provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Functions can implement [order](https://shopify.dev/docs/api/functions/reference/order-discounts), [product](https://shopify.dev/docs/api/functions/reference/product-discounts), or [shipping](https://shopify.dev/docs/api/functions/reference/shipping-discounts) discount functions. Use this mutation with Shopify Functions when you need custom logic beyond [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nFor example, use this mutation to create a code discount using an app's \"Volume\" discount type that applies a percentage off when customers purchase more than the minimum quantity\nof a product. For an example implementation, refer to [our tutorial](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> To create automatic discounts with custom logic, use [`discountAutomaticAppCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticAppCreate).")] - public DiscountCodeAppCreatePayload? discountCodeAppCreate { get; set; } - + [Description("Creates a code discount. The discount type must be provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Functions can implement [order](https://shopify.dev/docs/api/functions/reference/order-discounts), [product](https://shopify.dev/docs/api/functions/reference/product-discounts), or [shipping](https://shopify.dev/docs/api/functions/reference/shipping-discounts) discount functions. Use this mutation with Shopify Functions when you need custom logic beyond [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\nFor example, use this mutation to create a code discount using an app's \"Volume\" discount type that applies a percentage off when customers purchase more than the minimum quantity\nof a product. For an example implementation, refer to [our tutorial](https://shopify.dev/docs/apps/build/discounts/build-discount-function).\n\n> Note:\n> To create automatic discounts with custom logic, use [`discountAutomaticAppCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticAppCreate).")] + public DiscountCodeAppCreatePayload? discountCodeAppCreate { get; set; } + /// ///Updates a code discount, where the discount type is provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Use this mutation when you need advanced, custom, or dynamic discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types). /// ///> Note: ///> To update automatic discounts, use [`discountAutomaticAppUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticAppUpdate). /// - [Description("Updates a code discount, where the discount type is provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Use this mutation when you need advanced, custom, or dynamic discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\n> Note:\n> To update automatic discounts, use [`discountAutomaticAppUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticAppUpdate).")] - public DiscountCodeAppUpdatePayload? discountCodeAppUpdate { get; set; } - + [Description("Updates a code discount, where the discount type is provided by an app extension that uses [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Use this mutation when you need advanced, custom, or dynamic discount capabilities that aren't supported by [Shopify's native discount types](https://help.shopify.com/manual/discounts/discount-types).\n\n> Note:\n> To update automatic discounts, use [`discountAutomaticAppUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticAppUpdate).")] + public DiscountCodeAppUpdatePayload? discountCodeAppUpdate { get; set; } + /// ///Creates an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off. /// ///> Note: ///> To create discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBasicCreate) mutation. /// - [Description("Creates an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.\n\n> Note:\n> To create discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBasicCreate) mutation.")] - public DiscountCodeBasicCreatePayload? discountCodeBasicCreate { get; set; } - + [Description("Creates an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.\n\n> Note:\n> To create discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticBasicCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBasicCreate) mutation.")] + public DiscountCodeBasicCreatePayload? discountCodeBasicCreate { get; set; } + /// ///Updates an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off. /// ///> Note: ///> To update discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBasicUpdate) mutation. /// - [Description("Updates an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.\n\n> Note:\n> To update discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBasicUpdate) mutation.")] - public DiscountCodeBasicUpdatePayload? discountCodeBasicUpdate { get; set; } - + [Description("Updates an [amount off discount](https://help.shopify.com/manual/discounts/discount-types/percentage-fixed-amount) that's applied on a cart and at checkout when a customer enters a code. Amount off discounts can be a percentage off or a fixed amount off.\n\n> Note:\n> To update discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticBasicUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBasicUpdate) mutation.")] + public DiscountCodeBasicUpdatePayload? discountCodeBasicUpdate { get; set; } + /// ///Activates multiple [code discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following: ///- A search query @@ -75789,9 +75789,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///For example, you can activate discounts for all codes that match a search criteria, or activate a predefined set of discount codes. /// - [Description("Activates multiple [code discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount code IDs\n\nFor example, you can activate discounts for all codes that match a search criteria, or activate a predefined set of discount codes.")] - public DiscountCodeBulkActivatePayload? discountCodeBulkActivate { get; set; } - + [Description("Activates multiple [code discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount code IDs\n\nFor example, you can activate discounts for all codes that match a search criteria, or activate a predefined set of discount codes.")] + public DiscountCodeBulkActivatePayload? discountCodeBulkActivate { get; set; } + /// ///Deactivates multiple [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following: ///- A search query @@ -75800,9 +75800,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///For example, you can deactivate discounts for all codes that match a search criteria, or deactivate a predefined set of discount codes. /// - [Description("Deactivates multiple [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount code IDs\n\nFor example, you can deactivate discounts for all codes that match a search criteria, or deactivate a predefined set of discount codes.")] - public DiscountCodeBulkDeactivatePayload? discountCodeBulkDeactivate { get; set; } - + [Description("Deactivates multiple [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount code IDs\n\nFor example, you can deactivate discounts for all codes that match a search criteria, or deactivate a predefined set of discount codes.")] + public DiscountCodeBulkDeactivatePayload? discountCodeBulkDeactivate { get; set; } + /// ///Deletes multiple [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following: ///- A search query @@ -75811,9 +75811,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///For example, you can delete discounts for all codes that match a search criteria, or delete a predefined set of discount codes. /// - [Description("Deletes multiple [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount code IDs\n\nFor example, you can delete discounts for all codes that match a search criteria, or delete a predefined set of discount codes.")] - public DiscountCodeBulkDeletePayload? discountCodeBulkDelete { get; set; } - + [Description("Deletes multiple [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes) asynchronously using one of the following:\n- A search query\n- A saved search ID\n- A list of discount code IDs\n\nFor example, you can delete discounts for all codes that match a search criteria, or delete a predefined set of discount codes.")] + public DiscountCodeBulkDeletePayload? discountCodeBulkDelete { get; set; } + /// ///Creates a ///[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) @@ -75824,9 +75824,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountAutomaticBxgyCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBxgyCreate) ///mutation. /// - [Description("Creates a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To create discounts that are automatically applied on a cart and at checkout, use the\n[`discountAutomaticBxgyCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBxgyCreate)\nmutation.")] - public DiscountCodeBxgyCreatePayload? discountCodeBxgyCreate { get; set; } - + [Description("Creates a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To create discounts that are automatically applied on a cart and at checkout, use the\n[`discountAutomaticBxgyCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBxgyCreate)\nmutation.")] + public DiscountCodeBxgyCreatePayload? discountCodeBxgyCreate { get; set; } + /// ///Updates a ///[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y) @@ -75837,9 +75837,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[`discountAutomaticBxgyUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBxgyUpdate) ///mutation. /// - [Description("Updates a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To update discounts that are automatically applied on a cart and at checkout, use the\n[`discountAutomaticBxgyUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBxgyUpdate)\nmutation.")] - public DiscountCodeBxgyUpdatePayload? discountCodeBxgyUpdate { get; set; } - + [Description("Updates a\n[buy X get Y discount (BXGY)](https://help.shopify.com/manual/discounts/discount-types/buy-x-get-y)\nthat's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To update discounts that are automatically applied on a cart and at checkout, use the\n[`discountAutomaticBxgyUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticBxgyUpdate)\nmutation.")] + public DiscountCodeBxgyUpdatePayload? discountCodeBxgyUpdate { get; set; } + /// ///Temporarily suspends a code discount without permanently removing it from the store. Deactivation allows merchants to pause promotional campaigns while preserving the discount configuration for potential future use. /// @@ -75853,9 +75853,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Deactivated discounts remain in the system and can be reactivated later, unlike deletion which persistently removes the code. Customers attempting to use deactivated codes will receive appropriate error messages. /// - [Description("Temporarily suspends a code discount without permanently removing it from the store. Deactivation allows merchants to pause promotional campaigns while preserving the discount configuration for potential future use.\n\nFor example, when a flash sale needs to end immediately or a discount code requires temporary suspension due to inventory issues, merchants can deactivate it to stop new redemptions while keeping the discount structure intact.\n\nUse `DiscountCodeDeactivate` to:\n- Pause active promotional campaigns timely\n- Temporarily suspend problematic discount codes\n- Control discount availability during inventory shortages\n- Maintain discount history while stopping usage\n\nDeactivated discounts remain in the system and can be reactivated later, unlike deletion which persistently removes the code. Customers attempting to use deactivated codes will receive appropriate error messages.")] - public DiscountCodeDeactivatePayload? discountCodeDeactivate { get; set; } - + [Description("Temporarily suspends a code discount without permanently removing it from the store. Deactivation allows merchants to pause promotional campaigns while preserving the discount configuration for potential future use.\n\nFor example, when a flash sale needs to end immediately or a discount code requires temporary suspension due to inventory issues, merchants can deactivate it to stop new redemptions while keeping the discount structure intact.\n\nUse `DiscountCodeDeactivate` to:\n- Pause active promotional campaigns timely\n- Temporarily suspend problematic discount codes\n- Control discount availability during inventory shortages\n- Maintain discount history while stopping usage\n\nDeactivated discounts remain in the system and can be reactivated later, unlike deletion which persistently removes the code. Customers attempting to use deactivated codes will receive appropriate error messages.")] + public DiscountCodeDeactivatePayload? discountCodeDeactivate { get; set; } + /// ///Removes a code discount from the store, making it permanently unavailable for customer use. This mutation provides a clean way to eliminate discount codes that are no longer needed or have been replaced. /// @@ -75869,35 +75869,35 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Once deleted, the discount code cannot be recovered and any customer attempts to use it will fail. This differs from deactivation, which preserves the code for potential future reactivation. /// - [Description("Removes a code discount from the store, making it permanently unavailable for customer use. This mutation provides a clean way to eliminate discount codes that are no longer needed or have been replaced.\n\nFor example, when a seasonal promotion ends or a discount code has been compromised, merchants can delete it entirely rather than just deactivating it, ensuring customers cannot attempt to use expired promotional codes.\n\nUse `DiscountCodeDelete` to:\n- persistently remove outdated promotional codes\n- Clean up discount code lists after campaigns end\n- Eliminate compromised or leaked discount codes\n- Maintain organized discount management\n\nOnce deleted, the discount code cannot be recovered and any customer attempts to use it will fail. This differs from deactivation, which preserves the code for potential future reactivation.")] - public DiscountCodeDeletePayload? discountCodeDelete { get; set; } - + [Description("Removes a code discount from the store, making it permanently unavailable for customer use. This mutation provides a clean way to eliminate discount codes that are no longer needed or have been replaced.\n\nFor example, when a seasonal promotion ends or a discount code has been compromised, merchants can delete it entirely rather than just deactivating it, ensuring customers cannot attempt to use expired promotional codes.\n\nUse `DiscountCodeDelete` to:\n- persistently remove outdated promotional codes\n- Clean up discount code lists after campaigns end\n- Eliminate compromised or leaked discount codes\n- Maintain organized discount management\n\nOnce deleted, the discount code cannot be recovered and any customer attempts to use it will fail. This differs from deactivation, which preserves the code for potential future reactivation.")] + public DiscountCodeDeletePayload? discountCodeDelete { get; set; } + /// ///Creates an [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code. /// ///> Note: ///> To create discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticFreeShippingCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticFreeShippingCreate) mutation. /// - [Description("Creates an [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To create discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticFreeShippingCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticFreeShippingCreate) mutation.")] - public DiscountCodeFreeShippingCreatePayload? discountCodeFreeShippingCreate { get; set; } - + [Description("Creates an [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To create discounts that are automatically applied on a cart and at checkout, use the [`discountAutomaticFreeShippingCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticFreeShippingCreate) mutation.")] + public DiscountCodeFreeShippingCreatePayload? discountCodeFreeShippingCreate { get; set; } + /// ///Updates a [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code. /// ///> Note: ///> To update a free shipping discount that's automatically applied on a cart and at checkout, use the [`discountAutomaticFreeShippingUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticFreeShippingUpdate) mutation. /// - [Description("Updates a [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To update a free shipping discount that's automatically applied on a cart and at checkout, use the [`discountAutomaticFreeShippingUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticFreeShippingUpdate) mutation.")] - public DiscountCodeFreeShippingUpdatePayload? discountCodeFreeShippingUpdate { get; set; } - + [Description("Updates a [free shipping discount](https://help.shopify.com/manual/discounts/discount-types/free-shipping) that's applied on a cart and at checkout when a customer enters a code.\n\n> Note:\n> To update a free shipping discount that's automatically applied on a cart and at checkout, use the [`discountAutomaticFreeShippingUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/discountAutomaticFreeShippingUpdate) mutation.")] + public DiscountCodeFreeShippingUpdatePayload? discountCodeFreeShippingUpdate { get; set; } + /// ///Asynchronously delete ///[discount codes](https://help.shopify.com/manual/discounts/discount-types#discount-codes) ///in bulk that customers can use to redeem a discount. /// - [Description("Asynchronously delete\n[discount codes](https://help.shopify.com/manual/discounts/discount-types#discount-codes)\nin bulk that customers can use to redeem a discount.")] - public DiscountCodeRedeemCodeBulkDeletePayload? discountCodeRedeemCodeBulkDelete { get; set; } - + [Description("Asynchronously delete\n[discount codes](https://help.shopify.com/manual/discounts/discount-types#discount-codes)\nin bulk that customers can use to redeem a discount.")] + public DiscountCodeRedeemCodeBulkDeletePayload? discountCodeRedeemCodeBulkDelete { get; set; } + /// ///Asynchronously add ///[discount codes](https://help.shopify.com/manual/discounts/discount-types#discount-codes) @@ -75905,64 +75905,64 @@ public class Mutation : GraphQLObject, IMutationRoot ///to automate the distribution of discount codes through emails or other ///marketing channels. /// - [Description("Asynchronously add\n[discount codes](https://help.shopify.com/manual/discounts/discount-types#discount-codes)\nin bulk that customers can use to redeem a discount. You can use the `discountRedeemCodeBulkAdd` mutation\nto automate the distribution of discount codes through emails or other\nmarketing channels.")] - public DiscountRedeemCodeBulkAddPayload? discountRedeemCodeBulkAdd { get; set; } - + [Description("Asynchronously add\n[discount codes](https://help.shopify.com/manual/discounts/discount-types#discount-codes)\nin bulk that customers can use to redeem a discount. You can use the `discountRedeemCodeBulkAdd` mutation\nto automate the distribution of discount codes through emails or other\nmarketing channels.")] + public DiscountRedeemCodeBulkAddPayload? discountRedeemCodeBulkAdd { get; set; } + /// ///Registers a discounts allocator function. /// - [Description("Registers a discounts allocator function.")] - public DiscountsAllocatorFunctionRegisterPayload? discountsAllocatorFunctionRegister { get; set; } - + [Description("Registers a discounts allocator function.")] + public DiscountsAllocatorFunctionRegisterPayload? discountsAllocatorFunctionRegister { get; set; } + /// ///Unregisters a discounts allocator function. /// - [Description("Unregisters a discounts allocator function.")] - public DiscountsAllocatorFunctionUnregisterPayload? discountsAllocatorFunctionUnregister { get; set; } - + [Description("Unregisters a discounts allocator function.")] + public DiscountsAllocatorFunctionUnregisterPayload? discountsAllocatorFunctionUnregister { get; set; } + /// ///Updates a dispute evidence. /// - [Description("Updates a dispute evidence.")] - public DisputeEvidenceUpdatePayload? disputeEvidenceUpdate { get; set; } - + [Description("Updates a dispute evidence.")] + public DisputeEvidenceUpdatePayload? disputeEvidenceUpdate { get; set; } + /// ///Injects a Meta tag into the online store for a given shop, for verifying the domains of merchants onboarding to the marketplace. /// - [Description("Injects a Meta tag into the online store for a given shop, for verifying the domains of merchants onboarding to the marketplace.")] - public DomainVerificationTagInjectPayload? domainVerificationTagInject { get; set; } - + [Description("Injects a Meta tag into the online store for a given shop, for verifying the domains of merchants onboarding to the marketplace.")] + public DomainVerificationTagInjectPayload? domainVerificationTagInject { get; set; } + /// ///Removes a Meta tag from the online store for a given shop. The tag is used for verifying merchant domains during marketplace onboarding. /// - [Description("Removes a Meta tag from the online store for a given shop. The tag is used for verifying merchant domains during marketplace onboarding.")] - public DomainVerificationTagRemovePayload? domainVerificationTagRemove { get; set; } - + [Description("Removes a Meta tag from the online store for a given shop. The tag is used for verifying merchant domains during marketplace onboarding.")] + public DomainVerificationTagRemovePayload? domainVerificationTagRemove { get; set; } + /// ///Adds tags to multiple draft orders. /// - [Description("Adds tags to multiple draft orders.")] - public DraftOrderBulkAddTagsPayload? draftOrderBulkAddTags { get; set; } - + [Description("Adds tags to multiple draft orders.")] + public DraftOrderBulkAddTagsPayload? draftOrderBulkAddTags { get; set; } + /// ///Deletes multiple draft orders. /// - [Description("Deletes multiple draft orders.")] - public DraftOrderBulkDeletePayload? draftOrderBulkDelete { get; set; } - + [Description("Deletes multiple draft orders.")] + public DraftOrderBulkDeletePayload? draftOrderBulkDelete { get; set; } + /// ///Removes tags from multiple draft orders. /// - [Description("Removes tags from multiple draft orders.")] - public DraftOrderBulkRemoveTagsPayload? draftOrderBulkRemoveTags { get; set; } - + [Description("Removes tags from multiple draft orders.")] + public DraftOrderBulkRemoveTagsPayload? draftOrderBulkRemoveTags { get; set; } + /// ///Calculates the properties of a draft order. Useful for determining information ///such as total taxes or price without actually creating a draft order. /// - [Description("Calculates the properties of a draft order. Useful for determining information\nsuch as total taxes or price without actually creating a draft order.")] - public DraftOrderCalculatePayload? draftOrderCalculate { get; set; } - + [Description("Calculates the properties of a draft order. Useful for determining information\nsuch as total taxes or price without actually creating a draft order.")] + public DraftOrderCalculatePayload? draftOrderCalculate { get; set; } + /// ///Completes a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) and ///converts it into a [regular order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order). @@ -75986,9 +75986,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///for the items in the order. This means the items will no longer be available for other customers to purchase. ///Make sure to verify inventory availability before completing the draft order. /// - [Description("Completes a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) and\nconverts it into a [regular order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order).\nThe order appears in the merchant's orders list, and the customer can be notified about their order.\n\nUse the `draftOrderComplete` mutation when a merchant is ready to finalize a draft order and create a real\norder in their store. The `draftOrderComplete` mutation also supports sales channel attribution for tracking\norder sources using the [`sourceName`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderComplete#arguments-sourceName)\nargument, [cart validation](https://shopify.dev/docs/apps/build/checkout/cart-checkout-validation)\ncontrols for app integrations, and detailed error reporting for failed completions.\n\nYou can complete a draft order with different [payment scenarios](https://help.shopify.com/manual/fulfillment/managing-orders/payments):\n\n- Mark the order as paid immediately.\n- Set the order as payment pending using [payment terms](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTerms).\n- Specify a custom payment amount.\n- Select a specific payment gateway.\n\n> Note:\n> When completing a draft order, inventory is [reserved](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps#inventory-states)\nfor the items in the order. This means the items will no longer be available for other customers to purchase.\nMake sure to verify inventory availability before completing the draft order.")] - public DraftOrderCompletePayload? draftOrderComplete { get; set; } - + [Description("Completes a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) and\nconverts it into a [regular order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order).\nThe order appears in the merchant's orders list, and the customer can be notified about their order.\n\nUse the `draftOrderComplete` mutation when a merchant is ready to finalize a draft order and create a real\norder in their store. The `draftOrderComplete` mutation also supports sales channel attribution for tracking\norder sources using the [`sourceName`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderComplete#arguments-sourceName)\nargument, [cart validation](https://shopify.dev/docs/apps/build/checkout/cart-checkout-validation)\ncontrols for app integrations, and detailed error reporting for failed completions.\n\nYou can complete a draft order with different [payment scenarios](https://help.shopify.com/manual/fulfillment/managing-orders/payments):\n\n- Mark the order as paid immediately.\n- Set the order as payment pending using [payment terms](https://shopify.dev/docs/api/admin-graphql/latest/objects/PaymentTerms).\n- Specify a custom payment amount.\n- Select a specific payment gateway.\n\n> Note:\n> When completing a draft order, inventory is [reserved](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps#inventory-states)\nfor the items in the order. This means the items will no longer be available for other customers to purchase.\nMake sure to verify inventory availability before completing the draft order.")] + public DraftOrderCompletePayload? draftOrderComplete { get; set; } + /// ///Creates a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) ///with attributes such as customer information, line items, shipping and billing addresses, and payment terms. @@ -76012,52 +76012,52 @@ public class Mutation : GraphQLObject, IMutationRoot ///> When you create a draft order, you can't [reserve or hold inventory](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps#inventory-states) for the items in the order by default. ///> However, you can reserve inventory using the [`reserveInventoryUntil`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderCreate#arguments-input.fields.reserveInventoryUntil) input. /// - [Description("Creates a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder)\nwith attributes such as customer information, line items, shipping and billing addresses, and payment terms.\nDraft orders are useful for merchants that need to:\n\n- Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.\n- Send invoices to customers with a secure checkout link.\n- Use custom items to represent additional costs or products not in inventory.\n- Re-create orders manually from active sales channels.\n- Sell products at discount or wholesale rates.\n- Take pre-orders.\n\nAfter creating a draft order, you can:\n- Send an invoice to the customer using the [`draftOrderInvoiceSend`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderInvoiceSend) mutation.\n- Complete the draft order using the [`draftOrderComplete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderComplete) mutation.\n- Update the draft order using the [`draftOrderUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderUpdate) mutation.\n- Duplicate a draft order using the [`draftOrderDuplicate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderDuplicate) mutation.\n- Delete the draft order using the [`draftOrderDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderDelete) mutation.\n\n> Note:\n> When you create a draft order, you can't [reserve or hold inventory](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps#inventory-states) for the items in the order by default.\n> However, you can reserve inventory using the [`reserveInventoryUntil`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderCreate#arguments-input.fields.reserveInventoryUntil) input.")] - public DraftOrderCreatePayload? draftOrderCreate { get; set; } - + [Description("Creates a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder)\nwith attributes such as customer information, line items, shipping and billing addresses, and payment terms.\nDraft orders are useful for merchants that need to:\n\n- Create new orders for sales made by phone, in person, by chat, or elsewhere. When a merchant accepts payment for a draft order, an order is created.\n- Send invoices to customers with a secure checkout link.\n- Use custom items to represent additional costs or products not in inventory.\n- Re-create orders manually from active sales channels.\n- Sell products at discount or wholesale rates.\n- Take pre-orders.\n\nAfter creating a draft order, you can:\n- Send an invoice to the customer using the [`draftOrderInvoiceSend`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderInvoiceSend) mutation.\n- Complete the draft order using the [`draftOrderComplete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderComplete) mutation.\n- Update the draft order using the [`draftOrderUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderUpdate) mutation.\n- Duplicate a draft order using the [`draftOrderDuplicate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderDuplicate) mutation.\n- Delete the draft order using the [`draftOrderDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderDelete) mutation.\n\n> Note:\n> When you create a draft order, you can't [reserve or hold inventory](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps#inventory-states) for the items in the order by default.\n> However, you can reserve inventory using the [`reserveInventoryUntil`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderCreate#arguments-input.fields.reserveInventoryUntil) input.")] + public DraftOrderCreatePayload? draftOrderCreate { get; set; } + /// ///Creates a draft order from order. /// - [Description("Creates a draft order from order.")] - public DraftOrderCreateFromOrderPayload? draftOrderCreateFromOrder { get; set; } - + [Description("Creates a draft order from order.")] + public DraftOrderCreateFromOrderPayload? draftOrderCreateFromOrder { get; set; } + /// ///Creates a merchant checkout for the given draft order. /// - [Description("Creates a merchant checkout for the given draft order.")] - [Obsolete("This mutation is no longer supported.")] - public DraftOrderCreateMerchantCheckoutPayload? draftOrderCreateMerchantCheckout { get; set; } - + [Description("Creates a merchant checkout for the given draft order.")] + [Obsolete("This mutation is no longer supported.")] + public DraftOrderCreateMerchantCheckoutPayload? draftOrderCreateMerchantCheckout { get; set; } + /// ///Deletes a draft order. /// - [Description("Deletes a draft order.")] - public DraftOrderDeletePayload? draftOrderDelete { get; set; } - + [Description("Deletes a draft order.")] + public DraftOrderDeletePayload? draftOrderDelete { get; set; } + /// ///Duplicates a draft order. /// - [Description("Duplicates a draft order.")] - public DraftOrderDuplicatePayload? draftOrderDuplicate { get; set; } - + [Description("Duplicates a draft order.")] + public DraftOrderDuplicatePayload? draftOrderDuplicate { get; set; } + /// ///Previews a draft order invoice email. /// - [Description("Previews a draft order invoice email.")] - public DraftOrderInvoicePreviewPayload? draftOrderInvoicePreview { get; set; } - + [Description("Previews a draft order invoice email.")] + public DraftOrderInvoicePreviewPayload? draftOrderInvoicePreview { get; set; } + /// ///Sends an email invoice for a draft order. /// - [Description("Sends an email invoice for a draft order.")] - public DraftOrderInvoiceSendPayload? draftOrderInvoiceSend { get; set; } - + [Description("Sends an email invoice for a draft order.")] + public DraftOrderInvoiceSendPayload? draftOrderInvoiceSend { get; set; } + /// ///Updates a draft order before sending the invoice to the buyer by configuring settings relevant to the draft order. /// - [Description("Updates a draft order before sending the invoice to the buyer by configuring settings relevant to the draft order.")] - public DraftOrderPrepareForBuyerCheckoutPayload? draftOrderPrepareForBuyerCheckout { get; set; } - + [Description("Updates a draft order before sending the invoice to the buyer by configuring settings relevant to the draft order.")] + public DraftOrderPrepareForBuyerCheckoutPayload? draftOrderPrepareForBuyerCheckout { get; set; } + /// ///Updates a draft order. /// @@ -76068,40 +76068,40 @@ public class Mutation : GraphQLObject, IMutationRoot ///creation, but if the link from draft to checkout is broken the draft will remain open even after the order is ///created. /// - [Description("Updates a draft order.\n\nIf a checkout has been started for a draft order, any update to the draft will unlink the checkout. Checkouts\nare created but not immediately completed when opening the merchant credit card modal in the admin, and when a\nbuyer opens the invoice URL. This is usually fine, but there is an edge case where a checkout is in progress\nand the draft is updated before the checkout completes. This will not interfere with the checkout and order\ncreation, but if the link from draft to checkout is broken the draft will remain open even after the order is\ncreated.")] - public DraftOrderUpdatePayload? draftOrderUpdate { get; set; } - + [Description("Updates a draft order.\n\nIf a checkout has been started for a draft order, any update to the draft will unlink the checkout. Checkouts\nare created but not immediately completed when opening the merchant credit card modal in the admin, and when a\nbuyer opens the invoice URL. This is usually fine, but there is an edge case where a checkout is in progress\nand the draft is updated before the checkout completes. This will not interfere with the checkout and order\ncreation, but if the link from draft to checkout is broken the draft will remain open even after the order is\ncreated.")] + public DraftOrderUpdatePayload? draftOrderUpdate { get; set; } + /// ///Updates the server pixel to connect to an EventBridge endpoint. ///Running this mutation deletes any previous subscriptions for the server pixel. /// - [Description("Updates the server pixel to connect to an EventBridge endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.")] - public EventBridgeServerPixelUpdatePayload? eventBridgeServerPixelUpdate { get; set; } - + [Description("Updates the server pixel to connect to an EventBridge endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.")] + public EventBridgeServerPixelUpdatePayload? eventBridgeServerPixelUpdate { get; set; } + /// ///Creates a new Amazon EventBridge webhook subscription. /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Creates a new Amazon EventBridge webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - [Obsolete("Use `webhookSubscriptionCreate` instead.")] - public EventBridgeWebhookSubscriptionCreatePayload? eventBridgeWebhookSubscriptionCreate { get; set; } - + [Description("Creates a new Amazon EventBridge webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + [Obsolete("Use `webhookSubscriptionCreate` instead.")] + public EventBridgeWebhookSubscriptionCreatePayload? eventBridgeWebhookSubscriptionCreate { get; set; } + /// ///Updates an Amazon EventBridge webhook subscription. /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Updates an Amazon EventBridge webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - [Obsolete("Use `webhookSubscriptionUpdate` instead.")] - public EventBridgeWebhookSubscriptionUpdatePayload? eventBridgeWebhookSubscriptionUpdate { get; set; } - + [Description("Updates an Amazon EventBridge webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + [Obsolete("Use `webhookSubscriptionUpdate` instead.")] + public EventBridgeWebhookSubscriptionUpdatePayload? eventBridgeWebhookSubscriptionUpdate { get; set; } + /// ///Acknowledges file update failure by resetting FAILED status to READY and clearing any media errors. /// - [Description("Acknowledges file update failure by resetting FAILED status to READY and clearing any media errors.")] - public FileAcknowledgeUpdateFailedPayload? fileAcknowledgeUpdateFailed { get; set; } - + [Description("Acknowledges file update failure by resetting FAILED status to READY and clearing any media errors.")] + public FileAcknowledgeUpdateFailedPayload? fileAcknowledgeUpdateFailed { get; set; } + /// ///Creates file assets for a store from external URLs or files that were previously uploaded using the ///[`stagedUploadsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/stageduploadscreate) @@ -76141,9 +76141,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media) ///in your app. /// - [Description("Creates file assets for a store from external URLs or files that were previously uploaded using the\n[`stagedUploadsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/stageduploadscreate)\nmutation.\n\nUse the `fileCreate` mutation to add various types of media and documents to your store. These files are added to the\n[**Files** page](https://shopify.com/admin/settings/files) in the Shopify admin and can be referenced by other\nresources in your store.\n\nThe `fileCreate` mutation supports multiple file types:\n\n- **Images**: Product photos, variant images, and general store imagery\n- **Videos**: Shopify-hosted videos for product demonstrations and marketing\n- **External videos**: YouTube and Vimeo videos for enhanced product experiences\n- **3D models**: Interactive 3D representations of products\n- **Generic files**: PDFs, documents, and other file types for store resources\n\nThe mutation handles duplicate filenames using configurable resolution modes that automatically append UUIDs,\nreplace existing files, or raise errors when conflicts occur.\n\n> Note:\n> Files are processed asynchronously. Check the\n> [`fileStatus`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/File#fields-fileStatus)\n> field to monitor processing completion. The maximum number of files that can be created in a single batch is 250.\n\nAfter creating files, you can make subsequent updates using the following mutations:\n\n- [`fileUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileUpdate):\nUpdate file properties such as alt text or replace file contents while preserving the same URL.\n- [`fileDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileDelete):\nRemove files from your store when they are no longer needed.\n\nTo list all files in your store, use the\n[`files`](https://shopify.dev/docs/api/admin-graphql/latest/queries/files) query.\n\nLearn how to manage\n[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media)\nin your app.")] - public FileCreatePayload? fileCreate { get; set; } - + [Description("Creates file assets for a store from external URLs or files that were previously uploaded using the\n[`stagedUploadsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/stageduploadscreate)\nmutation.\n\nUse the `fileCreate` mutation to add various types of media and documents to your store. These files are added to the\n[**Files** page](https://shopify.com/admin/settings/files) in the Shopify admin and can be referenced by other\nresources in your store.\n\nThe `fileCreate` mutation supports multiple file types:\n\n- **Images**: Product photos, variant images, and general store imagery\n- **Videos**: Shopify-hosted videos for product demonstrations and marketing\n- **External videos**: YouTube and Vimeo videos for enhanced product experiences\n- **3D models**: Interactive 3D representations of products\n- **Generic files**: PDFs, documents, and other file types for store resources\n\nThe mutation handles duplicate filenames using configurable resolution modes that automatically append UUIDs,\nreplace existing files, or raise errors when conflicts occur.\n\n> Note:\n> Files are processed asynchronously. Check the\n> [`fileStatus`](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/File#fields-fileStatus)\n> field to monitor processing completion. The maximum number of files that can be created in a single batch is 250.\n\nAfter creating files, you can make subsequent updates using the following mutations:\n\n- [`fileUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileUpdate):\nUpdate file properties such as alt text or replace file contents while preserving the same URL.\n- [`fileDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileDelete):\nRemove files from your store when they are no longer needed.\n\nTo list all files in your store, use the\n[`files`](https://shopify.dev/docs/api/admin-graphql/latest/queries/files) query.\n\nLearn how to manage\n[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media)\nin your app.")] + public FileCreatePayload? fileCreate { get; set; } + /// ///Deletes file assets that were previously uploaded to your store. /// @@ -76178,9 +76178,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media) ///in your app. /// - [Description("Deletes file assets that were previously uploaded to your store.\n\nUse the `fileDelete` mutation to permanently remove media and file assets from your store when they are no longer needed.\nThis mutation handles the complete removal of files from both your store's file library and any associated references\nto products or other resources.\n\nThe `fileDelete` mutation supports removal of multiple file types:\n\n- **Images**: Product photos, variant images, and general store imagery\n- **Videos**: Shopify-hosted videos for product demonstrations and marketing content\n- **External Videos**: YouTube and Vimeo videos linked to your products\n- **3D models**: Interactive 3D representations of products\n- **Generic files**: PDFs, documents, and other file types stored in your\n[**Files** page](https://shopify.com/admin/settings/files)\n\nWhen you delete files that are referenced by products, the mutation automatically removes those references and\nreorders any remaining media to maintain proper positioning. Product file references are database relationships\nmanaged through a media reference system, not just links in product descriptions. The Shopify admin provides a UI\nto manage these relationships, and when files are deleted, the system automatically cleans up all references.\nFiles that are currently being processed by other operations are rejected to prevent conflicts.\n\n> Caution:\n> File deletion is permanent and can't be undone. When you delete a file that's being used in your store,\n> it will immediately stop appearing wherever it was displayed. For example, if you delete a product image,\n> that product will show a broken image or placeholder on your storefront and in the admin. The same applies\n> to any other files linked from themes, blog posts, or pages. Before deleting files, you can use the\n> [`files` query](https://shopify.dev/api/admin-graphql/latest/queries/files) to list and review\n> your store's file assets.\n\nLearn how to manage\n[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media)\nin your app.")] - public FileDeletePayload? fileDelete { get; set; } - + [Description("Deletes file assets that were previously uploaded to your store.\n\nUse the `fileDelete` mutation to permanently remove media and file assets from your store when they are no longer needed.\nThis mutation handles the complete removal of files from both your store's file library and any associated references\nto products or other resources.\n\nThe `fileDelete` mutation supports removal of multiple file types:\n\n- **Images**: Product photos, variant images, and general store imagery\n- **Videos**: Shopify-hosted videos for product demonstrations and marketing content\n- **External Videos**: YouTube and Vimeo videos linked to your products\n- **3D models**: Interactive 3D representations of products\n- **Generic files**: PDFs, documents, and other file types stored in your\n[**Files** page](https://shopify.com/admin/settings/files)\n\nWhen you delete files that are referenced by products, the mutation automatically removes those references and\nreorders any remaining media to maintain proper positioning. Product file references are database relationships\nmanaged through a media reference system, not just links in product descriptions. The Shopify admin provides a UI\nto manage these relationships, and when files are deleted, the system automatically cleans up all references.\nFiles that are currently being processed by other operations are rejected to prevent conflicts.\n\n> Caution:\n> File deletion is permanent and can't be undone. When you delete a file that's being used in your store,\n> it will immediately stop appearing wherever it was displayed. For example, if you delete a product image,\n> that product will show a broken image or placeholder on your storefront and in the admin. The same applies\n> to any other files linked from themes, blog posts, or pages. Before deleting files, you can use the\n> [`files` query](https://shopify.dev/api/admin-graphql/latest/queries/files) to list and review\n> your store's file assets.\n\nLearn how to manage\n[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media)\nin your app.")] + public FileDeletePayload? fileDelete { get; set; } + /// ///Updates properties, content, and metadata associated with an existing file asset that has already been uploaded to Shopify. /// @@ -76216,84 +76216,84 @@ public class Mutation : GraphQLObject, IMutationRoot ///[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media) ///in your app. /// - [Description("Updates properties, content, and metadata associated with an existing file asset that has already been uploaded to Shopify.\n\nUse the `fileUpdate` mutation to modify various aspects of files already stored in your store.\nFiles can be updated individually or in batches.\n\nThe `fileUpdate` mutation supports updating multiple file properties:\n\n- **Alt text**: Update accessibility descriptions for images and other media.\n- **File content**: Replace image or generic file content while maintaining the same URL.\n- **Filename**: Modify file names (extension must match the original).\n- **Product references**: Add or remove associations between files and products. Removing file-product associations\ndeletes the file from the product's media gallery and clears the image from any product variants that were using it.\n\nThe mutation handles different file types with specific capabilities:\n\n- **Images**: Update preview images, original source, filename, and alt text.\n- **Generic files**: Update original source, filename, and alt text.\n- **Videos and 3D models**: Update alt text and product references.\n\n> Note:\n> Files must be in `ready` state before they can be updated. The mutation includes file locking to prevent\n> conflicts during updates. You can't simultaneously update both `originalSource` and `previewImageSource`.\n\nAfter updating files, you can use related mutations for additional file management:\n\n- [`fileCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileCreate):\nCreate new file assets from external URLs or staged uploads.\n- [`fileDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileDelete):\nRemove files from your store when they are no longer needed.\n\nLearn how to manage\n[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media)\nin your app.")] - public FileUpdatePayload? fileUpdate { get; set; } - + [Description("Updates properties, content, and metadata associated with an existing file asset that has already been uploaded to Shopify.\n\nUse the `fileUpdate` mutation to modify various aspects of files already stored in your store.\nFiles can be updated individually or in batches.\n\nThe `fileUpdate` mutation supports updating multiple file properties:\n\n- **Alt text**: Update accessibility descriptions for images and other media.\n- **File content**: Replace image or generic file content while maintaining the same URL.\n- **Filename**: Modify file names (extension must match the original).\n- **Product references**: Add or remove associations between files and products. Removing file-product associations\ndeletes the file from the product's media gallery and clears the image from any product variants that were using it.\n\nThe mutation handles different file types with specific capabilities:\n\n- **Images**: Update preview images, original source, filename, and alt text.\n- **Generic files**: Update original source, filename, and alt text.\n- **Videos and 3D models**: Update alt text and product references.\n\n> Note:\n> Files must be in `ready` state before they can be updated. The mutation includes file locking to prevent\n> conflicts during updates. You can't simultaneously update both `originalSource` and `previewImageSource`.\n\nAfter updating files, you can use related mutations for additional file management:\n\n- [`fileCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileCreate):\nCreate new file assets from external URLs or staged uploads.\n- [`fileDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileDelete):\nRemove files from your store when they are no longer needed.\n\nLearn how to manage\n[product media and file assets](https://shopify.dev/docs/apps/build/online-store/product-media)\nin your app.")] + public FileUpdatePayload? fileUpdate { get; set; } + /// ///Generates a signature for a Flow action payload. /// - [Description("Generates a signature for a Flow action payload.")] - public FlowGenerateSignaturePayload? flowGenerateSignature { get; set; } - + [Description("Generates a signature for a Flow action payload.")] + public FlowGenerateSignaturePayload? flowGenerateSignature { get; set; } + /// ///Triggers any workflows that begin with the trigger specified in the request body. To learn more, refer to [_Create Shopify Flow triggers_](https://shopify.dev/apps/flow/triggers). /// - [Description("Triggers any workflows that begin with the trigger specified in the request body. To learn more, refer to [_Create Shopify Flow triggers_](https://shopify.dev/apps/flow/triggers).")] - public FlowTriggerReceivePayload? flowTriggerReceive { get; set; } - + [Description("Triggers any workflows that begin with the trigger specified in the request body. To learn more, refer to [_Create Shopify Flow triggers_](https://shopify.dev/apps/flow/triggers).")] + public FlowTriggerReceivePayload? flowTriggerReceive { get; set; } + /// ///Cancels a fulfillment. /// - [Description("Cancels a fulfillment.")] - public FulfillmentCancelPayload? fulfillmentCancel { get; set; } - + [Description("Cancels a fulfillment.")] + public FulfillmentCancelPayload? fulfillmentCancel { get; set; } + /// ///Creates a fulfillment constraint rule and its metafield. /// - [Description("Creates a fulfillment constraint rule and its metafield.")] - public FulfillmentConstraintRuleCreatePayload? fulfillmentConstraintRuleCreate { get; set; } - + [Description("Creates a fulfillment constraint rule and its metafield.")] + public FulfillmentConstraintRuleCreatePayload? fulfillmentConstraintRuleCreate { get; set; } + /// ///Deletes a fulfillment constraint rule and its metafields. /// - [Description("Deletes a fulfillment constraint rule and its metafields.")] - public FulfillmentConstraintRuleDeletePayload? fulfillmentConstraintRuleDelete { get; set; } - + [Description("Deletes a fulfillment constraint rule and its metafields.")] + public FulfillmentConstraintRuleDeletePayload? fulfillmentConstraintRuleDelete { get; set; } + /// ///Update a fulfillment constraint rule. /// - [Description("Update a fulfillment constraint rule.")] - public FulfillmentConstraintRuleUpdatePayload? fulfillmentConstraintRuleUpdate { get; set; } - + [Description("Update a fulfillment constraint rule.")] + public FulfillmentConstraintRuleUpdatePayload? fulfillmentConstraintRuleUpdate { get; set; } + /// ///Creates a fulfillment for one or many fulfillment orders. ///The fulfillment orders are associated with the same order and are assigned to the same location. /// - [Description("Creates a fulfillment for one or many fulfillment orders.\nThe fulfillment orders are associated with the same order and are assigned to the same location.")] - public FulfillmentCreatePayload? fulfillmentCreate { get; set; } - + [Description("Creates a fulfillment for one or many fulfillment orders.\nThe fulfillment orders are associated with the same order and are assigned to the same location.")] + public FulfillmentCreatePayload? fulfillmentCreate { get; set; } + /// ///Creates a fulfillment for one or many fulfillment orders. ///The fulfillment orders are associated with the same order and are assigned to the same location. /// - [Description("Creates a fulfillment for one or many fulfillment orders.\nThe fulfillment orders are associated with the same order and are assigned to the same location.")] - [Obsolete("Use `fulfillmentCreate` instead.")] - public FulfillmentCreateV2Payload? fulfillmentCreateV2 { get; set; } - + [Description("Creates a fulfillment for one or many fulfillment orders.\nThe fulfillment orders are associated with the same order and are assigned to the same location.")] + [Obsolete("Use `fulfillmentCreate` instead.")] + public FulfillmentCreateV2Payload? fulfillmentCreateV2 { get; set; } + /// ///Creates a fulfillment event for a specified fulfillment. /// - [Description("Creates a fulfillment event for a specified fulfillment.")] - public FulfillmentEventCreatePayload? fulfillmentEventCreate { get; set; } - + [Description("Creates a fulfillment event for a specified fulfillment.")] + public FulfillmentEventCreatePayload? fulfillmentEventCreate { get; set; } + /// ///Accept a cancellation request sent to a fulfillment service for a fulfillment order. /// - [Description("Accept a cancellation request sent to a fulfillment service for a fulfillment order.")] - public FulfillmentOrderAcceptCancellationRequestPayload? fulfillmentOrderAcceptCancellationRequest { get; set; } - + [Description("Accept a cancellation request sent to a fulfillment service for a fulfillment order.")] + public FulfillmentOrderAcceptCancellationRequestPayload? fulfillmentOrderAcceptCancellationRequest { get; set; } + /// ///Accepts a fulfillment request sent to a fulfillment service for a fulfillment order. /// - [Description("Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.")] - public FulfillmentOrderAcceptFulfillmentRequestPayload? fulfillmentOrderAcceptFulfillmentRequest { get; set; } - + [Description("Accepts a fulfillment request sent to a fulfillment service for a fulfillment order.")] + public FulfillmentOrderAcceptFulfillmentRequestPayload? fulfillmentOrderAcceptFulfillmentRequest { get; set; } + /// ///Marks a fulfillment order as canceled. /// - [Description("Marks a fulfillment order as canceled.")] - public FulfillmentOrderCancelPayload? fulfillmentOrderCancel { get; set; } - + [Description("Marks a fulfillment order as canceled.")] + public FulfillmentOrderCancelPayload? fulfillmentOrderCancel { get; set; } + /// ///Marks an in-progress fulfillment order as incomplete, ///indicating the fulfillment service is unable to ship any remaining items, @@ -76312,9 +76312,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///Closing a fulfillment order is explained in ///[the fulfillment service guide](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-7-optional-close-a-fulfillment-order). /// - [Description("Marks an in-progress fulfillment order as incomplete,\nindicating the fulfillment service is unable to ship any remaining items,\nand closes the fulfillment request.\n\nThis mutation can only be called for fulfillment orders that meet the following criteria:\n - Assigned to a fulfillment service location,\n - The fulfillment request has been accepted,\n - The fulfillment order status is `IN_PROGRESS`.\n\nThis mutation can only be called by the fulfillment service app that accepted the fulfillment request.\nCalling this mutation returns the control of the fulfillment order to the merchant, allowing them to\nmove the fulfillment order line items to another location and fulfill from there,\nremove and refund the line items, or to request fulfillment from the same fulfillment service again.\n\nClosing a fulfillment order is explained in\n[the fulfillment service guide](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-7-optional-close-a-fulfillment-order).")] - public FulfillmentOrderClosePayload? fulfillmentOrderClose { get; set; } - + [Description("Marks an in-progress fulfillment order as incomplete,\nindicating the fulfillment service is unable to ship any remaining items,\nand closes the fulfillment request.\n\nThis mutation can only be called for fulfillment orders that meet the following criteria:\n - Assigned to a fulfillment service location,\n - The fulfillment request has been accepted,\n - The fulfillment order status is `IN_PROGRESS`.\n\nThis mutation can only be called by the fulfillment service app that accepted the fulfillment request.\nCalling this mutation returns the control of the fulfillment order to the merchant, allowing them to\nmove the fulfillment order line items to another location and fulfill from there,\nremove and refund the line items, or to request fulfillment from the same fulfillment service again.\n\nClosing a fulfillment order is explained in\n[the fulfillment service guide](https://shopify.dev/apps/build/orders-fulfillment/fulfillment-service-apps/build-for-fulfillment-services#step-7-optional-close-a-fulfillment-order).")] + public FulfillmentOrderClosePayload? fulfillmentOrderClose { get; set; } + /// ///Applies a fulfillment hold on a fulfillment order. /// @@ -76329,25 +76329,25 @@ public class Mutation : GraphQLObject, IMutationRoot ///[a user error indicating that the limit has been reached](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderHoldUserErrorCode#value-fulfillmentorderholdlimitreached). ///The app would need to release one of its existing holds before being able to apply a new one. /// - [Description("Applies a fulfillment hold on a fulfillment order.\n\nAs of the\n[2025-01 API version](https://shopify.dev/changelog/apply-multiple-holds-to-a-single-fulfillment-order),\nthe mutation can be successfully executed on fulfillment orders that are already on hold.\nTo place multiple holds on a fulfillment order, apps need to supply the\n[handle](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentHold#field-handle)\nfield. Each app can place up to\n10 active holds\nper fulfillment order. If an app attempts to place more than this, the mutation will return\n[a user error indicating that the limit has been reached](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderHoldUserErrorCode#value-fulfillmentorderholdlimitreached).\nThe app would need to release one of its existing holds before being able to apply a new one.")] - public FulfillmentOrderHoldPayload? fulfillmentOrderHold { get; set; } - + [Description("Applies a fulfillment hold on a fulfillment order.\n\nAs of the\n[2025-01 API version](https://shopify.dev/changelog/apply-multiple-holds-to-a-single-fulfillment-order),\nthe mutation can be successfully executed on fulfillment orders that are already on hold.\nTo place multiple holds on a fulfillment order, apps need to supply the\n[handle](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentHold#field-handle)\nfield. Each app can place up to\n10 active holds\nper fulfillment order. If an app attempts to place more than this, the mutation will return\n[a user error indicating that the limit has been reached](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderHoldUserErrorCode#value-fulfillmentorderholdlimitreached).\nThe app would need to release one of its existing holds before being able to apply a new one.")] + public FulfillmentOrderHoldPayload? fulfillmentOrderHold { get; set; } + /// ///Mark line items associated with a fulfillment order as being ready for pickup by a customer. /// ///Sends a Ready For Pickup notification to the customer to let them know that their order is ready ///to be picked up. /// - [Description("Mark line items associated with a fulfillment order as being ready for pickup by a customer.\n\nSends a Ready For Pickup notification to the customer to let them know that their order is ready\nto be picked up.")] - public FulfillmentOrderLineItemsPreparedForPickupPayload? fulfillmentOrderLineItemsPreparedForPickup { get; set; } - + [Description("Mark line items associated with a fulfillment order as being ready for pickup by a customer.\n\nSends a Ready For Pickup notification to the customer to let them know that their order is ready\nto be picked up.")] + public FulfillmentOrderLineItemsPreparedForPickupPayload? fulfillmentOrderLineItemsPreparedForPickup { get; set; } + /// ///Merges a set or multiple sets of fulfillment orders together into one based on ///line item inputs and quantities. /// - [Description("Merges a set or multiple sets of fulfillment orders together into one based on\nline item inputs and quantities.")] - public FulfillmentOrderMergePayload? fulfillmentOrderMerge { get; set; } - + [Description("Merges a set or multiple sets of fulfillment orders together into one based on\nline item inputs and quantities.")] + public FulfillmentOrderMergePayload? fulfillmentOrderMerge { get; set; } + /// ///Changes the location which is assigned to fulfill a number of unfulfilled fulfillment order line items. /// @@ -76384,35 +76384,35 @@ public class Mutation : GraphQLObject, IMutationRoot ///a new fulfillment order is created. The existing fulfillment order is closed and line items are recreated ///in a new fulfillment order. /// - [Description("Changes the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.\n\nMoving a fulfillment order will fail in the following circumstances:\n\n* The fulfillment order is closed.\n* The destination location doesn't stock the requested inventory item.\n* The API client doesn't have the correct permissions.\n\nLine items which have already been fulfilled can't be re-assigned\nand will always remain assigned to the original location.\n\nYou can't change the assigned location while a fulfillment order has a\n[request status](https://shopify.dev/docs/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus)\nof `SUBMITTED`, `ACCEPTED`, `CANCELLATION_REQUESTED`, or `CANCELLATION_REJECTED`.\nThese request statuses mean that a fulfillment order is awaiting action by a fulfillment service\nand can't be re-assigned without first having the fulfillment service accept a cancellation request.\nThis behavior is intended to prevent items from being fulfilled by multiple locations or fulfillment services.\n\n### How re-assigning line items affects fulfillment orders\n\n**First scenario:** Re-assign all line items belonging to a fulfillment order to a new location.\n\nIn this case, the\n[assignedLocation](https://shopify.dev/docs/api/admin-graphql/latest/objects/fulfillmentorder#field-fulfillmentorder-assignedlocation)\nof the original fulfillment order will be updated to the new location.\n\n**Second scenario:** Re-assign a subset of the line items belonging to a fulfillment order to a new location.\nYou can specify a subset of line items using the `fulfillmentOrderLineItems` parameter\n(available as of the `2023-04` API version),\nor specify that the original fulfillment order contains line items which have already been fulfilled.\n\nIf the new location is already assigned to another active fulfillment order, on the same order, then\na new fulfillment order is created. The existing fulfillment order is closed and line items are recreated\nin a new fulfillment order.")] - public FulfillmentOrderMovePayload? fulfillmentOrderMove { get; set; } - + [Description("Changes the location which is assigned to fulfill a number of unfulfilled fulfillment order line items.\n\nMoving a fulfillment order will fail in the following circumstances:\n\n* The fulfillment order is closed.\n* The destination location doesn't stock the requested inventory item.\n* The API client doesn't have the correct permissions.\n\nLine items which have already been fulfilled can't be re-assigned\nand will always remain assigned to the original location.\n\nYou can't change the assigned location while a fulfillment order has a\n[request status](https://shopify.dev/docs/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus)\nof `SUBMITTED`, `ACCEPTED`, `CANCELLATION_REQUESTED`, or `CANCELLATION_REJECTED`.\nThese request statuses mean that a fulfillment order is awaiting action by a fulfillment service\nand can't be re-assigned without first having the fulfillment service accept a cancellation request.\nThis behavior is intended to prevent items from being fulfilled by multiple locations or fulfillment services.\n\n### How re-assigning line items affects fulfillment orders\n\n**First scenario:** Re-assign all line items belonging to a fulfillment order to a new location.\n\nIn this case, the\n[assignedLocation](https://shopify.dev/docs/api/admin-graphql/latest/objects/fulfillmentorder#field-fulfillmentorder-assignedlocation)\nof the original fulfillment order will be updated to the new location.\n\n**Second scenario:** Re-assign a subset of the line items belonging to a fulfillment order to a new location.\nYou can specify a subset of line items using the `fulfillmentOrderLineItems` parameter\n(available as of the `2023-04` API version),\nor specify that the original fulfillment order contains line items which have already been fulfilled.\n\nIf the new location is already assigned to another active fulfillment order, on the same order, then\na new fulfillment order is created. The existing fulfillment order is closed and line items are recreated\nin a new fulfillment order.")] + public FulfillmentOrderMovePayload? fulfillmentOrderMove { get; set; } + /// ///Marks a scheduled fulfillment order as open. /// ///From API version 2026-01, this will also mark a fulfillment order as open when it is assigned to a merchant managed location and has had progress reported. /// - [Description("Marks a scheduled fulfillment order as open.\n\nFrom API version 2026-01, this will also mark a fulfillment order as open when it is assigned to a merchant managed location and has had progress reported.")] - public FulfillmentOrderOpenPayload? fulfillmentOrderOpen { get; set; } - + [Description("Marks a scheduled fulfillment order as open.\n\nFrom API version 2026-01, this will also mark a fulfillment order as open when it is assigned to a merchant managed location and has had progress reported.")] + public FulfillmentOrderOpenPayload? fulfillmentOrderOpen { get; set; } + /// ///Rejects a cancellation request sent to a fulfillment service for a fulfillment order. /// - [Description("Rejects a cancellation request sent to a fulfillment service for a fulfillment order.")] - public FulfillmentOrderRejectCancellationRequestPayload? fulfillmentOrderRejectCancellationRequest { get; set; } - + [Description("Rejects a cancellation request sent to a fulfillment service for a fulfillment order.")] + public FulfillmentOrderRejectCancellationRequestPayload? fulfillmentOrderRejectCancellationRequest { get; set; } + /// ///Rejects a fulfillment request sent to a fulfillment service for a fulfillment order. /// - [Description("Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.")] - public FulfillmentOrderRejectFulfillmentRequestPayload? fulfillmentOrderRejectFulfillmentRequest { get; set; } - + [Description("Rejects a fulfillment request sent to a fulfillment service for a fulfillment order.")] + public FulfillmentOrderRejectFulfillmentRequestPayload? fulfillmentOrderRejectFulfillmentRequest { get; set; } + /// ///Releases the fulfillment hold on a fulfillment order. /// - [Description("Releases the fulfillment hold on a fulfillment order.")] - public FulfillmentOrderReleaseHoldPayload? fulfillmentOrderReleaseHold { get; set; } - + [Description("Releases the fulfillment hold on a fulfillment order.")] + public FulfillmentOrderReleaseHoldPayload? fulfillmentOrderReleaseHold { get; set; } + /// ///Reschedules a scheduled fulfillment order. /// @@ -76420,41 +76420,41 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///The fulfillment order will be marked as ready for fulfillment at this date and time. /// - [Description("Reschedules a scheduled fulfillment order.\n\nUpdates the value of the `fulfillAt` field on a scheduled fulfillment order.\n\nThe fulfillment order will be marked as ready for fulfillment at this date and time.")] - public FulfillmentOrderReschedulePayload? fulfillmentOrderReschedule { get; set; } - + [Description("Reschedules a scheduled fulfillment order.\n\nUpdates the value of the `fulfillAt` field on a scheduled fulfillment order.\n\nThe fulfillment order will be marked as ready for fulfillment at this date and time.")] + public FulfillmentOrderReschedulePayload? fulfillmentOrderReschedule { get; set; } + /// ///Splits a fulfillment order or orders based on line item inputs and quantities. /// - [Description("Splits a fulfillment order or orders based on line item inputs and quantities.")] - public FulfillmentOrderSplitPayload? fulfillmentOrderSplit { get; set; } - + [Description("Splits a fulfillment order or orders based on line item inputs and quantities.")] + public FulfillmentOrderSplitPayload? fulfillmentOrderSplit { get; set; } + /// ///Sends a cancellation request to the fulfillment service of a fulfillment order. /// - [Description("Sends a cancellation request to the fulfillment service of a fulfillment order.")] - public FulfillmentOrderSubmitCancellationRequestPayload? fulfillmentOrderSubmitCancellationRequest { get; set; } - + [Description("Sends a cancellation request to the fulfillment service of a fulfillment order.")] + public FulfillmentOrderSubmitCancellationRequestPayload? fulfillmentOrderSubmitCancellationRequest { get; set; } + /// ///Sends a fulfillment request to the fulfillment service of a fulfillment order. /// - [Description("Sends a fulfillment request to the fulfillment service of a fulfillment order.")] - public FulfillmentOrderSubmitFulfillmentRequestPayload? fulfillmentOrderSubmitFulfillmentRequest { get; set; } - + [Description("Sends a fulfillment request to the fulfillment service of a fulfillment order.")] + public FulfillmentOrderSubmitFulfillmentRequestPayload? fulfillmentOrderSubmitFulfillmentRequest { get; set; } + /// ///Route the fulfillment orders to an alternative location, according to the shop's order routing settings. This involves: ///* Finding an alternate location that can fulfill the fulfillment orders. ///* Assigning the fulfillment orders to the new location. /// - [Description("Route the fulfillment orders to an alternative location, according to the shop's order routing settings. This involves:\n* Finding an alternate location that can fulfill the fulfillment orders.\n* Assigning the fulfillment orders to the new location.")] - public FulfillmentOrdersReroutePayload? fulfillmentOrdersReroute { get; set; } - + [Description("Route the fulfillment orders to an alternative location, according to the shop's order routing settings. This involves:\n* Finding an alternate location that can fulfill the fulfillment orders.\n* Assigning the fulfillment orders to the new location.")] + public FulfillmentOrdersReroutePayload? fulfillmentOrdersReroute { get; set; } + /// ///Sets the latest date and time by which the fulfillment orders need to be fulfilled. /// - [Description("Sets the latest date and time by which the fulfillment orders need to be fulfilled.")] - public FulfillmentOrdersSetFulfillmentDeadlinePayload? fulfillmentOrdersSetFulfillmentDeadline { get; set; } - + [Description("Sets the latest date and time by which the fulfillment orders need to be fulfilled.")] + public FulfillmentOrdersSetFulfillmentDeadlinePayload? fulfillmentOrdersSetFulfillmentDeadline { get; set; } + /// ///Creates a fulfillment service. /// @@ -76470,86 +76470,86 @@ public class Mutation : GraphQLObject, IMutationRoot ///[LocationEdit](https://shopify.dev/api/admin-graphql/latest/mutations/locationEdit) ///mutation after creating the fulfillment service. /// - [Description("Creates a fulfillment service.\n\n## Fulfillment service location\n\nWhen creating a fulfillment service, a new location will be automatically created on the shop\nand will be associated with this fulfillment service.\nThis location will be named after the fulfillment service and inherit the shop's address.\n\nIf you are using API version `2023-10` or later, and you need to specify custom attributes for the fulfillment service location\n(for example, to change its address to a country different from the shop's country),\nuse the\n[LocationEdit](https://shopify.dev/api/admin-graphql/latest/mutations/locationEdit)\nmutation after creating the fulfillment service.")] - public FulfillmentServiceCreatePayload? fulfillmentServiceCreate { get; set; } - + [Description("Creates a fulfillment service.\n\n## Fulfillment service location\n\nWhen creating a fulfillment service, a new location will be automatically created on the shop\nand will be associated with this fulfillment service.\nThis location will be named after the fulfillment service and inherit the shop's address.\n\nIf you are using API version `2023-10` or later, and you need to specify custom attributes for the fulfillment service location\n(for example, to change its address to a country different from the shop's country),\nuse the\n[LocationEdit](https://shopify.dev/api/admin-graphql/latest/mutations/locationEdit)\nmutation after creating the fulfillment service.")] + public FulfillmentServiceCreatePayload? fulfillmentServiceCreate { get; set; } + /// ///Deletes a fulfillment service. /// - [Description("Deletes a fulfillment service.")] - public FulfillmentServiceDeletePayload? fulfillmentServiceDelete { get; set; } - + [Description("Deletes a fulfillment service.")] + public FulfillmentServiceDeletePayload? fulfillmentServiceDelete { get; set; } + /// ///Updates a fulfillment service. /// ///If you need to update the location managed by the fulfillment service (for example, to change the address of a fulfillment service), use the [LocationEdit](https://shopify.dev/api/admin-graphql/latest/mutations/locationEdit) mutation. /// - [Description("Updates a fulfillment service.\n\nIf you need to update the location managed by the fulfillment service (for example, to change the address of a fulfillment service), use the [LocationEdit](https://shopify.dev/api/admin-graphql/latest/mutations/locationEdit) mutation.")] - public FulfillmentServiceUpdatePayload? fulfillmentServiceUpdate { get; set; } - + [Description("Updates a fulfillment service.\n\nIf you need to update the location managed by the fulfillment service (for example, to change the address of a fulfillment service), use the [LocationEdit](https://shopify.dev/api/admin-graphql/latest/mutations/locationEdit) mutation.")] + public FulfillmentServiceUpdatePayload? fulfillmentServiceUpdate { get; set; } + /// ///Updates tracking information for a fulfillment. /// - [Description("Updates tracking information for a fulfillment.")] - public FulfillmentTrackingInfoUpdatePayload? fulfillmentTrackingInfoUpdate { get; set; } - + [Description("Updates tracking information for a fulfillment.")] + public FulfillmentTrackingInfoUpdatePayload? fulfillmentTrackingInfoUpdate { get; set; } + /// ///Updates tracking information for a fulfillment. /// - [Description("Updates tracking information for a fulfillment.")] - [Obsolete("Use `fulfillmentTrackingInfoUpdate` instead.")] - public FulfillmentTrackingInfoUpdateV2Payload? fulfillmentTrackingInfoUpdateV2 { get; set; } - + [Description("Updates tracking information for a fulfillment.")] + [Obsolete("Use `fulfillmentTrackingInfoUpdate` instead.")] + public FulfillmentTrackingInfoUpdateV2Payload? fulfillmentTrackingInfoUpdateV2 { get; set; } + /// ///Create a gift card. /// - [Description("Create a gift card.")] - public GiftCardCreatePayload? giftCardCreate { get; set; } - + [Description("Create a gift card.")] + public GiftCardCreatePayload? giftCardCreate { get; set; } + /// ///Credit a gift card. /// - [Description("Credit a gift card.")] - public GiftCardCreditPayload? giftCardCredit { get; set; } - + [Description("Credit a gift card.")] + public GiftCardCreditPayload? giftCardCredit { get; set; } + /// ///Deactivate a gift card. A deactivated gift card cannot be used by a customer. ///A deactivated gift card cannot be re-enabled. /// - [Description("Deactivate a gift card. A deactivated gift card cannot be used by a customer.\nA deactivated gift card cannot be re-enabled.")] - public GiftCardDeactivatePayload? giftCardDeactivate { get; set; } - + [Description("Deactivate a gift card. A deactivated gift card cannot be used by a customer.\nA deactivated gift card cannot be re-enabled.")] + public GiftCardDeactivatePayload? giftCardDeactivate { get; set; } + /// ///Debit a gift card. /// - [Description("Debit a gift card.")] - public GiftCardDebitPayload? giftCardDebit { get; set; } - + [Description("Debit a gift card.")] + public GiftCardDebitPayload? giftCardDebit { get; set; } + /// ///Send notification to the customer of a gift card. /// - [Description("Send notification to the customer of a gift card.")] - public GiftCardSendNotificationToCustomerPayload? giftCardSendNotificationToCustomer { get; set; } - + [Description("Send notification to the customer of a gift card.")] + public GiftCardSendNotificationToCustomerPayload? giftCardSendNotificationToCustomer { get; set; } + /// ///Send notification to the recipient of a gift card. /// - [Description("Send notification to the recipient of a gift card.")] - public GiftCardSendNotificationToRecipientPayload? giftCardSendNotificationToRecipient { get; set; } - + [Description("Send notification to the recipient of a gift card.")] + public GiftCardSendNotificationToRecipientPayload? giftCardSendNotificationToRecipient { get; set; } + /// ///Update a gift card. /// - [Description("Update a gift card.")] - public GiftCardUpdatePayload? giftCardUpdate { get; set; } - + [Description("Update a gift card.")] + public GiftCardUpdatePayload? giftCardUpdate { get; set; } + /// ///Updates the server pixel to connect to an HTTP endpoint. ///Running this mutation deletes any previous subscriptions for the server pixel. /// - [Description("Updates the server pixel to connect to an HTTP endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.")] - public HttpServerPixelUpdatePayload? httpServerPixelUpdate { get; set; } - + [Description("Updates the server pixel to connect to an HTTP endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.")] + public HttpServerPixelUpdatePayload? httpServerPixelUpdate { get; set; } + /// ///Sets up a new Hydrogen storefront to power your headless commerce experience. This mutation kicks off the provisioning process in the background and gives you a job ID to track progress. /// @@ -76564,9 +76564,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [creating Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started). /// - [Description("Sets up a new Hydrogen storefront to power your headless commerce experience. This mutation kicks off the provisioning process in the background and gives you a job ID to track progress.\n\nFor example, when launching a new headless commerce experience, developers use this mutation to provision the storefront environment.\n\nUse `hydrogenStorefrontCreate` to:\n- Provision new Hydrogen storefront instances\n- Track creation progress through background jobs\n- Handle setup validation and error reporting\n\nThe mutation returns immediately with a job ID that can be used to monitor the creation progress, as storefront provisioning runs asynchronously. User errors provide feedback if the creation request contains invalid parameters or conflicts with existing resources.\n\nLearn more about [creating Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started).")] - public HydrogenStorefrontCreatePayload? hydrogenStorefrontCreate { get; set; } - + [Description("Sets up a new Hydrogen storefront to power your headless commerce experience. This mutation kicks off the provisioning process in the background and gives you a job ID to track progress.\n\nFor example, when launching a new headless commerce experience, developers use this mutation to provision the storefront environment.\n\nUse `hydrogenStorefrontCreate` to:\n- Provision new Hydrogen storefront instances\n- Track creation progress through background jobs\n- Handle setup validation and error reporting\n\nThe mutation returns immediately with a job ID that can be used to monitor the creation progress, as storefront provisioning runs asynchronously. User errors provide feedback if the creation request contains invalid parameters or conflicts with existing resources.\n\nLearn more about [creating Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started).")] + public HydrogenStorefrontCreatePayload? hydrogenStorefrontCreate { get; set; } + /// ///Updates the customer account application URLs for a Hydrogen storefront, configuring the authentication and redirect endpoints used by Shopify's Customer Account API integration. This mutation validates URL formats and security requirements. /// @@ -76582,9 +76582,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [Customer Account API integration](https://shopify.dev/docs/storefronts/headless/building-with-the-customer-account-api/getting-started). /// - [Description("Updates the customer account application URLs for a Hydrogen storefront, configuring the authentication and redirect endpoints used by Shopify's Customer Account API integration. This mutation validates URL formats and security requirements.\n\nFor example, when setting up customer login functionality, developers configure the JavaScript origin for client-side authentication, logout redirect URIs for post-signout navigation, and the primary redirect URI for successful authentication flows.\n\nUse `hydrogenStorefrontCustomerApplicationUrlsReplace` to:\n- Configure customer authentication endpoints\n- Update redirect URLs for login and logout flows\n- Modify JavaScript origins for client-side integration\n- Validate URL security and format requirements\n\nThe mutation replaces all existing URLs with the new configuration, ensuring consistent authentication behavior across the storefront. Detailed error reporting helps developers verify the configuration meets Shopify's security standards.\n\nLearn more about [Customer Account API integration](https://shopify.dev/docs/storefronts/headless/building-with-the-customer-account-api/getting-started).")] - public HydrogenStorefrontCustomerApplicationUrlsReplacePayload? hydrogenStorefrontCustomerApplicationUrlsReplace { get; set; } - + [Description("Updates the customer account application URLs for a Hydrogen storefront, configuring the authentication and redirect endpoints used by Shopify's Customer Account API integration. This mutation validates URL formats and security requirements.\n\nFor example, when setting up customer login functionality, developers configure the JavaScript origin for client-side authentication, logout redirect URIs for post-signout navigation, and the primary redirect URI for successful authentication flows.\n\nUse `hydrogenStorefrontCustomerApplicationUrlsReplace` to:\n- Configure customer authentication endpoints\n- Update redirect URLs for login and logout flows\n- Modify JavaScript origins for client-side integration\n- Validate URL security and format requirements\n\nThe mutation replaces all existing URLs with the new configuration, ensuring consistent authentication behavior across the storefront. Detailed error reporting helps developers verify the configuration meets Shopify's security standards.\n\nLearn more about [Customer Account API integration](https://shopify.dev/docs/storefronts/headless/building-with-the-customer-account-api/getting-started).")] + public HydrogenStorefrontCustomerApplicationUrlsReplacePayload? hydrogenStorefrontCustomerApplicationUrlsReplace { get; set; } + /// ///Replaces all environment variables for a specific Hydrogen storefront environment in a single atomic operation. This mutation provides a complete replacement strategy rather than individual variable updates, ensuring consistent environment configuration. /// @@ -76600,66 +76600,66 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [Hydrogen deployment](https://shopify.dev/docs/custom-storefronts/hydrogen/deployment). /// - [Description("Replaces all environment variables for a specific Hydrogen storefront environment in a single atomic operation. This mutation provides a complete replacement strategy rather than individual variable updates, ensuring consistent environment configuration.\n\nFor example, when deploying a new version of your Hydrogen storefront that requires a different set of API keys, database URLs, and feature flags, you can replace the entire environment configuration at once rather than updating variables individually.\n\nUse `HydrogenStorefrontEnvironmentVariableBulkReplace` to:\n- Deploy complete environment configurations during releases\n- Synchronize development and production environment settings\n- Reset environment variables to a known baseline state\n- Migrate between different configuration schemas\n\nThis bulk replacement approach helps prevent configuration drift and ensures all related variables are updated together, reducing the risk of partial updates that could break your storefront functionality.\n\nLearn more about [Hydrogen deployment](https://shopify.dev/docs/custom-storefronts/hydrogen/deployment).")] - public HydrogenStorefrontEnvironmentVariableBulkReplacePayload? hydrogenStorefrontEnvironmentVariableBulkReplace { get; set; } - + [Description("Replaces all environment variables for a specific Hydrogen storefront environment in a single atomic operation. This mutation provides a complete replacement strategy rather than individual variable updates, ensuring consistent environment configuration.\n\nFor example, when deploying a new version of your Hydrogen storefront that requires a different set of API keys, database URLs, and feature flags, you can replace the entire environment configuration at once rather than updating variables individually.\n\nUse `HydrogenStorefrontEnvironmentVariableBulkReplace` to:\n- Deploy complete environment configurations during releases\n- Synchronize development and production environment settings\n- Reset environment variables to a known baseline state\n- Migrate between different configuration schemas\n\nThis bulk replacement approach helps prevent configuration drift and ensures all related variables are updated together, reducing the risk of partial updates that could break your storefront functionality.\n\nLearn more about [Hydrogen deployment](https://shopify.dev/docs/custom-storefronts/hydrogen/deployment).")] + public HydrogenStorefrontEnvironmentVariableBulkReplacePayload? hydrogenStorefrontEnvironmentVariableBulkReplace { get; set; } + /// ///Activate an inventory item at a location. /// - [Description("Activate an inventory item at a location.")] - public InventoryActivatePayload? inventoryActivate { get; set; } - + [Description("Activate an inventory item at a location.")] + public InventoryActivatePayload? inventoryActivate { get; set; } + /// ///Apply changes to inventory quantities. /// - [Description("Apply changes to inventory quantities.")] - public InventoryAdjustQuantitiesPayload? inventoryAdjustQuantities { get; set; } - + [Description("Apply changes to inventory quantities.")] + public InventoryAdjustQuantitiesPayload? inventoryAdjustQuantities { get; set; } + /// ///Adjusts the inventory by a certain quantity. /// - [Description("Adjusts the inventory by a certain quantity.")] - [Obsolete("Use `inventoryAdjustQuantities` instead.")] - public InventoryAdjustQuantityPayload? inventoryAdjustQuantity { get; set; } - + [Description("Adjusts the inventory by a certain quantity.")] + [Obsolete("Use `inventoryAdjustQuantities` instead.")] + public InventoryAdjustQuantityPayload? inventoryAdjustQuantity { get; set; } + /// ///Adjusts the inventory at a location for multiple inventory items. /// - [Description("Adjusts the inventory at a location for multiple inventory items.")] - [Obsolete("Use `inventoryAdjustQuantities` instead.")] - public InventoryBulkAdjustQuantityAtLocationPayload? inventoryBulkAdjustQuantityAtLocation { get; set; } - + [Description("Adjusts the inventory at a location for multiple inventory items.")] + [Obsolete("Use `inventoryAdjustQuantities` instead.")] + public InventoryBulkAdjustQuantityAtLocationPayload? inventoryBulkAdjustQuantityAtLocation { get; set; } + /// ///Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location. /// - [Description("Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.")] - public InventoryBulkToggleActivationPayload? inventoryBulkToggleActivation { get; set; } - + [Description("Modify the activation status of an inventory item at locations. Activating an inventory item at a particular location allows that location to stock that inventory item. Deactivating an inventory item at a location removes the inventory item's quantities and turns off the inventory item from that location.")] + public InventoryBulkToggleActivationPayload? inventoryBulkToggleActivation { get; set; } + /// ///Removes an inventory item's quantities from a location, and turns off inventory at the location. /// - [Description("Removes an inventory item's quantities from a location, and turns off inventory at the location.")] - public InventoryDeactivatePayload? inventoryDeactivate { get; set; } - + [Description("Removes an inventory item's quantities from a location, and turns off inventory at the location.")] + public InventoryDeactivatePayload? inventoryDeactivate { get; set; } + /// ///Updates an inventory item. /// - [Description("Updates an inventory item.")] - public InventoryItemUpdatePayload? inventoryItemUpdate { get; set; } - + [Description("Updates an inventory item.")] + public InventoryItemUpdatePayload? inventoryItemUpdate { get; set; } + /// ///Moves inventory between inventory quantity names at a single location. /// - [Description("Moves inventory between inventory quantity names at a single location.")] - public InventoryMoveQuantitiesPayload? inventoryMoveQuantities { get; set; } - + [Description("Moves inventory between inventory quantity names at a single location.")] + public InventoryMoveQuantitiesPayload? inventoryMoveQuantities { get; set; } + /// ///Set inventory on-hand quantities using absolute values. /// - [Description("Set inventory on-hand quantities using absolute values.")] - [Obsolete("Use `inventorySetQuantities` to set on_hand or available quantites instead.")] - public InventorySetOnHandQuantitiesPayload? inventorySetOnHandQuantities { get; set; } - + [Description("Set inventory on-hand quantities using absolute values.")] + [Obsolete("Use `inventorySetQuantities` to set on_hand or available quantites instead.")] + public InventorySetOnHandQuantitiesPayload? inventorySetOnHandQuantities { get; set; } + /// ///Set quantities of specified name using absolute values. This mutation supports compare-and-set functionality to handle ///concurrent requests properly. If `ignoreCompareQuantity` is not set to true, @@ -76676,374 +76676,374 @@ public class Mutation : GraphQLObject, IMutationRoot ///> It is recommended to always include the `compareQuantity` value to ensure the accuracy of the inventory quantities and to opt out ///> of the check using `ignoreCompareQuantity` only when necessary. /// - [Description("Set quantities of specified name using absolute values. This mutation supports compare-and-set functionality to handle\nconcurrent requests properly. If `ignoreCompareQuantity` is not set to true,\nthe mutation will only update the quantity if the persisted quantity matches the `compareQuantity` value.\nIf the `compareQuantity` value does not match the persisted value, the mutation will return an error. In order to opt out\nof the `compareQuantity` check, the `ignoreCompareQuantity` argument can be set to true.\n\n> Note:\n> Only use this mutation if calling on behalf of a system that acts as the source of truth for inventory quantities,\n> otherwise please consider using the [inventoryAdjustQuantities](https://shopify.dev/api/admin-graphql/latest/mutations/inventoryAdjustQuantities) mutation.\n>\n>\n> Opting out of the `compareQuantity` check can lead to inaccurate inventory quantities if multiple requests are made concurrently.\n> It is recommended to always include the `compareQuantity` value to ensure the accuracy of the inventory quantities and to opt out\n> of the check using `ignoreCompareQuantity` only when necessary.")] - public InventorySetQuantitiesPayload? inventorySetQuantities { get; set; } - + [Description("Set quantities of specified name using absolute values. This mutation supports compare-and-set functionality to handle\nconcurrent requests properly. If `ignoreCompareQuantity` is not set to true,\nthe mutation will only update the quantity if the persisted quantity matches the `compareQuantity` value.\nIf the `compareQuantity` value does not match the persisted value, the mutation will return an error. In order to opt out\nof the `compareQuantity` check, the `ignoreCompareQuantity` argument can be set to true.\n\n> Note:\n> Only use this mutation if calling on behalf of a system that acts as the source of truth for inventory quantities,\n> otherwise please consider using the [inventoryAdjustQuantities](https://shopify.dev/api/admin-graphql/latest/mutations/inventoryAdjustQuantities) mutation.\n>\n>\n> Opting out of the `compareQuantity` check can lead to inaccurate inventory quantities if multiple requests are made concurrently.\n> It is recommended to always include the `compareQuantity` value to ensure the accuracy of the inventory quantities and to opt out\n> of the check using `ignoreCompareQuantity` only when necessary.")] + public InventorySetQuantitiesPayload? inventorySetQuantities { get; set; } + /// ///Set up scheduled changes of inventory items. /// - [Description("Set up scheduled changes of inventory items.")] - public InventorySetScheduledChangesPayload? inventorySetScheduledChanges { get; set; } - + [Description("Set up scheduled changes of inventory items.")] + public InventorySetScheduledChangesPayload? inventorySetScheduledChanges { get; set; } + /// ///Adds items to an inventory shipment. /// - [Description("Adds items to an inventory shipment.")] - public InventoryShipmentAddItemsPayload? inventoryShipmentAddItems { get; set; } - + [Description("Adds items to an inventory shipment.")] + public InventoryShipmentAddItemsPayload? inventoryShipmentAddItems { get; set; } + /// ///Adds a draft shipment to an inventory transfer. /// - [Description("Adds a draft shipment to an inventory transfer.")] - public InventoryShipmentCreatePayload? inventoryShipmentCreate { get; set; } - + [Description("Adds a draft shipment to an inventory transfer.")] + public InventoryShipmentCreatePayload? inventoryShipmentCreate { get; set; } + /// ///Adds an in-transit shipment to an inventory transfer. /// - [Description("Adds an in-transit shipment to an inventory transfer.")] - public InventoryShipmentCreateInTransitPayload? inventoryShipmentCreateInTransit { get; set; } - + [Description("Adds an in-transit shipment to an inventory transfer.")] + public InventoryShipmentCreateInTransitPayload? inventoryShipmentCreateInTransit { get; set; } + /// ///Deletes an inventory shipment. Only draft shipments can be deleted. /// - [Description("Deletes an inventory shipment. Only draft shipments can be deleted.")] - public InventoryShipmentDeletePayload? inventoryShipmentDelete { get; set; } - + [Description("Deletes an inventory shipment. Only draft shipments can be deleted.")] + public InventoryShipmentDeletePayload? inventoryShipmentDelete { get; set; } + /// ///Marks a draft inventory shipment as in transit. /// - [Description("Marks a draft inventory shipment as in transit.")] - public InventoryShipmentMarkInTransitPayload? inventoryShipmentMarkInTransit { get; set; } - + [Description("Marks a draft inventory shipment as in transit.")] + public InventoryShipmentMarkInTransitPayload? inventoryShipmentMarkInTransit { get; set; } + /// ///Receive an inventory shipment. /// - [Description("Receive an inventory shipment.")] - public InventoryShipmentReceivePayload? inventoryShipmentReceive { get; set; } - + [Description("Receive an inventory shipment.")] + public InventoryShipmentReceivePayload? inventoryShipmentReceive { get; set; } + /// ///Remove items from an inventory shipment. /// - [Description("Remove items from an inventory shipment.")] - public InventoryShipmentRemoveItemsPayload? inventoryShipmentRemoveItems { get; set; } - + [Description("Remove items from an inventory shipment.")] + public InventoryShipmentRemoveItemsPayload? inventoryShipmentRemoveItems { get; set; } + /// ///Edits the tracking info on an inventory shipment. /// - [Description("Edits the tracking info on an inventory shipment.")] - public InventoryShipmentSetTrackingPayload? inventoryShipmentSetTracking { get; set; } - + [Description("Edits the tracking info on an inventory shipment.")] + public InventoryShipmentSetTrackingPayload? inventoryShipmentSetTracking { get; set; } + /// ///Updates items on an inventory shipment. /// - [Description("Updates items on an inventory shipment.")] - public InventoryShipmentUpdateItemQuantitiesPayload? inventoryShipmentUpdateItemQuantities { get; set; } - + [Description("Updates items on an inventory shipment.")] + public InventoryShipmentUpdateItemQuantitiesPayload? inventoryShipmentUpdateItemQuantities { get; set; } + /// ///Cancels an inventory transfer. /// - [Description("Cancels an inventory transfer.")] - public InventoryTransferCancelPayload? inventoryTransferCancel { get; set; } - + [Description("Cancels an inventory transfer.")] + public InventoryTransferCancelPayload? inventoryTransferCancel { get; set; } + /// ///Creates an inventory transfer. /// - [Description("Creates an inventory transfer.")] - public InventoryTransferCreatePayload? inventoryTransferCreate { get; set; } - + [Description("Creates an inventory transfer.")] + public InventoryTransferCreatePayload? inventoryTransferCreate { get; set; } + /// ///Creates an inventory transfer in ready to ship. /// - [Description("Creates an inventory transfer in ready to ship.")] - public InventoryTransferCreateAsReadyToShipPayload? inventoryTransferCreateAsReadyToShip { get; set; } - + [Description("Creates an inventory transfer in ready to ship.")] + public InventoryTransferCreateAsReadyToShipPayload? inventoryTransferCreateAsReadyToShip { get; set; } + /// ///Deletes an inventory transfer. /// - [Description("Deletes an inventory transfer.")] - public InventoryTransferDeletePayload? inventoryTransferDelete { get; set; } - + [Description("Deletes an inventory transfer.")] + public InventoryTransferDeletePayload? inventoryTransferDelete { get; set; } + /// ///This mutation allows duplicating an existing inventory transfer. The duplicated transfer will have the same ///line items and quantities as the original transfer, but will be in a draft state with no shipments. /// - [Description("This mutation allows duplicating an existing inventory transfer. The duplicated transfer will have the same\nline items and quantities as the original transfer, but will be in a draft state with no shipments.")] - public InventoryTransferDuplicatePayload? inventoryTransferDuplicate { get; set; } - + [Description("This mutation allows duplicating an existing inventory transfer. The duplicated transfer will have the same\nline items and quantities as the original transfer, but will be in a draft state with no shipments.")] + public InventoryTransferDuplicatePayload? inventoryTransferDuplicate { get; set; } + /// ///Edits an inventory transfer. /// - [Description("Edits an inventory transfer.")] - public InventoryTransferEditPayload? inventoryTransferEdit { get; set; } - + [Description("Edits an inventory transfer.")] + public InventoryTransferEditPayload? inventoryTransferEdit { get; set; } + /// ///Sets an inventory transfer to ready to ship. /// - [Description("Sets an inventory transfer to ready to ship.")] - public InventoryTransferMarkAsReadyToShipPayload? inventoryTransferMarkAsReadyToShip { get; set; } - + [Description("Sets an inventory transfer to ready to ship.")] + public InventoryTransferMarkAsReadyToShipPayload? inventoryTransferMarkAsReadyToShip { get; set; } + /// ///This mutation allows removing the shippable quantities of line items on a Transfer. ///It removes all quantities of the item from the transfer that are not associated with shipments. /// - [Description("This mutation allows removing the shippable quantities of line items on a Transfer.\nIt removes all quantities of the item from the transfer that are not associated with shipments.")] - public InventoryTransferRemoveItemsPayload? inventoryTransferRemoveItems { get; set; } - + [Description("This mutation allows removing the shippable quantities of line items on a Transfer.\nIt removes all quantities of the item from the transfer that are not associated with shipments.")] + public InventoryTransferRemoveItemsPayload? inventoryTransferRemoveItems { get; set; } + /// ///This mutation allows for the setting of line items on a Transfer. Will replace the items already set, if any. /// - [Description("This mutation allows for the setting of line items on a Transfer. Will replace the items already set, if any.")] - public InventoryTransferSetItemsPayload? inventoryTransferSetItems { get; set; } - + [Description("This mutation allows for the setting of line items on a Transfer. Will replace the items already set, if any.")] + public InventoryTransferSetItemsPayload? inventoryTransferSetItems { get; set; } + /// ///Activates a location so that you can stock inventory at the location. Refer to the ///[`isActive`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-isactive) and ///[`activatable`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-activatable) ///fields on the `Location` object. /// - [Description("Activates a location so that you can stock inventory at the location. Refer to the\n[`isActive`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-isactive) and\n[`activatable`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-activatable)\nfields on the `Location` object.")] - public LocationActivatePayload? locationActivate { get; set; } - + [Description("Activates a location so that you can stock inventory at the location. Refer to the\n[`isActive`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-isactive) and\n[`activatable`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Location#field-activatable)\nfields on the `Location` object.")] + public LocationActivatePayload? locationActivate { get; set; } + /// ///Adds a new location. /// - [Description("Adds a new location.")] - public LocationAddPayload? locationAdd { get; set; } - + [Description("Adds a new location.")] + public LocationAddPayload? locationAdd { get; set; } + /// ///Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location. /// - [Description("Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location.")] - public LocationDeactivatePayload? locationDeactivate { get; set; } - + [Description("Deactivates a location and moves inventory, pending orders, and moving transfers to a destination location.")] + public LocationDeactivatePayload? locationDeactivate { get; set; } + /// ///Deletes a location. /// - [Description("Deletes a location.")] - public LocationDeletePayload? locationDelete { get; set; } - + [Description("Deletes a location.")] + public LocationDeletePayload? locationDelete { get; set; } + /// ///Edits an existing location. /// ///[As of the 2023-10 API version](https://shopify.dev/changelog/apps-can-now-change-the-name-and-address-of-their-fulfillment-service-locations), apps can change the name and address of their fulfillment service locations. /// - [Description("Edits an existing location.\n\n[As of the 2023-10 API version](https://shopify.dev/changelog/apps-can-now-change-the-name-and-address-of-their-fulfillment-service-locations), apps can change the name and address of their fulfillment service locations.")] - public LocationEditPayload? locationEdit { get; set; } - + [Description("Edits an existing location.\n\n[As of the 2023-10 API version](https://shopify.dev/changelog/apps-can-now-change-the-name-and-address-of-their-fulfillment-service-locations), apps can change the name and address of their fulfillment service locations.")] + public LocationEditPayload? locationEdit { get; set; } + /// ///Disables local pickup for a location. /// - [Description("Disables local pickup for a location.")] - public LocationLocalPickupDisablePayload? locationLocalPickupDisable { get; set; } - + [Description("Disables local pickup for a location.")] + public LocationLocalPickupDisablePayload? locationLocalPickupDisable { get; set; } + /// ///Enables local pickup for a location. /// - [Description("Enables local pickup for a location.")] - public LocationLocalPickupEnablePayload? locationLocalPickupEnable { get; set; } - + [Description("Enables local pickup for a location.")] + public LocationLocalPickupEnablePayload? locationLocalPickupEnable { get; set; } + /// ///Creates a new market. /// - [Description("Creates a new market.")] - public MarketCreatePayload? marketCreate { get; set; } - + [Description("Creates a new market.")] + public MarketCreatePayload? marketCreate { get; set; } + /// ///Updates currency settings of a market. /// - [Description("Updates currency settings of a market.")] - [Obsolete("This will be removed in a future version. Use `marketCreate` and `marketUpdate` for creating and updating\nmarket currency settings, respectively.")] - public MarketCurrencySettingsUpdatePayload? marketCurrencySettingsUpdate { get; set; } - + [Description("Updates currency settings of a market.")] + [Obsolete("This will be removed in a future version. Use `marketCreate` and `marketUpdate` for creating and updating\nmarket currency settings, respectively.")] + public MarketCurrencySettingsUpdatePayload? marketCurrencySettingsUpdate { get; set; } + /// ///Deletes a market definition. /// - [Description("Deletes a market definition.")] - public MarketDeletePayload? marketDelete { get; set; } - + [Description("Deletes a market definition.")] + public MarketDeletePayload? marketDelete { get; set; } + /// ///Creates or updates market localizations. /// - [Description("Creates or updates market localizations.")] - public MarketLocalizationsRegisterPayload? marketLocalizationsRegister { get; set; } - + [Description("Creates or updates market localizations.")] + public MarketLocalizationsRegisterPayload? marketLocalizationsRegister { get; set; } + /// ///Deletes market localizations. /// - [Description("Deletes market localizations.")] - public MarketLocalizationsRemovePayload? marketLocalizationsRemove { get; set; } - + [Description("Deletes market localizations.")] + public MarketLocalizationsRemovePayload? marketLocalizationsRemove { get; set; } + /// ///Deletes a market region. /// - [Description("Deletes a market region.")] - [Obsolete("Use `marketUpdate` instead.")] - public MarketRegionDeletePayload? marketRegionDelete { get; set; } - + [Description("Deletes a market region.")] + [Obsolete("Use `marketUpdate` instead.")] + public MarketRegionDeletePayload? marketRegionDelete { get; set; } + /// ///Creates regions that belong to an existing market. /// - [Description("Creates regions that belong to an existing market.")] - [Obsolete("This mutation is deprecated and will be removed in the future. Use `marketCreate` or `marketUpdate` instead.")] - public MarketRegionsCreatePayload? marketRegionsCreate { get; set; } - + [Description("Creates regions that belong to an existing market.")] + [Obsolete("This mutation is deprecated and will be removed in the future. Use `marketCreate` or `marketUpdate` instead.")] + public MarketRegionsCreatePayload? marketRegionsCreate { get; set; } + /// ///Deletes a list of market regions. /// - [Description("Deletes a list of market regions.")] - [Obsolete("Use `marketUpdate` instead.")] - public MarketRegionsDeletePayload? marketRegionsDelete { get; set; } - + [Description("Deletes a list of market regions.")] + [Obsolete("Use `marketUpdate` instead.")] + public MarketRegionsDeletePayload? marketRegionsDelete { get; set; } + /// ///Updates the properties of a market. /// - [Description("Updates the properties of a market.")] - public MarketUpdatePayload? marketUpdate { get; set; } - + [Description("Updates the properties of a market.")] + public MarketUpdatePayload? marketUpdate { get; set; } + /// ///Creates a web presence for a market. /// - [Description("Creates a web presence for a market.")] - [Obsolete("Use `webPresenceCreate` instead.")] - public MarketWebPresenceCreatePayload? marketWebPresenceCreate { get; set; } - + [Description("Creates a web presence for a market.")] + [Obsolete("Use `webPresenceCreate` instead.")] + public MarketWebPresenceCreatePayload? marketWebPresenceCreate { get; set; } + /// ///Deletes a market web presence. /// - [Description("Deletes a market web presence.")] - [Obsolete("Use `webPresenceDelete` instead.")] - public MarketWebPresenceDeletePayload? marketWebPresenceDelete { get; set; } - + [Description("Deletes a market web presence.")] + [Obsolete("Use `webPresenceDelete` instead.")] + public MarketWebPresenceDeletePayload? marketWebPresenceDelete { get; set; } + /// ///Updates a market web presence. /// - [Description("Updates a market web presence.")] - [Obsolete("Use `webPresenceUpdate` instead.")] - public MarketWebPresenceUpdatePayload? marketWebPresenceUpdate { get; set; } - + [Description("Updates a market web presence.")] + [Obsolete("Use `webPresenceUpdate` instead.")] + public MarketWebPresenceUpdatePayload? marketWebPresenceUpdate { get; set; } + /// ///Deletes all external marketing activities. Deletion is performed by a background job, as it may take a bit of time to complete if a large number of activities are to be deleted. Attempting to create or modify external activities before the job has completed will result in the create/update/upsert mutation returning an error. /// - [Description("Deletes all external marketing activities. Deletion is performed by a background job, as it may take a bit of time to complete if a large number of activities are to be deleted. Attempting to create or modify external activities before the job has completed will result in the create/update/upsert mutation returning an error.")] - public MarketingActivitiesDeleteAllExternalPayload? marketingActivitiesDeleteAllExternal { get; set; } - + [Description("Deletes all external marketing activities. Deletion is performed by a background job, as it may take a bit of time to complete if a large number of activities are to be deleted. Attempting to create or modify external activities before the job has completed will result in the create/update/upsert mutation returning an error.")] + public MarketingActivitiesDeleteAllExternalPayload? marketingActivitiesDeleteAllExternal { get; set; } + /// ///Create new marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future. /// - [Description("Create new marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future.")] - public MarketingActivityCreatePayload? marketingActivityCreate { get; set; } - + [Description("Create new marketing activity. Marketing activity app extensions are deprecated and will be removed in the near future.")] + public MarketingActivityCreatePayload? marketingActivityCreate { get; set; } + /// ///Creates a new external marketing activity. /// - [Description("Creates a new external marketing activity.")] - public MarketingActivityCreateExternalPayload? marketingActivityCreateExternal { get; set; } - + [Description("Creates a new external marketing activity.")] + public MarketingActivityCreateExternalPayload? marketingActivityCreateExternal { get; set; } + /// ///Deletes an external marketing activity. /// - [Description("Deletes an external marketing activity.")] - public MarketingActivityDeleteExternalPayload? marketingActivityDeleteExternal { get; set; } - + [Description("Deletes an external marketing activity.")] + public MarketingActivityDeleteExternalPayload? marketingActivityDeleteExternal { get; set; } + /// ///Updates a marketing activity with the latest information. Marketing activity app extensions are deprecated and will be removed in the near future. /// - [Description("Updates a marketing activity with the latest information. Marketing activity app extensions are deprecated and will be removed in the near future.")] - public MarketingActivityUpdatePayload? marketingActivityUpdate { get; set; } - + [Description("Updates a marketing activity with the latest information. Marketing activity app extensions are deprecated and will be removed in the near future.")] + public MarketingActivityUpdatePayload? marketingActivityUpdate { get; set; } + /// ///Update an external marketing activity. /// - [Description("Update an external marketing activity.")] - public MarketingActivityUpdateExternalPayload? marketingActivityUpdateExternal { get; set; } - + [Description("Update an external marketing activity.")] + public MarketingActivityUpdateExternalPayload? marketingActivityUpdateExternal { get; set; } + /// ///Creates a new external marketing activity or updates an existing one. When optional fields are absent or null, associated information will be removed from an existing marketing activity. /// - [Description("Creates a new external marketing activity or updates an existing one. When optional fields are absent or null, associated information will be removed from an existing marketing activity.")] - public MarketingActivityUpsertExternalPayload? marketingActivityUpsertExternal { get; set; } - + [Description("Creates a new external marketing activity or updates an existing one. When optional fields are absent or null, associated information will be removed from an existing marketing activity.")] + public MarketingActivityUpsertExternalPayload? marketingActivityUpsertExternal { get; set; } + /// ///Creates a new marketing engagement for a marketing activity or a marketing channel. /// - [Description("Creates a new marketing engagement for a marketing activity or a marketing channel.")] - public MarketingEngagementCreatePayload? marketingEngagementCreate { get; set; } - + [Description("Creates a new marketing engagement for a marketing activity or a marketing channel.")] + public MarketingEngagementCreatePayload? marketingEngagementCreate { get; set; } + /// ///Marks channel-level engagement data such that it no longer appears in reports. /// Activity-level data cannot be deleted directly, instead the MarketingActivity itself should be deleted to /// hide it from reports. /// - [Description("Marks channel-level engagement data such that it no longer appears in reports.\n Activity-level data cannot be deleted directly, instead the MarketingActivity itself should be deleted to\n hide it from reports.")] - public MarketingEngagementsDeletePayload? marketingEngagementsDelete { get; set; } - + [Description("Marks channel-level engagement data such that it no longer appears in reports.\n Activity-level data cannot be deleted directly, instead the MarketingActivity itself should be deleted to\n hide it from reports.")] + public MarketingEngagementsDeletePayload? marketingEngagementsDelete { get; set; } + /// ///Creates or updates a payment configuration for a shop on a marketplace. /// - [Description("Creates or updates a payment configuration for a shop on a marketplace.")] - public MarketplacePaymentsConfigurationUpdatePayload? marketplacePaymentsConfigurationUpdate { get; set; } - + [Description("Creates or updates a payment configuration for a shop on a marketplace.")] + public MarketplacePaymentsConfigurationUpdatePayload? marketplacePaymentsConfigurationUpdate { get; set; } + /// ///Creates a menu. /// - [Description("Creates a menu.")] - public MenuCreatePayload? menuCreate { get; set; } - + [Description("Creates a menu.")] + public MenuCreatePayload? menuCreate { get; set; } + /// ///Deletes a menu. /// - [Description("Deletes a menu.")] - public MenuDeletePayload? menuDelete { get; set; } - + [Description("Deletes a menu.")] + public MenuDeletePayload? menuDelete { get; set; } + /// ///Updates a menu. /// - [Description("Updates a menu.")] - public MenuUpdatePayload? menuUpdate { get; set; } - + [Description("Updates a menu.")] + public MenuUpdatePayload? menuUpdate { get; set; } + /// ///Creates a metafield definition. Any metafields existing under the same owner type, namespace, and key will be ///checked against this definition and will have their type updated accordingly. For metafields that are not ///valid, they will remain unchanged but any attempts to update them must align with this definition. /// - [Description("Creates a metafield definition. Any metafields existing under the same owner type, namespace, and key will be\nchecked against this definition and will have their type updated accordingly. For metafields that are not\nvalid, they will remain unchanged but any attempts to update them must align with this definition.")] - public MetafieldDefinitionCreatePayload? metafieldDefinitionCreate { get; set; } - + [Description("Creates a metafield definition. Any metafields existing under the same owner type, namespace, and key will be\nchecked against this definition and will have their type updated accordingly. For metafields that are not\nvalid, they will remain unchanged but any attempts to update them must align with this definition.")] + public MetafieldDefinitionCreatePayload? metafieldDefinitionCreate { get; set; } + /// ///Delete a metafield definition. ///Optionally deletes all associated metafields asynchronously when specified. /// - [Description("Delete a metafield definition.\nOptionally deletes all associated metafields asynchronously when specified.")] - public MetafieldDefinitionDeletePayload? metafieldDefinitionDelete { get; set; } - + [Description("Delete a metafield definition.\nOptionally deletes all associated metafields asynchronously when specified.")] + public MetafieldDefinitionDeletePayload? metafieldDefinitionDelete { get; set; } + /// ///You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions. ///The order of your pinned metafield definitions determines the order in which your metafields are displayed ///on the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed. /// - [Description("You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions.\nThe order of your pinned metafield definitions determines the order in which your metafields are displayed\non the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed.")] - public MetafieldDefinitionPinPayload? metafieldDefinitionPin { get; set; } - + [Description("You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions.\nThe order of your pinned metafield definitions determines the order in which your metafields are displayed\non the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed.")] + public MetafieldDefinitionPinPayload? metafieldDefinitionPin { get; set; } + /// ///You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions. ///The order of your pinned metafield definitions determines the order in which your metafields are displayed ///on the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed. /// - [Description("You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions.\nThe order of your pinned metafield definitions determines the order in which your metafields are displayed\non the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed.")] - public MetafieldDefinitionUnpinPayload? metafieldDefinitionUnpin { get; set; } - + [Description("You can organize your metafields in your Shopify admin by pinning/unpinning metafield definitions.\nThe order of your pinned metafield definitions determines the order in which your metafields are displayed\non the corresponding pages in your Shopify admin. By default, only pinned metafields are automatically displayed.")] + public MetafieldDefinitionUnpinPayload? metafieldDefinitionUnpin { get; set; } + /// ///Updates a metafield definition. /// - [Description("Updates a metafield definition.")] - public MetafieldDefinitionUpdatePayload? metafieldDefinitionUpdate { get; set; } - + [Description("Updates a metafield definition.")] + public MetafieldDefinitionUpdatePayload? metafieldDefinitionUpdate { get; set; } + /// ///Deletes multiple metafields in bulk. /// - [Description("Deletes multiple metafields in bulk.")] - public MetafieldsDeletePayload? metafieldsDelete { get; set; } - + [Description("Deletes multiple metafields in bulk.")] + public MetafieldsDeletePayload? metafieldsDelete { get; set; } + /// ///Sets metafield values. Metafield values will be set regardless if they were previously created or not. /// @@ -77058,83 +77058,83 @@ public class Mutation : GraphQLObject, IMutationRoot ///If the `compareDigest` value does not match the digest for the persisted value, the mutation will return an error. ///You can opt out of write guarantees by not sending `compareDigest` in the request. /// - [Description("Sets metafield values. Metafield values will be set regardless if they were previously created or not.\n\nAllows a maximum of 25 metafields to be set at a time, with a maximum total request payload size of 10MB.\n\nThis operation is atomic, meaning no changes are persisted if an error is encountered.\n\nAs of `2024-07`, this operation supports compare-and-set functionality to better handle concurrent requests.\nIf `compareDigest` is set for any metafield, the mutation will only set that metafield if the persisted metafield value matches the digest used on `compareDigest`.\nIf the metafield doesn't exist yet, but you want to guarantee that the operation will run in a safe manner, set `compareDigest` to `null`.\nThe `compareDigest` value can be acquired by querying the metafield object and selecting `compareDigest` as a field.\nIf the `compareDigest` value does not match the digest for the persisted value, the mutation will return an error.\nYou can opt out of write guarantees by not sending `compareDigest` in the request.")] - public MetafieldsSetPayload? metafieldsSet { get; set; } - + [Description("Sets metafield values. Metafield values will be set regardless if they were previously created or not.\n\nAllows a maximum of 25 metafields to be set at a time, with a maximum total request payload size of 10MB.\n\nThis operation is atomic, meaning no changes are persisted if an error is encountered.\n\nAs of `2024-07`, this operation supports compare-and-set functionality to better handle concurrent requests.\nIf `compareDigest` is set for any metafield, the mutation will only set that metafield if the persisted metafield value matches the digest used on `compareDigest`.\nIf the metafield doesn't exist yet, but you want to guarantee that the operation will run in a safe manner, set `compareDigest` to `null`.\nThe `compareDigest` value can be acquired by querying the metafield object and selecting `compareDigest` as a field.\nIf the `compareDigest` value does not match the digest for the persisted value, the mutation will return an error.\nYou can opt out of write guarantees by not sending `compareDigest` in the request.")] + public MetafieldsSetPayload? metafieldsSet { get; set; } + /// ///Asynchronously delete metaobjects and their associated metafields in bulk. /// - [Description("Asynchronously delete metaobjects and their associated metafields in bulk.")] - public MetaobjectBulkDeletePayload? metaobjectBulkDelete { get; set; } - + [Description("Asynchronously delete metaobjects and their associated metafields in bulk.")] + public MetaobjectBulkDeletePayload? metaobjectBulkDelete { get; set; } + /// ///Creates a new metaobject. /// - [Description("Creates a new metaobject.")] - public MetaobjectCreatePayload? metaobjectCreate { get; set; } - + [Description("Creates a new metaobject.")] + public MetaobjectCreatePayload? metaobjectCreate { get; set; } + /// ///Creates a new metaobject definition. /// - [Description("Creates a new metaobject definition.")] - public MetaobjectDefinitionCreatePayload? metaobjectDefinitionCreate { get; set; } - + [Description("Creates a new metaobject definition.")] + public MetaobjectDefinitionCreatePayload? metaobjectDefinitionCreate { get; set; } + /// ///Deletes the specified metaobject definition. ///Also deletes all related metafield definitions, metaobjects, and metafields asynchronously. /// - [Description("Deletes the specified metaobject definition.\nAlso deletes all related metafield definitions, metaobjects, and metafields asynchronously.")] - public MetaobjectDefinitionDeletePayload? metaobjectDefinitionDelete { get; set; } - + [Description("Deletes the specified metaobject definition.\nAlso deletes all related metafield definitions, metaobjects, and metafields asynchronously.")] + public MetaobjectDefinitionDeletePayload? metaobjectDefinitionDelete { get; set; } + /// ///Updates a metaobject definition with new settings and metafield definitions. /// - [Description("Updates a metaobject definition with new settings and metafield definitions.")] - public MetaobjectDefinitionUpdatePayload? metaobjectDefinitionUpdate { get; set; } - + [Description("Updates a metaobject definition with new settings and metafield definitions.")] + public MetaobjectDefinitionUpdatePayload? metaobjectDefinitionUpdate { get; set; } + /// ///Deletes the specified metaobject and its associated metafields. /// - [Description("Deletes the specified metaobject and its associated metafields.")] - public MetaobjectDeletePayload? metaobjectDelete { get; set; } - + [Description("Deletes the specified metaobject and its associated metafields.")] + public MetaobjectDeletePayload? metaobjectDelete { get; set; } + /// ///Updates an existing metaobject. /// - [Description("Updates an existing metaobject.")] - public MetaobjectUpdatePayload? metaobjectUpdate { get; set; } - + [Description("Updates an existing metaobject.")] + public MetaobjectUpdatePayload? metaobjectUpdate { get; set; } + /// ///Retrieves a metaobject by handle, then updates it with the provided input values. ///If no matching metaobject is found, a new metaobject is created with the provided input values. /// - [Description("Retrieves a metaobject by handle, then updates it with the provided input values.\nIf no matching metaobject is found, a new metaobject is created with the provided input values.")] - public MetaobjectUpsertPayload? metaobjectUpsert { get; set; } - + [Description("Retrieves a metaobject by handle, then updates it with the provided input values.\nIf no matching metaobject is found, a new metaobject is created with the provided input values.")] + public MetaobjectUpsertPayload? metaobjectUpsert { get; set; } + /// ///Creates up to 25 metaobjects of the same type. /// - [Description("Creates up to 25 metaobjects of the same type.")] - public MetaobjectsCreatePayload? metaobjectsCreate { get; set; } - + [Description("Creates up to 25 metaobjects of the same type.")] + public MetaobjectsCreatePayload? metaobjectsCreate { get; set; } + /// ///Create a mobile platform application. /// - [Description("Create a mobile platform application.")] - public MobilePlatformApplicationCreatePayload? mobilePlatformApplicationCreate { get; set; } - + [Description("Create a mobile platform application.")] + public MobilePlatformApplicationCreatePayload? mobilePlatformApplicationCreate { get; set; } + /// ///Delete a mobile platform application. /// - [Description("Delete a mobile platform application.")] - public MobilePlatformApplicationDeletePayload? mobilePlatformApplicationDelete { get; set; } - + [Description("Delete a mobile platform application.")] + public MobilePlatformApplicationDeletePayload? mobilePlatformApplicationDelete { get; set; } + /// ///Update a mobile platform application. /// - [Description("Update a mobile platform application.")] - public MobilePlatformApplicationUpdatePayload? mobilePlatformApplicationUpdate { get; set; } - + [Description("Update a mobile platform application.")] + public MobilePlatformApplicationUpdatePayload? mobilePlatformApplicationUpdate { get; set; } + /// ///Cancels an order, with options for refunding, restocking inventory, and customer notification. /// @@ -77187,9 +77187,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn how to build apps that integrate with ///[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment). /// - [Description("Cancels an order, with options for refunding, restocking inventory, and customer notification.\n\n> Caution:\n> Order cancellation is irreversible. An order that has been cancelled can't be restored to its original state.\n\nUse the `orderCancel` mutation to programmatically cancel orders in scenarios such as:\n\n- Customer-requested cancellations due to size, color, or other preference changes\n- Payment processing failures or declined transactions\n- Fraud detection and prevention\n- Insufficient inventory availability\n- Staff errors in order processing\n- Wholesale or B2B order management workflows\n\nThe `orderCancel` mutation provides flexible refund options including refunding to original payment methods\nor issuing store credit. If a payment was only authorized (temporarily held) but not yet charged,\nthat hold will be automatically released when the order is cancelled, even if you choose not to refund other payments.\n\nThe mutation supports different cancellation reasons: customer requests, payment declines, fraud,\ninventory issues, staff errors, or other unspecified reasons. Each cancellation can include optional\nstaff notes for internal documentation (notes aren't visible to customers).\n\nAn order can only be cancelled if it meets the following criteria:\n\n- The order hasn't already been cancelled.\n- The order has no pending payment authorizations.\n- The order has no active returns in progress.\n- The order has no outstanding fulfillments that can't be cancelled.\n\nOrders might be assigned to locations that become\n[deactivated](https://help.shopify.com/manual/fulfillment/setup/locations-management#deactivate-and-reactivate-locations)\nafter the order was created. When cancelling such orders, inventory behavior depends on payment status:\n\n- **Paid orders**: Cancellation will fail with an error if restocking is enabled, since inventory\ncan't be returned to deactivated locations.\n- **Unpaid orders**: Cancellation succeeds but inventory is not restocked anywhere, even when the\nrestock option is enabled. The committed inventory effectively becomes unavailable rather than being\nreturned to stock at the deactivated location.\n\nAfter you cancel an order, you can still make limited updates to certain fields (like\nnotes and tags) using the\n[`orderUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderUpdate).\n\nFor partial refunds or more complex refund scenarios on active orders,\nsuch as refunding only specific line items while keeping the rest of the order fulfilled,\nconsider using the [`refundCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/refundCreate)\nmutation instead of full order cancellation.\n\nLearn how to build apps that integrate with\n[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment).")] - public OrderCancelPayload? orderCancel { get; set; } - + [Description("Cancels an order, with options for refunding, restocking inventory, and customer notification.\n\n> Caution:\n> Order cancellation is irreversible. An order that has been cancelled can't be restored to its original state.\n\nUse the `orderCancel` mutation to programmatically cancel orders in scenarios such as:\n\n- Customer-requested cancellations due to size, color, or other preference changes\n- Payment processing failures or declined transactions\n- Fraud detection and prevention\n- Insufficient inventory availability\n- Staff errors in order processing\n- Wholesale or B2B order management workflows\n\nThe `orderCancel` mutation provides flexible refund options including refunding to original payment methods\nor issuing store credit. If a payment was only authorized (temporarily held) but not yet charged,\nthat hold will be automatically released when the order is cancelled, even if you choose not to refund other payments.\n\nThe mutation supports different cancellation reasons: customer requests, payment declines, fraud,\ninventory issues, staff errors, or other unspecified reasons. Each cancellation can include optional\nstaff notes for internal documentation (notes aren't visible to customers).\n\nAn order can only be cancelled if it meets the following criteria:\n\n- The order hasn't already been cancelled.\n- The order has no pending payment authorizations.\n- The order has no active returns in progress.\n- The order has no outstanding fulfillments that can't be cancelled.\n\nOrders might be assigned to locations that become\n[deactivated](https://help.shopify.com/manual/fulfillment/setup/locations-management#deactivate-and-reactivate-locations)\nafter the order was created. When cancelling such orders, inventory behavior depends on payment status:\n\n- **Paid orders**: Cancellation will fail with an error if restocking is enabled, since inventory\ncan't be returned to deactivated locations.\n- **Unpaid orders**: Cancellation succeeds but inventory is not restocked anywhere, even when the\nrestock option is enabled. The committed inventory effectively becomes unavailable rather than being\nreturned to stock at the deactivated location.\n\nAfter you cancel an order, you can still make limited updates to certain fields (like\nnotes and tags) using the\n[`orderUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderUpdate).\n\nFor partial refunds or more complex refund scenarios on active orders,\nsuch as refunding only specific line items while keeping the rest of the order fulfilled,\nconsider using the [`refundCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/refundCreate)\nmutation instead of full order cancellation.\n\nLearn how to build apps that integrate with\n[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment).")] + public OrderCancelPayload? orderCancel { get; set; } + /// ///Captures payment for an authorized transaction on an order. Use this mutation to claim the money that was previously ///reserved by an authorization transaction. @@ -77215,15 +77215,15 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [order transactions](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction). /// - [Description("Captures payment for an authorized transaction on an order. Use this mutation to claim the money that was previously\nreserved by an authorization transaction.\n\nThe `orderCapture` mutation can be used in the following scenarios:\n\n- To capture the full amount of an authorized transaction\n- To capture a partial payment by specifying an amount less than the total order amount\n- To perform multiple captures on the same order, as long as the order transaction is\n[multi-capturable](https://shopify.dev/docs/api/admin-graphql/latest/objects/ordertransaction#field-OrderTransaction.fields.multiCapturable)\n\n> Note:\n> Multi-capture functionality is only available to stores on a\n[Shopify Plus plan](https://help.shopify.com/manual/intro-to-shopify/pricing-plans/plans-features/shopify-plus-plan).\nFor multi-currency orders, the [`currency`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCapture#arguments-input.fields.currency)\nfield is required and should match the presentment currency from the order.\n\nAfter capturing a payment, you can:\n\n- View the transaction details including status, amount, and processing information.\n- Track the captured amount in both shop and presentment currencies.\n- Monitor the transaction's settlement status.\n\nLearn more about [order transactions](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction).")] - public OrderCapturePayload? orderCapture { get; set; } - + [Description("Captures payment for an authorized transaction on an order. Use this mutation to claim the money that was previously\nreserved by an authorization transaction.\n\nThe `orderCapture` mutation can be used in the following scenarios:\n\n- To capture the full amount of an authorized transaction\n- To capture a partial payment by specifying an amount less than the total order amount\n- To perform multiple captures on the same order, as long as the order transaction is\n[multi-capturable](https://shopify.dev/docs/api/admin-graphql/latest/objects/ordertransaction#field-OrderTransaction.fields.multiCapturable)\n\n> Note:\n> Multi-capture functionality is only available to stores on a\n[Shopify Plus plan](https://help.shopify.com/manual/intro-to-shopify/pricing-plans/plans-features/shopify-plus-plan).\nFor multi-currency orders, the [`currency`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCapture#arguments-input.fields.currency)\nfield is required and should match the presentment currency from the order.\n\nAfter capturing a payment, you can:\n\n- View the transaction details including status, amount, and processing information.\n- Track the captured amount in both shop and presentment currencies.\n- Monitor the transaction's settlement status.\n\nLearn more about [order transactions](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction).")] + public OrderCapturePayload? orderCapture { get; set; } + /// ///Closes an open order. /// - [Description("Closes an open order.")] - public OrderClosePayload? orderClose { get; set; } - + [Description("Closes an open order.")] + public OrderClosePayload? orderClose { get; set; } + /// ///Creates an order with attributes such as customer information, line items, and shipping and billing addresses. /// @@ -77254,121 +77254,121 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn how to build apps that integrate with ///[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment). /// - [Description("Creates an order with attributes such as customer information, line items, and shipping and billing addresses.\n\nUse the `orderCreate` mutation to programmatically generate orders in scenarios where\norders aren't created through the standard checkout process, such as when importing orders from an external\nsystem or creating orders for wholesale customers.\n\nThe `orderCreate` mutation doesn't support applying multiple discounts, such as discounts on line items.\nAutomatic discounts won't be applied unless you replicate the logic of those discounts in your custom\nimplementation. You can [apply a discount code](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderCreateDiscountCodeInput),\nbut only one discount code can be set for each order.\n\n> Note:\n> If you're using the `orderCreate` mutation with a\n> [trial](https://help.shopify.com/manual/intro-to-shopify/pricing-plans/free-trial) or\n> [development store](https://shopify.dev/docs/api/development-stores), then you can create a\n> maximum of five new orders per minute.\n\nAfter you create an order, you can make subsequent edits to the order using one of the following mutations:\n* [`orderUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderUpdate):\nUsed for simple updates to an order, such as changing the order's note, tags, or customer information.\n* [`orderEditBegin`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditBegin):\nUsed when you need to make significant updates to an order, such as adding or removing line items, changing\nquantities, or modifying discounts. The `orderEditBegin` mutation initiates an order editing session,\nallowing you to make multiple changes before finalizing them. Learn more about using the `orderEditBegin`\nmutation to [edit existing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders).\n\nLearn how to build apps that integrate with\n[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment).")] - public OrderCreatePayload? orderCreate { get; set; } - + [Description("Creates an order with attributes such as customer information, line items, and shipping and billing addresses.\n\nUse the `orderCreate` mutation to programmatically generate orders in scenarios where\norders aren't created through the standard checkout process, such as when importing orders from an external\nsystem or creating orders for wholesale customers.\n\nThe `orderCreate` mutation doesn't support applying multiple discounts, such as discounts on line items.\nAutomatic discounts won't be applied unless you replicate the logic of those discounts in your custom\nimplementation. You can [apply a discount code](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/OrderCreateDiscountCodeInput),\nbut only one discount code can be set for each order.\n\n> Note:\n> If you're using the `orderCreate` mutation with a\n> [trial](https://help.shopify.com/manual/intro-to-shopify/pricing-plans/free-trial) or\n> [development store](https://shopify.dev/docs/api/development-stores), then you can create a\n> maximum of five new orders per minute.\n\nAfter you create an order, you can make subsequent edits to the order using one of the following mutations:\n* [`orderUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderUpdate):\nUsed for simple updates to an order, such as changing the order's note, tags, or customer information.\n* [`orderEditBegin`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditBegin):\nUsed when you need to make significant updates to an order, such as adding or removing line items, changing\nquantities, or modifying discounts. The `orderEditBegin` mutation initiates an order editing session,\nallowing you to make multiple changes before finalizing them. Learn more about using the `orderEditBegin`\nmutation to [edit existing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders).\n\nLearn how to build apps that integrate with\n[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment).")] + public OrderCreatePayload? orderCreate { get; set; } + /// ///Creates a payment for an order by mandate. /// - [Description("Creates a payment for an order by mandate.")] - public OrderCreateMandatePaymentPayload? orderCreateMandatePayment { get; set; } - + [Description("Creates a payment for an order by mandate.")] + public OrderCreateMandatePaymentPayload? orderCreateMandatePayment { get; set; } + /// ///Create a manual payment for an order. You can only create a manual payment for an order if it isn't already ///fully paid. /// - [Description("Create a manual payment for an order. You can only create a manual payment for an order if it isn't already\nfully paid.")] - public OrderCreateManualPaymentPayload? orderCreateManualPayment { get; set; } - + [Description("Create a manual payment for an order. You can only create a manual payment for an order if it isn't already\nfully paid.")] + public OrderCreateManualPaymentPayload? orderCreateManualPayment { get; set; } + /// ///Removes customer from an order. /// - [Description("Removes customer from an order.")] - public OrderCustomerRemovePayload? orderCustomerRemove { get; set; } - + [Description("Removes customer from an order.")] + public OrderCustomerRemovePayload? orderCustomerRemove { get; set; } + /// ///Sets a customer on an order. /// - [Description("Sets a customer on an order.")] - public OrderCustomerSetPayload? orderCustomerSet { get; set; } - + [Description("Sets a customer on an order.")] + public OrderCustomerSetPayload? orderCustomerSet { get; set; } + /// ///Deletes an order. For more information on which orders can be deleted, refer to [Delete an order](https://help.shopify.com/manual/orders/cancel-delete-order#delete-an-order). /// - [Description("Deletes an order. For more information on which orders can be deleted, refer to [Delete an order](https://help.shopify.com/manual/orders/cancel-delete-order#delete-an-order).")] - public OrderDeletePayload? orderDelete { get; set; } - + [Description("Deletes an order. For more information on which orders can be deleted, refer to [Delete an order](https://help.shopify.com/manual/orders/cancel-delete-order#delete-an-order).")] + public OrderDeletePayload? orderDelete { get; set; } + /// ///Adds a custom line item to an existing order. For example, you could add a gift wrapping service as a [custom line item](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing#add-a-custom-line-item). To learn how to edit existing orders, refer to [Edit an existing order with Admin API](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Adds a custom line item to an existing order. For example, you could add a gift wrapping service as a [custom line item](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing#add-a-custom-line-item). To learn how to edit existing orders, refer to [Edit an existing order with Admin API](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditAddCustomItemPayload? orderEditAddCustomItem { get; set; } - + [Description("Adds a custom line item to an existing order. For example, you could add a gift wrapping service as a [custom line item](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing#add-a-custom-line-item). To learn how to edit existing orders, refer to [Edit an existing order with Admin API](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditAddCustomItemPayload? orderEditAddCustomItem { get; set; } + /// ///Adds a discount to a line item on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Adds a discount to a line item on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditAddLineItemDiscountPayload? orderEditAddLineItemDiscount { get; set; } - + [Description("Adds a discount to a line item on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditAddLineItemDiscountPayload? orderEditAddLineItemDiscount { get; set; } + /// ///Adds a shipping line to an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Adds a shipping line to an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditAddShippingLinePayload? orderEditAddShippingLine { get; set; } - + [Description("Adds a shipping line to an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditAddShippingLinePayload? orderEditAddShippingLine { get; set; } + /// ///Adds a line item from an existing product variant. As of API version 2025-04, the [orderEditAddVariant](https://shopify.dev/api/admin-graphql/latest/mutations/ordereditaddvariant) API will respect the contextual pricing of the variant. /// - [Description("Adds a line item from an existing product variant. As of API version 2025-04, the [orderEditAddVariant](https://shopify.dev/api/admin-graphql/latest/mutations/ordereditaddvariant) API will respect the contextual pricing of the variant.")] - public OrderEditAddVariantPayload? orderEditAddVariant { get; set; } - + [Description("Adds a line item from an existing product variant. As of API version 2025-04, the [orderEditAddVariant](https://shopify.dev/api/admin-graphql/latest/mutations/ordereditaddvariant) API will respect the contextual pricing of the variant.")] + public OrderEditAddVariantPayload? orderEditAddVariant { get; set; } + /// ///Starts editing an order. Mutations are operating on `OrderEdit`. ///All order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`. /// - [Description("Starts editing an order. Mutations are operating on `OrderEdit`.\nAll order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`.")] - public OrderEditBeginPayload? orderEditBegin { get; set; } - + [Description("Starts editing an order. Mutations are operating on `OrderEdit`.\nAll order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`.")] + public OrderEditBeginPayload? orderEditBegin { get; set; } + /// ///Applies and saves staged changes to an order. Mutations are operating on `OrderEdit`. ///All order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`. /// - [Description("Applies and saves staged changes to an order. Mutations are operating on `OrderEdit`.\nAll order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`.")] - public OrderEditCommitPayload? orderEditCommit { get; set; } - + [Description("Applies and saves staged changes to an order. Mutations are operating on `OrderEdit`.\nAll order edits start with `orderEditBegin`, have any number of `orderEdit`* mutations made, and end with `orderEditCommit`.")] + public OrderEditCommitPayload? orderEditCommit { get; set; } + /// ///Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditRemoveDiscountPayload? orderEditRemoveDiscount { get; set; } - + [Description("Removes a discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditRemoveDiscountPayload? orderEditRemoveDiscount { get; set; } + /// ///Removes a line item discount that was applied as part of an order edit. /// - [Description("Removes a line item discount that was applied as part of an order edit.")] - [Obsolete("Use `orderEditRemoveDiscount` instead.")] - public OrderEditRemoveLineItemDiscountPayload? orderEditRemoveLineItemDiscount { get; set; } - + [Description("Removes a line item discount that was applied as part of an order edit.")] + [Obsolete("Use `orderEditRemoveDiscount` instead.")] + public OrderEditRemoveLineItemDiscountPayload? orderEditRemoveLineItemDiscount { get; set; } + /// ///Removes a shipping line from an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Removes a shipping line from an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditRemoveShippingLinePayload? orderEditRemoveShippingLine { get; set; } - + [Description("Removes a shipping line from an existing order. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditRemoveShippingLinePayload? orderEditRemoveShippingLine { get; set; } + /// ///Sets the quantity of a line item on an order that is being edited. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Sets the quantity of a line item on an order that is being edited. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditSetQuantityPayload? orderEditSetQuantity { get; set; } - + [Description("Sets the quantity of a line item on an order that is being edited. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditSetQuantityPayload? orderEditSetQuantity { get; set; } + /// ///Updates a manual line level discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Updates a manual line level discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditUpdateDiscountPayload? orderEditUpdateDiscount { get; set; } - + [Description("Updates a manual line level discount on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditUpdateDiscountPayload? orderEditUpdateDiscount { get; set; } + /// ///Updates a shipping line on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing). /// - [Description("Updates a shipping line on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] - public OrderEditUpdateShippingLinePayload? orderEditUpdateShippingLine { get; set; } - + [Description("Updates a shipping line on the current order edit. For more information on how to use the GraphQL Admin API to edit an existing order, refer to [Edit existing orders](https://shopify.dev/apps/fulfillment/order-management-apps/order-editing).")] + public OrderEditUpdateShippingLinePayload? orderEditUpdateShippingLine { get; set; } + /// ///Sends an email invoice for an order. /// - [Description("Sends an email invoice for an order.")] - public OrderInvoiceSendPayload? orderInvoiceSend { get; set; } - + [Description("Sends an email invoice for an order.")] + public OrderInvoiceSendPayload? orderInvoiceSend { get; set; } + /// ///Marks an order as paid by recording a payment transaction for the outstanding amount. /// @@ -77393,21 +77393,21 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about [managing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps) ///in apps. /// - [Description("Marks an order as paid by recording a payment transaction for the outstanding amount.\n\nUse the `orderMarkAsPaid` mutation to record payments received outside the standard checkout\nprocess. The `orderMarkAsPaid` mutation is particularly useful in scenarios where:\n\n- Orders were created with manual payment methods (cash on delivery, bank deposit, money order)\n- Payments were received offline and need to be recorded in the system\n- Previously authorized payments need to be captured manually\n- Orders require manual payment reconciliation due to external payment processing\n\nThe mutation validates that the order can be marked as paid before processing.\nAn order can be marked as paid only if it has a positive outstanding balance and its\n[financial status](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.displayFinancialStatus)\nisn't already `PAID`. The mutation will either create a new sale transaction for the full\noutstanding amount or capture an existing authorized transaction, depending on the order's current payment state.\n\nAfter successfully marking an order as paid, the order's financial status is updated to\nreflect the payment, and payment events are logged for tracking and analytics\npurposes.\n\nLearn more about [managing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps)\nin apps.")] - public OrderMarkAsPaidPayload? orderMarkAsPaid { get; set; } - + [Description("Marks an order as paid by recording a payment transaction for the outstanding amount.\n\nUse the `orderMarkAsPaid` mutation to record payments received outside the standard checkout\nprocess. The `orderMarkAsPaid` mutation is particularly useful in scenarios where:\n\n- Orders were created with manual payment methods (cash on delivery, bank deposit, money order)\n- Payments were received offline and need to be recorded in the system\n- Previously authorized payments need to be captured manually\n- Orders require manual payment reconciliation due to external payment processing\n\nThe mutation validates that the order can be marked as paid before processing.\nAn order can be marked as paid only if it has a positive outstanding balance and its\n[financial status](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.displayFinancialStatus)\nisn't already `PAID`. The mutation will either create a new sale transaction for the full\noutstanding amount or capture an existing authorized transaction, depending on the order's current payment state.\n\nAfter successfully marking an order as paid, the order's financial status is updated to\nreflect the payment, and payment events are logged for tracking and analytics\npurposes.\n\nLearn more about [managing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps)\nin apps.")] + public OrderMarkAsPaidPayload? orderMarkAsPaid { get; set; } + /// ///Opens a closed order. /// - [Description("Opens a closed order.")] - public OrderOpenPayload? orderOpen { get; set; } - + [Description("Opens a closed order.")] + public OrderOpenPayload? orderOpen { get; set; } + /// ///Create a risk assessment for an order. /// - [Description("Create a risk assessment for an order.")] - public OrderRiskAssessmentCreatePayload? orderRiskAssessmentCreate { get; set; } - + [Description("Create a risk assessment for an order.")] + public OrderRiskAssessmentCreatePayload? orderRiskAssessmentCreate { get; set; } + /// ///Updates the attributes of an order, such as the customer's email, the shipping address for the order, ///tags, and [metafields](https://shopify.dev/docs/apps/build/custom-data) associated with the order. @@ -77425,149 +77425,149 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn how to build apps that integrate with ///[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment). /// - [Description("Updates the attributes of an order, such as the customer's email, the shipping address for the order,\ntags, and [metafields](https://shopify.dev/docs/apps/build/custom-data) associated with the order.\n\nIf you need to make significant updates to an order, such as adding or removing line items, changing\nquantities, or modifying discounts, then use\nthe [`orderEditBegin`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditBegin)\nmutation instead. The `orderEditBegin` mutation initiates an order editing session,\nallowing you to make multiple changes before finalizing them. Learn more about using the `orderEditBegin`\nmutation to [edit existing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders).\n\nIf you need to remove a customer from an order, then use the [`orderCustomerRemove`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCustomerRemove)\nmutation instead.\n\nLearn how to build apps that integrate with\n[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment).")] - public OrderUpdatePayload? orderUpdate { get; set; } - + [Description("Updates the attributes of an order, such as the customer's email, the shipping address for the order,\ntags, and [metafields](https://shopify.dev/docs/apps/build/custom-data) associated with the order.\n\nIf you need to make significant updates to an order, such as adding or removing line items, changing\nquantities, or modifying discounts, then use\nthe [`orderEditBegin`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderEditBegin)\nmutation instead. The `orderEditBegin` mutation initiates an order editing session,\nallowing you to make multiple changes before finalizing them. Learn more about using the `orderEditBegin`\nmutation to [edit existing orders](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders).\n\nIf you need to remove a customer from an order, then use the [`orderCustomerRemove`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/orderCustomerRemove)\nmutation instead.\n\nLearn how to build apps that integrate with\n[order management and fulfillment processes](https://shopify.dev/docs/apps/build/orders-fulfillment).")] + public OrderUpdatePayload? orderUpdate { get; set; } + /// ///Creates a page. /// - [Description("Creates a page.")] - public PageCreatePayload? pageCreate { get; set; } - + [Description("Creates a page.")] + public PageCreatePayload? pageCreate { get; set; } + /// ///Deletes a page. /// - [Description("Deletes a page.")] - public PageDeletePayload? pageDelete { get; set; } - + [Description("Deletes a page.")] + public PageDeletePayload? pageDelete { get; set; } + /// ///Updates a page. /// - [Description("Updates a page.")] - public PageUpdatePayload? pageUpdate { get; set; } - + [Description("Updates a page.")] + public PageUpdatePayload? pageUpdate { get; set; } + /// ///Activates and deactivates payment customizations. /// - [Description("Activates and deactivates payment customizations.")] - public PaymentCustomizationActivationPayload? paymentCustomizationActivation { get; set; } - + [Description("Activates and deactivates payment customizations.")] + public PaymentCustomizationActivationPayload? paymentCustomizationActivation { get; set; } + /// ///Creates a payment customization. /// - [Description("Creates a payment customization.")] - public PaymentCustomizationCreatePayload? paymentCustomizationCreate { get; set; } - + [Description("Creates a payment customization.")] + public PaymentCustomizationCreatePayload? paymentCustomizationCreate { get; set; } + /// ///Deletes a payment customization. /// - [Description("Deletes a payment customization.")] - public PaymentCustomizationDeletePayload? paymentCustomizationDelete { get; set; } - + [Description("Deletes a payment customization.")] + public PaymentCustomizationDeletePayload? paymentCustomizationDelete { get; set; } + /// ///Updates a payment customization. /// - [Description("Updates a payment customization.")] - public PaymentCustomizationUpdatePayload? paymentCustomizationUpdate { get; set; } - + [Description("Updates a payment customization.")] + public PaymentCustomizationUpdatePayload? paymentCustomizationUpdate { get; set; } + /// ///Sends an email payment reminder for a payment schedule. /// - [Description("Sends an email payment reminder for a payment schedule.")] - public PaymentReminderSendPayload? paymentReminderSend { get; set; } - + [Description("Sends an email payment reminder for a payment schedule.")] + public PaymentReminderSendPayload? paymentReminderSend { get; set; } + /// ///Create payment terms on an order. To create payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`. /// - [Description("Create payment terms on an order. To create payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.")] - public PaymentTermsCreatePayload? paymentTermsCreate { get; set; } - + [Description("Create payment terms on an order. To create payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.")] + public PaymentTermsCreatePayload? paymentTermsCreate { get; set; } + /// ///Delete payment terms for an order. To delete payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`. /// - [Description("Delete payment terms for an order. To delete payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.")] - public PaymentTermsDeletePayload? paymentTermsDelete { get; set; } - + [Description("Delete payment terms for an order. To delete payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.")] + public PaymentTermsDeletePayload? paymentTermsDelete { get; set; } + /// ///Update payment terms on an order. To update payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`. /// - [Description("Update payment terms on an order. To update payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.")] - public PaymentTermsUpdatePayload? paymentTermsUpdate { get; set; } - + [Description("Update payment terms on an order. To update payment terms on a draft order, use a draft order mutation and include the request with the `DraftOrderInput`.")] + public PaymentTermsUpdatePayload? paymentTermsUpdate { get; set; } + /// ///Creates a price list. You can use the `priceListCreate` mutation to create a new price list and associate it with a catalog. This enables you to sell your products with contextual pricing. /// - [Description("Creates a price list. You can use the `priceListCreate` mutation to create a new price list and associate it with a catalog. This enables you to sell your products with contextual pricing.")] - public PriceListCreatePayload? priceListCreate { get; set; } - + [Description("Creates a price list. You can use the `priceListCreate` mutation to create a new price list and associate it with a catalog. This enables you to sell your products with contextual pricing.")] + public PriceListCreatePayload? priceListCreate { get; set; } + /// ///Deletes a price list. For example, you can delete a price list so that it no longer applies for products in the associated market. /// - [Description("Deletes a price list. For example, you can delete a price list so that it no longer applies for products in the associated market.")] - public PriceListDeletePayload? priceListDelete { get; set; } - + [Description("Deletes a price list. For example, you can delete a price list so that it no longer applies for products in the associated market.")] + public PriceListDeletePayload? priceListDelete { get; set; } + /// ///Creates or updates fixed prices on a price list. You can use the `priceListFixedPricesAdd` mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten. /// - [Description("Creates or updates fixed prices on a price list. You can use the `priceListFixedPricesAdd` mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten.")] - public PriceListFixedPricesAddPayload? priceListFixedPricesAdd { get; set; } - + [Description("Creates or updates fixed prices on a price list. You can use the `priceListFixedPricesAdd` mutation to set a fixed price for specific product variants. This lets you change product variant pricing on a per country basis. Any existing fixed price list prices for these variants will be overwritten.")] + public PriceListFixedPricesAddPayload? priceListFixedPricesAdd { get; set; } + /// ///Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductBulkUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list. /// - [Description("Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductBulkUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list.")] - public PriceListFixedPricesByProductBulkUpdatePayload? priceListFixedPricesByProductBulkUpdate { get; set; } - + [Description("Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductBulkUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list.")] + public PriceListFixedPricesByProductBulkUpdatePayload? priceListFixedPricesByProductBulkUpdate { get; set; } + /// ///Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list. /// - [Description("Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list.")] - public PriceListFixedPricesByProductUpdatePayload? priceListFixedPricesByProductUpdate { get; set; } - + [Description("Updates the fixed prices for all variants for a product on a price list. You can use the `priceListFixedPricesByProductUpdate` mutation to set or remove a fixed price for all variants of a product associated with the price list.")] + public PriceListFixedPricesByProductUpdatePayload? priceListFixedPricesByProductUpdate { get; set; } + /// ///Deletes specific fixed prices from a price list using a product variant ID. You can use the `priceListFixedPricesDelete` mutation to delete a set of fixed prices from a price list. After deleting the set of fixed prices from the price list, the price of each product variant reverts to the original price that was determined by the price list adjustment. /// - [Description("Deletes specific fixed prices from a price list using a product variant ID. You can use the `priceListFixedPricesDelete` mutation to delete a set of fixed prices from a price list. After deleting the set of fixed prices from the price list, the price of each product variant reverts to the original price that was determined by the price list adjustment.")] - public PriceListFixedPricesDeletePayload? priceListFixedPricesDelete { get; set; } - + [Description("Deletes specific fixed prices from a price list using a product variant ID. You can use the `priceListFixedPricesDelete` mutation to delete a set of fixed prices from a price list. After deleting the set of fixed prices from the price list, the price of each product variant reverts to the original price that was determined by the price list adjustment.")] + public PriceListFixedPricesDeletePayload? priceListFixedPricesDelete { get; set; } + /// ///Updates fixed prices on a price list. You can use the `priceListFixedPricesUpdate` mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list. /// - [Description("Updates fixed prices on a price list. You can use the `priceListFixedPricesUpdate` mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.")] - public PriceListFixedPricesUpdatePayload? priceListFixedPricesUpdate { get; set; } - + [Description("Updates fixed prices on a price list. You can use the `priceListFixedPricesUpdate` mutation to set a fixed price for specific product variants or to delete prices for variants associated with the price list.")] + public PriceListFixedPricesUpdatePayload? priceListFixedPricesUpdate { get; set; } + /// ///Updates a price list. ///If you modify the currency, then any fixed prices set on the price list will be deleted. /// - [Description("Updates a price list.\nIf you modify the currency, then any fixed prices set on the price list will be deleted.")] - public PriceListUpdatePayload? priceListUpdate { get; set; } - + [Description("Updates a price list.\nIf you modify the currency, then any fixed prices set on the price list will be deleted.")] + public PriceListUpdatePayload? priceListUpdate { get; set; } + /// ///Disable a shop's privacy features. /// - [Description("Disable a shop's privacy features.")] - public PrivacyFeaturesDisablePayload? privacyFeaturesDisable { get; set; } - + [Description("Disable a shop's privacy features.")] + public PrivacyFeaturesDisablePayload? privacyFeaturesDisable { get; set; } + /// ///Creates a new product bundle or componentized product. /// - [Description("Creates a new product bundle or componentized product.")] - public ProductBundleCreatePayload? productBundleCreate { get; set; } - + [Description("Creates a new product bundle or componentized product.")] + public ProductBundleCreatePayload? productBundleCreate { get; set; } + /// ///Updates a product bundle or componentized product. /// - [Description("Updates a product bundle or componentized product.")] - public ProductBundleUpdatePayload? productBundleUpdate { get; set; } - + [Description("Updates a product bundle or componentized product.")] + public ProductBundleUpdatePayload? productBundleUpdate { get; set; } + /// ///Changes the status of a product. This allows you to set the availability of the product across all channels. /// - [Description("Changes the status of a product. This allows you to set the availability of the product across all channels.")] - [Obsolete("Use `productUpdate` instead.")] - public ProductChangeStatusPayload? productChangeStatus { get; set; } - + [Description("Changes the status of a product. This allows you to set the availability of the product across all channels.")] + [Obsolete("Use `productUpdate` instead.")] + public ProductChangeStatusPayload? productChangeStatus { get; set; } + /// ///Creates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) ///with attributes such as title, description, vendor, and media. @@ -77606,16 +77606,16 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Creates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nwith attributes such as title, description, vendor, and media.\n\nThe `productCreate` mutation helps you create many products at once, avoiding the tedious or time-consuming\nprocess of adding them one by one in the Shopify admin. Common examples include creating products for a\nnew collection, launching a new product line, or adding seasonal products.\n\nYou can define product\n[options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) and\n[values](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOptionValue),\nallowing you to create products with different variations like sizes or colors. You can also associate media\nfiles to your products, including images and videos.\n\nThe `productCreate` mutation only supports creating a product with its initial\n[product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\nTo create multiple product variants for a single product and manage prices, use the\n[`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\nmutation.\n\n> Note:\n> The `productCreate` mutation has a [throttle](https://shopify.dev/docs/api/usage/rate-limits#resource-based-rate-limits)\n> that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than\n> 1,000 new product variants can be created per day.\n\nAfter you create a product, you can make subsequent edits to the product using one of the following mutations:\n\n- [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish):\nUsed to publish the product and make it available to customers. The `productCreate` mutation creates products\nin an unpublished state by default, so you must perform a separate operation to publish the product.\n- [`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate):\nUsed to update a single product, such as changing the product's title, description, vendor, or associated media.\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet):\nUsed to perform multiple operations on products, such as creating or modifying product options and variants.\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductCreatePayload? productCreate { get; set; } - + [Description("Creates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nwith attributes such as title, description, vendor, and media.\n\nThe `productCreate` mutation helps you create many products at once, avoiding the tedious or time-consuming\nprocess of adding them one by one in the Shopify admin. Common examples include creating products for a\nnew collection, launching a new product line, or adding seasonal products.\n\nYou can define product\n[options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) and\n[values](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOptionValue),\nallowing you to create products with different variations like sizes or colors. You can also associate media\nfiles to your products, including images and videos.\n\nThe `productCreate` mutation only supports creating a product with its initial\n[product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\nTo create multiple product variants for a single product and manage prices, use the\n[`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\nmutation.\n\n> Note:\n> The `productCreate` mutation has a [throttle](https://shopify.dev/docs/api/usage/rate-limits#resource-based-rate-limits)\n> that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than\n> 1,000 new product variants can be created per day.\n\nAfter you create a product, you can make subsequent edits to the product using one of the following mutations:\n\n- [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish):\nUsed to publish the product and make it available to customers. The `productCreate` mutation creates products\nin an unpublished state by default, so you must perform a separate operation to publish the product.\n- [`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate):\nUsed to update a single product, such as changing the product's title, description, vendor, or associated media.\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet):\nUsed to perform multiple operations on products, such as creating or modifying product options and variants.\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductCreatePayload? productCreate { get; set; } + /// ///Creates media for a product. /// - [Description("Creates media for a product.")] - [Obsolete("Use `productUpdate` or `productSet` instead.")] - public ProductCreateMediaPayload? productCreateMedia { get; set; } - + [Description("Creates media for a product.")] + [Obsolete("Use `productUpdate` or `productSet` instead.")] + public ProductCreateMediaPayload? productCreateMedia { get; set; } + /// ///Permanently deletes a product and all its associated data, including variants, media, publications, and inventory items. /// @@ -77662,16 +77662,16 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model). /// - [Description("Permanently deletes a product and all its associated data, including variants, media, publications, and inventory items.\n\nUse the `productDelete` mutation to programmatically remove products from your store when they need to be\npermanently deleted from your catalog, such as when removing discontinued items, cleaning up test data, or\nsynchronizing with external inventory management systems.\n\nThe `productDelete` mutation removes the product from all associated collections,\nand removes all associated data for the product, including:\n\n- All product variants and their inventory items\n- Product media (images, videos) that are not referenced by other products\n- [Product options](https://shopify.dev/api/admin-graphql/latest/objects/ProductOption) and [option values](https://shopify.dev/api/admin-graphql/latest/objects/ProductOptionValue)\n- Product publications across all sales channels\n- Product tags and metadata associations\n\nThe `productDelete` mutation also has the following effects on existing orders and transactions:\n\n- **Draft orders**: Existing draft orders that reference this product will retain the product information as stored data, but the product reference will be removed. Draft orders can still be completed with the stored product details.\n- **Completed orders and refunds**: Previously completed orders that included this product aren't affected. The product information in completed orders is preserved for record-keeping, and existing refunds for this product remain valid and processable.\n\n> Caution:\n> Product deletion is irreversible. After a product is deleted, it can't be recovered. Consider archiving\n> or unpublishing products instead if you might need to restore them later.\n\nIf you need to delete a large product, such as one that has many\n[variants](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant)\nthat are active at several\n[locations](https://shopify.dev/api/admin-graphql/latest/objects/Location),\nyou might encounter timeout errors. To avoid these timeout errors, you can set the\n[`synchronous`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productDelete#arguments-synchronous)\nparameter to `false` to run the deletion asynchronously, which returns a\n[`ProductDeleteOperation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductDeleteOperation)\nthat you can monitor for completion status.\n\nIf you need more granular control over product cleanup, consider using these alternative mutations:\n\n- [`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate):\nUpdate the product status to archived or unpublished instead of deleting.\n- [`productVariantsBulkDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkDelete):\nDelete specific variants while keeping the product.\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete):\nDelete the choices available for a product, such as size, color, or material.\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model).")] - public ProductDeletePayload? productDelete { get; set; } - + [Description("Permanently deletes a product and all its associated data, including variants, media, publications, and inventory items.\n\nUse the `productDelete` mutation to programmatically remove products from your store when they need to be\npermanently deleted from your catalog, such as when removing discontinued items, cleaning up test data, or\nsynchronizing with external inventory management systems.\n\nThe `productDelete` mutation removes the product from all associated collections,\nand removes all associated data for the product, including:\n\n- All product variants and their inventory items\n- Product media (images, videos) that are not referenced by other products\n- [Product options](https://shopify.dev/api/admin-graphql/latest/objects/ProductOption) and [option values](https://shopify.dev/api/admin-graphql/latest/objects/ProductOptionValue)\n- Product publications across all sales channels\n- Product tags and metadata associations\n\nThe `productDelete` mutation also has the following effects on existing orders and transactions:\n\n- **Draft orders**: Existing draft orders that reference this product will retain the product information as stored data, but the product reference will be removed. Draft orders can still be completed with the stored product details.\n- **Completed orders and refunds**: Previously completed orders that included this product aren't affected. The product information in completed orders is preserved for record-keeping, and existing refunds for this product remain valid and processable.\n\n> Caution:\n> Product deletion is irreversible. After a product is deleted, it can't be recovered. Consider archiving\n> or unpublishing products instead if you might need to restore them later.\n\nIf you need to delete a large product, such as one that has many\n[variants](https://shopify.dev/api/admin-graphql/latest/objects/ProductVariant)\nthat are active at several\n[locations](https://shopify.dev/api/admin-graphql/latest/objects/Location),\nyou might encounter timeout errors. To avoid these timeout errors, you can set the\n[`synchronous`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productDelete#arguments-synchronous)\nparameter to `false` to run the deletion asynchronously, which returns a\n[`ProductDeleteOperation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductDeleteOperation)\nthat you can monitor for completion status.\n\nIf you need more granular control over product cleanup, consider using these alternative mutations:\n\n- [`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate):\nUpdate the product status to archived or unpublished instead of deleting.\n- [`productVariantsBulkDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkDelete):\nDelete specific variants while keeping the product.\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete):\nDelete the choices available for a product, such as size, color, or material.\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model).")] + public ProductDeletePayload? productDelete { get; set; } + /// ///Deletes media for a product. /// - [Description("Deletes media for a product.")] - [Obsolete("Use `fileUpdate` instead.")] - public ProductDeleteMediaPayload? productDeleteMedia { get; set; } - + [Description("Deletes media for a product.")] + [Obsolete("Use `fileUpdate` instead.")] + public ProductDeleteMediaPayload? productDeleteMedia { get; set; } + /// ///Duplicates a product. /// @@ -77689,39 +77689,39 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Metafield values are not duplicated if the unique values capability is enabled. /// - [Description("Duplicates a product.\n\nIf you need to duplicate a large product, such as one that has many\n[variants](https://shopify.dev/api/admin-graphql/latest/input-objects/ProductVariantInput)\nthat are active at several\n[locations](https://shopify.dev/api/admin-graphql/latest/input-objects/InventoryLevelInput),\nyou might encounter timeout errors.\n\nTo avoid these timeout errors, you can instead duplicate the product asynchronously.\n\nIn API version 2024-10 and higher, include `synchronous: false` argument in this mutation to perform the duplication asynchronously.\n\nIn API version 2024-07 and lower, use the asynchronous [`ProductDuplicateAsyncV2`](https://shopify.dev/api/admin-graphql/2024-07/mutations/productDuplicateAsyncV2).\n\nMetafield values are not duplicated if the unique values capability is enabled.")] - public ProductDuplicatePayload? productDuplicate { get; set; } - + [Description("Duplicates a product.\n\nIf you need to duplicate a large product, such as one that has many\n[variants](https://shopify.dev/api/admin-graphql/latest/input-objects/ProductVariantInput)\nthat are active at several\n[locations](https://shopify.dev/api/admin-graphql/latest/input-objects/InventoryLevelInput),\nyou might encounter timeout errors.\n\nTo avoid these timeout errors, you can instead duplicate the product asynchronously.\n\nIn API version 2024-10 and higher, include `synchronous: false` argument in this mutation to perform the duplication asynchronously.\n\nIn API version 2024-07 and lower, use the asynchronous [`ProductDuplicateAsyncV2`](https://shopify.dev/api/admin-graphql/2024-07/mutations/productDuplicateAsyncV2).\n\nMetafield values are not duplicated if the unique values capability is enabled.")] + public ProductDuplicatePayload? productDuplicate { get; set; } + /// ///Creates a product feed for a specific publication. /// - [Description("Creates a product feed for a specific publication.")] - public ProductFeedCreatePayload? productFeedCreate { get; set; } - + [Description("Creates a product feed for a specific publication.")] + public ProductFeedCreatePayload? productFeedCreate { get; set; } + /// ///Deletes a product feed for a specific publication. /// - [Description("Deletes a product feed for a specific publication.")] - public ProductFeedDeletePayload? productFeedDelete { get; set; } - + [Description("Deletes a product feed for a specific publication.")] + public ProductFeedDeletePayload? productFeedDelete { get; set; } + /// ///Runs the full product sync for a given shop. /// - [Description("Runs the full product sync for a given shop.")] - public ProductFullSyncPayload? productFullSync { get; set; } - + [Description("Runs the full product sync for a given shop.")] + public ProductFullSyncPayload? productFullSync { get; set; } + /// ///Adds multiple selling plan groups to a product. /// - [Description("Adds multiple selling plan groups to a product.")] - public ProductJoinSellingPlanGroupsPayload? productJoinSellingPlanGroups { get; set; } - + [Description("Adds multiple selling plan groups to a product.")] + public ProductJoinSellingPlanGroupsPayload? productJoinSellingPlanGroups { get; set; } + /// ///Removes multiple groups from a product. /// - [Description("Removes multiple groups from a product.")] - public ProductLeaveSellingPlanGroupsPayload? productLeaveSellingPlanGroups { get; set; } - + [Description("Removes multiple groups from a product.")] + public ProductLeaveSellingPlanGroupsPayload? productLeaveSellingPlanGroups { get; set; } + /// ///Updates an [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) ///on a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), @@ -77758,9 +77758,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Updates an [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)\non a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\nsuch as size, color, or material. Each option includes a name, position, and a list of values. The combination\nof a product option and value creates a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\n\nUse the `productOptionUpdate` mutation for the following use cases:\n\n- **Update product choices**: Modify an existing option, like \"Size\" (Small, Medium, Large) or\n\"Color\" (Red, Blue, Green), so customers can select their preferred variant.\n- **Enable personalization features**: Update an option (for example, \"Engraving text\") to let customers customize their purchase.\n- **Offer seasonal or limited edition products**: Update a value\n(for example, \"Holiday red\") on an existing option to support limited-time or seasonal variants.\n- **Integrate with apps that manage product configuration**: Allow third-party apps to update options, like\n\"Bundle size\", when customers select or customize\n[product bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles).\n- **Link options to metafields**: Associate a product option with a custom\n[metafield](https://shopify.dev/docs/apps/build/custom-data), like \"Fabric code\", for\nricher integrations with other systems or apps.\n\n> Note:\n> The `productOptionUpdate` mutation enforces strict data integrity for product options and variants.\nAll option positions must be sequential, and every option should be used by at least one variant.\n\nAfter you update a product option, you can further manage a product's configuration using related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductOptionUpdatePayload? productOptionUpdate { get; set; } - + [Description("Updates an [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)\non a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\nsuch as size, color, or material. Each option includes a name, position, and a list of values. The combination\nof a product option and value creates a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\n\nUse the `productOptionUpdate` mutation for the following use cases:\n\n- **Update product choices**: Modify an existing option, like \"Size\" (Small, Medium, Large) or\n\"Color\" (Red, Blue, Green), so customers can select their preferred variant.\n- **Enable personalization features**: Update an option (for example, \"Engraving text\") to let customers customize their purchase.\n- **Offer seasonal or limited edition products**: Update a value\n(for example, \"Holiday red\") on an existing option to support limited-time or seasonal variants.\n- **Integrate with apps that manage product configuration**: Allow third-party apps to update options, like\n\"Bundle size\", when customers select or customize\n[product bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles).\n- **Link options to metafields**: Associate a product option with a custom\n[metafield](https://shopify.dev/docs/apps/build/custom-data), like \"Fabric code\", for\nricher integrations with other systems or apps.\n\n> Note:\n> The `productOptionUpdate` mutation enforces strict data integrity for product options and variants.\nAll option positions must be sequential, and every option should be used by at least one variant.\n\nAfter you update a product option, you can further manage a product's configuration using related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductOptionUpdatePayload? productOptionUpdate { get; set; } + /// ///Creates one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) ///on a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product), @@ -77798,9 +77798,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Creates one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)\non a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\nsuch as size, color, or material. Each option includes a name, position, and a list of values. The combination\nof a product option and value creates a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\n\nUse the `productOptionsCreate` mutation for the following use cases:\n\n- **Add product choices**: Add a new option, like \"Size\" (Small, Medium, Large) or\n\"Color\" (Red, Blue, Green), to an existing product so customers can select their preferred variant.\n- **Enable personalization features**: Add options such as \"Engraving text\" to let customers customize their purchase.\n- **Offer seasonal or limited edition products**: Add a new value\n(for example, \"Holiday red\") to an existing option to support limited-time or seasonal variants.\n- **Integrate with apps that manage product configuration**: Allow third-party apps to add options, like\n\"Bundle size\", when customers select or customize\n[product bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles).\n- **Link options to metafields**: Associate a product option with a custom\n[metafield](https://shopify.dev/docs/apps/build/custom-data), like \"Fabric code\", for\nricher integrations with other systems or apps.\n\n> Note:\n> The `productOptionsCreate` mutation enforces strict data integrity for product options and variants.\nAll option positions must be sequential, and every option should be used by at least one variant.\nIf you use the [`CREATE` variant strategy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate#arguments-variantStrategy.enums.CREATE), consider the maximum allowed number of variants for each product is 2048.\n\nAfter you create product options, you can further manage a product's configuration using related mutations:\n\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductOptionsCreatePayload? productOptionsCreate { get; set; } - + [Description("Creates one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)\non a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\nsuch as size, color, or material. Each option includes a name, position, and a list of values. The combination\nof a product option and value creates a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\n\nUse the `productOptionsCreate` mutation for the following use cases:\n\n- **Add product choices**: Add a new option, like \"Size\" (Small, Medium, Large) or\n\"Color\" (Red, Blue, Green), to an existing product so customers can select their preferred variant.\n- **Enable personalization features**: Add options such as \"Engraving text\" to let customers customize their purchase.\n- **Offer seasonal or limited edition products**: Add a new value\n(for example, \"Holiday red\") to an existing option to support limited-time or seasonal variants.\n- **Integrate with apps that manage product configuration**: Allow third-party apps to add options, like\n\"Bundle size\", when customers select or customize\n[product bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles).\n- **Link options to metafields**: Associate a product option with a custom\n[metafield](https://shopify.dev/docs/apps/build/custom-data), like \"Fabric code\", for\nricher integrations with other systems or apps.\n\n> Note:\n> The `productOptionsCreate` mutation enforces strict data integrity for product options and variants.\nAll option positions must be sequential, and every option should be used by at least one variant.\nIf you use the [`CREATE` variant strategy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate#arguments-variantStrategy.enums.CREATE), consider the maximum allowed number of variants for each product is 2048.\n\nAfter you create product options, you can further manage a product's configuration using related mutations:\n\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductOptionsCreatePayload? productOptionsCreate { get; set; } + /// ///Deletes one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) ///from a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product). Product options @@ -77838,9 +77838,9 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Deletes one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)\nfrom a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product). Product options\ndefine the choices available for a product, such as size, color, or material.\n\n> Caution:\n> Removing an option can affect a product's\n> [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) and their\n> configuration. Deleting an option might also delete associated option values and, depending on the chosen\n> [strategy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productoptionsdelete#arguments-strategy),\n> might affect variants.\n\nUse the `productOptionsDelete` mutation for the following use cases:\n\n- **Simplify product configuration**: Remove obsolete or unnecessary options\n(for example, discontinue \"Material\" if all variants are now the same material).\n- **Clean up after seasonal or limited-time offerings**: Delete options that are no longer\nrelevant (for example, \"Holiday edition\").\n- **Automate catalog management**: Enable apps or integrations to programmatically remove options as product\ndata changes.\n\n> Note:\n> The `productOptionsDelete` mutation enforces strict data integrity for product options and variants.\n> All option positions must remain sequential, and every remaining option must be used by at least one variant.\n\nAfter you delete a product option, you can further manage a product's configuration using related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductOptionsDeletePayload? productOptionsDelete { get; set; } - + [Description("Deletes one or more [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption)\nfrom a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product). Product options\ndefine the choices available for a product, such as size, color, or material.\n\n> Caution:\n> Removing an option can affect a product's\n> [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) and their\n> configuration. Deleting an option might also delete associated option values and, depending on the chosen\n> [strategy](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productoptionsdelete#arguments-strategy),\n> might affect variants.\n\nUse the `productOptionsDelete` mutation for the following use cases:\n\n- **Simplify product configuration**: Remove obsolete or unnecessary options\n(for example, discontinue \"Material\" if all variants are now the same material).\n- **Clean up after seasonal or limited-time offerings**: Delete options that are no longer\nrelevant (for example, \"Holiday edition\").\n- **Automate catalog management**: Enable apps or integrations to programmatically remove options as product\ndata changes.\n\n> Note:\n> The `productOptionsDelete` mutation enforces strict data integrity for product options and variants.\n> All option positions must remain sequential, and every remaining option must be used by at least one variant.\n\nAfter you delete a product option, you can further manage a product's configuration using related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductOptionsDeletePayload? productOptionsDelete { get; set; } + /// ///Reorders the [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) and ///[option values](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOptionValue) on a @@ -77899,16 +77899,16 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [managing product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Reorders the [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) and\n[option values](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOptionValue) on a\n[product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\nupdating the order in which [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nare presented to customers.\n\nThe `productOptionsReorder` mutation accepts a list of product options, each identified by `id` or `name`, and an\noptional list of values (also by `id` or `name`) specifying the new order. The order of options in the\nmutation's input determines their new positions (for example, the first option becomes `option1`).\nThe order of values within each option determines their new positions. The mutation recalculates the order of\nvariants based on the new option and value order.\n\nSuppose a product has the following variants:\n\n1. `\"Red / Small\"`\n2. `\"Green / Medium\"`\n3. `\"Blue / Small\"`\n\nYou reorder options and values:\n\n```\noptions: [\n { name: \"Size\", values: [{ name: \"Small\" }, { name: \"Medium\" }] },\n { name: \"Color\", values: [{ name: \"Green\" }, { name: \"Red\" }, { name: \"Blue\" }] }\n]\n```\n\nThe resulting variant order will be:\n\n1. `\"Small / Green\"`\n2. `\"Small / Red\"`\n3. `\"Small / Blue\"`\n4. `\"Medium / Green\"`\n\nUse the `productOptionsReorder` mutation for the following use cases:\n\n- **Change the order of product options**: For example, display \"Color\" before \"Size\" in a store.\n- **Reorder option values within an option**: For example, show \"Red\" before \"Blue\" in a color picker.\n- **Control the order of product variants**: The order of options and their values determines the sequence in which variants are listed and selected.\n- **Highlight best-selling options**: Present the most popular or relevant options and values first.\n- **Promote merchandising strategies**: Highlight seasonal colors, limited editions, or featured sizes.\n\n> Note:\n> The `productOptionsReorder` mutation enforces strict data integrity for product options and variants.\n> All option positions must be sequential, and every option should be used by at least one variant.\n\nAfter you reorder product options, you can further manage a product's configuration using related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [managing product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductOptionsReorderPayload? productOptionsReorder { get; set; } - + [Description("Reorders the [options](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption) and\n[option values](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOptionValue) on a\n[product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\nupdating the order in which [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nare presented to customers.\n\nThe `productOptionsReorder` mutation accepts a list of product options, each identified by `id` or `name`, and an\noptional list of values (also by `id` or `name`) specifying the new order. The order of options in the\nmutation's input determines their new positions (for example, the first option becomes `option1`).\nThe order of values within each option determines their new positions. The mutation recalculates the order of\nvariants based on the new option and value order.\n\nSuppose a product has the following variants:\n\n1. `\"Red / Small\"`\n2. `\"Green / Medium\"`\n3. `\"Blue / Small\"`\n\nYou reorder options and values:\n\n```\noptions: [\n { name: \"Size\", values: [{ name: \"Small\" }, { name: \"Medium\" }] },\n { name: \"Color\", values: [{ name: \"Green\" }, { name: \"Red\" }, { name: \"Blue\" }] }\n]\n```\n\nThe resulting variant order will be:\n\n1. `\"Small / Green\"`\n2. `\"Small / Red\"`\n3. `\"Small / Blue\"`\n4. `\"Medium / Green\"`\n\nUse the `productOptionsReorder` mutation for the following use cases:\n\n- **Change the order of product options**: For example, display \"Color\" before \"Size\" in a store.\n- **Reorder option values within an option**: For example, show \"Red\" before \"Blue\" in a color picker.\n- **Control the order of product variants**: The order of options and their values determines the sequence in which variants are listed and selected.\n- **Highlight best-selling options**: Present the most popular or relevant options and values first.\n- **Promote merchandising strategies**: Highlight seasonal colors, limited editions, or featured sizes.\n\n> Note:\n> The `productOptionsReorder` mutation enforces strict data integrity for product options and variants.\n> All option positions must be sequential, and every option should be used by at least one variant.\n\nAfter you reorder product options, you can further manage a product's configuration using related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [managing product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductOptionsReorderPayload? productOptionsReorder { get; set; } + /// ///Publishes a product. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can only be published on online stores. /// - [Description("Publishes a product. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can only be published on online stores.")] - [Obsolete("Use `publishablePublish` instead.")] - public ProductPublishPayload? productPublish { get; set; } - + [Description("Publishes a product. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can only be published on online stores.")] + [Obsolete("Use `publishablePublish` instead.")] + public ProductPublishPayload? productPublish { get; set; } + /// ///Asynchronously reorders the media attached to a product, changing the sequence in which images, videos, and other media appear in product displays. This affects how media is presented across all sales channels. /// @@ -77923,9 +77923,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [product media](https://shopify.dev/docs/api/admin-graphql/latest/objects/Media). /// - [Description("Asynchronously reorders the media attached to a product, changing the sequence in which images, videos, and other media appear in product displays. This affects how media is presented across all sales channels.\n\nFor example, merchants can move their best product photo to the first position or reorder images to tell a better product story, with changes appearing in storefronts once processing completes.\n\nUse `ProductReorderMedia` to:\n- Optimize media presentation order for better customer experience\n- Implement drag-and-drop media management interfaces\n- Automate media sequencing based on performance or quality metrics\n\nThe operation processes asynchronously to handle products with large media collections without blocking other operations.\n\nLearn more about [product media](https://shopify.dev/docs/api/admin-graphql/latest/objects/Media).")] - public ProductReorderMediaPayload? productReorderMedia { get; set; } - + [Description("Asynchronously reorders the media attached to a product, changing the sequence in which images, videos, and other media appear in product displays. This affects how media is presented across all sales channels.\n\nFor example, merchants can move their best product photo to the first position or reorder images to tell a better product story, with changes appearing in storefronts once processing completes.\n\nUse `ProductReorderMedia` to:\n- Optimize media presentation order for better customer experience\n- Implement drag-and-drop media management interfaces\n- Automate media sequencing based on performance or quality metrics\n\nThe operation processes asynchronously to handle products with large media collections without blocking other operations.\n\nLearn more about [product media](https://shopify.dev/docs/api/admin-graphql/latest/objects/Media).")] + public ProductReorderMediaPayload? productReorderMedia { get; set; } + /// ///Performs multiple operations to create or update products in a single request. /// @@ -77968,16 +77968,16 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [syncing product data from an external source](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/sync-data). /// - [Description("Performs multiple operations to create or update products in a single request.\n\nUse the `productSet` mutation to sync information from an external data source into Shopify, manage large\nproduct catalogs, and perform batch updates. The mutation is helpful for bulk product management, including price\nadjustments, inventory updates, and product lifecycle management.\n\nThe behavior of `productSet` depends on the type of field it's modifying:\n\n- **For list fields**: Creates new entries, updates existing entries, and deletes existing entries\nthat aren't included in the mutation's input. Common examples of list fields include\n[`collections`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.collections),\n[`metafields`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.metafields),\nand [`variants`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.variants).\n\n- **For all other field types**: Updates only the included fields. Any omitted fields will remain unchanged.\n\n> Note:\n> By default, stores have a limit of 2048 product variants for each product.\n\nYou can run `productSet` in one of the following modes:\n\n- **Synchronously**: Returns the updated product in the response.\n- **Asynchronously**: Returns a [`ProductSetOperation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductSetOperation) object.\nUse the [`productOperation`](https://shopify.dev/api/admin-graphql/latest/queries/productOperation) query to check the status of the operation and\nretrieve details of the updated product and its product variants.\n\nIf you need to only manage product variants, then use one of the following mutations:\n\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productVariantsBulkDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkDelete)\n\nIf you need to only manage product options, then use one of the following mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n\nLearn more about [syncing product data from an external source](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/sync-data).")] - public ProductSetPayload? productSet { get; set; } - + [Description("Performs multiple operations to create or update products in a single request.\n\nUse the `productSet` mutation to sync information from an external data source into Shopify, manage large\nproduct catalogs, and perform batch updates. The mutation is helpful for bulk product management, including price\nadjustments, inventory updates, and product lifecycle management.\n\nThe behavior of `productSet` depends on the type of field it's modifying:\n\n- **For list fields**: Creates new entries, updates existing entries, and deletes existing entries\nthat aren't included in the mutation's input. Common examples of list fields include\n[`collections`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.collections),\n[`metafields`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.metafields),\nand [`variants`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet#arguments-input.fields.variants).\n\n- **For all other field types**: Updates only the included fields. Any omitted fields will remain unchanged.\n\n> Note:\n> By default, stores have a limit of 2048 product variants for each product.\n\nYou can run `productSet` in one of the following modes:\n\n- **Synchronously**: Returns the updated product in the response.\n- **Asynchronously**: Returns a [`ProductSetOperation`](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductSetOperation) object.\nUse the [`productOperation`](https://shopify.dev/api/admin-graphql/latest/queries/productOperation) query to check the status of the operation and\nretrieve details of the updated product and its product variants.\n\nIf you need to only manage product variants, then use one of the following mutations:\n\n- [`productVariantsBulkCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkCreate)\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\n- [`productVariantsBulkDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkDelete)\n\nIf you need to only manage product options, then use one of the following mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n\nLearn more about [syncing product data from an external source](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/sync-data).")] + public ProductSetPayload? productSet { get; set; } + /// ///Unpublishes a product. /// - [Description("Unpublishes a product.")] - [Obsolete("Use `publishableUnpublish` instead.")] - public ProductUnpublishPayload? productUnpublish { get; set; } - + [Description("Unpublishes a product.")] + [Obsolete("Use `publishableUnpublish` instead.")] + public ProductUnpublishPayload? productUnpublish { get; set; } + /// ///Updates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) ///with attributes such as title, description, vendor, and media. @@ -78007,16 +78007,16 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Updates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nwith attributes such as title, description, vendor, and media.\n\nThe `productUpdate` mutation helps you modify many products at once, avoiding the tedious or time-consuming\nprocess of updating them one by one in the Shopify admin. Common examples including updating\nproduct details like status or tags.\n\nThe `productUpdate` mutation doesn't support updating\n[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\nTo update multiple product variants for a single product and manage prices, use the\n[`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\nmutation.\n\n> Note:\n> The `productUpdate` mutation has a [throttle](https://shopify.dev/docs/api/usage/rate-limits#resource-based-rate-limits)\n> that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than\n> 1,000 new product variants can be updated per day.\n\nAfter updating a product, you can make additional changes using one of the following mutations:\n\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet):\nUsed to perform multiple operations on products, such as creating or modifying product options and variants.\n- [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish):\nUsed to publish the product and make it available to customers, if the product is currently unpublished.\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductUpdatePayload? productUpdate { get; set; } - + [Description("Updates a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nwith attributes such as title, description, vendor, and media.\n\nThe `productUpdate` mutation helps you modify many products at once, avoiding the tedious or time-consuming\nprocess of updating them one by one in the Shopify admin. Common examples including updating\nproduct details like status or tags.\n\nThe `productUpdate` mutation doesn't support updating\n[product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).\nTo update multiple product variants for a single product and manage prices, use the\n[`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate)\nmutation.\n\n> Note:\n> The `productUpdate` mutation has a [throttle](https://shopify.dev/docs/api/usage/rate-limits#resource-based-rate-limits)\n> that takes effect when a store has 50,000 product variants. After this threshold is reached, no more than\n> 1,000 new product variants can be updated per day.\n\nAfter updating a product, you can make additional changes using one of the following mutations:\n\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet):\nUsed to perform multiple operations on products, such as creating or modifying product options and variants.\n- [`publishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish):\nUsed to publish the product and make it available to customers, if the product is currently unpublished.\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductUpdatePayload? productUpdate { get; set; } + /// ///Updates media for a product. /// - [Description("Updates media for a product.")] - [Obsolete("Use `fileUpdate` instead.")] - public ProductUpdateMediaPayload? productUpdateMedia { get; set; } - + [Description("Updates media for a product.")] + [Obsolete("Use `fileUpdate` instead.")] + public ProductUpdateMediaPayload? productUpdateMedia { get; set; } + /// ///Appends existing media from a product to specific variants of that product, creating associations between media files and particular product options. This allows different variants to showcase relevant images or videos. /// @@ -78031,33 +78031,33 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant). /// - [Description("Appends existing media from a product to specific variants of that product, creating associations between media files and particular product options. This allows different variants to showcase relevant images or videos.\n\nFor example, a t-shirt product might have color variants where each color variant displays only the images showing that specific color, helping customers see exactly what they're purchasing.\n\nUse `ProductVariantAppendMedia` to:\n- Associate specific images with product variants for accurate display\n- Build variant-specific media management in product interfaces\n- Implement automated media assignment based on variant attributes\n\nThe operation links existing product media to variants without duplicating files, maintaining efficient media storage while enabling variant-specific displays.\n\nLearn more about [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).")] - public ProductVariantAppendMediaPayload? productVariantAppendMedia { get; set; } - + [Description("Appends existing media from a product to specific variants of that product, creating associations between media files and particular product options. This allows different variants to showcase relevant images or videos.\n\nFor example, a t-shirt product might have color variants where each color variant displays only the images showing that specific color, helping customers see exactly what they're purchasing.\n\nUse `ProductVariantAppendMedia` to:\n- Associate specific images with product variants for accurate display\n- Build variant-specific media management in product interfaces\n- Implement automated media assignment based on variant attributes\n\nThe operation links existing product media to variants without duplicating files, maintaining efficient media storage while enabling variant-specific displays.\n\nLearn more about [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant).")] + public ProductVariantAppendMediaPayload? productVariantAppendMedia { get; set; } + /// ///Detaches media from product variants. /// - [Description("Detaches media from product variants.")] - public ProductVariantDetachMediaPayload? productVariantDetachMedia { get; set; } - + [Description("Detaches media from product variants.")] + public ProductVariantDetachMediaPayload? productVariantDetachMedia { get; set; } + /// ///Adds multiple selling plan groups to a product variant. /// - [Description("Adds multiple selling plan groups to a product variant.")] - public ProductVariantJoinSellingPlanGroupsPayload? productVariantJoinSellingPlanGroups { get; set; } - + [Description("Adds multiple selling plan groups to a product variant.")] + public ProductVariantJoinSellingPlanGroupsPayload? productVariantJoinSellingPlanGroups { get; set; } + /// ///Remove multiple groups from a product variant. /// - [Description("Remove multiple groups from a product variant.")] - public ProductVariantLeaveSellingPlanGroupsPayload? productVariantLeaveSellingPlanGroups { get; set; } - + [Description("Remove multiple groups from a product variant.")] + public ProductVariantLeaveSellingPlanGroupsPayload? productVariantLeaveSellingPlanGroups { get; set; } + /// ///Creates new bundles, updates existing bundles, and removes bundle components for one or multiple bundles. /// - [Description("Creates new bundles, updates existing bundles, and removes bundle components for one or multiple bundles.")] - public ProductVariantRelationshipBulkUpdatePayload? productVariantRelationshipBulkUpdate { get; set; } - + [Description("Creates new bundles, updates existing bundles, and removes bundle components for one or multiple bundles.")] + public ProductVariantRelationshipBulkUpdatePayload? productVariantRelationshipBulkUpdate { get; set; } + /// ///Creates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) ///for a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation. @@ -78094,21 +78094,21 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Creates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nfor a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation.\nYou can run this mutation directly or as part of a [bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/imports)\nfor large-scale catalog updates.\n\nUse the `productVariantsBulkCreate` mutation to efficiently add new product variants—such as different sizes,\ncolors, or materials—to an existing product. The mutation is helpful if you need to add product variants in bulk,\nsuch as importing from an external system.\n\nThe mutation supports:\n\n- Creating variants with custom option values\n- Associating media (for example, images, videos, and 3D models) with the product or its variants\n- Handling complex product configurations\n\n> Note:\n> By default, stores have a limit of 2048 product variants for each product.\n\nAfter creating variants, you can make additional changes using one of the following mutations:\n\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate):\nUpdates multiple product variants for a single product in one operation.\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet):\nUsed to perform multiple operations on products, such as creating or modifying product options and variants.\n\nYou can also specifically manage product options through related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductVariantsBulkCreatePayload? productVariantsBulkCreate { get; set; } - + [Description("Creates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nfor a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation.\nYou can run this mutation directly or as part of a [bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/imports)\nfor large-scale catalog updates.\n\nUse the `productVariantsBulkCreate` mutation to efficiently add new product variants—such as different sizes,\ncolors, or materials—to an existing product. The mutation is helpful if you need to add product variants in bulk,\nsuch as importing from an external system.\n\nThe mutation supports:\n\n- Creating variants with custom option values\n- Associating media (for example, images, videos, and 3D models) with the product or its variants\n- Handling complex product configurations\n\n> Note:\n> By default, stores have a limit of 2048 product variants for each product.\n\nAfter creating variants, you can make additional changes using one of the following mutations:\n\n- [`productVariantsBulkUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productVariantsBulkUpdate):\nUpdates multiple product variants for a single product in one operation.\n- [`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet):\nUsed to perform multiple operations on products, such as creating or modifying product options and variants.\n\nYou can also specifically manage product options through related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductVariantsBulkCreatePayload? productVariantsBulkCreate { get; set; } + /// ///Deletes multiple variants in a single product. This mutation can be called directly or via the bulkOperation. /// - [Description("Deletes multiple variants in a single product. This mutation can be called directly or via the bulkOperation.")] - public ProductVariantsBulkDeletePayload? productVariantsBulkDelete { get; set; } - + [Description("Deletes multiple variants in a single product. This mutation can be called directly or via the bulkOperation.")] + public ProductVariantsBulkDeletePayload? productVariantsBulkDelete { get; set; } + /// ///Reorders multiple variants in a single product. This mutation can be called directly or via the bulkOperation. /// - [Description("Reorders multiple variants in a single product. This mutation can be called directly or via the bulkOperation.")] - public ProductVariantsBulkReorderPayload? productVariantsBulkReorder { get; set; } - + [Description("Reorders multiple variants in a single product. This mutation can be called directly or via the bulkOperation.")] + public ProductVariantsBulkReorderPayload? productVariantsBulkReorder { get; set; } + /// ///Updates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) ///for a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation. @@ -78142,96 +78142,96 @@ public class Mutation : GraphQLObject, IMutationRoot ///Learn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model) ///and [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data). /// - [Description("Updates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nfor a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation.\nYou can run this mutation directly or as part of a [bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/imports)\nfor large-scale catalog updates.\n\nUse the `productVariantsBulkUpdate` mutation to efficiently modify product variants—such as different sizes,\ncolors, or materials—associated with an existing product. The mutation is helpful if you need to update a\nproduct's variants in bulk, such as importing from an external system.\n\nThe mutation supports:\n\n- Updating variants with custom option values\n- Associating media (for example, images, videos, and 3D models) with the product or its variants\n- Handling complex product configurations\n\n> Note:\n> By default, stores have a limit of 2048 product variants for each product.\n\nAfter creating variants, you can make additional changes using the\n[`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet) mutation,\nwhich is used to perform multiple operations on products, such as creating or modifying product options and variants.\n\nYou can also specifically manage product options through related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] - public ProductVariantsBulkUpdatePayload? productVariantsBulkUpdate { get; set; } - + [Description("Updates multiple [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nfor a single [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) in one operation.\nYou can run this mutation directly or as part of a [bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/imports)\nfor large-scale catalog updates.\n\nUse the `productVariantsBulkUpdate` mutation to efficiently modify product variants—such as different sizes,\ncolors, or materials—associated with an existing product. The mutation is helpful if you need to update a\nproduct's variants in bulk, such as importing from an external system.\n\nThe mutation supports:\n\n- Updating variants with custom option values\n- Associating media (for example, images, videos, and 3D models) with the product or its variants\n- Handling complex product configurations\n\n> Note:\n> By default, stores have a limit of 2048 product variants for each product.\n\nAfter creating variants, you can make additional changes using the\n[`productSet`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productSet) mutation,\nwhich is used to perform multiple operations on products, such as creating or modifying product options and variants.\n\nYou can also specifically manage product options through related mutations:\n\n- [`productOptionsCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsCreate)\n- [`productOptionUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionUpdate)\n- [`productOptionsReorder`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsReorder)\n- [`productOptionsDelete`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productOptionsDelete)\n\nLearn more about the [product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model)\nand [adding product data](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/add-data).")] + public ProductVariantsBulkUpdatePayload? productVariantsBulkUpdate { get; set; } + /// ///Updates the server pixel to connect to a Google PubSub endpoint. ///Running this mutation deletes any previous subscriptions for the server pixel. /// - [Description("Updates the server pixel to connect to a Google PubSub endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.")] - public PubSubServerPixelUpdatePayload? pubSubServerPixelUpdate { get; set; } - + [Description("Updates the server pixel to connect to a Google PubSub endpoint.\nRunning this mutation deletes any previous subscriptions for the server pixel.")] + public PubSubServerPixelUpdatePayload? pubSubServerPixelUpdate { get; set; } + /// ///Creates a new Google Cloud Pub/Sub webhook subscription. /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Creates a new Google Cloud Pub/Sub webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - [Obsolete("Use `webhookSubscriptionCreate` instead.")] - public PubSubWebhookSubscriptionCreatePayload? pubSubWebhookSubscriptionCreate { get; set; } - + [Description("Creates a new Google Cloud Pub/Sub webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + [Obsolete("Use `webhookSubscriptionCreate` instead.")] + public PubSubWebhookSubscriptionCreatePayload? pubSubWebhookSubscriptionCreate { get; set; } + /// ///Updates a Google Cloud Pub/Sub webhook subscription. /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Updates a Google Cloud Pub/Sub webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - [Obsolete("Use `webhookSubscriptionUpdate` instead.")] - public PubSubWebhookSubscriptionUpdatePayload? pubSubWebhookSubscriptionUpdate { get; set; } - + [Description("Updates a Google Cloud Pub/Sub webhook subscription.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + [Obsolete("Use `webhookSubscriptionUpdate` instead.")] + public PubSubWebhookSubscriptionUpdatePayload? pubSubWebhookSubscriptionUpdate { get; set; } + /// ///Creates a publication. /// - [Description("Creates a publication.")] - public PublicationCreatePayload? publicationCreate { get; set; } - + [Description("Creates a publication.")] + public PublicationCreatePayload? publicationCreate { get; set; } + /// ///Deletes a publication. /// - [Description("Deletes a publication.")] - public PublicationDeletePayload? publicationDelete { get; set; } - + [Description("Deletes a publication.")] + public PublicationDeletePayload? publicationDelete { get; set; } + /// ///Updates a publication. /// - [Description("Updates a publication.")] - public PublicationUpdatePayload? publicationUpdate { get; set; } - + [Description("Updates a publication.")] + public PublicationUpdatePayload? publicationUpdate { get; set; } + /// ///Publishes a resource to a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores. /// - [Description("Publishes a resource to a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores.")] - public PublishablePublishPayload? publishablePublish { get; set; } - + [Description("Publishes a resource to a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores.")] + public PublishablePublishPayload? publishablePublish { get; set; } + /// ///Publishes a resource to current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores. /// - [Description("Publishes a resource to current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores.")] - public PublishablePublishToCurrentChannelPayload? publishablePublishToCurrentChannel { get; set; } - + [Description("Publishes a resource to current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. Products that are sold exclusively on subscription (`requiresSellingPlan: true`) can be published only on online stores.")] + public PublishablePublishToCurrentChannelPayload? publishablePublishToCurrentChannel { get; set; } + /// ///Unpublishes a resource from a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. /// - [Description("Unpublishes a resource from a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`.")] - public PublishableUnpublishPayload? publishableUnpublish { get; set; } - + [Description("Unpublishes a resource from a channel. If the resource is a product, then it's visible in the channel only if the product status is `active`.")] + public PublishableUnpublishPayload? publishableUnpublish { get; set; } + /// ///Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`. /// - [Description("Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`.")] - public PublishableUnpublishToCurrentChannelPayload? publishableUnpublishToCurrentChannel { get; set; } - + [Description("Unpublishes a resource from the current channel. If the resource is a product, then it's visible in the channel only if the product status is `active`.")] + public PublishableUnpublishToCurrentChannelPayload? publishableUnpublishToCurrentChannel { get; set; } + /// ///Updates quantity pricing on a price list. You can use the `quantityPricingByVariantUpdate` mutation to set fixed prices, quantity rules, and quantity price breaks. This mutation does not allow partial successes. If any of the requested resources fail to update, none of the requested resources will be updated. Delete operations are executed before create operations. /// - [Description("Updates quantity pricing on a price list. You can use the `quantityPricingByVariantUpdate` mutation to set fixed prices, quantity rules, and quantity price breaks. This mutation does not allow partial successes. If any of the requested resources fail to update, none of the requested resources will be updated. Delete operations are executed before create operations.")] - public QuantityPricingByVariantUpdatePayload? quantityPricingByVariantUpdate { get; set; } - + [Description("Updates quantity pricing on a price list. You can use the `quantityPricingByVariantUpdate` mutation to set fixed prices, quantity rules, and quantity price breaks. This mutation does not allow partial successes. If any of the requested resources fail to update, none of the requested resources will be updated. Delete operations are executed before create operations.")] + public QuantityPricingByVariantUpdatePayload? quantityPricingByVariantUpdate { get; set; } + /// ///Creates or updates existing quantity rules on a price list. ///You can use the `quantityRulesAdd` mutation to set order level minimums, maximumums and increments for specific product variants. /// - [Description("Creates or updates existing quantity rules on a price list.\nYou can use the `quantityRulesAdd` mutation to set order level minimums, maximumums and increments for specific product variants.")] - public QuantityRulesAddPayload? quantityRulesAdd { get; set; } - + [Description("Creates or updates existing quantity rules on a price list.\nYou can use the `quantityRulesAdd` mutation to set order level minimums, maximumums and increments for specific product variants.")] + public QuantityRulesAddPayload? quantityRulesAdd { get; set; } + /// ///Deletes specific quantity rules from a price list using a product variant ID. ///You can use the `quantityRulesDelete` mutation to delete a set of quantity rules from a price list. /// - [Description("Deletes specific quantity rules from a price list using a product variant ID.\nYou can use the `quantityRulesDelete` mutation to delete a set of quantity rules from a price list.")] - public QuantityRulesDeletePayload? quantityRulesDelete { get; set; } - + [Description("Deletes specific quantity rules from a price list using a product variant ID.\nYou can use the `quantityRulesDelete` mutation to delete a set of quantity rules from a price list.")] + public QuantityRulesDeletePayload? quantityRulesDelete { get; set; } + /// ///Creates a refund for an order, allowing you to process returns and issue payments back to customers. /// @@ -78266,38 +78266,38 @@ public class Mutation : GraphQLObject, IMutationRoot ///for line items, whereas the `returnRefund` mutation focuses solely on handling the financial refund without ///any restocking input. /// - [Description("Creates a refund for an order, allowing you to process returns and issue payments back to customers.\n\nUse the `refundCreate` mutation to programmatically process refunds in scenarios where you need to\nreturn money to customers, such as when handling returns, processing chargebacks, or correcting\norder errors.\n\nThe `refundCreate` mutation supports various refund scenarios:\n\n- Refunding line items with optional restocking\n- Refunding shipping costs\n- Refunding duties and import taxes\n- Refunding additional fees\n- Processing refunds through different payment methods\n- Issuing store credit refunds (when enabled)\n\nYou can create both full and partial refunds, and optionally allow over-refunding in specific\ncases.\n\nAfter creating a refund, you can track its status and details through the order's\n[`refunds`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.refunds)\nfield. The refund is associated with the order and can be used for reporting and reconciliation purposes.\n\nLearn more about\n[managing returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\nand [refunding duties](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/view-and-refund-duties).\n\n> Note:\n> The refunding behavior of the `refundCreate` mutation is similar to the\n[`refundReturn`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/returnRefund)\nmutation. The key difference is that the `refundCreate` mutation lets you to specify restocking behavior\nfor line items, whereas the `returnRefund` mutation focuses solely on handling the financial refund without\nany restocking input.")] - public RefundCreatePayload? refundCreate { get; set; } - + [Description("Creates a refund for an order, allowing you to process returns and issue payments back to customers.\n\nUse the `refundCreate` mutation to programmatically process refunds in scenarios where you need to\nreturn money to customers, such as when handling returns, processing chargebacks, or correcting\norder errors.\n\nThe `refundCreate` mutation supports various refund scenarios:\n\n- Refunding line items with optional restocking\n- Refunding shipping costs\n- Refunding duties and import taxes\n- Refunding additional fees\n- Processing refunds through different payment methods\n- Issuing store credit refunds (when enabled)\n\nYou can create both full and partial refunds, and optionally allow over-refunding in specific\ncases.\n\nAfter creating a refund, you can track its status and details through the order's\n[`refunds`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.refunds)\nfield. The refund is associated with the order and can be used for reporting and reconciliation purposes.\n\nLearn more about\n[managing returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\nand [refunding duties](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/view-and-refund-duties).\n\n> Note:\n> The refunding behavior of the `refundCreate` mutation is similar to the\n[`refundReturn`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/returnRefund)\nmutation. The key difference is that the `refundCreate` mutation lets you to specify restocking behavior\nfor line items, whereas the `returnRefund` mutation focuses solely on handling the financial refund without\nany restocking input.")] + public RefundCreatePayload? refundCreate { get; set; } + /// ///Removes return and/or exchange lines from a return. /// - [Description("Removes return and/or exchange lines from a return.")] - public RemoveFromReturnPayload? removeFromReturn { get; set; } - + [Description("Removes return and/or exchange lines from a return.")] + public RemoveFromReturnPayload? removeFromReturn { get; set; } + /// ///Approves a customer's return request. ///If this mutation is successful, then the `Return.status` field of the ///approved return is set to `OPEN`. /// - [Description("Approves a customer's return request.\nIf this mutation is successful, then the `Return.status` field of the\napproved return is set to `OPEN`.")] - public ReturnApproveRequestPayload? returnApproveRequest { get; set; } - + [Description("Approves a customer's return request.\nIf this mutation is successful, then the `Return.status` field of the\napproved return is set to `OPEN`.")] + public ReturnApproveRequestPayload? returnApproveRequest { get; set; } + /// ///Cancels a return and restores the items back to being fulfilled. ///Canceling a return is only available before any work has been done ///on the return (such as an inspection or refund). /// - [Description("Cancels a return and restores the items back to being fulfilled.\nCanceling a return is only available before any work has been done\non the return (such as an inspection or refund).")] - public ReturnCancelPayload? returnCancel { get; set; } - + [Description("Cancels a return and restores the items back to being fulfilled.\nCanceling a return is only available before any work has been done\non the return (such as an inspection or refund).")] + public ReturnCancelPayload? returnCancel { get; set; } + /// ///Indicates a return is complete, either when a refund has been made and items restocked, ///or simply when it has been marked as returned in the system. /// - [Description("Indicates a return is complete, either when a refund has been made and items restocked,\nor simply when it has been marked as returned in the system.")] - public ReturnClosePayload? returnClose { get; set; } - + [Description("Indicates a return is complete, either when a refund has been made and items restocked,\nor simply when it has been marked as returned in the system.")] + public ReturnClosePayload? returnClose { get; set; } + /// ///Creates a return from an existing order that has at least one fulfilled ///[line item](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem) @@ -78326,87 +78326,87 @@ public class Mutation : GraphQLObject, IMutationRoot ///[return management workflow](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management) ///for merchants. /// - [Description("Creates a return from an existing order that has at least one fulfilled\n[line item](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem)\nthat hasn't yet been refunded. If you create a return on an archived order, then the order is automatically\nunarchived.\n\nUse the `returnCreate` mutation when your workflow involves\n[approving](https://shopify.dev/docs/api/admin-graphql/latest/mutations/returnApproveRequest) or\n[declining](https://shopify.dev/docs/api/admin-graphql/latest/mutations/returnDeclineRequest) requested returns\noutside of the Shopify platform.\n\nThe `returnCreate` mutation performs the following actions:\n\n- Creates a return in the `OPEN` state, and assumes that the return request from the customer has already been\napproved\n- Creates a [reverse fulfillment order](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-fulfillment-orders),\nand enables you to create a [reverse delivery](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-deliveries)\nfor the reverse fulfillment order\n- Creates a sales agreement with a `RETURN` reason, which links to all sales created for the return or exchange\n- Generates sales records that reverse the sales records for the items being returned\n- Generates sales records for any exchange line items\n\nAfter you've created a return, use the\n[`return`](https://shopify.dev/docs/api/admin-graphql/latest/queries/return) query to retrieve the\nreturn by its ID. Learn more about providing a\n[return management workflow](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\nfor merchants.")] - public ReturnCreatePayload? returnCreate { get; set; } - + [Description("Creates a return from an existing order that has at least one fulfilled\n[line item](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem)\nthat hasn't yet been refunded. If you create a return on an archived order, then the order is automatically\nunarchived.\n\nUse the `returnCreate` mutation when your workflow involves\n[approving](https://shopify.dev/docs/api/admin-graphql/latest/mutations/returnApproveRequest) or\n[declining](https://shopify.dev/docs/api/admin-graphql/latest/mutations/returnDeclineRequest) requested returns\noutside of the Shopify platform.\n\nThe `returnCreate` mutation performs the following actions:\n\n- Creates a return in the `OPEN` state, and assumes that the return request from the customer has already been\napproved\n- Creates a [reverse fulfillment order](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-fulfillment-orders),\nand enables you to create a [reverse delivery](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-deliveries)\nfor the reverse fulfillment order\n- Creates a sales agreement with a `RETURN` reason, which links to all sales created for the return or exchange\n- Generates sales records that reverse the sales records for the items being returned\n- Generates sales records for any exchange line items\n\nAfter you've created a return, use the\n[`return`](https://shopify.dev/docs/api/admin-graphql/latest/queries/return) query to retrieve the\nreturn by its ID. Learn more about providing a\n[return management workflow](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\nfor merchants.")] + public ReturnCreatePayload? returnCreate { get; set; } + /// ///Declines a return on an order. ///When a return is declined, each `ReturnLineItem.fulfillmentLineItem` can be associated to a new return. ///Use the `ReturnCreate` or `ReturnRequest` mutation to initiate a new return. /// - [Description("Declines a return on an order.\nWhen a return is declined, each `ReturnLineItem.fulfillmentLineItem` can be associated to a new return.\nUse the `ReturnCreate` or `ReturnRequest` mutation to initiate a new return.")] - public ReturnDeclineRequestPayload? returnDeclineRequest { get; set; } - + [Description("Declines a return on an order.\nWhen a return is declined, each `ReturnLineItem.fulfillmentLineItem` can be associated to a new return.\nUse the `ReturnCreate` or `ReturnRequest` mutation to initiate a new return.")] + public ReturnDeclineRequestPayload? returnDeclineRequest { get; set; } + /// ///Removes return lines from a return. /// - [Description("Removes return lines from a return.")] - [Obsolete("Use `removeFromReturn` instead.")] - public ReturnLineItemRemoveFromReturnPayload? returnLineItemRemoveFromReturn { get; set; } - + [Description("Removes return lines from a return.")] + [Obsolete("Use `removeFromReturn` instead.")] + public ReturnLineItemRemoveFromReturnPayload? returnLineItemRemoveFromReturn { get; set; } + /// ///Process a return. /// - [Description("Process a return.")] - public ReturnProcessPayload? returnProcess { get; set; } - + [Description("Process a return.")] + public ReturnProcessPayload? returnProcess { get; set; } + /// ///Refunds a return when its status is `OPEN` or `CLOSED` and associates it with the related return request. /// - [Description("Refunds a return when its status is `OPEN` or `CLOSED` and associates it with the related return request.")] - [Obsolete("Use `returnProcess` instead.")] - public ReturnRefundPayload? returnRefund { get; set; } - + [Description("Refunds a return when its status is `OPEN` or `CLOSED` and associates it with the related return request.")] + [Obsolete("Use `returnProcess` instead.")] + public ReturnRefundPayload? returnRefund { get; set; } + /// ///Reopens a closed return. /// - [Description("Reopens a closed return.")] - public ReturnReopenPayload? returnReopen { get; set; } - + [Description("Reopens a closed return.")] + public ReturnReopenPayload? returnReopen { get; set; } + /// ///A customer's return request that hasn't been approved or declined. ///This mutation sets the value of the `Return.status` field to `REQUESTED`. ///To create a return that has the `Return.status` field set to `OPEN`, use the `returnCreate` mutation. /// - [Description("A customer's return request that hasn't been approved or declined.\nThis mutation sets the value of the `Return.status` field to `REQUESTED`.\nTo create a return that has the `Return.status` field set to `OPEN`, use the `returnCreate` mutation.")] - public ReturnRequestPayload? returnRequest { get; set; } - + [Description("A customer's return request that hasn't been approved or declined.\nThis mutation sets the value of the `Return.status` field to `REQUESTED`.\nTo create a return that has the `Return.status` field set to `OPEN`, use the `returnCreate` mutation.")] + public ReturnRequestPayload? returnRequest { get; set; } + /// ///Creates a new reverse delivery with associated external shipping information. /// - [Description("Creates a new reverse delivery with associated external shipping information.")] - public ReverseDeliveryCreateWithShippingPayload? reverseDeliveryCreateWithShipping { get; set; } - + [Description("Creates a new reverse delivery with associated external shipping information.")] + public ReverseDeliveryCreateWithShippingPayload? reverseDeliveryCreateWithShipping { get; set; } + /// ///Updates a reverse delivery with associated external shipping information. /// - [Description("Updates a reverse delivery with associated external shipping information.")] - public ReverseDeliveryShippingUpdatePayload? reverseDeliveryShippingUpdate { get; set; } - + [Description("Updates a reverse delivery with associated external shipping information.")] + public ReverseDeliveryShippingUpdatePayload? reverseDeliveryShippingUpdate { get; set; } + /// ///Disposes reverse fulfillment order line items. /// - [Description("Disposes reverse fulfillment order line items.")] - public ReverseFulfillmentOrderDisposePayload? reverseFulfillmentOrderDispose { get; set; } - + [Description("Disposes reverse fulfillment order line items.")] + public ReverseFulfillmentOrderDisposePayload? reverseFulfillmentOrderDispose { get; set; } + /// ///Creates a saved search. /// - [Description("Creates a saved search.")] - public SavedSearchCreatePayload? savedSearchCreate { get; set; } - + [Description("Creates a saved search.")] + public SavedSearchCreatePayload? savedSearchCreate { get; set; } + /// ///Delete a saved search. /// - [Description("Delete a saved search.")] - public SavedSearchDeletePayload? savedSearchDelete { get; set; } - + [Description("Delete a saved search.")] + public SavedSearchDeletePayload? savedSearchDelete { get; set; } + /// ///Updates a saved search. /// - [Description("Updates a saved search.")] - public SavedSearchUpdatePayload? savedSearchUpdate { get; set; } - + [Description("Updates a saved search.")] + public SavedSearchUpdatePayload? savedSearchUpdate { get; set; } + /// ///<div class="note" > <h4>Theme app extensions</h4> /// <p>If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. <a href="/apps/online-store#what-integration-method-should-i-use" target="_blank" >Learn more</a>.</p> </div> @@ -78417,9 +78417,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Creates a new script tag. /// - [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nCreates a new script tag.")] - public ScriptTagCreatePayload? scriptTagCreate { get; set; } - + [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nCreates a new script tag.")] + public ScriptTagCreatePayload? scriptTagCreate { get; set; } + /// ///<div class="note" > <h4>Theme app extensions</h4> /// <p>If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. <a href="/apps/online-store#what-integration-method-should-i-use" target="_blank" >Learn more</a>.</p> </div> @@ -78430,9 +78430,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Deletes a script tag. /// - [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nDeletes a script tag.")] - public ScriptTagDeletePayload? scriptTagDelete { get; set; } - + [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nDeletes a script tag.")] + public ScriptTagDeletePayload? scriptTagDelete { get; set; } + /// ///<div class="note" > <h4>Theme app extensions</h4> /// <p>If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. <a href="/apps/online-store#what-integration-method-should-i-use" target="_blank" >Learn more</a>.</p> </div> @@ -78443,124 +78443,124 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Updates a script tag. /// - [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nUpdates a script tag.")] - public ScriptTagUpdatePayload? scriptTagUpdate { get; set; } - + [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nUpdates a script tag.")] + public ScriptTagUpdatePayload? scriptTagUpdate { get; set; } + /// ///Creates a segment. /// - [Description("Creates a segment.")] - public SegmentCreatePayload? segmentCreate { get; set; } - + [Description("Creates a segment.")] + public SegmentCreatePayload? segmentCreate { get; set; } + /// ///Deletes a segment. /// - [Description("Deletes a segment.")] - public SegmentDeletePayload? segmentDelete { get; set; } - + [Description("Deletes a segment.")] + public SegmentDeletePayload? segmentDelete { get; set; } + /// ///Updates a segment. /// - [Description("Updates a segment.")] - public SegmentUpdatePayload? segmentUpdate { get; set; } - + [Description("Updates a segment.")] + public SegmentUpdatePayload? segmentUpdate { get; set; } + /// ///Adds multiple product variants to a selling plan group. /// - [Description("Adds multiple product variants to a selling plan group.")] - public SellingPlanGroupAddProductVariantsPayload? sellingPlanGroupAddProductVariants { get; set; } - + [Description("Adds multiple product variants to a selling plan group.")] + public SellingPlanGroupAddProductVariantsPayload? sellingPlanGroupAddProductVariants { get; set; } + /// ///Adds multiple products to a selling plan group. /// - [Description("Adds multiple products to a selling plan group.")] - public SellingPlanGroupAddProductsPayload? sellingPlanGroupAddProducts { get; set; } - + [Description("Adds multiple products to a selling plan group.")] + public SellingPlanGroupAddProductsPayload? sellingPlanGroupAddProducts { get; set; } + /// ///Creates a Selling Plan Group. /// - [Description("Creates a Selling Plan Group.")] - public SellingPlanGroupCreatePayload? sellingPlanGroupCreate { get; set; } - + [Description("Creates a Selling Plan Group.")] + public SellingPlanGroupCreatePayload? sellingPlanGroupCreate { get; set; } + /// ///Delete a Selling Plan Group. This does not affect subscription contracts. /// - [Description("Delete a Selling Plan Group. This does not affect subscription contracts.")] - public SellingPlanGroupDeletePayload? sellingPlanGroupDelete { get; set; } - + [Description("Delete a Selling Plan Group. This does not affect subscription contracts.")] + public SellingPlanGroupDeletePayload? sellingPlanGroupDelete { get; set; } + /// ///Removes multiple product variants from a selling plan group. /// - [Description("Removes multiple product variants from a selling plan group.")] - public SellingPlanGroupRemoveProductVariantsPayload? sellingPlanGroupRemoveProductVariants { get; set; } - + [Description("Removes multiple product variants from a selling plan group.")] + public SellingPlanGroupRemoveProductVariantsPayload? sellingPlanGroupRemoveProductVariants { get; set; } + /// ///Removes multiple products from a selling plan group. /// - [Description("Removes multiple products from a selling plan group.")] - public SellingPlanGroupRemoveProductsPayload? sellingPlanGroupRemoveProducts { get; set; } - + [Description("Removes multiple products from a selling plan group.")] + public SellingPlanGroupRemoveProductsPayload? sellingPlanGroupRemoveProducts { get; set; } + /// ///Update a Selling Plan Group. /// - [Description("Update a Selling Plan Group.")] - public SellingPlanGroupUpdatePayload? sellingPlanGroupUpdate { get; set; } - + [Description("Update a Selling Plan Group.")] + public SellingPlanGroupUpdatePayload? sellingPlanGroupUpdate { get; set; } + /// ///Creates a new unconfigured server pixel. A single server pixel can exist for an app and shop combination. If you call this mutation when a server pixel already exists, then an error will return. /// - [Description("Creates a new unconfigured server pixel. A single server pixel can exist for an app and shop combination. If you call this mutation when a server pixel already exists, then an error will return.")] - public ServerPixelCreatePayload? serverPixelCreate { get; set; } - + [Description("Creates a new unconfigured server pixel. A single server pixel can exist for an app and shop combination. If you call this mutation when a server pixel already exists, then an error will return.")] + public ServerPixelCreatePayload? serverPixelCreate { get; set; } + /// ///Deletes the Server Pixel associated with the current app & shop. /// - [Description("Deletes the Server Pixel associated with the current app & shop.")] - public ServerPixelDeletePayload? serverPixelDelete { get; set; } - + [Description("Deletes the Server Pixel associated with the current app & shop.")] + public ServerPixelDeletePayload? serverPixelDelete { get; set; } + /// ///Deletes a shipping package. /// - [Description("Deletes a shipping package.")] - public ShippingPackageDeletePayload? shippingPackageDelete { get; set; } - + [Description("Deletes a shipping package.")] + public ShippingPackageDeletePayload? shippingPackageDelete { get; set; } + /// ///Set a shipping package as the default. ///The default shipping package is the one used to calculate shipping costs on checkout. /// - [Description("Set a shipping package as the default.\nThe default shipping package is the one used to calculate shipping costs on checkout.")] - public ShippingPackageMakeDefaultPayload? shippingPackageMakeDefault { get; set; } - + [Description("Set a shipping package as the default.\nThe default shipping package is the one used to calculate shipping costs on checkout.")] + public ShippingPackageMakeDefaultPayload? shippingPackageMakeDefault { get; set; } + /// ///Updates a shipping package. /// - [Description("Updates a shipping package.")] - public ShippingPackageUpdatePayload? shippingPackageUpdate { get; set; } - + [Description("Updates a shipping package.")] + public ShippingPackageUpdatePayload? shippingPackageUpdate { get; set; } + /// ///Deletes a locale for a shop. This also deletes all translations of this locale. /// - [Description("Deletes a locale for a shop. This also deletes all translations of this locale.")] - public ShopLocaleDisablePayload? shopLocaleDisable { get; set; } - + [Description("Deletes a locale for a shop. This also deletes all translations of this locale.")] + public ShopLocaleDisablePayload? shopLocaleDisable { get; set; } + /// ///Adds a locale for a shop. The newly added locale is in the unpublished state. /// - [Description("Adds a locale for a shop. The newly added locale is in the unpublished state.")] - public ShopLocaleEnablePayload? shopLocaleEnable { get; set; } - + [Description("Adds a locale for a shop. The newly added locale is in the unpublished state.")] + public ShopLocaleEnablePayload? shopLocaleEnable { get; set; } + /// ///Updates a locale for a shop. /// - [Description("Updates a locale for a shop.")] - public ShopLocaleUpdatePayload? shopLocaleUpdate { get; set; } - + [Description("Updates a locale for a shop.")] + public ShopLocaleUpdatePayload? shopLocaleUpdate { get; set; } + /// ///Updates a shop policy. /// - [Description("Updates a shop policy.")] - public ShopPolicyUpdatePayload? shopPolicyUpdate { get; set; } - + [Description("Updates a shop policy.")] + public ShopPolicyUpdatePayload? shopPolicyUpdate { get; set; } + /// ///The `ResourceFeedback` object lets your app report the status of shops and their resources. For example, if ///your app is a marketplace channel, then you can use resource feedback to alert merchants that they need to connect their marketplace account by signing in. @@ -78578,29 +78578,29 @@ public class Mutation : GraphQLObject, IMutationRoot ///#### Important ///Sending feedback replaces previously sent feedback for the shop. Send a new `shopResourceFeedbackCreate` mutation to push the latest state of a shop or its resources to Shopify. /// - [Description("The `ResourceFeedback` object lets your app report the status of shops and their resources. For example, if\nyour app is a marketplace channel, then you can use resource feedback to alert merchants that they need to connect their marketplace account by signing in.\n\nResource feedback notifications are displayed to the merchant on the home screen of their Shopify admin, and in the product details view for any products that are published to your app.\n\nThis resource should be used only in cases where you're describing steps that a merchant is required to complete. If your app offers optional or promotional set-up steps, or if it makes recommendations, then don't use resource feedback to let merchants know about them.\n\n## Sending feedback on a shop\n\nYou can send resource feedback on a shop to let the merchant know what steps they need to take to make sure that your app is set up correctly. Feedback can have one of two states: `requires_action` or `success`. You need to send a `requires_action` feedback request for each step that the merchant is required to complete.\n\nIf there are multiple set-up steps that require merchant action, then send feedback with a state of `requires_action` as merchants complete prior steps. And to remove the feedback message from the Shopify admin, send a `success` feedback request.\n\n#### Important\nSending feedback replaces previously sent feedback for the shop. Send a new `shopResourceFeedbackCreate` mutation to push the latest state of a shop or its resources to Shopify.")] - public ShopResourceFeedbackCreatePayload? shopResourceFeedbackCreate { get; set; } - + [Description("The `ResourceFeedback` object lets your app report the status of shops and their resources. For example, if\nyour app is a marketplace channel, then you can use resource feedback to alert merchants that they need to connect their marketplace account by signing in.\n\nResource feedback notifications are displayed to the merchant on the home screen of their Shopify admin, and in the product details view for any products that are published to your app.\n\nThis resource should be used only in cases where you're describing steps that a merchant is required to complete. If your app offers optional or promotional set-up steps, or if it makes recommendations, then don't use resource feedback to let merchants know about them.\n\n## Sending feedback on a shop\n\nYou can send resource feedback on a shop to let the merchant know what steps they need to take to make sure that your app is set up correctly. Feedback can have one of two states: `requires_action` or `success`. You need to send a `requires_action` feedback request for each step that the merchant is required to complete.\n\nIf there are multiple set-up steps that require merchant action, then send feedback with a state of `requires_action` as merchants complete prior steps. And to remove the feedback message from the Shopify admin, send a `success` feedback request.\n\n#### Important\nSending feedback replaces previously sent feedback for the shop. Send a new `shopResourceFeedbackCreate` mutation to push the latest state of a shop or its resources to Shopify.")] + public ShopResourceFeedbackCreatePayload? shopResourceFeedbackCreate { get; set; } + /// ///Creates an alternate currency payout for a Shopify Payments account. /// - [Description("Creates an alternate currency payout for a Shopify Payments account.")] - public ShopifyPaymentsPayoutAlternateCurrencyCreatePayload? shopifyPaymentsPayoutAlternateCurrencyCreate { get; set; } - + [Description("Creates an alternate currency payout for a Shopify Payments account.")] + public ShopifyPaymentsPayoutAlternateCurrencyCreatePayload? shopifyPaymentsPayoutAlternateCurrencyCreate { get; set; } + /// ///Generates the URL and signed paramaters needed to upload an asset to Shopify. /// - [Description("Generates the URL and signed paramaters needed to upload an asset to Shopify.")] - [Obsolete("Use `stagedUploadsCreate` instead.")] - public StagedUploadTargetGeneratePayload? stagedUploadTargetGenerate { get; set; } - + [Description("Generates the URL and signed paramaters needed to upload an asset to Shopify.")] + [Obsolete("Use `stagedUploadsCreate` instead.")] + public StagedUploadTargetGeneratePayload? stagedUploadTargetGenerate { get; set; } + /// ///Uploads multiple images. /// - [Description("Uploads multiple images.")] - [Obsolete("Use `stagedUploadsCreate` instead.")] - public StagedUploadTargetsGeneratePayload? stagedUploadTargetsGenerate { get; set; } - + [Description("Uploads multiple images.")] + [Obsolete("Use `stagedUploadsCreate` instead.")] + public StagedUploadTargetsGeneratePayload? stagedUploadTargetsGenerate { get; set; } + /// ///Creates staged upload targets for file uploads such as images, videos, and 3D models. /// @@ -78644,17 +78644,17 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Learn more about [uploading media to Shopify](https://shopify.dev/apps/online-store/media/products). /// - [Description("Creates staged upload targets for file uploads such as images, videos, and 3D models.\n\nUse the `stagedUploadsCreate` mutation instead of direct file creation mutations when:\n\n- **Uploading large files**: Files over a few MB benefit from staged uploads for better reliability\n- **Uploading media files**: Videos, 3D models, and high-resolution images\n- **Bulk importing**: CSV files, product catalogs, or other bulk data\n- **Using external file sources**: When files are stored remotely and need to be transferred to Shopify\n\nThe `stagedUploadsCreate` mutation is the first step in Shopify's secure two-step upload process:\n\n**Step 1: Create staged upload targets** (this mutation)\n- Generate secure, temporary upload URLs for your files.\n- Receive authentication parameters for the upload.\n\n**Step 2: Upload files and create assets**\n- Upload your files directly to the provided URLs using the authentication parameters.\n- Use the returned `resourceUrl` as the `originalSource` in subsequent mutations like `fileCreate`.\n\nThis approach provides better performance for large files, handles network interruptions gracefully,\nand ensures secure file transfers to Shopify's storage infrastructure.\n\n> Note:\n> File size is required when uploading\n> [`VIDEO`](https://shopify.dev/docs/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#enums-VIDEO) or\n> [`MODEL_3D`](https://shopify.dev/docs/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#enums-MODEL_3D)\n> resources.\n\nAfter creating staged upload targets, complete the process by:\n\n1. **Uploading files**: Send your files to the returned [`url`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-StagedMediaUploadTarget.fields.url) using the provided\n[`parameters`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-StagedMediaUploadTarget.fields.parameters)\nfor authentication\n2. **Creating file assets**: Use the [`resourceUrl`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-StagedMediaUploadTarget.fields.resourceUrl)\nas the `originalSource` in mutations such as:\n - [`fileCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileCreate):\n Creates file assets from staged uploads\n - [`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate):\n Updates products with new media from staged uploads\n\nLearn more about [uploading media to Shopify](https://shopify.dev/apps/online-store/media/products).")] - public StagedUploadsCreatePayload? stagedUploadsCreate { get; set; } - + [Description("Creates staged upload targets for file uploads such as images, videos, and 3D models.\n\nUse the `stagedUploadsCreate` mutation instead of direct file creation mutations when:\n\n- **Uploading large files**: Files over a few MB benefit from staged uploads for better reliability\n- **Uploading media files**: Videos, 3D models, and high-resolution images\n- **Bulk importing**: CSV files, product catalogs, or other bulk data\n- **Using external file sources**: When files are stored remotely and need to be transferred to Shopify\n\nThe `stagedUploadsCreate` mutation is the first step in Shopify's secure two-step upload process:\n\n**Step 1: Create staged upload targets** (this mutation)\n- Generate secure, temporary upload URLs for your files.\n- Receive authentication parameters for the upload.\n\n**Step 2: Upload files and create assets**\n- Upload your files directly to the provided URLs using the authentication parameters.\n- Use the returned `resourceUrl` as the `originalSource` in subsequent mutations like `fileCreate`.\n\nThis approach provides better performance for large files, handles network interruptions gracefully,\nand ensures secure file transfers to Shopify's storage infrastructure.\n\n> Note:\n> File size is required when uploading\n> [`VIDEO`](https://shopify.dev/docs/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#enums-VIDEO) or\n> [`MODEL_3D`](https://shopify.dev/docs/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#enums-MODEL_3D)\n> resources.\n\nAfter creating staged upload targets, complete the process by:\n\n1. **Uploading files**: Send your files to the returned [`url`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-StagedMediaUploadTarget.fields.url) using the provided\n[`parameters`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-StagedMediaUploadTarget.fields.parameters)\nfor authentication\n2. **Creating file assets**: Use the [`resourceUrl`](https://shopify.dev/docs/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-StagedMediaUploadTarget.fields.resourceUrl)\nas the `originalSource` in mutations such as:\n - [`fileCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/fileCreate):\n Creates file assets from staged uploads\n - [`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate):\n Updates products with new media from staged uploads\n\nLearn more about [uploading media to Shopify](https://shopify.dev/apps/online-store/media/products).")] + public StagedUploadsCreatePayload? stagedUploadsCreate { get; set; } + /// ///Activates the specified standard metafield definition from its template. /// ///Refer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions). /// - [Description("Activates the specified standard metafield definition from its template.\n\nRefer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions).")] - public StandardMetafieldDefinitionEnablePayload? standardMetafieldDefinitionEnable { get; set; } - + [Description("Activates the specified standard metafield definition from its template.\n\nRefer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions).")] + public StandardMetafieldDefinitionEnablePayload? standardMetafieldDefinitionEnable { get; set; } + /// ///Enables multiple specified standard metafield definitions from their templates as a single transaction. ///This API is idempotent so any previously-enabled standard definitions will not cause a failure. However, @@ -78662,30 +78662,30 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Refer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions). /// - [Description("Enables multiple specified standard metafield definitions from their templates as a single transaction.\nThis API is idempotent so any previously-enabled standard definitions will not cause a failure. However,\ninvalid inputs or other user errors will prevent all of the requested definitions from being enabled.\n\nRefer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions).")] - public StandardMetafieldDefinitionsEnablePayload? standardMetafieldDefinitionsEnable { get; set; } - + [Description("Enables multiple specified standard metafield definitions from their templates as a single transaction.\nThis API is idempotent so any previously-enabled standard definitions will not cause a failure. However,\ninvalid inputs or other user errors will prevent all of the requested definitions from being enabled.\n\nRefer to the [list of standard metafield definition templates](https://shopify.dev/apps/metafields/definitions/standard-definitions).")] + public StandardMetafieldDefinitionsEnablePayload? standardMetafieldDefinitionsEnable { get; set; } + /// ///Enables the specified standard metaobject definition from its template. /// - [Description("Enables the specified standard metaobject definition from its template.")] - public StandardMetaobjectDefinitionEnablePayload? standardMetaobjectDefinitionEnable { get; set; } - + [Description("Enables the specified standard metaobject definition from its template.")] + public StandardMetaobjectDefinitionEnablePayload? standardMetaobjectDefinitionEnable { get; set; } + /// ///Creates a credit transaction that increases the store credit account balance by the given amount. ///This operation will create an account if one does not already exist. ///A store credit account owner can hold multiple accounts each with a different currency. ///Use the most appropriate currency for the given store credit account owner. /// - [Description("Creates a credit transaction that increases the store credit account balance by the given amount.\nThis operation will create an account if one does not already exist.\nA store credit account owner can hold multiple accounts each with a different currency.\nUse the most appropriate currency for the given store credit account owner.")] - public StoreCreditAccountCreditPayload? storeCreditAccountCredit { get; set; } - + [Description("Creates a credit transaction that increases the store credit account balance by the given amount.\nThis operation will create an account if one does not already exist.\nA store credit account owner can hold multiple accounts each with a different currency.\nUse the most appropriate currency for the given store credit account owner.")] + public StoreCreditAccountCreditPayload? storeCreditAccountCredit { get; set; } + /// ///Creates a debit transaction that decreases the store credit account balance by the given amount. /// - [Description("Creates a debit transaction that decreases the store credit account balance by the given amount.")] - public StoreCreditAccountDebitPayload? storeCreditAccountDebit { get; set; } - + [Description("Creates a debit transaction that decreases the store credit account balance by the given amount.")] + public StoreCreditAccountDebitPayload? storeCreditAccountDebit { get; set; } + /// ///Creates a storefront access token for use with the [Storefront API](https://shopify.dev/docs/api/storefront). /// @@ -78693,391 +78693,391 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///[Get started with the Storefront API](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/getting-started). /// - [Description("Creates a storefront access token for use with the [Storefront API](https://shopify.dev/docs/api/storefront).\n\nAn app can have a maximum of 100 active storefront access tokens for each shop.\n\n[Get started with the Storefront API](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/getting-started).")] - public StorefrontAccessTokenCreatePayload? storefrontAccessTokenCreate { get; set; } - + [Description("Creates a storefront access token for use with the [Storefront API](https://shopify.dev/docs/api/storefront).\n\nAn app can have a maximum of 100 active storefront access tokens for each shop.\n\n[Get started with the Storefront API](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/getting-started).")] + public StorefrontAccessTokenCreatePayload? storefrontAccessTokenCreate { get; set; } + /// ///Deletes a storefront access token. /// - [Description("Deletes a storefront access token.")] - public StorefrontAccessTokenDeletePayload? storefrontAccessTokenDelete { get; set; } - + [Description("Deletes a storefront access token.")] + public StorefrontAccessTokenDeletePayload? storefrontAccessTokenDelete { get; set; } + /// ///Creates a new subscription billing attempt. For more information, refer to [Create a subscription contract](https://shopify.dev/docs/apps/selling-strategies/subscriptions/contracts/create#step-4-create-a-billing-attempt). /// - [Description("Creates a new subscription billing attempt. For more information, refer to [Create a subscription contract](https://shopify.dev/docs/apps/selling-strategies/subscriptions/contracts/create#step-4-create-a-billing-attempt).")] - public SubscriptionBillingAttemptCreatePayload? subscriptionBillingAttemptCreate { get; set; } - + [Description("Creates a new subscription billing attempt. For more information, refer to [Create a subscription contract](https://shopify.dev/docs/apps/selling-strategies/subscriptions/contracts/create#step-4-create-a-billing-attempt).")] + public SubscriptionBillingAttemptCreatePayload? subscriptionBillingAttemptCreate { get; set; } + /// ///Asynchronously queries and charges all subscription billing cycles whose [billingAttemptExpectedDate](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionBillingCycle#field-billingattemptexpecteddate) values fall within a specified date range and meet additional filtering criteria. The results of this action can be retrieved using the [subscriptionBillingCycleBulkResults](https://shopify.dev/api/admin-graphql/latest/queries/subscriptionBillingCycleBulkResults) query. /// - [Description("Asynchronously queries and charges all subscription billing cycles whose [billingAttemptExpectedDate](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionBillingCycle#field-billingattemptexpecteddate) values fall within a specified date range and meet additional filtering criteria. The results of this action can be retrieved using the [subscriptionBillingCycleBulkResults](https://shopify.dev/api/admin-graphql/latest/queries/subscriptionBillingCycleBulkResults) query.")] - public SubscriptionBillingCycleBulkChargePayload? subscriptionBillingCycleBulkCharge { get; set; } - + [Description("Asynchronously queries and charges all subscription billing cycles whose [billingAttemptExpectedDate](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionBillingCycle#field-billingattemptexpecteddate) values fall within a specified date range and meet additional filtering criteria. The results of this action can be retrieved using the [subscriptionBillingCycleBulkResults](https://shopify.dev/api/admin-graphql/latest/queries/subscriptionBillingCycleBulkResults) query.")] + public SubscriptionBillingCycleBulkChargePayload? subscriptionBillingCycleBulkCharge { get; set; } + /// ///Asynchronously queries all subscription billing cycles whose [billingAttemptExpectedDate](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionBillingCycle#field-billingattemptexpecteddate) values fall within a specified date range and meet additional filtering criteria. The results of this action can be retrieved using the [subscriptionBillingCycleBulkResults](https://shopify.dev/api/admin-graphql/latest/queries/subscriptionBillingCycleBulkResults) query. /// - [Description("Asynchronously queries all subscription billing cycles whose [billingAttemptExpectedDate](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionBillingCycle#field-billingattemptexpecteddate) values fall within a specified date range and meet additional filtering criteria. The results of this action can be retrieved using the [subscriptionBillingCycleBulkResults](https://shopify.dev/api/admin-graphql/latest/queries/subscriptionBillingCycleBulkResults) query.")] - public SubscriptionBillingCycleBulkSearchPayload? subscriptionBillingCycleBulkSearch { get; set; } - + [Description("Asynchronously queries all subscription billing cycles whose [billingAttemptExpectedDate](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionBillingCycle#field-billingattemptexpecteddate) values fall within a specified date range and meet additional filtering criteria. The results of this action can be retrieved using the [subscriptionBillingCycleBulkResults](https://shopify.dev/api/admin-graphql/latest/queries/subscriptionBillingCycleBulkResults) query.")] + public SubscriptionBillingCycleBulkSearchPayload? subscriptionBillingCycleBulkSearch { get; set; } + /// ///Creates a new subscription billing attempt for a specified billing cycle. This is the alternative mutation for [subscriptionBillingAttemptCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionBillingAttemptCreate). For more information, refer to [Create a subscription contract](https://shopify.dev/docs/apps/selling-strategies/subscriptions/contracts/create#step-4-create-a-billing-attempt). /// - [Description("Creates a new subscription billing attempt for a specified billing cycle. This is the alternative mutation for [subscriptionBillingAttemptCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionBillingAttemptCreate). For more information, refer to [Create a subscription contract](https://shopify.dev/docs/apps/selling-strategies/subscriptions/contracts/create#step-4-create-a-billing-attempt).")] - public SubscriptionBillingCycleChargePayload? subscriptionBillingCycleCharge { get; set; } - + [Description("Creates a new subscription billing attempt for a specified billing cycle. This is the alternative mutation for [subscriptionBillingAttemptCreate](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionBillingAttemptCreate). For more information, refer to [Create a subscription contract](https://shopify.dev/docs/apps/selling-strategies/subscriptions/contracts/create#step-4-create-a-billing-attempt).")] + public SubscriptionBillingCycleChargePayload? subscriptionBillingCycleCharge { get; set; } + /// ///Commits the updates of a Subscription Billing Cycle Contract draft. /// - [Description("Commits the updates of a Subscription Billing Cycle Contract draft.")] - public SubscriptionBillingCycleContractDraftCommitPayload? subscriptionBillingCycleContractDraftCommit { get; set; } - + [Description("Commits the updates of a Subscription Billing Cycle Contract draft.")] + public SubscriptionBillingCycleContractDraftCommitPayload? subscriptionBillingCycleContractDraftCommit { get; set; } + /// ///Concatenates a contract to a Subscription Draft. /// - [Description("Concatenates a contract to a Subscription Draft.")] - public SubscriptionBillingCycleContractDraftConcatenatePayload? subscriptionBillingCycleContractDraftConcatenate { get; set; } - + [Description("Concatenates a contract to a Subscription Draft.")] + public SubscriptionBillingCycleContractDraftConcatenatePayload? subscriptionBillingCycleContractDraftConcatenate { get; set; } + /// ///Edit the contents of a subscription contract for the specified billing cycle. /// - [Description("Edit the contents of a subscription contract for the specified billing cycle.")] - public SubscriptionBillingCycleContractEditPayload? subscriptionBillingCycleContractEdit { get; set; } - + [Description("Edit the contents of a subscription contract for the specified billing cycle.")] + public SubscriptionBillingCycleContractEditPayload? subscriptionBillingCycleContractEdit { get; set; } + /// ///Delete the schedule and contract edits of the selected subscription billing cycle. /// - [Description("Delete the schedule and contract edits of the selected subscription billing cycle.")] - public SubscriptionBillingCycleEditDeletePayload? subscriptionBillingCycleEditDelete { get; set; } - + [Description("Delete the schedule and contract edits of the selected subscription billing cycle.")] + public SubscriptionBillingCycleEditDeletePayload? subscriptionBillingCycleEditDelete { get; set; } + /// ///Delete the current and future schedule and contract edits of a list of subscription billing cycles. /// - [Description("Delete the current and future schedule and contract edits of a list of subscription billing cycles.")] - public SubscriptionBillingCycleEditsDeletePayload? subscriptionBillingCycleEditsDelete { get; set; } - + [Description("Delete the current and future schedule and contract edits of a list of subscription billing cycles.")] + public SubscriptionBillingCycleEditsDeletePayload? subscriptionBillingCycleEditsDelete { get; set; } + /// ///Modify the schedule of a specific billing cycle. /// - [Description("Modify the schedule of a specific billing cycle.")] - public SubscriptionBillingCycleScheduleEditPayload? subscriptionBillingCycleScheduleEdit { get; set; } - + [Description("Modify the schedule of a specific billing cycle.")] + public SubscriptionBillingCycleScheduleEditPayload? subscriptionBillingCycleScheduleEdit { get; set; } + /// ///Skips a Subscription Billing Cycle. /// - [Description("Skips a Subscription Billing Cycle.")] - public SubscriptionBillingCycleSkipPayload? subscriptionBillingCycleSkip { get; set; } - + [Description("Skips a Subscription Billing Cycle.")] + public SubscriptionBillingCycleSkipPayload? subscriptionBillingCycleSkip { get; set; } + /// ///Unskips a Subscription Billing Cycle. /// - [Description("Unskips a Subscription Billing Cycle.")] - public SubscriptionBillingCycleUnskipPayload? subscriptionBillingCycleUnskip { get; set; } - + [Description("Unskips a Subscription Billing Cycle.")] + public SubscriptionBillingCycleUnskipPayload? subscriptionBillingCycleUnskip { get; set; } + /// ///Activates a Subscription Contract. Contract status must be either active, paused, or failed. /// - [Description("Activates a Subscription Contract. Contract status must be either active, paused, or failed.")] - public SubscriptionContractActivatePayload? subscriptionContractActivate { get; set; } - + [Description("Activates a Subscription Contract. Contract status must be either active, paused, or failed.")] + public SubscriptionContractActivatePayload? subscriptionContractActivate { get; set; } + /// ///Creates a Subscription Contract. /// - [Description("Creates a Subscription Contract.")] - public SubscriptionContractAtomicCreatePayload? subscriptionContractAtomicCreate { get; set; } - + [Description("Creates a Subscription Contract.")] + public SubscriptionContractAtomicCreatePayload? subscriptionContractAtomicCreate { get; set; } + /// ///Cancels a Subscription Contract. /// - [Description("Cancels a Subscription Contract.")] - public SubscriptionContractCancelPayload? subscriptionContractCancel { get; set; } - + [Description("Cancels a Subscription Contract.")] + public SubscriptionContractCancelPayload? subscriptionContractCancel { get; set; } + /// ///Creates a Subscription Contract Draft. ///You can submit all the desired information for the draft using [Subscription Draft Input object](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionDraftInput). ///You can also update the draft using the [Subscription Contract Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionContractUpdate) mutation. ///The draft is not saved until you call the [Subscription Draft Commit](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionDraftCommit) mutation. /// - [Description("Creates a Subscription Contract Draft.\nYou can submit all the desired information for the draft using [Subscription Draft Input object](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionDraftInput).\nYou can also update the draft using the [Subscription Contract Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionContractUpdate) mutation.\nThe draft is not saved until you call the [Subscription Draft Commit](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionDraftCommit) mutation.")] - public SubscriptionContractCreatePayload? subscriptionContractCreate { get; set; } - + [Description("Creates a Subscription Contract Draft.\nYou can submit all the desired information for the draft using [Subscription Draft Input object](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/SubscriptionDraftInput).\nYou can also update the draft using the [Subscription Contract Update](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionContractUpdate) mutation.\nThe draft is not saved until you call the [Subscription Draft Commit](https://shopify.dev/docs/api/admin-graphql/latest/mutations/subscriptionDraftCommit) mutation.")] + public SubscriptionContractCreatePayload? subscriptionContractCreate { get; set; } + /// ///Expires a Subscription Contract. /// - [Description("Expires a Subscription Contract.")] - public SubscriptionContractExpirePayload? subscriptionContractExpire { get; set; } - + [Description("Expires a Subscription Contract.")] + public SubscriptionContractExpirePayload? subscriptionContractExpire { get; set; } + /// ///Fails a Subscription Contract. /// - [Description("Fails a Subscription Contract.")] - public SubscriptionContractFailPayload? subscriptionContractFail { get; set; } - + [Description("Fails a Subscription Contract.")] + public SubscriptionContractFailPayload? subscriptionContractFail { get; set; } + /// ///Pauses a Subscription Contract. /// - [Description("Pauses a Subscription Contract.")] - public SubscriptionContractPausePayload? subscriptionContractPause { get; set; } - + [Description("Pauses a Subscription Contract.")] + public SubscriptionContractPausePayload? subscriptionContractPause { get; set; } + /// ///Allows for the easy change of a Product in a Contract or a Product price change. /// - [Description("Allows for the easy change of a Product in a Contract or a Product price change.")] - public SubscriptionContractProductChangePayload? subscriptionContractProductChange { get; set; } - + [Description("Allows for the easy change of a Product in a Contract or a Product price change.")] + public SubscriptionContractProductChangePayload? subscriptionContractProductChange { get; set; } + /// ///Sets the next billing date of a Subscription Contract. This field is managed by the apps. /// Alternatively you can utilize our /// [Billing Cycles APIs](https://shopify.dev/docs/apps/selling-strategies/subscriptions/billing-cycles), /// which provide auto-computed billing dates and additional functionalities. /// - [Description("Sets the next billing date of a Subscription Contract. This field is managed by the apps.\n Alternatively you can utilize our\n [Billing Cycles APIs](https://shopify.dev/docs/apps/selling-strategies/subscriptions/billing-cycles),\n which provide auto-computed billing dates and additional functionalities.")] - public SubscriptionContractSetNextBillingDatePayload? subscriptionContractSetNextBillingDate { get; set; } - + [Description("Sets the next billing date of a Subscription Contract. This field is managed by the apps.\n Alternatively you can utilize our\n [Billing Cycles APIs](https://shopify.dev/docs/apps/selling-strategies/subscriptions/billing-cycles),\n which provide auto-computed billing dates and additional functionalities.")] + public SubscriptionContractSetNextBillingDatePayload? subscriptionContractSetNextBillingDate { get; set; } + /// ///The subscriptionContractUpdate mutation allows you to create a draft of an existing subscription contract. This [draft](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionDraft) can be reviewed and modified as needed. Once the draft is committed with [subscriptionDraftCommit](https://shopify.dev/api/admin-graphql/latest/mutations/subscriptionDraftCommit), the changes are applied to the original subscription contract. /// - [Description("The subscriptionContractUpdate mutation allows you to create a draft of an existing subscription contract. This [draft](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionDraft) can be reviewed and modified as needed. Once the draft is committed with [subscriptionDraftCommit](https://shopify.dev/api/admin-graphql/latest/mutations/subscriptionDraftCommit), the changes are applied to the original subscription contract.")] - public SubscriptionContractUpdatePayload? subscriptionContractUpdate { get; set; } - + [Description("The subscriptionContractUpdate mutation allows you to create a draft of an existing subscription contract. This [draft](https://shopify.dev/api/admin-graphql/latest/objects/SubscriptionDraft) can be reviewed and modified as needed. Once the draft is committed with [subscriptionDraftCommit](https://shopify.dev/api/admin-graphql/latest/mutations/subscriptionDraftCommit), the changes are applied to the original subscription contract.")] + public SubscriptionContractUpdatePayload? subscriptionContractUpdate { get; set; } + /// ///Commits the updates of a Subscription Contract draft. /// - [Description("Commits the updates of a Subscription Contract draft.")] - public SubscriptionDraftCommitPayload? subscriptionDraftCommit { get; set; } - + [Description("Commits the updates of a Subscription Contract draft.")] + public SubscriptionDraftCommitPayload? subscriptionDraftCommit { get; set; } + /// ///Adds a subscription discount to a subscription draft. /// - [Description("Adds a subscription discount to a subscription draft.")] - public SubscriptionDraftDiscountAddPayload? subscriptionDraftDiscountAdd { get; set; } - + [Description("Adds a subscription discount to a subscription draft.")] + public SubscriptionDraftDiscountAddPayload? subscriptionDraftDiscountAdd { get; set; } + /// ///Applies a code discount on the subscription draft. /// - [Description("Applies a code discount on the subscription draft.")] - public SubscriptionDraftDiscountCodeApplyPayload? subscriptionDraftDiscountCodeApply { get; set; } - + [Description("Applies a code discount on the subscription draft.")] + public SubscriptionDraftDiscountCodeApplyPayload? subscriptionDraftDiscountCodeApply { get; set; } + /// ///Removes a subscription discount from a subscription draft. /// - [Description("Removes a subscription discount from a subscription draft.")] - public SubscriptionDraftDiscountRemovePayload? subscriptionDraftDiscountRemove { get; set; } - + [Description("Removes a subscription discount from a subscription draft.")] + public SubscriptionDraftDiscountRemovePayload? subscriptionDraftDiscountRemove { get; set; } + /// ///Updates a subscription discount on a subscription draft. /// - [Description("Updates a subscription discount on a subscription draft.")] - public SubscriptionDraftDiscountUpdatePayload? subscriptionDraftDiscountUpdate { get; set; } - + [Description("Updates a subscription discount on a subscription draft.")] + public SubscriptionDraftDiscountUpdatePayload? subscriptionDraftDiscountUpdate { get; set; } + /// ///Adds a subscription free shipping discount to a subscription draft. /// - [Description("Adds a subscription free shipping discount to a subscription draft.")] - public SubscriptionDraftFreeShippingDiscountAddPayload? subscriptionDraftFreeShippingDiscountAdd { get; set; } - + [Description("Adds a subscription free shipping discount to a subscription draft.")] + public SubscriptionDraftFreeShippingDiscountAddPayload? subscriptionDraftFreeShippingDiscountAdd { get; set; } + /// ///Updates a subscription free shipping discount on a subscription draft. /// - [Description("Updates a subscription free shipping discount on a subscription draft.")] - public SubscriptionDraftFreeShippingDiscountUpdatePayload? subscriptionDraftFreeShippingDiscountUpdate { get; set; } - + [Description("Updates a subscription free shipping discount on a subscription draft.")] + public SubscriptionDraftFreeShippingDiscountUpdatePayload? subscriptionDraftFreeShippingDiscountUpdate { get; set; } + /// ///Adds a subscription line to a subscription draft. /// - [Description("Adds a subscription line to a subscription draft.")] - public SubscriptionDraftLineAddPayload? subscriptionDraftLineAdd { get; set; } - + [Description("Adds a subscription line to a subscription draft.")] + public SubscriptionDraftLineAddPayload? subscriptionDraftLineAdd { get; set; } + /// ///Removes a subscription line from a subscription draft. /// - [Description("Removes a subscription line from a subscription draft.")] - public SubscriptionDraftLineRemovePayload? subscriptionDraftLineRemove { get; set; } - + [Description("Removes a subscription line from a subscription draft.")] + public SubscriptionDraftLineRemovePayload? subscriptionDraftLineRemove { get; set; } + /// ///Updates a subscription line on a subscription draft. /// - [Description("Updates a subscription line on a subscription draft.")] - public SubscriptionDraftLineUpdatePayload? subscriptionDraftLineUpdate { get; set; } - + [Description("Updates a subscription line on a subscription draft.")] + public SubscriptionDraftLineUpdatePayload? subscriptionDraftLineUpdate { get; set; } + /// ///Updates a Subscription Draft. /// - [Description("Updates a Subscription Draft.")] - public SubscriptionDraftUpdatePayload? subscriptionDraftUpdate { get; set; } - + [Description("Updates a Subscription Draft.")] + public SubscriptionDraftUpdatePayload? subscriptionDraftUpdate { get; set; } + /// ///Add tags to an order, a draft order, a customer, a product, or an online store article. /// - [Description("Add tags to an order, a draft order, a customer, a product, or an online store article.")] - public TagsAddPayload? tagsAdd { get; set; } - + [Description("Add tags to an order, a draft order, a customer, a product, or an online store article.")] + public TagsAddPayload? tagsAdd { get; set; } + /// ///Remove tags from an order, a draft order, a customer, a product, or an online store article. /// - [Description("Remove tags from an order, a draft order, a customer, a product, or an online store article.")] - public TagsRemovePayload? tagsRemove { get; set; } - + [Description("Remove tags from an order, a draft order, a customer, a product, or an online store article.")] + public TagsRemovePayload? tagsRemove { get; set; } + /// ///Allows tax app configurations for tax partners. /// - [Description("Allows tax app configurations for tax partners.")] - public TaxAppConfigurePayload? taxAppConfigure { get; set; } - + [Description("Allows tax app configurations for tax partners.")] + public TaxAppConfigurePayload? taxAppConfigure { get; set; } + /// ///Creates a tax summary for a given order. ///If both an order ID and a start and end time are provided, the order ID will be used. /// - [Description("Creates a tax summary for a given order.\nIf both an order ID and a start and end time are provided, the order ID will be used.")] - public TaxSummaryCreatePayload? taxSummaryCreate { get; set; } - + [Description("Creates a tax summary for a given order.\nIf both an order ID and a start and end time are provided, the order ID will be used.")] + public TaxSummaryCreatePayload? taxSummaryCreate { get; set; } + /// ///Creates a theme using an external URL or for files that were previously uploaded using the ///[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate). ///These themes are added to the [Themes page](https://admin.shopify.com/themes) in Shopify admin. /// - [Description("Creates a theme using an external URL or for files that were previously uploaded using the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).\nThese themes are added to the [Themes page](https://admin.shopify.com/themes) in Shopify admin.")] - public ThemeCreatePayload? themeCreate { get; set; } - + [Description("Creates a theme using an external URL or for files that were previously uploaded using the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stageduploadscreate).\nThese themes are added to the [Themes page](https://admin.shopify.com/themes) in Shopify admin.")] + public ThemeCreatePayload? themeCreate { get; set; } + /// ///Deletes a theme. /// - [Description("Deletes a theme.")] - public ThemeDeletePayload? themeDelete { get; set; } - + [Description("Deletes a theme.")] + public ThemeDeletePayload? themeDelete { get; set; } + /// ///Duplicates a theme. /// - [Description("Duplicates a theme.")] - public ThemeDuplicatePayload? themeDuplicate { get; set; } - + [Description("Duplicates a theme.")] + public ThemeDuplicatePayload? themeDuplicate { get; set; } + /// ///Copy theme files. Copying to existing theme files will overwrite them. /// - [Description("Copy theme files. Copying to existing theme files will overwrite them.")] - public ThemeFilesCopyPayload? themeFilesCopy { get; set; } - + [Description("Copy theme files. Copying to existing theme files will overwrite them.")] + public ThemeFilesCopyPayload? themeFilesCopy { get; set; } + /// ///Deletes a theme's files. /// - [Description("Deletes a theme's files.")] - public ThemeFilesDeletePayload? themeFilesDelete { get; set; } - + [Description("Deletes a theme's files.")] + public ThemeFilesDeletePayload? themeFilesDelete { get; set; } + /// ///Create or update theme files. /// - [Description("Create or update theme files.")] - public ThemeFilesUpsertPayload? themeFilesUpsert { get; set; } - + [Description("Create or update theme files.")] + public ThemeFilesUpsertPayload? themeFilesUpsert { get; set; } + /// ///Publishes a theme. /// - [Description("Publishes a theme.")] - public ThemePublishPayload? themePublish { get; set; } - + [Description("Publishes a theme.")] + public ThemePublishPayload? themePublish { get; set; } + /// ///Updates a theme. /// - [Description("Updates a theme.")] - public ThemeUpdatePayload? themeUpdate { get; set; } - + [Description("Updates a theme.")] + public ThemeUpdatePayload? themeUpdate { get; set; } + /// ///Trigger the voiding of an uncaptured authorization transaction. /// - [Description("Trigger the voiding of an uncaptured authorization transaction.")] - public TransactionVoidPayload? transactionVoid { get; set; } - + [Description("Trigger the voiding of an uncaptured authorization transaction.")] + public TransactionVoidPayload? transactionVoid { get; set; } + /// ///Creates or updates translations. /// - [Description("Creates or updates translations.")] - public TranslationsRegisterPayload? translationsRegister { get; set; } - + [Description("Creates or updates translations.")] + public TranslationsRegisterPayload? translationsRegister { get; set; } + /// ///Deletes translations. /// - [Description("Deletes translations.")] - public TranslationsRemovePayload? translationsRemove { get; set; } - + [Description("Deletes translations.")] + public TranslationsRemovePayload? translationsRemove { get; set; } + /// ///Asynchronously delete [URL redirects](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) in bulk. /// - [Description("Asynchronously delete [URL redirects](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) in bulk.")] - public UrlRedirectBulkDeleteAllPayload? urlRedirectBulkDeleteAll { get; set; } - + [Description("Asynchronously delete [URL redirects](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) in bulk.")] + public UrlRedirectBulkDeleteAllPayload? urlRedirectBulkDeleteAll { get; set; } + /// ///Asynchronously delete [URLRedirect](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) ///objects in bulk by IDs. ///Learn more about [URLRedirect](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect) ///objects. /// - [Description("Asynchronously delete [URLRedirect](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) \nobjects in bulk by IDs.\nLearn more about [URLRedirect](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect) \nobjects.")] - public UrlRedirectBulkDeleteByIdsPayload? urlRedirectBulkDeleteByIds { get; set; } - + [Description("Asynchronously delete [URLRedirect](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) \nobjects in bulk by IDs.\nLearn more about [URLRedirect](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect) \nobjects.")] + public UrlRedirectBulkDeleteByIdsPayload? urlRedirectBulkDeleteByIds { get; set; } + /// ///Asynchronously delete redirects in bulk. /// - [Description("Asynchronously delete redirects in bulk.")] - public UrlRedirectBulkDeleteBySavedSearchPayload? urlRedirectBulkDeleteBySavedSearch { get; set; } - + [Description("Asynchronously delete redirects in bulk.")] + public UrlRedirectBulkDeleteBySavedSearchPayload? urlRedirectBulkDeleteBySavedSearch { get; set; } + /// ///Asynchronously delete redirects in bulk. /// - [Description("Asynchronously delete redirects in bulk.")] - public UrlRedirectBulkDeleteBySearchPayload? urlRedirectBulkDeleteBySearch { get; set; } - + [Description("Asynchronously delete redirects in bulk.")] + public UrlRedirectBulkDeleteBySearchPayload? urlRedirectBulkDeleteBySearch { get; set; } + /// ///Creates a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object. /// - [Description("Creates a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object.")] - public UrlRedirectCreatePayload? urlRedirectCreate { get; set; } - + [Description("Creates a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object.")] + public UrlRedirectCreatePayload? urlRedirectCreate { get; set; } + /// ///Deletes a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object. /// - [Description("Deletes a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object.")] - public UrlRedirectDeletePayload? urlRedirectDelete { get; set; } - + [Description("Deletes a [`UrlRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object.")] + public UrlRedirectDeletePayload? urlRedirectDelete { get; set; } + /// ///Creates a [`UrlRedirectImport`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirectImport) object. /// ///After creating the `UrlRedirectImport` object, the `UrlRedirectImport` request can be performed using the [`urlRedirectImportSubmit`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportSubmit) mutation. /// - [Description("Creates a [`UrlRedirectImport`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirectImport) object.\n\nAfter creating the `UrlRedirectImport` object, the `UrlRedirectImport` request can be performed using the [`urlRedirectImportSubmit`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportSubmit) mutation.")] - public UrlRedirectImportCreatePayload? urlRedirectImportCreate { get; set; } - + [Description("Creates a [`UrlRedirectImport`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirectImport) object.\n\nAfter creating the `UrlRedirectImport` object, the `UrlRedirectImport` request can be performed using the [`urlRedirectImportSubmit`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportSubmit) mutation.")] + public UrlRedirectImportCreatePayload? urlRedirectImportCreate { get; set; } + /// ///Submits a `UrlRedirectImport` request to be processed. /// ///The `UrlRedirectImport` request is first created with the [`urlRedirectImportCreate`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate) mutation. /// - [Description("Submits a `UrlRedirectImport` request to be processed.\n\nThe `UrlRedirectImport` request is first created with the [`urlRedirectImportCreate`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate) mutation.")] - public UrlRedirectImportSubmitPayload? urlRedirectImportSubmit { get; set; } - + [Description("Submits a `UrlRedirectImport` request to be processed.\n\nThe `UrlRedirectImport` request is first created with the [`urlRedirectImportCreate`](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate) mutation.")] + public UrlRedirectImportSubmitPayload? urlRedirectImportSubmit { get; set; } + /// ///Updates a URL redirect. /// - [Description("Updates a URL redirect.")] - public UrlRedirectUpdatePayload? urlRedirectUpdate { get; set; } - + [Description("Updates a URL redirect.")] + public UrlRedirectUpdatePayload? urlRedirectUpdate { get; set; } + /// ///Creates a validation. /// - [Description("Creates a validation.")] - public ValidationCreatePayload? validationCreate { get; set; } - + [Description("Creates a validation.")] + public ValidationCreatePayload? validationCreate { get; set; } + /// ///Deletes a validation. /// - [Description("Deletes a validation.")] - public ValidationDeletePayload? validationDelete { get; set; } - + [Description("Deletes a validation.")] + public ValidationDeletePayload? validationDelete { get; set; } + /// ///Update a validation. /// - [Description("Update a validation.")] - public ValidationUpdatePayload? validationUpdate { get; set; } - + [Description("Update a validation.")] + public ValidationUpdatePayload? validationUpdate { get; set; } + /// ///Activate a [web pixel extension](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels) ///by creating a web pixel record on the store where you installed your app. @@ -79087,15 +79087,15 @@ public class Mutation : GraphQLObject, IMutationRoot ///the schema that you defined, then the mutation fails. Learn how to ///define [web pixel settings](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels#step-2-define-your-web-pixel-settings). /// - [Description("Activate a [web pixel extension](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels)\nby creating a web pixel record on the store where you installed your app.\n\nWhen you run the `webPixelCreate` mutation, Shopify validates it\nagainst the settings definition in `shopify.extension.toml`. If the `settings` input field doesn't match\nthe schema that you defined, then the mutation fails. Learn how to\ndefine [web pixel settings](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels#step-2-define-your-web-pixel-settings).")] - public WebPixelCreatePayload? webPixelCreate { get; set; } - + [Description("Activate a [web pixel extension](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels)\nby creating a web pixel record on the store where you installed your app.\n\nWhen you run the `webPixelCreate` mutation, Shopify validates it\nagainst the settings definition in `shopify.extension.toml`. If the `settings` input field doesn't match\nthe schema that you defined, then the mutation fails. Learn how to\ndefine [web pixel settings](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels#step-2-define-your-web-pixel-settings).")] + public WebPixelCreatePayload? webPixelCreate { get; set; } + /// ///Deletes the web pixel shop settings. /// - [Description("Deletes the web pixel shop settings.")] - public WebPixelDeletePayload? webPixelDelete { get; set; } - + [Description("Deletes the web pixel shop settings.")] + public WebPixelDeletePayload? webPixelDelete { get; set; } + /// ///Activate a [web pixel extension](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels) ///by updating a web pixel record on the store where you installed your app. @@ -79105,27 +79105,27 @@ public class Mutation : GraphQLObject, IMutationRoot ///the schema that you defined, then the mutation fails. Learn how to ///define [web pixel settings](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels#step-2-define-your-web-pixel-settings). /// - [Description("Activate a [web pixel extension](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels)\nby updating a web pixel record on the store where you installed your app.\n\nWhen you run the `webPixelUpdate` mutation, Shopify validates it\nagainst the settings definition in `shopify.extension.toml`. If the `settings` input field doesn't match\nthe schema that you defined, then the mutation fails. Learn how to\ndefine [web pixel settings](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels#step-2-define-your-web-pixel-settings).")] - public WebPixelUpdatePayload? webPixelUpdate { get; set; } - + [Description("Activate a [web pixel extension](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels)\nby updating a web pixel record on the store where you installed your app.\n\nWhen you run the `webPixelUpdate` mutation, Shopify validates it\nagainst the settings definition in `shopify.extension.toml`. If the `settings` input field doesn't match\nthe schema that you defined, then the mutation fails. Learn how to\ndefine [web pixel settings](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels#step-2-define-your-web-pixel-settings).")] + public WebPixelUpdatePayload? webPixelUpdate { get; set; } + /// ///Creates a web presence. /// - [Description("Creates a web presence.")] - public WebPresenceCreatePayload? webPresenceCreate { get; set; } - + [Description("Creates a web presence.")] + public WebPresenceCreatePayload? webPresenceCreate { get; set; } + /// ///Deletes a web presence. /// - [Description("Deletes a web presence.")] - public WebPresenceDeletePayload? webPresenceDelete { get; set; } - + [Description("Deletes a web presence.")] + public WebPresenceDeletePayload? webPresenceDelete { get; set; } + /// ///Updates a web presence. /// - [Description("Updates a web presence.")] - public WebPresenceUpdatePayload? webPresenceUpdate { get; set; } - + [Description("Updates a web presence.")] + public WebPresenceUpdatePayload? webPresenceUpdate { get; set; } + /// ///Set up webhook subscriptions so your app gets notified instantly when things happen in a merchant's store. Instead of constantly checking for changes, webhooks push updates to your app the moment they occur, making integrations faster and more efficient. /// @@ -79147,9 +79147,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Set up webhook subscriptions so your app gets notified instantly when things happen in a merchant's store. Instead of constantly checking for changes, webhooks push updates to your app the moment they occur, making integrations faster and more efficient.\n\nFor example, an inventory management app might create subscriptions for `orders/paid` and `inventory_levels/update` events to automatically adjust stock levels and trigger fulfillment processes when customers complete purchases.\n\nUse `webhookSubscriptionCreate` to:\n- Set up real-time event notifications for your app\n- Configure specific topics like order creation, product updates, or customer changes\n- Define endpoint destinations (HTTPS, EventBridge, or Pub/Sub)\n- Filter events using Shopify search syntax to receive notifications only for relevant events\n- Configure field inclusion to control which data fields are included in webhook payloads\n\nThe mutation supports multiple endpoint types and advanced filtering options, allowing you to create precisely targeted webhook subscriptions that match your app's integration needs. The API version is inherited from the app configuration and cannot be specified per subscription. Filters use Shopify search syntax to determine which events trigger notifications.\n\nSuccessful creation returns the webhook subscription fields that you request in your query. The mutation validates topic availability, filter syntax, and endpoint configuration.\n\nLearn more about [creating webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - public WebhookSubscriptionCreatePayload? webhookSubscriptionCreate { get; set; } - + [Description("Set up webhook subscriptions so your app gets notified instantly when things happen in a merchant's store. Instead of constantly checking for changes, webhooks push updates to your app the moment they occur, making integrations faster and more efficient.\n\nFor example, an inventory management app might create subscriptions for `orders/paid` and `inventory_levels/update` events to automatically adjust stock levels and trigger fulfillment processes when customers complete purchases.\n\nUse `webhookSubscriptionCreate` to:\n- Set up real-time event notifications for your app\n- Configure specific topics like order creation, product updates, or customer changes\n- Define endpoint destinations (HTTPS, EventBridge, or Pub/Sub)\n- Filter events using Shopify search syntax to receive notifications only for relevant events\n- Configure field inclusion to control which data fields are included in webhook payloads\n\nThe mutation supports multiple endpoint types and advanced filtering options, allowing you to create precisely targeted webhook subscriptions that match your app's integration needs. The API version is inherited from the app configuration and cannot be specified per subscription. Filters use Shopify search syntax to determine which events trigger notifications.\n\nSuccessful creation returns the webhook subscription fields that you request in your query. The mutation validates topic availability, filter syntax, and endpoint configuration.\n\nLearn more about [creating webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + public WebhookSubscriptionCreatePayload? webhookSubscriptionCreate { get; set; } + /// ///Removes an existing webhook subscription, stopping all future event notifications for that subscription. This mutation provides a clean way to deactivate webhooks when they're no longer needed. /// @@ -79170,9 +79170,9 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Removes an existing webhook subscription, stopping all future event notifications for that subscription. This mutation provides a clean way to deactivate webhooks when they're no longer needed.\n\nFor example, when an app feature is disabled or when you need to change webhook configurations, you can delete\nthe old webhook subscription to prevent unnecessary event delivery and potential errors. Alternatively, for\nendpoint changes, you might consider updating the existing subscription instead of deleting and recreating it.\n\nUse `webhookSubscriptionDelete` to:\n- Clean up unused webhook subscriptions\n- Stop event delivery to deprecated endpoints\n- Remove subscriptions during app uninstallation\n- Reduce unnecessary resource usage by removing unused subscriptions\n\nThe mutation returns the deleted subscription's ID for confirmation when successful. Validation errors are included in the response if you request them in your query, as with all GraphQL mutations.\n\nLearn more about [managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - public WebhookSubscriptionDeletePayload? webhookSubscriptionDelete { get; set; } - + [Description("Removes an existing webhook subscription, stopping all future event notifications for that subscription. This mutation provides a clean way to deactivate webhooks when they're no longer needed.\n\nFor example, when an app feature is disabled or when you need to change webhook configurations, you can delete\nthe old webhook subscription to prevent unnecessary event delivery and potential errors. Alternatively, for\nendpoint changes, you might consider updating the existing subscription instead of deleting and recreating it.\n\nUse `webhookSubscriptionDelete` to:\n- Clean up unused webhook subscriptions\n- Stop event delivery to deprecated endpoints\n- Remove subscriptions during app uninstallation\n- Reduce unnecessary resource usage by removing unused subscriptions\n\nThe mutation returns the deleted subscription's ID for confirmation when successful. Validation errors are included in the response if you request them in your query, as with all GraphQL mutations.\n\nLearn more about [managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + public WebhookSubscriptionDeletePayload? webhookSubscriptionDelete { get; set; } + /// ///Updates an existing webhook subscription's configuration, allowing you to modify endpoints, topics, filters, and other subscription settings without recreating the entire subscription. This mutation provides flexible webhook management for evolving app requirements. /// @@ -79193,10 +79193,10 @@ public class Mutation : GraphQLObject, IMutationRoot /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Updates an existing webhook subscription's configuration, allowing you to modify endpoints, topics, filters, and other subscription settings without recreating the entire subscription. This mutation provides flexible webhook management for evolving app requirements.\n\nFor example, when migrating from HTTP endpoints to EventBridge, you can update the subscription's endpoint configuration while preserving the same topic subscriptions and filters, ensuring continuity of event delivery during infrastructure changes.\n\nUse `webhookSubscriptionUpdate` to:\n- Change webhook endpoint URLs or destination types\n- Modify event filtering criteria to refine event relevance\n- Adjust field inclusion settings to optimize payload sizes\n- Configure metafield namespace access for extended data\n\nThe mutation supports comprehensive configuration changes including endpoint type switching (HTTP to Pub/Sub, for instance), topic modifications, and advanced filtering updates. The API version is inherited from the app configuration and cannot be changed per subscription.\n\nUpdates are applied atomically, ensuring that webhook delivery continues uninterrupted during configuration changes. The response includes the updated subscription fields that you request in your query, and validation errors if requested.\n\nLearn more about [updating webhook configurations](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - public WebhookSubscriptionUpdatePayload? webhookSubscriptionUpdate { get; set; } - } - + [Description("Updates an existing webhook subscription's configuration, allowing you to modify endpoints, topics, filters, and other subscription settings without recreating the entire subscription. This mutation provides flexible webhook management for evolving app requirements.\n\nFor example, when migrating from HTTP endpoints to EventBridge, you can update the subscription's endpoint configuration while preserving the same topic subscriptions and filters, ensuring continuity of event delivery during infrastructure changes.\n\nUse `webhookSubscriptionUpdate` to:\n- Change webhook endpoint URLs or destination types\n- Modify event filtering criteria to refine event relevance\n- Adjust field inclusion settings to optimize payload sizes\n- Configure metafield namespace access for extended data\n\nThe mutation supports comprehensive configuration changes including endpoint type switching (HTTP to Pub/Sub, for instance), topic modifications, and advanced filtering updates. The API version is inherited from the app configuration and cannot be changed per subscription.\n\nUpdates are applied atomically, ensuring that webhook delivery continues uninterrupted during configuration changes. The response includes the updated subscription fields that you request in your query, and validation errors if requested.\n\nLearn more about [updating webhook configurations](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + public WebhookSubscriptionUpdatePayload? webhookSubscriptionUpdate { get; set; } + } + /// ///A signed upload parameter for uploading an asset to Shopify. /// @@ -79207,24 +79207,24 @@ public class Mutation : GraphQLObject, IMutationRoot ///and returned by the ///[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate). /// - [Description("A signed upload parameter for uploading an asset to Shopify.\n\nDeprecated in favor of\n[StagedUploadParameter](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadParameter),\nwhich is used in\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget)\nand returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] - public class MutationsStagedUploadTargetGenerateUploadParameter : GraphQLObject - { + [Description("A signed upload parameter for uploading an asset to Shopify.\n\nDeprecated in favor of\n[StagedUploadParameter](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadParameter),\nwhich is used in\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget)\nand returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] + public class MutationsStagedUploadTargetGenerateUploadParameter : GraphQLObject + { /// ///The upload parameter name. /// - [Description("The upload parameter name.")] - [NonNull] - public string? name { get; set; } - + [Description("The upload parameter name.")] + [NonNull] + public string? name { get; set; } + /// ///The upload parameter value. /// - [Description("The upload parameter value.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The upload parameter value.")] + [NonNull] + public string? value { get; set; } + } + /// ///A default cursor that you can use in queries to paginate your results. Each edge in a connection can ///return a cursor, which is a reference to the edge's position in the connection. You can use an edge's cursor as @@ -79233,1476 +79233,1476 @@ public class MutationsStagedUploadTargetGenerateUploadParameter : GraphQLObject< ///To learn more about using cursor-based pagination, refer to ///[Paginating results with GraphQL](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("A default cursor that you can use in queries to paginate your results. Each edge in a connection can\nreturn a cursor, which is a reference to the edge's position in the connection. You can use an edge's cursor as\nthe starting point to retrieve the nodes before or after it in a connection.\n\nTo learn more about using cursor-based pagination, refer to\n[Paginating results with GraphQL](https://shopify.dev/api/usage/pagination-graphql).")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AbandonedCheckout), typeDiscriminator: "AbandonedCheckout")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(CustomerAccountAppExtensionPage), typeDiscriminator: "CustomerAccountAppExtensionPage")] - [JsonDerivedType(typeof(CustomerAccountNativePage), typeDiscriminator: "CustomerAccountNativePage")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - public interface INavigable : IGraphQLObject - { - public AbandonedCheckout? AsAbandonedCheckout() => this as AbandonedCheckout; - public Article? AsArticle() => this as Article; - public Company? AsCompany() => this as Company; - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public CustomerAccountAppExtensionPage? AsCustomerAccountAppExtensionPage() => this as CustomerAccountAppExtensionPage; - public CustomerAccountNativePage? AsCustomerAccountNativePage() => this as CustomerAccountNativePage; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public Page? AsPage() => this as Page; - public Product? AsProduct() => this as Product; - public ProductVariant? AsProductVariant() => this as ProductVariant; + [Description("A default cursor that you can use in queries to paginate your results. Each edge in a connection can\nreturn a cursor, which is a reference to the edge's position in the connection. You can use an edge's cursor as\nthe starting point to retrieve the nodes before or after it in a connection.\n\nTo learn more about using cursor-based pagination, refer to\n[Paginating results with GraphQL](https://shopify.dev/api/usage/pagination-graphql).")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AbandonedCheckout), typeDiscriminator: "AbandonedCheckout")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(CustomerAccountAppExtensionPage), typeDiscriminator: "CustomerAccountAppExtensionPage")] + [JsonDerivedType(typeof(CustomerAccountNativePage), typeDiscriminator: "CustomerAccountNativePage")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + public interface INavigable : IGraphQLObject + { + public AbandonedCheckout? AsAbandonedCheckout() => this as AbandonedCheckout; + public Article? AsArticle() => this as Article; + public Company? AsCompany() => this as Company; + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public CustomerAccountAppExtensionPage? AsCustomerAccountAppExtensionPage() => this as CustomerAccountAppExtensionPage; + public CustomerAccountNativePage? AsCustomerAccountNativePage() => this as CustomerAccountNativePage; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public Page? AsPage() => this as Page; + public Product? AsProduct() => this as Product; + public ProductVariant? AsProductVariant() => this as ProductVariant; /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; } - } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; } + } + /// ///A navigation item, holding basic link attributes. /// - [Description("A navigation item, holding basic link attributes.")] - public class NavigationItem : GraphQLObject - { + [Description("A navigation item, holding basic link attributes.")] + public class NavigationItem : GraphQLObject + { /// ///The unique identifier of the navigation item. /// - [Description("The unique identifier of the navigation item.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique identifier of the navigation item.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the navigation item. /// - [Description("The name of the navigation item.")] - [NonNull] - public string? title { get; set; } - + [Description("The name of the navigation item.")] + [NonNull] + public string? title { get; set; } + /// ///The URL of the page that the navigation item links to. /// - [Description("The URL of the page that the navigation item links to.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL of the page that the navigation item links to.")] + [NonNull] + public string? url { get; set; } + } + /// ///Information on shop's eligibility to sell NFTs. /// - [Description("Information on shop's eligibility to sell NFTs.")] - public class NftSalesEligibilityResult : GraphQLObject - { + [Description("Information on shop's eligibility to sell NFTs.")] + public class NftSalesEligibilityResult : GraphQLObject + { /// ///Whether shop is eligible to gift token gated products e.g. NFTs. /// - [Description("Whether shop is eligible to gift token gated products e.g. NFTs.")] - [NonNull] - public bool? giftingApproved { get; set; } - + [Description("Whether shop is eligible to gift token gated products e.g. NFTs.")] + [NonNull] + public bool? giftingApproved { get; set; } + /// ///The date and time when the shop can reappy for attestation. /// - [Description("The date and time when the shop can reappy for attestation.")] - public DateTime? reapplyDate { get; set; } - + [Description("The date and time when the shop can reappy for attestation.")] + public DateTime? reapplyDate { get; set; } + /// ///Whether shop is eligible to sell token gated products e.g. NFTs. /// - [Description("Whether shop is eligible to sell token gated products e.g. NFTs.")] - [NonNull] - public bool? sellApproved { get; set; } - } - + [Description("Whether shop is eligible to sell token gated products e.g. NFTs.")] + [NonNull] + public bool? sellApproved { get; set; } + } + /// ///An object with an ID field to support global identification, in accordance with the ///[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface). ///This interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node) ///and [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries. /// - [Description("An object with an ID field to support global identification, in accordance with the\n[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).\nThis interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)\nand [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AbandonedCheckout), typeDiscriminator: "AbandonedCheckout")] - [JsonDerivedType(typeof(AbandonedCheckoutLineItem), typeDiscriminator: "AbandonedCheckoutLineItem")] - [JsonDerivedType(typeof(Abandonment), typeDiscriminator: "Abandonment")] - [JsonDerivedType(typeof(AddAllProductsOperation), typeDiscriminator: "AddAllProductsOperation")] - [JsonDerivedType(typeof(AdditionalFee), typeDiscriminator: "AdditionalFee")] - [JsonDerivedType(typeof(App), typeDiscriminator: "App")] - [JsonDerivedType(typeof(AppCatalog), typeDiscriminator: "AppCatalog")] - [JsonDerivedType(typeof(AppCredit), typeDiscriminator: "AppCredit")] - [JsonDerivedType(typeof(AppInstallation), typeDiscriminator: "AppInstallation")] - [JsonDerivedType(typeof(AppPurchaseOneTime), typeDiscriminator: "AppPurchaseOneTime")] - [JsonDerivedType(typeof(AppRevenueAttributionRecord), typeDiscriminator: "AppRevenueAttributionRecord")] - [JsonDerivedType(typeof(AppSubscription), typeDiscriminator: "AppSubscription")] - [JsonDerivedType(typeof(AppUsageRecord), typeDiscriminator: "AppUsageRecord")] - [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] - [JsonDerivedType(typeof(BasicEvent), typeDiscriminator: "BasicEvent")] - [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] - [JsonDerivedType(typeof(BulkOperation), typeDiscriminator: "BulkOperation")] - [JsonDerivedType(typeof(BusinessEntity), typeDiscriminator: "BusinessEntity")] - [JsonDerivedType(typeof(CalculatedOrder), typeDiscriminator: "CalculatedOrder")] - [JsonDerivedType(typeof(CartTransform), typeDiscriminator: "CartTransform")] - [JsonDerivedType(typeof(CashTrackingAdjustment), typeDiscriminator: "CashTrackingAdjustment")] - [JsonDerivedType(typeof(CashTrackingSession), typeDiscriminator: "CashTrackingSession")] - [JsonDerivedType(typeof(CatalogCsvOperation), typeDiscriminator: "CatalogCsvOperation")] - [JsonDerivedType(typeof(Channel), typeDiscriminator: "Channel")] - [JsonDerivedType(typeof(ChannelDefinition), typeDiscriminator: "ChannelDefinition")] - [JsonDerivedType(typeof(ChannelInformation), typeDiscriminator: "ChannelInformation")] - [JsonDerivedType(typeof(CheckoutProfile), typeDiscriminator: "CheckoutProfile")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(Comment), typeDiscriminator: "Comment")] - [JsonDerivedType(typeof(CommentEvent), typeDiscriminator: "CommentEvent")] - [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] - [JsonDerivedType(typeof(CompanyAddress), typeDiscriminator: "CompanyAddress")] - [JsonDerivedType(typeof(CompanyContact), typeDiscriminator: "CompanyContact")] - [JsonDerivedType(typeof(CompanyContactRole), typeDiscriminator: "CompanyContactRole")] - [JsonDerivedType(typeof(CompanyContactRoleAssignment), typeDiscriminator: "CompanyContactRoleAssignment")] - [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] - [JsonDerivedType(typeof(CompanyLocationCatalog), typeDiscriminator: "CompanyLocationCatalog")] - [JsonDerivedType(typeof(CompanyLocationStaffMemberAssignment), typeDiscriminator: "CompanyLocationStaffMemberAssignment")] - [JsonDerivedType(typeof(ConsentPolicy), typeDiscriminator: "ConsentPolicy")] - [JsonDerivedType(typeof(CurrencyExchangeAdjustment), typeDiscriminator: "CurrencyExchangeAdjustment")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(CustomerAccountAppExtensionPage), typeDiscriminator: "CustomerAccountAppExtensionPage")] - [JsonDerivedType(typeof(CustomerAccountNativePage), typeDiscriminator: "CustomerAccountNativePage")] - [JsonDerivedType(typeof(CustomerPaymentMethod), typeDiscriminator: "CustomerPaymentMethod")] - [JsonDerivedType(typeof(CustomerSegmentMembersQuery), typeDiscriminator: "CustomerSegmentMembersQuery")] - [JsonDerivedType(typeof(CustomerVisit), typeDiscriminator: "CustomerVisit")] - [JsonDerivedType(typeof(DeliveryCarrierService), typeDiscriminator: "DeliveryCarrierService")] - [JsonDerivedType(typeof(DeliveryCondition), typeDiscriminator: "DeliveryCondition")] - [JsonDerivedType(typeof(DeliveryCountry), typeDiscriminator: "DeliveryCountry")] - [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] - [JsonDerivedType(typeof(DeliveryLocationGroup), typeDiscriminator: "DeliveryLocationGroup")] - [JsonDerivedType(typeof(DeliveryMethod), typeDiscriminator: "DeliveryMethod")] - [JsonDerivedType(typeof(DeliveryMethodDefinition), typeDiscriminator: "DeliveryMethodDefinition")] - [JsonDerivedType(typeof(DeliveryParticipant), typeDiscriminator: "DeliveryParticipant")] - [JsonDerivedType(typeof(DeliveryProfile), typeDiscriminator: "DeliveryProfile")] - [JsonDerivedType(typeof(DeliveryProfileItem), typeDiscriminator: "DeliveryProfileItem")] - [JsonDerivedType(typeof(DeliveryPromiseParticipant), typeDiscriminator: "DeliveryPromiseParticipant")] - [JsonDerivedType(typeof(DeliveryPromiseProvider), typeDiscriminator: "DeliveryPromiseProvider")] - [JsonDerivedType(typeof(DeliveryProvince), typeDiscriminator: "DeliveryProvince")] - [JsonDerivedType(typeof(DeliveryRateDefinition), typeDiscriminator: "DeliveryRateDefinition")] - [JsonDerivedType(typeof(DeliveryZone), typeDiscriminator: "DeliveryZone")] - [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] - [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] - [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] - [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] - [JsonDerivedType(typeof(DiscountRedeemCodeBulkCreation), typeDiscriminator: "DiscountRedeemCodeBulkCreation")] - [JsonDerivedType(typeof(Domain), typeDiscriminator: "Domain")] - [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] - [JsonDerivedType(typeof(DraftOrderLineItem), typeDiscriminator: "DraftOrderLineItem")] - [JsonDerivedType(typeof(DraftOrderTag), typeDiscriminator: "DraftOrderTag")] - [JsonDerivedType(typeof(Duty), typeDiscriminator: "Duty")] - [JsonDerivedType(typeof(ExchangeLineItem), typeDiscriminator: "ExchangeLineItem")] - [JsonDerivedType(typeof(ExchangeV2), typeDiscriminator: "ExchangeV2")] - [JsonDerivedType(typeof(ExternalVideo), typeDiscriminator: "ExternalVideo")] - [JsonDerivedType(typeof(Fulfillment), typeDiscriminator: "Fulfillment")] - [JsonDerivedType(typeof(FulfillmentConstraintRule), typeDiscriminator: "FulfillmentConstraintRule")] - [JsonDerivedType(typeof(FulfillmentEvent), typeDiscriminator: "FulfillmentEvent")] - [JsonDerivedType(typeof(FulfillmentHold), typeDiscriminator: "FulfillmentHold")] - [JsonDerivedType(typeof(FulfillmentLineItem), typeDiscriminator: "FulfillmentLineItem")] - [JsonDerivedType(typeof(FulfillmentOrder), typeDiscriminator: "FulfillmentOrder")] - [JsonDerivedType(typeof(FulfillmentOrderDestination), typeDiscriminator: "FulfillmentOrderDestination")] - [JsonDerivedType(typeof(FulfillmentOrderLineItem), typeDiscriminator: "FulfillmentOrderLineItem")] - [JsonDerivedType(typeof(FulfillmentOrderMerchantRequest), typeDiscriminator: "FulfillmentOrderMerchantRequest")] - [JsonDerivedType(typeof(GenericFile), typeDiscriminator: "GenericFile")] - [JsonDerivedType(typeof(GiftCard), typeDiscriminator: "GiftCard")] - [JsonDerivedType(typeof(GiftCardCreditTransaction), typeDiscriminator: "GiftCardCreditTransaction")] - [JsonDerivedType(typeof(GiftCardDebitTransaction), typeDiscriminator: "GiftCardDebitTransaction")] - [JsonDerivedType(typeof(InventoryAdjustmentGroup), typeDiscriminator: "InventoryAdjustmentGroup")] - [JsonDerivedType(typeof(InventoryItem), typeDiscriminator: "InventoryItem")] - [JsonDerivedType(typeof(InventoryItemMeasurement), typeDiscriminator: "InventoryItemMeasurement")] - [JsonDerivedType(typeof(InventoryLevel), typeDiscriminator: "InventoryLevel")] - [JsonDerivedType(typeof(InventoryQuantity), typeDiscriminator: "InventoryQuantity")] - [JsonDerivedType(typeof(InventoryShipment), typeDiscriminator: "InventoryShipment")] - [JsonDerivedType(typeof(InventoryShipmentLineItem), typeDiscriminator: "InventoryShipmentLineItem")] - [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] - [JsonDerivedType(typeof(InventoryTransferLineItem), typeDiscriminator: "InventoryTransferLineItem")] - [JsonDerivedType(typeof(LineItem), typeDiscriminator: "LineItem")] - [JsonDerivedType(typeof(LineItemGroup), typeDiscriminator: "LineItemGroup")] - [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] - [JsonDerivedType(typeof(MailingAddress), typeDiscriminator: "MailingAddress")] - [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] - [JsonDerivedType(typeof(MarketCatalog), typeDiscriminator: "MarketCatalog")] - [JsonDerivedType(typeof(MarketRegionCountry), typeDiscriminator: "MarketRegionCountry")] - [JsonDerivedType(typeof(MarketRegionProvince), typeDiscriminator: "MarketRegionProvince")] - [JsonDerivedType(typeof(MarketWebPresence), typeDiscriminator: "MarketWebPresence")] - [JsonDerivedType(typeof(MarketingActivity), typeDiscriminator: "MarketingActivity")] - [JsonDerivedType(typeof(MarketingEvent), typeDiscriminator: "MarketingEvent")] - [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] - [JsonDerivedType(typeof(Menu), typeDiscriminator: "Menu")] - [JsonDerivedType(typeof(Metafield), typeDiscriminator: "Metafield")] - [JsonDerivedType(typeof(MetafieldDefinition), typeDiscriminator: "MetafieldDefinition")] - [JsonDerivedType(typeof(Metaobject), typeDiscriminator: "Metaobject")] - [JsonDerivedType(typeof(MetaobjectDefinition), typeDiscriminator: "MetaobjectDefinition")] - [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] - [JsonDerivedType(typeof(OnlineStoreTheme), typeDiscriminator: "OnlineStoreTheme")] - [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] - [JsonDerivedType(typeof(OrderAdjustment), typeDiscriminator: "OrderAdjustment")] - [JsonDerivedType(typeof(OrderCancelJobResult), typeDiscriminator: "OrderCancelJobResult")] - [JsonDerivedType(typeof(OrderDisputeSummary), typeDiscriminator: "OrderDisputeSummary")] - [JsonDerivedType(typeof(OrderEditSession), typeDiscriminator: "OrderEditSession")] - [JsonDerivedType(typeof(OrderTransaction), typeDiscriminator: "OrderTransaction")] - [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] - [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] - [JsonDerivedType(typeof(PaymentMandate), typeDiscriminator: "PaymentMandate")] - [JsonDerivedType(typeof(PaymentSchedule), typeDiscriminator: "PaymentSchedule")] - [JsonDerivedType(typeof(PaymentTerms), typeDiscriminator: "PaymentTerms")] - [JsonDerivedType(typeof(PaymentTermsTemplate), typeDiscriminator: "PaymentTermsTemplate")] - [JsonDerivedType(typeof(PointOfSaleDevice), typeDiscriminator: "PointOfSaleDevice")] - [JsonDerivedType(typeof(PriceList), typeDiscriminator: "PriceList")] - [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] - [JsonDerivedType(typeof(PriceRuleDiscountCode), typeDiscriminator: "PriceRuleDiscountCode")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - [JsonDerivedType(typeof(ProductBundleOperation), typeDiscriminator: "ProductBundleOperation")] - [JsonDerivedType(typeof(ProductDeleteOperation), typeDiscriminator: "ProductDeleteOperation")] - [JsonDerivedType(typeof(ProductDuplicateOperation), typeDiscriminator: "ProductDuplicateOperation")] - [JsonDerivedType(typeof(ProductFeed), typeDiscriminator: "ProductFeed")] - [JsonDerivedType(typeof(ProductOption), typeDiscriminator: "ProductOption")] - [JsonDerivedType(typeof(ProductOptionValue), typeDiscriminator: "ProductOptionValue")] - [JsonDerivedType(typeof(ProductSetOperation), typeDiscriminator: "ProductSetOperation")] - [JsonDerivedType(typeof(ProductTaxonomyNode), typeDiscriminator: "ProductTaxonomyNode")] - [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] - [JsonDerivedType(typeof(ProductVariantComponent), typeDiscriminator: "ProductVariantComponent")] - [JsonDerivedType(typeof(Publication), typeDiscriminator: "Publication")] - [JsonDerivedType(typeof(PublicationResourceOperation), typeDiscriminator: "PublicationResourceOperation")] - [JsonDerivedType(typeof(QuantityPriceBreak), typeDiscriminator: "QuantityPriceBreak")] - [JsonDerivedType(typeof(Refund), typeDiscriminator: "Refund")] - [JsonDerivedType(typeof(RefundShippingLine), typeDiscriminator: "RefundShippingLine")] - [JsonDerivedType(typeof(Return), typeDiscriminator: "Return")] - [JsonDerivedType(typeof(ReturnLineItem), typeDiscriminator: "ReturnLineItem")] - [JsonDerivedType(typeof(ReturnableFulfillment), typeDiscriminator: "ReturnableFulfillment")] - [JsonDerivedType(typeof(ReverseDelivery), typeDiscriminator: "ReverseDelivery")] - [JsonDerivedType(typeof(ReverseDeliveryLineItem), typeDiscriminator: "ReverseDeliveryLineItem")] - [JsonDerivedType(typeof(ReverseFulfillmentOrder), typeDiscriminator: "ReverseFulfillmentOrder")] - [JsonDerivedType(typeof(ReverseFulfillmentOrderDisposition), typeDiscriminator: "ReverseFulfillmentOrderDisposition")] - [JsonDerivedType(typeof(ReverseFulfillmentOrderLineItem), typeDiscriminator: "ReverseFulfillmentOrderLineItem")] - [JsonDerivedType(typeof(SaleAdditionalFee), typeDiscriminator: "SaleAdditionalFee")] - [JsonDerivedType(typeof(SavedSearch), typeDiscriminator: "SavedSearch")] - [JsonDerivedType(typeof(ScriptTag), typeDiscriminator: "ScriptTag")] - [JsonDerivedType(typeof(Segment), typeDiscriminator: "Segment")] - [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] - [JsonDerivedType(typeof(SellingPlanGroup), typeDiscriminator: "SellingPlanGroup")] - [JsonDerivedType(typeof(ServerPixel), typeDiscriminator: "ServerPixel")] - [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] - [JsonDerivedType(typeof(ShopAddress), typeDiscriminator: "ShopAddress")] - [JsonDerivedType(typeof(ShopPolicy), typeDiscriminator: "ShopPolicy")] - [JsonDerivedType(typeof(ShopifyPaymentsAccount), typeDiscriminator: "ShopifyPaymentsAccount")] - [JsonDerivedType(typeof(ShopifyPaymentsBalanceTransaction), typeDiscriminator: "ShopifyPaymentsBalanceTransaction")] - [JsonDerivedType(typeof(ShopifyPaymentsBankAccount), typeDiscriminator: "ShopifyPaymentsBankAccount")] - [JsonDerivedType(typeof(ShopifyPaymentsDispute), typeDiscriminator: "ShopifyPaymentsDispute")] - [JsonDerivedType(typeof(ShopifyPaymentsDisputeEvidence), typeDiscriminator: "ShopifyPaymentsDisputeEvidence")] - [JsonDerivedType(typeof(ShopifyPaymentsDisputeFileUpload), typeDiscriminator: "ShopifyPaymentsDisputeFileUpload")] - [JsonDerivedType(typeof(ShopifyPaymentsDisputeFulfillment), typeDiscriminator: "ShopifyPaymentsDisputeFulfillment")] - [JsonDerivedType(typeof(ShopifyPaymentsPayout), typeDiscriminator: "ShopifyPaymentsPayout")] - [JsonDerivedType(typeof(StaffMember), typeDiscriminator: "StaffMember")] - [JsonDerivedType(typeof(StandardMetafieldDefinitionTemplate), typeDiscriminator: "StandardMetafieldDefinitionTemplate")] - [JsonDerivedType(typeof(StoreCreditAccount), typeDiscriminator: "StoreCreditAccount")] - [JsonDerivedType(typeof(StoreCreditAccountCreditTransaction), typeDiscriminator: "StoreCreditAccountCreditTransaction")] - [JsonDerivedType(typeof(StoreCreditAccountDebitRevertTransaction), typeDiscriminator: "StoreCreditAccountDebitRevertTransaction")] - [JsonDerivedType(typeof(StoreCreditAccountDebitTransaction), typeDiscriminator: "StoreCreditAccountDebitTransaction")] - [JsonDerivedType(typeof(StorefrontAccessToken), typeDiscriminator: "StorefrontAccessToken")] - [JsonDerivedType(typeof(SubscriptionBillingAttempt), typeDiscriminator: "SubscriptionBillingAttempt")] - [JsonDerivedType(typeof(SubscriptionContract), typeDiscriminator: "SubscriptionContract")] - [JsonDerivedType(typeof(SubscriptionDraft), typeDiscriminator: "SubscriptionDraft")] - [JsonDerivedType(typeof(SubscriptionGateway), typeDiscriminator: "SubscriptionGateway")] - [JsonDerivedType(typeof(TaxonomyAttribute), typeDiscriminator: "TaxonomyAttribute")] - [JsonDerivedType(typeof(TaxonomyCategory), typeDiscriminator: "TaxonomyCategory")] - [JsonDerivedType(typeof(TaxonomyChoiceListAttribute), typeDiscriminator: "TaxonomyChoiceListAttribute")] - [JsonDerivedType(typeof(TaxonomyMeasurementAttribute), typeDiscriminator: "TaxonomyMeasurementAttribute")] - [JsonDerivedType(typeof(TaxonomyValue), typeDiscriminator: "TaxonomyValue")] - [JsonDerivedType(typeof(TenderTransaction), typeDiscriminator: "TenderTransaction")] - [JsonDerivedType(typeof(TransactionFee), typeDiscriminator: "TransactionFee")] - [JsonDerivedType(typeof(UnverifiedReturnLineItem), typeDiscriminator: "UnverifiedReturnLineItem")] - [JsonDerivedType(typeof(UrlRedirect), typeDiscriminator: "UrlRedirect")] - [JsonDerivedType(typeof(UrlRedirectImport), typeDiscriminator: "UrlRedirectImport")] - [JsonDerivedType(typeof(Validation), typeDiscriminator: "Validation")] - [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] - [JsonDerivedType(typeof(WebPixel), typeDiscriminator: "WebPixel")] - [JsonDerivedType(typeof(WebhookSubscription), typeDiscriminator: "WebhookSubscription")] - public interface INode : IGraphQLObject - { - public AbandonedCheckout? AsAbandonedCheckout() => this as AbandonedCheckout; - public AbandonedCheckoutLineItem? AsAbandonedCheckoutLineItem() => this as AbandonedCheckoutLineItem; - public Abandonment? AsAbandonment() => this as Abandonment; - public AddAllProductsOperation? AsAddAllProductsOperation() => this as AddAllProductsOperation; - public AdditionalFee? AsAdditionalFee() => this as AdditionalFee; - public App? AsApp() => this as App; - public AppCatalog? AsAppCatalog() => this as AppCatalog; - public AppCredit? AsAppCredit() => this as AppCredit; - public AppInstallation? AsAppInstallation() => this as AppInstallation; - public AppPurchaseOneTime? AsAppPurchaseOneTime() => this as AppPurchaseOneTime; - public AppRevenueAttributionRecord? AsAppRevenueAttributionRecord() => this as AppRevenueAttributionRecord; - public AppSubscription? AsAppSubscription() => this as AppSubscription; - public AppUsageRecord? AsAppUsageRecord() => this as AppUsageRecord; - public Article? AsArticle() => this as Article; - public BasicEvent? AsBasicEvent() => this as BasicEvent; - public Blog? AsBlog() => this as Blog; - public BulkOperation? AsBulkOperation() => this as BulkOperation; - public BusinessEntity? AsBusinessEntity() => this as BusinessEntity; - public CalculatedOrder? AsCalculatedOrder() => this as CalculatedOrder; - public CartTransform? AsCartTransform() => this as CartTransform; - public CashTrackingAdjustment? AsCashTrackingAdjustment() => this as CashTrackingAdjustment; - public CashTrackingSession? AsCashTrackingSession() => this as CashTrackingSession; - public CatalogCsvOperation? AsCatalogCsvOperation() => this as CatalogCsvOperation; - public Channel? AsChannel() => this as Channel; - public ChannelDefinition? AsChannelDefinition() => this as ChannelDefinition; - public ChannelInformation? AsChannelInformation() => this as ChannelInformation; - public CheckoutProfile? AsCheckoutProfile() => this as CheckoutProfile; - public Collection? AsCollection() => this as Collection; - public Comment? AsComment() => this as Comment; - public CommentEvent? AsCommentEvent() => this as CommentEvent; - public Company? AsCompany() => this as Company; - public CompanyAddress? AsCompanyAddress() => this as CompanyAddress; - public CompanyContact? AsCompanyContact() => this as CompanyContact; - public CompanyContactRole? AsCompanyContactRole() => this as CompanyContactRole; - public CompanyContactRoleAssignment? AsCompanyContactRoleAssignment() => this as CompanyContactRoleAssignment; - public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; - public CompanyLocationCatalog? AsCompanyLocationCatalog() => this as CompanyLocationCatalog; - public CompanyLocationStaffMemberAssignment? AsCompanyLocationStaffMemberAssignment() => this as CompanyLocationStaffMemberAssignment; - public ConsentPolicy? AsConsentPolicy() => this as ConsentPolicy; - public CurrencyExchangeAdjustment? AsCurrencyExchangeAdjustment() => this as CurrencyExchangeAdjustment; - public Customer? AsCustomer() => this as Customer; - public CustomerAccountAppExtensionPage? AsCustomerAccountAppExtensionPage() => this as CustomerAccountAppExtensionPage; - public CustomerAccountNativePage? AsCustomerAccountNativePage() => this as CustomerAccountNativePage; - public CustomerPaymentMethod? AsCustomerPaymentMethod() => this as CustomerPaymentMethod; - public CustomerSegmentMembersQuery? AsCustomerSegmentMembersQuery() => this as CustomerSegmentMembersQuery; - public CustomerVisit? AsCustomerVisit() => this as CustomerVisit; - public DeliveryCarrierService? AsDeliveryCarrierService() => this as DeliveryCarrierService; - public DeliveryCondition? AsDeliveryCondition() => this as DeliveryCondition; - public DeliveryCountry? AsDeliveryCountry() => this as DeliveryCountry; - public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; - public DeliveryLocationGroup? AsDeliveryLocationGroup() => this as DeliveryLocationGroup; - public DeliveryMethod? AsDeliveryMethod() => this as DeliveryMethod; - public DeliveryMethodDefinition? AsDeliveryMethodDefinition() => this as DeliveryMethodDefinition; - public DeliveryParticipant? AsDeliveryParticipant() => this as DeliveryParticipant; - public DeliveryProfile? AsDeliveryProfile() => this as DeliveryProfile; - public DeliveryProfileItem? AsDeliveryProfileItem() => this as DeliveryProfileItem; - public DeliveryPromiseParticipant? AsDeliveryPromiseParticipant() => this as DeliveryPromiseParticipant; - public DeliveryPromiseProvider? AsDeliveryPromiseProvider() => this as DeliveryPromiseProvider; - public DeliveryProvince? AsDeliveryProvince() => this as DeliveryProvince; - public DeliveryRateDefinition? AsDeliveryRateDefinition() => this as DeliveryRateDefinition; - public DeliveryZone? AsDeliveryZone() => this as DeliveryZone; - public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; - public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; - public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; - public DiscountNode? AsDiscountNode() => this as DiscountNode; - public DiscountRedeemCodeBulkCreation? AsDiscountRedeemCodeBulkCreation() => this as DiscountRedeemCodeBulkCreation; - public Domain? AsDomain() => this as Domain; - public DraftOrder? AsDraftOrder() => this as DraftOrder; - public DraftOrderLineItem? AsDraftOrderLineItem() => this as DraftOrderLineItem; - public DraftOrderTag? AsDraftOrderTag() => this as DraftOrderTag; - public Duty? AsDuty() => this as Duty; - public ExchangeLineItem? AsExchangeLineItem() => this as ExchangeLineItem; - public ExchangeV2? AsExchangeV2() => this as ExchangeV2; - public ExternalVideo? AsExternalVideo() => this as ExternalVideo; - public Fulfillment? AsFulfillment() => this as Fulfillment; - public FulfillmentConstraintRule? AsFulfillmentConstraintRule() => this as FulfillmentConstraintRule; - public FulfillmentEvent? AsFulfillmentEvent() => this as FulfillmentEvent; - public FulfillmentHold? AsFulfillmentHold() => this as FulfillmentHold; - public FulfillmentLineItem? AsFulfillmentLineItem() => this as FulfillmentLineItem; - public FulfillmentOrder? AsFulfillmentOrder() => this as FulfillmentOrder; - public FulfillmentOrderDestination? AsFulfillmentOrderDestination() => this as FulfillmentOrderDestination; - public FulfillmentOrderLineItem? AsFulfillmentOrderLineItem() => this as FulfillmentOrderLineItem; - public FulfillmentOrderMerchantRequest? AsFulfillmentOrderMerchantRequest() => this as FulfillmentOrderMerchantRequest; - public GenericFile? AsGenericFile() => this as GenericFile; - public GiftCard? AsGiftCard() => this as GiftCard; - public GiftCardCreditTransaction? AsGiftCardCreditTransaction() => this as GiftCardCreditTransaction; - public GiftCardDebitTransaction? AsGiftCardDebitTransaction() => this as GiftCardDebitTransaction; - public InventoryAdjustmentGroup? AsInventoryAdjustmentGroup() => this as InventoryAdjustmentGroup; - public InventoryItem? AsInventoryItem() => this as InventoryItem; - public InventoryItemMeasurement? AsInventoryItemMeasurement() => this as InventoryItemMeasurement; - public InventoryLevel? AsInventoryLevel() => this as InventoryLevel; - public InventoryQuantity? AsInventoryQuantity() => this as InventoryQuantity; - public InventoryShipment? AsInventoryShipment() => this as InventoryShipment; - public InventoryShipmentLineItem? AsInventoryShipmentLineItem() => this as InventoryShipmentLineItem; - public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; - public InventoryTransferLineItem? AsInventoryTransferLineItem() => this as InventoryTransferLineItem; - public LineItem? AsLineItem() => this as LineItem; - public LineItemGroup? AsLineItemGroup() => this as LineItemGroup; - public Location? AsLocation() => this as Location; - public MailingAddress? AsMailingAddress() => this as MailingAddress; - public Market? AsMarket() => this as Market; - public MarketCatalog? AsMarketCatalog() => this as MarketCatalog; - public MarketRegionCountry? AsMarketRegionCountry() => this as MarketRegionCountry; - public MarketRegionProvince? AsMarketRegionProvince() => this as MarketRegionProvince; - public MarketWebPresence? AsMarketWebPresence() => this as MarketWebPresence; - public MarketingActivity? AsMarketingActivity() => this as MarketingActivity; - public MarketingEvent? AsMarketingEvent() => this as MarketingEvent; - public MediaImage? AsMediaImage() => this as MediaImage; - public Menu? AsMenu() => this as Menu; - public Metafield? AsMetafield() => this as Metafield; - public MetafieldDefinition? AsMetafieldDefinition() => this as MetafieldDefinition; - public Metaobject? AsMetaobject() => this as Metaobject; - public MetaobjectDefinition? AsMetaobjectDefinition() => this as MetaobjectDefinition; - public Model3d? AsModel3d() => this as Model3d; - public OnlineStoreTheme? AsOnlineStoreTheme() => this as OnlineStoreTheme; - public Order? AsOrder() => this as Order; - public OrderAdjustment? AsOrderAdjustment() => this as OrderAdjustment; - public OrderCancelJobResult? AsOrderCancelJobResult() => this as OrderCancelJobResult; - public OrderDisputeSummary? AsOrderDisputeSummary() => this as OrderDisputeSummary; - public OrderEditSession? AsOrderEditSession() => this as OrderEditSession; - public OrderTransaction? AsOrderTransaction() => this as OrderTransaction; - public Page? AsPage() => this as Page; - public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; - public PaymentMandate? AsPaymentMandate() => this as PaymentMandate; - public PaymentSchedule? AsPaymentSchedule() => this as PaymentSchedule; - public PaymentTerms? AsPaymentTerms() => this as PaymentTerms; - public PaymentTermsTemplate? AsPaymentTermsTemplate() => this as PaymentTermsTemplate; - public PointOfSaleDevice? AsPointOfSaleDevice() => this as PointOfSaleDevice; - public PriceList? AsPriceList() => this as PriceList; - public PriceRule? AsPriceRule() => this as PriceRule; - public PriceRuleDiscountCode? AsPriceRuleDiscountCode() => this as PriceRuleDiscountCode; - public Product? AsProduct() => this as Product; - public ProductBundleOperation? AsProductBundleOperation() => this as ProductBundleOperation; - public ProductDeleteOperation? AsProductDeleteOperation() => this as ProductDeleteOperation; - public ProductDuplicateOperation? AsProductDuplicateOperation() => this as ProductDuplicateOperation; - public ProductFeed? AsProductFeed() => this as ProductFeed; - public ProductOption? AsProductOption() => this as ProductOption; - public ProductOptionValue? AsProductOptionValue() => this as ProductOptionValue; - public ProductSetOperation? AsProductSetOperation() => this as ProductSetOperation; - public ProductTaxonomyNode? AsProductTaxonomyNode() => this as ProductTaxonomyNode; - public ProductVariant? AsProductVariant() => this as ProductVariant; - public ProductVariantComponent? AsProductVariantComponent() => this as ProductVariantComponent; - public Publication? AsPublication() => this as Publication; - public PublicationResourceOperation? AsPublicationResourceOperation() => this as PublicationResourceOperation; - public QuantityPriceBreak? AsQuantityPriceBreak() => this as QuantityPriceBreak; - public Refund? AsRefund() => this as Refund; - public RefundShippingLine? AsRefundShippingLine() => this as RefundShippingLine; - public Return? AsReturn() => this as Return; - public ReturnLineItem? AsReturnLineItem() => this as ReturnLineItem; - public ReturnableFulfillment? AsReturnableFulfillment() => this as ReturnableFulfillment; - public ReverseDelivery? AsReverseDelivery() => this as ReverseDelivery; - public ReverseDeliveryLineItem? AsReverseDeliveryLineItem() => this as ReverseDeliveryLineItem; - public ReverseFulfillmentOrder? AsReverseFulfillmentOrder() => this as ReverseFulfillmentOrder; - public ReverseFulfillmentOrderDisposition? AsReverseFulfillmentOrderDisposition() => this as ReverseFulfillmentOrderDisposition; - public ReverseFulfillmentOrderLineItem? AsReverseFulfillmentOrderLineItem() => this as ReverseFulfillmentOrderLineItem; - public SaleAdditionalFee? AsSaleAdditionalFee() => this as SaleAdditionalFee; - public SavedSearch? AsSavedSearch() => this as SavedSearch; - public ScriptTag? AsScriptTag() => this as ScriptTag; - public Segment? AsSegment() => this as Segment; - public SellingPlan? AsSellingPlan() => this as SellingPlan; - public SellingPlanGroup? AsSellingPlanGroup() => this as SellingPlanGroup; - public ServerPixel? AsServerPixel() => this as ServerPixel; - public Shop? AsShop() => this as Shop; - public ShopAddress? AsShopAddress() => this as ShopAddress; - public ShopPolicy? AsShopPolicy() => this as ShopPolicy; - public ShopifyPaymentsAccount? AsShopifyPaymentsAccount() => this as ShopifyPaymentsAccount; - public ShopifyPaymentsBalanceTransaction? AsShopifyPaymentsBalanceTransaction() => this as ShopifyPaymentsBalanceTransaction; - public ShopifyPaymentsBankAccount? AsShopifyPaymentsBankAccount() => this as ShopifyPaymentsBankAccount; - public ShopifyPaymentsDispute? AsShopifyPaymentsDispute() => this as ShopifyPaymentsDispute; - public ShopifyPaymentsDisputeEvidence? AsShopifyPaymentsDisputeEvidence() => this as ShopifyPaymentsDisputeEvidence; - public ShopifyPaymentsDisputeFileUpload? AsShopifyPaymentsDisputeFileUpload() => this as ShopifyPaymentsDisputeFileUpload; - public ShopifyPaymentsDisputeFulfillment? AsShopifyPaymentsDisputeFulfillment() => this as ShopifyPaymentsDisputeFulfillment; - public ShopifyPaymentsPayout? AsShopifyPaymentsPayout() => this as ShopifyPaymentsPayout; - public StaffMember? AsStaffMember() => this as StaffMember; - public StandardMetafieldDefinitionTemplate? AsStandardMetafieldDefinitionTemplate() => this as StandardMetafieldDefinitionTemplate; - public StoreCreditAccount? AsStoreCreditAccount() => this as StoreCreditAccount; - public StoreCreditAccountCreditTransaction? AsStoreCreditAccountCreditTransaction() => this as StoreCreditAccountCreditTransaction; - public StoreCreditAccountDebitRevertTransaction? AsStoreCreditAccountDebitRevertTransaction() => this as StoreCreditAccountDebitRevertTransaction; - public StoreCreditAccountDebitTransaction? AsStoreCreditAccountDebitTransaction() => this as StoreCreditAccountDebitTransaction; - public StorefrontAccessToken? AsStorefrontAccessToken() => this as StorefrontAccessToken; - public SubscriptionBillingAttempt? AsSubscriptionBillingAttempt() => this as SubscriptionBillingAttempt; - public SubscriptionContract? AsSubscriptionContract() => this as SubscriptionContract; - public SubscriptionDraft? AsSubscriptionDraft() => this as SubscriptionDraft; - public SubscriptionGateway? AsSubscriptionGateway() => this as SubscriptionGateway; - public TaxonomyAttribute? AsTaxonomyAttribute() => this as TaxonomyAttribute; - public TaxonomyCategory? AsTaxonomyCategory() => this as TaxonomyCategory; - public TaxonomyChoiceListAttribute? AsTaxonomyChoiceListAttribute() => this as TaxonomyChoiceListAttribute; - public TaxonomyMeasurementAttribute? AsTaxonomyMeasurementAttribute() => this as TaxonomyMeasurementAttribute; - public TaxonomyValue? AsTaxonomyValue() => this as TaxonomyValue; - public TenderTransaction? AsTenderTransaction() => this as TenderTransaction; - public TransactionFee? AsTransactionFee() => this as TransactionFee; - public UnverifiedReturnLineItem? AsUnverifiedReturnLineItem() => this as UnverifiedReturnLineItem; - public UrlRedirect? AsUrlRedirect() => this as UrlRedirect; - public UrlRedirectImport? AsUrlRedirectImport() => this as UrlRedirectImport; - public Validation? AsValidation() => this as Validation; - public Video? AsVideo() => this as Video; - public WebPixel? AsWebPixel() => this as WebPixel; - public WebhookSubscription? AsWebhookSubscription() => this as WebhookSubscription; + [Description("An object with an ID field to support global identification, in accordance with the\n[Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).\nThis interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)\nand [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AbandonedCheckout), typeDiscriminator: "AbandonedCheckout")] + [JsonDerivedType(typeof(AbandonedCheckoutLineItem), typeDiscriminator: "AbandonedCheckoutLineItem")] + [JsonDerivedType(typeof(Abandonment), typeDiscriminator: "Abandonment")] + [JsonDerivedType(typeof(AddAllProductsOperation), typeDiscriminator: "AddAllProductsOperation")] + [JsonDerivedType(typeof(AdditionalFee), typeDiscriminator: "AdditionalFee")] + [JsonDerivedType(typeof(App), typeDiscriminator: "App")] + [JsonDerivedType(typeof(AppCatalog), typeDiscriminator: "AppCatalog")] + [JsonDerivedType(typeof(AppCredit), typeDiscriminator: "AppCredit")] + [JsonDerivedType(typeof(AppInstallation), typeDiscriminator: "AppInstallation")] + [JsonDerivedType(typeof(AppPurchaseOneTime), typeDiscriminator: "AppPurchaseOneTime")] + [JsonDerivedType(typeof(AppRevenueAttributionRecord), typeDiscriminator: "AppRevenueAttributionRecord")] + [JsonDerivedType(typeof(AppSubscription), typeDiscriminator: "AppSubscription")] + [JsonDerivedType(typeof(AppUsageRecord), typeDiscriminator: "AppUsageRecord")] + [JsonDerivedType(typeof(Article), typeDiscriminator: "Article")] + [JsonDerivedType(typeof(BasicEvent), typeDiscriminator: "BasicEvent")] + [JsonDerivedType(typeof(Blog), typeDiscriminator: "Blog")] + [JsonDerivedType(typeof(BulkOperation), typeDiscriminator: "BulkOperation")] + [JsonDerivedType(typeof(BusinessEntity), typeDiscriminator: "BusinessEntity")] + [JsonDerivedType(typeof(CalculatedOrder), typeDiscriminator: "CalculatedOrder")] + [JsonDerivedType(typeof(CartTransform), typeDiscriminator: "CartTransform")] + [JsonDerivedType(typeof(CashTrackingAdjustment), typeDiscriminator: "CashTrackingAdjustment")] + [JsonDerivedType(typeof(CashTrackingSession), typeDiscriminator: "CashTrackingSession")] + [JsonDerivedType(typeof(CatalogCsvOperation), typeDiscriminator: "CatalogCsvOperation")] + [JsonDerivedType(typeof(Channel), typeDiscriminator: "Channel")] + [JsonDerivedType(typeof(ChannelDefinition), typeDiscriminator: "ChannelDefinition")] + [JsonDerivedType(typeof(ChannelInformation), typeDiscriminator: "ChannelInformation")] + [JsonDerivedType(typeof(CheckoutProfile), typeDiscriminator: "CheckoutProfile")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(Comment), typeDiscriminator: "Comment")] + [JsonDerivedType(typeof(CommentEvent), typeDiscriminator: "CommentEvent")] + [JsonDerivedType(typeof(Company), typeDiscriminator: "Company")] + [JsonDerivedType(typeof(CompanyAddress), typeDiscriminator: "CompanyAddress")] + [JsonDerivedType(typeof(CompanyContact), typeDiscriminator: "CompanyContact")] + [JsonDerivedType(typeof(CompanyContactRole), typeDiscriminator: "CompanyContactRole")] + [JsonDerivedType(typeof(CompanyContactRoleAssignment), typeDiscriminator: "CompanyContactRoleAssignment")] + [JsonDerivedType(typeof(CompanyLocation), typeDiscriminator: "CompanyLocation")] + [JsonDerivedType(typeof(CompanyLocationCatalog), typeDiscriminator: "CompanyLocationCatalog")] + [JsonDerivedType(typeof(CompanyLocationStaffMemberAssignment), typeDiscriminator: "CompanyLocationStaffMemberAssignment")] + [JsonDerivedType(typeof(ConsentPolicy), typeDiscriminator: "ConsentPolicy")] + [JsonDerivedType(typeof(CurrencyExchangeAdjustment), typeDiscriminator: "CurrencyExchangeAdjustment")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(CustomerAccountAppExtensionPage), typeDiscriminator: "CustomerAccountAppExtensionPage")] + [JsonDerivedType(typeof(CustomerAccountNativePage), typeDiscriminator: "CustomerAccountNativePage")] + [JsonDerivedType(typeof(CustomerPaymentMethod), typeDiscriminator: "CustomerPaymentMethod")] + [JsonDerivedType(typeof(CustomerSegmentMembersQuery), typeDiscriminator: "CustomerSegmentMembersQuery")] + [JsonDerivedType(typeof(CustomerVisit), typeDiscriminator: "CustomerVisit")] + [JsonDerivedType(typeof(DeliveryCarrierService), typeDiscriminator: "DeliveryCarrierService")] + [JsonDerivedType(typeof(DeliveryCondition), typeDiscriminator: "DeliveryCondition")] + [JsonDerivedType(typeof(DeliveryCountry), typeDiscriminator: "DeliveryCountry")] + [JsonDerivedType(typeof(DeliveryCustomization), typeDiscriminator: "DeliveryCustomization")] + [JsonDerivedType(typeof(DeliveryLocationGroup), typeDiscriminator: "DeliveryLocationGroup")] + [JsonDerivedType(typeof(DeliveryMethod), typeDiscriminator: "DeliveryMethod")] + [JsonDerivedType(typeof(DeliveryMethodDefinition), typeDiscriminator: "DeliveryMethodDefinition")] + [JsonDerivedType(typeof(DeliveryParticipant), typeDiscriminator: "DeliveryParticipant")] + [JsonDerivedType(typeof(DeliveryProfile), typeDiscriminator: "DeliveryProfile")] + [JsonDerivedType(typeof(DeliveryProfileItem), typeDiscriminator: "DeliveryProfileItem")] + [JsonDerivedType(typeof(DeliveryPromiseParticipant), typeDiscriminator: "DeliveryPromiseParticipant")] + [JsonDerivedType(typeof(DeliveryPromiseProvider), typeDiscriminator: "DeliveryPromiseProvider")] + [JsonDerivedType(typeof(DeliveryProvince), typeDiscriminator: "DeliveryProvince")] + [JsonDerivedType(typeof(DeliveryRateDefinition), typeDiscriminator: "DeliveryRateDefinition")] + [JsonDerivedType(typeof(DeliveryZone), typeDiscriminator: "DeliveryZone")] + [JsonDerivedType(typeof(DiscountAutomaticBxgy), typeDiscriminator: "DiscountAutomaticBxgy")] + [JsonDerivedType(typeof(DiscountAutomaticNode), typeDiscriminator: "DiscountAutomaticNode")] + [JsonDerivedType(typeof(DiscountCodeNode), typeDiscriminator: "DiscountCodeNode")] + [JsonDerivedType(typeof(DiscountNode), typeDiscriminator: "DiscountNode")] + [JsonDerivedType(typeof(DiscountRedeemCodeBulkCreation), typeDiscriminator: "DiscountRedeemCodeBulkCreation")] + [JsonDerivedType(typeof(Domain), typeDiscriminator: "Domain")] + [JsonDerivedType(typeof(DraftOrder), typeDiscriminator: "DraftOrder")] + [JsonDerivedType(typeof(DraftOrderLineItem), typeDiscriminator: "DraftOrderLineItem")] + [JsonDerivedType(typeof(DraftOrderTag), typeDiscriminator: "DraftOrderTag")] + [JsonDerivedType(typeof(Duty), typeDiscriminator: "Duty")] + [JsonDerivedType(typeof(ExchangeLineItem), typeDiscriminator: "ExchangeLineItem")] + [JsonDerivedType(typeof(ExchangeV2), typeDiscriminator: "ExchangeV2")] + [JsonDerivedType(typeof(ExternalVideo), typeDiscriminator: "ExternalVideo")] + [JsonDerivedType(typeof(Fulfillment), typeDiscriminator: "Fulfillment")] + [JsonDerivedType(typeof(FulfillmentConstraintRule), typeDiscriminator: "FulfillmentConstraintRule")] + [JsonDerivedType(typeof(FulfillmentEvent), typeDiscriminator: "FulfillmentEvent")] + [JsonDerivedType(typeof(FulfillmentHold), typeDiscriminator: "FulfillmentHold")] + [JsonDerivedType(typeof(FulfillmentLineItem), typeDiscriminator: "FulfillmentLineItem")] + [JsonDerivedType(typeof(FulfillmentOrder), typeDiscriminator: "FulfillmentOrder")] + [JsonDerivedType(typeof(FulfillmentOrderDestination), typeDiscriminator: "FulfillmentOrderDestination")] + [JsonDerivedType(typeof(FulfillmentOrderLineItem), typeDiscriminator: "FulfillmentOrderLineItem")] + [JsonDerivedType(typeof(FulfillmentOrderMerchantRequest), typeDiscriminator: "FulfillmentOrderMerchantRequest")] + [JsonDerivedType(typeof(GenericFile), typeDiscriminator: "GenericFile")] + [JsonDerivedType(typeof(GiftCard), typeDiscriminator: "GiftCard")] + [JsonDerivedType(typeof(GiftCardCreditTransaction), typeDiscriminator: "GiftCardCreditTransaction")] + [JsonDerivedType(typeof(GiftCardDebitTransaction), typeDiscriminator: "GiftCardDebitTransaction")] + [JsonDerivedType(typeof(InventoryAdjustmentGroup), typeDiscriminator: "InventoryAdjustmentGroup")] + [JsonDerivedType(typeof(InventoryItem), typeDiscriminator: "InventoryItem")] + [JsonDerivedType(typeof(InventoryItemMeasurement), typeDiscriminator: "InventoryItemMeasurement")] + [JsonDerivedType(typeof(InventoryLevel), typeDiscriminator: "InventoryLevel")] + [JsonDerivedType(typeof(InventoryQuantity), typeDiscriminator: "InventoryQuantity")] + [JsonDerivedType(typeof(InventoryShipment), typeDiscriminator: "InventoryShipment")] + [JsonDerivedType(typeof(InventoryShipmentLineItem), typeDiscriminator: "InventoryShipmentLineItem")] + [JsonDerivedType(typeof(InventoryTransfer), typeDiscriminator: "InventoryTransfer")] + [JsonDerivedType(typeof(InventoryTransferLineItem), typeDiscriminator: "InventoryTransferLineItem")] + [JsonDerivedType(typeof(LineItem), typeDiscriminator: "LineItem")] + [JsonDerivedType(typeof(LineItemGroup), typeDiscriminator: "LineItemGroup")] + [JsonDerivedType(typeof(Location), typeDiscriminator: "Location")] + [JsonDerivedType(typeof(MailingAddress), typeDiscriminator: "MailingAddress")] + [JsonDerivedType(typeof(Market), typeDiscriminator: "Market")] + [JsonDerivedType(typeof(MarketCatalog), typeDiscriminator: "MarketCatalog")] + [JsonDerivedType(typeof(MarketRegionCountry), typeDiscriminator: "MarketRegionCountry")] + [JsonDerivedType(typeof(MarketRegionProvince), typeDiscriminator: "MarketRegionProvince")] + [JsonDerivedType(typeof(MarketWebPresence), typeDiscriminator: "MarketWebPresence")] + [JsonDerivedType(typeof(MarketingActivity), typeDiscriminator: "MarketingActivity")] + [JsonDerivedType(typeof(MarketingEvent), typeDiscriminator: "MarketingEvent")] + [JsonDerivedType(typeof(MediaImage), typeDiscriminator: "MediaImage")] + [JsonDerivedType(typeof(Menu), typeDiscriminator: "Menu")] + [JsonDerivedType(typeof(Metafield), typeDiscriminator: "Metafield")] + [JsonDerivedType(typeof(MetafieldDefinition), typeDiscriminator: "MetafieldDefinition")] + [JsonDerivedType(typeof(Metaobject), typeDiscriminator: "Metaobject")] + [JsonDerivedType(typeof(MetaobjectDefinition), typeDiscriminator: "MetaobjectDefinition")] + [JsonDerivedType(typeof(Model3d), typeDiscriminator: "Model3d")] + [JsonDerivedType(typeof(OnlineStoreTheme), typeDiscriminator: "OnlineStoreTheme")] + [JsonDerivedType(typeof(Order), typeDiscriminator: "Order")] + [JsonDerivedType(typeof(OrderAdjustment), typeDiscriminator: "OrderAdjustment")] + [JsonDerivedType(typeof(OrderCancelJobResult), typeDiscriminator: "OrderCancelJobResult")] + [JsonDerivedType(typeof(OrderDisputeSummary), typeDiscriminator: "OrderDisputeSummary")] + [JsonDerivedType(typeof(OrderEditSession), typeDiscriminator: "OrderEditSession")] + [JsonDerivedType(typeof(OrderTransaction), typeDiscriminator: "OrderTransaction")] + [JsonDerivedType(typeof(Page), typeDiscriminator: "Page")] + [JsonDerivedType(typeof(PaymentCustomization), typeDiscriminator: "PaymentCustomization")] + [JsonDerivedType(typeof(PaymentMandate), typeDiscriminator: "PaymentMandate")] + [JsonDerivedType(typeof(PaymentSchedule), typeDiscriminator: "PaymentSchedule")] + [JsonDerivedType(typeof(PaymentTerms), typeDiscriminator: "PaymentTerms")] + [JsonDerivedType(typeof(PaymentTermsTemplate), typeDiscriminator: "PaymentTermsTemplate")] + [JsonDerivedType(typeof(PointOfSaleDevice), typeDiscriminator: "PointOfSaleDevice")] + [JsonDerivedType(typeof(PriceList), typeDiscriminator: "PriceList")] + [JsonDerivedType(typeof(PriceRule), typeDiscriminator: "PriceRule")] + [JsonDerivedType(typeof(PriceRuleDiscountCode), typeDiscriminator: "PriceRuleDiscountCode")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + [JsonDerivedType(typeof(ProductBundleOperation), typeDiscriminator: "ProductBundleOperation")] + [JsonDerivedType(typeof(ProductDeleteOperation), typeDiscriminator: "ProductDeleteOperation")] + [JsonDerivedType(typeof(ProductDuplicateOperation), typeDiscriminator: "ProductDuplicateOperation")] + [JsonDerivedType(typeof(ProductFeed), typeDiscriminator: "ProductFeed")] + [JsonDerivedType(typeof(ProductOption), typeDiscriminator: "ProductOption")] + [JsonDerivedType(typeof(ProductOptionValue), typeDiscriminator: "ProductOptionValue")] + [JsonDerivedType(typeof(ProductSetOperation), typeDiscriminator: "ProductSetOperation")] + [JsonDerivedType(typeof(ProductTaxonomyNode), typeDiscriminator: "ProductTaxonomyNode")] + [JsonDerivedType(typeof(ProductVariant), typeDiscriminator: "ProductVariant")] + [JsonDerivedType(typeof(ProductVariantComponent), typeDiscriminator: "ProductVariantComponent")] + [JsonDerivedType(typeof(Publication), typeDiscriminator: "Publication")] + [JsonDerivedType(typeof(PublicationResourceOperation), typeDiscriminator: "PublicationResourceOperation")] + [JsonDerivedType(typeof(QuantityPriceBreak), typeDiscriminator: "QuantityPriceBreak")] + [JsonDerivedType(typeof(Refund), typeDiscriminator: "Refund")] + [JsonDerivedType(typeof(RefundShippingLine), typeDiscriminator: "RefundShippingLine")] + [JsonDerivedType(typeof(Return), typeDiscriminator: "Return")] + [JsonDerivedType(typeof(ReturnLineItem), typeDiscriminator: "ReturnLineItem")] + [JsonDerivedType(typeof(ReturnableFulfillment), typeDiscriminator: "ReturnableFulfillment")] + [JsonDerivedType(typeof(ReverseDelivery), typeDiscriminator: "ReverseDelivery")] + [JsonDerivedType(typeof(ReverseDeliveryLineItem), typeDiscriminator: "ReverseDeliveryLineItem")] + [JsonDerivedType(typeof(ReverseFulfillmentOrder), typeDiscriminator: "ReverseFulfillmentOrder")] + [JsonDerivedType(typeof(ReverseFulfillmentOrderDisposition), typeDiscriminator: "ReverseFulfillmentOrderDisposition")] + [JsonDerivedType(typeof(ReverseFulfillmentOrderLineItem), typeDiscriminator: "ReverseFulfillmentOrderLineItem")] + [JsonDerivedType(typeof(SaleAdditionalFee), typeDiscriminator: "SaleAdditionalFee")] + [JsonDerivedType(typeof(SavedSearch), typeDiscriminator: "SavedSearch")] + [JsonDerivedType(typeof(ScriptTag), typeDiscriminator: "ScriptTag")] + [JsonDerivedType(typeof(Segment), typeDiscriminator: "Segment")] + [JsonDerivedType(typeof(SellingPlan), typeDiscriminator: "SellingPlan")] + [JsonDerivedType(typeof(SellingPlanGroup), typeDiscriminator: "SellingPlanGroup")] + [JsonDerivedType(typeof(ServerPixel), typeDiscriminator: "ServerPixel")] + [JsonDerivedType(typeof(Shop), typeDiscriminator: "Shop")] + [JsonDerivedType(typeof(ShopAddress), typeDiscriminator: "ShopAddress")] + [JsonDerivedType(typeof(ShopPolicy), typeDiscriminator: "ShopPolicy")] + [JsonDerivedType(typeof(ShopifyPaymentsAccount), typeDiscriminator: "ShopifyPaymentsAccount")] + [JsonDerivedType(typeof(ShopifyPaymentsBalanceTransaction), typeDiscriminator: "ShopifyPaymentsBalanceTransaction")] + [JsonDerivedType(typeof(ShopifyPaymentsBankAccount), typeDiscriminator: "ShopifyPaymentsBankAccount")] + [JsonDerivedType(typeof(ShopifyPaymentsDispute), typeDiscriminator: "ShopifyPaymentsDispute")] + [JsonDerivedType(typeof(ShopifyPaymentsDisputeEvidence), typeDiscriminator: "ShopifyPaymentsDisputeEvidence")] + [JsonDerivedType(typeof(ShopifyPaymentsDisputeFileUpload), typeDiscriminator: "ShopifyPaymentsDisputeFileUpload")] + [JsonDerivedType(typeof(ShopifyPaymentsDisputeFulfillment), typeDiscriminator: "ShopifyPaymentsDisputeFulfillment")] + [JsonDerivedType(typeof(ShopifyPaymentsPayout), typeDiscriminator: "ShopifyPaymentsPayout")] + [JsonDerivedType(typeof(StaffMember), typeDiscriminator: "StaffMember")] + [JsonDerivedType(typeof(StandardMetafieldDefinitionTemplate), typeDiscriminator: "StandardMetafieldDefinitionTemplate")] + [JsonDerivedType(typeof(StoreCreditAccount), typeDiscriminator: "StoreCreditAccount")] + [JsonDerivedType(typeof(StoreCreditAccountCreditTransaction), typeDiscriminator: "StoreCreditAccountCreditTransaction")] + [JsonDerivedType(typeof(StoreCreditAccountDebitRevertTransaction), typeDiscriminator: "StoreCreditAccountDebitRevertTransaction")] + [JsonDerivedType(typeof(StoreCreditAccountDebitTransaction), typeDiscriminator: "StoreCreditAccountDebitTransaction")] + [JsonDerivedType(typeof(StorefrontAccessToken), typeDiscriminator: "StorefrontAccessToken")] + [JsonDerivedType(typeof(SubscriptionBillingAttempt), typeDiscriminator: "SubscriptionBillingAttempt")] + [JsonDerivedType(typeof(SubscriptionContract), typeDiscriminator: "SubscriptionContract")] + [JsonDerivedType(typeof(SubscriptionDraft), typeDiscriminator: "SubscriptionDraft")] + [JsonDerivedType(typeof(SubscriptionGateway), typeDiscriminator: "SubscriptionGateway")] + [JsonDerivedType(typeof(TaxonomyAttribute), typeDiscriminator: "TaxonomyAttribute")] + [JsonDerivedType(typeof(TaxonomyCategory), typeDiscriminator: "TaxonomyCategory")] + [JsonDerivedType(typeof(TaxonomyChoiceListAttribute), typeDiscriminator: "TaxonomyChoiceListAttribute")] + [JsonDerivedType(typeof(TaxonomyMeasurementAttribute), typeDiscriminator: "TaxonomyMeasurementAttribute")] + [JsonDerivedType(typeof(TaxonomyValue), typeDiscriminator: "TaxonomyValue")] + [JsonDerivedType(typeof(TenderTransaction), typeDiscriminator: "TenderTransaction")] + [JsonDerivedType(typeof(TransactionFee), typeDiscriminator: "TransactionFee")] + [JsonDerivedType(typeof(UnverifiedReturnLineItem), typeDiscriminator: "UnverifiedReturnLineItem")] + [JsonDerivedType(typeof(UrlRedirect), typeDiscriminator: "UrlRedirect")] + [JsonDerivedType(typeof(UrlRedirectImport), typeDiscriminator: "UrlRedirectImport")] + [JsonDerivedType(typeof(Validation), typeDiscriminator: "Validation")] + [JsonDerivedType(typeof(Video), typeDiscriminator: "Video")] + [JsonDerivedType(typeof(WebPixel), typeDiscriminator: "WebPixel")] + [JsonDerivedType(typeof(WebhookSubscription), typeDiscriminator: "WebhookSubscription")] + public interface INode : IGraphQLObject + { + public AbandonedCheckout? AsAbandonedCheckout() => this as AbandonedCheckout; + public AbandonedCheckoutLineItem? AsAbandonedCheckoutLineItem() => this as AbandonedCheckoutLineItem; + public Abandonment? AsAbandonment() => this as Abandonment; + public AddAllProductsOperation? AsAddAllProductsOperation() => this as AddAllProductsOperation; + public AdditionalFee? AsAdditionalFee() => this as AdditionalFee; + public App? AsApp() => this as App; + public AppCatalog? AsAppCatalog() => this as AppCatalog; + public AppCredit? AsAppCredit() => this as AppCredit; + public AppInstallation? AsAppInstallation() => this as AppInstallation; + public AppPurchaseOneTime? AsAppPurchaseOneTime() => this as AppPurchaseOneTime; + public AppRevenueAttributionRecord? AsAppRevenueAttributionRecord() => this as AppRevenueAttributionRecord; + public AppSubscription? AsAppSubscription() => this as AppSubscription; + public AppUsageRecord? AsAppUsageRecord() => this as AppUsageRecord; + public Article? AsArticle() => this as Article; + public BasicEvent? AsBasicEvent() => this as BasicEvent; + public Blog? AsBlog() => this as Blog; + public BulkOperation? AsBulkOperation() => this as BulkOperation; + public BusinessEntity? AsBusinessEntity() => this as BusinessEntity; + public CalculatedOrder? AsCalculatedOrder() => this as CalculatedOrder; + public CartTransform? AsCartTransform() => this as CartTransform; + public CashTrackingAdjustment? AsCashTrackingAdjustment() => this as CashTrackingAdjustment; + public CashTrackingSession? AsCashTrackingSession() => this as CashTrackingSession; + public CatalogCsvOperation? AsCatalogCsvOperation() => this as CatalogCsvOperation; + public Channel? AsChannel() => this as Channel; + public ChannelDefinition? AsChannelDefinition() => this as ChannelDefinition; + public ChannelInformation? AsChannelInformation() => this as ChannelInformation; + public CheckoutProfile? AsCheckoutProfile() => this as CheckoutProfile; + public Collection? AsCollection() => this as Collection; + public Comment? AsComment() => this as Comment; + public CommentEvent? AsCommentEvent() => this as CommentEvent; + public Company? AsCompany() => this as Company; + public CompanyAddress? AsCompanyAddress() => this as CompanyAddress; + public CompanyContact? AsCompanyContact() => this as CompanyContact; + public CompanyContactRole? AsCompanyContactRole() => this as CompanyContactRole; + public CompanyContactRoleAssignment? AsCompanyContactRoleAssignment() => this as CompanyContactRoleAssignment; + public CompanyLocation? AsCompanyLocation() => this as CompanyLocation; + public CompanyLocationCatalog? AsCompanyLocationCatalog() => this as CompanyLocationCatalog; + public CompanyLocationStaffMemberAssignment? AsCompanyLocationStaffMemberAssignment() => this as CompanyLocationStaffMemberAssignment; + public ConsentPolicy? AsConsentPolicy() => this as ConsentPolicy; + public CurrencyExchangeAdjustment? AsCurrencyExchangeAdjustment() => this as CurrencyExchangeAdjustment; + public Customer? AsCustomer() => this as Customer; + public CustomerAccountAppExtensionPage? AsCustomerAccountAppExtensionPage() => this as CustomerAccountAppExtensionPage; + public CustomerAccountNativePage? AsCustomerAccountNativePage() => this as CustomerAccountNativePage; + public CustomerPaymentMethod? AsCustomerPaymentMethod() => this as CustomerPaymentMethod; + public CustomerSegmentMembersQuery? AsCustomerSegmentMembersQuery() => this as CustomerSegmentMembersQuery; + public CustomerVisit? AsCustomerVisit() => this as CustomerVisit; + public DeliveryCarrierService? AsDeliveryCarrierService() => this as DeliveryCarrierService; + public DeliveryCondition? AsDeliveryCondition() => this as DeliveryCondition; + public DeliveryCountry? AsDeliveryCountry() => this as DeliveryCountry; + public DeliveryCustomization? AsDeliveryCustomization() => this as DeliveryCustomization; + public DeliveryLocationGroup? AsDeliveryLocationGroup() => this as DeliveryLocationGroup; + public DeliveryMethod? AsDeliveryMethod() => this as DeliveryMethod; + public DeliveryMethodDefinition? AsDeliveryMethodDefinition() => this as DeliveryMethodDefinition; + public DeliveryParticipant? AsDeliveryParticipant() => this as DeliveryParticipant; + public DeliveryProfile? AsDeliveryProfile() => this as DeliveryProfile; + public DeliveryProfileItem? AsDeliveryProfileItem() => this as DeliveryProfileItem; + public DeliveryPromiseParticipant? AsDeliveryPromiseParticipant() => this as DeliveryPromiseParticipant; + public DeliveryPromiseProvider? AsDeliveryPromiseProvider() => this as DeliveryPromiseProvider; + public DeliveryProvince? AsDeliveryProvince() => this as DeliveryProvince; + public DeliveryRateDefinition? AsDeliveryRateDefinition() => this as DeliveryRateDefinition; + public DeliveryZone? AsDeliveryZone() => this as DeliveryZone; + public DiscountAutomaticBxgy? AsDiscountAutomaticBxgy() => this as DiscountAutomaticBxgy; + public DiscountAutomaticNode? AsDiscountAutomaticNode() => this as DiscountAutomaticNode; + public DiscountCodeNode? AsDiscountCodeNode() => this as DiscountCodeNode; + public DiscountNode? AsDiscountNode() => this as DiscountNode; + public DiscountRedeemCodeBulkCreation? AsDiscountRedeemCodeBulkCreation() => this as DiscountRedeemCodeBulkCreation; + public Domain? AsDomain() => this as Domain; + public DraftOrder? AsDraftOrder() => this as DraftOrder; + public DraftOrderLineItem? AsDraftOrderLineItem() => this as DraftOrderLineItem; + public DraftOrderTag? AsDraftOrderTag() => this as DraftOrderTag; + public Duty? AsDuty() => this as Duty; + public ExchangeLineItem? AsExchangeLineItem() => this as ExchangeLineItem; + public ExchangeV2? AsExchangeV2() => this as ExchangeV2; + public ExternalVideo? AsExternalVideo() => this as ExternalVideo; + public Fulfillment? AsFulfillment() => this as Fulfillment; + public FulfillmentConstraintRule? AsFulfillmentConstraintRule() => this as FulfillmentConstraintRule; + public FulfillmentEvent? AsFulfillmentEvent() => this as FulfillmentEvent; + public FulfillmentHold? AsFulfillmentHold() => this as FulfillmentHold; + public FulfillmentLineItem? AsFulfillmentLineItem() => this as FulfillmentLineItem; + public FulfillmentOrder? AsFulfillmentOrder() => this as FulfillmentOrder; + public FulfillmentOrderDestination? AsFulfillmentOrderDestination() => this as FulfillmentOrderDestination; + public FulfillmentOrderLineItem? AsFulfillmentOrderLineItem() => this as FulfillmentOrderLineItem; + public FulfillmentOrderMerchantRequest? AsFulfillmentOrderMerchantRequest() => this as FulfillmentOrderMerchantRequest; + public GenericFile? AsGenericFile() => this as GenericFile; + public GiftCard? AsGiftCard() => this as GiftCard; + public GiftCardCreditTransaction? AsGiftCardCreditTransaction() => this as GiftCardCreditTransaction; + public GiftCardDebitTransaction? AsGiftCardDebitTransaction() => this as GiftCardDebitTransaction; + public InventoryAdjustmentGroup? AsInventoryAdjustmentGroup() => this as InventoryAdjustmentGroup; + public InventoryItem? AsInventoryItem() => this as InventoryItem; + public InventoryItemMeasurement? AsInventoryItemMeasurement() => this as InventoryItemMeasurement; + public InventoryLevel? AsInventoryLevel() => this as InventoryLevel; + public InventoryQuantity? AsInventoryQuantity() => this as InventoryQuantity; + public InventoryShipment? AsInventoryShipment() => this as InventoryShipment; + public InventoryShipmentLineItem? AsInventoryShipmentLineItem() => this as InventoryShipmentLineItem; + public InventoryTransfer? AsInventoryTransfer() => this as InventoryTransfer; + public InventoryTransferLineItem? AsInventoryTransferLineItem() => this as InventoryTransferLineItem; + public LineItem? AsLineItem() => this as LineItem; + public LineItemGroup? AsLineItemGroup() => this as LineItemGroup; + public Location? AsLocation() => this as Location; + public MailingAddress? AsMailingAddress() => this as MailingAddress; + public Market? AsMarket() => this as Market; + public MarketCatalog? AsMarketCatalog() => this as MarketCatalog; + public MarketRegionCountry? AsMarketRegionCountry() => this as MarketRegionCountry; + public MarketRegionProvince? AsMarketRegionProvince() => this as MarketRegionProvince; + public MarketWebPresence? AsMarketWebPresence() => this as MarketWebPresence; + public MarketingActivity? AsMarketingActivity() => this as MarketingActivity; + public MarketingEvent? AsMarketingEvent() => this as MarketingEvent; + public MediaImage? AsMediaImage() => this as MediaImage; + public Menu? AsMenu() => this as Menu; + public Metafield? AsMetafield() => this as Metafield; + public MetafieldDefinition? AsMetafieldDefinition() => this as MetafieldDefinition; + public Metaobject? AsMetaobject() => this as Metaobject; + public MetaobjectDefinition? AsMetaobjectDefinition() => this as MetaobjectDefinition; + public Model3d? AsModel3d() => this as Model3d; + public OnlineStoreTheme? AsOnlineStoreTheme() => this as OnlineStoreTheme; + public Order? AsOrder() => this as Order; + public OrderAdjustment? AsOrderAdjustment() => this as OrderAdjustment; + public OrderCancelJobResult? AsOrderCancelJobResult() => this as OrderCancelJobResult; + public OrderDisputeSummary? AsOrderDisputeSummary() => this as OrderDisputeSummary; + public OrderEditSession? AsOrderEditSession() => this as OrderEditSession; + public OrderTransaction? AsOrderTransaction() => this as OrderTransaction; + public Page? AsPage() => this as Page; + public PaymentCustomization? AsPaymentCustomization() => this as PaymentCustomization; + public PaymentMandate? AsPaymentMandate() => this as PaymentMandate; + public PaymentSchedule? AsPaymentSchedule() => this as PaymentSchedule; + public PaymentTerms? AsPaymentTerms() => this as PaymentTerms; + public PaymentTermsTemplate? AsPaymentTermsTemplate() => this as PaymentTermsTemplate; + public PointOfSaleDevice? AsPointOfSaleDevice() => this as PointOfSaleDevice; + public PriceList? AsPriceList() => this as PriceList; + public PriceRule? AsPriceRule() => this as PriceRule; + public PriceRuleDiscountCode? AsPriceRuleDiscountCode() => this as PriceRuleDiscountCode; + public Product? AsProduct() => this as Product; + public ProductBundleOperation? AsProductBundleOperation() => this as ProductBundleOperation; + public ProductDeleteOperation? AsProductDeleteOperation() => this as ProductDeleteOperation; + public ProductDuplicateOperation? AsProductDuplicateOperation() => this as ProductDuplicateOperation; + public ProductFeed? AsProductFeed() => this as ProductFeed; + public ProductOption? AsProductOption() => this as ProductOption; + public ProductOptionValue? AsProductOptionValue() => this as ProductOptionValue; + public ProductSetOperation? AsProductSetOperation() => this as ProductSetOperation; + public ProductTaxonomyNode? AsProductTaxonomyNode() => this as ProductTaxonomyNode; + public ProductVariant? AsProductVariant() => this as ProductVariant; + public ProductVariantComponent? AsProductVariantComponent() => this as ProductVariantComponent; + public Publication? AsPublication() => this as Publication; + public PublicationResourceOperation? AsPublicationResourceOperation() => this as PublicationResourceOperation; + public QuantityPriceBreak? AsQuantityPriceBreak() => this as QuantityPriceBreak; + public Refund? AsRefund() => this as Refund; + public RefundShippingLine? AsRefundShippingLine() => this as RefundShippingLine; + public Return? AsReturn() => this as Return; + public ReturnLineItem? AsReturnLineItem() => this as ReturnLineItem; + public ReturnableFulfillment? AsReturnableFulfillment() => this as ReturnableFulfillment; + public ReverseDelivery? AsReverseDelivery() => this as ReverseDelivery; + public ReverseDeliveryLineItem? AsReverseDeliveryLineItem() => this as ReverseDeliveryLineItem; + public ReverseFulfillmentOrder? AsReverseFulfillmentOrder() => this as ReverseFulfillmentOrder; + public ReverseFulfillmentOrderDisposition? AsReverseFulfillmentOrderDisposition() => this as ReverseFulfillmentOrderDisposition; + public ReverseFulfillmentOrderLineItem? AsReverseFulfillmentOrderLineItem() => this as ReverseFulfillmentOrderLineItem; + public SaleAdditionalFee? AsSaleAdditionalFee() => this as SaleAdditionalFee; + public SavedSearch? AsSavedSearch() => this as SavedSearch; + public ScriptTag? AsScriptTag() => this as ScriptTag; + public Segment? AsSegment() => this as Segment; + public SellingPlan? AsSellingPlan() => this as SellingPlan; + public SellingPlanGroup? AsSellingPlanGroup() => this as SellingPlanGroup; + public ServerPixel? AsServerPixel() => this as ServerPixel; + public Shop? AsShop() => this as Shop; + public ShopAddress? AsShopAddress() => this as ShopAddress; + public ShopPolicy? AsShopPolicy() => this as ShopPolicy; + public ShopifyPaymentsAccount? AsShopifyPaymentsAccount() => this as ShopifyPaymentsAccount; + public ShopifyPaymentsBalanceTransaction? AsShopifyPaymentsBalanceTransaction() => this as ShopifyPaymentsBalanceTransaction; + public ShopifyPaymentsBankAccount? AsShopifyPaymentsBankAccount() => this as ShopifyPaymentsBankAccount; + public ShopifyPaymentsDispute? AsShopifyPaymentsDispute() => this as ShopifyPaymentsDispute; + public ShopifyPaymentsDisputeEvidence? AsShopifyPaymentsDisputeEvidence() => this as ShopifyPaymentsDisputeEvidence; + public ShopifyPaymentsDisputeFileUpload? AsShopifyPaymentsDisputeFileUpload() => this as ShopifyPaymentsDisputeFileUpload; + public ShopifyPaymentsDisputeFulfillment? AsShopifyPaymentsDisputeFulfillment() => this as ShopifyPaymentsDisputeFulfillment; + public ShopifyPaymentsPayout? AsShopifyPaymentsPayout() => this as ShopifyPaymentsPayout; + public StaffMember? AsStaffMember() => this as StaffMember; + public StandardMetafieldDefinitionTemplate? AsStandardMetafieldDefinitionTemplate() => this as StandardMetafieldDefinitionTemplate; + public StoreCreditAccount? AsStoreCreditAccount() => this as StoreCreditAccount; + public StoreCreditAccountCreditTransaction? AsStoreCreditAccountCreditTransaction() => this as StoreCreditAccountCreditTransaction; + public StoreCreditAccountDebitRevertTransaction? AsStoreCreditAccountDebitRevertTransaction() => this as StoreCreditAccountDebitRevertTransaction; + public StoreCreditAccountDebitTransaction? AsStoreCreditAccountDebitTransaction() => this as StoreCreditAccountDebitTransaction; + public StorefrontAccessToken? AsStorefrontAccessToken() => this as StorefrontAccessToken; + public SubscriptionBillingAttempt? AsSubscriptionBillingAttempt() => this as SubscriptionBillingAttempt; + public SubscriptionContract? AsSubscriptionContract() => this as SubscriptionContract; + public SubscriptionDraft? AsSubscriptionDraft() => this as SubscriptionDraft; + public SubscriptionGateway? AsSubscriptionGateway() => this as SubscriptionGateway; + public TaxonomyAttribute? AsTaxonomyAttribute() => this as TaxonomyAttribute; + public TaxonomyCategory? AsTaxonomyCategory() => this as TaxonomyCategory; + public TaxonomyChoiceListAttribute? AsTaxonomyChoiceListAttribute() => this as TaxonomyChoiceListAttribute; + public TaxonomyMeasurementAttribute? AsTaxonomyMeasurementAttribute() => this as TaxonomyMeasurementAttribute; + public TaxonomyValue? AsTaxonomyValue() => this as TaxonomyValue; + public TenderTransaction? AsTenderTransaction() => this as TenderTransaction; + public TransactionFee? AsTransactionFee() => this as TransactionFee; + public UnverifiedReturnLineItem? AsUnverifiedReturnLineItem() => this as UnverifiedReturnLineItem; + public UrlRedirect? AsUrlRedirect() => this as UrlRedirect; + public UrlRedirectImport? AsUrlRedirectImport() => this as UrlRedirectImport; + public Validation? AsValidation() => this as Validation; + public Video? AsVideo() => this as Video; + public WebPixel? AsWebPixel() => this as WebPixel; + public WebhookSubscription? AsWebhookSubscription() => this as WebhookSubscription; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + } + /// ///The valid values for the notification usage, specifying the intended notification environment usage for certain operations. /// - [Description("The valid values for the notification usage, specifying the intended notification environment usage for certain operations.")] - public enum NotificationUsage - { + [Description("The valid values for the notification usage, specifying the intended notification environment usage for certain operations.")] + public enum NotificationUsage + { /// ///The notification environment is web. /// - [Description("The notification environment is web.")] - WEB, + [Description("The notification environment is web.")] + WEB, /// ///The notification environment is sms. /// - [Description("The notification environment is sms.")] - SMS, - } - - public static class NotificationUsageStringValues - { - public const string WEB = @"WEB"; - public const string SMS = @"SMS"; - } - + [Description("The notification environment is sms.")] + SMS, + } + + public static class NotificationUsageStringValues + { + public const string WEB = @"WEB"; + public const string SMS = @"SMS"; + } + /// ///The input fields for dimensions of an object. /// - [Description("The input fields for dimensions of an object.")] - public class ObjectDimensionsInput : GraphQLObject - { + [Description("The input fields for dimensions of an object.")] + public class ObjectDimensionsInput : GraphQLObject + { /// ///The length in `unit`s. /// - [Description("The length in `unit`s.")] - [NonNull] - public decimal? length { get; set; } - + [Description("The length in `unit`s.")] + [NonNull] + public decimal? length { get; set; } + /// ///The width in `unit`s. /// - [Description("The width in `unit`s.")] - [NonNull] - public decimal? width { get; set; } - + [Description("The width in `unit`s.")] + [NonNull] + public decimal? width { get; set; } + /// ///The height in `unit`s. /// - [Description("The height in `unit`s.")] - [NonNull] - public decimal? height { get; set; } - + [Description("The height in `unit`s.")] + [NonNull] + public decimal? height { get; set; } + /// ///Unit of measurement for `length`, `width`, and `height`. /// - [Description("Unit of measurement for `length`, `width`, and `height`.")] - [NonNull] - [EnumType(typeof(LengthUnit))] - public string? unit { get; set; } - } - + [Description("Unit of measurement for `length`, `width`, and `height`.")] + [NonNull] + [EnumType(typeof(LengthUnit))] + public string? unit { get; set; } + } + /// ///A score that represents the shop's ability to deliver on time to a particular country. The score is a value between 0 and 1. /// - [Description("A score that represents the shop's ability to deliver on time to a particular country. The score is a value between 0 and 1.")] - public class OnTimeDeliveryScore : GraphQLObject - { + [Description("A score that represents the shop's ability to deliver on time to a particular country. The score is a value between 0 and 1.")] + public class OnTimeDeliveryScore : GraphQLObject + { /// ///Destination country code. /// - [Description("Destination country code.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? countryCode { get; set; } - + [Description("Destination country code.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? countryCode { get; set; } + /// ///A score that represents the shop's ability to deliver on time to a particular country. The score is a float value between 0 and 1. /// - [Description("A score that represents the shop's ability to deliver on time to a particular country. The score is a float value between 0 and 1.")] - [NonNull] - public decimal? score { get; set; } - } - + [Description("A score that represents the shop's ability to deliver on time to a particular country. The score is a float value between 0 and 1.")] + [NonNull] + public decimal? score { get; set; } + } + /// ///The shop's online store channel. /// - [Description("The shop's online store channel.")] - public class OnlineStore : GraphQLObject - { + [Description("The shop's online store channel.")] + public class OnlineStore : GraphQLObject + { /// ///Storefront password information. /// - [Description("Storefront password information.")] - [NonNull] - public OnlineStorePasswordProtection? passwordProtection { get; set; } - } - + [Description("Storefront password information.")] + [NonNull] + public OnlineStorePasswordProtection? passwordProtection { get; set; } + } + /// ///Storefront password information. /// - [Description("Storefront password information.")] - public class OnlineStorePasswordProtection : GraphQLObject - { + [Description("Storefront password information.")] + public class OnlineStorePasswordProtection : GraphQLObject + { /// ///Whether the storefront password is enabled. /// - [Description("Whether the storefront password is enabled.")] - [NonNull] - public bool? enabled { get; set; } - } - + [Description("Whether the storefront password is enabled.")] + [NonNull] + public bool? enabled { get; set; } + } + /// ///Online Store preview URL of the object. /// - [Description("Online Store preview URL of the object.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - public interface IOnlineStorePreviewable : IGraphQLObject - { - public Product? AsProduct() => this as Product; + [Description("Online Store preview URL of the object.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + public interface IOnlineStorePreviewable : IGraphQLObject + { + public Product? AsProduct() => this as Product; /// ///The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store. /// - [Description("The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store.")] - public string? onlineStorePreviewUrl { get; } - } - + [Description("The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store.")] + public string? onlineStorePreviewUrl { get; } + } + /// ///A theme for display on the storefront. /// - [Description("A theme for display on the storefront.")] - public class OnlineStoreTheme : GraphQLObject, IHasPublishedTranslations, INode - { + [Description("A theme for display on the storefront.")] + public class OnlineStoreTheme : GraphQLObject, IHasPublishedTranslations, INode + { /// ///The date and time when the theme was created. /// - [Description("The date and time when the theme was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the theme was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The files in the theme. /// - [Description("The files in the theme.")] - public OnlineStoreThemeFileConnection? files { get; set; } - + [Description("The files in the theme.")] + public OnlineStoreThemeFileConnection? files { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the theme, set by the merchant. /// - [Description("The name of the theme, set by the merchant.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the theme, set by the merchant.")] + [NonNull] + public string? name { get; set; } + /// ///The prefix of the theme. /// - [Description("The prefix of the theme.")] - [NonNull] - public string? prefix { get; set; } - + [Description("The prefix of the theme.")] + [NonNull] + public string? prefix { get; set; } + /// ///Whether the theme is processing. /// - [Description("Whether the theme is processing.")] - [NonNull] - public bool? processing { get; set; } - + [Description("Whether the theme is processing.")] + [NonNull] + public bool? processing { get; set; } + /// ///Whether the theme processing failed. /// - [Description("Whether the theme processing failed.")] - [NonNull] - public bool? processingFailed { get; set; } - + [Description("Whether the theme processing failed.")] + [NonNull] + public bool? processingFailed { get; set; } + /// ///The role of the theme. /// - [Description("The role of the theme.")] - [NonNull] - [EnumType(typeof(ThemeRole))] - public string? role { get; set; } - + [Description("The role of the theme.")] + [NonNull] + [EnumType(typeof(ThemeRole))] + public string? role { get; set; } + /// ///The theme store ID. /// - [Description("The theme store ID.")] - public int? themeStoreId { get; set; } - + [Description("The theme store ID.")] + public int? themeStoreId { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The date and time when the theme was last updated. /// - [Description("The date and time when the theme was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the theme was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple OnlineStoreThemes. /// - [Description("An auto-generated type for paginating through multiple OnlineStoreThemes.")] - public class OnlineStoreThemeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple OnlineStoreThemes.")] + public class OnlineStoreThemeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in OnlineStoreThemeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in OnlineStoreThemeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in OnlineStoreThemeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one OnlineStoreTheme and a cursor during pagination. /// - [Description("An auto-generated type which holds one OnlineStoreTheme and a cursor during pagination.")] - public class OnlineStoreThemeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one OnlineStoreTheme and a cursor during pagination.")] + public class OnlineStoreThemeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of OnlineStoreThemeEdge. /// - [Description("The item at the end of OnlineStoreThemeEdge.")] - [NonNull] - public OnlineStoreTheme? node { get; set; } - } - + [Description("The item at the end of OnlineStoreThemeEdge.")] + [NonNull] + public OnlineStoreTheme? node { get; set; } + } + /// ///Represents a theme file. /// - [Description("Represents a theme file.")] - public class OnlineStoreThemeFile : GraphQLObject - { + [Description("Represents a theme file.")] + public class OnlineStoreThemeFile : GraphQLObject + { /// ///The body of the theme file. /// - [Description("The body of the theme file.")] - [NonNull] - public IOnlineStoreThemeFileBody? body { get; set; } - + [Description("The body of the theme file.")] + [NonNull] + public IOnlineStoreThemeFileBody? body { get; set; } + /// ///The md5 digest of the theme file for data integrity. /// - [Description("The md5 digest of the theme file for data integrity.")] - public string? checksumMd5 { get; set; } - + [Description("The md5 digest of the theme file for data integrity.")] + public string? checksumMd5 { get; set; } + /// ///The content type of the theme file. /// - [Description("The content type of the theme file.")] - [NonNull] - public string? contentType { get; set; } - + [Description("The content type of the theme file.")] + [NonNull] + public string? contentType { get; set; } + /// ///The date and time when the theme file was created. /// - [Description("The date and time when the theme file was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the theme file was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The unique identifier of the theme file. /// - [Description("The unique identifier of the theme file.")] - [NonNull] - public string? filename { get; set; } - + [Description("The unique identifier of the theme file.")] + [NonNull] + public string? filename { get; set; } + /// ///The size of the theme file in bytes. /// - [Description("The size of the theme file in bytes.")] - [NonNull] - public ulong? size { get; set; } - + [Description("The size of the theme file in bytes.")] + [NonNull] + public ulong? size { get; set; } + /// ///The date and time when the theme file was last updated. /// - [Description("The date and time when the theme file was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the theme file was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Represents the body of a theme file. /// - [Description("Represents the body of a theme file.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(OnlineStoreThemeFileBodyBase64), typeDiscriminator: "OnlineStoreThemeFileBodyBase64")] - [JsonDerivedType(typeof(OnlineStoreThemeFileBodyText), typeDiscriminator: "OnlineStoreThemeFileBodyText")] - [JsonDerivedType(typeof(OnlineStoreThemeFileBodyUrl), typeDiscriminator: "OnlineStoreThemeFileBodyUrl")] - public interface IOnlineStoreThemeFileBody : IGraphQLObject - { - public OnlineStoreThemeFileBodyBase64? AsOnlineStoreThemeFileBodyBase64() => this as OnlineStoreThemeFileBodyBase64; - public OnlineStoreThemeFileBodyText? AsOnlineStoreThemeFileBodyText() => this as OnlineStoreThemeFileBodyText; - public OnlineStoreThemeFileBodyUrl? AsOnlineStoreThemeFileBodyUrl() => this as OnlineStoreThemeFileBodyUrl; - } - + [Description("Represents the body of a theme file.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(OnlineStoreThemeFileBodyBase64), typeDiscriminator: "OnlineStoreThemeFileBodyBase64")] + [JsonDerivedType(typeof(OnlineStoreThemeFileBodyText), typeDiscriminator: "OnlineStoreThemeFileBodyText")] + [JsonDerivedType(typeof(OnlineStoreThemeFileBodyUrl), typeDiscriminator: "OnlineStoreThemeFileBodyUrl")] + public interface IOnlineStoreThemeFileBody : IGraphQLObject + { + public OnlineStoreThemeFileBodyBase64? AsOnlineStoreThemeFileBodyBase64() => this as OnlineStoreThemeFileBodyBase64; + public OnlineStoreThemeFileBodyText? AsOnlineStoreThemeFileBodyText() => this as OnlineStoreThemeFileBodyText; + public OnlineStoreThemeFileBodyUrl? AsOnlineStoreThemeFileBodyUrl() => this as OnlineStoreThemeFileBodyUrl; + } + /// ///Represents the base64 encoded body of a theme file. /// - [Description("Represents the base64 encoded body of a theme file.")] - public class OnlineStoreThemeFileBodyBase64 : GraphQLObject, IOnlineStoreThemeFileBody - { + [Description("Represents the base64 encoded body of a theme file.")] + public class OnlineStoreThemeFileBodyBase64 : GraphQLObject, IOnlineStoreThemeFileBody + { /// ///The body of the theme file, base64 encoded. /// - [Description("The body of the theme file, base64 encoded.")] - [NonNull] - public string? contentBase64 { get; set; } - } - + [Description("The body of the theme file, base64 encoded.")] + [NonNull] + public string? contentBase64 { get; set; } + } + /// ///The input fields for the theme file body. /// - [Description("The input fields for the theme file body.")] - public class OnlineStoreThemeFileBodyInput : GraphQLObject - { + [Description("The input fields for the theme file body.")] + public class OnlineStoreThemeFileBodyInput : GraphQLObject + { /// ///The input type of the theme file body. /// - [Description("The input type of the theme file body.")] - [NonNull] - [EnumType(typeof(OnlineStoreThemeFileBodyInputType))] - public string? type { get; set; } - + [Description("The input type of the theme file body.")] + [NonNull] + [EnumType(typeof(OnlineStoreThemeFileBodyInputType))] + public string? type { get; set; } + /// ///The body of the theme file. /// - [Description("The body of the theme file.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The body of the theme file.")] + [NonNull] + public string? value { get; set; } + } + /// ///The input type for a theme file body. /// - [Description("The input type for a theme file body.")] - public enum OnlineStoreThemeFileBodyInputType - { + [Description("The input type for a theme file body.")] + public enum OnlineStoreThemeFileBodyInputType + { /// ///The text body of the theme file. /// - [Description("The text body of the theme file.")] - TEXT, + [Description("The text body of the theme file.")] + TEXT, /// ///The base64 encoded body of a theme file. /// - [Description("The base64 encoded body of a theme file.")] - BASE64, + [Description("The base64 encoded body of a theme file.")] + BASE64, /// ///The url of the body of a theme file. /// - [Description("The url of the body of a theme file.")] - URL, - } - - public static class OnlineStoreThemeFileBodyInputTypeStringValues - { - public const string TEXT = @"TEXT"; - public const string BASE64 = @"BASE64"; - public const string URL = @"URL"; - } - + [Description("The url of the body of a theme file.")] + URL, + } + + public static class OnlineStoreThemeFileBodyInputTypeStringValues + { + public const string TEXT = @"TEXT"; + public const string BASE64 = @"BASE64"; + public const string URL = @"URL"; + } + /// ///Represents the body of a theme file. /// - [Description("Represents the body of a theme file.")] - public class OnlineStoreThemeFileBodyText : GraphQLObject, IOnlineStoreThemeFileBody - { + [Description("Represents the body of a theme file.")] + public class OnlineStoreThemeFileBodyText : GraphQLObject, IOnlineStoreThemeFileBody + { /// ///The body of the theme file. /// - [Description("The body of the theme file.")] - [NonNull] - public string? content { get; set; } - } - + [Description("The body of the theme file.")] + [NonNull] + public string? content { get; set; } + } + /// ///Represents the url of the body of a theme file. /// - [Description("Represents the url of the body of a theme file.")] - public class OnlineStoreThemeFileBodyUrl : GraphQLObject, IOnlineStoreThemeFileBody - { + [Description("Represents the url of the body of a theme file.")] + public class OnlineStoreThemeFileBodyUrl : GraphQLObject, IOnlineStoreThemeFileBody + { /// ///The short lived url for the body of the theme file. /// - [Description("The short lived url for the body of the theme file.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The short lived url for the body of the theme file.")] + [NonNull] + public string? url { get; set; } + } + /// ///An auto-generated type for paginating through multiple OnlineStoreThemeFiles. /// - [Description("An auto-generated type for paginating through multiple OnlineStoreThemeFiles.")] - public class OnlineStoreThemeFileConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple OnlineStoreThemeFiles.")] + public class OnlineStoreThemeFileConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in OnlineStoreThemeFileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in OnlineStoreThemeFileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in OnlineStoreThemeFileEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + /// ///List of errors that occurred during the request. /// - [Description("List of errors that occurred during the request.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("List of errors that occurred during the request.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one OnlineStoreThemeFile and a cursor during pagination. /// - [Description("An auto-generated type which holds one OnlineStoreThemeFile and a cursor during pagination.")] - public class OnlineStoreThemeFileEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one OnlineStoreThemeFile and a cursor during pagination.")] + public class OnlineStoreThemeFileEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of OnlineStoreThemeFileEdge. /// - [Description("The item at the end of OnlineStoreThemeFileEdge.")] - [NonNull] - public OnlineStoreThemeFile? node { get; set; } - } - + [Description("The item at the end of OnlineStoreThemeFileEdge.")] + [NonNull] + public OnlineStoreThemeFile? node { get; set; } + } + /// ///Represents the result of a copy, delete, or write operation performed on a theme file. /// - [Description("Represents the result of a copy, delete, or write operation performed on a theme file.")] - public class OnlineStoreThemeFileOperationResult : GraphQLObject - { + [Description("Represents the result of a copy, delete, or write operation performed on a theme file.")] + public class OnlineStoreThemeFileOperationResult : GraphQLObject + { /// ///The md5 digest of the theme file for data integrity. /// - [Description("The md5 digest of the theme file for data integrity.")] - public string? checksumMd5 { get; set; } - + [Description("The md5 digest of the theme file for data integrity.")] + public string? checksumMd5 { get; set; } + /// ///The date and time when the theme file was created. /// - [Description("The date and time when the theme file was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the theme file was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Unique identifier of the theme file. /// - [Description("Unique identifier of the theme file.")] - [NonNull] - public string? filename { get; set; } - + [Description("Unique identifier of the theme file.")] + [NonNull] + public string? filename { get; set; } + /// ///The size of the theme file in bytes. /// - [Description("The size of the theme file in bytes.")] - [NonNull] - public ulong? size { get; set; } - + [Description("The size of the theme file in bytes.")] + [NonNull] + public ulong? size { get; set; } + /// ///The date and time when the theme file was last updated. /// - [Description("The date and time when the theme file was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the theme file was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Represents the result of a read operation performed on a theme asset. /// - [Description("Represents the result of a read operation performed on a theme asset.")] - public class OnlineStoreThemeFileReadResult : GraphQLObject - { + [Description("Represents the result of a read operation performed on a theme asset.")] + public class OnlineStoreThemeFileReadResult : GraphQLObject + { /// ///Type that indicates the result of the operation. /// - [Description("Type that indicates the result of the operation.")] - [NonNull] - [EnumType(typeof(OnlineStoreThemeFileResultType))] - public string? code { get; set; } - + [Description("Type that indicates the result of the operation.")] + [NonNull] + [EnumType(typeof(OnlineStoreThemeFileResultType))] + public string? code { get; set; } + /// ///Unique identifier associated with the operation and the theme file. /// - [Description("Unique identifier associated with the operation and the theme file.")] - [NonNull] - public string? filename { get; set; } - } - + [Description("Unique identifier associated with the operation and the theme file.")] + [NonNull] + public string? filename { get; set; } + } + /// ///Type of a theme file operation result. /// - [Description("Type of a theme file operation result.")] - public enum OnlineStoreThemeFileResultType - { + [Description("Type of a theme file operation result.")] + public enum OnlineStoreThemeFileResultType + { /// ///Operation was successful. /// - [Description("Operation was successful.")] - SUCCESS, + [Description("Operation was successful.")] + SUCCESS, /// ///Operation encountered an error. /// - [Description("Operation encountered an error.")] - ERROR, + [Description("Operation encountered an error.")] + ERROR, /// ///Operation faced a conflict with the current state of the file. /// - [Description("Operation faced a conflict with the current state of the file.")] - CONFLICT, + [Description("Operation faced a conflict with the current state of the file.")] + CONFLICT, /// ///Operation could not be processed due to issues with input data. /// - [Description("Operation could not be processed due to issues with input data.")] - UNPROCESSABLE_ENTITY, + [Description("Operation could not be processed due to issues with input data.")] + UNPROCESSABLE_ENTITY, /// ///Operation was malformed or invalid. /// - [Description("Operation was malformed or invalid.")] - BAD_REQUEST, + [Description("Operation was malformed or invalid.")] + BAD_REQUEST, /// ///Operation timed out. /// - [Description("Operation timed out.")] - TIMEOUT, + [Description("Operation timed out.")] + TIMEOUT, /// ///Operation file could not be found. /// - [Description("Operation file could not be found.")] - NOT_FOUND, - } - - public static class OnlineStoreThemeFileResultTypeStringValues - { - public const string SUCCESS = @"SUCCESS"; - public const string ERROR = @"ERROR"; - public const string CONFLICT = @"CONFLICT"; - public const string UNPROCESSABLE_ENTITY = @"UNPROCESSABLE_ENTITY"; - public const string BAD_REQUEST = @"BAD_REQUEST"; - public const string TIMEOUT = @"TIMEOUT"; - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("Operation file could not be found.")] + NOT_FOUND, + } + + public static class OnlineStoreThemeFileResultTypeStringValues + { + public const string SUCCESS = @"SUCCESS"; + public const string ERROR = @"ERROR"; + public const string CONFLICT = @"CONFLICT"; + public const string UNPROCESSABLE_ENTITY = @"UNPROCESSABLE_ENTITY"; + public const string BAD_REQUEST = @"BAD_REQUEST"; + public const string TIMEOUT = @"TIMEOUT"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///The input fields for the file to create or update. /// - [Description("The input fields for the file to create or update.")] - public class OnlineStoreThemeFilesUpsertFileInput : GraphQLObject - { + [Description("The input fields for the file to create or update.")] + public class OnlineStoreThemeFilesUpsertFileInput : GraphQLObject + { /// ///The filename of the theme file. /// - [Description("The filename of the theme file.")] - [NonNull] - public string? filename { get; set; } - + [Description("The filename of the theme file.")] + [NonNull] + public string? filename { get; set; } + /// ///The body of the theme file. /// - [Description("The body of the theme file.")] - [NonNull] - public OnlineStoreThemeFileBodyInput? body { get; set; } - } - + [Description("The body of the theme file.")] + [NonNull] + public OnlineStoreThemeFileBodyInput? body { get; set; } + } + /// ///User errors for theme file operations. /// - [Description("User errors for theme file operations.")] - public class OnlineStoreThemeFilesUserErrors : GraphQLObject, IDisplayableError - { + [Description("User errors for theme file operations.")] + public class OnlineStoreThemeFilesUserErrors : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OnlineStoreThemeFilesUserErrorsCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OnlineStoreThemeFilesUserErrorsCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The filename of the theme file. /// - [Description("The filename of the theme file.")] - public string? filename { get; set; } - + [Description("The filename of the theme file.")] + public string? filename { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OnlineStoreThemeFilesUserErrors`. /// - [Description("Possible error codes that can be returned by `OnlineStoreThemeFilesUserErrors`.")] - public enum OnlineStoreThemeFilesUserErrorsCode - { + [Description("Possible error codes that can be returned by `OnlineStoreThemeFilesUserErrors`.")] + public enum OnlineStoreThemeFilesUserErrorsCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, /// ///There are theme files with conflicts. /// - [Description("There are theme files with conflicts.")] - THEME_FILES_CONFLICT, + [Description("There are theme files with conflicts.")] + THEME_FILES_CONFLICT, /// ///There are files with the same filename. /// - [Description("There are files with the same filename.")] - DUPLICATE_FILE_INPUT, + [Description("There are files with the same filename.")] + DUPLICATE_FILE_INPUT, /// ///Access denied. /// - [Description("Access denied.")] - ACCESS_DENIED, + [Description("Access denied.")] + ACCESS_DENIED, /// ///This action is not available on your current plan. Please upgrade to access theme editing features. /// - [Description("This action is not available on your current plan. Please upgrade to access theme editing features.")] - THEME_LIMITED_PLAN, + [Description("This action is not available on your current plan. Please upgrade to access theme editing features.")] + THEME_LIMITED_PLAN, /// ///The file is invalid. /// - [Description("The file is invalid.")] - FILE_VALIDATION_ERROR, + [Description("The file is invalid.")] + FILE_VALIDATION_ERROR, /// ///Error. /// - [Description("Error.")] - ERROR, + [Description("Error.")] + ERROR, /// ///Too many updates in a short period. Please try again later. /// - [Description("Too many updates in a short period. Please try again later.")] - THROTTLED, - } - - public static class OnlineStoreThemeFilesUserErrorsCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - public const string THEME_FILES_CONFLICT = @"THEME_FILES_CONFLICT"; - public const string DUPLICATE_FILE_INPUT = @"DUPLICATE_FILE_INPUT"; - public const string ACCESS_DENIED = @"ACCESS_DENIED"; - public const string THEME_LIMITED_PLAN = @"THEME_LIMITED_PLAN"; - public const string FILE_VALIDATION_ERROR = @"FILE_VALIDATION_ERROR"; - public const string ERROR = @"ERROR"; - public const string THROTTLED = @"THROTTLED"; - } - + [Description("Too many updates in a short period. Please try again later.")] + THROTTLED, + } + + public static class OnlineStoreThemeFilesUserErrorsCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + public const string THEME_FILES_CONFLICT = @"THEME_FILES_CONFLICT"; + public const string DUPLICATE_FILE_INPUT = @"DUPLICATE_FILE_INPUT"; + public const string ACCESS_DENIED = @"ACCESS_DENIED"; + public const string THEME_LIMITED_PLAN = @"THEME_LIMITED_PLAN"; + public const string FILE_VALIDATION_ERROR = @"FILE_VALIDATION_ERROR"; + public const string ERROR = @"ERROR"; + public const string THROTTLED = @"THROTTLED"; + } + /// ///The input fields for Theme attributes to update. /// - [Description("The input fields for Theme attributes to update.")] - public class OnlineStoreThemeInput : GraphQLObject - { + [Description("The input fields for Theme attributes to update.")] + public class OnlineStoreThemeInput : GraphQLObject + { /// ///The new name of the theme. /// - [Description("The new name of the theme.")] - public string? name { get; set; } - } - + [Description("The new name of the theme.")] + public string? name { get; set; } + } + /// ///The input fields for the options and values of the combined listing. /// - [Description("The input fields for the options and values of the combined listing.")] - public class OptionAndValueInput : GraphQLObject - { + [Description("The input fields for the options and values of the combined listing.")] + public class OptionAndValueInput : GraphQLObject + { /// ///The name of the Product's Option. /// - [Description("The name of the Product's Option.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the Product's Option.")] + [NonNull] + public string? name { get; set; } + /// ///The ordered values of the Product's Option. /// - [Description("The ordered values of the Product's Option.")] - [NonNull] - public IEnumerable? values { get; set; } - + [Description("The ordered values of the Product's Option.")] + [NonNull] + public IEnumerable? values { get; set; } + /// ///The ID of the option to update. If not present, the option will be created. /// - [Description("The ID of the option to update. If not present, the option will be created.")] - public string? optionId { get; set; } - + [Description("The ID of the option to update. If not present, the option will be created.")] + public string? optionId { get; set; } + /// ///The linked metafield for the product's option. /// - [Description("The linked metafield for the product's option.")] - public LinkedMetafieldInput? linkedMetafield { get; set; } - } - + [Description("The linked metafield for the product's option.")] + public LinkedMetafieldInput? linkedMetafield { get; set; } + } + /// ///The input fields for creating a product option. /// - [Description("The input fields for creating a product option.")] - public class OptionCreateInput : GraphQLObject - { + [Description("The input fields for creating a product option.")] + public class OptionCreateInput : GraphQLObject + { /// ///Name of the option. /// - [Description("Name of the option.")] - public string? name { get; set; } - + [Description("Name of the option.")] + public string? name { get; set; } + /// ///Position of the option. /// - [Description("Position of the option.")] - public int? position { get; set; } - + [Description("Position of the option.")] + public int? position { get; set; } + /// ///Values associated with the option. /// - [Description("Values associated with the option.")] - public IEnumerable? values { get; set; } - + [Description("Values associated with the option.")] + public IEnumerable? values { get; set; } + /// ///Specifies the metafield the option is linked to. /// - [Description("Specifies the metafield the option is linked to.")] - public LinkedMetafieldCreateInput? linkedMetafield { get; set; } - } - + [Description("Specifies the metafield the option is linked to.")] + public LinkedMetafieldCreateInput? linkedMetafield { get; set; } + } + /// ///The input fields for reordering a product option and/or its values. /// - [Description("The input fields for reordering a product option and/or its values.")] - public class OptionReorderInput : GraphQLObject - { + [Description("The input fields for reordering a product option and/or its values.")] + public class OptionReorderInput : GraphQLObject + { /// ///Specifies the product option to reorder by ID. /// - [Description("Specifies the product option to reorder by ID.")] - public string? id { get; set; } - + [Description("Specifies the product option to reorder by ID.")] + public string? id { get; set; } + /// ///Specifies the product option to reorder by name. /// - [Description("Specifies the product option to reorder by name.")] - public string? name { get; set; } - + [Description("Specifies the product option to reorder by name.")] + public string? name { get; set; } + /// ///Values associated with the option. /// - [Description("Values associated with the option.")] - public IEnumerable? values { get; set; } - } - + [Description("Values associated with the option.")] + public IEnumerable? values { get; set; } + } + /// ///The input fields for creating or updating a product option. /// - [Description("The input fields for creating or updating a product option.")] - public class OptionSetInput : GraphQLObject - { + [Description("The input fields for creating or updating a product option.")] + public class OptionSetInput : GraphQLObject + { /// ///Specifies the product option to update. /// - [Description("Specifies the product option to update.")] - public string? id { get; set; } - + [Description("Specifies the product option to update.")] + public string? id { get; set; } + /// ///Name of the option. /// - [Description("Name of the option.")] - public string? name { get; set; } - + [Description("Name of the option.")] + public string? name { get; set; } + /// ///Position of the option. /// - [Description("Position of the option.")] - public int? position { get; set; } - + [Description("Position of the option.")] + public int? position { get; set; } + /// ///Value associated with an option. /// - [Description("Value associated with an option.")] - public IEnumerable? values { get; set; } - + [Description("Value associated with an option.")] + public IEnumerable? values { get; set; } + /// ///Specifies the metafield the option is linked to. /// - [Description("Specifies the metafield the option is linked to.")] - public LinkedMetafieldCreateInput? linkedMetafield { get; set; } - } - + [Description("Specifies the metafield the option is linked to.")] + public LinkedMetafieldCreateInput? linkedMetafield { get; set; } + } + /// ///The input fields for updating a product option. /// - [Description("The input fields for updating a product option.")] - public class OptionUpdateInput : GraphQLObject - { + [Description("The input fields for updating a product option.")] + public class OptionUpdateInput : GraphQLObject + { /// ///Specifies the product option to update. /// - [Description("Specifies the product option to update.")] - [NonNull] - public string? id { get; set; } - + [Description("Specifies the product option to update.")] + [NonNull] + public string? id { get; set; } + /// ///Name of the option. /// - [Description("Name of the option.")] - public string? name { get; set; } - + [Description("Name of the option.")] + public string? name { get; set; } + /// ///Position of the option. /// - [Description("Position of the option.")] - public int? position { get; set; } - + [Description("Position of the option.")] + public int? position { get; set; } + /// ///Specifies the metafield the option is linked to. /// - [Description("Specifies the metafield the option is linked to.")] - public LinkedMetafieldUpdateInput? linkedMetafield { get; set; } - } - + [Description("Specifies the metafield the option is linked to.")] + public LinkedMetafieldUpdateInput? linkedMetafield { get; set; } + } + /// ///The input fields required to create a product option value. /// - [Description("The input fields required to create a product option value.")] - public class OptionValueCreateInput : GraphQLObject - { + [Description("The input fields required to create a product option value.")] + public class OptionValueCreateInput : GraphQLObject + { /// ///Value associated with an option. /// - [Description("Value associated with an option.")] - public string? name { get; set; } - + [Description("Value associated with an option.")] + public string? name { get; set; } + /// ///Metafield value associated with an option. /// - [Description("Metafield value associated with an option.")] - public string? linkedMetafieldValue { get; set; } - } - + [Description("Metafield value associated with an option.")] + public string? linkedMetafieldValue { get; set; } + } + /// ///The input fields for reordering a product option value. /// - [Description("The input fields for reordering a product option value.")] - public class OptionValueReorderInput : GraphQLObject - { + [Description("The input fields for reordering a product option value.")] + public class OptionValueReorderInput : GraphQLObject + { /// ///Specifies the product option value by ID. /// - [Description("Specifies the product option value by ID.")] - public string? id { get; set; } - + [Description("Specifies the product option value by ID.")] + public string? id { get; set; } + /// ///Specifies the product option value by name. /// - [Description("Specifies the product option value by name.")] - public string? name { get; set; } - } - + [Description("Specifies the product option value by name.")] + public string? name { get; set; } + } + /// ///The input fields for creating or updating a product option value. /// - [Description("The input fields for creating or updating a product option value.")] - public class OptionValueSetInput : GraphQLObject - { + [Description("The input fields for creating or updating a product option value.")] + public class OptionValueSetInput : GraphQLObject + { /// ///Specifies the product option value. /// - [Description("Specifies the product option value.")] - public string? id { get; set; } - + [Description("Specifies the product option value.")] + public string? id { get; set; } + /// ///Value associated with an option. /// - [Description("Value associated with an option.")] - public string? name { get; set; } - } - + [Description("Value associated with an option.")] + public string? name { get; set; } + } + /// ///The input fields for updating a product option value. /// - [Description("The input fields for updating a product option value.")] - public class OptionValueUpdateInput : GraphQLObject - { + [Description("The input fields for updating a product option value.")] + public class OptionValueUpdateInput : GraphQLObject + { /// ///Specifies the product option value. /// - [Description("Specifies the product option value.")] - [NonNull] - public string? id { get; set; } - + [Description("Specifies the product option value.")] + [NonNull] + public string? id { get; set; } + /// ///Value associated with an option. /// - [Description("Value associated with an option.")] - public string? name { get; set; } - + [Description("Value associated with an option.")] + public string? name { get; set; } + /// ///Metafield value associated with an option. /// - [Description("Metafield value associated with an option.")] - public string? linkedMetafieldValue { get; set; } - } - + [Description("Metafield value associated with an option.")] + public string? linkedMetafieldValue { get; set; } + } + /// ///The `Order` object represents a customer's request to purchase one or more products from a store. Use the `Order` object to handle the complete purchase lifecycle from checkout to fulfillment. /// @@ -80726,1801 +80726,1801 @@ public class OptionValueUpdateInput : GraphQLObject /// ///Learn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment). /// - [Description("The `Order` object represents a customer's request to purchase one or more products from a store. Use the `Order` object to handle the complete purchase lifecycle from checkout to fulfillment.\n\nUse the `Order` object when you need to:\n\n- Display order details on customer account pages or admin dashboards.\n- Create orders for phone sales, wholesale customers, or subscription services.\n- Update order information like shipping addresses, notes, or fulfillment status.\n- Process returns, exchanges, and partial refunds.\n- Generate invoices, receipts, and shipping labels.\n\nThe `Order` object serves as the central hub connecting customer information, product details, payment processing, and fulfillment data within the GraphQL Admin API schema.\n\n> Note:\n> Only the last 60 days' worth of orders from a store are accessible from the `Order` object by default. If you want to access older records,\n> then you need to [request access to all orders](https://shopify.dev/docs/api/usage/access-scopes#orders-permissions). If your app is granted\n> access, then you can add the `read_all_orders`, `read_orders`, and `write_orders` scopes.\n\n> Caution:\n> Only use orders data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/docs/api/usage/access-scopes#requesting-specific-permissions) for apps that don't have a legitimate use for the associated data.\n\nLearn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).")] - public class Order : GraphQLObject, ICommentEventSubject, IHasEvents, IHasLocalizationExtensions, IHasLocalizedFields, IHasMetafieldDefinitions, IHasMetafields, ILegacyInteroperability, INode, ICommentEventEmbed, IMetafieldReference, IMetafieldReferencer - { + [Description("The `Order` object represents a customer's request to purchase one or more products from a store. Use the `Order` object to handle the complete purchase lifecycle from checkout to fulfillment.\n\nUse the `Order` object when you need to:\n\n- Display order details on customer account pages or admin dashboards.\n- Create orders for phone sales, wholesale customers, or subscription services.\n- Update order information like shipping addresses, notes, or fulfillment status.\n- Process returns, exchanges, and partial refunds.\n- Generate invoices, receipts, and shipping labels.\n\nThe `Order` object serves as the central hub connecting customer information, product details, payment processing, and fulfillment data within the GraphQL Admin API schema.\n\n> Note:\n> Only the last 60 days' worth of orders from a store are accessible from the `Order` object by default. If you want to access older records,\n> then you need to [request access to all orders](https://shopify.dev/docs/api/usage/access-scopes#orders-permissions). If your app is granted\n> access, then you can add the `read_all_orders`, `read_orders`, and `write_orders` scopes.\n\n> Caution:\n> Only use orders data if it's required for your app's functionality. Shopify will restrict [access to scopes](https://shopify.dev/docs/api/usage/access-scopes#requesting-specific-permissions) for apps that don't have a legitimate use for the associated data.\n\nLearn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).")] + public class Order : GraphQLObject, ICommentEventSubject, IHasEvents, IHasLocalizationExtensions, IHasLocalizedFields, IHasMetafieldDefinitions, IHasMetafields, ILegacyInteroperability, INode, ICommentEventEmbed, IMetafieldReference, IMetafieldReferencer + { /// ///A list of additional fees applied to an order, such as duties, import fees, or [tax lines](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.additionalFees.taxLines). /// - [Description("A list of additional fees applied to an order, such as duties, import fees, or [tax lines](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.additionalFees.taxLines).")] - [NonNull] - public IEnumerable? additionalFees { get; set; } - + [Description("A list of additional fees applied to an order, such as duties, import fees, or [tax lines](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.additionalFees.taxLines).")] + [NonNull] + public IEnumerable? additionalFees { get; set; } + /// ///A list of sales agreements associated with the order, such as contracts defining payment terms, or delivery schedules between merchants and customers. /// - [Description("A list of sales agreements associated with the order, such as contracts defining payment terms, or delivery schedules between merchants and customers.")] - [NonNull] - public SalesAgreementConnection? agreements { get; set; } - + [Description("A list of sales agreements associated with the order, such as contracts defining payment terms, or delivery schedules between merchants and customers.")] + [NonNull] + public SalesAgreementConnection? agreements { get; set; } + /// ///A list of messages that appear on the **Orders** page in the Shopify admin. These alerts provide merchants with important information about an order's status or required actions. /// - [Description("A list of messages that appear on the **Orders** page in the Shopify admin. These alerts provide merchants with important information about an order's status or required actions.")] - [NonNull] - public IEnumerable? alerts { get; set; } - + [Description("A list of messages that appear on the **Orders** page in the Shopify admin. These alerts provide merchants with important information about an order's status or required actions.")] + [NonNull] + public IEnumerable? alerts { get; set; } + /// ///The application that created the order. For example, "Online Store", "Point of Sale", or a custom app name. ///Use this to identify the order source for attribution and fulfillment workflows. ///Learn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment). /// - [Description("The application that created the order. For example, \"Online Store\", \"Point of Sale\", or a custom app name.\nUse this to identify the order source for attribution and fulfillment workflows.\nLearn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).")] - public OrderApp? app { get; set; } - + [Description("The application that created the order. For example, \"Online Store\", \"Point of Sale\", or a custom app name.\nUse this to identify the order source for attribution and fulfillment workflows.\nLearn more about [building apps for orders and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment).")] + public OrderApp? app { get; set; } + /// ///The billing address associated with the payment method selected by the customer for an order. ///Returns `null` if no billing address was provided during checkout. /// - [Description("The billing address associated with the payment method selected by the customer for an order.\nReturns `null` if no billing address was provided during checkout.")] - public MailingAddress? billingAddress { get; set; } - + [Description("The billing address associated with the payment method selected by the customer for an order.\nReturns `null` if no billing address was provided during checkout.")] + public MailingAddress? billingAddress { get; set; } + /// ///Whether the billing address matches the [shipping address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.shippingAddress). Returns `true` if both addresses are the same, and `false` if they're different or if an address is missing. /// - [Description("Whether the billing address matches the [shipping address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.shippingAddress). Returns `true` if both addresses are the same, and `false` if they're different or if an address is missing.")] - [NonNull] - public bool? billingAddressMatchesShippingAddress { get; set; } - + [Description("Whether the billing address matches the [shipping address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.shippingAddress). Returns `true` if both addresses are the same, and `false` if they're different or if an address is missing.")] + [NonNull] + public bool? billingAddressMatchesShippingAddress { get; set; } + /// ///Whether an order can be manually marked as paid. Returns `false` if the order is already paid, is canceled, has pending [Shopify Payments](https://help.shopify.com/en/manual/payments/shopify-payments/payouts) transactions, or has a negative payment amount. /// - [Description("Whether an order can be manually marked as paid. Returns `false` if the order is already paid, is canceled, has pending [Shopify Payments](https://help.shopify.com/en/manual/payments/shopify-payments/payouts) transactions, or has a negative payment amount.")] - [NonNull] - public bool? canMarkAsPaid { get; set; } - + [Description("Whether an order can be manually marked as paid. Returns `false` if the order is already paid, is canceled, has pending [Shopify Payments](https://help.shopify.com/en/manual/payments/shopify-payments/payouts) transactions, or has a negative payment amount.")] + [NonNull] + public bool? canMarkAsPaid { get; set; } + /// ///Whether order notifications can be sent to the customer. ///Returns `true` if the customer has a valid [email address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.email). /// - [Description("Whether order notifications can be sent to the customer.\nReturns `true` if the customer has a valid [email address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.email).")] - [NonNull] - public bool? canNotifyCustomer { get; set; } - + [Description("Whether order notifications can be sent to the customer.\nReturns `true` if the customer has a valid [email address](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.email).")] + [NonNull] + public bool? canNotifyCustomer { get; set; } + /// ///The reason provided for an order cancellation. For example, a merchant might cancel an order if there's insufficient inventory. Returns `null` if the order hasn't been canceled. /// - [Description("The reason provided for an order cancellation. For example, a merchant might cancel an order if there's insufficient inventory. Returns `null` if the order hasn't been canceled.")] - [EnumType(typeof(OrderCancelReason))] - public string? cancelReason { get; set; } - + [Description("The reason provided for an order cancellation. For example, a merchant might cancel an order if there's insufficient inventory. Returns `null` if the order hasn't been canceled.")] + [EnumType(typeof(OrderCancelReason))] + public string? cancelReason { get; set; } + /// ///Details of an order's cancellation, if it has been canceled. This includes the reason, date, and any [staff notes](https://shopify.dev/api/admin-graphql/latest/objects/OrderCancellation#field-OrderCancellation.fields.staffNote). /// - [Description("Details of an order's cancellation, if it has been canceled. This includes the reason, date, and any [staff notes](https://shopify.dev/api/admin-graphql/latest/objects/OrderCancellation#field-OrderCancellation.fields.staffNote).")] - public OrderCancellation? cancellation { get; set; } - + [Description("Details of an order's cancellation, if it has been canceled. This includes the reason, date, and any [staff notes](https://shopify.dev/api/admin-graphql/latest/objects/OrderCancellation#field-OrderCancellation.fields.staffNote).")] + public OrderCancellation? cancellation { get; set; } + /// ///The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was canceled. ///Returns `null` if the order hasn't been canceled. /// - [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was canceled.\nReturns `null` if the order hasn't been canceled.")] - public DateTime? cancelledAt { get; set; } - + [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was canceled.\nReturns `null` if the order hasn't been canceled.")] + public DateTime? cancelledAt { get; set; } + /// ///Whether an authorized payment for an order can be captured. ///Returns `true` if an authorized payment exists that hasn't been fully captured yet. Learn more about [capturing payments](https://help.shopify.com/en/manual/fulfillment/managing-orders/payments/capturing-payments). /// - [Description("Whether an authorized payment for an order can be captured.\nReturns `true` if an authorized payment exists that hasn't been fully captured yet. Learn more about [capturing payments](https://help.shopify.com/en/manual/fulfillment/managing-orders/payments/capturing-payments).")] - [NonNull] - public bool? capturable { get; set; } - + [Description("Whether an authorized payment for an order can be captured.\nReturns `true` if an authorized payment exists that hasn't been fully captured yet. Learn more about [capturing payments](https://help.shopify.com/en/manual/fulfillment/managing-orders/payments/capturing-payments).")] + [NonNull] + public bool? capturable { get; set; } + /// ///The total discount amount that applies to the entire order in shop currency, before returns, refunds, order edits, and cancellations. /// - [Description("The total discount amount that applies to the entire order in shop currency, before returns, refunds, order edits, and cancellations.")] - [Obsolete("Use `cartDiscountAmountSet` instead.")] - public decimal? cartDiscountAmount { get; set; } - + [Description("The total discount amount that applies to the entire order in shop currency, before returns, refunds, order edits, and cancellations.")] + [Obsolete("Use `cartDiscountAmountSet` instead.")] + public decimal? cartDiscountAmount { get; set; } + /// ///The total discount amount applied at the time the order was created, displayed in both shop and presentment currencies, before returns, refunds, order edits, and cancellations. This field only includes discounts applied to the entire order. /// - [Description("The total discount amount applied at the time the order was created, displayed in both shop and presentment currencies, before returns, refunds, order edits, and cancellations. This field only includes discounts applied to the entire order.")] - public MoneyBag? cartDiscountAmountSet { get; set; } - + [Description("The total discount amount applied at the time the order was created, displayed in both shop and presentment currencies, before returns, refunds, order edits, and cancellations. This field only includes discounts applied to the entire order.")] + public MoneyBag? cartDiscountAmountSet { get; set; } + /// ///The sales channel from which an order originated, such as the [Online Store](https://shopify.dev/docs/apps/build/app-surfaces#online-store) or [Shopify POS](https://shopify.dev/docs/apps/build/app-surfaces#point-of-sale). /// - [Description("The sales channel from which an order originated, such as the [Online Store](https://shopify.dev/docs/apps/build/app-surfaces#online-store) or [Shopify POS](https://shopify.dev/docs/apps/build/app-surfaces#point-of-sale).")] - [Obsolete("Use `publication` instead.")] - public Channel? channel { get; set; } - + [Description("The sales channel from which an order originated, such as the [Online Store](https://shopify.dev/docs/apps/build/app-surfaces#online-store) or [Shopify POS](https://shopify.dev/docs/apps/build/app-surfaces#point-of-sale).")] + [Obsolete("Use `publication` instead.")] + public Channel? channel { get; set; } + /// ///Details about the sales channel that created the order, such as the [channel app type](https://shopify.dev/docs/api/admin-graphql/latest/objects/channel#field-Channel.fields.channelType) ///and [channel name](https://shopify.dev/docs/api/admin-graphql/latest/objects/ChannelDefinition#field-ChannelDefinition.fields.channelName), which helps to track order sources. /// - [Description("Details about the sales channel that created the order, such as the [channel app type](https://shopify.dev/docs/api/admin-graphql/latest/objects/channel#field-Channel.fields.channelType)\nand [channel name](https://shopify.dev/docs/api/admin-graphql/latest/objects/ChannelDefinition#field-ChannelDefinition.fields.channelName), which helps to track order sources.")] - public ChannelInformation? channelInformation { get; set; } - + [Description("Details about the sales channel that created the order, such as the [channel app type](https://shopify.dev/docs/api/admin-graphql/latest/objects/channel#field-Channel.fields.channelType)\nand [channel name](https://shopify.dev/docs/api/admin-graphql/latest/objects/ChannelDefinition#field-ChannelDefinition.fields.channelName), which helps to track order sources.")] + public ChannelInformation? channelInformation { get; set; } + /// ///The IP address of the customer who placed the order. Useful for fraud detection and geographic analysis. /// - [Description("The IP address of the customer who placed the order. Useful for fraud detection and geographic analysis.")] - public string? clientIp { get; set; } - + [Description("The IP address of the customer who placed the order. Useful for fraud detection and geographic analysis.")] + public string? clientIp { get; set; } + /// ///Whether an order is closed. An order is considered closed if all its line items have been fulfilled or canceled, and all financial transactions are complete. /// - [Description("Whether an order is closed. An order is considered closed if all its line items have been fulfilled or canceled, and all financial transactions are complete.")] - [NonNull] - public bool? closed { get; set; } - + [Description("Whether an order is closed. An order is considered closed if all its line items have been fulfilled or canceled, and all financial transactions are complete.")] + [NonNull] + public bool? closed { get; set; } + /// ///The date and time [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was closed. Shopify automatically records this timestamp when all items have been fulfilled or canceled, and all financial transactions are complete. Returns `null` if the order isn't closed. /// - [Description("The date and time [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was closed. Shopify automatically records this timestamp when all items have been fulfilled or canceled, and all financial transactions are complete. Returns `null` if the order isn't closed.")] - public DateTime? closedAt { get; set; } - + [Description("The date and time [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was closed. Shopify automatically records this timestamp when all items have been fulfilled or canceled, and all financial transactions are complete. Returns `null` if the order isn't closed.")] + public DateTime? closedAt { get; set; } + /// ///A customer-facing order identifier, often shown instead of the sequential order name. ///It uses a random alphanumeric format (for example, `XPAV284CT`) and isn't guaranteed to be unique across orders. /// - [Description("A customer-facing order identifier, often shown instead of the sequential order name.\nIt uses a random alphanumeric format (for example, `XPAV284CT`) and isn't guaranteed to be unique across orders.")] - public string? confirmationNumber { get; set; } - + [Description("A customer-facing order identifier, often shown instead of the sequential order name.\nIt uses a random alphanumeric format (for example, `XPAV284CT`) and isn't guaranteed to be unique across orders.")] + public string? confirmationNumber { get; set; } + /// ///Whether inventory has been reserved for an order. Returns `true` if inventory quantities for an order's [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem) have been reserved. ///Learn more about [managing inventory quantities and states](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states). /// - [Description("Whether inventory has been reserved for an order. Returns `true` if inventory quantities for an order's [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem) have been reserved.\nLearn more about [managing inventory quantities and states](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states).")] - [NonNull] - public bool? confirmed { get; set; } - + [Description("Whether inventory has been reserved for an order. Returns `true` if inventory quantities for an order's [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem) have been reserved.\nLearn more about [managing inventory quantities and states](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps/manage-quantities-states).")] + [NonNull] + public bool? confirmed { get; set; } + /// ///The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was created. This timestamp is set when the customer completes checkout and remains unchanged throughout an order's lifecycle. /// - [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was created. This timestamp is set when the customer completes checkout and remains unchanged throughout an order's lifecycle.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when an order was created. This timestamp is set when the customer completes checkout and remains unchanged throughout an order's lifecycle.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The shop currency when the order was placed. For example, "USD" or "CAD". /// - [Description("The shop currency when the order was placed. For example, \"USD\" or \"CAD\".")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The shop currency when the order was placed. For example, \"USD\" or \"CAD\".")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///The current total of all discounts applied to the entire order, after returns, refunds, order edits, and cancellations. This includes discount codes, automatic discounts, and other promotions that affect the whole order rather than individual line items. To get the original discount amount at the time of order creation, use the [`cartDiscountAmountSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.cartDiscountAmountSet) field. /// - [Description("The current total of all discounts applied to the entire order, after returns, refunds, order edits, and cancellations. This includes discount codes, automatic discounts, and other promotions that affect the whole order rather than individual line items. To get the original discount amount at the time of order creation, use the [`cartDiscountAmountSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.cartDiscountAmountSet) field.")] - [NonNull] - public MoneyBag? currentCartDiscountAmountSet { get; set; } - + [Description("The current total of all discounts applied to the entire order, after returns, refunds, order edits, and cancellations. This includes discount codes, automatic discounts, and other promotions that affect the whole order rather than individual line items. To get the original discount amount at the time of order creation, use the [`cartDiscountAmountSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.cartDiscountAmountSet) field.")] + [NonNull] + public MoneyBag? currentCartDiscountAmountSet { get; set; } + /// ///The current shipping price after applying refunds and discounts. ///If the parent `order.taxesIncluded` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price. /// - [Description("The current shipping price after applying refunds and discounts.\nIf the parent `order.taxesIncluded` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.")] - [NonNull] - public MoneyBag? currentShippingPriceSet { get; set; } - + [Description("The current shipping price after applying refunds and discounts.\nIf the parent `order.taxesIncluded` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.")] + [NonNull] + public MoneyBag? currentShippingPriceSet { get; set; } + /// ///The current sum of the quantities for all line items that contribute to the order's subtotal price, after returns, refunds, order edits, and cancellations. /// - [Description("The current sum of the quantities for all line items that contribute to the order's subtotal price, after returns, refunds, order edits, and cancellations.")] - [NonNull] - public int? currentSubtotalLineItemsQuantity { get; set; } - + [Description("The current sum of the quantities for all line items that contribute to the order's subtotal price, after returns, refunds, order edits, and cancellations.")] + [NonNull] + public int? currentSubtotalLineItemsQuantity { get; set; } + /// ///The total price of the order, after returns and refunds, in shop and presentment currencies. ///This includes taxes and discounts. /// - [Description("The total price of the order, after returns and refunds, in shop and presentment currencies.\nThis includes taxes and discounts.")] - [NonNull] - public MoneyBag? currentSubtotalPriceSet { get; set; } - + [Description("The total price of the order, after returns and refunds, in shop and presentment currencies.\nThis includes taxes and discounts.")] + [NonNull] + public MoneyBag? currentSubtotalPriceSet { get; set; } + /// ///A list of all tax lines applied to line items on the order, after returns. ///Tax line prices represent the total price for all tax lines with the same `rate` and `title`. /// - [Description("A list of all tax lines applied to line items on the order, after returns.\nTax line prices represent the total price for all tax lines with the same `rate` and `title`.")] - [NonNull] - public IEnumerable? currentTaxLines { get; set; } - + [Description("A list of all tax lines applied to line items on the order, after returns.\nTax line prices represent the total price for all tax lines with the same `rate` and `title`.")] + [NonNull] + public IEnumerable? currentTaxLines { get; set; } + /// ///The current total of all additional fees for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations. Additional fees can include charges such as duties, import fees, and special handling. /// - [Description("The current total of all additional fees for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations. Additional fees can include charges such as duties, import fees, and special handling.")] - public MoneyBag? currentTotalAdditionalFeesSet { get; set; } - + [Description("The current total of all additional fees for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations. Additional fees can include charges such as duties, import fees, and special handling.")] + public MoneyBag? currentTotalAdditionalFeesSet { get; set; } + /// ///The total amount discounted on the order after returns and refunds, in shop and presentment currencies. ///This includes both order and line level discounts. /// - [Description("The total amount discounted on the order after returns and refunds, in shop and presentment currencies.\nThis includes both order and line level discounts.")] - [NonNull] - public MoneyBag? currentTotalDiscountsSet { get; set; } - + [Description("The total amount discounted on the order after returns and refunds, in shop and presentment currencies.\nThis includes both order and line level discounts.")] + [NonNull] + public MoneyBag? currentTotalDiscountsSet { get; set; } + /// ///The current total duties amount for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations. /// - [Description("The current total duties amount for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations.")] - public MoneyBag? currentTotalDutiesSet { get; set; } - + [Description("The current total duties amount for an order, after any returns or modifications. Modifications include returns, refunds, order edits, and cancellations.")] + public MoneyBag? currentTotalDutiesSet { get; set; } + /// ///The total price of the order, after returns, in shop and presentment currencies. ///This includes taxes and discounts. /// - [Description("The total price of the order, after returns, in shop and presentment currencies.\nThis includes taxes and discounts.")] - [NonNull] - public MoneyBag? currentTotalPriceSet { get; set; } - + [Description("The total price of the order, after returns, in shop and presentment currencies.\nThis includes taxes and discounts.")] + [NonNull] + public MoneyBag? currentTotalPriceSet { get; set; } + /// ///The sum of the prices of all tax lines applied to line items on the order, after returns and refunds, in shop and presentment currencies. /// - [Description("The sum of the prices of all tax lines applied to line items on the order, after returns and refunds, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? currentTotalTaxSet { get; set; } - + [Description("The sum of the prices of all tax lines applied to line items on the order, after returns and refunds, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? currentTotalTaxSet { get; set; } + /// ///The total weight of the order after returns and refunds, in grams. /// - [Description("The total weight of the order after returns and refunds, in grams.")] - [NonNull] - public ulong? currentTotalWeight { get; set; } - + [Description("The total weight of the order after returns and refunds, in grams.")] + [NonNull] + public ulong? currentTotalWeight { get; set; } + /// ///A list of additional information that has been attached to the order. For example, gift message, delivery instructions, or internal notes. /// - [Description("A list of additional information that has been attached to the order. For example, gift message, delivery instructions, or internal notes.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of additional information that has been attached to the order. For example, gift message, delivery instructions, or internal notes.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The customer who placed an order. Returns `null` if an order was created through a checkout without customer authentication, such as a guest checkout. ///Learn more about [customer accounts](https://help.shopify.com/manual/customers/customer-accounts). /// - [Description("The customer who placed an order. Returns `null` if an order was created through a checkout without customer authentication, such as a guest checkout.\nLearn more about [customer accounts](https://help.shopify.com/manual/customers/customer-accounts).")] - public Customer? customer { get; set; } - + [Description("The customer who placed an order. Returns `null` if an order was created through a checkout without customer authentication, such as a guest checkout.\nLearn more about [customer accounts](https://help.shopify.com/manual/customers/customer-accounts).")] + public Customer? customer { get; set; } + /// ///Whether the customer agreed to receive marketing emails at the time of purchase. ///Use this to ensure compliance with marketing consent laws and to segment customers for email campaigns. ///Learn more about [building customer segments](https://shopify.dev/docs/apps/build/marketing-analytics/customer-segments). /// - [Description("Whether the customer agreed to receive marketing emails at the time of purchase.\nUse this to ensure compliance with marketing consent laws and to segment customers for email campaigns.\nLearn more about [building customer segments](https://shopify.dev/docs/apps/build/marketing-analytics/customer-segments).")] - [NonNull] - public bool? customerAcceptsMarketing { get; set; } - + [Description("Whether the customer agreed to receive marketing emails at the time of purchase.\nUse this to ensure compliance with marketing consent laws and to segment customers for email campaigns.\nLearn more about [building customer segments](https://shopify.dev/docs/apps/build/marketing-analytics/customer-segments).")] + [NonNull] + public bool? customerAcceptsMarketing { get; set; } + /// ///The customer's visits and interactions with the online store before placing the order. /// - [Description("The customer's visits and interactions with the online store before placing the order.")] - [Obsolete("Use `customerJourneySummary` instead.")] - public CustomerJourney? customerJourney { get; set; } - + [Description("The customer's visits and interactions with the online store before placing the order.")] + [Obsolete("Use `customerJourneySummary` instead.")] + public CustomerJourney? customerJourney { get; set; } + /// ///The customer's visits and interactions with the online store before placing the order. ///Use this to understand customer behavior, attribution sources, and marketing effectiveness to optimize your sales funnel. /// - [Description("The customer's visits and interactions with the online store before placing the order.\nUse this to understand customer behavior, attribution sources, and marketing effectiveness to optimize your sales funnel.")] - public CustomerJourneySummary? customerJourneySummary { get; set; } - + [Description("The customer's visits and interactions with the online store before placing the order.\nUse this to understand customer behavior, attribution sources, and marketing effectiveness to optimize your sales funnel.")] + public CustomerJourneySummary? customerJourneySummary { get; set; } + /// ///The customer's language and region preference at the time of purchase. For example, "en" for English, "fr-CA" for French (Canada), or "es-MX" for Spanish (Mexico). ///Use this to provide localized customer service and targeted marketing in the customer's preferred language. /// - [Description("The customer's language and region preference at the time of purchase. For example, \"en\" for English, \"fr-CA\" for French (Canada), or \"es-MX\" for Spanish (Mexico).\nUse this to provide localized customer service and targeted marketing in the customer's preferred language.")] - public string? customerLocale { get; set; } - + [Description("The customer's language and region preference at the time of purchase. For example, \"en\" for English, \"fr-CA\" for French (Canada), or \"es-MX\" for Spanish (Mexico).\nUse this to provide localized customer service and targeted marketing in the customer's preferred language.")] + public string? customerLocale { get; set; } + /// ///A list of discounts that are applied to the order, excluding order edits and refunds. ///Includes discount codes, automatic discounts, and other promotions that reduce the order total. /// - [Description("A list of discounts that are applied to the order, excluding order edits and refunds.\nIncludes discount codes, automatic discounts, and other promotions that reduce the order total.")] - [NonNull] - public DiscountApplicationConnection? discountApplications { get; set; } - + [Description("A list of discounts that are applied to the order, excluding order edits and refunds.\nIncludes discount codes, automatic discounts, and other promotions that reduce the order total.")] + [NonNull] + public DiscountApplicationConnection? discountApplications { get; set; } + /// ///The discount code used for an order. Returns `null` if no discount code was applied. /// - [Description("The discount code used for an order. Returns `null` if no discount code was applied.")] - public string? discountCode { get; set; } - + [Description("The discount code used for an order. Returns `null` if no discount code was applied.")] + public string? discountCode { get; set; } + /// ///The discount codes used for the order. Multiple codes can be applied to a single order. /// - [Description("The discount codes used for the order. Multiple codes can be applied to a single order.")] - [NonNull] - public IEnumerable? discountCodes { get; set; } - + [Description("The discount codes used for the order. Multiple codes can be applied to a single order.")] + [NonNull] + public IEnumerable? discountCodes { get; set; } + /// ///The primary address of the customer, prioritizing shipping address over billing address when both are available. ///Returns `null` if neither shipping address nor billing address was provided. /// - [Description("The primary address of the customer, prioritizing shipping address over billing address when both are available.\nReturns `null` if neither shipping address nor billing address was provided.")] - public MailingAddress? displayAddress { get; set; } - + [Description("The primary address of the customer, prioritizing shipping address over billing address when both are available.\nReturns `null` if neither shipping address nor billing address was provided.")] + public MailingAddress? displayAddress { get; set; } + /// ///An order's financial status for display in the Shopify admin. /// - [Description("An order's financial status for display in the Shopify admin.")] - [EnumType(typeof(OrderDisplayFinancialStatus))] - public string? displayFinancialStatus { get; set; } - + [Description("An order's financial status for display in the Shopify admin.")] + [EnumType(typeof(OrderDisplayFinancialStatus))] + public string? displayFinancialStatus { get; set; } + /// ///The order's fulfillment status that displays in the Shopify admin to merchants. For example, an order might be unfulfilled or scheduled. ///For detailed processing, use the [`FulfillmentOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object. /// - [Description("The order's fulfillment status that displays in the Shopify admin to merchants. For example, an order might be unfulfilled or scheduled.\nFor detailed processing, use the [`FulfillmentOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object.")] - [NonNull] - [EnumType(typeof(OrderDisplayFulfillmentStatus))] - public string? displayFulfillmentStatus { get; set; } - + [Description("The order's fulfillment status that displays in the Shopify admin to merchants. For example, an order might be unfulfilled or scheduled.\nFor detailed processing, use the [`FulfillmentOrder`](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) object.")] + [NonNull] + [EnumType(typeof(OrderDisplayFulfillmentStatus))] + public string? displayFulfillmentStatus { get; set; } + /// ///The status of the refund(s) that can be shown to the merchant. Mostly used when a refund is in a deferred ///state (for example, it was not yet sent to the payments provider). /// - [Description("The status of the refund(s) that can be shown to the merchant. Mostly used when a refund is in a deferred\nstate (for example, it was not yet sent to the payments provider).")] - [EnumType(typeof(OrderDisplayRefundStatus))] - public string? displayRefundStatus { get; set; } - + [Description("The status of the refund(s) that can be shown to the merchant. Mostly used when a refund is in a deferred\nstate (for example, it was not yet sent to the payments provider).")] + [EnumType(typeof(OrderDisplayRefundStatus))] + public string? displayRefundStatus { get; set; } + /// ///A list of payment disputes associated with the order, such as chargebacks or payment inquiries. ///Disputes occur when customers challenge transactions with their bank or payment provider. /// - [Description("A list of payment disputes associated with the order, such as chargebacks or payment inquiries.\nDisputes occur when customers challenge transactions with their bank or payment provider.")] - [NonNull] - public IEnumerable? disputes { get; set; } - + [Description("A list of payment disputes associated with the order, such as chargebacks or payment inquiries.\nDisputes occur when customers challenge transactions with their bank or payment provider.")] + [NonNull] + public IEnumerable? disputes { get; set; } + /// ///Whether duties are included in the subtotal price of the order. ///Duties are import taxes charged by customs authorities when goods cross international borders. /// - [Description("Whether duties are included in the subtotal price of the order.\nDuties are import taxes charged by customs authorities when goods cross international borders.")] - [NonNull] - public bool? dutiesIncluded { get; set; } - + [Description("Whether duties are included in the subtotal price of the order.\nDuties are import taxes charged by customs authorities when goods cross international borders.")] + [NonNull] + public bool? dutiesIncluded { get; set; } + /// ///Whether the order has had any edits applied. For example, adding or removing line items, updating quantities, or changing prices. /// - [Description("Whether the order has had any edits applied. For example, adding or removing line items, updating quantities, or changing prices.")] - [NonNull] - public bool? edited { get; set; } - + [Description("Whether the order has had any edits applied. For example, adding or removing line items, updating quantities, or changing prices.")] + [NonNull] + public bool? edited { get; set; } + /// ///The email address associated with the customer for this order. ///Used for sending order confirmations, shipping notifications, and other order-related communications. ///Returns `null` if no email address was provided during checkout. /// - [Description("The email address associated with the customer for this order.\nUsed for sending order confirmations, shipping notifications, and other order-related communications.\nReturns `null` if no email address was provided during checkout.")] - public string? email { get; set; } - + [Description("The email address associated with the customer for this order.\nUsed for sending order confirmations, shipping notifications, and other order-related communications.\nReturns `null` if no email address was provided during checkout.")] + public string? email { get; set; } + /// ///Whether taxes on the order are estimated. ///This field returns `false` when taxes on the order are finalized and aren't subject to any changes. /// - [Description("Whether taxes on the order are estimated.\nThis field returns `false` when taxes on the order are finalized and aren't subject to any changes.")] - [NonNull] - public bool? estimatedTaxes { get; set; } - + [Description("Whether taxes on the order are estimated.\nThis field returns `false` when taxes on the order are finalized and aren't subject to any changes.")] + [NonNull] + public bool? estimatedTaxes { get; set; } + /// ///A list of events associated with the order. Events track significant changes and activities related to the order, such as creation, payment, fulfillment, and cancellation. /// - [Description("A list of events associated with the order. Events track significant changes and activities related to the order, such as creation, payment, fulfillment, and cancellation.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("A list of events associated with the order. Events track significant changes and activities related to the order, such as creation, payment, fulfillment, and cancellation.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A list of ExchangeV2s for the order. /// - [Description("A list of ExchangeV2s for the order.")] - [Obsolete("Use `returns` instead.")] - [NonNull] - public ExchangeV2Connection? exchangeV2s { get; set; } - + [Description("A list of ExchangeV2s for the order.")] + [Obsolete("Use `returns` instead.")] + [NonNull] + public ExchangeV2Connection? exchangeV2s { get; set; } + /// ///Whether there are line items that can be fulfilled. ///This field returns `false` when the order has no fulfillable line items. ///For a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object. /// - [Description("Whether there are line items that can be fulfilled.\nThis field returns `false` when the order has no fulfillable line items.\nFor a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.")] - [NonNull] - public bool? fulfillable { get; set; } - + [Description("Whether there are line items that can be fulfilled.\nThis field returns `false` when the order has no fulfillable line items.\nFor a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.")] + [NonNull] + public bool? fulfillable { get; set; } + /// ///A list of [fulfillment orders](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) for an order. ///Each fulfillment order groups [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.lineItems) that are fulfilled together, ///allowing an order to be processed in parts if needed. /// - [Description("A list of [fulfillment orders](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) for an order.\nEach fulfillment order groups [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.lineItems) that are fulfilled together,\nallowing an order to be processed in parts if needed.")] - [NonNull] - public FulfillmentOrderConnection? fulfillmentOrders { get; set; } - + [Description("A list of [fulfillment orders](https://shopify.dev/docs/api/admin-graphql/latest/objects/FulfillmentOrder) for an order.\nEach fulfillment order groups [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-Order.fields.lineItems) that are fulfilled together,\nallowing an order to be processed in parts if needed.")] + [NonNull] + public FulfillmentOrderConnection? fulfillmentOrders { get; set; } + /// ///A list of shipments for the order. Fulfillments represent the physical shipment of products to customers. /// - [Description("A list of shipments for the order. Fulfillments represent the physical shipment of products to customers.")] - [NonNull] - public IEnumerable? fulfillments { get; set; } - + [Description("A list of shipments for the order. Fulfillments represent the physical shipment of products to customers.")] + [NonNull] + public IEnumerable? fulfillments { get; set; } + /// ///The total number of fulfillments for the order, including canceled ones. /// - [Description("The total number of fulfillments for the order, including canceled ones.")] - public Count? fulfillmentsCount { get; set; } - + [Description("The total number of fulfillments for the order, including canceled ones.")] + public Count? fulfillmentsCount { get; set; } + /// ///Whether the order has been paid in full. This field returns `true` when the total amount received equals or exceeds the order total. /// - [Description("Whether the order has been paid in full. This field returns `true` when the total amount received equals or exceeds the order total.")] - [NonNull] - public bool? fullyPaid { get; set; } - + [Description("Whether the order has been paid in full. This field returns `true` when the total amount received equals or exceeds the order total.")] + [NonNull] + public bool? fullyPaid { get; set; } + /// ///Whether the merchant has added a timeline comment to the order. /// - [Description("Whether the merchant has added a timeline comment to the order.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Whether the merchant has added a timeline comment to the order.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Information about the incoterm used for the order. /// - [Description("Information about the incoterm used for the order.")] - public IncotermInformation? incotermInformation { get; set; } - + [Description("Information about the incoterm used for the order.")] + public IncotermInformation? incotermInformation { get; set; } + /// ///The URL of the first page of the online store that the customer visited before they submitted the order. /// - [Description("The URL of the first page of the online store that the customer visited before they submitted the order.")] - [Obsolete("Use `customerJourneySummary.lastVisit.landingPageHtml` instead")] - public string? landingPageDisplayText { get; set; } - + [Description("The URL of the first page of the online store that the customer visited before they submitted the order.")] + [Obsolete("Use `customerJourneySummary.lastVisit.landingPageHtml` instead")] + public string? landingPageDisplayText { get; set; } + /// ///The first page of the online store that the customer visited before they submitted the order. /// - [Description("The first page of the online store that the customer visited before they submitted the order.")] - [Obsolete("Use `customerJourneySummary.lastVisit.landingPage` instead")] - public string? landingPageUrl { get; set; } - + [Description("The first page of the online store that the customer visited before they submitted the order.")] + [Obsolete("Use `customerJourneySummary.lastVisit.landingPage` instead")] + public string? landingPageUrl { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///A list of the order's line items. Line items represent the individual products and quantities that make up the order. /// - [Description("A list of the order's line items. Line items represent the individual products and quantities that make up the order.")] - [NonNull] - public LineItemConnection? lineItems { get; set; } - + [Description("A list of the order's line items. Line items represent the individual products and quantities that make up the order.")] + [NonNull] + public LineItemConnection? lineItems { get; set; } + /// ///List of localization extensions for the resource. /// - [Description("List of localization extensions for the resource.")] - [Obsolete("This connection will be removed in a future version. Use `localizedFields` instead.")] - [NonNull] - public LocalizationExtensionConnection? localizationExtensions { get; set; } - + [Description("List of localization extensions for the resource.")] + [Obsolete("This connection will be removed in a future version. Use `localizedFields` instead.")] + [NonNull] + public LocalizationExtensionConnection? localizationExtensions { get; set; } + /// ///List of localized fields for the resource. /// - [Description("List of localized fields for the resource.")] - [NonNull] - public LocalizedFieldConnection? localizedFields { get; set; } - + [Description("List of localized fields for the resource.")] + [NonNull] + public LocalizedFieldConnection? localizedFields { get; set; } + /// ///The legal business structure that the merchant operates under for this order, such as an LLC, corporation, or partnership. ///Used for tax reporting, legal compliance, and determining which business entity is responsible for the order. /// - [Description("The legal business structure that the merchant operates under for this order, such as an LLC, corporation, or partnership.\nUsed for tax reporting, legal compliance, and determining which business entity is responsible for the order.")] - [NonNull] - public BusinessEntity? merchantBusinessEntity { get; set; } - + [Description("The legal business structure that the merchant operates under for this order, such as an LLC, corporation, or partnership.\nUsed for tax reporting, legal compliance, and determining which business entity is responsible for the order.")] + [NonNull] + public BusinessEntity? merchantBusinessEntity { get; set; } + /// ///Whether the order can be edited by the merchant. Returns `false` for orders that can't be modified, such as canceled orders or orders with specific payment statuses. /// - [Description("Whether the order can be edited by the merchant. Returns `false` for orders that can't be modified, such as canceled orders or orders with specific payment statuses.")] - [NonNull] - public bool? merchantEditable { get; set; } - + [Description("Whether the order can be edited by the merchant. Returns `false` for orders that can't be modified, such as canceled orders or orders with specific payment statuses.")] + [NonNull] + public bool? merchantEditable { get; set; } + /// ///A list of reasons why the order can't be edited. For example, canceled orders can't be edited. /// - [Description("A list of reasons why the order can't be edited. For example, canceled orders can't be edited.")] - [NonNull] - public IEnumerable? merchantEditableErrors { get; set; } - + [Description("A list of reasons why the order can't be edited. For example, canceled orders can't be edited.")] + [NonNull] + public IEnumerable? merchantEditableErrors { get; set; } + /// ///The application acting as the Merchant of Record for the order. The Merchant of Record is responsible for tax collection and remittance. /// - [Description("The application acting as the Merchant of Record for the order. The Merchant of Record is responsible for tax collection and remittance.")] - public OrderApp? merchantOfRecordApp { get; set; } - + [Description("The application acting as the Merchant of Record for the order. The Merchant of Record is responsible for tax collection and remittance.")] + public OrderApp? merchantOfRecordApp { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The unique identifier for the order that appears on the order page in the Shopify admin and the **Order status** page. ///For example, "#1001", "EN1001", or "1001-A". ///This value isn't unique across multiple stores. Use this field to identify orders in the Shopify admin and for order tracking. /// - [Description("The unique identifier for the order that appears on the order page in the Shopify admin and the **Order status** page.\nFor example, \"#1001\", \"EN1001\", or \"1001-A\".\nThis value isn't unique across multiple stores. Use this field to identify orders in the Shopify admin and for order tracking.")] - [NonNull] - public string? name { get; set; } - + [Description("The unique identifier for the order that appears on the order page in the Shopify admin and the **Order status** page.\nFor example, \"#1001\", \"EN1001\", or \"1001-A\".\nThis value isn't unique across multiple stores. Use this field to identify orders in the Shopify admin and for order tracking.")] + [NonNull] + public string? name { get; set; } + /// ///The net payment for the order, based on the total amount received minus the total amount refunded, in shop currency. /// - [Description("The net payment for the order, based on the total amount received minus the total amount refunded, in shop currency.")] - [Obsolete("Use `netPaymentSet` instead.")] - [NonNull] - public decimal? netPayment { get; set; } - + [Description("The net payment for the order, based on the total amount received minus the total amount refunded, in shop currency.")] + [Obsolete("Use `netPaymentSet` instead.")] + [NonNull] + public decimal? netPayment { get; set; } + /// ///The net payment for the order, based on the total amount received minus the total amount refunded, in shop and presentment currencies. /// - [Description("The net payment for the order, based on the total amount received minus the total amount refunded, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? netPaymentSet { get; set; } - + [Description("The net payment for the order, based on the total amount received minus the total amount refunded, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? netPaymentSet { get; set; } + /// ///A list of line items that can't be fulfilled. ///For example, tips and fully refunded line items can't be fulfilled. ///For a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object. /// - [Description("A list of line items that can't be fulfilled.\nFor example, tips and fully refunded line items can't be fulfilled.\nFor a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.")] - [NonNull] - public LineItemConnection? nonFulfillableLineItems { get; set; } - + [Description("A list of line items that can't be fulfilled.\nFor example, tips and fully refunded line items can't be fulfilled.\nFor a more granular view of the fulfillment status, refer to the [FulfillmentOrder](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentOrder) object.")] + [NonNull] + public LineItemConnection? nonFulfillableLineItems { get; set; } + /// ///The note associated with the order. ///Contains additional information or instructions added by merchants or customers during the order process. ///Commonly used for special delivery instructions, gift messages, or internal processing notes. /// - [Description("The note associated with the order.\nContains additional information or instructions added by merchants or customers during the order process.\nCommonly used for special delivery instructions, gift messages, or internal processing notes.")] - public string? note { get; set; } - + [Description("The note associated with the order.\nContains additional information or instructions added by merchants or customers during the order process.\nCommonly used for special delivery instructions, gift messages, or internal processing notes.")] + public string? note { get; set; } + /// ///The order number used to generate the name using the store's configured order number prefix/suffix. This number isn't guaranteed to follow a consecutive integer sequence (e.g. 1, 2, 3..), nor is it guaranteed to be unique across multiple stores, or even for a single store. /// - [Description("The order number used to generate the name using the store's configured order number prefix/suffix. This number isn't guaranteed to follow a consecutive integer sequence (e.g. 1, 2, 3..), nor is it guaranteed to be unique across multiple stores, or even for a single store.")] - [NonNull] - public int? number { get; set; } - + [Description("The order number used to generate the name using the store's configured order number prefix/suffix. This number isn't guaranteed to follow a consecutive integer sequence (e.g. 1, 2, 3..), nor is it guaranteed to be unique across multiple stores, or even for a single store.")] + [NonNull] + public int? number { get; set; } + /// ///The total amount of all additional fees, such as import fees or taxes, that were applied when an order was created. ///Returns `null` if additional fees aren't applicable. /// - [Description("The total amount of all additional fees, such as import fees or taxes, that were applied when an order was created.\nReturns `null` if additional fees aren't applicable.")] - public MoneyBag? originalTotalAdditionalFeesSet { get; set; } - + [Description("The total amount of all additional fees, such as import fees or taxes, that were applied when an order was created.\nReturns `null` if additional fees aren't applicable.")] + public MoneyBag? originalTotalAdditionalFeesSet { get; set; } + /// ///The total amount of duties calculated when an order was created, before any modifications. Modifications include returns, refunds, order edits, and cancellations. Use [`currentTotalDutiesSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.currentTotalDutiesSet) to retrieve the current duties amount after adjustments. /// - [Description("The total amount of duties calculated when an order was created, before any modifications. Modifications include returns, refunds, order edits, and cancellations. Use [`currentTotalDutiesSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.currentTotalDutiesSet) to retrieve the current duties amount after adjustments.")] - public MoneyBag? originalTotalDutiesSet { get; set; } - + [Description("The total amount of duties calculated when an order was created, before any modifications. Modifications include returns, refunds, order edits, and cancellations. Use [`currentTotalDutiesSet`](https://shopify.dev/docs/api/admin-graphql/latest/objects/order#field-Order.fields.currentTotalDutiesSet) to retrieve the current duties amount after adjustments.")] + public MoneyBag? originalTotalDutiesSet { get; set; } + /// ///The total price of the order at the time of order creation, in shop and presentment currencies. ///Use this to compare the original order value against the current total after edits, returns, or refunds. /// - [Description("The total price of the order at the time of order creation, in shop and presentment currencies.\nUse this to compare the original order value against the current total after edits, returns, or refunds.")] - [NonNull] - public MoneyBag? originalTotalPriceSet { get; set; } - + [Description("The total price of the order at the time of order creation, in shop and presentment currencies.\nUse this to compare the original order value against the current total after edits, returns, or refunds.")] + [NonNull] + public MoneyBag? originalTotalPriceSet { get; set; } + /// ///The payment collection details for the order, including payment status, outstanding amounts, and collection information. ///Use this to understand when and how payments should be collected, especially for orders with deferred or installment payment terms. /// - [Description("The payment collection details for the order, including payment status, outstanding amounts, and collection information.\nUse this to understand when and how payments should be collected, especially for orders with deferred or installment payment terms.")] - [NonNull] - public OrderPaymentCollectionDetails? paymentCollectionDetails { get; set; } - + [Description("The payment collection details for the order, including payment status, outstanding amounts, and collection information.\nUse this to understand when and how payments should be collected, especially for orders with deferred or installment payment terms.")] + [NonNull] + public OrderPaymentCollectionDetails? paymentCollectionDetails { get; set; } + /// ///A list of the names of all payment gateways used for the order. ///For example, "Shopify Payments" and "Cash on Delivery (COD)". /// - [Description("A list of the names of all payment gateways used for the order.\nFor example, \"Shopify Payments\" and \"Cash on Delivery (COD)\".")] - [NonNull] - public IEnumerable? paymentGatewayNames { get; set; } - + [Description("A list of the names of all payment gateways used for the order.\nFor example, \"Shopify Payments\" and \"Cash on Delivery (COD)\".")] + [NonNull] + public IEnumerable? paymentGatewayNames { get; set; } + /// ///The payment terms associated with the order, such as net payment due dates or early payment discounts. Payment terms define when and how an order should be paid. Returns `null` if no specific payment terms were set for the order. /// - [Description("The payment terms associated with the order, such as net payment due dates or early payment discounts. Payment terms define when and how an order should be paid. Returns `null` if no specific payment terms were set for the order.")] - public PaymentTerms? paymentTerms { get; set; } - + [Description("The payment terms associated with the order, such as net payment due dates or early payment discounts. Payment terms define when and how an order should be paid. Returns `null` if no specific payment terms were set for the order.")] + public PaymentTerms? paymentTerms { get; set; } + /// ///The phone number associated with the customer for this order. ///Useful for contacting customers about shipping updates, delivery notifications, or order issues. ///Returns `null` if no phone number was provided during checkout. /// - [Description("The phone number associated with the customer for this order.\nUseful for contacting customers about shipping updates, delivery notifications, or order issues.\nReturns `null` if no phone number was provided during checkout.")] - public string? phone { get; set; } - + [Description("The phone number associated with the customer for this order.\nUseful for contacting customers about shipping updates, delivery notifications, or order issues.\nReturns `null` if no phone number was provided during checkout.")] + public string? phone { get; set; } + /// ///The fulfillment location that was assigned when the order was created. ///Orders can have multiple fulfillment orders. These fulfillment orders can each be assigned to a different location which is responsible for fulfilling a subset of the items in an order. The `Order.physicalLocation` field will only point to one of these locations. ///Use the [`FulfillmentOrder`](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder) ///object for up to date fulfillment location information. /// - [Description("The fulfillment location that was assigned when the order was created.\nOrders can have multiple fulfillment orders. These fulfillment orders can each be assigned to a different location which is responsible for fulfilling a subset of the items in an order. The `Order.physicalLocation` field will only point to one of these locations.\nUse the [`FulfillmentOrder`](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder)\nobject for up to date fulfillment location information.")] - [Obsolete("Use `fulfillmentOrders` to get the fulfillment location for the order")] - public Location? physicalLocation { get; set; } - + [Description("The fulfillment location that was assigned when the order was created.\nOrders can have multiple fulfillment orders. These fulfillment orders can each be assigned to a different location which is responsible for fulfilling a subset of the items in an order. The `Order.physicalLocation` field will only point to one of these locations.\nUse the [`FulfillmentOrder`](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder)\nobject for up to date fulfillment location information.")] + [Obsolete("Use `fulfillmentOrders` to get the fulfillment location for the order")] + public Location? physicalLocation { get; set; } + /// ///The purchase order (PO) number that's associated with an order. ///This is typically provided by business customers who require a PO number for their procurement. /// - [Description("The purchase order (PO) number that's associated with an order.\nThis is typically provided by business customers who require a PO number for their procurement.")] - public string? poNumber { get; set; } - + [Description("The purchase order (PO) number that's associated with an order.\nThis is typically provided by business customers who require a PO number for their procurement.")] + public string? poNumber { get; set; } + /// ///The currency used by the customer when placing the order. For example, "USD", "EUR", or "CAD". ///This may differ from the shop's base currency when serving international customers or using multi-currency pricing. /// - [Description("The currency used by the customer when placing the order. For example, \"USD\", \"EUR\", or \"CAD\".\nThis may differ from the shop's base currency when serving international customers or using multi-currency pricing.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? presentmentCurrencyCode { get; set; } - + [Description("The currency used by the customer when placing the order. For example, \"USD\", \"EUR\", or \"CAD\".\nThis may differ from the shop's base currency when serving international customers or using multi-currency pricing.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? presentmentCurrencyCode { get; set; } + /// ///The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was processed. ///This date and time might not match the date and time when the order was created. /// - [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was processed.\nThis date and time might not match the date and time when the order was created.")] - [NonNull] - public DateTime? processedAt { get; set; } - + [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was processed.\nThis date and time might not match the date and time when the order was created.")] + [NonNull] + public DateTime? processedAt { get; set; } + /// ///Whether the customer also purchased items from other stores in the network. /// - [Description("Whether the customer also purchased items from other stores in the network.")] - [NonNull] - public bool? productNetwork { get; set; } - + [Description("Whether the customer also purchased items from other stores in the network.")] + [NonNull] + public bool? productNetwork { get; set; } + /// ///The sales channel that the order was created from, such as the [Online Store](https://shopify.dev/docs/apps/build/app-surfaces#online-store) or [Shopify POS](https://shopify.dev/docs/apps/build/app-surfaces#point-of-sale). /// - [Description("The sales channel that the order was created from, such as the [Online Store](https://shopify.dev/docs/apps/build/app-surfaces#online-store) or [Shopify POS](https://shopify.dev/docs/apps/build/app-surfaces#point-of-sale).")] - public Publication? publication { get; set; } - + [Description("The sales channel that the order was created from, such as the [Online Store](https://shopify.dev/docs/apps/build/app-surfaces#online-store) or [Shopify POS](https://shopify.dev/docs/apps/build/app-surfaces#point-of-sale).")] + public Publication? publication { get; set; } + /// ///The business entity that placed the order, including company details and purchasing relationships. ///Used for B2B transactions to track which company or organization is responsible for the purchase and payment terms. /// - [Description("The business entity that placed the order, including company details and purchasing relationships.\nUsed for B2B transactions to track which company or organization is responsible for the purchase and payment terms.")] - public IPurchasingEntity? purchasingEntity { get; set; } - + [Description("The business entity that placed the order, including company details and purchasing relationships.\nUsed for B2B transactions to track which company or organization is responsible for the purchase and payment terms.")] + public IPurchasingEntity? purchasingEntity { get; set; } + /// ///The marketing referral code from the link that the customer clicked to visit the store. ///Supports the following URL attributes: "ref", "source", or "r". ///For example, if the URL is `{shop}.myshopify.com/products/slide?ref=j2tj1tn2`, then this value is `j2tj1tn2`. /// - [Description("The marketing referral code from the link that the customer clicked to visit the store.\nSupports the following URL attributes: \"ref\", \"source\", or \"r\".\nFor example, if the URL is `{shop}.myshopify.com/products/slide?ref=j2tj1tn2`, then this value is `j2tj1tn2`.")] - [Obsolete("Use `customerJourneySummary.lastVisit.referralCode` instead")] - public string? referralCode { get; set; } - + [Description("The marketing referral code from the link that the customer clicked to visit the store.\nSupports the following URL attributes: \"ref\", \"source\", or \"r\".\nFor example, if the URL is `{shop}.myshopify.com/products/slide?ref=j2tj1tn2`, then this value is `j2tj1tn2`.")] + [Obsolete("Use `customerJourneySummary.lastVisit.referralCode` instead")] + public string? referralCode { get; set; } + /// ///A web domain or short description of the source that sent the customer to your online store. For example, "shopify.com" or "email". /// - [Description("A web domain or short description of the source that sent the customer to your online store. For example, \"shopify.com\" or \"email\".")] - [Obsolete("Use `customerJourneySummary.lastVisit.referralInfoHtml` instead")] - public string? referrerDisplayText { get; set; } - + [Description("A web domain or short description of the source that sent the customer to your online store. For example, \"shopify.com\" or \"email\".")] + [Obsolete("Use `customerJourneySummary.lastVisit.referralInfoHtml` instead")] + public string? referrerDisplayText { get; set; } + /// ///The URL of the webpage where the customer clicked a link that sent them to your online store. /// - [Description("The URL of the webpage where the customer clicked a link that sent them to your online store.")] - [Obsolete("Use `customerJourneySummary.lastVisit.referrerUrl` instead")] - public string? referrerUrl { get; set; } - + [Description("The URL of the webpage where the customer clicked a link that sent them to your online store.")] + [Obsolete("Use `customerJourneySummary.lastVisit.referrerUrl` instead")] + public string? referrerUrl { get; set; } + /// ///The difference between the suggested and actual refund amount of all refunds that have been applied to the order. ///A positive value indicates a difference in the merchant's favor, and a negative value indicates a difference in the customer's favor. /// - [Description("The difference between the suggested and actual refund amount of all refunds that have been applied to the order.\nA positive value indicates a difference in the merchant's favor, and a negative value indicates a difference in the customer's favor.")] - [NonNull] - public MoneyBag? refundDiscrepancySet { get; set; } - + [Description("The difference between the suggested and actual refund amount of all refunds that have been applied to the order.\nA positive value indicates a difference in the merchant's favor, and a negative value indicates a difference in the customer's favor.")] + [NonNull] + public MoneyBag? refundDiscrepancySet { get; set; } + /// ///Whether the order can be refunded based on its payment transactions. ///Returns `false` for orders with no eligible payment transactions, such as fully refunded orders or orders with non-refundable payment methods. /// - [Description("Whether the order can be refunded based on its payment transactions.\nReturns `false` for orders with no eligible payment transactions, such as fully refunded orders or orders with non-refundable payment methods.")] - [NonNull] - public bool? refundable { get; set; } - + [Description("Whether the order can be refunded based on its payment transactions.\nReturns `false` for orders with no eligible payment transactions, such as fully refunded orders or orders with non-refundable payment methods.")] + [NonNull] + public bool? refundable { get; set; } + /// ///A list of refunds that have been applied to the order. ///Refunds represent money returned to customers for returned items, cancellations, or adjustments. /// - [Description("A list of refunds that have been applied to the order.\nRefunds represent money returned to customers for returned items, cancellations, or adjustments.")] - [NonNull] - public IEnumerable? refunds { get; set; } - + [Description("A list of refunds that have been applied to the order.\nRefunds represent money returned to customers for returned items, cancellations, or adjustments.")] + [NonNull] + public IEnumerable? refunds { get; set; } + /// ///The URL of the source that the order originated from, if found in the domain registry. Returns `null` if the source URL isn't in the domain registry. /// - [Description("The URL of the source that the order originated from, if found in the domain registry. Returns `null` if the source URL isn't in the domain registry.")] - public string? registeredSourceUrl { get; set; } - + [Description("The URL of the source that the order originated from, if found in the domain registry. Returns `null` if the source URL isn't in the domain registry.")] + public string? registeredSourceUrl { get; set; } + /// ///Whether the order requires physical shipping to the customer. ///Returns `false` for digital-only orders (such as gift cards or downloadable products) and `true` for orders with physical products that need delivery. ///Use this to determine shipping workflows and logistics requirements. /// - [Description("Whether the order requires physical shipping to the customer.\nReturns `false` for digital-only orders (such as gift cards or downloadable products) and `true` for orders with physical products that need delivery.\nUse this to determine shipping workflows and logistics requirements.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether the order requires physical shipping to the customer.\nReturns `false` for digital-only orders (such as gift cards or downloadable products) and `true` for orders with physical products that need delivery.\nUse this to determine shipping workflows and logistics requirements.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///Whether any line items on the order can be restocked into inventory. ///Returns `false` for digital products, custom items, or items that can't be resold. /// - [Description("Whether any line items on the order can be restocked into inventory.\nReturns `false` for digital products, custom items, or items that can't be resold.")] - [NonNull] - public bool? restockable { get; set; } - + [Description("Whether any line items on the order can be restocked into inventory.\nReturns `false` for digital products, custom items, or items that can't be resold.")] + [NonNull] + public bool? restockable { get; set; } + /// ///The physical location where a retail order is created or completed, except for draft POS orders completed using the "mark as paid" flow in the Shopify admin, which return `null`. Transactions associated with the order might have been processed at a different location. /// - [Description("The physical location where a retail order is created or completed, except for draft POS orders completed using the \"mark as paid\" flow in the Shopify admin, which return `null`. Transactions associated with the order might have been processed at a different location.")] - public Location? retailLocation { get; set; } - + [Description("The physical location where a retail order is created or completed, except for draft POS orders completed using the \"mark as paid\" flow in the Shopify admin, which return `null`. Transactions associated with the order might have been processed at a different location.")] + public Location? retailLocation { get; set; } + /// ///The order's aggregated return status for display purposes. ///Indicates the overall state of returns for the order, helping merchants track and manage the return process. /// - [Description("The order's aggregated return status for display purposes.\nIndicates the overall state of returns for the order, helping merchants track and manage the return process.")] - [NonNull] - [EnumType(typeof(OrderReturnStatus))] - public string? returnStatus { get; set; } - + [Description("The order's aggregated return status for display purposes.\nIndicates the overall state of returns for the order, helping merchants track and manage the return process.")] + [NonNull] + [EnumType(typeof(OrderReturnStatus))] + public string? returnStatus { get; set; } + /// ///The returns associated with the order. ///Contains information about items that customers have requested to return, including return reasons, status, and refund details. ///Use this to track and manage the return process for order items. /// - [Description("The returns associated with the order.\nContains information about items that customers have requested to return, including return reasons, status, and refund details.\nUse this to track and manage the return process for order items.")] - [NonNull] - public ReturnConnection? returns { get; set; } - + [Description("The returns associated with the order.\nContains information about items that customers have requested to return, including return reasons, status, and refund details.\nUse this to track and manage the return process for order items.")] + [NonNull] + public ReturnConnection? returns { get; set; } + /// ///The risk assessment summary for the order. ///Provides fraud analysis and risk scoring to help you identify potentially fraudulent orders. ///Use this to make informed decisions about order fulfillment and payment processing. /// - [Description("The risk assessment summary for the order.\nProvides fraud analysis and risk scoring to help you identify potentially fraudulent orders.\nUse this to make informed decisions about order fulfillment and payment processing.")] - [NonNull] - public OrderRiskSummary? risk { get; set; } - + [Description("The risk assessment summary for the order.\nProvides fraud analysis and risk scoring to help you identify potentially fraudulent orders.\nUse this to make informed decisions about order fulfillment and payment processing.")] + [NonNull] + public OrderRiskSummary? risk { get; set; } + /// ///The fraud risk level of the order. /// - [Description("The fraud risk level of the order.")] - [Obsolete("This field is deprecated in favor of OrderRiskAssessment.riskLevel which allows for more granular risk levels, including PENDING and NONE.")] - [NonNull] - [EnumType(typeof(OrderRiskLevel))] - public string? riskLevel { get; set; } - + [Description("The fraud risk level of the order.")] + [Obsolete("This field is deprecated in favor of OrderRiskAssessment.riskLevel which allows for more granular risk levels, including PENDING and NONE.")] + [NonNull] + [EnumType(typeof(OrderRiskLevel))] + public string? riskLevel { get; set; } + /// ///A list of risks associated with the order. /// - [Description("A list of risks associated with the order.")] - [Obsolete("This field is deprecated in favor of OrderRiskAssessment, which provides enhanced capabilities such as distinguishing risks from their provider.")] - [NonNull] - public IEnumerable? risks { get; set; } - + [Description("A list of risks associated with the order.")] + [Obsolete("This field is deprecated in favor of OrderRiskAssessment, which provides enhanced capabilities such as distinguishing risks from their provider.")] + [NonNull] + public IEnumerable? risks { get; set; } + /// ///The shipping address where the order will be delivered. ///Contains the customer's delivery location for fulfillment and shipping label generation. ///Returns `null` for digital orders or orders that don't require shipping. /// - [Description("The shipping address where the order will be delivered.\nContains the customer's delivery location for fulfillment and shipping label generation.\nReturns `null` for digital orders or orders that don't require shipping.")] - public MailingAddress? shippingAddress { get; set; } - + [Description("The shipping address where the order will be delivered.\nContains the customer's delivery location for fulfillment and shipping label generation.\nReturns `null` for digital orders or orders that don't require shipping.")] + public MailingAddress? shippingAddress { get; set; } + /// ///A summary of all shipping costs on the order. ///Aggregates shipping charges, discounts, and taxes to provide a single view of delivery costs. /// - [Description("A summary of all shipping costs on the order.\nAggregates shipping charges, discounts, and taxes to provide a single view of delivery costs.")] - public ShippingLine? shippingLine { get; set; } - + [Description("A summary of all shipping costs on the order.\nAggregates shipping charges, discounts, and taxes to provide a single view of delivery costs.")] + public ShippingLine? shippingLine { get; set; } + /// ///The shipping methods applied to the order. ///Each shipping line represents a shipping option chosen during checkout, including the carrier, service level, and cost. ///Use this to understand shipping charges and delivery options for the order. /// - [Description("The shipping methods applied to the order.\nEach shipping line represents a shipping option chosen during checkout, including the carrier, service level, and cost.\nUse this to understand shipping charges and delivery options for the order.")] - [NonNull] - public ShippingLineConnection? shippingLines { get; set; } - + [Description("The shipping methods applied to the order.\nEach shipping line represents a shipping option chosen during checkout, including the carrier, service level, and cost.\nUse this to understand shipping charges and delivery options for the order.")] + [NonNull] + public ShippingLineConnection? shippingLines { get; set; } + /// ///The Shopify Protect details for the order, including fraud protection status and coverage information. ///Shopify Protect helps protect eligible orders against fraudulent chargebacks. ///Returns `null` if Shopify Protect is disabled for the shop or the order isn't eligible for protection. ///Learn more about [Shopify Protect](https://www.shopify.com/protect). /// - [Description("The Shopify Protect details for the order, including fraud protection status and coverage information.\nShopify Protect helps protect eligible orders against fraudulent chargebacks.\nReturns `null` if Shopify Protect is disabled for the shop or the order isn't eligible for protection.\nLearn more about [Shopify Protect](https://www.shopify.com/protect).")] - public ShopifyProtectOrderSummary? shopifyProtect { get; set; } - + [Description("The Shopify Protect details for the order, including fraud protection status and coverage information.\nShopify Protect helps protect eligible orders against fraudulent chargebacks.\nReturns `null` if Shopify Protect is disabled for the shop or the order isn't eligible for protection.\nLearn more about [Shopify Protect](https://www.shopify.com/protect).")] + public ShopifyProtectOrderSummary? shopifyProtect { get; set; } + /// ///A unique POS or third party order identifier. ///For example, "1234-12-1000" or "111-98567-54". The [`receiptNumber`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-receiptNumber) field is derived from this value for POS orders. /// - [Description("A unique POS or third party order identifier.\nFor example, \"1234-12-1000\" or \"111-98567-54\". The [`receiptNumber`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-receiptNumber) field is derived from this value for POS orders.")] - public string? sourceIdentifier { get; set; } - + [Description("A unique POS or third party order identifier.\nFor example, \"1234-12-1000\" or \"111-98567-54\". The [`receiptNumber`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order#field-receiptNumber) field is derived from this value for POS orders.")] + public string? sourceIdentifier { get; set; } + /// ///The name of the source associated with the order, such as "web", "mobile_app", or "pos". Use this field to identify the platform where the order was placed. /// - [Description("The name of the source associated with the order, such as \"web\", \"mobile_app\", or \"pos\". Use this field to identify the platform where the order was placed.")] - public string? sourceName { get; set; } - + [Description("The name of the source associated with the order, such as \"web\", \"mobile_app\", or \"pos\". Use this field to identify the platform where the order was placed.")] + public string? sourceName { get; set; } + /// ///The staff member who created or is responsible for the order. ///Useful for tracking which team member handled phone orders, manual orders, or order modifications. ///Returns `null` for orders created directly by customers through the online store. /// - [Description("The staff member who created or is responsible for the order.\nUseful for tracking which team member handled phone orders, manual orders, or order modifications.\nReturns `null` for orders created directly by customers through the online store.")] - public StaffMember? staffMember { get; set; } - + [Description("The staff member who created or is responsible for the order.\nUseful for tracking which team member handled phone orders, manual orders, or order modifications.\nReturns `null` for orders created directly by customers through the online store.")] + public StaffMember? staffMember { get; set; } + /// ///The URL where customers can check their order's current status, including tracking information and delivery updates. ///Provides order tracking links in emails, apps, or customer communications. /// - [Description("The URL where customers can check their order's current status, including tracking information and delivery updates.\nProvides order tracking links in emails, apps, or customer communications.")] - [NonNull] - public string? statusPageUrl { get; set; } - + [Description("The URL where customers can check their order's current status, including tracking information and delivery updates.\nProvides order tracking links in emails, apps, or customer communications.")] + [NonNull] + public string? statusPageUrl { get; set; } + /// ///The sum of quantities for all line items that contribute to the order's subtotal price. ///This excludes quantities for items like tips, shipping costs, or gift cards that don't affect the subtotal. ///Use this to quickly understand the total item count for pricing calculations. /// - [Description("The sum of quantities for all line items that contribute to the order's subtotal price.\nThis excludes quantities for items like tips, shipping costs, or gift cards that don't affect the subtotal.\nUse this to quickly understand the total item count for pricing calculations.")] - [NonNull] - public int? subtotalLineItemsQuantity { get; set; } - + [Description("The sum of quantities for all line items that contribute to the order's subtotal price.\nThis excludes quantities for items like tips, shipping costs, or gift cards that don't affect the subtotal.\nUse this to quickly understand the total item count for pricing calculations.")] + [NonNull] + public int? subtotalLineItemsQuantity { get; set; } + /// ///The sum of the prices for all line items after discounts and before returns, in shop currency. ///If `taxesIncluded` is `true`, then the subtotal also includes tax. /// - [Description("The sum of the prices for all line items after discounts and before returns, in shop currency.\nIf `taxesIncluded` is `true`, then the subtotal also includes tax.")] - [Obsolete("Use `subtotalPriceSet` instead.")] - public decimal? subtotalPrice { get; set; } - + [Description("The sum of the prices for all line items after discounts and before returns, in shop currency.\nIf `taxesIncluded` is `true`, then the subtotal also includes tax.")] + [Obsolete("Use `subtotalPriceSet` instead.")] + public decimal? subtotalPrice { get; set; } + /// ///The sum of the prices for all line items after discounts and before returns, in shop and presentment currencies. ///If `taxesIncluded` is `true`, then the subtotal also includes tax. /// - [Description("The sum of the prices for all line items after discounts and before returns, in shop and presentment currencies.\nIf `taxesIncluded` is `true`, then the subtotal also includes tax.")] - public MoneyBag? subtotalPriceSet { get; set; } - + [Description("The sum of the prices for all line items after discounts and before returns, in shop and presentment currencies.\nIf `taxesIncluded` is `true`, then the subtotal also includes tax.")] + public MoneyBag? subtotalPriceSet { get; set; } + /// ///A calculated refund suggestion for the order based on specified line items, shipping, and duties. ///Use this to preview refund amounts, taxes, and processing fees before creating an actual refund. /// - [Description("A calculated refund suggestion for the order based on specified line items, shipping, and duties.\nUse this to preview refund amounts, taxes, and processing fees before creating an actual refund.")] - public SuggestedRefund? suggestedRefund { get; set; } - + [Description("A calculated refund suggestion for the order based on specified line items, shipping, and duties.\nUse this to preview refund amounts, taxes, and processing fees before creating an actual refund.")] + public SuggestedRefund? suggestedRefund { get; set; } + /// ///A comma separated list of tags associated with the order. Updating `tags` overwrites ///any existing tags that were previously added to the order. To add new tags without overwriting ///existing tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A comma separated list of tags associated with the order. Updating `tags` overwrites\nany existing tags that were previously added to the order. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("A comma separated list of tags associated with the order. Updating `tags` overwrites\nany existing tags that were previously added to the order. To add new tags without overwriting\nexisting tags, use the [tagsAdd](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///Whether taxes are exempt on the order. ///Returns `true` for orders where the customer or business has a valid tax exemption, such as non-profit organizations or tax-free purchases. ///Use this to understand if tax calculations were skipped during checkout. /// - [Description("Whether taxes are exempt on the order.\nReturns `true` for orders where the customer or business has a valid tax exemption, such as non-profit organizations or tax-free purchases.\nUse this to understand if tax calculations were skipped during checkout.")] - [NonNull] - public bool? taxExempt { get; set; } - + [Description("Whether taxes are exempt on the order.\nReturns `true` for orders where the customer or business has a valid tax exemption, such as non-profit organizations or tax-free purchases.\nUse this to understand if tax calculations were skipped during checkout.")] + [NonNull] + public bool? taxExempt { get; set; } + /// ///A list of all tax lines applied to line items on the order, before returns. ///Tax line prices represent the total price for all tax lines with the same `rate` and `title`. /// - [Description("A list of all tax lines applied to line items on the order, before returns.\nTax line prices represent the total price for all tax lines with the same `rate` and `title`.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("A list of all tax lines applied to line items on the order, before returns.\nTax line prices represent the total price for all tax lines with the same `rate` and `title`.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Whether taxes are included in the subtotal price of the order. ///When `true`, the subtotal and line item prices include tax amounts. When `false`, taxes are calculated and displayed separately. /// - [Description("Whether taxes are included in the subtotal price of the order.\nWhen `true`, the subtotal and line item prices include tax amounts. When `false`, taxes are calculated and displayed separately.")] - [NonNull] - public bool? taxesIncluded { get; set; } - + [Description("Whether taxes are included in the subtotal price of the order.\nWhen `true`, the subtotal and line item prices include tax amounts. When `false`, taxes are calculated and displayed separately.")] + [NonNull] + public bool? taxesIncluded { get; set; } + /// ///Whether the order is a test. ///Test orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled. ///A test order can't be converted into a real order and vice versa. /// - [Description("Whether the order is a test.\nTest orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled.\nA test order can't be converted into a real order and vice versa.")] - [NonNull] - public bool? test { get; set; } - + [Description("Whether the order is a test.\nTest orders are made using the Shopify Bogus Gateway or a payment provider with test mode enabled.\nA test order can't be converted into a real order and vice versa.")] + [NonNull] + public bool? test { get; set; } + /// ///The authorized amount that's uncaptured or undercaptured, in shop currency. ///This amount isn't adjusted for returns. /// - [Description("The authorized amount that's uncaptured or undercaptured, in shop currency.\nThis amount isn't adjusted for returns.")] - [Obsolete("Use `totalCapturableSet` instead.")] - [NonNull] - public decimal? totalCapturable { get; set; } - + [Description("The authorized amount that's uncaptured or undercaptured, in shop currency.\nThis amount isn't adjusted for returns.")] + [Obsolete("Use `totalCapturableSet` instead.")] + [NonNull] + public decimal? totalCapturable { get; set; } + /// ///The authorized amount that's uncaptured or undercaptured, in shop and presentment currencies. ///This amount isn't adjusted for returns. /// - [Description("The authorized amount that's uncaptured or undercaptured, in shop and presentment currencies.\nThis amount isn't adjusted for returns.")] - [NonNull] - public MoneyBag? totalCapturableSet { get; set; } - + [Description("The authorized amount that's uncaptured or undercaptured, in shop and presentment currencies.\nThis amount isn't adjusted for returns.")] + [NonNull] + public MoneyBag? totalCapturableSet { get; set; } + /// ///The total rounding adjustment applied to payments or refunds for an order involving cash payments. Applies to some countries where cash transactions are rounded to the nearest currency denomination. /// - [Description("The total rounding adjustment applied to payments or refunds for an order involving cash payments. Applies to some countries where cash transactions are rounded to the nearest currency denomination.")] - [NonNull] - public CashRoundingAdjustment? totalCashRoundingAdjustment { get; set; } - + [Description("The total rounding adjustment applied to payments or refunds for an order involving cash payments. Applies to some countries where cash transactions are rounded to the nearest currency denomination.")] + [NonNull] + public CashRoundingAdjustment? totalCashRoundingAdjustment { get; set; } + /// ///The total amount discounted on the order before returns, in shop currency. ///This includes both order and line level discounts. /// - [Description("The total amount discounted on the order before returns, in shop currency.\nThis includes both order and line level discounts.")] - [Obsolete("Use `totalDiscountsSet` instead.")] - public decimal? totalDiscounts { get; set; } - + [Description("The total amount discounted on the order before returns, in shop currency.\nThis includes both order and line level discounts.")] + [Obsolete("Use `totalDiscountsSet` instead.")] + public decimal? totalDiscounts { get; set; } + /// ///The total amount discounted on the order before returns, in shop and presentment currencies. ///This includes both order and line level discounts. /// - [Description("The total amount discounted on the order before returns, in shop and presentment currencies.\nThis includes both order and line level discounts.")] - public MoneyBag? totalDiscountsSet { get; set; } - + [Description("The total amount discounted on the order before returns, in shop and presentment currencies.\nThis includes both order and line level discounts.")] + public MoneyBag? totalDiscountsSet { get; set; } + /// ///The total amount not yet transacted for the order, in shop and presentment currencies. ///A positive value indicates a difference in the merchant's favor (payment from customer to merchant) and a negative value indicates a difference in the customer's favor (refund from merchant to customer). /// - [Description("The total amount not yet transacted for the order, in shop and presentment currencies.\nA positive value indicates a difference in the merchant's favor (payment from customer to merchant) and a negative value indicates a difference in the customer's favor (refund from merchant to customer).")] - [NonNull] - public MoneyBag? totalOutstandingSet { get; set; } - + [Description("The total amount not yet transacted for the order, in shop and presentment currencies.\nA positive value indicates a difference in the merchant's favor (payment from customer to merchant) and a negative value indicates a difference in the customer's favor (refund from merchant to customer).")] + [NonNull] + public MoneyBag? totalOutstandingSet { get; set; } + /// ///The total price of the order, before returns, in shop currency. ///This includes taxes and discounts. /// - [Description("The total price of the order, before returns, in shop currency.\nThis includes taxes and discounts.")] - [Obsolete("Use `totalPriceSet` instead.")] - [NonNull] - public decimal? totalPrice { get; set; } - + [Description("The total price of the order, before returns, in shop currency.\nThis includes taxes and discounts.")] + [Obsolete("Use `totalPriceSet` instead.")] + [NonNull] + public decimal? totalPrice { get; set; } + /// ///The total price of the order, before returns, in shop and presentment currencies. ///This includes taxes and discounts. /// - [Description("The total price of the order, before returns, in shop and presentment currencies.\nThis includes taxes and discounts.")] - [NonNull] - public MoneyBag? totalPriceSet { get; set; } - + [Description("The total price of the order, before returns, in shop and presentment currencies.\nThis includes taxes and discounts.")] + [NonNull] + public MoneyBag? totalPriceSet { get; set; } + /// ///The total amount received from the customer before returns, in shop currency. /// - [Description("The total amount received from the customer before returns, in shop currency.")] - [Obsolete("Use `totalReceivedSet` instead.")] - [NonNull] - public decimal? totalReceived { get; set; } - + [Description("The total amount received from the customer before returns, in shop currency.")] + [Obsolete("Use `totalReceivedSet` instead.")] + [NonNull] + public decimal? totalReceived { get; set; } + /// ///The total amount received from the customer before returns, in shop and presentment currencies. /// - [Description("The total amount received from the customer before returns, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalReceivedSet { get; set; } - + [Description("The total amount received from the customer before returns, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalReceivedSet { get; set; } + /// ///The total amount that was refunded, in shop currency. /// - [Description("The total amount that was refunded, in shop currency.")] - [Obsolete("Use `totalRefundedSet` instead.")] - [NonNull] - public decimal? totalRefunded { get; set; } - + [Description("The total amount that was refunded, in shop currency.")] + [Obsolete("Use `totalRefundedSet` instead.")] + [NonNull] + public decimal? totalRefunded { get; set; } + /// ///The total amount that was refunded, in shop and presentment currencies. /// - [Description("The total amount that was refunded, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalRefundedSet { get; set; } - + [Description("The total amount that was refunded, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalRefundedSet { get; set; } + /// ///The total amount of shipping that was refunded, in shop and presentment currencies. /// - [Description("The total amount of shipping that was refunded, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalRefundedShippingSet { get; set; } - + [Description("The total amount of shipping that was refunded, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalRefundedShippingSet { get; set; } + /// ///The total shipping amount before discounts and returns, in shop currency. /// - [Description("The total shipping amount before discounts and returns, in shop currency.")] - [Obsolete("Use `totalShippingPriceSet` instead.")] - [NonNull] - public decimal? totalShippingPrice { get; set; } - + [Description("The total shipping amount before discounts and returns, in shop currency.")] + [Obsolete("Use `totalShippingPriceSet` instead.")] + [NonNull] + public decimal? totalShippingPrice { get; set; } + /// ///The total shipping costs returned to the customer, in shop and presentment currencies. This includes fees and any related discounts that were refunded. /// - [Description("The total shipping costs returned to the customer, in shop and presentment currencies. This includes fees and any related discounts that were refunded.")] - [NonNull] - public MoneyBag? totalShippingPriceSet { get; set; } - + [Description("The total shipping costs returned to the customer, in shop and presentment currencies. This includes fees and any related discounts that were refunded.")] + [NonNull] + public MoneyBag? totalShippingPriceSet { get; set; } + /// ///The total tax amount before returns, in shop currency. /// - [Description("The total tax amount before returns, in shop currency.")] - [Obsolete("Use `totalTaxSet` instead.")] - public decimal? totalTax { get; set; } - + [Description("The total tax amount before returns, in shop currency.")] + [Obsolete("Use `totalTaxSet` instead.")] + public decimal? totalTax { get; set; } + /// ///The total tax amount before returns, in shop and presentment currencies. /// - [Description("The total tax amount before returns, in shop and presentment currencies.")] - public MoneyBag? totalTaxSet { get; set; } - + [Description("The total tax amount before returns, in shop and presentment currencies.")] + public MoneyBag? totalTaxSet { get; set; } + /// ///The sum of all tip amounts for the order, in shop currency. /// - [Description("The sum of all tip amounts for the order, in shop currency.")] - [Obsolete("Use `totalTipReceivedSet` instead.")] - [NonNull] - public MoneyV2? totalTipReceived { get; set; } - + [Description("The sum of all tip amounts for the order, in shop currency.")] + [Obsolete("Use `totalTipReceivedSet` instead.")] + [NonNull] + public MoneyV2? totalTipReceived { get; set; } + /// ///The sum of all tip amounts for the order, in shop and presentment currencies. /// - [Description("The sum of all tip amounts for the order, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalTipReceivedSet { get; set; } - + [Description("The sum of all tip amounts for the order, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalTipReceivedSet { get; set; } + /// ///The total weight of the order before returns, in grams. /// - [Description("The total weight of the order before returns, in grams.")] - public ulong? totalWeight { get; set; } - + [Description("The total weight of the order before returns, in grams.")] + public ulong? totalWeight { get; set; } + /// ///A list of transactions associated with the order. /// - [Description("A list of transactions associated with the order.")] - [NonNull] - public IEnumerable? transactions { get; set; } - + [Description("A list of transactions associated with the order.")] + [NonNull] + public IEnumerable? transactions { get; set; } + /// ///The number of transactions associated with the order. /// - [Description("The number of transactions associated with the order.")] - public Count? transactionsCount { get; set; } - + [Description("The number of transactions associated with the order.")] + public Count? transactionsCount { get; set; } + /// ///Whether no payments have been made for the order. /// - [Description("Whether no payments have been made for the order.")] - [NonNull] - public bool? unpaid { get; set; } - + [Description("Whether no payments have been made for the order.")] + [NonNull] + public bool? unpaid { get; set; } + /// ///The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was last modified. /// - [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was last modified.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time in [ISO 8601 format](https://en.wikipedia.org/wiki/ISO_8601) when the order was last modified.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///The possible order action types for a ///[sales agreement](https://shopify.dev/api/admin-graphql/latest/interfaces/salesagreement). /// - [Description("The possible order action types for a\n[sales agreement](https://shopify.dev/api/admin-graphql/latest/interfaces/salesagreement).")] - public enum OrderActionType - { + [Description("The possible order action types for a\n[sales agreement](https://shopify.dev/api/admin-graphql/latest/interfaces/salesagreement).")] + public enum OrderActionType + { /// ///An order with a purchase or charge. /// - [Description("An order with a purchase or charge.")] - ORDER, + [Description("An order with a purchase or charge.")] + ORDER, /// ///An edit to the order. /// - [Description("An edit to the order.")] - ORDER_EDIT, + [Description("An edit to the order.")] + ORDER_EDIT, /// ///A refund on the order. /// - [Description("A refund on the order.")] - REFUND, + [Description("A refund on the order.")] + REFUND, /// ///A return on the order. /// - [Description("A return on the order.")] - RETURN, + [Description("A return on the order.")] + RETURN, /// ///An unknown agreement action. Represents new actions that may be added in future versions. /// - [Description("An unknown agreement action. Represents new actions that may be added in future versions.")] - UNKNOWN, - } - - public static class OrderActionTypeStringValues - { - public const string ORDER = @"ORDER"; - public const string ORDER_EDIT = @"ORDER_EDIT"; - public const string REFUND = @"REFUND"; - public const string RETURN = @"RETURN"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("An unknown agreement action. Represents new actions that may be added in future versions.")] + UNKNOWN, + } + + public static class OrderActionTypeStringValues + { + public const string ORDER = @"ORDER"; + public const string ORDER_EDIT = @"ORDER_EDIT"; + public const string REFUND = @"REFUND"; + public const string RETURN = @"RETURN"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///An order adjustment accounts for the difference between a calculated and actual refund amount. /// - [Description("An order adjustment accounts for the difference between a calculated and actual refund amount.")] - public class OrderAdjustment : GraphQLObject, INode - { + [Description("An order adjustment accounts for the difference between a calculated and actual refund amount.")] + public class OrderAdjustment : GraphQLObject, INode + { /// ///The amount of the order adjustment in shop and presentment currencies. /// - [Description("The amount of the order adjustment in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount of the order adjustment in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The order adjustment type. /// - [Description("The order adjustment type.")] - [Obsolete("`OrderAdjustmentKind` will be removed from unstable. Use `Refund.refundShippingLines` to query for refunded shipping costs.")] - [NonNull] - [EnumType(typeof(OrderAdjustmentKind))] - public string? kind { get; set; } - + [Description("The order adjustment type.")] + [Obsolete("`OrderAdjustmentKind` will be removed from unstable. Use `Refund.refundShippingLines` to query for refunded shipping costs.")] + [NonNull] + [EnumType(typeof(OrderAdjustmentKind))] + public string? kind { get; set; } + /// ///An optional reason that explains a discrepancy between calculated and actual refund amounts. /// - [Description("An optional reason that explains a discrepancy between calculated and actual refund amounts.")] - [EnumType(typeof(OrderAdjustmentDiscrepancyReason))] - public string? reason { get; set; } - + [Description("An optional reason that explains a discrepancy between calculated and actual refund amounts.")] + [EnumType(typeof(OrderAdjustmentDiscrepancyReason))] + public string? reason { get; set; } + /// ///The tax amount of the order adjustment in shop and presentment currencies. /// - [Description("The tax amount of the order adjustment in shop and presentment currencies.")] - [NonNull] - public MoneyBag? taxAmountSet { get; set; } - } - + [Description("The tax amount of the order adjustment in shop and presentment currencies.")] + [NonNull] + public MoneyBag? taxAmountSet { get; set; } + } + /// ///An auto-generated type for paginating through multiple OrderAdjustments. /// - [Description("An auto-generated type for paginating through multiple OrderAdjustments.")] - public class OrderAdjustmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple OrderAdjustments.")] + public class OrderAdjustmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in OrderAdjustmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in OrderAdjustmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in OrderAdjustmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Discrepancy reasons for order adjustments. /// - [Description("Discrepancy reasons for order adjustments.")] - public enum OrderAdjustmentDiscrepancyReason - { + [Description("Discrepancy reasons for order adjustments.")] + public enum OrderAdjustmentDiscrepancyReason + { /// ///The discrepancy reason is restocking. /// - [Description("The discrepancy reason is restocking.")] - RESTOCK, + [Description("The discrepancy reason is restocking.")] + RESTOCK, /// ///The discrepancy reason is damage. /// - [Description("The discrepancy reason is damage.")] - DAMAGE, + [Description("The discrepancy reason is damage.")] + DAMAGE, /// ///The discrepancy reason is customer. /// - [Description("The discrepancy reason is customer.")] - CUSTOMER, + [Description("The discrepancy reason is customer.")] + CUSTOMER, /// ///The discrepancy reason is not one of the predefined reasons. /// - [Description("The discrepancy reason is not one of the predefined reasons.")] - REFUND_DISCREPANCY, + [Description("The discrepancy reason is not one of the predefined reasons.")] + REFUND_DISCREPANCY, /// ///The discrepancy reason is balance adjustment. /// - [Description("The discrepancy reason is balance adjustment.")] - FULL_RETURN_BALANCING_ADJUSTMENT, + [Description("The discrepancy reason is balance adjustment.")] + FULL_RETURN_BALANCING_ADJUSTMENT, /// ///The discrepancy reason is pending refund. /// - [Description("The discrepancy reason is pending refund.")] - PENDING_REFUND_DISCREPANCY, - } - - public static class OrderAdjustmentDiscrepancyReasonStringValues - { - public const string RESTOCK = @"RESTOCK"; - public const string DAMAGE = @"DAMAGE"; - public const string CUSTOMER = @"CUSTOMER"; - public const string REFUND_DISCREPANCY = @"REFUND_DISCREPANCY"; - public const string FULL_RETURN_BALANCING_ADJUSTMENT = @"FULL_RETURN_BALANCING_ADJUSTMENT"; - public const string PENDING_REFUND_DISCREPANCY = @"PENDING_REFUND_DISCREPANCY"; - } - + [Description("The discrepancy reason is pending refund.")] + PENDING_REFUND_DISCREPANCY, + } + + public static class OrderAdjustmentDiscrepancyReasonStringValues + { + public const string RESTOCK = @"RESTOCK"; + public const string DAMAGE = @"DAMAGE"; + public const string CUSTOMER = @"CUSTOMER"; + public const string REFUND_DISCREPANCY = @"REFUND_DISCREPANCY"; + public const string FULL_RETURN_BALANCING_ADJUSTMENT = @"FULL_RETURN_BALANCING_ADJUSTMENT"; + public const string PENDING_REFUND_DISCREPANCY = @"PENDING_REFUND_DISCREPANCY"; + } + /// ///An auto-generated type which holds one OrderAdjustment and a cursor during pagination. /// - [Description("An auto-generated type which holds one OrderAdjustment and a cursor during pagination.")] - public class OrderAdjustmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one OrderAdjustment and a cursor during pagination.")] + public class OrderAdjustmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of OrderAdjustmentEdge. /// - [Description("The item at the end of OrderAdjustmentEdge.")] - [NonNull] - public OrderAdjustment? node { get; set; } - } - + [Description("The item at the end of OrderAdjustmentEdge.")] + [NonNull] + public OrderAdjustment? node { get; set; } + } + /// ///Discrepancy reasons for order adjustments. /// - [Description("Discrepancy reasons for order adjustments.")] - public enum OrderAdjustmentInputDiscrepancyReason - { + [Description("Discrepancy reasons for order adjustments.")] + public enum OrderAdjustmentInputDiscrepancyReason + { /// ///The discrepancy reason is restocking. /// - [Description("The discrepancy reason is restocking.")] - RESTOCK, + [Description("The discrepancy reason is restocking.")] + RESTOCK, /// ///The discrepancy reason is damage. /// - [Description("The discrepancy reason is damage.")] - DAMAGE, + [Description("The discrepancy reason is damage.")] + DAMAGE, /// ///The discrepancy reason is customer. /// - [Description("The discrepancy reason is customer.")] - CUSTOMER, + [Description("The discrepancy reason is customer.")] + CUSTOMER, /// ///The discrepancy reason is not one of the predefined reasons. /// - [Description("The discrepancy reason is not one of the predefined reasons.")] - OTHER, - } - - public static class OrderAdjustmentInputDiscrepancyReasonStringValues - { - public const string RESTOCK = @"RESTOCK"; - public const string DAMAGE = @"DAMAGE"; - public const string CUSTOMER = @"CUSTOMER"; - public const string OTHER = @"OTHER"; - } - + [Description("The discrepancy reason is not one of the predefined reasons.")] + OTHER, + } + + public static class OrderAdjustmentInputDiscrepancyReasonStringValues + { + public const string RESTOCK = @"RESTOCK"; + public const string DAMAGE = @"DAMAGE"; + public const string CUSTOMER = @"CUSTOMER"; + public const string OTHER = @"OTHER"; + } + /// ///The different kinds of order adjustments. ///This enum is deprecated and will be removed from unstable. /// - [Description("The different kinds of order adjustments.\nThis enum is deprecated and will be removed from unstable.")] - public enum OrderAdjustmentKind - { + [Description("The different kinds of order adjustments.\nThis enum is deprecated and will be removed from unstable.")] + public enum OrderAdjustmentKind + { /// ///An order adjustment that represents shipping charges refunded to the customer. /// - [Description("An order adjustment that represents shipping charges refunded to the customer.")] - [Obsolete("`SHIPPING_REFUND` is deprecated. Use `Refund.refundShippingLines` instead.")] - SHIPPING_REFUND, + [Description("An order adjustment that represents shipping charges refunded to the customer.")] + [Obsolete("`SHIPPING_REFUND` is deprecated. Use `Refund.refundShippingLines` instead.")] + SHIPPING_REFUND, /// ///An order adjustment that represents discrepancy between calculated and actual refund. /// - [Description("An order adjustment that represents discrepancy between calculated and actual refund.")] - [Obsolete("`REFUND_DISCREPANCY` is deprecated.")] - REFUND_DISCREPANCY, - } - - public static class OrderAdjustmentKindStringValues - { - [Obsolete("`SHIPPING_REFUND` is deprecated. Use `Refund.refundShippingLines` instead.")] - public const string SHIPPING_REFUND = @"SHIPPING_REFUND"; - [Obsolete("`REFUND_DISCREPANCY` is deprecated.")] - public const string REFUND_DISCREPANCY = @"REFUND_DISCREPANCY"; - } - + [Description("An order adjustment that represents discrepancy between calculated and actual refund.")] + [Obsolete("`REFUND_DISCREPANCY` is deprecated.")] + REFUND_DISCREPANCY, + } + + public static class OrderAdjustmentKindStringValues + { + [Obsolete("`SHIPPING_REFUND` is deprecated. Use `Refund.refundShippingLines` instead.")] + public const string SHIPPING_REFUND = @"SHIPPING_REFUND"; + [Obsolete("`REFUND_DISCREPANCY` is deprecated.")] + public const string REFUND_DISCREPANCY = @"REFUND_DISCREPANCY"; + } + /// ///An agreement associated with an order placement. /// - [Description("An agreement associated with an order placement.")] - public class OrderAgreement : GraphQLObject, ISalesAgreement - { + [Description("An agreement associated with an order placement.")] + public class OrderAgreement : GraphQLObject, ISalesAgreement + { /// ///The application that created the agreement. /// - [Description("The application that created the agreement.")] - public App? app { get; set; } - + [Description("The application that created the agreement.")] + public App? app { get; set; } + /// ///The date and time at which the agreement occured. /// - [Description("The date and time at which the agreement occured.")] - [NonNull] - public DateTime? happenedAt { get; set; } - + [Description("The date and time at which the agreement occured.")] + [NonNull] + public DateTime? happenedAt { get; set; } + /// ///The unique ID for the agreement. /// - [Description("The unique ID for the agreement.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the agreement.")] + [NonNull] + public string? id { get; set; } + /// ///The order associated with the agreement. /// - [Description("The order associated with the agreement.")] - [NonNull] - public Order? order { get; set; } - + [Description("The order associated with the agreement.")] + [NonNull] + public Order? order { get; set; } + /// ///The reason the agremeent was created. /// - [Description("The reason the agremeent was created.")] - [NonNull] - [EnumType(typeof(OrderActionType))] - public string? reason { get; set; } - + [Description("The reason the agremeent was created.")] + [NonNull] + [EnumType(typeof(OrderActionType))] + public string? reason { get; set; } + /// ///The sales associated with the agreement. /// - [Description("The sales associated with the agreement.")] - [NonNull] - public SaleConnection? sales { get; set; } - + [Description("The sales associated with the agreement.")] + [NonNull] + public SaleConnection? sales { get; set; } + /// ///The staff member associated with the agreement. /// - [Description("The staff member associated with the agreement.")] - public StaffMember? user { get; set; } - } - + [Description("The staff member associated with the agreement.")] + public StaffMember? user { get; set; } + } + /// ///The [application](https://shopify.dev/apps) that created the order. /// - [Description("The [application](https://shopify.dev/apps) that created the order.")] - public class OrderApp : GraphQLObject - { + [Description("The [application](https://shopify.dev/apps) that created the order.")] + public class OrderApp : GraphQLObject + { /// ///The application icon. /// - [Description("The application icon.")] - [NonNull] - public Image? icon { get; set; } - + [Description("The application icon.")] + [NonNull] + public Image? icon { get; set; } + /// ///The application ID. /// - [Description("The application ID.")] - [NonNull] - public string? id { get; set; } - + [Description("The application ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the application. /// - [Description("The name of the application.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the application.")] + [NonNull] + public string? name { get; set; } + } + /// ///A job to determine the result of an order cancellation request. /// - [Description("A job to determine the result of an order cancellation request.")] - public class OrderCancelJobResult : GraphQLObject, IJobResult, INode - { + [Description("A job to determine the result of an order cancellation request.")] + public class OrderCancelJobResult : GraphQLObject, IJobResult, INode + { /// ///This indicates if the job is still queued or has been run. /// - [Description("This indicates if the job is still queued or has been run.")] - [NonNull] - public bool? done { get; set; } - + [Description("This indicates if the job is still queued or has been run.")] + [NonNull] + public bool? done { get; set; } + /// ///Returns any error that occurred during order cancellation. /// - [Description("Returns any error that occurred during order cancellation.")] - [NonNull] - public IEnumerable? errors { get; set; } - + [Description("Returns any error that occurred during order cancellation.")] + [NonNull] + public IEnumerable? errors { get; set; } + /// ///A globally-unique ID that's returned when running an asynchronous mutation. /// - [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] + [NonNull] + public string? id { get; set; } + /// ///The order associated with the cancellation request. /// - [Description("The order associated with the cancellation request.")] - public Order? order { get; set; } - + [Description("The order associated with the cancellation request.")] + public Order? order { get; set; } + /// ///The current status of the order cancellation request. /// - [Description("The current status of the order cancellation request.")] - [NonNull] - [EnumType(typeof(OrderCancelStatus))] - public string? status { get; set; } - } - + [Description("The current status of the order cancellation request.")] + [NonNull] + [EnumType(typeof(OrderCancelStatus))] + public string? status { get; set; } + } + /// ///Return type for `orderCancel` mutation. /// - [Description("Return type for `orderCancel` mutation.")] - public class OrderCancelPayload : GraphQLObject - { + [Description("Return type for `orderCancel` mutation.")] + public class OrderCancelPayload : GraphQLObject + { /// ///The job that asynchronously cancels the order. /// - [Description("The job that asynchronously cancels the order.")] - public Job? job { get; set; } - + [Description("The job that asynchronously cancels the order.")] + public Job? job { get; set; } + /// ///The job that asynchronously cancels the order. /// - [Description("The job that asynchronously cancels the order.")] - public OrderCancelJobResult? jobResult { get; set; } - + [Description("The job that asynchronously cancels the order.")] + public OrderCancelJobResult? jobResult { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? orderCancelUserErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? orderCancelUserErrors { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [Obsolete("Use `orderCancelUserErrors` instead.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [Obsolete("Use `orderCancelUserErrors` instead.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents the reason for the order's cancellation. /// - [Description("Represents the reason for the order's cancellation.")] - public enum OrderCancelReason - { + [Description("Represents the reason for the order's cancellation.")] + public enum OrderCancelReason + { /// ///The customer wanted to cancel the order. /// - [Description("The customer wanted to cancel the order.")] - CUSTOMER, + [Description("The customer wanted to cancel the order.")] + CUSTOMER, /// ///Payment was declined. /// - [Description("Payment was declined.")] - DECLINED, + [Description("Payment was declined.")] + DECLINED, /// ///The order was fraudulent. /// - [Description("The order was fraudulent.")] - FRAUD, + [Description("The order was fraudulent.")] + FRAUD, /// ///There was insufficient inventory. /// - [Description("There was insufficient inventory.")] - INVENTORY, + [Description("There was insufficient inventory.")] + INVENTORY, /// ///Staff made an error. /// - [Description("Staff made an error.")] - STAFF, + [Description("Staff made an error.")] + STAFF, /// ///The order was canceled for an unlisted reason. /// - [Description("The order was canceled for an unlisted reason.")] - OTHER, - } - - public static class OrderCancelReasonStringValues - { - public const string CUSTOMER = @"CUSTOMER"; - public const string DECLINED = @"DECLINED"; - public const string FRAUD = @"FRAUD"; - public const string INVENTORY = @"INVENTORY"; - public const string STAFF = @"STAFF"; - public const string OTHER = @"OTHER"; - } - + [Description("The order was canceled for an unlisted reason.")] + OTHER, + } + + public static class OrderCancelReasonStringValues + { + public const string CUSTOMER = @"CUSTOMER"; + public const string DECLINED = @"DECLINED"; + public const string FRAUD = @"FRAUD"; + public const string INVENTORY = @"INVENTORY"; + public const string STAFF = @"STAFF"; + public const string OTHER = @"OTHER"; + } + /// ///The input fields used to specify the refund method for an order cancellation. /// - [Description("The input fields used to specify the refund method for an order cancellation.")] - public class OrderCancelRefundMethodInput : GraphQLObject - { + [Description("The input fields used to specify the refund method for an order cancellation.")] + public class OrderCancelRefundMethodInput : GraphQLObject + { /// ///Whether to refund to the original payment method. /// - [Description("Whether to refund to the original payment method.")] - public bool? originalPaymentMethodsRefund { get; set; } - + [Description("Whether to refund to the original payment method.")] + public bool? originalPaymentMethodsRefund { get; set; } + /// ///Whether to refund to store credit. /// - [Description("Whether to refund to store credit.")] - public OrderCancelStoreCreditRefundInput? storeCreditRefund { get; set; } - } - + [Description("Whether to refund to store credit.")] + public OrderCancelStoreCreditRefundInput? storeCreditRefund { get; set; } + } + /// ///Represents the status of the order's cancellation request. /// - [Description("Represents the status of the order's cancellation request.")] - public enum OrderCancelStatus - { + [Description("Represents the status of the order's cancellation request.")] + public enum OrderCancelStatus + { /// ///The order cancellation has been initiated. /// - [Description("The order cancellation has been initiated.")] - STARTED, + [Description("The order cancellation has been initiated.")] + STARTED, /// ///The order cancellation has been completed successfully. /// - [Description("The order cancellation has been completed successfully.")] - SUCCEEDED, + [Description("The order cancellation has been completed successfully.")] + SUCCEEDED, /// ///The order cancellation has failed. /// - [Description("The order cancellation has failed.")] - FAILED, - } - - public static class OrderCancelStatusStringValues - { - public const string STARTED = @"STARTED"; - public const string SUCCEEDED = @"SUCCEEDED"; - public const string FAILED = @"FAILED"; - } - + [Description("The order cancellation has failed.")] + FAILED, + } + + public static class OrderCancelStatusStringValues + { + public const string STARTED = @"STARTED"; + public const string SUCCEEDED = @"SUCCEEDED"; + public const string FAILED = @"FAILED"; + } + /// ///The input fields used to refund to store credit. /// - [Description("The input fields used to refund to store credit.")] - public class OrderCancelStoreCreditRefundInput : GraphQLObject - { + [Description("The input fields used to refund to store credit.")] + public class OrderCancelStoreCreditRefundInput : GraphQLObject + { /// ///The expiration date of the store credit. /// - [Description("The expiration date of the store credit.")] - public DateTime? expiresAt { get; set; } - } - + [Description("The expiration date of the store credit.")] + public DateTime? expiresAt { get; set; } + } + /// ///Errors related to order cancellation. /// - [Description("Errors related to order cancellation.")] - public class OrderCancelUserError : GraphQLObject, IDisplayableError - { + [Description("Errors related to order cancellation.")] + public class OrderCancelUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderCancelUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderCancelUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderCancelUserError`. /// - [Description("Possible error codes that can be returned by `OrderCancelUserError`.")] - public enum OrderCancelUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderCancelUserError`.")] + public enum OrderCancelUserErrorCode + { /// ///An order refund was requested but the user does not have the refund_orders permission. /// - [Description("An order refund was requested but the user does not have the refund_orders permission.")] - NO_REFUND_PERMISSION, + [Description("An order refund was requested but the user does not have the refund_orders permission.")] + NO_REFUND_PERMISSION, /// ///An order refund was requested but the user does not have the refund_to_store_credit permission. /// - [Description("An order refund was requested but the user does not have the refund_to_store_credit permission.")] - NO_REFUND_TO_STORE_CREDIT_PERMISSION, + [Description("An order refund was requested but the user does not have the refund_to_store_credit permission.")] + NO_REFUND_TO_STORE_CREDIT_PERMISSION, /// ///A store credit order refund was requested but the expiration date is in the past. /// - [Description("A store credit order refund was requested but the expiration date is in the past.")] - STORE_CREDIT_REFUND_EXPIRATION_IN_PAST, + [Description("A store credit order refund was requested but the expiration date is in the past.")] + STORE_CREDIT_REFUND_EXPIRATION_IN_PAST, /// ///A store credit order refund was requested but the order has no customer. /// - [Description("A store credit order refund was requested but the order has no customer.")] - STORE_CREDIT_REFUND_MISSING_CUSTOMER, + [Description("A store credit order refund was requested but the order has no customer.")] + STORE_CREDIT_REFUND_MISSING_CUSTOMER, /// ///A store credit order refund was requested but the order is a B2B order. /// - [Description("A store credit order refund was requested but the order is a B2B order.")] - STORE_CREDIT_REFUND_B2B_NOT_SUPPORTED, + [Description("A store credit order refund was requested but the order is a B2B order.")] + STORE_CREDIT_REFUND_B2B_NOT_SUPPORTED, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, - } - - public static class OrderCancelUserErrorCodeStringValues - { - public const string NO_REFUND_PERMISSION = @"NO_REFUND_PERMISSION"; - public const string NO_REFUND_TO_STORE_CREDIT_PERMISSION = @"NO_REFUND_TO_STORE_CREDIT_PERMISSION"; - public const string STORE_CREDIT_REFUND_EXPIRATION_IN_PAST = @"STORE_CREDIT_REFUND_EXPIRATION_IN_PAST"; - public const string STORE_CREDIT_REFUND_MISSING_CUSTOMER = @"STORE_CREDIT_REFUND_MISSING_CUSTOMER"; - public const string STORE_CREDIT_REFUND_B2B_NOT_SUPPORTED = @"STORE_CREDIT_REFUND_B2B_NOT_SUPPORTED"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string INVALID = @"INVALID"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - } - + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, + } + + public static class OrderCancelUserErrorCodeStringValues + { + public const string NO_REFUND_PERMISSION = @"NO_REFUND_PERMISSION"; + public const string NO_REFUND_TO_STORE_CREDIT_PERMISSION = @"NO_REFUND_TO_STORE_CREDIT_PERMISSION"; + public const string STORE_CREDIT_REFUND_EXPIRATION_IN_PAST = @"STORE_CREDIT_REFUND_EXPIRATION_IN_PAST"; + public const string STORE_CREDIT_REFUND_MISSING_CUSTOMER = @"STORE_CREDIT_REFUND_MISSING_CUSTOMER"; + public const string STORE_CREDIT_REFUND_B2B_NOT_SUPPORTED = @"STORE_CREDIT_REFUND_B2B_NOT_SUPPORTED"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string INVALID = @"INVALID"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + } + /// ///Details about the order cancellation. /// - [Description("Details about the order cancellation.")] - public class OrderCancellation : GraphQLObject - { + [Description("Details about the order cancellation.")] + public class OrderCancellation : GraphQLObject + { /// ///Staff provided note for the order cancellation. /// - [Description("Staff provided note for the order cancellation.")] - public string? staffNote { get; set; } - } - + [Description("Staff provided note for the order cancellation.")] + public string? staffNote { get; set; } + } + /// ///The input fields for the authorized transaction to capture and the total amount to capture from it. /// - [Description("The input fields for the authorized transaction to capture and the total amount to capture from it.")] - public class OrderCaptureInput : GraphQLObject - { + [Description("The input fields for the authorized transaction to capture and the total amount to capture from it.")] + public class OrderCaptureInput : GraphQLObject + { /// ///The ID of the order to capture. /// - [Description("The ID of the order to capture.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the order to capture.")] + [NonNull] + public string? id { get; set; } + /// ///The ID of the authorized transaction to capture. /// - [Description("The ID of the authorized transaction to capture.")] - [NonNull] - public string? parentTransactionId { get; set; } - + [Description("The ID of the authorized transaction to capture.")] + [NonNull] + public string? parentTransactionId { get; set; } + /// ///The amount to capture. The capture amount can't be greater than the amount of the authorized transaction. /// - [Description("The amount to capture. The capture amount can't be greater than the amount of the authorized transaction.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("The amount to capture. The capture amount can't be greater than the amount of the authorized transaction.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The currency (in ISO format) that's used to capture the order. This must be the presentment currency (the currency used by the customer) and is a required field for orders where the currency and presentment currency differ. /// - [Description("The currency (in ISO format) that's used to capture the order. This must be the presentment currency (the currency used by the customer) and is a required field for orders where the currency and presentment currency differ.")] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The currency (in ISO format) that's used to capture the order. This must be the presentment currency (the currency used by the customer) and is a required field for orders where the currency and presentment currency differ.")] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///Indicates whether this is to be the final capture for the order transaction. Only applies to ///Shopify Payments authorizations which are multi-capturable. If true, any uncaptured amount from the @@ -82531,104 +82531,104 @@ public class OrderCaptureInput : GraphQLObject ///authorizations which aren't multi-capturable (can only be captured once), or on other types of ///transactions. /// - [Description("Indicates whether this is to be the final capture for the order transaction. Only applies to\nShopify Payments authorizations which are multi-capturable. If true, any uncaptured amount from the\nauthorization will be voided after the capture is completed. If false, the authorization will remain open\nfor future captures.\n\nFor multi-capturable authorizations, this defaults to false if not provided. This field has no effect on\nauthorizations which aren't multi-capturable (can only be captured once), or on other types of\ntransactions.")] - public bool? finalCapture { get; set; } - } - + [Description("Indicates whether this is to be the final capture for the order transaction. Only applies to\nShopify Payments authorizations which are multi-capturable. If true, any uncaptured amount from the\nauthorization will be voided after the capture is completed. If false, the authorization will remain open\nfor future captures.\n\nFor multi-capturable authorizations, this defaults to false if not provided. This field has no effect on\nauthorizations which aren't multi-capturable (can only be captured once), or on other types of\ntransactions.")] + public bool? finalCapture { get; set; } + } + /// ///Return type for `orderCapture` mutation. /// - [Description("Return type for `orderCapture` mutation.")] - public class OrderCapturePayload : GraphQLObject - { + [Description("Return type for `orderCapture` mutation.")] + public class OrderCapturePayload : GraphQLObject + { /// ///The created capture transaction. /// - [Description("The created capture transaction.")] - public OrderTransaction? transaction { get; set; } - + [Description("The created capture transaction.")] + public OrderTransaction? transaction { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for specifying an open order to close. /// - [Description("The input fields for specifying an open order to close.")] - public class OrderCloseInput : GraphQLObject - { + [Description("The input fields for specifying an open order to close.")] + public class OrderCloseInput : GraphQLObject + { /// ///The ID of the order to close. /// - [Description("The ID of the order to close.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the order to close.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `orderClose` mutation. /// - [Description("Return type for `orderClose` mutation.")] - public class OrderClosePayload : GraphQLObject - { + [Description("Return type for `orderClose` mutation.")] + public class OrderClosePayload : GraphQLObject + { /// ///The closed order. /// - [Description("The closed order.")] - public Order? order { get; set; } - + [Description("The closed order.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple Orders. /// - [Description("An auto-generated type for paginating through multiple Orders.")] - public class OrderConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Orders.")] + public class OrderConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in OrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in OrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in OrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for identifying an existing customer to associate with the order. /// - [Description("The input fields for identifying an existing customer to associate with the order.")] - public class OrderCreateAssociateCustomerAttributesInput : GraphQLObject - { + [Description("The input fields for identifying an existing customer to associate with the order.")] + public class OrderCreateAssociateCustomerAttributesInput : GraphQLObject + { /// ///The customer to associate to the order. /// - [Description("The customer to associate to the order.")] - public string? id { get; set; } - + [Description("The customer to associate to the order.")] + public string? id { get; set; } + /// ///The email of the customer to associate to the order. /// @@ -82636,268 +82636,268 @@ public class OrderCreateAssociateCustomerAttributesInput : GraphQLObject - [Description("The email of the customer to associate to the order.\n\n > Note:\n > If both this email input field and the email on `OrderCreateOrderInput` are provided, this field will\n > take precedence.")] - public string? email { get; set; } - } - + [Description("The email of the customer to associate to the order.\n\n > Note:\n > If both this email input field and the email on `OrderCreateOrderInput` are provided, this field will\n > take precedence.")] + public string? email { get; set; } + } + /// ///The input fields for a note attribute for an order. /// - [Description("The input fields for a note attribute for an order.")] - public class OrderCreateCustomAttributeInput : GraphQLObject - { + [Description("The input fields for a note attribute for an order.")] + public class OrderCreateCustomAttributeInput : GraphQLObject + { /// ///The key or name of the custom attribute. /// - [Description("The key or name of the custom attribute.")] - [NonNull] - public string? key { get; set; } - + [Description("The key or name of the custom attribute.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the custom attribute. /// - [Description("The value of the custom attribute.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the custom attribute.")] + [NonNull] + public string? value { get; set; } + } + /// ///The input fields for creating a customer's mailing address. /// - [Description("The input fields for creating a customer's mailing address.")] - public class OrderCreateCustomerAddressInput : GraphQLObject - { + [Description("The input fields for creating a customer's mailing address.")] + public class OrderCreateCustomerAddressInput : GraphQLObject + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The name of the customer's company or organization. /// - [Description("The name of the customer's company or organization.")] - public string? company { get; set; } - + [Description("The name of the customer's company or organization.")] + public string? company { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - public string? country { get; set; } - + [Description("The name of the country.")] + public string? country { get; set; } + /// ///The first name of the customer. /// - [Description("The first name of the customer.")] - public string? firstName { get; set; } - + [Description("The first name of the customer.")] + public string? firstName { get; set; } + /// ///The last name of the customer. /// - [Description("The last name of the customer.")] - public string? lastName { get; set; } - + [Description("The last name of the customer.")] + public string? lastName { get; set; } + /// ///A unique phone number for the customer. Formatted using E.164 standard. For example, _+16135551111_. /// - [Description("A unique phone number for the customer. Formatted using E.164 standard. For example, _+16135551111_.")] - public string? phone { get; set; } - + [Description("A unique phone number for the customer. Formatted using E.164 standard. For example, _+16135551111_.")] + public string? phone { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + public string? province { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + } + /// ///The input fields for a customer to associate with an order. Allows creation of a new customer or specifying an existing one. /// - [Description("The input fields for a customer to associate with an order. Allows creation of a new customer or specifying an existing one.")] - public class OrderCreateCustomerInput : GraphQLObject - { + [Description("The input fields for a customer to associate with an order. Allows creation of a new customer or specifying an existing one.")] + public class OrderCreateCustomerInput : GraphQLObject + { /// ///An existing customer to associate with the order, specified by ID. /// - [Description("An existing customer to associate with the order, specified by ID.")] - public OrderCreateAssociateCustomerAttributesInput? toAssociate { get; set; } - + [Description("An existing customer to associate with the order, specified by ID.")] + public OrderCreateAssociateCustomerAttributesInput? toAssociate { get; set; } + /// ///A new customer to create or update and associate with the order. /// - [Description("A new customer to create or update and associate with the order.")] - public OrderCreateUpsertCustomerAttributesInput? toUpsert { get; set; } - } - + [Description("A new customer to create or update and associate with the order.")] + public OrderCreateUpsertCustomerAttributesInput? toUpsert { get; set; } + } + /// ///The input fields for a discount code to apply to an order. Only one type of discount can be applied to an order. /// - [Description("The input fields for a discount code to apply to an order. Only one type of discount can be applied to an order.")] - public class OrderCreateDiscountCodeInput : GraphQLObject - { + [Description("The input fields for a discount code to apply to an order. Only one type of discount can be applied to an order.")] + public class OrderCreateDiscountCodeInput : GraphQLObject + { /// ///A percentage discount code applied to the line items on the order. /// - [Description("A percentage discount code applied to the line items on the order.")] - public OrderCreatePercentageDiscountCodeAttributesInput? itemPercentageDiscountCode { get; set; } - + [Description("A percentage discount code applied to the line items on the order.")] + public OrderCreatePercentageDiscountCodeAttributesInput? itemPercentageDiscountCode { get; set; } + /// ///A fixed amount discount code applied to the line items on the order. /// - [Description("A fixed amount discount code applied to the line items on the order.")] - public OrderCreateFixedDiscountCodeAttributesInput? itemFixedDiscountCode { get; set; } - + [Description("A fixed amount discount code applied to the line items on the order.")] + public OrderCreateFixedDiscountCodeAttributesInput? itemFixedDiscountCode { get; set; } + /// ///A free shipping discount code applied to the shipping on an order. /// - [Description("A free shipping discount code applied to the shipping on an order.")] - public OrderCreateFreeShippingDiscountCodeAttributesInput? freeShippingDiscountCode { get; set; } - } - + [Description("A free shipping discount code applied to the shipping on an order.")] + public OrderCreateFreeShippingDiscountCodeAttributesInput? freeShippingDiscountCode { get; set; } + } + /// ///The status of payments associated with the order. Can only be set when the order is created. /// - [Description("The status of payments associated with the order. Can only be set when the order is created.")] - public enum OrderCreateFinancialStatus - { + [Description("The status of payments associated with the order. Can only be set when the order is created.")] + public enum OrderCreateFinancialStatus + { /// ///The payments are pending. Payment might fail in this state. Check again to confirm whether the payments have been paid successfully. /// - [Description("The payments are pending. Payment might fail in this state. Check again to confirm whether the payments have been paid successfully.")] - PENDING, + [Description("The payments are pending. Payment might fail in this state. Check again to confirm whether the payments have been paid successfully.")] + PENDING, /// ///The payments have been authorized. /// - [Description("The payments have been authorized.")] - AUTHORIZED, + [Description("The payments have been authorized.")] + AUTHORIZED, /// ///The order has been partially paid. /// - [Description("The order has been partially paid.")] - PARTIALLY_PAID, + [Description("The order has been partially paid.")] + PARTIALLY_PAID, /// ///The payments have been paid. /// - [Description("The payments have been paid.")] - PAID, + [Description("The payments have been paid.")] + PAID, /// ///The payments have been partially refunded. /// - [Description("The payments have been partially refunded.")] - PARTIALLY_REFUNDED, + [Description("The payments have been partially refunded.")] + PARTIALLY_REFUNDED, /// ///The payments have been refunded. /// - [Description("The payments have been refunded.")] - REFUNDED, + [Description("The payments have been refunded.")] + REFUNDED, /// ///The payments have been voided. /// - [Description("The payments have been voided.")] - VOIDED, + [Description("The payments have been voided.")] + VOIDED, /// ///The payments have been expired. /// - [Description("The payments have been expired.")] - EXPIRED, - } - - public static class OrderCreateFinancialStatusStringValues - { - public const string PENDING = @"PENDING"; - public const string AUTHORIZED = @"AUTHORIZED"; - public const string PARTIALLY_PAID = @"PARTIALLY_PAID"; - public const string PAID = @"PAID"; - public const string PARTIALLY_REFUNDED = @"PARTIALLY_REFUNDED"; - public const string REFUNDED = @"REFUNDED"; - public const string VOIDED = @"VOIDED"; - public const string EXPIRED = @"EXPIRED"; - } - + [Description("The payments have been expired.")] + EXPIRED, + } + + public static class OrderCreateFinancialStatusStringValues + { + public const string PENDING = @"PENDING"; + public const string AUTHORIZED = @"AUTHORIZED"; + public const string PARTIALLY_PAID = @"PARTIALLY_PAID"; + public const string PAID = @"PAID"; + public const string PARTIALLY_REFUNDED = @"PARTIALLY_REFUNDED"; + public const string REFUNDED = @"REFUNDED"; + public const string VOIDED = @"VOIDED"; + public const string EXPIRED = @"EXPIRED"; + } + /// ///The input fields for a fixed amount discount code to apply to an order. /// - [Description("The input fields for a fixed amount discount code to apply to an order.")] - public class OrderCreateFixedDiscountCodeAttributesInput : GraphQLObject - { + [Description("The input fields for a fixed amount discount code to apply to an order.")] + public class OrderCreateFixedDiscountCodeAttributesInput : GraphQLObject + { /// ///The discount code that was entered at checkout. /// - [Description("The discount code that was entered at checkout.")] - [NonNull] - public string? code { get; set; } - + [Description("The discount code that was entered at checkout.")] + [NonNull] + public string? code { get; set; } + /// ///The amount that's deducted from the order total. When you create an order, this value is the monetary amount to deduct. /// - [Description("The amount that's deducted from the order total. When you create an order, this value is the monetary amount to deduct.")] - public MoneyBagInput? amountSet { get; set; } - } - + [Description("The amount that's deducted from the order total. When you create an order, this value is the monetary amount to deduct.")] + public MoneyBagInput? amountSet { get; set; } + } + /// ///The input fields for a free shipping discount code to apply to an order. /// - [Description("The input fields for a free shipping discount code to apply to an order.")] - public class OrderCreateFreeShippingDiscountCodeAttributesInput : GraphQLObject - { + [Description("The input fields for a free shipping discount code to apply to an order.")] + public class OrderCreateFreeShippingDiscountCodeAttributesInput : GraphQLObject + { /// ///The discount code that was entered at checkout. /// - [Description("The discount code that was entered at checkout.")] - [NonNull] - public string? code { get; set; } - } - + [Description("The discount code that was entered at checkout.")] + [NonNull] + public string? code { get; set; } + } + /// ///The input fields for a fulfillment to create for an order. /// - [Description("The input fields for a fulfillment to create for an order.")] - public class OrderCreateFulfillmentInput : GraphQLObject - { + [Description("The input fields for a fulfillment to create for an order.")] + public class OrderCreateFulfillmentInput : GraphQLObject + { /// ///The ID of the location to fulfill the order from. /// - [Description("The ID of the location to fulfill the order from.")] - [NonNull] - public string? locationId { get; set; } - + [Description("The ID of the location to fulfill the order from.")] + [NonNull] + public string? locationId { get; set; } + /// ///The address at which the fulfillment occurred. /// - [Description("The address at which the fulfillment occurred.")] - public FulfillmentOriginAddressInput? originAddress { get; set; } - + [Description("The address at which the fulfillment occurred.")] + public FulfillmentOriginAddressInput? originAddress { get; set; } + /// ///Whether the customer should be notified of changes with the fulfillment. /// - [Description("Whether the customer should be notified of changes with the fulfillment.")] - public bool? notifyCustomer { get; set; } - + [Description("Whether the customer should be notified of changes with the fulfillment.")] + public bool? notifyCustomer { get; set; } + /// ///The status of the shipment. /// - [Description("The status of the shipment.")] - [EnumType(typeof(FulfillmentEventStatus))] - public string? shipmentStatus { get; set; } - + [Description("The status of the shipment.")] + [EnumType(typeof(FulfillmentEventStatus))] + public string? shipmentStatus { get; set; } + /// ///The tracking number of the fulfillment. /// @@ -82912,9 +82912,9 @@ public class OrderCreateFulfillmentInput : GraphQLObject - [Description("The tracking number of the fulfillment.\n\nThe tracking number will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.")] - public string? trackingNumber { get; set; } - + [Description("The tracking number of the fulfillment.\n\nThe tracking number will be clickable in the interface if one of the following applies\n(the highest in the list has the highest priority):\n\n* [Shopify-known tracking company name](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n specified in the `company` field.\n Shopify will build the tracking URL automatically based on the tracking number specified.\n* The tracking number has a Shopify-known format.\n Shopify will guess the tracking provider and build the tracking url based on the tracking number format.\n Not all tracking carriers are supported, and multiple tracking carriers may use similarly formatted tracking numbers.\n This can result in an invalid tracking URL.")] + public string? trackingNumber { get; set; } + /// ///The name of the tracking company. /// @@ -82933,76 +82933,76 @@ public class OrderCreateFulfillmentInput : GraphQLObject - [Description("The name of the tracking company.\n\nIf you specify a tracking company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies),\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\nThe same tracking company will be applied to all tracking numbers specified.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n> Note:\n> Send the tracking company name exactly as written in\n> [the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n> (capitalization matters).")] - public string? trackingCompany { get; set; } - } - + [Description("The name of the tracking company.\n\nIf you specify a tracking company name from\n[the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies),\nShopify will automatically build tracking URLs for all provided tracking numbers,\nwhich will make the tracking numbers clickable in the interface.\nThe same tracking company will be applied to all tracking numbers specified.\n\nAdditionally, for the tracking companies listed on the\n[Shipping Carriers help page](https://help.shopify.com/manual/shipping/understanding-shipping/shipping-carriers#integrated-shipping-carriers)\nShopify will automatically update the fulfillment's `shipment_status` field during the fulfillment process.\n\n> Note:\n> Send the tracking company name exactly as written in\n> [the list](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentTrackingInfo#supported-tracking-companies)\n> (capitalization matters).")] + public string? trackingCompany { get; set; } + } + /// ///The order's status in terms of fulfilled line items. /// - [Description("The order's status in terms of fulfilled line items.")] - public enum OrderCreateFulfillmentStatus - { + [Description("The order's status in terms of fulfilled line items.")] + public enum OrderCreateFulfillmentStatus + { /// ///Every line item in the order has been fulfilled. /// - [Description("Every line item in the order has been fulfilled.")] - FULFILLED, + [Description("Every line item in the order has been fulfilled.")] + FULFILLED, /// ///At least one line item in the order has been fulfilled. /// - [Description("At least one line item in the order has been fulfilled.")] - PARTIAL, + [Description("At least one line item in the order has been fulfilled.")] + PARTIAL, /// ///Every line item in the order has been restocked and the order canceled. /// - [Description("Every line item in the order has been restocked and the order canceled.")] - RESTOCKED, - } - - public static class OrderCreateFulfillmentStatusStringValues - { - public const string FULFILLED = @"FULFILLED"; - public const string PARTIAL = @"PARTIAL"; - public const string RESTOCKED = @"RESTOCKED"; - } - + [Description("Every line item in the order has been restocked and the order canceled.")] + RESTOCKED, + } + + public static class OrderCreateFulfillmentStatusStringValues + { + public const string FULFILLED = @"FULFILLED"; + public const string PARTIAL = @"PARTIAL"; + public const string RESTOCKED = @"RESTOCKED"; + } + /// ///The types of behavior to use when updating inventory. /// - [Description("The types of behavior to use when updating inventory.")] - public enum OrderCreateInputsInventoryBehavior - { + [Description("The types of behavior to use when updating inventory.")] + public enum OrderCreateInputsInventoryBehavior + { /// ///Do not claim inventory. /// - [Description("Do not claim inventory.")] - BYPASS, + [Description("Do not claim inventory.")] + BYPASS, /// ///Ignore the product's inventory policy and claim inventory. /// - [Description("Ignore the product's inventory policy and claim inventory.")] - DECREMENT_IGNORING_POLICY, + [Description("Ignore the product's inventory policy and claim inventory.")] + DECREMENT_IGNORING_POLICY, /// ///Follow the product's inventory policy and claim inventory, if possible. /// - [Description("Follow the product's inventory policy and claim inventory, if possible.")] - DECREMENT_OBEYING_POLICY, - } - - public static class OrderCreateInputsInventoryBehaviorStringValues - { - public const string BYPASS = @"BYPASS"; - public const string DECREMENT_IGNORING_POLICY = @"DECREMENT_IGNORING_POLICY"; - public const string DECREMENT_OBEYING_POLICY = @"DECREMENT_OBEYING_POLICY"; - } - + [Description("Follow the product's inventory policy and claim inventory, if possible.")] + DECREMENT_OBEYING_POLICY, + } + + public static class OrderCreateInputsInventoryBehaviorStringValues + { + public const string BYPASS = @"BYPASS"; + public const string DECREMENT_IGNORING_POLICY = @"DECREMENT_IGNORING_POLICY"; + public const string DECREMENT_OBEYING_POLICY = @"DECREMENT_OBEYING_POLICY"; + } + /// ///The input fields for a line item to create for an order. /// - [Description("The input fields for a line item to create for an order.")] - public class OrderCreateLineItemInput : GraphQLObject - { + [Description("The input fields for a line item to create for an order.")] + public class OrderCreateLineItemInput : GraphQLObject + { /// ///The handle of a fulfillment service that stocks the product variant belonging to a line item. /// @@ -83018,316 +83018,316 @@ public class OrderCreateLineItemInput : GraphQLObject /// /// If none of the above conditions are met, then the fulfillment service has the `manual` handle. /// - [Description("The handle of a fulfillment service that stocks the product variant belonging to a line item.\n\n This is a third-party fulfillment service in the following scenarios:\n\n **Scenario 1**\n - The product variant is stocked by a single fulfillment service.\n - The [FulfillmentService](/api/admin-graphql/latest/objects/FulfillmentService) is a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\n **Scenario 2**\n - Multiple fulfillment services stock the product variant.\n - The last time that the line item was unfulfilled, it was awaiting fulfillment by a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\n If none of the above conditions are met, then the fulfillment service has the `manual` handle.")] - public string? fulfillmentService { get; set; } - + [Description("The handle of a fulfillment service that stocks the product variant belonging to a line item.\n\n This is a third-party fulfillment service in the following scenarios:\n\n **Scenario 1**\n - The product variant is stocked by a single fulfillment service.\n - The [FulfillmentService](/api/admin-graphql/latest/objects/FulfillmentService) is a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\n **Scenario 2**\n - Multiple fulfillment services stock the product variant.\n - The last time that the line item was unfulfilled, it was awaiting fulfillment by a third-party fulfillment service. Third-party fulfillment services don't have a handle with the value `manual`.\n\n If none of the above conditions are met, then the fulfillment service has the `manual` handle.")] + public string? fulfillmentService { get; set; } + /// ///Whether the item is a gift card. If true, then the item is not taxed or considered for shipping charges. /// - [Description("Whether the item is a gift card. If true, then the item is not taxed or considered for shipping charges.")] - public bool? giftCard { get; set; } - + [Description("Whether the item is a gift card. If true, then the item is not taxed or considered for shipping charges.")] + public bool? giftCard { get; set; } + /// ///The price of the item before discounts have been applied in the shop currency. /// - [Description("The price of the item before discounts have been applied in the shop currency.")] - public MoneyBagInput? priceSet { get; set; } - + [Description("The price of the item before discounts have been applied in the shop currency.")] + public MoneyBagInput? priceSet { get; set; } + /// ///The ID of the product that the line item belongs to. Can be `null` if the original product associated with the order is deleted at a later date. /// - [Description("The ID of the product that the line item belongs to. Can be `null` if the original product associated with the order is deleted at a later date.")] - public string? productId { get; set; } - + [Description("The ID of the product that the line item belongs to. Can be `null` if the original product associated with the order is deleted at a later date.")] + public string? productId { get; set; } + /// ///An array of custom information for the item that has been added to the cart. Often used to provide product customization options. /// - [Description("An array of custom information for the item that has been added to the cart. Often used to provide product customization options.")] - public IEnumerable? properties { get; set; } - + [Description("An array of custom information for the item that has been added to the cart. Often used to provide product customization options.")] + public IEnumerable? properties { get; set; } + /// ///The number of items that were purchased. /// - [Description("The number of items that were purchased.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The number of items that were purchased.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether the item requires shipping. /// - [Description("Whether the item requires shipping.")] - public bool? requiresShipping { get; set; } - + [Description("Whether the item requires shipping.")] + public bool? requiresShipping { get; set; } + /// ///The item's SKU (stock keeping unit). /// - [Description("The item's SKU (stock keeping unit).")] - public string? sku { get; set; } - + [Description("The item's SKU (stock keeping unit).")] + public string? sku { get; set; } + /// ///A list of tax line objects, each of which details a tax applied to the item. /// - [Description("A list of tax line objects, each of which details a tax applied to the item.")] - public IEnumerable? taxLines { get; set; } - + [Description("A list of tax line objects, each of which details a tax applied to the item.")] + public IEnumerable? taxLines { get; set; } + /// ///Whether the item was taxable. /// - [Description("Whether the item was taxable.")] - public bool? taxable { get; set; } - + [Description("Whether the item was taxable.")] + public bool? taxable { get; set; } + /// ///The title of the product. /// - [Description("The title of the product.")] - public string? title { get; set; } - + [Description("The title of the product.")] + public string? title { get; set; } + /// ///The ID of the product variant. If both `productId` and `variantId` are provided, then the product ID that corresponds to the `variantId` is used. /// - [Description("The ID of the product variant. If both `productId` and `variantId` are provided, then the product ID that corresponds to the `variantId` is used.")] - public string? variantId { get; set; } - + [Description("The ID of the product variant. If both `productId` and `variantId` are provided, then the product ID that corresponds to the `variantId` is used.")] + public string? variantId { get; set; } + /// ///The title of the product variant. /// - [Description("The title of the product variant.")] - public string? variantTitle { get; set; } - + [Description("The title of the product variant.")] + public string? variantTitle { get; set; } + /// ///The name of the item's supplier. /// - [Description("The name of the item's supplier.")] - public string? vendor { get; set; } - + [Description("The name of the item's supplier.")] + public string? vendor { get; set; } + /// ///The weight of the line item. This will take precedence over the weight of the product variant, if one was specified. /// - [Description("The weight of the line item. This will take precedence over the weight of the product variant, if one was specified.")] - public WeightInput? weight { get; set; } - } - + [Description("The weight of the line item. This will take precedence over the weight of the product variant, if one was specified.")] + public WeightInput? weight { get; set; } + } + /// ///The input fields for a line item property for an order. /// - [Description("The input fields for a line item property for an order.")] - public class OrderCreateLineItemPropertyInput : GraphQLObject - { + [Description("The input fields for a line item property for an order.")] + public class OrderCreateLineItemPropertyInput : GraphQLObject + { /// ///The name of the line item property. /// - [Description("The name of the line item property.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the line item property.")] + [NonNull] + public string? name { get; set; } + /// ///The value of the line item property. /// - [Description("The value of the line item property.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the line item property.")] + [NonNull] + public string? value { get; set; } + } + /// ///Return type for `orderCreateMandatePayment` mutation. /// - [Description("Return type for `orderCreateMandatePayment` mutation.")] - public class OrderCreateMandatePaymentPayload : GraphQLObject - { + [Description("Return type for `orderCreateMandatePayment` mutation.")] + public class OrderCreateMandatePaymentPayload : GraphQLObject + { /// ///The async job used for charging the payment. /// - [Description("The async job used for charging the payment.")] - public Job? job { get; set; } - + [Description("The async job used for charging the payment.")] + public Job? job { get; set; } + /// ///The Unique ID for the created payment. /// - [Description("The Unique ID for the created payment.")] - public string? paymentReferenceId { get; set; } - + [Description("The Unique ID for the created payment.")] + public string? paymentReferenceId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderCreateMandatePayment`. /// - [Description("An error that occurs during the execution of `OrderCreateMandatePayment`.")] - public class OrderCreateMandatePaymentUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderCreateMandatePayment`.")] + public class OrderCreateMandatePaymentUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderCreateMandatePaymentUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderCreateMandatePaymentUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderCreateMandatePaymentUserError`. /// - [Description("Possible error codes that can be returned by `OrderCreateMandatePaymentUserError`.")] - public enum OrderCreateMandatePaymentUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderCreateMandatePaymentUserError`.")] + public enum OrderCreateMandatePaymentUserErrorCode + { /// ///Errors for mandate payment on order. /// - [Description("Errors for mandate payment on order.")] - ORDER_MANDATE_PAYMENT_ERROR_CODE, - } - - public static class OrderCreateMandatePaymentUserErrorCodeStringValues - { - public const string ORDER_MANDATE_PAYMENT_ERROR_CODE = @"ORDER_MANDATE_PAYMENT_ERROR_CODE"; - } - + [Description("Errors for mandate payment on order.")] + ORDER_MANDATE_PAYMENT_ERROR_CODE, + } + + public static class OrderCreateMandatePaymentUserErrorCodeStringValues + { + public const string ORDER_MANDATE_PAYMENT_ERROR_CODE = @"ORDER_MANDATE_PAYMENT_ERROR_CODE"; + } + /// ///An error that occurs during the execution of a order create manual payment mutation. /// - [Description("An error that occurs during the execution of a order create manual payment mutation.")] - public class OrderCreateManualPaymentOrderCreateManualPaymentError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a order create manual payment mutation.")] + public class OrderCreateManualPaymentOrderCreateManualPaymentError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderCreateManualPaymentOrderCreateManualPaymentErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderCreateManualPaymentOrderCreateManualPaymentErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderCreateManualPaymentOrderCreateManualPaymentError`. /// - [Description("Possible error codes that can be returned by `OrderCreateManualPaymentOrderCreateManualPaymentError`.")] - public enum OrderCreateManualPaymentOrderCreateManualPaymentErrorCode - { + [Description("Possible error codes that can be returned by `OrderCreateManualPaymentOrderCreateManualPaymentError`.")] + public enum OrderCreateManualPaymentOrderCreateManualPaymentErrorCode + { /// ///Order is not found. /// - [Description("Order is not found.")] - ORDER_NOT_FOUND, + [Description("Order is not found.")] + ORDER_NOT_FOUND, /// ///Amount must be positive. /// - [Description("Amount must be positive.")] - AMOUNT_NOT_POSITIVE, + [Description("Amount must be positive.")] + AMOUNT_NOT_POSITIVE, /// ///Payment gateway is not found. /// - [Description("Payment gateway is not found.")] - GATEWAY_NOT_FOUND, + [Description("Payment gateway is not found.")] + GATEWAY_NOT_FOUND, /// ///Amount exceeds the remaining balance. /// - [Description("Amount exceeds the remaining balance.")] - AMOUNT_EXCEEDS_BALANCE, + [Description("Amount exceeds the remaining balance.")] + AMOUNT_EXCEEDS_BALANCE, /// ///Order is temporarily unavailable. /// - [Description("Order is temporarily unavailable.")] - ORDER_IS_TEMPORARILY_UNAVAILABLE, + [Description("Order is temporarily unavailable.")] + ORDER_IS_TEMPORARILY_UNAVAILABLE, /// ///Indicates that the processedAt field is invalid, such as when it references a future date. /// - [Description("Indicates that the processedAt field is invalid, such as when it references a future date.")] - PROCESSED_AT_INVALID, - } - - public static class OrderCreateManualPaymentOrderCreateManualPaymentErrorCodeStringValues - { - public const string ORDER_NOT_FOUND = @"ORDER_NOT_FOUND"; - public const string AMOUNT_NOT_POSITIVE = @"AMOUNT_NOT_POSITIVE"; - public const string GATEWAY_NOT_FOUND = @"GATEWAY_NOT_FOUND"; - public const string AMOUNT_EXCEEDS_BALANCE = @"AMOUNT_EXCEEDS_BALANCE"; - public const string ORDER_IS_TEMPORARILY_UNAVAILABLE = @"ORDER_IS_TEMPORARILY_UNAVAILABLE"; - public const string PROCESSED_AT_INVALID = @"PROCESSED_AT_INVALID"; - } - + [Description("Indicates that the processedAt field is invalid, such as when it references a future date.")] + PROCESSED_AT_INVALID, + } + + public static class OrderCreateManualPaymentOrderCreateManualPaymentErrorCodeStringValues + { + public const string ORDER_NOT_FOUND = @"ORDER_NOT_FOUND"; + public const string AMOUNT_NOT_POSITIVE = @"AMOUNT_NOT_POSITIVE"; + public const string GATEWAY_NOT_FOUND = @"GATEWAY_NOT_FOUND"; + public const string AMOUNT_EXCEEDS_BALANCE = @"AMOUNT_EXCEEDS_BALANCE"; + public const string ORDER_IS_TEMPORARILY_UNAVAILABLE = @"ORDER_IS_TEMPORARILY_UNAVAILABLE"; + public const string PROCESSED_AT_INVALID = @"PROCESSED_AT_INVALID"; + } + /// ///Return type for `orderCreateManualPayment` mutation. /// - [Description("Return type for `orderCreateManualPayment` mutation.")] - public class OrderCreateManualPaymentPayload : GraphQLObject - { + [Description("Return type for `orderCreateManualPayment` mutation.")] + public class OrderCreateManualPaymentPayload : GraphQLObject + { /// ///The order recorded a manual payment. /// - [Description("The order recorded a manual payment.")] - public Order? order { get; set; } - + [Description("The order recorded a manual payment.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields that define the strategies for updating inventory and ///whether to send shipping and order confirmations to customers. /// - [Description("The input fields that define the strategies for updating inventory and\nwhether to send shipping and order confirmations to customers.")] - public class OrderCreateOptionsInput : GraphQLObject - { + [Description("The input fields that define the strategies for updating inventory and\nwhether to send shipping and order confirmations to customers.")] + public class OrderCreateOptionsInput : GraphQLObject + { /// ///The strategy for handling updates to inventory: not claiming inventory, ignoring inventory policies, ///or following policies when claiming inventory. /// - [Description("The strategy for handling updates to inventory: not claiming inventory, ignoring inventory policies,\nor following policies when claiming inventory.")] - [EnumType(typeof(OrderCreateInputsInventoryBehavior))] - public string? inventoryBehaviour { get; set; } - + [Description("The strategy for handling updates to inventory: not claiming inventory, ignoring inventory policies,\nor following policies when claiming inventory.")] + [EnumType(typeof(OrderCreateInputsInventoryBehavior))] + public string? inventoryBehaviour { get; set; } + /// ///Whether to send an order confirmation to the customer. /// - [Description("Whether to send an order confirmation to the customer.")] - public bool? sendReceipt { get; set; } - + [Description("Whether to send an order confirmation to the customer.")] + public bool? sendReceipt { get; set; } + /// ///Whether to send a shipping confirmation to the customer. /// - [Description("Whether to send a shipping confirmation to the customer.")] - public bool? sendFulfillmentReceipt { get; set; } - } - + [Description("Whether to send a shipping confirmation to the customer.")] + public bool? sendFulfillmentReceipt { get; set; } + } + /// ///The input fields for creating an order. /// - [Description("The input fields for creating an order.")] - public class OrderCreateOrderInput : GraphQLObject - { + [Description("The input fields for creating an order.")] + public class OrderCreateOrderInput : GraphQLObject + { /// ///The mailing address associated with the payment method. This address is an optional field that won't be /// available on orders that don't require a payment method. @@ -83337,143 +83337,143 @@ public class OrderCreateOrderInput : GraphQLObject /// > customer's default address. Additionally, if the provided customer is new or hasn't created an order yet /// > then their name will be set to the first/last name from this address (if provided). /// - [Description("The mailing address associated with the payment method. This address is an optional field that won't be\n available on orders that don't require a payment method.\n\n > Note:\n > If a customer is provided, this field or `shipping_address` (which has precedence) will be set as the\n > customer's default address. Additionally, if the provided customer is new or hasn't created an order yet\n > then their name will be set to the first/last name from this address (if provided).")] - public MailingAddressInput? billingAddress { get; set; } - + [Description("The mailing address associated with the payment method. This address is an optional field that won't be\n available on orders that don't require a payment method.\n\n > Note:\n > If a customer is provided, this field or `shipping_address` (which has precedence) will be set as the\n > customer's default address. Additionally, if the provided customer is new or hasn't created an order yet\n > then their name will be set to the first/last name from this address (if provided).")] + public MailingAddressInput? billingAddress { get; set; } + /// ///Whether the customer consented to receive email updates from the shop. /// - [Description("Whether the customer consented to receive email updates from the shop.")] - public bool? buyerAcceptsMarketing { get; set; } - + [Description("Whether the customer consented to receive email updates from the shop.")] + public bool? buyerAcceptsMarketing { get; set; } + /// ///The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when the order was closed. Returns null if the order isn't closed. /// - [Description("The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when the order was closed. Returns null if the order isn't closed.")] - public DateTime? closedAt { get; set; } - + [Description("The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when the order was closed. Returns null if the order isn't closed.")] + public DateTime? closedAt { get; set; } + /// ///The ID of the purchasing company's location for the order. /// - [Description("The ID of the purchasing company's location for the order.")] - public string? companyLocationId { get; set; } - + [Description("The ID of the purchasing company's location for the order.")] + public string? companyLocationId { get; set; } + /// ///The shop-facing currency for the order. If not specified, then the shop's default currency is used. /// - [Description("The shop-facing currency for the order. If not specified, then the shop's default currency is used.")] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The shop-facing currency for the order. If not specified, then the shop's default currency is used.")] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///A list of extra information that's added to the order. Appears in the **Additional details** section of an order details page. /// - [Description("A list of extra information that's added to the order. Appears in the **Additional details** section of an order details page.")] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of extra information that's added to the order. Appears in the **Additional details** section of an order details page.")] + public IEnumerable? customAttributes { get; set; } + /// ///The customer to associate to the order. /// - [Description("The customer to associate to the order.")] - [Obsolete("This is replaced by the `customer` field in a future version.")] - public string? customerId { get; set; } - + [Description("The customer to associate to the order.")] + [Obsolete("This is replaced by the `customer` field in a future version.")] + public string? customerId { get; set; } + /// ///The customer to associate to the order. /// - [Description("The customer to associate to the order.")] - public OrderCreateCustomerInput? customer { get; set; } - + [Description("The customer to associate to the order.")] + public OrderCreateCustomerInput? customer { get; set; } + /// ///A discount code applied to the order. /// - [Description("A discount code applied to the order.")] - public OrderCreateDiscountCodeInput? discountCode { get; set; } - + [Description("A discount code applied to the order.")] + public OrderCreateDiscountCodeInput? discountCode { get; set; } + /// ///A new customer email address for the order. /// /// > Note: /// > If a customer is provided, and no email is provided, the customer's email will be set to this field. /// - [Description("A new customer email address for the order.\n\n > Note:\n > If a customer is provided, and no email is provided, the customer's email will be set to this field.")] - public string? email { get; set; } - + [Description("A new customer email address for the order.\n\n > Note:\n > If a customer is provided, and no email is provided, the customer's email will be set to this field.")] + public string? email { get; set; } + /// ///The financial status of the order. If not specified, then this will be derived through the given transactions. Note that it's possible to specify a status that doesn't match the given transactions and it will persist, but if an operation later occurs on the order, the status may then be recalculated to match the current state of transactions. /// - [Description("The financial status of the order. If not specified, then this will be derived through the given transactions. Note that it's possible to specify a status that doesn't match the given transactions and it will persist, but if an operation later occurs on the order, the status may then be recalculated to match the current state of transactions.")] - [EnumType(typeof(OrderCreateFinancialStatus))] - public string? financialStatus { get; set; } - + [Description("The financial status of the order. If not specified, then this will be derived through the given transactions. Note that it's possible to specify a status that doesn't match the given transactions and it will persist, but if an operation later occurs on the order, the status may then be recalculated to match the current state of transactions.")] + [EnumType(typeof(OrderCreateFinancialStatus))] + public string? financialStatus { get; set; } + /// ///The fulfillment to create for the order. This will apply to all line items. /// - [Description("The fulfillment to create for the order. This will apply to all line items.")] - public OrderCreateFulfillmentInput? fulfillment { get; set; } - + [Description("The fulfillment to create for the order. This will apply to all line items.")] + public OrderCreateFulfillmentInput? fulfillment { get; set; } + /// ///The fulfillment status of the order. Will default to `unfulfilled` if not included. /// - [Description("The fulfillment status of the order. Will default to `unfulfilled` if not included.")] - [EnumType(typeof(OrderCreateFulfillmentStatus))] - public string? fulfillmentStatus { get; set; } - + [Description("The fulfillment status of the order. Will default to `unfulfilled` if not included.")] + [EnumType(typeof(OrderCreateFulfillmentStatus))] + public string? fulfillmentStatus { get; set; } + /// ///The line items to create for the order. /// - [Description("The line items to create for the order.")] - public IEnumerable? lineItems { get; set; } - + [Description("The line items to create for the order.")] + public IEnumerable? lineItems { get; set; } + /// ///A list of metafields to add to the order. /// - [Description("A list of metafields to add to the order.")] - public IEnumerable? metafields { get; set; } - + [Description("A list of metafields to add to the order.")] + public IEnumerable? metafields { get; set; } + /// ///The order name, generated by combining the `order_number` property with the order prefix and suffix that are set in the merchant's [general settings](https://www.shopify.com/admin/settings/general). This is different from the `id` property, which is the ID of the order used by the API. This field can also be set by the API to be any string value. /// - [Description("The order name, generated by combining the `order_number` property with the order prefix and suffix that are set in the merchant's [general settings](https://www.shopify.com/admin/settings/general). This is different from the `id` property, which is the ID of the order used by the API. This field can also be set by the API to be any string value.")] - public string? name { get; set; } - + [Description("The order name, generated by combining the `order_number` property with the order prefix and suffix that are set in the merchant's [general settings](https://www.shopify.com/admin/settings/general). This is different from the `id` property, which is the ID of the order used by the API. This field can also be set by the API to be any string value.")] + public string? name { get; set; } + /// ///The new contents for the note associated with the order. /// - [Description("The new contents for the note associated with the order.")] - public string? note { get; set; } - + [Description("The new contents for the note associated with the order.")] + public string? note { get; set; } + /// ///A new customer phone number for the order. /// - [Description("A new customer phone number for the order.")] - public string? phone { get; set; } - + [Description("A new customer phone number for the order.")] + public string? phone { get; set; } + /// ///The purchase order number associated to this order. /// - [Description("The purchase order number associated to this order.")] - public string? poNumber { get; set; } - + [Description("The purchase order number associated to this order.")] + public string? poNumber { get; set; } + /// ///The presentment currency that was used to display prices to the customer. This must be specified if any presentment currencies are used in the order. /// - [Description("The presentment currency that was used to display prices to the customer. This must be specified if any presentment currencies are used in the order.")] - [EnumType(typeof(CurrencyCode))] - public string? presentmentCurrency { get; set; } - + [Description("The presentment currency that was used to display prices to the customer. This must be specified if any presentment currencies are used in the order.")] + [EnumType(typeof(CurrencyCode))] + public string? presentmentCurrency { get; set; } + /// ///The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when an order was processed. This value is the date that appears on your orders and that's used in the analytic reports. If you're importing orders from an app or another platform, then you can set processed_at to a date and time in the past to match when the original order was created. /// - [Description("The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when an order was processed. This value is the date that appears on your orders and that's used in the analytic reports. If you're importing orders from an app or another platform, then you can set processed_at to a date and time in the past to match when the original order was created.")] - public DateTime? processedAt { get; set; } - + [Description("The date and time ([ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format) when an order was processed. This value is the date that appears on your orders and that's used in the analytic reports. If you're importing orders from an app or another platform, then you can set processed_at to a date and time in the past to match when the original order was created.")] + public DateTime? processedAt { get; set; } + /// ///The website where the customer clicked a link to the shop. /// - [Description("The website where the customer clicked a link to the shop.")] - public string? referringSite { get; set; } - + [Description("The website where the customer clicked a link to the shop.")] + public string? referringSite { get; set; } + /// ///The mailing address to where the order will be shipped. /// @@ -83482,277 +83482,277 @@ public class OrderCreateOrderInput : GraphQLObject /// > customer's default address. Additionally, if the provided customer doesn't have a first or last name /// > then it will be set to the first/last name from this address (if provided). /// - [Description("The mailing address to where the order will be shipped.\n\n > Note:\n > If a customer is provided, this field (which has precedence) or `billing_address` will be set as the\n > customer's default address. Additionally, if the provided customer doesn't have a first or last name\n > then it will be set to the first/last name from this address (if provided).")] - public MailingAddressInput? shippingAddress { get; set; } - + [Description("The mailing address to where the order will be shipped.\n\n > Note:\n > If a customer is provided, this field (which has precedence) or `billing_address` will be set as the\n > customer's default address. Additionally, if the provided customer doesn't have a first or last name\n > then it will be set to the first/last name from this address (if provided).")] + public MailingAddressInput? shippingAddress { get; set; } + /// ///An array of objects, each of which details a shipping method used. /// - [Description("An array of objects, each of which details a shipping method used.")] - public IEnumerable? shippingLines { get; set; } - + [Description("An array of objects, each of which details a shipping method used.")] + public IEnumerable? shippingLines { get; set; } + /// ///The ID of the order placed on the originating platform. This value doesn't correspond to the Shopify ID that's generated from a completed draft. /// - [Description("The ID of the order placed on the originating platform. This value doesn't correspond to the Shopify ID that's generated from a completed draft.")] - public string? sourceIdentifier { get; set; } - + [Description("The ID of the order placed on the originating platform. This value doesn't correspond to the Shopify ID that's generated from a completed draft.")] + public string? sourceIdentifier { get; set; } + /// ///The source of the checkout. To use this field for sales attribution, you must register the channels that your app is managing. You can register the channels that your app is managing by completing [this Google Form](https://docs.google.com/forms/d/e/1FAIpQLScmVTZRQNjOJ7RD738mL1lGeFjqKVe_FM2tO9xsm21QEo5Ozg/viewform?usp=sf_link). After you've submited your request, you need to wait for your request to be processed by Shopify. You can find a list of your channels in the Partner Dashboard, in your app's Marketplace extension. You can specify a handle as the source_name value in your request. /// - [Description("The source of the checkout. To use this field for sales attribution, you must register the channels that your app is managing. You can register the channels that your app is managing by completing [this Google Form](https://docs.google.com/forms/d/e/1FAIpQLScmVTZRQNjOJ7RD738mL1lGeFjqKVe_FM2tO9xsm21QEo5Ozg/viewform?usp=sf_link). After you've submited your request, you need to wait for your request to be processed by Shopify. You can find a list of your channels in the Partner Dashboard, in your app's Marketplace extension. You can specify a handle as the source_name value in your request.")] - public string? sourceName { get; set; } - + [Description("The source of the checkout. To use this field for sales attribution, you must register the channels that your app is managing. You can register the channels that your app is managing by completing [this Google Form](https://docs.google.com/forms/d/e/1FAIpQLScmVTZRQNjOJ7RD738mL1lGeFjqKVe_FM2tO9xsm21QEo5Ozg/viewform?usp=sf_link). After you've submited your request, you need to wait for your request to be processed by Shopify. You can find a list of your channels in the Partner Dashboard, in your app's Marketplace extension. You can specify a handle as the source_name value in your request.")] + public string? sourceName { get; set; } + /// ///A valid URL to the original order on the originating surface. This URL is displayed to merchants on the Order Details page. If the URL is invalid, then it won't be displayed. /// - [Description("A valid URL to the original order on the originating surface. This URL is displayed to merchants on the Order Details page. If the URL is invalid, then it won't be displayed.")] - public string? sourceUrl { get; set; } - + [Description("A valid URL to the original order on the originating surface. This URL is displayed to merchants on the Order Details page. If the URL is invalid, then it won't be displayed.")] + public string? sourceUrl { get; set; } + /// ///A comma separated list of tags that have been added to the draft order. /// - [Description("A comma separated list of tags that have been added to the draft order.")] - public IEnumerable? tags { get; set; } - + [Description("A comma separated list of tags that have been added to the draft order.")] + public IEnumerable? tags { get; set; } + /// ///Whether taxes are included in the order subtotal. /// - [Description("Whether taxes are included in the order subtotal.")] - public bool? taxesIncluded { get; set; } - + [Description("Whether taxes are included in the order subtotal.")] + public bool? taxesIncluded { get; set; } + /// ///An array of tax line objects, each of which details a tax applicable to the order. When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the _taxable_ line items in the created order. /// - [Description("An array of tax line objects, each of which details a tax applicable to the order. When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the _taxable_ line items in the created order.")] - public IEnumerable? taxLines { get; set; } - + [Description("An array of tax line objects, each of which details a tax applicable to the order. When creating an order through the API, tax lines can be specified on the order or the line items but not both. Tax lines specified on the order are split across the _taxable_ line items in the created order.")] + public IEnumerable? taxLines { get; set; } + /// ///Whether this is a test order. /// - [Description("Whether this is a test order.")] - public bool? test { get; set; } - + [Description("Whether this is a test order.")] + public bool? test { get; set; } + /// ///The payment transactions to create for the order. /// - [Description("The payment transactions to create for the order.")] - public IEnumerable? transactions { get; set; } - + [Description("The payment transactions to create for the order.")] + public IEnumerable? transactions { get; set; } + /// ///The ID of the user logged into Shopify POS who processed the order, if applicable. /// - [Description("The ID of the user logged into Shopify POS who processed the order, if applicable.")] - public string? userId { get; set; } - } - + [Description("The ID of the user logged into Shopify POS who processed the order, if applicable.")] + public string? userId { get; set; } + } + /// ///The input fields for a transaction to create for an order. /// - [Description("The input fields for a transaction to create for an order.")] - public class OrderCreateOrderTransactionInput : GraphQLObject - { + [Description("The input fields for a transaction to create for an order.")] + public class OrderCreateOrderTransactionInput : GraphQLObject + { /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyBagInput? amountSet { get; set; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyBagInput? amountSet { get; set; } + /// ///The authorization code associated with the transaction. /// - [Description("The authorization code associated with the transaction.")] - public string? authorizationCode { get; set; } - + [Description("The authorization code associated with the transaction.")] + public string? authorizationCode { get; set; } + /// ///The ID of the device used to process the transaction. /// - [Description("The ID of the device used to process the transaction.")] - public string? deviceId { get; set; } - + [Description("The ID of the device used to process the transaction.")] + public string? deviceId { get; set; } + /// ///The name of the gateway the transaction was issued through. /// - [Description("The name of the gateway the transaction was issued through.")] - public string? gateway { get; set; } - + [Description("The name of the gateway the transaction was issued through.")] + public string? gateway { get; set; } + /// ///The ID of the gift card used for this transaction. /// - [Description("The ID of the gift card used for this transaction.")] - public string? giftCardId { get; set; } - + [Description("The ID of the gift card used for this transaction.")] + public string? giftCardId { get; set; } + /// ///The kind of transaction. /// - [Description("The kind of transaction.")] - [EnumType(typeof(OrderTransactionKind))] - public string? kind { get; set; } - + [Description("The kind of transaction.")] + [EnumType(typeof(OrderTransactionKind))] + public string? kind { get; set; } + /// ///The ID of the location where the transaction was processed. /// - [Description("The ID of the location where the transaction was processed.")] - public string? locationId { get; set; } - + [Description("The ID of the location where the transaction was processed.")] + public string? locationId { get; set; } + /// ///The date and time when the transaction was processed. /// - [Description("The date and time when the transaction was processed.")] - public DateTime? processedAt { get; set; } - + [Description("The date and time when the transaction was processed.")] + public DateTime? processedAt { get; set; } + /// ///The transaction receipt that the payment gateway attaches to the transaction. ///The value of this field depends on which payment gateway processed the transaction. /// - [Description("The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.")] - public string? receiptJson { get; set; } - + [Description("The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.")] + public string? receiptJson { get; set; } + /// ///The status of the transaction. /// - [Description("The status of the transaction.")] - [EnumType(typeof(OrderTransactionStatus))] - public string? status { get; set; } - + [Description("The status of the transaction.")] + [EnumType(typeof(OrderTransactionStatus))] + public string? status { get; set; } + /// ///Whether the transaction is a test transaction. /// - [Description("Whether the transaction is a test transaction.")] - public bool? test { get; set; } - + [Description("Whether the transaction is a test transaction.")] + public bool? test { get; set; } + /// ///The ID of the user who processed the transaction. /// - [Description("The ID of the user who processed the transaction.")] - public string? userId { get; set; } - } - + [Description("The ID of the user who processed the transaction.")] + public string? userId { get; set; } + } + /// ///Return type for `orderCreate` mutation. /// - [Description("Return type for `orderCreate` mutation.")] - public class OrderCreatePayload : GraphQLObject - { + [Description("Return type for `orderCreate` mutation.")] + public class OrderCreatePayload : GraphQLObject + { /// ///The order that was created. /// - [Description("The order that was created.")] - public Order? order { get; set; } - + [Description("The order that was created.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for a percentage discount code to apply to an order. /// - [Description("The input fields for a percentage discount code to apply to an order.")] - public class OrderCreatePercentageDiscountCodeAttributesInput : GraphQLObject - { + [Description("The input fields for a percentage discount code to apply to an order.")] + public class OrderCreatePercentageDiscountCodeAttributesInput : GraphQLObject + { /// ///The discount code that was entered at checkout. /// - [Description("The discount code that was entered at checkout.")] - [NonNull] - public string? code { get; set; } - + [Description("The discount code that was entered at checkout.")] + [NonNull] + public string? code { get; set; } + /// ///The amount that's deducted from the order total. When you create an order, this value is the percentage to deduct. /// - [Description("The amount that's deducted from the order total. When you create an order, this value is the percentage to deduct.")] - public decimal? percentage { get; set; } - } - + [Description("The amount that's deducted from the order total. When you create an order, this value is the percentage to deduct.")] + public decimal? percentage { get; set; } + } + /// ///The input fields for a shipping line to create for an order. /// - [Description("The input fields for a shipping line to create for an order.")] - public class OrderCreateShippingLineInput : GraphQLObject - { + [Description("The input fields for a shipping line to create for an order.")] + public class OrderCreateShippingLineInput : GraphQLObject + { /// ///A reference to the shipping method. /// - [Description("A reference to the shipping method.")] - public string? code { get; set; } - + [Description("A reference to the shipping method.")] + public string? code { get; set; } + /// ///The price of this shipping method in the shop currency. Can't be negative. /// - [Description("The price of this shipping method in the shop currency. Can't be negative.")] - [NonNull] - public MoneyBagInput? priceSet { get; set; } - + [Description("The price of this shipping method in the shop currency. Can't be negative.")] + [NonNull] + public MoneyBagInput? priceSet { get; set; } + /// ///The source of the shipping method. /// - [Description("The source of the shipping method.")] - public string? source { get; set; } - + [Description("The source of the shipping method.")] + public string? source { get; set; } + /// ///A list of tax line objects, each of which details a tax applicable to this shipping line. /// - [Description("A list of tax line objects, each of which details a tax applicable to this shipping line.")] - public IEnumerable? taxLines { get; set; } - + [Description("A list of tax line objects, each of which details a tax applicable to this shipping line.")] + public IEnumerable? taxLines { get; set; } + /// ///The title of the shipping method. /// - [Description("The title of the shipping method.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the shipping method.")] + [NonNull] + public string? title { get; set; } + } + /// ///The input fields for a tax line to create for an order. /// - [Description("The input fields for a tax line to create for an order.")] - public class OrderCreateTaxLineInput : GraphQLObject - { + [Description("The input fields for a tax line to create for an order.")] + public class OrderCreateTaxLineInput : GraphQLObject + { /// ///Whether the channel that submitted the tax line is liable for remitting. A value of `null` indicates unknown liability for the tax line. /// - [Description("Whether the channel that submitted the tax line is liable for remitting. A value of `null` indicates unknown liability for the tax line.")] - public bool? channelLiable { get; set; } - + [Description("Whether the channel that submitted the tax line is liable for remitting. A value of `null` indicates unknown liability for the tax line.")] + public bool? channelLiable { get; set; } + /// ///The amount of tax to be charged on the item. /// - [Description("The amount of tax to be charged on the item.")] - public MoneyBagInput? priceSet { get; set; } - + [Description("The amount of tax to be charged on the item.")] + public MoneyBagInput? priceSet { get; set; } + /// ///The proportion of the item price that the tax represents as a decimal. /// - [Description("The proportion of the item price that the tax represents as a decimal.")] - [NonNull] - public decimal? rate { get; set; } - + [Description("The proportion of the item price that the tax represents as a decimal.")] + [NonNull] + public decimal? rate { get; set; } + /// ///The name of the tax line to create. /// - [Description("The name of the tax line to create.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the tax line to create.")] + [NonNull] + public string? title { get; set; } + } + /// ///The input fields for creating a new customer object or identifying an existing customer to update & associate with the order. /// - [Description("The input fields for creating a new customer object or identifying an existing customer to update & associate with the order.")] - public class OrderCreateUpsertCustomerAttributesInput : GraphQLObject - { + [Description("The input fields for creating a new customer object or identifying an existing customer to update & associate with the order.")] + public class OrderCreateUpsertCustomerAttributesInput : GraphQLObject + { /// ///A list of addresses to associate with the customer. /// - [Description("A list of addresses to associate with the customer.")] - public IEnumerable? addresses { get; set; } - + [Description("A list of addresses to associate with the customer.")] + public IEnumerable? addresses { get; set; } + /// ///The email address to update the customer with. If no `id` is provided, this is used to uniquely identify /// the customer. @@ -83761,39 +83761,39 @@ public class OrderCreateUpsertCustomerAttributesInput : GraphQLObject - [Description("The email address to update the customer with. If no `id` is provided, this is used to uniquely identify\n the customer.\n\n > Note:\n > If both this email input field and the email on `OrderCreateOrderInput` are provided, this field will\n > take precedence.")] - public string? email { get; set; } - + [Description("The email address to update the customer with. If no `id` is provided, this is used to uniquely identify\n the customer.\n\n > Note:\n > If both this email input field and the email on `OrderCreateOrderInput` are provided, this field will\n > take precedence.")] + public string? email { get; set; } + /// ///The first name of the customer. /// - [Description("The first name of the customer.")] - public string? firstName { get; set; } - + [Description("The first name of the customer.")] + public string? firstName { get; set; } + /// ///The id of the customer to associate to the order. /// - [Description("The id of the customer to associate to the order.")] - public string? id { get; set; } - + [Description("The id of the customer to associate to the order.")] + public string? id { get; set; } + /// ///The last name of the customer. /// - [Description("The last name of the customer.")] - public string? lastName { get; set; } - + [Description("The last name of the customer.")] + public string? lastName { get; set; } + /// ///A unique identifier for the customer that's used with [Multipass login](https://shopify.dev/api/multipass). /// - [Description("A unique identifier for the customer that's used with [Multipass login](https://shopify.dev/api/multipass).")] - public string? multipassIdentifier { get; set; } - + [Description("A unique identifier for the customer that's used with [Multipass login](https://shopify.dev/api/multipass).")] + public string? multipassIdentifier { get; set; } + /// ///A note about the customer. /// - [Description("A note about the customer.")] - public string? note { get; set; } - + [Description("A note about the customer.")] + public string? note { get; set; } + /// ///The unique phone number ([E.164 format](https://en.wikipedia.org/wiki/E.164)) for this customer. /// Attempting to assign the same phone number to multiple customers returns an error. The property can be @@ -83804,2202 +83804,2202 @@ public class OrderCreateUpsertCustomerAttributesInput : GraphQLObject - [Description("The unique phone number ([E.164 format](https://en.wikipedia.org/wiki/E.164)) for this customer.\n Attempting to assign the same phone number to multiple customers returns an error. The property can be\n set using different formats, but each format must represent a number that can be dialed from anywhere\n in the world. The following formats are all valid:\n - 6135551212\n - +16135551212\n - (613)555-1212\n - +1 613-555-1212")] - public string? phone { get; set; } - + [Description("The unique phone number ([E.164 format](https://en.wikipedia.org/wiki/E.164)) for this customer.\n Attempting to assign the same phone number to multiple customers returns an error. The property can be\n set using different formats, but each format must represent a number that can be dialed from anywhere\n in the world. The following formats are all valid:\n - 6135551212\n - +16135551212\n - (613)555-1212\n - +1 613-555-1212")] + public string? phone { get; set; } + /// ///Tags that the shop owner has attached to the customer. A customer can have up to 250 tags. Each tag can have up to 255 characters. /// - [Description("Tags that the shop owner has attached to the customer. A customer can have up to 250 tags. Each tag can have up to 255 characters.")] - public IEnumerable? tags { get; set; } - + [Description("Tags that the shop owner has attached to the customer. A customer can have up to 250 tags. Each tag can have up to 255 characters.")] + public IEnumerable? tags { get; set; } + /// ///Whether the customer is exempt from paying taxes on their order. If `true`, then taxes won't be applied to an order at checkout. If `false`, then taxes will be applied at checkout. /// - [Description("Whether the customer is exempt from paying taxes on their order. If `true`, then taxes won't be applied to an order at checkout. If `false`, then taxes will be applied at checkout.")] - public bool? taxExempt { get; set; } - } - + [Description("Whether the customer is exempt from paying taxes on their order. If `true`, then taxes won't be applied to an order at checkout. If `false`, then taxes will be applied at checkout.")] + public bool? taxExempt { get; set; } + } + /// ///An error that occurs during the execution of `OrderCreate`. /// - [Description("An error that occurs during the execution of `OrderCreate`.")] - public class OrderCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderCreate`.")] + public class OrderCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderCreateUserError`. /// - [Description("Possible error codes that can be returned by `OrderCreateUserError`.")] - public enum OrderCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderCreateUserError`.")] + public enum OrderCreateUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Indicates that the line item fulfillment service handle is invalid. /// - [Description("Indicates that the line item fulfillment service handle is invalid.")] - FULFILLMENT_SERVICE_INVALID, + [Description("Indicates that the line item fulfillment service handle is invalid.")] + FULFILLMENT_SERVICE_INVALID, /// ///Indicates that the inventory claim failed during order creation. /// - [Description("Indicates that the inventory claim failed during order creation.")] - INVENTORY_CLAIM_FAILED, + [Description("Indicates that the inventory claim failed during order creation.")] + INVENTORY_CLAIM_FAILED, /// ///Indicates that the processed_at field is invalid, such as when it references a future date. /// - [Description("Indicates that the processed_at field is invalid, such as when it references a future date.")] - PROCESSED_AT_INVALID, + [Description("Indicates that the processed_at field is invalid, such as when it references a future date.")] + PROCESSED_AT_INVALID, /// ///Indicates that the tax line rate is missing - only enforced for LineItem or ShippingLine-level tax lines. /// - [Description("Indicates that the tax line rate is missing - only enforced for LineItem or ShippingLine-level tax lines.")] - TAX_LINE_RATE_MISSING, + [Description("Indicates that the tax line rate is missing - only enforced for LineItem or ShippingLine-level tax lines.")] + TAX_LINE_RATE_MISSING, /// ///Indicates that both customer_id and customer were provided - only one is permitted. /// - [Description("Indicates that both customer_id and customer were provided - only one is permitted.")] - REDUNDANT_CUSTOMER_FIELDS, + [Description("Indicates that both customer_id and customer were provided - only one is permitted.")] + REDUNDANT_CUSTOMER_FIELDS, /// ///Indicates that the shop is dormant and cannot create orders. /// - [Description("Indicates that the shop is dormant and cannot create orders.")] - SHOP_DORMANT, - } - - public static class OrderCreateUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string FULFILLMENT_SERVICE_INVALID = @"FULFILLMENT_SERVICE_INVALID"; - public const string INVENTORY_CLAIM_FAILED = @"INVENTORY_CLAIM_FAILED"; - public const string PROCESSED_AT_INVALID = @"PROCESSED_AT_INVALID"; - public const string TAX_LINE_RATE_MISSING = @"TAX_LINE_RATE_MISSING"; - public const string REDUNDANT_CUSTOMER_FIELDS = @"REDUNDANT_CUSTOMER_FIELDS"; - public const string SHOP_DORMANT = @"SHOP_DORMANT"; - } - + [Description("Indicates that the shop is dormant and cannot create orders.")] + SHOP_DORMANT, + } + + public static class OrderCreateUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string FULFILLMENT_SERVICE_INVALID = @"FULFILLMENT_SERVICE_INVALID"; + public const string INVENTORY_CLAIM_FAILED = @"INVENTORY_CLAIM_FAILED"; + public const string PROCESSED_AT_INVALID = @"PROCESSED_AT_INVALID"; + public const string TAX_LINE_RATE_MISSING = @"TAX_LINE_RATE_MISSING"; + public const string REDUNDANT_CUSTOMER_FIELDS = @"REDUNDANT_CUSTOMER_FIELDS"; + public const string SHOP_DORMANT = @"SHOP_DORMANT"; + } + /// ///Return type for `orderCustomerRemove` mutation. /// - [Description("Return type for `orderCustomerRemove` mutation.")] - public class OrderCustomerRemovePayload : GraphQLObject - { + [Description("Return type for `orderCustomerRemove` mutation.")] + public class OrderCustomerRemovePayload : GraphQLObject + { /// ///The order that had its customer removed. /// - [Description("The order that had its customer removed.")] - public Order? order { get; set; } - + [Description("The order that had its customer removed.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `orderCustomerSet` mutation. /// - [Description("Return type for `orderCustomerSet` mutation.")] - public class OrderCustomerSetPayload : GraphQLObject - { + [Description("Return type for `orderCustomerSet` mutation.")] + public class OrderCustomerSetPayload : GraphQLObject + { /// ///The order that had a customer set. /// - [Description("The order that had a customer set.")] - public Order? order { get; set; } - + [Description("The order that had a customer set.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `orderDelete` mutation. /// - [Description("Return type for `orderDelete` mutation.")] - public class OrderDeletePayload : GraphQLObject - { + [Description("Return type for `orderDelete` mutation.")] + public class OrderDeletePayload : GraphQLObject + { /// ///Deleted order ID. /// - [Description("Deleted order ID.")] - public string? deletedId { get; set; } - + [Description("Deleted order ID.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Errors related to deleting an order. /// - [Description("Errors related to deleting an order.")] - public class OrderDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("Errors related to deleting an order.")] + public class OrderDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderDeleteUserError`. /// - [Description("Possible error codes that can be returned by `OrderDeleteUserError`.")] - public enum OrderDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderDeleteUserError`.")] + public enum OrderDeleteUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class OrderDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class OrderDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string INVALID = @"INVALID"; + } + /// ///Represents the order's current financial status. /// - [Description("Represents the order's current financial status.")] - public enum OrderDisplayFinancialStatus - { + [Description("Represents the order's current financial status.")] + public enum OrderDisplayFinancialStatus + { /// ///Displayed as **Pending**. Orders have this status when the payment provider needs time to complete the payment, or when manual payment methods are being used. /// - [Description("Displayed as **Pending**. Orders have this status when the payment provider needs time to complete the payment, or when manual payment methods are being used.")] - PENDING, + [Description("Displayed as **Pending**. Orders have this status when the payment provider needs time to complete the payment, or when manual payment methods are being used.")] + PENDING, /// ///Displayed as **Authorized**. The payment provider has validated the customer's payment information. This status appears only for manual payment capture and indicates payments should be captured before the authorization period expires. /// - [Description("Displayed as **Authorized**. The payment provider has validated the customer's payment information. This status appears only for manual payment capture and indicates payments should be captured before the authorization period expires.")] - AUTHORIZED, + [Description("Displayed as **Authorized**. The payment provider has validated the customer's payment information. This status appears only for manual payment capture and indicates payments should be captured before the authorization period expires.")] + AUTHORIZED, /// ///Displayed as **Partially paid**. A payment was manually captured for the order with an amount less than the full order value. /// - [Description("Displayed as **Partially paid**. A payment was manually captured for the order with an amount less than the full order value.")] - PARTIALLY_PAID, + [Description("Displayed as **Partially paid**. A payment was manually captured for the order with an amount less than the full order value.")] + PARTIALLY_PAID, /// ///Displayed as **Partially refunded**. The amount refunded to a customer is less than the full amount paid for an order. /// - [Description("Displayed as **Partially refunded**. The amount refunded to a customer is less than the full amount paid for an order.")] - PARTIALLY_REFUNDED, + [Description("Displayed as **Partially refunded**. The amount refunded to a customer is less than the full amount paid for an order.")] + PARTIALLY_REFUNDED, /// ///Displayed as **Voided**. An unpaid (payment authorized but not captured) order was manually /// canceled. /// - [Description("Displayed as **Voided**. An unpaid (payment authorized but not captured) order was manually\n canceled.")] - VOIDED, + [Description("Displayed as **Voided**. An unpaid (payment authorized but not captured) order was manually\n canceled.")] + VOIDED, /// ///Displayed as **Paid**. Payment was automatically or manually captured, or the order was marked as paid. /// - [Description("Displayed as **Paid**. Payment was automatically or manually captured, or the order was marked as paid.")] - PAID, + [Description("Displayed as **Paid**. Payment was automatically or manually captured, or the order was marked as paid.")] + PAID, /// ///Displayed as **Refunded**. The full amount paid for an order was refunded to the customer. /// - [Description("Displayed as **Refunded**. The full amount paid for an order was refunded to the customer.")] - REFUNDED, + [Description("Displayed as **Refunded**. The full amount paid for an order was refunded to the customer.")] + REFUNDED, /// ///Displayed as **Expired**. Payment wasn't captured before the payment provider's deadline on an authorized order. Some payment providers use this status to indicate failed payment processing. /// - [Description("Displayed as **Expired**. Payment wasn't captured before the payment provider's deadline on an authorized order. Some payment providers use this status to indicate failed payment processing.")] - EXPIRED, - } - - public static class OrderDisplayFinancialStatusStringValues - { - public const string PENDING = @"PENDING"; - public const string AUTHORIZED = @"AUTHORIZED"; - public const string PARTIALLY_PAID = @"PARTIALLY_PAID"; - public const string PARTIALLY_REFUNDED = @"PARTIALLY_REFUNDED"; - public const string VOIDED = @"VOIDED"; - public const string PAID = @"PAID"; - public const string REFUNDED = @"REFUNDED"; - public const string EXPIRED = @"EXPIRED"; - } - + [Description("Displayed as **Expired**. Payment wasn't captured before the payment provider's deadline on an authorized order. Some payment providers use this status to indicate failed payment processing.")] + EXPIRED, + } + + public static class OrderDisplayFinancialStatusStringValues + { + public const string PENDING = @"PENDING"; + public const string AUTHORIZED = @"AUTHORIZED"; + public const string PARTIALLY_PAID = @"PARTIALLY_PAID"; + public const string PARTIALLY_REFUNDED = @"PARTIALLY_REFUNDED"; + public const string VOIDED = @"VOIDED"; + public const string PAID = @"PAID"; + public const string REFUNDED = @"REFUNDED"; + public const string EXPIRED = @"EXPIRED"; + } + /// ///Represents the order's aggregated fulfillment status for display purposes. /// - [Description("Represents the order's aggregated fulfillment status for display purposes.")] - public enum OrderDisplayFulfillmentStatus - { + [Description("Represents the order's aggregated fulfillment status for display purposes.")] + public enum OrderDisplayFulfillmentStatus + { /// ///Displayed as **Unfulfilled**. None of the items in the order have been fulfilled. /// - [Description("Displayed as **Unfulfilled**. None of the items in the order have been fulfilled.")] - UNFULFILLED, + [Description("Displayed as **Unfulfilled**. None of the items in the order have been fulfilled.")] + UNFULFILLED, /// ///Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled. /// - [Description("Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled.")] - PARTIALLY_FULFILLED, + [Description("Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled.")] + PARTIALLY_FULFILLED, /// ///Displayed as **Fulfilled**. All the items in the order have been fulfilled. /// - [Description("Displayed as **Fulfilled**. All the items in the order have been fulfilled.")] - FULFILLED, + [Description("Displayed as **Fulfilled**. All the items in the order have been fulfilled.")] + FULFILLED, /// ///Displayed as **Restocked**. All the items in the order have been restocked. Replaced by the "UNFULFILLED" status. /// - [Description("Displayed as **Restocked**. All the items in the order have been restocked. Replaced by the \"UNFULFILLED\" status.")] - RESTOCKED, + [Description("Displayed as **Restocked**. All the items in the order have been restocked. Replaced by the \"UNFULFILLED\" status.")] + RESTOCKED, /// ///Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by the "IN_PROGRESS" status. /// - [Description("Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by the \"IN_PROGRESS\" status.")] - PENDING_FULFILLMENT, + [Description("Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by the \"IN_PROGRESS\" status.")] + PENDING_FULFILLMENT, /// ///Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by "UNFULFILLED" status. /// - [Description("Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by \"UNFULFILLED\" status.")] - OPEN, + [Description("Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by \"UNFULFILLED\" status.")] + OPEN, /// ///Displayed as **In progress**. All of the items in the order have had a request for fulfillment sent to the fulfillment service or all of the items have been marked as in progress. /// - [Description("Displayed as **In progress**. All of the items in the order have had a request for fulfillment sent to the fulfillment service or all of the items have been marked as in progress.")] - IN_PROGRESS, + [Description("Displayed as **In progress**. All of the items in the order have had a request for fulfillment sent to the fulfillment service or all of the items have been marked as in progress.")] + IN_PROGRESS, /// ///Displayed as **On hold**. All of the unfulfilled items in this order are on hold. /// - [Description("Displayed as **On hold**. All of the unfulfilled items in this order are on hold.")] - ON_HOLD, + [Description("Displayed as **On hold**. All of the unfulfilled items in this order are on hold.")] + ON_HOLD, /// ///Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time. /// - [Description("Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time.")] - SCHEDULED, + [Description("Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time.")] + SCHEDULED, /// ///Displayed as **Request declined**. Some of the items in the order have been rejected for fulfillment by the fulfillment service. /// - [Description("Displayed as **Request declined**. Some of the items in the order have been rejected for fulfillment by the fulfillment service.")] - REQUEST_DECLINED, - } - - public static class OrderDisplayFulfillmentStatusStringValues - { - public const string UNFULFILLED = @"UNFULFILLED"; - public const string PARTIALLY_FULFILLED = @"PARTIALLY_FULFILLED"; - public const string FULFILLED = @"FULFILLED"; - public const string RESTOCKED = @"RESTOCKED"; - public const string PENDING_FULFILLMENT = @"PENDING_FULFILLMENT"; - public const string OPEN = @"OPEN"; - public const string IN_PROGRESS = @"IN_PROGRESS"; - public const string ON_HOLD = @"ON_HOLD"; - public const string SCHEDULED = @"SCHEDULED"; - public const string REQUEST_DECLINED = @"REQUEST_DECLINED"; - } - + [Description("Displayed as **Request declined**. Some of the items in the order have been rejected for fulfillment by the fulfillment service.")] + REQUEST_DECLINED, + } + + public static class OrderDisplayFulfillmentStatusStringValues + { + public const string UNFULFILLED = @"UNFULFILLED"; + public const string PARTIALLY_FULFILLED = @"PARTIALLY_FULFILLED"; + public const string FULFILLED = @"FULFILLED"; + public const string RESTOCKED = @"RESTOCKED"; + public const string PENDING_FULFILLMENT = @"PENDING_FULFILLMENT"; + public const string OPEN = @"OPEN"; + public const string IN_PROGRESS = @"IN_PROGRESS"; + public const string ON_HOLD = @"ON_HOLD"; + public const string SCHEDULED = @"SCHEDULED"; + public const string REQUEST_DECLINED = @"REQUEST_DECLINED"; + } + /// ///Represents the order's refund status for display purposes. /// - [Description("Represents the order's refund status for display purposes.")] - public enum OrderDisplayRefundStatus - { + [Description("Represents the order's refund status for display purposes.")] + public enum OrderDisplayRefundStatus + { /// ///Displayed as **Refund pending**. Means that the refund has not yet been submitted to the payments processor. /// - [Description("Displayed as **Refund pending**. Means that the refund has not yet been submitted to the payments processor.")] - DEFERRED, - } - - public static class OrderDisplayRefundStatusStringValues - { - public const string DEFERRED = @"DEFERRED"; - } - + [Description("Displayed as **Refund pending**. Means that the refund has not yet been submitted to the payments processor.")] + DEFERRED, + } + + public static class OrderDisplayRefundStatusStringValues + { + public const string DEFERRED = @"DEFERRED"; + } + /// ///A summary of the important details for a dispute on an order. /// - [Description("A summary of the important details for a dispute on an order.")] - public class OrderDisputeSummary : GraphQLObject, INode - { + [Description("A summary of the important details for a dispute on an order.")] + public class OrderDisputeSummary : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The type that the dispute was initiated as. /// - [Description("The type that the dispute was initiated as.")] - [NonNull] - [EnumType(typeof(DisputeType))] - public string? initiatedAs { get; set; } - + [Description("The type that the dispute was initiated as.")] + [NonNull] + [EnumType(typeof(DisputeType))] + public string? initiatedAs { get; set; } + /// ///The current status of the dispute. /// - [Description("The current status of the dispute.")] - [NonNull] - [EnumType(typeof(DisputeStatus))] - public string? status { get; set; } - } - + [Description("The current status of the dispute.")] + [NonNull] + [EnumType(typeof(DisputeStatus))] + public string? status { get; set; } + } + /// ///An auto-generated type which holds one Order and a cursor during pagination. /// - [Description("An auto-generated type which holds one Order and a cursor during pagination.")] - public class OrderEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Order and a cursor during pagination.")] + public class OrderEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of OrderEdge. /// - [Description("The item at the end of OrderEdge.")] - [NonNull] - public Order? node { get; set; } - } - + [Description("The item at the end of OrderEdge.")] + [NonNull] + public Order? node { get; set; } + } + /// ///Return type for `orderEditAddCustomItem` mutation. /// - [Description("Return type for `orderEditAddCustomItem` mutation.")] - public class OrderEditAddCustomItemPayload : GraphQLObject - { + [Description("Return type for `orderEditAddCustomItem` mutation.")] + public class OrderEditAddCustomItemPayload : GraphQLObject + { /// ///The custom line item that will be added to the order based on the current edits. /// - [Description("The custom line item that will be added to the order based on the current edits.")] - public CalculatedLineItem? calculatedLineItem { get; set; } - + [Description("The custom line item that will be added to the order based on the current edits.")] + public CalculatedLineItem? calculatedLineItem { get; set; } + /// ///An order with the edits applied but not saved. /// - [Description("An order with the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("An order with the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `orderEditAddLineItemDiscount` mutation. /// - [Description("Return type for `orderEditAddLineItemDiscount` mutation.")] - public class OrderEditAddLineItemDiscountPayload : GraphQLObject - { + [Description("Return type for `orderEditAddLineItemDiscount` mutation.")] + public class OrderEditAddLineItemDiscountPayload : GraphQLObject + { /// ///The discount applied to a line item during this order edit. /// - [Description("The discount applied to a line item during this order edit.")] - public OrderStagedChangeAddLineItemDiscount? addedDiscountStagedChange { get; set; } - + [Description("The discount applied to a line item during this order edit.")] + public OrderStagedChangeAddLineItemDiscount? addedDiscountStagedChange { get; set; } + /// ///The line item with the edits applied but not saved. /// - [Description("The line item with the edits applied but not saved.")] - public CalculatedLineItem? calculatedLineItem { get; set; } - + [Description("The line item with the edits applied but not saved.")] + public CalculatedLineItem? calculatedLineItem { get; set; } + /// ///An order with the edits applied but not saved. /// - [Description("An order with the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("An order with the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields used to add a shipping line. /// - [Description("The input fields used to add a shipping line.")] - public class OrderEditAddShippingLineInput : GraphQLObject - { + [Description("The input fields used to add a shipping line.")] + public class OrderEditAddShippingLineInput : GraphQLObject + { /// ///The price of the shipping line. /// - [Description("The price of the shipping line.")] - [NonNull] - public MoneyInput? price { get; set; } - + [Description("The price of the shipping line.")] + [NonNull] + public MoneyInput? price { get; set; } + /// ///The title of the shipping line. /// - [Description("The title of the shipping line.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the shipping line.")] + [NonNull] + public string? title { get; set; } + } + /// ///Return type for `orderEditAddShippingLine` mutation. /// - [Description("Return type for `orderEditAddShippingLine` mutation.")] - public class OrderEditAddShippingLinePayload : GraphQLObject - { + [Description("Return type for `orderEditAddShippingLine` mutation.")] + public class OrderEditAddShippingLinePayload : GraphQLObject + { /// ///The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder) ///with the edits applied but not saved. /// - [Description("The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nwith the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nwith the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The [calculated shipping line](https://shopify.dev/api/admin-graphql/latest/objects/calculatedshippingline) ///that's added during this order edit. /// - [Description("The [calculated shipping line](https://shopify.dev/api/admin-graphql/latest/objects/calculatedshippingline)\nthat's added during this order edit.")] - public CalculatedShippingLine? calculatedShippingLine { get; set; } - + [Description("The [calculated shipping line](https://shopify.dev/api/admin-graphql/latest/objects/calculatedshippingline)\nthat's added during this order edit.")] + public CalculatedShippingLine? calculatedShippingLine { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderEditAddShippingLine`. /// - [Description("An error that occurs during the execution of `OrderEditAddShippingLine`.")] - public class OrderEditAddShippingLineUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderEditAddShippingLine`.")] + public class OrderEditAddShippingLineUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderEditAddShippingLineUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderEditAddShippingLineUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderEditAddShippingLineUserError`. /// - [Description("Possible error codes that can be returned by `OrderEditAddShippingLineUserError`.")] - public enum OrderEditAddShippingLineUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderEditAddShippingLineUserError`.")] + public enum OrderEditAddShippingLineUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class OrderEditAddShippingLineUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class OrderEditAddShippingLineUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///Return type for `orderEditAddVariant` mutation. /// - [Description("Return type for `orderEditAddVariant` mutation.")] - public class OrderEditAddVariantPayload : GraphQLObject - { + [Description("Return type for `orderEditAddVariant` mutation.")] + public class OrderEditAddVariantPayload : GraphQLObject + { /// ///The [calculated line item](https://shopify.dev/api/admin-graphql/latest/objects/calculatedlineitem) ///that's added during this order edit. /// - [Description("The [calculated line item](https://shopify.dev/api/admin-graphql/latest/objects/calculatedlineitem)\nthat's added during this order edit.")] - public CalculatedLineItem? calculatedLineItem { get; set; } - + [Description("The [calculated line item](https://shopify.dev/api/admin-graphql/latest/objects/calculatedlineitem)\nthat's added during this order edit.")] + public CalculatedLineItem? calculatedLineItem { get; set; } + /// ///The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder) ///with the edits applied but not saved. /// - [Description("The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nwith the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nwith the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An agreement associated with an edit to the order. /// - [Description("An agreement associated with an edit to the order.")] - public class OrderEditAgreement : GraphQLObject, ISalesAgreement - { + [Description("An agreement associated with an edit to the order.")] + public class OrderEditAgreement : GraphQLObject, ISalesAgreement + { /// ///The application that created the agreement. /// - [Description("The application that created the agreement.")] - public App? app { get; set; } - + [Description("The application that created the agreement.")] + public App? app { get; set; } + /// ///The date and time at which the agreement occured. /// - [Description("The date and time at which the agreement occured.")] - [NonNull] - public DateTime? happenedAt { get; set; } - + [Description("The date and time at which the agreement occured.")] + [NonNull] + public DateTime? happenedAt { get; set; } + /// ///The unique ID for the agreement. /// - [Description("The unique ID for the agreement.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the agreement.")] + [NonNull] + public string? id { get; set; } + /// ///The reason the agremeent was created. /// - [Description("The reason the agremeent was created.")] - [NonNull] - [EnumType(typeof(OrderActionType))] - public string? reason { get; set; } - + [Description("The reason the agremeent was created.")] + [NonNull] + [EnumType(typeof(OrderActionType))] + public string? reason { get; set; } + /// ///The sales associated with the agreement. /// - [Description("The sales associated with the agreement.")] - [NonNull] - public SaleConnection? sales { get; set; } - + [Description("The sales associated with the agreement.")] + [NonNull] + public SaleConnection? sales { get; set; } + /// ///The staff member associated with the agreement. /// - [Description("The staff member associated with the agreement.")] - public StaffMember? user { get; set; } - } - + [Description("The staff member associated with the agreement.")] + public StaffMember? user { get; set; } + } + /// ///The input fields used to add a discount during an order edit. /// - [Description("The input fields used to add a discount during an order edit.")] - public class OrderEditAppliedDiscountInput : GraphQLObject - { + [Description("The input fields used to add a discount during an order edit.")] + public class OrderEditAppliedDiscountInput : GraphQLObject + { /// ///The description of the discount. /// - [Description("The description of the discount.")] - public string? description { get; set; } - + [Description("The description of the discount.")] + public string? description { get; set; } + /// ///The value of the discount as a fixed amount. /// - [Description("The value of the discount as a fixed amount.")] - public MoneyInput? fixedValue { get; set; } - + [Description("The value of the discount as a fixed amount.")] + public MoneyInput? fixedValue { get; set; } + /// ///The value of the discount as a percentage. /// - [Description("The value of the discount as a percentage.")] - public decimal? percentValue { get; set; } - } - + [Description("The value of the discount as a percentage.")] + public decimal? percentValue { get; set; } + } + /// ///Return type for `orderEditBegin` mutation. /// - [Description("Return type for `orderEditBegin` mutation.")] - public class OrderEditBeginPayload : GraphQLObject - { + [Description("Return type for `orderEditBegin` mutation.")] + public class OrderEditBeginPayload : GraphQLObject + { /// ///The order that will be edited. /// - [Description("The order that will be edited.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("The order that will be edited.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session that was created. /// - [Description("The order edit session that was created.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session that was created.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `orderEditCommit` mutation. /// - [Description("Return type for `orderEditCommit` mutation.")] - public class OrderEditCommitPayload : GraphQLObject - { + [Description("Return type for `orderEditCommit` mutation.")] + public class OrderEditCommitPayload : GraphQLObject + { /// ///The order with changes applied. /// - [Description("The order with changes applied.")] - public Order? order { get; set; } - + [Description("The order with changes applied.")] + public Order? order { get; set; } + /// ///Messages to display to the user after the staged changes are commmitted. /// - [Description("Messages to display to the user after the staged changes are commmitted.")] - public IEnumerable? successMessages { get; set; } - + [Description("Messages to display to the user after the staged changes are commmitted.")] + public IEnumerable? successMessages { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `orderEditRemoveDiscount` mutation. /// - [Description("Return type for `orderEditRemoveDiscount` mutation.")] - public class OrderEditRemoveDiscountPayload : GraphQLObject - { + [Description("Return type for `orderEditRemoveDiscount` mutation.")] + public class OrderEditRemoveDiscountPayload : GraphQLObject + { /// ///An order with the edits applied but not saved. /// - [Description("An order with the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("An order with the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderEditRemoveDiscount`. /// - [Description("An error that occurs during the execution of `OrderEditRemoveDiscount`.")] - public class OrderEditRemoveDiscountUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderEditRemoveDiscount`.")] + public class OrderEditRemoveDiscountUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderEditRemoveDiscountUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderEditRemoveDiscountUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderEditRemoveDiscountUserError`. /// - [Description("Possible error codes that can be returned by `OrderEditRemoveDiscountUserError`.")] - public enum OrderEditRemoveDiscountUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderEditRemoveDiscountUserError`.")] + public enum OrderEditRemoveDiscountUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class OrderEditRemoveDiscountUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class OrderEditRemoveDiscountUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///Return type for `orderEditRemoveLineItemDiscount` mutation. /// - [Description("Return type for `orderEditRemoveLineItemDiscount` mutation.")] - public class OrderEditRemoveLineItemDiscountPayload : GraphQLObject - { + [Description("Return type for `orderEditRemoveLineItemDiscount` mutation.")] + public class OrderEditRemoveLineItemDiscountPayload : GraphQLObject + { /// ///The calculated line item after removal of the discount. /// - [Description("The calculated line item after removal of the discount.")] - public CalculatedLineItem? calculatedLineItem { get; set; } - + [Description("The calculated line item after removal of the discount.")] + public CalculatedLineItem? calculatedLineItem { get; set; } + /// ///An order with the edits applied but not saved. /// - [Description("An order with the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("An order with the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `orderEditRemoveShippingLine` mutation. /// - [Description("Return type for `orderEditRemoveShippingLine` mutation.")] - public class OrderEditRemoveShippingLinePayload : GraphQLObject - { + [Description("Return type for `orderEditRemoveShippingLine` mutation.")] + public class OrderEditRemoveShippingLinePayload : GraphQLObject + { /// ///The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder) ///with the edits applied but not saved. /// - [Description("The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nwith the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("The [calculated order](https://shopify.dev/api/admin-graphql/latest/objects/calculatedorder)\nwith the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderEditRemoveShippingLine`. /// - [Description("An error that occurs during the execution of `OrderEditRemoveShippingLine`.")] - public class OrderEditRemoveShippingLineUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderEditRemoveShippingLine`.")] + public class OrderEditRemoveShippingLineUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderEditRemoveShippingLineUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderEditRemoveShippingLineUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderEditRemoveShippingLineUserError`. /// - [Description("Possible error codes that can be returned by `OrderEditRemoveShippingLineUserError`.")] - public enum OrderEditRemoveShippingLineUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderEditRemoveShippingLineUserError`.")] + public enum OrderEditRemoveShippingLineUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class OrderEditRemoveShippingLineUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class OrderEditRemoveShippingLineUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///An edit session for an order. /// - [Description("An edit session for an order.")] - public class OrderEditSession : GraphQLObject, INode - { + [Description("An edit session for an order.")] + public class OrderEditSession : GraphQLObject, INode + { /// ///The unique ID of the order edit session. /// - [Description("The unique ID of the order edit session.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The unique ID of the order edit session.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `orderEditSetQuantity` mutation. /// - [Description("Return type for `orderEditSetQuantity` mutation.")] - public class OrderEditSetQuantityPayload : GraphQLObject - { + [Description("Return type for `orderEditSetQuantity` mutation.")] + public class OrderEditSetQuantityPayload : GraphQLObject + { /// ///The calculated line item with the edits applied but not saved. /// - [Description("The calculated line item with the edits applied but not saved.")] - public CalculatedLineItem? calculatedLineItem { get; set; } - + [Description("The calculated line item with the edits applied but not saved.")] + public CalculatedLineItem? calculatedLineItem { get; set; } + /// ///The calculated order with the edits applied but not saved. /// - [Description("The calculated order with the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("The calculated order with the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `orderEditUpdateDiscount` mutation. /// - [Description("Return type for `orderEditUpdateDiscount` mutation.")] - public class OrderEditUpdateDiscountPayload : GraphQLObject - { + [Description("Return type for `orderEditUpdateDiscount` mutation.")] + public class OrderEditUpdateDiscountPayload : GraphQLObject + { /// ///An order with the edits applied but not saved. /// - [Description("An order with the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("An order with the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderEditUpdateDiscount`. /// - [Description("An error that occurs during the execution of `OrderEditUpdateDiscount`.")] - public class OrderEditUpdateDiscountUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderEditUpdateDiscount`.")] + public class OrderEditUpdateDiscountUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderEditUpdateDiscountUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderEditUpdateDiscountUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderEditUpdateDiscountUserError`. /// - [Description("Possible error codes that can be returned by `OrderEditUpdateDiscountUserError`.")] - public enum OrderEditUpdateDiscountUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderEditUpdateDiscountUserError`.")] + public enum OrderEditUpdateDiscountUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class OrderEditUpdateDiscountUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class OrderEditUpdateDiscountUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///The input fields used to update a shipping line. /// - [Description("The input fields used to update a shipping line.")] - public class OrderEditUpdateShippingLineInput : GraphQLObject - { + [Description("The input fields used to update a shipping line.")] + public class OrderEditUpdateShippingLineInput : GraphQLObject + { /// ///The price of the shipping line. /// - [Description("The price of the shipping line.")] - public MoneyInput? price { get; set; } - + [Description("The price of the shipping line.")] + public MoneyInput? price { get; set; } + /// ///The title of the shipping line. /// - [Description("The title of the shipping line.")] - public string? title { get; set; } - } - + [Description("The title of the shipping line.")] + public string? title { get; set; } + } + /// ///Return type for `orderEditUpdateShippingLine` mutation. /// - [Description("Return type for `orderEditUpdateShippingLine` mutation.")] - public class OrderEditUpdateShippingLinePayload : GraphQLObject - { + [Description("Return type for `orderEditUpdateShippingLine` mutation.")] + public class OrderEditUpdateShippingLinePayload : GraphQLObject + { /// ///An order with the edits applied but not saved. /// - [Description("An order with the edits applied but not saved.")] - public CalculatedOrder? calculatedOrder { get; set; } - + [Description("An order with the edits applied but not saved.")] + public CalculatedOrder? calculatedOrder { get; set; } + /// ///The order edit session with the edits applied but not saved. /// - [Description("The order edit session with the edits applied but not saved.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("The order edit session with the edits applied but not saved.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderEditUpdateShippingLine`. /// - [Description("An error that occurs during the execution of `OrderEditUpdateShippingLine`.")] - public class OrderEditUpdateShippingLineUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderEditUpdateShippingLine`.")] + public class OrderEditUpdateShippingLineUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderEditUpdateShippingLineUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderEditUpdateShippingLineUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderEditUpdateShippingLineUserError`. /// - [Description("Possible error codes that can be returned by `OrderEditUpdateShippingLineUserError`.")] - public enum OrderEditUpdateShippingLineUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderEditUpdateShippingLineUserError`.")] + public enum OrderEditUpdateShippingLineUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class OrderEditUpdateShippingLineUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class OrderEditUpdateShippingLineUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///The input fields for identifying a order. /// - [Description("The input fields for identifying a order.")] - public class OrderIdentifierInput : GraphQLObject - { + [Description("The input fields for identifying a order.")] + public class OrderIdentifierInput : GraphQLObject + { /// ///The ID of the order. /// - [Description("The ID of the order.")] - public string? id { get; set; } - + [Description("The ID of the order.")] + public string? id { get; set; } + /// ///The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the order. /// - [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the order.")] - public UniqueMetafieldValueInput? customId { get; set; } - } - + [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the order.")] + public UniqueMetafieldValueInput? customId { get; set; } + } + /// ///The input fields for specifying the information to be updated on an order when using the orderUpdate mutation. /// - [Description("The input fields for specifying the information to be updated on an order when using the orderUpdate mutation.")] - public class OrderInput : GraphQLObject - { + [Description("The input fields for specifying the information to be updated on an order when using the orderUpdate mutation.")] + public class OrderInput : GraphQLObject + { /// ///The ID of the order to update. /// - [Description("The ID of the order to update.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the order to update.")] + [NonNull] + public string? id { get; set; } + /// ///A new customer email address for the order. Overwrites the existing email address. /// - [Description("A new customer email address for the order. Overwrites the existing email address.")] - public string? email { get; set; } - + [Description("A new customer email address for the order. Overwrites the existing email address.")] + public string? email { get; set; } + /// ///A new customer phone number for the order. Overwrites the existing phone number. /// - [Description("A new customer phone number for the order. Overwrites the existing phone number.")] - public string? phone { get; set; } - + [Description("A new customer phone number for the order. Overwrites the existing phone number.")] + public string? phone { get; set; } + /// ///The new contents for the note associated with the order. Overwrites the existing note. /// - [Description("The new contents for the note associated with the order. Overwrites the existing note.")] - public string? note { get; set; } - + [Description("The new contents for the note associated with the order. Overwrites the existing note.")] + public string? note { get; set; } + /// ///A new list of tags for the order. Overwrites the existing tags. /// - [Description("A new list of tags for the order. Overwrites the existing tags.")] - public IEnumerable? tags { get; set; } - + [Description("A new list of tags for the order. Overwrites the existing tags.")] + public IEnumerable? tags { get; set; } + /// ///The new shipping address for the order. Overwrites the existing shipping address. /// - [Description("The new shipping address for the order. Overwrites the existing shipping address.")] - public MailingAddressInput? shippingAddress { get; set; } - + [Description("The new shipping address for the order. Overwrites the existing shipping address.")] + public MailingAddressInput? shippingAddress { get; set; } + /// ///A new list of custom attributes for the order. Overwrites the existing custom attributes. /// - [Description("A new list of custom attributes for the order. Overwrites the existing custom attributes.")] - public IEnumerable? customAttributes { get; set; } - + [Description("A new list of custom attributes for the order. Overwrites the existing custom attributes.")] + public IEnumerable? customAttributes { get; set; } + /// ///A list of new metafields to add to the existing metafields for the order. /// - [Description("A list of new metafields to add to the existing metafields for the order.")] - public IEnumerable? metafields { get; set; } - + [Description("A list of new metafields to add to the existing metafields for the order.")] + public IEnumerable? metafields { get; set; } + /// ///A list of new [localization extensions](https://shopify.dev/api/admin-graphql/latest/objects/localizationextension) to add to the existing list of localization extensions for the order. /// - [Description("A list of new [localization extensions](https://shopify.dev/api/admin-graphql/latest/objects/localizationextension) to add to the existing list of localization extensions for the order.")] - [Obsolete("This field will be removed in a future version. Use `localizedFields` instead.")] - public IEnumerable? localizationExtensions { get; set; } - + [Description("A list of new [localization extensions](https://shopify.dev/api/admin-graphql/latest/objects/localizationextension) to add to the existing list of localization extensions for the order.")] + [Obsolete("This field will be removed in a future version. Use `localizedFields` instead.")] + public IEnumerable? localizationExtensions { get; set; } + /// ///A list of new [localized fields](https://shopify.dev/api/admin-graphql/latest/objects/localizedfield) to add to the existing list of localized fields for the order. /// - [Description("A list of new [localized fields](https://shopify.dev/api/admin-graphql/latest/objects/localizedfield) to add to the existing list of localized fields for the order.")] - public IEnumerable? localizedFields { get; set; } - + [Description("A list of new [localized fields](https://shopify.dev/api/admin-graphql/latest/objects/localizedfield) to add to the existing list of localized fields for the order.")] + public IEnumerable? localizedFields { get; set; } + /// ///The new purchase order number for the order. /// - [Description("The new purchase order number for the order.")] - public string? poNumber { get; set; } - } - + [Description("The new purchase order number for the order.")] + public string? poNumber { get; set; } + } + /// ///Return type for `orderInvoiceSend` mutation. /// - [Description("Return type for `orderInvoiceSend` mutation.")] - public class OrderInvoiceSendPayload : GraphQLObject - { + [Description("Return type for `orderInvoiceSend` mutation.")] + public class OrderInvoiceSendPayload : GraphQLObject + { /// ///The order associated with the invoice email. /// - [Description("The order associated with the invoice email.")] - public Order? order { get; set; } - + [Description("The order associated with the invoice email.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderInvoiceSend`. /// - [Description("An error that occurs during the execution of `OrderInvoiceSend`.")] - public class OrderInvoiceSendUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderInvoiceSend`.")] + public class OrderInvoiceSendUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderInvoiceSendUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderInvoiceSendUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderInvoiceSendUserError`. /// - [Description("Possible error codes that can be returned by `OrderInvoiceSendUserError`.")] - public enum OrderInvoiceSendUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderInvoiceSendUserError`.")] + public enum OrderInvoiceSendUserErrorCode + { /// ///An error occurred while sending the invoice. /// - [Description("An error occurred while sending the invoice.")] - ORDER_INVOICE_SEND_UNSUCCESSFUL, - } - - public static class OrderInvoiceSendUserErrorCodeStringValues - { - public const string ORDER_INVOICE_SEND_UNSUCCESSFUL = @"ORDER_INVOICE_SEND_UNSUCCESSFUL"; - } - + [Description("An error occurred while sending the invoice.")] + ORDER_INVOICE_SEND_UNSUCCESSFUL, + } + + public static class OrderInvoiceSendUserErrorCodeStringValues + { + public const string ORDER_INVOICE_SEND_UNSUCCESSFUL = @"ORDER_INVOICE_SEND_UNSUCCESSFUL"; + } + /// ///The input fields for specifying the order to mark as paid. /// - [Description("The input fields for specifying the order to mark as paid.")] - public class OrderMarkAsPaidInput : GraphQLObject - { + [Description("The input fields for specifying the order to mark as paid.")] + public class OrderMarkAsPaidInput : GraphQLObject + { /// ///The ID of the order to mark as paid. /// - [Description("The ID of the order to mark as paid.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the order to mark as paid.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `orderMarkAsPaid` mutation. /// - [Description("Return type for `orderMarkAsPaid` mutation.")] - public class OrderMarkAsPaidPayload : GraphQLObject - { + [Description("Return type for `orderMarkAsPaid` mutation.")] + public class OrderMarkAsPaidPayload : GraphQLObject + { /// ///The order marked as paid. /// - [Description("The order marked as paid.")] - public Order? order { get; set; } - + [Description("The order marked as paid.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for specifying a closed order to open. /// - [Description("The input fields for specifying a closed order to open.")] - public class OrderOpenInput : GraphQLObject - { + [Description("The input fields for specifying a closed order to open.")] + public class OrderOpenInput : GraphQLObject + { /// ///The ID of the order to open. /// - [Description("The ID of the order to open.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the order to open.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `orderOpen` mutation. /// - [Description("Return type for `orderOpen` mutation.")] - public class OrderOpenPayload : GraphQLObject - { + [Description("Return type for `orderOpen` mutation.")] + public class OrderOpenPayload : GraphQLObject + { /// ///The opened order. /// - [Description("The opened order.")] - public Order? order { get; set; } - + [Description("The opened order.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The payment collection details for an order that requires additional payment following an edit to the order. /// - [Description("The payment collection details for an order that requires additional payment following an edit to the order.")] - public class OrderPaymentCollectionDetails : GraphQLObject - { + [Description("The payment collection details for an order that requires additional payment following an edit to the order.")] + public class OrderPaymentCollectionDetails : GraphQLObject + { /// ///The URL to use for collecting an additional payment on the order. /// - [Description("The URL to use for collecting an additional payment on the order.")] - public string? additionalPaymentCollectionUrl { get; set; } - + [Description("The URL to use for collecting an additional payment on the order.")] + public string? additionalPaymentCollectionUrl { get; set; } + /// ///The list of vaulted payment methods for the order with their permissions. /// - [Description("The list of vaulted payment methods for the order with their permissions.")] - public IEnumerable? vaultedPaymentMethods { get; set; } - } - + [Description("The list of vaulted payment methods for the order with their permissions.")] + public IEnumerable? vaultedPaymentMethods { get; set; } + } + /// ///The status of a customer's payment for an order. /// - [Description("The status of a customer's payment for an order.")] - public class OrderPaymentStatus : GraphQLObject - { + [Description("The status of a customer's payment for an order.")] + public class OrderPaymentStatus : GraphQLObject + { /// ///A message describing an error during the asynchronous processing of a payment. /// - [Description("A message describing an error during the asynchronous processing of a payment.")] - public string? errorMessage { get; set; } - + [Description("A message describing an error during the asynchronous processing of a payment.")] + public string? errorMessage { get; set; } + /// ///The ID of the payment, initially returned by an `orderCreateMandatePayment` or `orderCreatePayment` mutation. /// - [Description("The ID of the payment, initially returned by an `orderCreateMandatePayment` or `orderCreatePayment` mutation.")] - [NonNull] - public string? paymentReferenceId { get; set; } - + [Description("The ID of the payment, initially returned by an `orderCreateMandatePayment` or `orderCreatePayment` mutation.")] + [NonNull] + public string? paymentReferenceId { get; set; } + /// ///The status of the payment. /// - [Description("The status of the payment.")] - [NonNull] - [EnumType(typeof(OrderPaymentStatusResult))] - public string? status { get; set; } - + [Description("The status of the payment.")] + [NonNull] + [EnumType(typeof(OrderPaymentStatusResult))] + public string? status { get; set; } + /// ///The transaction associated with the payment. /// - [Description("The transaction associated with the payment.")] - [NonNull] - public IEnumerable? transactions { get; set; } - + [Description("The transaction associated with the payment.")] + [NonNull] + public IEnumerable? transactions { get; set; } + /// ///A translated message describing an error during the asynchronous processing of a payment. /// - [Description("A translated message describing an error during the asynchronous processing of a payment.")] - public string? translatedErrorMessage { get; set; } - } - + [Description("A translated message describing an error during the asynchronous processing of a payment.")] + public string? translatedErrorMessage { get; set; } + } + /// ///The type of a payment status. /// - [Description("The type of a payment status.")] - public enum OrderPaymentStatusResult - { + [Description("The type of a payment status.")] + public enum OrderPaymentStatusResult + { /// ///The payment succeeded. /// - [Description("The payment succeeded.")] - SUCCESS, + [Description("The payment succeeded.")] + SUCCESS, /// ///The payment is authorized. /// - [Description("The payment is authorized.")] - AUTHORIZED, + [Description("The payment is authorized.")] + AUTHORIZED, /// ///The payment is voided. /// - [Description("The payment is voided.")] - VOIDED, + [Description("The payment is voided.")] + VOIDED, /// ///The payment is refunded. /// - [Description("The payment is refunded.")] - REFUNDED, + [Description("The payment is refunded.")] + REFUNDED, /// ///The payment is captured. /// - [Description("The payment is captured.")] - CAPTURED, + [Description("The payment is captured.")] + CAPTURED, /// ///The payment is in purchased status. /// - [Description("The payment is in purchased status.")] - PURCHASED, + [Description("The payment is in purchased status.")] + PURCHASED, /// ///There was an error initiating the payment. /// - [Description("There was an error initiating the payment.")] - ERROR, + [Description("There was an error initiating the payment.")] + ERROR, /// ///The payment is still being processed. /// - [Description("The payment is still being processed.")] - PROCESSING, + [Description("The payment is still being processed.")] + PROCESSING, /// ///Redirect required. /// - [Description("Redirect required.")] - REDIRECT_REQUIRED, + [Description("Redirect required.")] + REDIRECT_REQUIRED, /// ///Payment can be retried. /// - [Description("Payment can be retried.")] - RETRYABLE, + [Description("Payment can be retried.")] + RETRYABLE, /// ///Status is unknown. /// - [Description("Status is unknown.")] - UNKNOWN, + [Description("Status is unknown.")] + UNKNOWN, /// ///The payment is awaiting processing. /// - [Description("The payment is awaiting processing.")] - INITIATED, + [Description("The payment is awaiting processing.")] + INITIATED, /// ///The payment is pending with the provider, and may take a while. /// - [Description("The payment is pending with the provider, and may take a while.")] - PENDING, - } - - public static class OrderPaymentStatusResultStringValues - { - public const string SUCCESS = @"SUCCESS"; - public const string AUTHORIZED = @"AUTHORIZED"; - public const string VOIDED = @"VOIDED"; - public const string REFUNDED = @"REFUNDED"; - public const string CAPTURED = @"CAPTURED"; - public const string PURCHASED = @"PURCHASED"; - public const string ERROR = @"ERROR"; - public const string PROCESSING = @"PROCESSING"; - public const string REDIRECT_REQUIRED = @"REDIRECT_REQUIRED"; - public const string RETRYABLE = @"RETRYABLE"; - public const string UNKNOWN = @"UNKNOWN"; - public const string INITIATED = @"INITIATED"; - public const string PENDING = @"PENDING"; - } - + [Description("The payment is pending with the provider, and may take a while.")] + PENDING, + } + + public static class OrderPaymentStatusResultStringValues + { + public const string SUCCESS = @"SUCCESS"; + public const string AUTHORIZED = @"AUTHORIZED"; + public const string VOIDED = @"VOIDED"; + public const string REFUNDED = @"REFUNDED"; + public const string CAPTURED = @"CAPTURED"; + public const string PURCHASED = @"PURCHASED"; + public const string ERROR = @"ERROR"; + public const string PROCESSING = @"PROCESSING"; + public const string REDIRECT_REQUIRED = @"REDIRECT_REQUIRED"; + public const string RETRYABLE = @"RETRYABLE"; + public const string UNKNOWN = @"UNKNOWN"; + public const string INITIATED = @"INITIATED"; + public const string PENDING = @"PENDING"; + } + /// ///The order's aggregated return status that's used for display purposes. ///An order might have multiple returns, so this field communicates the prioritized return status. ///The `OrderReturnStatus` enum is a supported filter parameter in the [`orders` query](https://shopify.dev/api/admin-graphql/latest/queries/orders#:~:text=reference_location_id-,return_status,-risk_level). /// - [Description("The order's aggregated return status that's used for display purposes.\nAn order might have multiple returns, so this field communicates the prioritized return status.\nThe `OrderReturnStatus` enum is a supported filter parameter in the [`orders` query](https://shopify.dev/api/admin-graphql/latest/queries/orders#:~:text=reference_location_id-,return_status,-risk_level).")] - public enum OrderReturnStatus - { + [Description("The order's aggregated return status that's used for display purposes.\nAn order might have multiple returns, so this field communicates the prioritized return status.\nThe `OrderReturnStatus` enum is a supported filter parameter in the [`orders` query](https://shopify.dev/api/admin-graphql/latest/queries/orders#:~:text=reference_location_id-,return_status,-risk_level).")] + public enum OrderReturnStatus + { /// ///Some items in the order are being returned. /// - [Description("Some items in the order are being returned.")] - IN_PROGRESS, + [Description("Some items in the order are being returned.")] + IN_PROGRESS, /// ///All return shipments from a return in this order were inspected. /// - [Description("All return shipments from a return in this order were inspected.")] - INSPECTION_COMPLETE, + [Description("All return shipments from a return in this order were inspected.")] + INSPECTION_COMPLETE, /// ///No items in the order were returned. /// - [Description("No items in the order were returned.")] - NO_RETURN, + [Description("No items in the order were returned.")] + NO_RETURN, /// ///Some items in the order were returned. /// - [Description("Some items in the order were returned.")] - RETURNED, + [Description("Some items in the order were returned.")] + RETURNED, /// ///Some returns in the order were not completed successfully. /// - [Description("Some returns in the order were not completed successfully.")] - RETURN_FAILED, + [Description("Some returns in the order were not completed successfully.")] + RETURN_FAILED, /// ///A return was requested for some items in the order. /// - [Description("A return was requested for some items in the order.")] - RETURN_REQUESTED, - } - - public static class OrderReturnStatusStringValues - { - public const string IN_PROGRESS = @"IN_PROGRESS"; - public const string INSPECTION_COMPLETE = @"INSPECTION_COMPLETE"; - public const string NO_RETURN = @"NO_RETURN"; - public const string RETURNED = @"RETURNED"; - public const string RETURN_FAILED = @"RETURN_FAILED"; - public const string RETURN_REQUESTED = @"RETURN_REQUESTED"; - } - + [Description("A return was requested for some items in the order.")] + RETURN_REQUESTED, + } + + public static class OrderReturnStatusStringValues + { + public const string IN_PROGRESS = @"IN_PROGRESS"; + public const string INSPECTION_COMPLETE = @"INSPECTION_COMPLETE"; + public const string NO_RETURN = @"NO_RETURN"; + public const string RETURNED = @"RETURNED"; + public const string RETURN_FAILED = @"RETURN_FAILED"; + public const string RETURN_REQUESTED = @"RETURN_REQUESTED"; + } + /// ///Represents a fraud check on an order. This object is deprecated in favor of [OrderRiskAssessment](https://shopify.dev/api/admin-graphql/latest/objects/OrderRiskAssessment) and its enhanced capabilities. /// - [Description("Represents a fraud check on an order. This object is deprecated in favor of [OrderRiskAssessment](https://shopify.dev/api/admin-graphql/latest/objects/OrderRiskAssessment) and its enhanced capabilities.")] - public class OrderRisk : GraphQLObject - { + [Description("Represents a fraud check on an order. This object is deprecated in favor of [OrderRiskAssessment](https://shopify.dev/api/admin-graphql/latest/objects/OrderRiskAssessment) and its enhanced capabilities.")] + public class OrderRisk : GraphQLObject + { /// ///Whether the risk level is shown in the Shopify admin. If false, then this order risk is ignored when Shopify determines the overall risk level for the order. /// - [Description("Whether the risk level is shown in the Shopify admin. If false, then this order risk is ignored when Shopify determines the overall risk level for the order.")] - [Obsolete("This field is deprecated in favor of OrderRiskAssessment.facts.")] - [NonNull] - public bool? display { get; set; } - + [Description("Whether the risk level is shown in the Shopify admin. If false, then this order risk is ignored when Shopify determines the overall risk level for the order.")] + [Obsolete("This field is deprecated in favor of OrderRiskAssessment.facts.")] + [NonNull] + public bool? display { get; set; } + /// ///The likelihood that an order is fraudulent, based on this order risk. The level can be set by Shopify risk analysis or by an app. /// - [Description("The likelihood that an order is fraudulent, based on this order risk. The level can be set by Shopify risk analysis or by an app.")] - [Obsolete("This field is deprecated in favor of OrderRiskAssessment.riskLevel which allows for more granular risk levels, including PENDING and NONE.")] - [EnumType(typeof(OrderRiskLevel))] - public string? level { get; set; } - + [Description("The likelihood that an order is fraudulent, based on this order risk. The level can be set by Shopify risk analysis or by an app.")] + [Obsolete("This field is deprecated in favor of OrderRiskAssessment.riskLevel which allows for more granular risk levels, including PENDING and NONE.")] + [EnumType(typeof(OrderRiskLevel))] + public string? level { get; set; } + /// ///The risk message that's shown to the merchant in the Shopify admin. /// - [Description("The risk message that's shown to the merchant in the Shopify admin.")] - [Obsolete("This field is deprecated in favor of OrderRiskAssessment.facts.")] - public string? message { get; set; } - } - + [Description("The risk message that's shown to the merchant in the Shopify admin.")] + [Obsolete("This field is deprecated in favor of OrderRiskAssessment.facts.")] + public string? message { get; set; } + } + /// ///The risk assessments for an order. /// ///See the [example query "Retrieves a list of all order risks for an order"](https://shopify.dev/docs/api/admin-graphql/unstable/queries/order?example=Retrieves+a+list+of+all+order+risks+for+an+order). /// - [Description("The risk assessments for an order.\n\nSee the [example query \"Retrieves a list of all order risks for an order\"](https://shopify.dev/docs/api/admin-graphql/unstable/queries/order?example=Retrieves+a+list+of+all+order+risks+for+an+order).")] - public class OrderRiskAssessment : GraphQLObject - { + [Description("The risk assessments for an order.\n\nSee the [example query \"Retrieves a list of all order risks for an order\"](https://shopify.dev/docs/api/admin-graphql/unstable/queries/order?example=Retrieves+a+list+of+all+order+risks+for+an+order).")] + public class OrderRiskAssessment : GraphQLObject + { /// ///Optional facts used to describe the risk assessment. The values in here are specific to the provider. ///See the [examples for the mutation orderRiskAssessmentCreate](https://shopify.dev/api/admin-graphql/unstable/mutations/orderRiskAssessmentCreate#section-examples). /// - [Description("Optional facts used to describe the risk assessment. The values in here are specific to the provider.\nSee the [examples for the mutation orderRiskAssessmentCreate](https://shopify.dev/api/admin-graphql/unstable/mutations/orderRiskAssessmentCreate#section-examples).")] - [NonNull] - public IEnumerable? facts { get; set; } - + [Description("Optional facts used to describe the risk assessment. The values in here are specific to the provider.\nSee the [examples for the mutation orderRiskAssessmentCreate](https://shopify.dev/api/admin-graphql/unstable/mutations/orderRiskAssessmentCreate#section-examples).")] + [NonNull] + public IEnumerable? facts { get; set; } + /// ///The app that provided the assessment, `null` if the assessment was provided by Shopify. /// - [Description("The app that provided the assessment, `null` if the assessment was provided by Shopify.")] - public App? provider { get; set; } - + [Description("The app that provided the assessment, `null` if the assessment was provided by Shopify.")] + public App? provider { get; set; } + /// ///The likelihood that the order is fraudulent, based on this risk assessment. /// - [Description("The likelihood that the order is fraudulent, based on this risk assessment.")] - [NonNull] - [EnumType(typeof(RiskAssessmentResult))] - public string? riskLevel { get; set; } - } - + [Description("The likelihood that the order is fraudulent, based on this risk assessment.")] + [NonNull] + [EnumType(typeof(RiskAssessmentResult))] + public string? riskLevel { get; set; } + } + /// ///The input fields for an order risk assessment. /// - [Description("The input fields for an order risk assessment.")] - public class OrderRiskAssessmentCreateInput : GraphQLObject - { + [Description("The input fields for an order risk assessment.")] + public class OrderRiskAssessmentCreateInput : GraphQLObject + { /// ///The ID of the order receiving the fraud assessment. /// - [Description("The ID of the order receiving the fraud assessment.")] - [NonNull] - public string? orderId { get; set; } - + [Description("The ID of the order receiving the fraud assessment.")] + [NonNull] + public string? orderId { get; set; } + /// ///The risk level of the fraud assessment. /// - [Description("The risk level of the fraud assessment.")] - [NonNull] - [EnumType(typeof(RiskAssessmentResult))] - public string? riskLevel { get; set; } - + [Description("The risk level of the fraud assessment.")] + [NonNull] + [EnumType(typeof(RiskAssessmentResult))] + public string? riskLevel { get; set; } + /// ///The list of facts used to determine the fraud assessment. /// - [Description("The list of facts used to determine the fraud assessment.")] - [NonNull] - public IEnumerable? facts { get; set; } - } - + [Description("The list of facts used to determine the fraud assessment.")] + [NonNull] + public IEnumerable? facts { get; set; } + } + /// ///Return type for `orderRiskAssessmentCreate` mutation. /// - [Description("Return type for `orderRiskAssessmentCreate` mutation.")] - public class OrderRiskAssessmentCreatePayload : GraphQLObject - { + [Description("Return type for `orderRiskAssessmentCreate` mutation.")] + public class OrderRiskAssessmentCreatePayload : GraphQLObject + { /// ///The order risk assessment created. /// - [Description("The order risk assessment created.")] - public OrderRiskAssessment? orderRiskAssessment { get; set; } - + [Description("The order risk assessment created.")] + public OrderRiskAssessment? orderRiskAssessment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `OrderRiskAssessmentCreate`. /// - [Description("An error that occurs during the execution of `OrderRiskAssessmentCreate`.")] - public class OrderRiskAssessmentCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `OrderRiskAssessmentCreate`.")] + public class OrderRiskAssessmentCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(OrderRiskAssessmentCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(OrderRiskAssessmentCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `OrderRiskAssessmentCreateUserError`. /// - [Description("Possible error codes that can be returned by `OrderRiskAssessmentCreateUserError`.")] - public enum OrderRiskAssessmentCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `OrderRiskAssessmentCreateUserError`.")] + public enum OrderRiskAssessmentCreateUserErrorCode + { /// ///Too many facts were provided for the risk assessment. /// - [Description("Too many facts were provided for the risk assessment.")] - TOO_MANY_FACTS, + [Description("Too many facts were provided for the risk assessment.")] + TOO_MANY_FACTS, /// ///The order is marked as fulfilled and can no longer accept new risk assessments. /// - [Description("The order is marked as fulfilled and can no longer accept new risk assessments.")] - ORDER_ALREADY_FULFILLED, + [Description("The order is marked as fulfilled and can no longer accept new risk assessments.")] + ORDER_ALREADY_FULFILLED, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class OrderRiskAssessmentCreateUserErrorCodeStringValues - { - public const string TOO_MANY_FACTS = @"TOO_MANY_FACTS"; - public const string ORDER_ALREADY_FULFILLED = @"ORDER_ALREADY_FULFILLED"; - public const string INVALID = @"INVALID"; - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class OrderRiskAssessmentCreateUserErrorCodeStringValues + { + public const string TOO_MANY_FACTS = @"TOO_MANY_FACTS"; + public const string ORDER_ALREADY_FULFILLED = @"ORDER_ALREADY_FULFILLED"; + public const string INVALID = @"INVALID"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///The input fields to create a fact on an order risk assessment. /// - [Description("The input fields to create a fact on an order risk assessment.")] - public class OrderRiskAssessmentFactInput : GraphQLObject - { + [Description("The input fields to create a fact on an order risk assessment.")] + public class OrderRiskAssessmentFactInput : GraphQLObject + { /// ///Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. /// - [Description("Indicates whether the fact is a negative, neutral or positive contributor with regards to risk.")] - [NonNull] - [EnumType(typeof(RiskFactSentiment))] - public string? sentiment { get; set; } - + [Description("Indicates whether the fact is a negative, neutral or positive contributor with regards to risk.")] + [NonNull] + [EnumType(typeof(RiskFactSentiment))] + public string? sentiment { get; set; } + /// ///A description of the fact. Large values are truncated to 256 characters. /// - [Description("A description of the fact. Large values are truncated to 256 characters.")] - [NonNull] - public string? description { get; set; } - } - + [Description("A description of the fact. Large values are truncated to 256 characters.")] + [NonNull] + public string? description { get; set; } + } + /// ///The likelihood that an order is fraudulent. ///This enum is deprecated in favor of ///[RiskAssessmentResult](https://shopify.dev/api/admin-graphql/latest/enums/RiskAssessmentResult) ///which allows for more granular risk levels, including PENDING and NONE. /// - [Description("The likelihood that an order is fraudulent.\nThis enum is deprecated in favor of\n[RiskAssessmentResult](https://shopify.dev/api/admin-graphql/latest/enums/RiskAssessmentResult)\nwhich allows for more granular risk levels, including PENDING and NONE.")] - public enum OrderRiskLevel - { + [Description("The likelihood that an order is fraudulent.\nThis enum is deprecated in favor of\n[RiskAssessmentResult](https://shopify.dev/api/admin-graphql/latest/enums/RiskAssessmentResult)\nwhich allows for more granular risk levels, including PENDING and NONE.")] + public enum OrderRiskLevel + { /// ///There is a low level of risk that this order is fraudulent. /// - [Description("There is a low level of risk that this order is fraudulent.")] - LOW, + [Description("There is a low level of risk that this order is fraudulent.")] + LOW, /// ///There is a medium level of risk that this order is fraudulent. /// - [Description("There is a medium level of risk that this order is fraudulent.")] - MEDIUM, + [Description("There is a medium level of risk that this order is fraudulent.")] + MEDIUM, /// ///There is a high level of risk that this order is fraudulent. /// - [Description("There is a high level of risk that this order is fraudulent.")] - HIGH, - } - - public static class OrderRiskLevelStringValues - { - public const string LOW = @"LOW"; - public const string MEDIUM = @"MEDIUM"; - public const string HIGH = @"HIGH"; - } - + [Description("There is a high level of risk that this order is fraudulent.")] + HIGH, + } + + public static class OrderRiskLevelStringValues + { + public const string LOW = @"LOW"; + public const string MEDIUM = @"MEDIUM"; + public const string HIGH = @"HIGH"; + } + /// ///List of possible values for an OrderRiskRecommendation recommendation. /// - [Description("List of possible values for an OrderRiskRecommendation recommendation.")] - public enum OrderRiskRecommendationResult - { + [Description("List of possible values for an OrderRiskRecommendation recommendation.")] + public enum OrderRiskRecommendationResult + { /// ///Recommends cancelling the order. /// - [Description("Recommends cancelling the order.")] - CANCEL, + [Description("Recommends cancelling the order.")] + CANCEL, /// ///Recommends investigating the order by contacting buyers. /// - [Description("Recommends investigating the order by contacting buyers.")] - INVESTIGATE, + [Description("Recommends investigating the order by contacting buyers.")] + INVESTIGATE, /// ///Recommends fulfilling the order. /// - [Description("Recommends fulfilling the order.")] - ACCEPT, + [Description("Recommends fulfilling the order.")] + ACCEPT, /// ///There is no recommended action for the order. /// - [Description("There is no recommended action for the order.")] - NONE, - } - - public static class OrderRiskRecommendationResultStringValues - { - public const string CANCEL = @"CANCEL"; - public const string INVESTIGATE = @"INVESTIGATE"; - public const string ACCEPT = @"ACCEPT"; - public const string NONE = @"NONE"; - } - + [Description("There is no recommended action for the order.")] + NONE, + } + + public static class OrderRiskRecommendationResultStringValues + { + public const string CANCEL = @"CANCEL"; + public const string INVESTIGATE = @"INVESTIGATE"; + public const string ACCEPT = @"ACCEPT"; + public const string NONE = @"NONE"; + } + /// ///Summary of risk characteristics for an order. /// ///See the [example query "Retrieves a list of all order risks for an order"](https://shopify.dev/docs/api/admin-graphql/unstable/queries/order?example=Retrieves+a+list+of+all+order+risks+for+an+order). /// - [Description("Summary of risk characteristics for an order.\n\nSee the [example query \"Retrieves a list of all order risks for an order\"](https://shopify.dev/docs/api/admin-graphql/unstable/queries/order?example=Retrieves+a+list+of+all+order+risks+for+an+order).")] - public class OrderRiskSummary : GraphQLObject - { + [Description("Summary of risk characteristics for an order.\n\nSee the [example query \"Retrieves a list of all order risks for an order\"](https://shopify.dev/docs/api/admin-graphql/unstable/queries/order?example=Retrieves+a+list+of+all+order+risks+for+an+order).")] + public class OrderRiskSummary : GraphQLObject + { /// ///The list of risk assessments for the order. /// - [Description("The list of risk assessments for the order.")] - [NonNull] - public IEnumerable? assessments { get; set; } - + [Description("The list of risk assessments for the order.")] + [NonNull] + public IEnumerable? assessments { get; set; } + /// ///The recommendation for the order based on the results of the risk assessments. This suggests the action the merchant should take with regards to its risk of fraud. /// - [Description("The recommendation for the order based on the results of the risk assessments. This suggests the action the merchant should take with regards to its risk of fraud.")] - [NonNull] - [EnumType(typeof(OrderRiskRecommendationResult))] - public string? recommendation { get; set; } - } - + [Description("The recommendation for the order based on the results of the risk assessments. This suggests the action the merchant should take with regards to its risk of fraud.")] + [NonNull] + [EnumType(typeof(OrderRiskRecommendationResult))] + public string? recommendation { get; set; } + } + /// ///The set of valid sort keys for the Order query. /// - [Description("The set of valid sort keys for the Order query.")] - public enum OrderSortKeys - { + [Description("The set of valid sort keys for the Order query.")] + public enum OrderSortKeys + { /// ///Sorts by the date and time the order was created. /// - [Description("Sorts by the date and time the order was created.")] - CREATED_AT, + [Description("Sorts by the date and time the order was created.")] + CREATED_AT, /// ///Sorts by the current total price of an order in the shop currency, including any returns/refunds/removals. /// - [Description("Sorts by the current total price of an order in the shop currency, including any returns/refunds/removals.")] - CURRENT_TOTAL_PRICE, + [Description("Sorts by the current total price of an order in the shop currency, including any returns/refunds/removals.")] + CURRENT_TOTAL_PRICE, /// ///Sorts by the customer's name. /// - [Description("Sorts by the customer's name.")] - CUSTOMER_NAME, + [Description("Sorts by the customer's name.")] + CUSTOMER_NAME, /// ///Sort by shipping address to analyze regional sales patterns or plan logistics. /// - [Description("Sort by shipping address to analyze regional sales patterns or plan logistics.")] - DESTINATION, + [Description("Sort by shipping address to analyze regional sales patterns or plan logistics.")] + DESTINATION, /// ///Sorts by the financial status of the order. /// - [Description("Sorts by the financial status of the order.")] - FINANCIAL_STATUS, + [Description("Sorts by the financial status of the order.")] + FINANCIAL_STATUS, /// ///Sorts by the order's fulfillment status. /// - [Description("Sorts by the order's fulfillment status.")] - FULFILLMENT_STATUS, + [Description("Sorts by the order's fulfillment status.")] + FULFILLMENT_STATUS, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sorts by the order number. /// - [Description("Sorts by the order number.")] - ORDER_NUMBER, + [Description("Sorts by the order number.")] + ORDER_NUMBER, /// ///Sort by the purchase order number to match external procurement systems or track recent orders. /// - [Description("Sort by the purchase order number to match external procurement systems or track recent orders.")] - PO_NUMBER, + [Description("Sort by the purchase order number to match external procurement systems or track recent orders.")] + PO_NUMBER, /// ///Sorts by the date and time the order was processed. /// - [Description("Sorts by the date and time the order was processed.")] - PROCESSED_AT, + [Description("Sorts by the date and time the order was processed.")] + PROCESSED_AT, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the total quantity of all line items to identify large purchases or analyze inventory demand patterns. /// - [Description("Sort by the total quantity of all line items to identify large purchases or analyze inventory demand patterns.")] - TOTAL_ITEMS_QUANTITY, + [Description("Sort by the total quantity of all line items to identify large purchases or analyze inventory demand patterns.")] + TOTAL_ITEMS_QUANTITY, /// ///Sorts by the total sold price of an order in the shop currency, excluding any returns/refunds/removals. /// - [Description("Sorts by the total sold price of an order in the shop currency, excluding any returns/refunds/removals.")] - TOTAL_PRICE, + [Description("Sorts by the total sold price of an order in the shop currency, excluding any returns/refunds/removals.")] + TOTAL_PRICE, /// ///Sorts by the date and time the order was last updated. /// - [Description("Sorts by the date and time the order was last updated.")] - UPDATED_AT, - } - - public static class OrderSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string CURRENT_TOTAL_PRICE = @"CURRENT_TOTAL_PRICE"; - public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; - public const string DESTINATION = @"DESTINATION"; - public const string FINANCIAL_STATUS = @"FINANCIAL_STATUS"; - public const string FULFILLMENT_STATUS = @"FULFILLMENT_STATUS"; - public const string ID = @"ID"; - public const string ORDER_NUMBER = @"ORDER_NUMBER"; - public const string PO_NUMBER = @"PO_NUMBER"; - public const string PROCESSED_AT = @"PROCESSED_AT"; - public const string RELEVANCE = @"RELEVANCE"; - public const string TOTAL_ITEMS_QUANTITY = @"TOTAL_ITEMS_QUANTITY"; - public const string TOTAL_PRICE = @"TOTAL_PRICE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sorts by the date and time the order was last updated.")] + UPDATED_AT, + } + + public static class OrderSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string CURRENT_TOTAL_PRICE = @"CURRENT_TOTAL_PRICE"; + public const string CUSTOMER_NAME = @"CUSTOMER_NAME"; + public const string DESTINATION = @"DESTINATION"; + public const string FINANCIAL_STATUS = @"FINANCIAL_STATUS"; + public const string FULFILLMENT_STATUS = @"FULFILLMENT_STATUS"; + public const string ID = @"ID"; + public const string ORDER_NUMBER = @"ORDER_NUMBER"; + public const string PO_NUMBER = @"PO_NUMBER"; + public const string PROCESSED_AT = @"PROCESSED_AT"; + public const string RELEVANCE = @"RELEVANCE"; + public const string TOTAL_ITEMS_QUANTITY = @"TOTAL_ITEMS_QUANTITY"; + public const string TOTAL_PRICE = @"TOTAL_PRICE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///A change that has been applied to an order. /// - [Description("A change that has been applied to an order.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(OrderStagedChangeAddCustomItem), typeDiscriminator: "OrderStagedChangeAddCustomItem")] - [JsonDerivedType(typeof(OrderStagedChangeAddLineItemDiscount), typeDiscriminator: "OrderStagedChangeAddLineItemDiscount")] - [JsonDerivedType(typeof(OrderStagedChangeAddShippingLine), typeDiscriminator: "OrderStagedChangeAddShippingLine")] - [JsonDerivedType(typeof(OrderStagedChangeAddVariant), typeDiscriminator: "OrderStagedChangeAddVariant")] - [JsonDerivedType(typeof(OrderStagedChangeDecrementItem), typeDiscriminator: "OrderStagedChangeDecrementItem")] - [JsonDerivedType(typeof(OrderStagedChangeIncrementItem), typeDiscriminator: "OrderStagedChangeIncrementItem")] - [JsonDerivedType(typeof(OrderStagedChangeRemoveDiscount), typeDiscriminator: "OrderStagedChangeRemoveDiscount")] - [JsonDerivedType(typeof(OrderStagedChangeRemoveShippingLine), typeDiscriminator: "OrderStagedChangeRemoveShippingLine")] - public interface IOrderStagedChange : IGraphQLObject - { - public OrderStagedChangeAddCustomItem? AsOrderStagedChangeAddCustomItem() => this as OrderStagedChangeAddCustomItem; - public OrderStagedChangeAddLineItemDiscount? AsOrderStagedChangeAddLineItemDiscount() => this as OrderStagedChangeAddLineItemDiscount; - public OrderStagedChangeAddShippingLine? AsOrderStagedChangeAddShippingLine() => this as OrderStagedChangeAddShippingLine; - public OrderStagedChangeAddVariant? AsOrderStagedChangeAddVariant() => this as OrderStagedChangeAddVariant; - public OrderStagedChangeDecrementItem? AsOrderStagedChangeDecrementItem() => this as OrderStagedChangeDecrementItem; - public OrderStagedChangeIncrementItem? AsOrderStagedChangeIncrementItem() => this as OrderStagedChangeIncrementItem; - public OrderStagedChangeRemoveDiscount? AsOrderStagedChangeRemoveDiscount() => this as OrderStagedChangeRemoveDiscount; - public OrderStagedChangeRemoveShippingLine? AsOrderStagedChangeRemoveShippingLine() => this as OrderStagedChangeRemoveShippingLine; - } - + [Description("A change that has been applied to an order.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(OrderStagedChangeAddCustomItem), typeDiscriminator: "OrderStagedChangeAddCustomItem")] + [JsonDerivedType(typeof(OrderStagedChangeAddLineItemDiscount), typeDiscriminator: "OrderStagedChangeAddLineItemDiscount")] + [JsonDerivedType(typeof(OrderStagedChangeAddShippingLine), typeDiscriminator: "OrderStagedChangeAddShippingLine")] + [JsonDerivedType(typeof(OrderStagedChangeAddVariant), typeDiscriminator: "OrderStagedChangeAddVariant")] + [JsonDerivedType(typeof(OrderStagedChangeDecrementItem), typeDiscriminator: "OrderStagedChangeDecrementItem")] + [JsonDerivedType(typeof(OrderStagedChangeIncrementItem), typeDiscriminator: "OrderStagedChangeIncrementItem")] + [JsonDerivedType(typeof(OrderStagedChangeRemoveDiscount), typeDiscriminator: "OrderStagedChangeRemoveDiscount")] + [JsonDerivedType(typeof(OrderStagedChangeRemoveShippingLine), typeDiscriminator: "OrderStagedChangeRemoveShippingLine")] + public interface IOrderStagedChange : IGraphQLObject + { + public OrderStagedChangeAddCustomItem? AsOrderStagedChangeAddCustomItem() => this as OrderStagedChangeAddCustomItem; + public OrderStagedChangeAddLineItemDiscount? AsOrderStagedChangeAddLineItemDiscount() => this as OrderStagedChangeAddLineItemDiscount; + public OrderStagedChangeAddShippingLine? AsOrderStagedChangeAddShippingLine() => this as OrderStagedChangeAddShippingLine; + public OrderStagedChangeAddVariant? AsOrderStagedChangeAddVariant() => this as OrderStagedChangeAddVariant; + public OrderStagedChangeDecrementItem? AsOrderStagedChangeDecrementItem() => this as OrderStagedChangeDecrementItem; + public OrderStagedChangeIncrementItem? AsOrderStagedChangeIncrementItem() => this as OrderStagedChangeIncrementItem; + public OrderStagedChangeRemoveDiscount? AsOrderStagedChangeRemoveDiscount() => this as OrderStagedChangeRemoveDiscount; + public OrderStagedChangeRemoveShippingLine? AsOrderStagedChangeRemoveShippingLine() => this as OrderStagedChangeRemoveShippingLine; + } + /// ///A change to the order representing the addition of a ///custom line item. For example, you might want to add gift wrapping service ///as a custom line item. /// - [Description("A change to the order representing the addition of a\ncustom line item. For example, you might want to add gift wrapping service\nas a custom line item.")] - public class OrderStagedChangeAddCustomItem : GraphQLObject, IOrderStagedChange - { + [Description("A change to the order representing the addition of a\ncustom line item. For example, you might want to add gift wrapping service\nas a custom line item.")] + public class OrderStagedChangeAddCustomItem : GraphQLObject, IOrderStagedChange + { /// ///The price of an individual item without any discounts applied. This value can't be negative. /// - [Description("The price of an individual item without any discounts applied. This value can't be negative.")] - [NonNull] - public MoneyV2? originalUnitPrice { get; set; } - + [Description("The price of an individual item without any discounts applied. This value can't be negative.")] + [NonNull] + public MoneyV2? originalUnitPrice { get; set; } + /// ///The quantity of the custom item to add to the order. This value must be greater than zero. /// - [Description("The quantity of the custom item to add to the order. This value must be greater than zero.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the custom item to add to the order. This value must be greater than zero.")] + [NonNull] + public int? quantity { get; set; } + /// ///The title of the custom item. /// - [Description("The title of the custom item.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the custom item.")] + [NonNull] + public string? title { get; set; } + } + /// ///The discount applied to an item that was added during the current order edit. /// - [Description("The discount applied to an item that was added during the current order edit.")] - public class OrderStagedChangeAddLineItemDiscount : GraphQLObject, IOrderStagedChange - { + [Description("The discount applied to an item that was added during the current order edit.")] + public class OrderStagedChangeAddLineItemDiscount : GraphQLObject, IOrderStagedChange + { /// ///The description of the discount. /// - [Description("The description of the discount.")] - [NonNull] - public string? description { get; set; } - + [Description("The description of the discount.")] + [NonNull] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The pricing value of the discount. /// - [Description("The pricing value of the discount.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The pricing value of the discount.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///A new [shipping line](https://shopify.dev/api/admin-graphql/latest/objects/shippingline) ///added as part of an order edit. /// - [Description("A new [shipping line](https://shopify.dev/api/admin-graphql/latest/objects/shippingline)\nadded as part of an order edit.")] - public class OrderStagedChangeAddShippingLine : GraphQLObject, IOrderStagedChange - { + [Description("A new [shipping line](https://shopify.dev/api/admin-graphql/latest/objects/shippingline)\nadded as part of an order edit.")] + public class OrderStagedChangeAddShippingLine : GraphQLObject, IOrderStagedChange + { /// ///The phone number at the shipping address. /// - [Description("The phone number at the shipping address.")] - public string? phone { get; set; } - + [Description("The phone number at the shipping address.")] + public string? phone { get; set; } + /// ///The shipping line's title that's shown to the buyer. /// - [Description("The shipping line's title that's shown to the buyer.")] - public string? presentmentTitle { get; set; } - + [Description("The shipping line's title that's shown to the buyer.")] + public string? presentmentTitle { get; set; } + /// ///The price that applies to the shipping line. /// - [Description("The price that applies to the shipping line.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The price that applies to the shipping line.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///The title of the shipping line. /// - [Description("The title of the shipping line.")] - public string? title { get; set; } - } - + [Description("The title of the shipping line.")] + public string? title { get; set; } + } + /// ///A change to the order representing the addition of an existing product variant. /// - [Description("A change to the order representing the addition of an existing product variant.")] - public class OrderStagedChangeAddVariant : GraphQLObject, IOrderStagedChange - { + [Description("A change to the order representing the addition of an existing product variant.")] + public class OrderStagedChangeAddVariant : GraphQLObject, IOrderStagedChange + { /// ///The quantity of the product variant that was added. /// - [Description("The quantity of the product variant that was added.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the product variant that was added.")] + [NonNull] + public int? quantity { get; set; } + /// ///The product variant that was added. /// - [Description("The product variant that was added.")] - [NonNull] - public ProductVariant? variant { get; set; } - } - + [Description("The product variant that was added.")] + [NonNull] + public ProductVariant? variant { get; set; } + } + /// ///An auto-generated type for paginating through multiple OrderStagedChanges. /// - [Description("An auto-generated type for paginating through multiple OrderStagedChanges.")] - public class OrderStagedChangeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple OrderStagedChanges.")] + public class OrderStagedChangeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in OrderStagedChangeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in OrderStagedChangeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in OrderStagedChangeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An removal of items from an existing line item on the order. /// - [Description("An removal of items from an existing line item on the order.")] - public class OrderStagedChangeDecrementItem : GraphQLObject, IOrderStagedChange - { + [Description("An removal of items from an existing line item on the order.")] + public class OrderStagedChangeDecrementItem : GraphQLObject, IOrderStagedChange + { /// ///The number of items removed. /// - [Description("The number of items removed.")] - [NonNull] - public int? delta { get; set; } - + [Description("The number of items removed.")] + [NonNull] + public int? delta { get; set; } + /// ///The original line item. /// - [Description("The original line item.")] - [NonNull] - public LineItem? lineItem { get; set; } - + [Description("The original line item.")] + [NonNull] + public LineItem? lineItem { get; set; } + /// ///The intention to restock the removed items. /// - [Description("The intention to restock the removed items.")] - [NonNull] - public bool? restock { get; set; } - } - + [Description("The intention to restock the removed items.")] + [NonNull] + public bool? restock { get; set; } + } + /// ///An auto-generated type which holds one OrderStagedChange and a cursor during pagination. /// - [Description("An auto-generated type which holds one OrderStagedChange and a cursor during pagination.")] - public class OrderStagedChangeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one OrderStagedChange and a cursor during pagination.")] + public class OrderStagedChangeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of OrderStagedChangeEdge. /// - [Description("The item at the end of OrderStagedChangeEdge.")] - [NonNull] - public IOrderStagedChange? node { get; set; } - } - + [Description("The item at the end of OrderStagedChangeEdge.")] + [NonNull] + public IOrderStagedChange? node { get; set; } + } + /// ///An addition of items to an existing line item on the order. /// - [Description("An addition of items to an existing line item on the order.")] - public class OrderStagedChangeIncrementItem : GraphQLObject, IOrderStagedChange - { + [Description("An addition of items to an existing line item on the order.")] + public class OrderStagedChangeIncrementItem : GraphQLObject, IOrderStagedChange + { /// ///The number of items added. /// - [Description("The number of items added.")] - [NonNull] - public int? delta { get; set; } - + [Description("The number of items added.")] + [NonNull] + public int? delta { get; set; } + /// ///The original line item. /// - [Description("The original line item.")] - [NonNull] - public LineItem? lineItem { get; set; } - } - + [Description("The original line item.")] + [NonNull] + public LineItem? lineItem { get; set; } + } + /// ///A discount application removed during an order edit. /// - [Description("A discount application removed during an order edit.")] - public class OrderStagedChangeRemoveDiscount : GraphQLObject, IOrderStagedChange - { + [Description("A discount application removed during an order edit.")] + public class OrderStagedChangeRemoveDiscount : GraphQLObject, IOrderStagedChange + { /// ///The removed discount application. /// - [Description("The removed discount application.")] - [NonNull] - public IDiscountApplication? discountApplication { get; set; } - } - + [Description("The removed discount application.")] + [NonNull] + public IDiscountApplication? discountApplication { get; set; } + } + /// ///A shipping line removed during an order edit. /// - [Description("A shipping line removed during an order edit.")] - public class OrderStagedChangeRemoveShippingLine : GraphQLObject, IOrderStagedChange - { + [Description("A shipping line removed during an order edit.")] + public class OrderStagedChangeRemoveShippingLine : GraphQLObject, IOrderStagedChange + { /// ///The removed shipping line. /// - [Description("The removed shipping line.")] - [NonNull] - public ShippingLine? shippingLine { get; set; } - } - + [Description("The removed shipping line.")] + [NonNull] + public ShippingLine? shippingLine { get; set; } + } + /// ///The `OrderTransaction` object represents a payment transaction that's associated with an order. An order ///transaction is a specific action or event that happens within the context of an order, such as a customer paying @@ -86024,2320 +86024,2320 @@ public class OrderStagedChangeRemoveShippingLine : GraphQLObject - [Description("The `OrderTransaction` object represents a payment transaction that's associated with an order. An order\ntransaction is a specific action or event that happens within the context of an order, such as a customer paying\nfor a purchase or receiving a refund, or other payment-related activity.\n\nUse the `OrderTransaction` object to capture the complete lifecycle of a payment, from initial\nauthorization to final settlement, including refunds and currency exchanges. Common use cases for using the\n`OrderTransaction` object include:\n\n- Processing new payments for orders\n- Managing payment authorizations and captures\n- Processing refunds for returned items\n- Tracking payment status and errors\n- Managing multi-currency transactions\n- Handling payment gateway integrations\n\nEach `OrderTransaction` object has a [`kind`](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderTransactionKind)\nthat defines the type of transaction and a [`status`](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderTransactionStatus)\nthat indicates the current state of the transaction. The object stores detailed information about payment\nmethods, gateway processing, and settlement details.\n\nLearn more about [payment processing](https://help.shopify.com/manual/payments)\nand [payment gateway integrations](https://www.shopify.com/ca/payment-gateways).")] - public class OrderTransaction : GraphQLObject, INode, IStoreCreditAccountTransactionOrigin - { + [Description("The `OrderTransaction` object represents a payment transaction that's associated with an order. An order\ntransaction is a specific action or event that happens within the context of an order, such as a customer paying\nfor a purchase or receiving a refund, or other payment-related activity.\n\nUse the `OrderTransaction` object to capture the complete lifecycle of a payment, from initial\nauthorization to final settlement, including refunds and currency exchanges. Common use cases for using the\n`OrderTransaction` object include:\n\n- Processing new payments for orders\n- Managing payment authorizations and captures\n- Processing refunds for returned items\n- Tracking payment status and errors\n- Managing multi-currency transactions\n- Handling payment gateway integrations\n\nEach `OrderTransaction` object has a [`kind`](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderTransactionKind)\nthat defines the type of transaction and a [`status`](https://shopify.dev/docs/api/admin-graphql/latest/enums/OrderTransactionStatus)\nthat indicates the current state of the transaction. The object stores detailed information about payment\nmethods, gateway processing, and settlement details.\n\nLearn more about [payment processing](https://help.shopify.com/manual/payments)\nand [payment gateway integrations](https://www.shopify.com/ca/payment-gateways).")] + public class OrderTransaction : GraphQLObject, INode, IStoreCreditAccountTransactionOrigin + { /// ///The masked account number associated with the payment method. /// - [Description("The masked account number associated with the payment method.")] - public string? accountNumber { get; set; } - + [Description("The masked account number associated with the payment method.")] + public string? accountNumber { get; set; } + /// ///The amount of money. /// - [Description("The amount of money.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("The amount of money.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The rounding adjustment applied on the cash amount in shop and presentment currencies. /// - [Description("The rounding adjustment applied on the cash amount in shop and presentment currencies.")] - public MoneyBag? amountRoundingSet { get; set; } - + [Description("The rounding adjustment applied on the cash amount in shop and presentment currencies.")] + public MoneyBag? amountRoundingSet { get; set; } + /// ///The amount and currency of the transaction in shop and presentment currencies. /// - [Description("The amount and currency of the transaction in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount and currency of the transaction in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The amount and currency of the transaction. /// - [Description("The amount and currency of the transaction.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public MoneyV2? amountV2 { get; set; } - + [Description("The amount and currency of the transaction.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public MoneyV2? amountV2 { get; set; } + /// ///Authorization code associated with the transaction. /// - [Description("Authorization code associated with the transaction.")] - public string? authorizationCode { get; set; } - + [Description("Authorization code associated with the transaction.")] + public string? authorizationCode { get; set; } + /// ///The time when the authorization expires. This field is available only to stores on a Shopify Plus plan. /// - [Description("The time when the authorization expires. This field is available only to stores on a Shopify Plus plan.")] - public DateTime? authorizationExpiresAt { get; set; } - + [Description("The time when the authorization expires. This field is available only to stores on a Shopify Plus plan.")] + public DateTime? authorizationExpiresAt { get; set; } + /// ///Date and time when the transaction was created. /// - [Description("Date and time when the transaction was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("Date and time when the transaction was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///An adjustment on the transaction showing the amount lost or gained due to fluctuations in the currency exchange rate. /// - [Description("An adjustment on the transaction showing the amount lost or gained due to fluctuations in the currency exchange rate.")] - public CurrencyExchangeAdjustment? currencyExchangeAdjustment { get; set; } - + [Description("An adjustment on the transaction showing the amount lost or gained due to fluctuations in the currency exchange rate.")] + public CurrencyExchangeAdjustment? currencyExchangeAdjustment { get; set; } + /// ///The Shopify Point of Sale device used to process the transaction. /// - [Description("The Shopify Point of Sale device used to process the transaction.")] - public PointOfSaleDevice? device { get; set; } - + [Description("The Shopify Point of Sale device used to process the transaction.")] + public PointOfSaleDevice? device { get; set; } + /// ///A standardized error code, independent of the payment provider. /// - [Description("A standardized error code, independent of the payment provider.")] - [EnumType(typeof(OrderTransactionErrorCode))] - public string? errorCode { get; set; } - + [Description("A standardized error code, independent of the payment provider.")] + [EnumType(typeof(OrderTransactionErrorCode))] + public string? errorCode { get; set; } + /// ///The transaction fees charged on the order transaction. Only present for Shopify Payments transactions. /// - [Description("The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.")] - [NonNull] - public IEnumerable? fees { get; set; } - + [Description("The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.")] + [NonNull] + public IEnumerable? fees { get; set; } + /// ///The human-readable payment gateway name used to process the transaction. /// - [Description("The human-readable payment gateway name used to process the transaction.")] - public string? formattedGateway { get; set; } - + [Description("The human-readable payment gateway name used to process the transaction.")] + public string? formattedGateway { get; set; } + /// ///The payment gateway used to process the transaction. /// - [Description("The payment gateway used to process the transaction.")] - public string? gateway { get; set; } - + [Description("The payment gateway used to process the transaction.")] + public string? gateway { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The kind of transaction. /// - [Description("The kind of transaction.")] - [NonNull] - [EnumType(typeof(OrderTransactionKind))] - public string? kind { get; set; } - + [Description("The kind of transaction.")] + [NonNull] + [EnumType(typeof(OrderTransactionKind))] + public string? kind { get; set; } + /// ///The physical location where the transaction was processed. /// - [Description("The physical location where the transaction was processed.")] - public Location? location { get; set; } - + [Description("The physical location where the transaction was processed.")] + public Location? location { get; set; } + /// ///Whether the transaction is processed by manual payment gateway. /// - [Description("Whether the transaction is processed by manual payment gateway.")] - [NonNull] - public bool? manualPaymentGateway { get; set; } - + [Description("Whether the transaction is processed by manual payment gateway.")] + [NonNull] + public bool? manualPaymentGateway { get; set; } + /// ///Whether the transaction can be manually captured. /// - [Description("Whether the transaction can be manually captured.")] - [NonNull] - public bool? manuallyCapturable { get; set; } - + [Description("Whether the transaction can be manually captured.")] + [NonNull] + public bool? manuallyCapturable { get; set; } + /// ///Specifies the available amount to refund on the gateway. ///This value is only available for transactions of type `SuggestedRefund`. /// - [Description("Specifies the available amount to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] - [Obsolete("Use `maximumRefundableV2` instead.")] - public decimal? maximumRefundable { get; set; } - + [Description("Specifies the available amount to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] + [Obsolete("Use `maximumRefundableV2` instead.")] + public decimal? maximumRefundable { get; set; } + /// ///Specifies the available amount with currency to refund on the gateway. ///This value is only available for transactions of type `SuggestedRefund`. /// - [Description("Specifies the available amount with currency to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] - public MoneyV2? maximumRefundableV2 { get; set; } - + [Description("Specifies the available amount with currency to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] + public MoneyV2? maximumRefundableV2 { get; set; } + /// ///Whether the transaction can be captured multiple times. /// - [Description("Whether the transaction can be captured multiple times.")] - [NonNull] - public bool? multiCapturable { get; set; } - + [Description("Whether the transaction can be captured multiple times.")] + [NonNull] + public bool? multiCapturable { get; set; } + /// ///The associated order. /// - [Description("The associated order.")] - public Order? order { get; set; } - + [Description("The associated order.")] + public Order? order { get; set; } + /// ///The associated parent transaction, for example the authorization of a capture. /// - [Description("The associated parent transaction, for example the authorization of a capture.")] - public OrderTransaction? parentTransaction { get; set; } - + [Description("The associated parent transaction, for example the authorization of a capture.")] + public OrderTransaction? parentTransaction { get; set; } + /// ///The payment details for the transaction. /// - [Description("The payment details for the transaction.")] - public IPaymentDetails? paymentDetails { get; set; } - + [Description("The payment details for the transaction.")] + public IPaymentDetails? paymentDetails { get; set; } + /// ///The payment icon to display for the transaction. /// - [Description("The payment icon to display for the transaction.")] - public Image? paymentIcon { get; set; } - + [Description("The payment icon to display for the transaction.")] + public Image? paymentIcon { get; set; } + /// ///The payment ID associated with the transaction. /// - [Description("The payment ID associated with the transaction.")] - public string? paymentId { get; set; } - + [Description("The payment ID associated with the transaction.")] + public string? paymentId { get; set; } + /// ///The payment method used for the transaction. This value is `null` if the payment method is unknown. /// - [Description("The payment method used for the transaction. This value is `null` if the payment method is unknown.")] - [Obsolete("Use `paymentIcon` instead.")] - [EnumType(typeof(PaymentMethods))] - public string? paymentMethod { get; set; } - + [Description("The payment method used for the transaction. This value is `null` if the payment method is unknown.")] + [Obsolete("Use `paymentIcon` instead.")] + [EnumType(typeof(PaymentMethods))] + public string? paymentMethod { get; set; } + /// ///Date and time when the transaction was processed. /// - [Description("Date and time when the transaction was processed.")] - public DateTime? processedAt { get; set; } - + [Description("Date and time when the transaction was processed.")] + public DateTime? processedAt { get; set; } + /// ///The transaction receipt that the payment gateway attaches to the transaction. ///The value of this field depends on which payment gateway processed the transaction. /// - [Description("The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.")] - public string? receiptJson { get; set; } - + [Description("The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.")] + public string? receiptJson { get; set; } + /// ///The settlement currency. /// - [Description("The settlement currency.")] - [EnumType(typeof(CurrencyCode))] - public string? settlementCurrency { get; set; } - + [Description("The settlement currency.")] + [EnumType(typeof(CurrencyCode))] + public string? settlementCurrency { get; set; } + /// ///The rate used when converting the transaction amount to settlement currency. /// - [Description("The rate used when converting the transaction amount to settlement currency.")] - public decimal? settlementCurrencyRate { get; set; } - + [Description("The rate used when converting the transaction amount to settlement currency.")] + public decimal? settlementCurrencyRate { get; set; } + /// ///Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan. /// - [Description("Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan.")] - public ShopifyPaymentsTransactionSet? shopifyPaymentsSet { get; set; } - + [Description("Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan.")] + public ShopifyPaymentsTransactionSet? shopifyPaymentsSet { get; set; } + /// ///The status of this transaction. /// - [Description("The status of this transaction.")] - [NonNull] - [EnumType(typeof(OrderTransactionStatus))] - public string? status { get; set; } - + [Description("The status of this transaction.")] + [NonNull] + [EnumType(typeof(OrderTransactionStatus))] + public string? status { get; set; } + /// ///Whether the transaction is a test transaction. /// - [Description("Whether the transaction is a test transaction.")] - [NonNull] - public bool? test { get; set; } - + [Description("Whether the transaction is a test transaction.")] + [NonNull] + public bool? test { get; set; } + /// ///Specifies the available amount to capture on the gateway. ///Only available when an amount is capturable or manually mark as paid. /// - [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] - [Obsolete("Use `totalUnsettledSet` instead.")] - public decimal? totalUnsettled { get; set; } - + [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Obsolete("Use `totalUnsettledSet` instead.")] + public decimal? totalUnsettled { get; set; } + /// ///Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. ///Only available when an amount is capturable or manually mark as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] - public MoneyBag? totalUnsettledSet { get; set; } - + [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] + public MoneyBag? totalUnsettledSet { get; set; } + /// ///Specifies the available amount with currency to capture on the gateway. ///Only available when an amount is capturable or manually mark as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] - [Obsolete("Use `totalUnsettledSet` instead.")] - public MoneyV2? totalUnsettledV2 { get; set; } - + [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Obsolete("Use `totalUnsettledSet` instead.")] + public MoneyV2? totalUnsettledV2 { get; set; } + /// ///Staff member who was logged into the Shopify POS device when the transaction was processed. /// - [Description("Staff member who was logged into the Shopify POS device when the transaction was processed.")] - public StaffMember? user { get; set; } - } - + [Description("Staff member who was logged into the Shopify POS device when the transaction was processed.")] + public StaffMember? user { get; set; } + } + /// ///An auto-generated type for paginating through multiple OrderTransactions. /// - [Description("An auto-generated type for paginating through multiple OrderTransactions.")] - public class OrderTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple OrderTransactions.")] + public class OrderTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in OrderTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in OrderTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in OrderTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one OrderTransaction and a cursor during pagination. /// - [Description("An auto-generated type which holds one OrderTransaction and a cursor during pagination.")] - public class OrderTransactionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one OrderTransaction and a cursor during pagination.")] + public class OrderTransactionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of OrderTransactionEdge. /// - [Description("The item at the end of OrderTransactionEdge.")] - [NonNull] - public OrderTransaction? node { get; set; } - } - + [Description("The item at the end of OrderTransactionEdge.")] + [NonNull] + public OrderTransaction? node { get; set; } + } + /// ///A standardized error code, independent of the payment provider. /// - [Description("A standardized error code, independent of the payment provider.")] - public enum OrderTransactionErrorCode - { + [Description("A standardized error code, independent of the payment provider.")] + public enum OrderTransactionErrorCode + { /// ///The card number is incorrect. /// - [Description("The card number is incorrect.")] - INCORRECT_NUMBER, + [Description("The card number is incorrect.")] + INCORRECT_NUMBER, /// ///The format of the card number is incorrect. /// - [Description("The format of the card number is incorrect.")] - INVALID_NUMBER, + [Description("The format of the card number is incorrect.")] + INVALID_NUMBER, /// ///The format of the expiry date is incorrect. /// - [Description("The format of the expiry date is incorrect.")] - INVALID_EXPIRY_DATE, + [Description("The format of the expiry date is incorrect.")] + INVALID_EXPIRY_DATE, /// ///The format of the CVC is incorrect. /// - [Description("The format of the CVC is incorrect.")] - INVALID_CVC, + [Description("The format of the CVC is incorrect.")] + INVALID_CVC, /// ///The card is expired. /// - [Description("The card is expired.")] - EXPIRED_CARD, + [Description("The card is expired.")] + EXPIRED_CARD, /// ///The CVC does not match the card number. /// - [Description("The CVC does not match the card number.")] - INCORRECT_CVC, + [Description("The CVC does not match the card number.")] + INCORRECT_CVC, /// ///The ZIP or postal code does not match the card number. /// - [Description("The ZIP or postal code does not match the card number.")] - INCORRECT_ZIP, + [Description("The ZIP or postal code does not match the card number.")] + INCORRECT_ZIP, /// ///The address does not match the card number. /// - [Description("The address does not match the card number.")] - INCORRECT_ADDRESS, + [Description("The address does not match the card number.")] + INCORRECT_ADDRESS, /// ///The entered PIN is incorrect. /// - [Description("The entered PIN is incorrect.")] - INCORRECT_PIN, + [Description("The entered PIN is incorrect.")] + INCORRECT_PIN, /// ///The card was declined. /// - [Description("The card was declined.")] - CARD_DECLINED, + [Description("The card was declined.")] + CARD_DECLINED, /// ///There was an error while processing the payment. /// - [Description("There was an error while processing the payment.")] - PROCESSING_ERROR, + [Description("There was an error while processing the payment.")] + PROCESSING_ERROR, /// ///Call the card issuer. /// - [Description("Call the card issuer.")] - CALL_ISSUER, + [Description("Call the card issuer.")] + CALL_ISSUER, /// ///The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back. /// - [Description("The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back.")] - PICK_UP_CARD, + [Description("The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back.")] + PICK_UP_CARD, /// ///There is an error in the gateway or merchant configuration. /// - [Description("There is an error in the gateway or merchant configuration.")] - CONFIG_ERROR, + [Description("There is an error in the gateway or merchant configuration.")] + CONFIG_ERROR, /// ///A real card was used but the gateway was in test mode. /// - [Description("A real card was used but the gateway was in test mode.")] - TEST_MODE_LIVE_CARD, + [Description("A real card was used but the gateway was in test mode.")] + TEST_MODE_LIVE_CARD, /// ///The gateway or merchant configuration doesn't support a feature, such as network tokenization. /// - [Description("The gateway or merchant configuration doesn't support a feature, such as network tokenization.")] - UNSUPPORTED_FEATURE, + [Description("The gateway or merchant configuration doesn't support a feature, such as network tokenization.")] + UNSUPPORTED_FEATURE, /// ///There was an unknown error with processing the payment. /// - [Description("There was an unknown error with processing the payment.")] - GENERIC_ERROR, + [Description("There was an unknown error with processing the payment.")] + GENERIC_ERROR, /// ///The payment method is not available in the customer's country. /// - [Description("The payment method is not available in the customer's country.")] - INVALID_COUNTRY, + [Description("The payment method is not available in the customer's country.")] + INVALID_COUNTRY, /// ///The amount is either too high or too low for the provider. /// - [Description("The amount is either too high or too low for the provider.")] - INVALID_AMOUNT, + [Description("The amount is either too high or too low for the provider.")] + INVALID_AMOUNT, /// ///The payment method is momentarily unavailable. /// - [Description("The payment method is momentarily unavailable.")] - PAYMENT_METHOD_UNAVAILABLE, + [Description("The payment method is momentarily unavailable.")] + PAYMENT_METHOD_UNAVAILABLE, /// ///The payment method was invalid. /// - [Description("The payment method was invalid.")] - AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD, + [Description("The payment method was invalid.")] + AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD, /// ///The maximum amount has been captured. /// - [Description("The maximum amount has been captured.")] - AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED, + [Description("The maximum amount has been captured.")] + AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED, /// ///The maximum amount has been refunded. /// - [Description("The maximum amount has been refunded.")] - AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED, + [Description("The maximum amount has been refunded.")] + AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED, /// ///The maximum of 10 authorizations has been captured for an order. /// - [Description("The maximum of 10 authorizations has been captured for an order.")] - AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED, + [Description("The maximum of 10 authorizations has been captured for an order.")] + AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED, /// ///The maximum of 10 refunds has been processed for an order. /// - [Description("The maximum of 10 refunds has been processed for an order.")] - AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED, + [Description("The maximum of 10 refunds has been processed for an order.")] + AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED, /// ///The order was canceled, which canceled all open authorizations. /// - [Description("The order was canceled, which canceled all open authorizations.")] - AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED, + [Description("The order was canceled, which canceled all open authorizations.")] + AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED, /// ///The order was not confirmed within three hours. /// - [Description("The order was not confirmed within three hours.")] - AMAZON_PAYMENTS_STALE, - } - - public static class OrderTransactionErrorCodeStringValues - { - public const string INCORRECT_NUMBER = @"INCORRECT_NUMBER"; - public const string INVALID_NUMBER = @"INVALID_NUMBER"; - public const string INVALID_EXPIRY_DATE = @"INVALID_EXPIRY_DATE"; - public const string INVALID_CVC = @"INVALID_CVC"; - public const string EXPIRED_CARD = @"EXPIRED_CARD"; - public const string INCORRECT_CVC = @"INCORRECT_CVC"; - public const string INCORRECT_ZIP = @"INCORRECT_ZIP"; - public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; - public const string INCORRECT_PIN = @"INCORRECT_PIN"; - public const string CARD_DECLINED = @"CARD_DECLINED"; - public const string PROCESSING_ERROR = @"PROCESSING_ERROR"; - public const string CALL_ISSUER = @"CALL_ISSUER"; - public const string PICK_UP_CARD = @"PICK_UP_CARD"; - public const string CONFIG_ERROR = @"CONFIG_ERROR"; - public const string TEST_MODE_LIVE_CARD = @"TEST_MODE_LIVE_CARD"; - public const string UNSUPPORTED_FEATURE = @"UNSUPPORTED_FEATURE"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string INVALID_COUNTRY = @"INVALID_COUNTRY"; - public const string INVALID_AMOUNT = @"INVALID_AMOUNT"; - public const string PAYMENT_METHOD_UNAVAILABLE = @"PAYMENT_METHOD_UNAVAILABLE"; - public const string AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD = @"AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD"; - public const string AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED = @"AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED"; - public const string AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED = @"AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED"; - public const string AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED = @"AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED"; - public const string AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED = @"AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED"; - public const string AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED = @"AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED"; - public const string AMAZON_PAYMENTS_STALE = @"AMAZON_PAYMENTS_STALE"; - } - + [Description("The order was not confirmed within three hours.")] + AMAZON_PAYMENTS_STALE, + } + + public static class OrderTransactionErrorCodeStringValues + { + public const string INCORRECT_NUMBER = @"INCORRECT_NUMBER"; + public const string INVALID_NUMBER = @"INVALID_NUMBER"; + public const string INVALID_EXPIRY_DATE = @"INVALID_EXPIRY_DATE"; + public const string INVALID_CVC = @"INVALID_CVC"; + public const string EXPIRED_CARD = @"EXPIRED_CARD"; + public const string INCORRECT_CVC = @"INCORRECT_CVC"; + public const string INCORRECT_ZIP = @"INCORRECT_ZIP"; + public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; + public const string INCORRECT_PIN = @"INCORRECT_PIN"; + public const string CARD_DECLINED = @"CARD_DECLINED"; + public const string PROCESSING_ERROR = @"PROCESSING_ERROR"; + public const string CALL_ISSUER = @"CALL_ISSUER"; + public const string PICK_UP_CARD = @"PICK_UP_CARD"; + public const string CONFIG_ERROR = @"CONFIG_ERROR"; + public const string TEST_MODE_LIVE_CARD = @"TEST_MODE_LIVE_CARD"; + public const string UNSUPPORTED_FEATURE = @"UNSUPPORTED_FEATURE"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string INVALID_COUNTRY = @"INVALID_COUNTRY"; + public const string INVALID_AMOUNT = @"INVALID_AMOUNT"; + public const string PAYMENT_METHOD_UNAVAILABLE = @"PAYMENT_METHOD_UNAVAILABLE"; + public const string AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD = @"AMAZON_PAYMENTS_INVALID_PAYMENT_METHOD"; + public const string AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED = @"AMAZON_PAYMENTS_MAX_AMOUNT_CHARGED"; + public const string AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED = @"AMAZON_PAYMENTS_MAX_AMOUNT_REFUNDED"; + public const string AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED = @"AMAZON_PAYMENTS_MAX_AUTHORIZATIONS_CAPTURED"; + public const string AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED = @"AMAZON_PAYMENTS_MAX_REFUNDS_PROCESSED"; + public const string AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED = @"AMAZON_PAYMENTS_ORDER_REFERENCE_CANCELED"; + public const string AMAZON_PAYMENTS_STALE = @"AMAZON_PAYMENTS_STALE"; + } + /// ///The input fields for the information needed to create an order transaction. /// - [Description("The input fields for the information needed to create an order transaction.")] - public class OrderTransactionInput : GraphQLObject - { + [Description("The input fields for the information needed to create an order transaction.")] + public class OrderTransactionInput : GraphQLObject + { /// ///The amount of money for this transaction. /// - [Description("The amount of money for this transaction.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("The amount of money for this transaction.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The payment gateway to use for this transaction. /// - [Description("The payment gateway to use for this transaction.")] - [NonNull] - public string? gateway { get; set; } - + [Description("The payment gateway to use for this transaction.")] + [NonNull] + public string? gateway { get; set; } + /// ///The kind of transaction. /// - [Description("The kind of transaction.")] - [NonNull] - [EnumType(typeof(OrderTransactionKind))] - public string? kind { get; set; } - + [Description("The kind of transaction.")] + [NonNull] + [EnumType(typeof(OrderTransactionKind))] + public string? kind { get; set; } + /// ///The ID of the order associated with the transaction. /// - [Description("The ID of the order associated with the transaction.")] - [NonNull] - public string? orderId { get; set; } - + [Description("The ID of the order associated with the transaction.")] + [NonNull] + public string? orderId { get; set; } + /// ///The ID of the optional parent transaction, for example the authorization of a capture. /// - [Description("The ID of the optional parent transaction, for example the authorization of a capture.")] - public string? parentId { get; set; } - } - + [Description("The ID of the optional parent transaction, for example the authorization of a capture.")] + public string? parentId { get; set; } + } + /// ///The different kinds of order transactions. /// - [Description("The different kinds of order transactions.")] - public enum OrderTransactionKind - { + [Description("The different kinds of order transactions.")] + public enum OrderTransactionKind + { /// ///An authorization and capture performed together in a single step. /// - [Description("An authorization and capture performed together in a single step.")] - SALE, + [Description("An authorization and capture performed together in a single step.")] + SALE, /// ///A transfer of the money that was reserved by an authorization. /// - [Description("A transfer of the money that was reserved by an authorization.")] - CAPTURE, + [Description("A transfer of the money that was reserved by an authorization.")] + CAPTURE, /// ///An amount reserved against the cardholder's funding source. ///Money does not change hands until the authorization is captured. /// - [Description("An amount reserved against the cardholder's funding source.\nMoney does not change hands until the authorization is captured.")] - AUTHORIZATION, + [Description("An amount reserved against the cardholder's funding source.\nMoney does not change hands until the authorization is captured.")] + AUTHORIZATION, /// ///A cancelation of an authorization transaction. /// - [Description("A cancelation of an authorization transaction.")] - VOID, + [Description("A cancelation of an authorization transaction.")] + VOID, /// ///A partial or full return of captured funds to the cardholder. ///A refund can happen only after a capture is processed. /// - [Description("A partial or full return of captured funds to the cardholder.\nA refund can happen only after a capture is processed.")] - REFUND, + [Description("A partial or full return of captured funds to the cardholder.\nA refund can happen only after a capture is processed.")] + REFUND, /// ///The money returned to the customer when they've paid too much during a cash transaction. /// - [Description("The money returned to the customer when they've paid too much during a cash transaction.")] - CHANGE, + [Description("The money returned to the customer when they've paid too much during a cash transaction.")] + CHANGE, /// ///An authorization for a payment taken with an EMV credit card reader. /// - [Description("An authorization for a payment taken with an EMV credit card reader.")] - EMV_AUTHORIZATION, + [Description("An authorization for a payment taken with an EMV credit card reader.")] + EMV_AUTHORIZATION, /// ///A suggested refund transaction that can be used to create a refund. /// - [Description("A suggested refund transaction that can be used to create a refund.")] - SUGGESTED_REFUND, - } - - public static class OrderTransactionKindStringValues - { - public const string SALE = @"SALE"; - public const string CAPTURE = @"CAPTURE"; - public const string AUTHORIZATION = @"AUTHORIZATION"; - public const string VOID = @"VOID"; - public const string REFUND = @"REFUND"; - public const string CHANGE = @"CHANGE"; - public const string EMV_AUTHORIZATION = @"EMV_AUTHORIZATION"; - public const string SUGGESTED_REFUND = @"SUGGESTED_REFUND"; - } - + [Description("A suggested refund transaction that can be used to create a refund.")] + SUGGESTED_REFUND, + } + + public static class OrderTransactionKindStringValues + { + public const string SALE = @"SALE"; + public const string CAPTURE = @"CAPTURE"; + public const string AUTHORIZATION = @"AUTHORIZATION"; + public const string VOID = @"VOID"; + public const string REFUND = @"REFUND"; + public const string CHANGE = @"CHANGE"; + public const string EMV_AUTHORIZATION = @"EMV_AUTHORIZATION"; + public const string SUGGESTED_REFUND = @"SUGGESTED_REFUND"; + } + /// ///The different states that an `OrderTransaction` can have. /// - [Description("The different states that an `OrderTransaction` can have.")] - public enum OrderTransactionStatus - { + [Description("The different states that an `OrderTransaction` can have.")] + public enum OrderTransactionStatus + { /// ///The transaction succeeded. /// - [Description("The transaction succeeded.")] - SUCCESS, + [Description("The transaction succeeded.")] + SUCCESS, /// ///The transaction failed. /// - [Description("The transaction failed.")] - FAILURE, + [Description("The transaction failed.")] + FAILURE, /// ///The transaction is pending. /// - [Description("The transaction is pending.")] - PENDING, + [Description("The transaction is pending.")] + PENDING, /// ///There was an error while processing the transaction. /// - [Description("There was an error while processing the transaction.")] - ERROR, + [Description("There was an error while processing the transaction.")] + ERROR, /// ///Awaiting a response. /// - [Description("Awaiting a response.")] - AWAITING_RESPONSE, + [Description("Awaiting a response.")] + AWAITING_RESPONSE, /// ///The transaction status is unknown. /// - [Description("The transaction status is unknown.")] - UNKNOWN, - } - - public static class OrderTransactionStatusStringValues - { - public const string SUCCESS = @"SUCCESS"; - public const string FAILURE = @"FAILURE"; - public const string PENDING = @"PENDING"; - public const string ERROR = @"ERROR"; - public const string AWAITING_RESPONSE = @"AWAITING_RESPONSE"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("The transaction status is unknown.")] + UNKNOWN, + } + + public static class OrderTransactionStatusStringValues + { + public const string SUCCESS = @"SUCCESS"; + public const string FAILURE = @"FAILURE"; + public const string PENDING = @"PENDING"; + public const string ERROR = @"ERROR"; + public const string AWAITING_RESPONSE = @"AWAITING_RESPONSE"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///Return type for `orderUpdate` mutation. /// - [Description("Return type for `orderUpdate` mutation.")] - public class OrderUpdatePayload : GraphQLObject - { + [Description("Return type for `orderUpdate` mutation.")] + public class OrderUpdatePayload : GraphQLObject + { /// ///The updated order. /// - [Description("The updated order.")] - public Order? order { get; set; } - + [Description("The updated order.")] + public Order? order { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A page on the Online Store. /// - [Description("A page on the Online Store.")] - public class Page : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INavigable, INode, IMetafieldReference, IMetafieldReferencer - { + [Description("A page on the Online Store.")] + public class Page : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INavigable, INode, IMetafieldReference, IMetafieldReferencer + { /// ///The text content of the page, complete with HTML markup. /// - [Description("The text content of the page, complete with HTML markup.")] - [NonNull] - public string? body { get; set; } - + [Description("The text content of the page, complete with HTML markup.")] + [NonNull] + public string? body { get; set; } + /// ///The first 150 characters of the page body. If the page body contains more than 150 characters, additional characters are truncated by ellipses. /// - [Description("The first 150 characters of the page body. If the page body contains more than 150 characters, additional characters are truncated by ellipses.")] - [NonNull] - public string? bodySummary { get; set; } - + [Description("The first 150 characters of the page body. If the page body contains more than 150 characters, additional characters are truncated by ellipses.")] + [NonNull] + public string? bodySummary { get; set; } + /// ///The date and time (ISO 8601 format) of the page creation. /// - [Description("The date and time (ISO 8601 format) of the page creation.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time (ISO 8601 format) of the page creation.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A unique, human-friendly string for the page. ///In themes, the Liquid templating language refers to a page by its handle. /// - [Description("A unique, human-friendly string for the page.\nIn themes, the Liquid templating language refers to a page by its handle.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the page.\nIn themes, the Liquid templating language refers to a page by its handle.")] + [NonNull] + public string? handle { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether or not the page is visible. /// - [Description("Whether or not the page is visible.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether or not the page is visible.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The date and time (ISO 8601 format) when the page became or will become visible. ///Returns null when the page isn't visible. /// - [Description("The date and time (ISO 8601 format) when the page became or will become visible.\nReturns null when the page isn't visible.")] - public DateTime? publishedAt { get; set; } - + [Description("The date and time (ISO 8601 format) when the page became or will become visible.\nReturns null when the page isn't visible.")] + public DateTime? publishedAt { get; set; } + /// ///The suffix of the template that's used to render the page. /// - [Description("The suffix of the template that's used to render the page.")] - public string? templateSuffix { get; set; } - + [Description("The suffix of the template that's used to render the page.")] + public string? templateSuffix { get; set; } + /// ///Title of the page. /// - [Description("Title of the page.")] - [NonNull] - public string? title { get; set; } - + [Description("Title of the page.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The date and time (ISO 8601 format) of the latest page update. /// - [Description("The date and time (ISO 8601 format) of the latest page update.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time (ISO 8601 format) of the latest page update.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple Pages. /// - [Description("An auto-generated type for paginating through multiple Pages.")] - public class PageConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Pages.")] + public class PageConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PageEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to create a page. /// - [Description("The input fields to create a page.")] - public class PageCreateInput : GraphQLObject - { + [Description("The input fields to create a page.")] + public class PageCreateInput : GraphQLObject + { /// ///A unique, human-friendly string for the page. If no handle is specified, a handle will be generated automatically from the page title. ///In themes, the Liquid templating language refers to a page by its handle. /// - [Description("A unique, human-friendly string for the page. If no handle is specified, a handle will be generated automatically from the page title.\nIn themes, the Liquid templating language refers to a page by its handle.")] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the page. If no handle is specified, a handle will be generated automatically from the page title.\nIn themes, the Liquid templating language refers to a page by its handle.")] + public string? handle { get; set; } + /// ///The text content of the page, complete with HTML markup. /// - [Description("The text content of the page, complete with HTML markup.")] - public string? body { get; set; } - + [Description("The text content of the page, complete with HTML markup.")] + public string? body { get; set; } + /// ///Whether or not the page should be visible. Defaults to `true` if no publish date is specified. /// - [Description("Whether or not the page should be visible. Defaults to `true` if no publish date is specified.")] - public bool? isPublished { get; set; } - + [Description("Whether or not the page should be visible. Defaults to `true` if no publish date is specified.")] + public bool? isPublished { get; set; } + /// ///The date and time (ISO 8601 format) when the page should become visible. /// - [Description("The date and time (ISO 8601 format) when the page should become visible.")] - public DateTime? publishDate { get; set; } - + [Description("The date and time (ISO 8601 format) when the page should become visible.")] + public DateTime? publishDate { get; set; } + /// ///The suffix of the template that's used to render the page. ///If the value is an empty string or `null`, then the default page template is used. /// - [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default page template is used.")] - public string? templateSuffix { get; set; } - + [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default page template is used.")] + public string? templateSuffix { get; set; } + /// ///The input fields to create or update a metafield. /// - [Description("The input fields to create or update a metafield.")] - public IEnumerable? metafields { get; set; } - + [Description("The input fields to create or update a metafield.")] + public IEnumerable? metafields { get; set; } + /// ///The title of the page. /// - [Description("The title of the page.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the page.")] + [NonNull] + public string? title { get; set; } + } + /// ///Return type for `pageCreate` mutation. /// - [Description("Return type for `pageCreate` mutation.")] - public class PageCreatePayload : GraphQLObject - { + [Description("Return type for `pageCreate` mutation.")] + public class PageCreatePayload : GraphQLObject + { /// ///The page that was created. /// - [Description("The page that was created.")] - public Page? page { get; set; } - + [Description("The page that was created.")] + public Page? page { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PageCreate`. /// - [Description("An error that occurs during the execution of `PageCreate`.")] - public class PageCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PageCreate`.")] + public class PageCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PageCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PageCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PageCreateUserError`. /// - [Description("Possible error codes that can be returned by `PageCreateUserError`.")] - public enum PageCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `PageCreateUserError`.")] + public enum PageCreateUserErrorCode + { /// ///Can’t set isPublished to true and also set a future publish date. /// - [Description("Can’t set isPublished to true and also set a future publish date.")] - INVALID_PUBLISH_DATE, + [Description("Can’t set isPublished to true and also set a future publish date.")] + INVALID_PUBLISH_DATE, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too big. /// - [Description("The input value is too big.")] - TOO_BIG, + [Description("The input value is too big.")] + TOO_BIG, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///The metafield type is invalid. /// - [Description("The metafield type is invalid.")] - INVALID_TYPE, - } - - public static class PageCreateUserErrorCodeStringValues - { - public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; - public const string BLANK = @"BLANK"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_BIG = @"TOO_BIG"; - public const string TAKEN = @"TAKEN"; - public const string INVALID = @"INVALID"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - } - + [Description("The metafield type is invalid.")] + INVALID_TYPE, + } + + public static class PageCreateUserErrorCodeStringValues + { + public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; + public const string BLANK = @"BLANK"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_BIG = @"TOO_BIG"; + public const string TAKEN = @"TAKEN"; + public const string INVALID = @"INVALID"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + } + /// ///Return type for `pageDelete` mutation. /// - [Description("Return type for `pageDelete` mutation.")] - public class PageDeletePayload : GraphQLObject - { + [Description("Return type for `pageDelete` mutation.")] + public class PageDeletePayload : GraphQLObject + { /// ///The ID of the deleted page. /// - [Description("The ID of the deleted page.")] - public string? deletedPageId { get; set; } - + [Description("The ID of the deleted page.")] + public string? deletedPageId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PageDelete`. /// - [Description("An error that occurs during the execution of `PageDelete`.")] - public class PageDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PageDelete`.")] + public class PageDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PageDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PageDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PageDeleteUserError`. /// - [Description("Possible error codes that can be returned by `PageDeleteUserError`.")] - public enum PageDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `PageDeleteUserError`.")] + public enum PageDeleteUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class PageDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class PageDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///An auto-generated type which holds one Page and a cursor during pagination. /// - [Description("An auto-generated type which holds one Page and a cursor during pagination.")] - public class PageEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Page and a cursor during pagination.")] + public class PageEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PageEdge. /// - [Description("The item at the end of PageEdge.")] - [NonNull] - public Page? node { get; set; } - } - + [Description("The item at the end of PageEdge.")] + [NonNull] + public Page? node { get; set; } + } + /// ///The set of valid sort keys for the Page query. /// - [Description("The set of valid sort keys for the Page query.")] - public enum PageSortKeys - { + [Description("The set of valid sort keys for the Page query.")] + public enum PageSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `published_at` value. /// - [Description("Sort by the `published_at` value.")] - PUBLISHED_AT, + [Description("Sort by the `published_at` value.")] + PUBLISHED_AT, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class PageSortKeysStringValues - { - public const string ID = @"ID"; - public const string PUBLISHED_AT = @"PUBLISHED_AT"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class PageSortKeysStringValues + { + public const string ID = @"ID"; + public const string PUBLISHED_AT = @"PUBLISHED_AT"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///The input fields to update a page. /// - [Description("The input fields to update a page.")] - public class PageUpdateInput : GraphQLObject - { + [Description("The input fields to update a page.")] + public class PageUpdateInput : GraphQLObject + { /// ///A unique, human-friendly string for the page. If no handle is specified, a handle will be generated automatically from the page title. ///In themes, the Liquid templating language refers to a page by its handle. /// - [Description("A unique, human-friendly string for the page. If no handle is specified, a handle will be generated automatically from the page title.\nIn themes, the Liquid templating language refers to a page by its handle.")] - public string? handle { get; set; } - + [Description("A unique, human-friendly string for the page. If no handle is specified, a handle will be generated automatically from the page title.\nIn themes, the Liquid templating language refers to a page by its handle.")] + public string? handle { get; set; } + /// ///The text content of the page, complete with HTML markup. /// - [Description("The text content of the page, complete with HTML markup.")] - public string? body { get; set; } - + [Description("The text content of the page, complete with HTML markup.")] + public string? body { get; set; } + /// ///Whether or not the page should be visible. Defaults to `true` if no publish date is specified. /// - [Description("Whether or not the page should be visible. Defaults to `true` if no publish date is specified.")] - public bool? isPublished { get; set; } - + [Description("Whether or not the page should be visible. Defaults to `true` if no publish date is specified.")] + public bool? isPublished { get; set; } + /// ///The date and time (ISO 8601 format) when the page should become visible. /// - [Description("The date and time (ISO 8601 format) when the page should become visible.")] - public DateTime? publishDate { get; set; } - + [Description("The date and time (ISO 8601 format) when the page should become visible.")] + public DateTime? publishDate { get; set; } + /// ///The suffix of the template that's used to render the page. ///If the value is an empty string or `null`, then the default page template is used. /// - [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default page template is used.")] - public string? templateSuffix { get; set; } - + [Description("The suffix of the template that's used to render the page.\nIf the value is an empty string or `null`, then the default page template is used.")] + public string? templateSuffix { get; set; } + /// ///The input fields to create or update a metafield. /// - [Description("The input fields to create or update a metafield.")] - public IEnumerable? metafields { get; set; } - + [Description("The input fields to create or update a metafield.")] + public IEnumerable? metafields { get; set; } + /// ///The title of the page. /// - [Description("The title of the page.")] - public string? title { get; set; } - + [Description("The title of the page.")] + public string? title { get; set; } + /// ///Whether a redirect is required after a new handle has been provided. ///If `true`, then the old handle is redirected to the new one automatically. /// - [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] - public bool? redirectNewHandle { get; set; } - } - + [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] + public bool? redirectNewHandle { get; set; } + } + /// ///Return type for `pageUpdate` mutation. /// - [Description("Return type for `pageUpdate` mutation.")] - public class PageUpdatePayload : GraphQLObject - { + [Description("Return type for `pageUpdate` mutation.")] + public class PageUpdatePayload : GraphQLObject + { /// ///The page that was updated. /// - [Description("The page that was updated.")] - public Page? page { get; set; } - + [Description("The page that was updated.")] + public Page? page { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PageUpdate`. /// - [Description("An error that occurs during the execution of `PageUpdate`.")] - public class PageUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PageUpdate`.")] + public class PageUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PageUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PageUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PageUpdateUserError`. /// - [Description("Possible error codes that can be returned by `PageUpdateUserError`.")] - public enum PageUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `PageUpdateUserError`.")] + public enum PageUpdateUserErrorCode + { /// ///Can’t set isPublished to true and also set a future publish date. /// - [Description("Can’t set isPublished to true and also set a future publish date.")] - INVALID_PUBLISH_DATE, + [Description("Can’t set isPublished to true and also set a future publish date.")] + INVALID_PUBLISH_DATE, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too big. /// - [Description("The input value is too big.")] - TOO_BIG, + [Description("The input value is too big.")] + TOO_BIG, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///The metafield type is invalid. /// - [Description("The metafield type is invalid.")] - INVALID_TYPE, - } - - public static class PageUpdateUserErrorCodeStringValues - { - public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string BLANK = @"BLANK"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_BIG = @"TOO_BIG"; - public const string TAKEN = @"TAKEN"; - public const string INVALID = @"INVALID"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - } - + [Description("The metafield type is invalid.")] + INVALID_TYPE, + } + + public static class PageUpdateUserErrorCodeStringValues + { + public const string INVALID_PUBLISH_DATE = @"INVALID_PUBLISH_DATE"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string BLANK = @"BLANK"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_BIG = @"TOO_BIG"; + public const string TAKEN = @"TAKEN"; + public const string INVALID = @"INVALID"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + } + /// ///A payment customization. /// - [Description("A payment customization.")] - public class PaymentCustomization : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer - { + [Description("A payment customization.")] + public class PaymentCustomization : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode, IMetafieldReferencer + { /// ///The enabled status of the payment customization. /// - [Description("The enabled status of the payment customization.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("The enabled status of the payment customization.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The error history on the most recent version of the payment customization. /// - [Description("The error history on the most recent version of the payment customization.")] - public FunctionsErrorHistory? errorHistory { get; set; } - + [Description("The error history on the most recent version of the payment customization.")] + public FunctionsErrorHistory? errorHistory { get; set; } + /// ///The ID of the Shopify Function implementing the payment customization. /// - [Description("The ID of the Shopify Function implementing the payment customization.")] - [NonNull] - public string? functionId { get; set; } - + [Description("The ID of the Shopify Function implementing the payment customization.")] + [NonNull] + public string? functionId { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The Shopify Function implementing the payment customization. /// - [Description("The Shopify Function implementing the payment customization.")] - [NonNull] - public ShopifyFunction? shopifyFunction { get; set; } - + [Description("The Shopify Function implementing the payment customization.")] + [NonNull] + public ShopifyFunction? shopifyFunction { get; set; } + /// ///The title of the payment customization. /// - [Description("The title of the payment customization.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the payment customization.")] + [NonNull] + public string? title { get; set; } + } + /// ///Return type for `paymentCustomizationActivation` mutation. /// - [Description("Return type for `paymentCustomizationActivation` mutation.")] - public class PaymentCustomizationActivationPayload : GraphQLObject - { + [Description("Return type for `paymentCustomizationActivation` mutation.")] + public class PaymentCustomizationActivationPayload : GraphQLObject + { /// ///The IDs of the updated payment customizations. /// - [Description("The IDs of the updated payment customizations.")] - public IEnumerable? ids { get; set; } - + [Description("The IDs of the updated payment customizations.")] + public IEnumerable? ids { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple PaymentCustomizations. /// - [Description("An auto-generated type for paginating through multiple PaymentCustomizations.")] - public class PaymentCustomizationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple PaymentCustomizations.")] + public class PaymentCustomizationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PaymentCustomizationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PaymentCustomizationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PaymentCustomizationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `paymentCustomizationCreate` mutation. /// - [Description("Return type for `paymentCustomizationCreate` mutation.")] - public class PaymentCustomizationCreatePayload : GraphQLObject - { + [Description("Return type for `paymentCustomizationCreate` mutation.")] + public class PaymentCustomizationCreatePayload : GraphQLObject + { /// ///Returns the created payment customization. /// - [Description("Returns the created payment customization.")] - public PaymentCustomization? paymentCustomization { get; set; } - + [Description("Returns the created payment customization.")] + public PaymentCustomization? paymentCustomization { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `paymentCustomizationDelete` mutation. /// - [Description("Return type for `paymentCustomizationDelete` mutation.")] - public class PaymentCustomizationDeletePayload : GraphQLObject - { + [Description("Return type for `paymentCustomizationDelete` mutation.")] + public class PaymentCustomizationDeletePayload : GraphQLObject + { /// ///Returns the deleted payment customization ID. /// - [Description("Returns the deleted payment customization ID.")] - public string? deletedId { get; set; } - + [Description("Returns the deleted payment customization ID.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one PaymentCustomization and a cursor during pagination. /// - [Description("An auto-generated type which holds one PaymentCustomization and a cursor during pagination.")] - public class PaymentCustomizationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one PaymentCustomization and a cursor during pagination.")] + public class PaymentCustomizationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PaymentCustomizationEdge. /// - [Description("The item at the end of PaymentCustomizationEdge.")] - [NonNull] - public PaymentCustomization? node { get; set; } - } - + [Description("The item at the end of PaymentCustomizationEdge.")] + [NonNull] + public PaymentCustomization? node { get; set; } + } + /// ///An error that occurs during the execution of a payment customization mutation. /// - [Description("An error that occurs during the execution of a payment customization mutation.")] - public class PaymentCustomizationError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a payment customization mutation.")] + public class PaymentCustomizationError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PaymentCustomizationErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PaymentCustomizationErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PaymentCustomizationError`. /// - [Description("Possible error codes that can be returned by `PaymentCustomizationError`.")] - public enum PaymentCustomizationErrorCode - { + [Description("Possible error codes that can be returned by `PaymentCustomizationError`.")] + public enum PaymentCustomizationErrorCode + { /// ///Shop plan not eligible to use Functions from a custom app. /// - [Description("Shop plan not eligible to use Functions from a custom app.")] - CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, + [Description("Shop plan not eligible to use Functions from a custom app.")] + CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, /// ///Function does not implement the required interface. /// - [Description("Function does not implement the required interface.")] - FUNCTION_DOES_NOT_IMPLEMENT, + [Description("Function does not implement the required interface.")] + FUNCTION_DOES_NOT_IMPLEMENT, /// ///Function not found. /// - [Description("Function not found.")] - FUNCTION_NOT_FOUND, + [Description("Function not found.")] + FUNCTION_NOT_FOUND, /// ///Function is pending deletion. /// - [Description("Function is pending deletion.")] - FUNCTION_PENDING_DELETION, + [Description("Function is pending deletion.")] + FUNCTION_PENDING_DELETION, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Payment customization not found. /// - [Description("Payment customization not found.")] - PAYMENT_CUSTOMIZATION_NOT_FOUND, + [Description("Payment customization not found.")] + PAYMENT_CUSTOMIZATION_NOT_FOUND, /// ///Shop must be on a Shopify Plus plan to activate payment customizations from a custom app. /// - [Description("Shop must be on a Shopify Plus plan to activate payment customizations from a custom app.")] - PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE, + [Description("Shop must be on a Shopify Plus plan to activate payment customizations from a custom app.")] + PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE, /// ///Maximum payment customizations are already enabled. /// - [Description("Maximum payment customizations are already enabled.")] - MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS, + [Description("Maximum payment customizations are already enabled.")] + MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS, /// ///Required input field must be present. /// - [Description("Required input field must be present.")] - REQUIRED_INPUT_FIELD, + [Description("Required input field must be present.")] + REQUIRED_INPUT_FIELD, /// ///Could not create or update metafields. /// - [Description("Could not create or update metafields.")] - INVALID_METAFIELDS, + [Description("Could not create or update metafields.")] + INVALID_METAFIELDS, /// ///Function ID cannot be changed. /// - [Description("Function ID cannot be changed.")] - FUNCTION_ID_CANNOT_BE_CHANGED, + [Description("Function ID cannot be changed.")] + FUNCTION_ID_CANNOT_BE_CHANGED, /// ///Either function_id or function_handle must be provided. /// - [Description("Either function_id or function_handle must be provided.")] - MISSING_FUNCTION_IDENTIFIER, + [Description("Either function_id or function_handle must be provided.")] + MISSING_FUNCTION_IDENTIFIER, /// ///Only one of function_id or function_handle can be provided, not both. /// - [Description("Only one of function_id or function_handle can be provided, not both.")] - MULTIPLE_FUNCTION_IDENTIFIERS, - } - - public static class PaymentCustomizationErrorCodeStringValues - { - public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; - public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; - public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; - public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; - public const string INVALID = @"INVALID"; - public const string PAYMENT_CUSTOMIZATION_NOT_FOUND = @"PAYMENT_CUSTOMIZATION_NOT_FOUND"; - public const string PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE = @"PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE"; - public const string MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS = @"MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS"; - public const string REQUIRED_INPUT_FIELD = @"REQUIRED_INPUT_FIELD"; - public const string INVALID_METAFIELDS = @"INVALID_METAFIELDS"; - public const string FUNCTION_ID_CANNOT_BE_CHANGED = @"FUNCTION_ID_CANNOT_BE_CHANGED"; - public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; - public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; - } - + [Description("Only one of function_id or function_handle can be provided, not both.")] + MULTIPLE_FUNCTION_IDENTIFIERS, + } + + public static class PaymentCustomizationErrorCodeStringValues + { + public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; + public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; + public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; + public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; + public const string INVALID = @"INVALID"; + public const string PAYMENT_CUSTOMIZATION_NOT_FOUND = @"PAYMENT_CUSTOMIZATION_NOT_FOUND"; + public const string PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE = @"PAYMENT_CUSTOMIZATION_FUNCTION_NOT_ELIGIBLE"; + public const string MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS = @"MAXIMUM_ACTIVE_PAYMENT_CUSTOMIZATIONS"; + public const string REQUIRED_INPUT_FIELD = @"REQUIRED_INPUT_FIELD"; + public const string INVALID_METAFIELDS = @"INVALID_METAFIELDS"; + public const string FUNCTION_ID_CANNOT_BE_CHANGED = @"FUNCTION_ID_CANNOT_BE_CHANGED"; + public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; + public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; + } + /// ///The input fields to create and update a payment customization. /// - [Description("The input fields to create and update a payment customization.")] - public class PaymentCustomizationInput : GraphQLObject - { + [Description("The input fields to create and update a payment customization.")] + public class PaymentCustomizationInput : GraphQLObject + { /// ///The ID of the function providing the payment customization. /// - [Description("The ID of the function providing the payment customization.")] - [Obsolete("Use `functionHandle` instead.")] - public string? functionId { get; set; } - + [Description("The ID of the function providing the payment customization.")] + [Obsolete("Use `functionHandle` instead.")] + public string? functionId { get; set; } + /// ///Function handle scoped to your app ID. /// - [Description("Function handle scoped to your app ID.")] - public string? functionHandle { get; set; } - + [Description("Function handle scoped to your app ID.")] + public string? functionHandle { get; set; } + /// ///The title of the payment customization. /// - [Description("The title of the payment customization.")] - public string? title { get; set; } - + [Description("The title of the payment customization.")] + public string? title { get; set; } + /// ///The enabled status of the payment customization. /// - [Description("The enabled status of the payment customization.")] - public bool? enabled { get; set; } - + [Description("The enabled status of the payment customization.")] + public bool? enabled { get; set; } + /// ///Additional metafields to associate to the payment customization. /// - [Description("Additional metafields to associate to the payment customization.")] - public IEnumerable? metafields { get; set; } - } - + [Description("Additional metafields to associate to the payment customization.")] + public IEnumerable? metafields { get; set; } + } + /// ///Return type for `paymentCustomizationUpdate` mutation. /// - [Description("Return type for `paymentCustomizationUpdate` mutation.")] - public class PaymentCustomizationUpdatePayload : GraphQLObject - { + [Description("Return type for `paymentCustomizationUpdate` mutation.")] + public class PaymentCustomizationUpdatePayload : GraphQLObject + { /// ///Returns the updated payment customization. /// - [Description("Returns the updated payment customization.")] - public PaymentCustomization? paymentCustomization { get; set; } - + [Description("Returns the updated payment customization.")] + public PaymentCustomization? paymentCustomization { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Payment details related to a transaction. /// - [Description("Payment details related to a transaction.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(CardPaymentDetails), typeDiscriminator: "CardPaymentDetails")] - [JsonDerivedType(typeof(LocalPaymentMethodsPaymentDetails), typeDiscriminator: "LocalPaymentMethodsPaymentDetails")] - [JsonDerivedType(typeof(PaypalWalletPaymentDetails), typeDiscriminator: "PaypalWalletPaymentDetails")] - [JsonDerivedType(typeof(ShopPayInstallmentsPaymentDetails), typeDiscriminator: "ShopPayInstallmentsPaymentDetails")] - public interface IPaymentDetails : IGraphQLObject - { - public CardPaymentDetails? AsCardPaymentDetails() => this as CardPaymentDetails; - public LocalPaymentMethodsPaymentDetails? AsLocalPaymentMethodsPaymentDetails() => this as LocalPaymentMethodsPaymentDetails; - public PaypalWalletPaymentDetails? AsPaypalWalletPaymentDetails() => this as PaypalWalletPaymentDetails; - public ShopPayInstallmentsPaymentDetails? AsShopPayInstallmentsPaymentDetails() => this as ShopPayInstallmentsPaymentDetails; + [Description("Payment details related to a transaction.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(CardPaymentDetails), typeDiscriminator: "CardPaymentDetails")] + [JsonDerivedType(typeof(LocalPaymentMethodsPaymentDetails), typeDiscriminator: "LocalPaymentMethodsPaymentDetails")] + [JsonDerivedType(typeof(PaypalWalletPaymentDetails), typeDiscriminator: "PaypalWalletPaymentDetails")] + [JsonDerivedType(typeof(ShopPayInstallmentsPaymentDetails), typeDiscriminator: "ShopPayInstallmentsPaymentDetails")] + public interface IPaymentDetails : IGraphQLObject + { + public CardPaymentDetails? AsCardPaymentDetails() => this as CardPaymentDetails; + public LocalPaymentMethodsPaymentDetails? AsLocalPaymentMethodsPaymentDetails() => this as LocalPaymentMethodsPaymentDetails; + public PaypalWalletPaymentDetails? AsPaypalWalletPaymentDetails() => this as PaypalWalletPaymentDetails; + public ShopPayInstallmentsPaymentDetails? AsShopPayInstallmentsPaymentDetails() => this as ShopPayInstallmentsPaymentDetails; /// ///The name of payment method used by the buyer. /// - [Description("The name of payment method used by the buyer.")] - public string? paymentMethodName { get; set; } - } - + [Description("The name of payment method used by the buyer.")] + public string? paymentMethodName { get; set; } + } + /// ///All possible instrument outputs for Payment Mandates. /// - [Description("All possible instrument outputs for Payment Mandates.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(BankAccount), typeDiscriminator: "BankAccount")] - [JsonDerivedType(typeof(VaultCreditCard), typeDiscriminator: "VaultCreditCard")] - [JsonDerivedType(typeof(VaultPaypalBillingAgreement), typeDiscriminator: "VaultPaypalBillingAgreement")] - public interface IPaymentInstrument : IGraphQLObject - { - public BankAccount? AsBankAccount() => this as BankAccount; - public VaultCreditCard? AsVaultCreditCard() => this as VaultCreditCard; - public VaultPaypalBillingAgreement? AsVaultPaypalBillingAgreement() => this as VaultPaypalBillingAgreement; - } - + [Description("All possible instrument outputs for Payment Mandates.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(BankAccount), typeDiscriminator: "BankAccount")] + [JsonDerivedType(typeof(VaultCreditCard), typeDiscriminator: "VaultCreditCard")] + [JsonDerivedType(typeof(VaultPaypalBillingAgreement), typeDiscriminator: "VaultPaypalBillingAgreement")] + public interface IPaymentInstrument : IGraphQLObject + { + public BankAccount? AsBankAccount() => this as BankAccount; + public VaultCreditCard? AsVaultCreditCard() => this as VaultCreditCard; + public VaultPaypalBillingAgreement? AsVaultPaypalBillingAgreement() => this as VaultPaypalBillingAgreement; + } + /// ///A payment instrument and the permission ///the owner of the instrument gives to the merchant to debit it. /// - [Description("A payment instrument and the permission\nthe owner of the instrument gives to the merchant to debit it.")] - public class PaymentMandate : GraphQLObject, INode - { + [Description("A payment instrument and the permission\nthe owner of the instrument gives to the merchant to debit it.")] + public class PaymentMandate : GraphQLObject, INode + { /// ///The unique ID of a payment mandate. /// - [Description("The unique ID of a payment mandate.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID of a payment mandate.")] + [NonNull] + public string? id { get; set; } + /// ///The outputs details of the payment instrument. /// - [Description("The outputs details of the payment instrument.")] - [NonNull] - public IPaymentInstrument? paymentInstrument { get; set; } - } - + [Description("The outputs details of the payment instrument.")] + [NonNull] + public IPaymentInstrument? paymentInstrument { get; set; } + } + /// ///A payment mandate with resource information, representing the permission ///the owner of the payment instrument gives to the merchant to debit it ///for specific resources (e.g., Order, Subscriptions). /// - [Description("A payment mandate with resource information, representing the permission\nthe owner of the payment instrument gives to the merchant to debit it\nfor specific resources (e.g., Order, Subscriptions).")] - public class PaymentMandateResource : GraphQLObject - { + [Description("A payment mandate with resource information, representing the permission\nthe owner of the payment instrument gives to the merchant to debit it\nfor specific resources (e.g., Order, Subscriptions).")] + public class PaymentMandateResource : GraphQLObject + { /// ///The ID of the resource that this payment method was created for. /// - [Description("The ID of the resource that this payment method was created for.")] - public string? resourceId { get; set; } - + [Description("The ID of the resource that this payment method was created for.")] + public string? resourceId { get; set; } + /// ///The resource type that this payment method was created for (e.g., Order, Subscriptions). /// - [Description("The resource type that this payment method was created for (e.g., Order, Subscriptions).")] - [EnumType(typeof(MandateResourceType))] - public string? resourceType { get; set; } - } - + [Description("The resource type that this payment method was created for (e.g., Order, Subscriptions).")] + [EnumType(typeof(MandateResourceType))] + public string? resourceType { get; set; } + } + /// ///An auto-generated type for paginating through multiple PaymentMandateResources. /// - [Description("An auto-generated type for paginating through multiple PaymentMandateResources.")] - public class PaymentMandateResourceConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple PaymentMandateResources.")] + public class PaymentMandateResourceConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PaymentMandateResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PaymentMandateResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PaymentMandateResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one PaymentMandateResource and a cursor during pagination. /// - [Description("An auto-generated type which holds one PaymentMandateResource and a cursor during pagination.")] - public class PaymentMandateResourceEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one PaymentMandateResource and a cursor during pagination.")] + public class PaymentMandateResourceEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PaymentMandateResourceEdge. /// - [Description("The item at the end of PaymentMandateResourceEdge.")] - [NonNull] - public PaymentMandateResource? node { get; set; } - } - + [Description("The item at the end of PaymentMandateResourceEdge.")] + [NonNull] + public PaymentMandateResource? node { get; set; } + } + /// ///Some of the payment methods used in Shopify. /// - [Description("Some of the payment methods used in Shopify.")] - public enum PaymentMethods - { - VISA, - MASTERCARD, - DISCOVER, - AMERICAN_EXPRESS, - DINERS_CLUB, - JCB, + [Description("Some of the payment methods used in Shopify.")] + public enum PaymentMethods + { + VISA, + MASTERCARD, + DISCOVER, + AMERICAN_EXPRESS, + DINERS_CLUB, + JCB, /// ///The payment method for UnionPay payment. /// - [Description("The payment method for UnionPay payment.")] - UNIONPAY, + [Description("The payment method for UnionPay payment.")] + UNIONPAY, /// ///The payment method for Elo payment. /// - [Description("The payment method for Elo payment.")] - ELO, - DANKORT, - MAESTRO, - FORBRUGSFORENINGEN, - PAYPAL, - BOGUS, - BITCOIN, - LITECOIN, - DOGECOIN, + [Description("The payment method for Elo payment.")] + ELO, + DANKORT, + MAESTRO, + FORBRUGSFORENINGEN, + PAYPAL, + BOGUS, + BITCOIN, + LITECOIN, + DOGECOIN, /// ///The payment method for Interac payment. /// - [Description("The payment method for Interac payment.")] - INTERAC, + [Description("The payment method for Interac payment.")] + INTERAC, /// ///The payment method for eftpos_au payment. /// - [Description("The payment method for eftpos_au payment.")] - EFTPOS, + [Description("The payment method for eftpos_au payment.")] + EFTPOS, /// ///The payment method for Cartes Bancaires payment. /// - [Description("The payment method for Cartes Bancaires payment.")] - CARTES_BANCAIRES, + [Description("The payment method for Cartes Bancaires payment.")] + CARTES_BANCAIRES, /// ///The payment method for Bancontact payment. /// - [Description("The payment method for Bancontact payment.")] - BANCONTACT, - } - - public static class PaymentMethodsStringValues - { - public const string VISA = @"VISA"; - public const string MASTERCARD = @"MASTERCARD"; - public const string DISCOVER = @"DISCOVER"; - public const string AMERICAN_EXPRESS = @"AMERICAN_EXPRESS"; - public const string DINERS_CLUB = @"DINERS_CLUB"; - public const string JCB = @"JCB"; - public const string UNIONPAY = @"UNIONPAY"; - public const string ELO = @"ELO"; - public const string DANKORT = @"DANKORT"; - public const string MAESTRO = @"MAESTRO"; - public const string FORBRUGSFORENINGEN = @"FORBRUGSFORENINGEN"; - public const string PAYPAL = @"PAYPAL"; - public const string BOGUS = @"BOGUS"; - public const string BITCOIN = @"BITCOIN"; - public const string LITECOIN = @"LITECOIN"; - public const string DOGECOIN = @"DOGECOIN"; - public const string INTERAC = @"INTERAC"; - public const string EFTPOS = @"EFTPOS"; - public const string CARTES_BANCAIRES = @"CARTES_BANCAIRES"; - public const string BANCONTACT = @"BANCONTACT"; - } - + [Description("The payment method for Bancontact payment.")] + BANCONTACT, + } + + public static class PaymentMethodsStringValues + { + public const string VISA = @"VISA"; + public const string MASTERCARD = @"MASTERCARD"; + public const string DISCOVER = @"DISCOVER"; + public const string AMERICAN_EXPRESS = @"AMERICAN_EXPRESS"; + public const string DINERS_CLUB = @"DINERS_CLUB"; + public const string JCB = @"JCB"; + public const string UNIONPAY = @"UNIONPAY"; + public const string ELO = @"ELO"; + public const string DANKORT = @"DANKORT"; + public const string MAESTRO = @"MAESTRO"; + public const string FORBRUGSFORENINGEN = @"FORBRUGSFORENINGEN"; + public const string PAYPAL = @"PAYPAL"; + public const string BOGUS = @"BOGUS"; + public const string BITCOIN = @"BITCOIN"; + public const string LITECOIN = @"LITECOIN"; + public const string DOGECOIN = @"DOGECOIN"; + public const string INTERAC = @"INTERAC"; + public const string EFTPOS = @"EFTPOS"; + public const string CARTES_BANCAIRES = @"CARTES_BANCAIRES"; + public const string BANCONTACT = @"BANCONTACT"; + } + /// ///Return type for `paymentReminderSend` mutation. /// - [Description("Return type for `paymentReminderSend` mutation.")] - public class PaymentReminderSendPayload : GraphQLObject - { + [Description("Return type for `paymentReminderSend` mutation.")] + public class PaymentReminderSendPayload : GraphQLObject + { /// ///Whether the payment reminder email was successfully sent. /// - [Description("Whether the payment reminder email was successfully sent.")] - public bool? success { get; set; } - + [Description("Whether the payment reminder email was successfully sent.")] + public bool? success { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PaymentReminderSend`. /// - [Description("An error that occurs during the execution of `PaymentReminderSend`.")] - public class PaymentReminderSendUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PaymentReminderSend`.")] + public class PaymentReminderSendUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PaymentReminderSendUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PaymentReminderSendUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PaymentReminderSendUserError`. /// - [Description("Possible error codes that can be returned by `PaymentReminderSendUserError`.")] - public enum PaymentReminderSendUserErrorCode - { + [Description("Possible error codes that can be returned by `PaymentReminderSendUserError`.")] + public enum PaymentReminderSendUserErrorCode + { /// ///An error occurred while sending the payment reminder. /// - [Description("An error occurred while sending the payment reminder.")] - PAYMENT_REMINDER_SEND_UNSUCCESSFUL, - } - - public static class PaymentReminderSendUserErrorCodeStringValues - { - public const string PAYMENT_REMINDER_SEND_UNSUCCESSFUL = @"PAYMENT_REMINDER_SEND_UNSUCCESSFUL"; - } - + [Description("An error occurred while sending the payment reminder.")] + PAYMENT_REMINDER_SEND_UNSUCCESSFUL, + } + + public static class PaymentReminderSendUserErrorCodeStringValues + { + public const string PAYMENT_REMINDER_SEND_UNSUCCESSFUL = @"PAYMENT_REMINDER_SEND_UNSUCCESSFUL"; + } + /// ///Represents the payment schedule for a single payment defined in the payment terms. /// - [Description("Represents the payment schedule for a single payment defined in the payment terms.")] - public class PaymentSchedule : GraphQLObject, INode - { + [Description("Represents the payment schedule for a single payment defined in the payment terms.")] + public class PaymentSchedule : GraphQLObject, INode + { /// ///Amount owed for this payment schedule. /// - [Description("Amount owed for this payment schedule.")] - [Obsolete("Use `balanceDue`, `totalBalance`, or `Order.totalOutstandingSet` instead.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("Amount owed for this payment schedule.")] + [Obsolete("Use `balanceDue`, `totalBalance`, or `Order.totalOutstandingSet` instead.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///Remaining balance to be captured for this payment schedule. /// - [Description("Remaining balance to be captured for this payment schedule.")] - [NonNull] - public MoneyV2? balanceDue { get; set; } - + [Description("Remaining balance to be captured for this payment schedule.")] + [NonNull] + public MoneyV2? balanceDue { get; set; } + /// ///Date and time when the payment schedule is paid or fulfilled. /// - [Description("Date and time when the payment schedule is paid or fulfilled.")] - public DateTime? completedAt { get; set; } - + [Description("Date and time when the payment schedule is paid or fulfilled.")] + public DateTime? completedAt { get; set; } + /// ///Whether the payment schedule is due. /// - [Description("Whether the payment schedule is due.")] - [NonNull] - public bool? due { get; set; } - + [Description("Whether the payment schedule is due.")] + [NonNull] + public bool? due { get; set; } + /// ///Date and time when the payment schedule is due. /// - [Description("Date and time when the payment schedule is due.")] - public DateTime? dueAt { get; set; } - + [Description("Date and time when the payment schedule is due.")] + public DateTime? dueAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Date and time when the invoice is sent. /// - [Description("Date and time when the invoice is sent.")] - public DateTime? issuedAt { get; set; } - + [Description("Date and time when the invoice is sent.")] + public DateTime? issuedAt { get; set; } + /// ///The payment terms the payment schedule belongs to. /// - [Description("The payment terms the payment schedule belongs to.")] - [NonNull] - public PaymentTerms? paymentTerms { get; set; } - + [Description("The payment terms the payment schedule belongs to.")] + [NonNull] + public PaymentTerms? paymentTerms { get; set; } + /// ///Remaining balance to be paid or authorized by the customer for this payment schedule. /// - [Description("Remaining balance to be paid or authorized by the customer for this payment schedule.")] - [NonNull] - public MoneyV2? totalBalance { get; set; } - } - + [Description("Remaining balance to be paid or authorized by the customer for this payment schedule.")] + [NonNull] + public MoneyV2? totalBalance { get; set; } + } + /// ///An auto-generated type for paginating through multiple PaymentSchedules. /// - [Description("An auto-generated type for paginating through multiple PaymentSchedules.")] - public class PaymentScheduleConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple PaymentSchedules.")] + public class PaymentScheduleConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PaymentScheduleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PaymentScheduleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PaymentScheduleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one PaymentSchedule and a cursor during pagination. /// - [Description("An auto-generated type which holds one PaymentSchedule and a cursor during pagination.")] - public class PaymentScheduleEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one PaymentSchedule and a cursor during pagination.")] + public class PaymentScheduleEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PaymentScheduleEdge. /// - [Description("The item at the end of PaymentScheduleEdge.")] - [NonNull] - public PaymentSchedule? node { get; set; } - } - + [Description("The item at the end of PaymentScheduleEdge.")] + [NonNull] + public PaymentSchedule? node { get; set; } + } + /// ///The input fields used to create a payment schedule for payment terms. /// - [Description("The input fields used to create a payment schedule for payment terms.")] - public class PaymentScheduleInput : GraphQLObject - { + [Description("The input fields used to create a payment schedule for payment terms.")] + public class PaymentScheduleInput : GraphQLObject + { /// ///Specifies the date and time that the payment schedule was issued. This field must be provided for net type payment terms. /// - [Description("Specifies the date and time that the payment schedule was issued. This field must be provided for net type payment terms.")] - public DateTime? issuedAt { get; set; } - + [Description("Specifies the date and time that the payment schedule was issued. This field must be provided for net type payment terms.")] + public DateTime? issuedAt { get; set; } + /// ///Specifies the date and time when the payment schedule is due. This field must be provided for fixed type payment terms. /// - [Description("Specifies the date and time when the payment schedule is due. This field must be provided for fixed type payment terms.")] - public DateTime? dueAt { get; set; } - } - + [Description("Specifies the date and time when the payment schedule is due. This field must be provided for fixed type payment terms.")] + public DateTime? dueAt { get; set; } + } + /// ///Settings related to payments. /// - [Description("Settings related to payments.")] - public class PaymentSettings : GraphQLObject - { + [Description("Settings related to payments.")] + public class PaymentSettings : GraphQLObject + { /// ///Whether payments are automatically captured. /// - [Description("Whether payments are automatically captured.")] - [NonNull] - public bool? autoCapture { get; set; } - + [Description("Whether payments are automatically captured.")] + [NonNull] + public bool? autoCapture { get; set; } + /// ///List of the digital wallets which the shop supports. /// - [Description("List of the digital wallets which the shop supports.")] - [NonNull] - public IEnumerable? supportedDigitalWallets { get; set; } - } - + [Description("List of the digital wallets which the shop supports.")] + [NonNull] + public IEnumerable? supportedDigitalWallets { get; set; } + } + /// ///Represents the payment terms for an order or draft order. /// - [Description("Represents the payment terms for an order or draft order.")] - public class PaymentTerms : GraphQLObject, INode - { + [Description("Represents the payment terms for an order or draft order.")] + public class PaymentTerms : GraphQLObject, INode + { /// ///Whether the payment can be made before the due date. When true, allows early payment of the invoice. When false, the payment must be made according to the payment schedule. /// - [Description("Whether the payment can be made before the due date. When true, allows early payment of the invoice. When false, the payment must be made according to the payment schedule.")] - [NonNull] - public bool? canPayEarly { get; set; } - + [Description("Whether the payment can be made before the due date. When true, allows early payment of the invoice. When false, the payment must be made according to the payment schedule.")] + [NonNull] + public bool? canPayEarly { get; set; } + /// ///The draft order associated with the payment terms. /// - [Description("The draft order associated with the payment terms.")] - public DraftOrder? draftOrder { get; set; } - + [Description("The draft order associated with the payment terms.")] + public DraftOrder? draftOrder { get; set; } + /// ///Whether payment terms have a payment schedule that's due. /// - [Description("Whether payment terms have a payment schedule that's due.")] - [NonNull] - public bool? due { get; set; } - + [Description("Whether payment terms have a payment schedule that's due.")] + [NonNull] + public bool? due { get; set; } + /// ///Duration of payment terms in days based on the payment terms template used to create the payment terms. /// - [Description("Duration of payment terms in days based on the payment terms template used to create the payment terms.")] - public int? dueInDays { get; set; } - + [Description("Duration of payment terms in days based on the payment terms template used to create the payment terms.")] + public int? dueInDays { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The order associated with the payment terms. /// - [Description("The order associated with the payment terms.")] - public Order? order { get; set; } - + [Description("The order associated with the payment terms.")] + public Order? order { get; set; } + /// ///Whether the payment terms have overdue payment schedules. /// - [Description("Whether the payment terms have overdue payment schedules.")] - [NonNull] - public bool? overdue { get; set; } - + [Description("Whether the payment terms have overdue payment schedules.")] + [NonNull] + public bool? overdue { get; set; } + /// ///List of schedules for the payment terms. /// - [Description("List of schedules for the payment terms.")] - [NonNull] - public PaymentScheduleConnection? paymentSchedules { get; set; } - + [Description("List of schedules for the payment terms.")] + [NonNull] + public PaymentScheduleConnection? paymentSchedules { get; set; } + /// ///The name of the payment terms template used to create the payment terms. /// - [Description("The name of the payment terms template used to create the payment terms.")] - [NonNull] - public string? paymentTermsName { get; set; } - + [Description("The name of the payment terms template used to create the payment terms.")] + [NonNull] + public string? paymentTermsName { get; set; } + /// ///The payment terms template type used to create the payment terms. /// - [Description("The payment terms template type used to create the payment terms.")] - [NonNull] - [EnumType(typeof(PaymentTermsType))] - public string? paymentTermsType { get; set; } - + [Description("The payment terms template type used to create the payment terms.")] + [NonNull] + [EnumType(typeof(PaymentTermsType))] + public string? paymentTermsType { get; set; } + /// ///The payment terms name, translated into the shop admin's preferred language. /// - [Description("The payment terms name, translated into the shop admin's preferred language.")] - [NonNull] - public string? translatedName { get; set; } - } - + [Description("The payment terms name, translated into the shop admin's preferred language.")] + [NonNull] + public string? translatedName { get; set; } + } + /// ///The input fields used to create a payment terms. /// - [Description("The input fields used to create a payment terms.")] - public class PaymentTermsCreateInput : GraphQLObject - { + [Description("The input fields used to create a payment terms.")] + public class PaymentTermsCreateInput : GraphQLObject + { /// ///Specifies the payment terms template ID used to generate payment terms. /// - [Description("Specifies the payment terms template ID used to generate payment terms.")] - [NonNull] - public string? paymentTermsTemplateId { get; set; } - + [Description("Specifies the payment terms template ID used to generate payment terms.")] + [NonNull] + public string? paymentTermsTemplateId { get; set; } + /// ///Specifies the payment schedules for the payment terms. /// - [Description("Specifies the payment schedules for the payment terms.")] - public IEnumerable? paymentSchedules { get; set; } - } - + [Description("Specifies the payment schedules for the payment terms.")] + public IEnumerable? paymentSchedules { get; set; } + } + /// ///Return type for `paymentTermsCreate` mutation. /// - [Description("Return type for `paymentTermsCreate` mutation.")] - public class PaymentTermsCreatePayload : GraphQLObject - { + [Description("Return type for `paymentTermsCreate` mutation.")] + public class PaymentTermsCreatePayload : GraphQLObject + { /// ///The created payment terms. /// - [Description("The created payment terms.")] - public PaymentTerms? paymentTerms { get; set; } - + [Description("The created payment terms.")] + public PaymentTerms? paymentTerms { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PaymentTermsCreate`. /// - [Description("An error that occurs during the execution of `PaymentTermsCreate`.")] - public class PaymentTermsCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PaymentTermsCreate`.")] + public class PaymentTermsCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PaymentTermsCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PaymentTermsCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PaymentTermsCreateUserError`. /// - [Description("Possible error codes that can be returned by `PaymentTermsCreateUserError`.")] - public enum PaymentTermsCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `PaymentTermsCreateUserError`.")] + public enum PaymentTermsCreateUserErrorCode + { /// ///An error occurred while creating payment terms. /// - [Description("An error occurred while creating payment terms.")] - PAYMENT_TERMS_CREATION_UNSUCCESSFUL, - } - - public static class PaymentTermsCreateUserErrorCodeStringValues - { - public const string PAYMENT_TERMS_CREATION_UNSUCCESSFUL = @"PAYMENT_TERMS_CREATION_UNSUCCESSFUL"; - } - + [Description("An error occurred while creating payment terms.")] + PAYMENT_TERMS_CREATION_UNSUCCESSFUL, + } + + public static class PaymentTermsCreateUserErrorCodeStringValues + { + public const string PAYMENT_TERMS_CREATION_UNSUCCESSFUL = @"PAYMENT_TERMS_CREATION_UNSUCCESSFUL"; + } + /// ///The input fields used to delete the payment terms. /// - [Description("The input fields used to delete the payment terms.")] - public class PaymentTermsDeleteInput : GraphQLObject - { + [Description("The input fields used to delete the payment terms.")] + public class PaymentTermsDeleteInput : GraphQLObject + { /// ///The ID of the payment terms being deleted. /// - [Description("The ID of the payment terms being deleted.")] - [NonNull] - public string? paymentTermsId { get; set; } - } - + [Description("The ID of the payment terms being deleted.")] + [NonNull] + public string? paymentTermsId { get; set; } + } + /// ///Return type for `paymentTermsDelete` mutation. /// - [Description("Return type for `paymentTermsDelete` mutation.")] - public class PaymentTermsDeletePayload : GraphQLObject - { + [Description("Return type for `paymentTermsDelete` mutation.")] + public class PaymentTermsDeletePayload : GraphQLObject + { /// ///The deleted payment terms ID. /// - [Description("The deleted payment terms ID.")] - public string? deletedId { get; set; } - + [Description("The deleted payment terms ID.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PaymentTermsDelete`. /// - [Description("An error that occurs during the execution of `PaymentTermsDelete`.")] - public class PaymentTermsDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PaymentTermsDelete`.")] + public class PaymentTermsDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PaymentTermsDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PaymentTermsDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PaymentTermsDeleteUserError`. /// - [Description("Possible error codes that can be returned by `PaymentTermsDeleteUserError`.")] - public enum PaymentTermsDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `PaymentTermsDeleteUserError`.")] + public enum PaymentTermsDeleteUserErrorCode + { /// ///An error occurred while deleting payment terms. /// - [Description("An error occurred while deleting payment terms.")] - PAYMENT_TERMS_DELETE_UNSUCCESSFUL, - } - - public static class PaymentTermsDeleteUserErrorCodeStringValues - { - public const string PAYMENT_TERMS_DELETE_UNSUCCESSFUL = @"PAYMENT_TERMS_DELETE_UNSUCCESSFUL"; - } - + [Description("An error occurred while deleting payment terms.")] + PAYMENT_TERMS_DELETE_UNSUCCESSFUL, + } + + public static class PaymentTermsDeleteUserErrorCodeStringValues + { + public const string PAYMENT_TERMS_DELETE_UNSUCCESSFUL = @"PAYMENT_TERMS_DELETE_UNSUCCESSFUL"; + } + /// ///The input fields to create payment terms. Payment terms set the date that payment is due. /// - [Description("The input fields to create payment terms. Payment terms set the date that payment is due.")] - public class PaymentTermsInput : GraphQLObject - { + [Description("The input fields to create payment terms. Payment terms set the date that payment is due.")] + public class PaymentTermsInput : GraphQLObject + { /// ///Specifies the ID of the payment terms template. /// Payment terms templates provide preset configurations to create common payment terms. @@ -88345,609 +88345,609 @@ public class PaymentTermsInput : GraphQLObject /// [PaymentTermsTemplate](https://shopify.dev/api/admin-graphql/latest/objects/paymenttermstemplate) /// object for more details. /// - [Description("Specifies the ID of the payment terms template.\n Payment terms templates provide preset configurations to create common payment terms.\n Refer to the\n [PaymentTermsTemplate](https://shopify.dev/api/admin-graphql/latest/objects/paymenttermstemplate)\n object for more details.")] - public string? paymentTermsTemplateId { get; set; } - + [Description("Specifies the ID of the payment terms template.\n Payment terms templates provide preset configurations to create common payment terms.\n Refer to the\n [PaymentTermsTemplate](https://shopify.dev/api/admin-graphql/latest/objects/paymenttermstemplate)\n object for more details.")] + public string? paymentTermsTemplateId { get; set; } + /// ///Specifies the payment schedules for the payment terms. /// - [Description("Specifies the payment schedules for the payment terms.")] - public IEnumerable? paymentSchedules { get; set; } - + [Description("Specifies the payment schedules for the payment terms.")] + public IEnumerable? paymentSchedules { get; set; } + /// ///Whether the payment can be made before the due date. /// When true, allows early payment of the invoice. /// When false, the payment must be made according to the payment schedule. /// - [Description("Whether the payment can be made before the due date.\n When true, allows early payment of the invoice.\n When false, the payment must be made according to the payment schedule.")] - public bool? canPayEarly { get; set; } - } - + [Description("Whether the payment can be made before the due date.\n When true, allows early payment of the invoice.\n When false, the payment must be made according to the payment schedule.")] + public bool? canPayEarly { get; set; } + } + /// ///Represents the payment terms template object. /// - [Description("Represents the payment terms template object.")] - public class PaymentTermsTemplate : GraphQLObject, INode - { + [Description("Represents the payment terms template object.")] + public class PaymentTermsTemplate : GraphQLObject, INode + { /// ///The description of the payment terms template. /// - [Description("The description of the payment terms template.")] - [NonNull] - public string? description { get; set; } - + [Description("The description of the payment terms template.")] + [NonNull] + public string? description { get; set; } + /// ///The number of days between the issued date and due date if this is the net type of payment terms. /// - [Description("The number of days between the issued date and due date if this is the net type of payment terms.")] - public int? dueInDays { get; set; } - + [Description("The number of days between the issued date and due date if this is the net type of payment terms.")] + public int? dueInDays { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the payment terms template. /// - [Description("The name of the payment terms template.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the payment terms template.")] + [NonNull] + public string? name { get; set; } + /// ///The type of the payment terms template. /// - [Description("The type of the payment terms template.")] - [NonNull] - [EnumType(typeof(PaymentTermsType))] - public string? paymentTermsType { get; set; } - + [Description("The type of the payment terms template.")] + [NonNull] + [EnumType(typeof(PaymentTermsType))] + public string? paymentTermsType { get; set; } + /// ///The translated payment terms template name. /// - [Description("The translated payment terms template name.")] - [NonNull] - public string? translatedName { get; set; } - } - + [Description("The translated payment terms template name.")] + [NonNull] + public string? translatedName { get; set; } + } + /// ///The type of a payment terms or a payment terms template. /// - [Description("The type of a payment terms or a payment terms template.")] - public enum PaymentTermsType - { + [Description("The type of a payment terms or a payment terms template.")] + public enum PaymentTermsType + { /// ///The payment terms or payment terms template is due on receipt. /// - [Description("The payment terms or payment terms template is due on receipt.")] - RECEIPT, + [Description("The payment terms or payment terms template is due on receipt.")] + RECEIPT, /// ///The payment terms or payment terms template is a net type. It's due a number of days after issue. /// - [Description("The payment terms or payment terms template is a net type. It's due a number of days after issue.")] - NET, + [Description("The payment terms or payment terms template is a net type. It's due a number of days after issue.")] + NET, /// ///The payment terms or payment terms template is a fixed type. It's due on a specified date. /// - [Description("The payment terms or payment terms template is a fixed type. It's due on a specified date.")] - FIXED, + [Description("The payment terms or payment terms template is a fixed type. It's due on a specified date.")] + FIXED, /// ///The payment terms or payment terms template is due on fulfillment. /// - [Description("The payment terms or payment terms template is due on fulfillment.")] - FULFILLMENT, + [Description("The payment terms or payment terms template is due on fulfillment.")] + FULFILLMENT, /// ///The type of the payment terms or payment terms template is unknown. /// - [Description("The type of the payment terms or payment terms template is unknown.")] - UNKNOWN, - } - - public static class PaymentTermsTypeStringValues - { - public const string RECEIPT = @"RECEIPT"; - public const string NET = @"NET"; - public const string FIXED = @"FIXED"; - public const string FULFILLMENT = @"FULFILLMENT"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("The type of the payment terms or payment terms template is unknown.")] + UNKNOWN, + } + + public static class PaymentTermsTypeStringValues + { + public const string RECEIPT = @"RECEIPT"; + public const string NET = @"NET"; + public const string FIXED = @"FIXED"; + public const string FULFILLMENT = @"FULFILLMENT"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///The input fields used to update the payment terms. /// - [Description("The input fields used to update the payment terms.")] - public class PaymentTermsUpdateInput : GraphQLObject - { + [Description("The input fields used to update the payment terms.")] + public class PaymentTermsUpdateInput : GraphQLObject + { /// ///The ID of the payment terms being updated. /// - [Description("The ID of the payment terms being updated.")] - [NonNull] - public string? paymentTermsId { get; set; } - + [Description("The ID of the payment terms being updated.")] + [NonNull] + public string? paymentTermsId { get; set; } + /// ///The attributes used to update the payment terms. /// - [Description("The attributes used to update the payment terms.")] - [NonNull] - public PaymentTermsInput? paymentTermsAttributes { get; set; } - } - + [Description("The attributes used to update the payment terms.")] + [NonNull] + public PaymentTermsInput? paymentTermsAttributes { get; set; } + } + /// ///Return type for `paymentTermsUpdate` mutation. /// - [Description("Return type for `paymentTermsUpdate` mutation.")] - public class PaymentTermsUpdatePayload : GraphQLObject - { + [Description("Return type for `paymentTermsUpdate` mutation.")] + public class PaymentTermsUpdatePayload : GraphQLObject + { /// ///The updated payment terms. /// - [Description("The updated payment terms.")] - public PaymentTerms? paymentTerms { get; set; } - + [Description("The updated payment terms.")] + public PaymentTerms? paymentTerms { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PaymentTermsUpdate`. /// - [Description("An error that occurs during the execution of `PaymentTermsUpdate`.")] - public class PaymentTermsUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PaymentTermsUpdate`.")] + public class PaymentTermsUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PaymentTermsUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PaymentTermsUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PaymentTermsUpdateUserError`. /// - [Description("Possible error codes that can be returned by `PaymentTermsUpdateUserError`.")] - public enum PaymentTermsUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `PaymentTermsUpdateUserError`.")] + public enum PaymentTermsUpdateUserErrorCode + { /// ///An error occurred while updating payment terms. /// - [Description("An error occurred while updating payment terms.")] - PAYMENT_TERMS_UPDATE_UNSUCCESSFUL, - } - - public static class PaymentTermsUpdateUserErrorCodeStringValues - { - public const string PAYMENT_TERMS_UPDATE_UNSUCCESSFUL = @"PAYMENT_TERMS_UPDATE_UNSUCCESSFUL"; - } - + [Description("An error occurred while updating payment terms.")] + PAYMENT_TERMS_UPDATE_UNSUCCESSFUL, + } + + public static class PaymentTermsUpdateUserErrorCodeStringValues + { + public const string PAYMENT_TERMS_UPDATE_UNSUCCESSFUL = @"PAYMENT_TERMS_UPDATE_UNSUCCESSFUL"; + } + /// ///The set of valid sort keys for the Payout query. /// - [Description("The set of valid sort keys for the Payout query.")] - public enum PayoutSortKeys - { + [Description("The set of valid sort keys for the Payout query.")] + public enum PayoutSortKeys + { /// ///Sort by the `adjustment_gross` value. /// - [Description("Sort by the `adjustment_gross` value.")] - ADJUSTMENT_GROSS, + [Description("Sort by the `adjustment_gross` value.")] + ADJUSTMENT_GROSS, /// ///Sort by the `advance_gross` value. /// - [Description("Sort by the `advance_gross` value.")] - ADVANCE_GROSS, + [Description("Sort by the `advance_gross` value.")] + ADVANCE_GROSS, /// ///Sort by the `amount` value. /// - [Description("Sort by the `amount` value.")] - AMOUNT, + [Description("Sort by the `amount` value.")] + AMOUNT, /// ///Sort by the `charge_gross` value. /// - [Description("Sort by the `charge_gross` value.")] - CHARGE_GROSS, + [Description("Sort by the `charge_gross` value.")] + CHARGE_GROSS, /// ///Sort by the `duties_gross` value. /// - [Description("Sort by the `duties_gross` value.")] - DUTIES_GROSS, + [Description("Sort by the `duties_gross` value.")] + DUTIES_GROSS, /// ///Sort by the `fee_amount` value. /// - [Description("Sort by the `fee_amount` value.")] - FEE_AMOUNT, + [Description("Sort by the `fee_amount` value.")] + FEE_AMOUNT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `issued_at` value. /// - [Description("Sort by the `issued_at` value.")] - ISSUED_AT, + [Description("Sort by the `issued_at` value.")] + ISSUED_AT, /// ///Sort by the `refund_gross` value. /// - [Description("Sort by the `refund_gross` value.")] - REFUND_GROSS, + [Description("Sort by the `refund_gross` value.")] + REFUND_GROSS, /// ///Sort by the `shipping_label_gross` value. /// - [Description("Sort by the `shipping_label_gross` value.")] - SHIPPING_LABEL_GROSS, + [Description("Sort by the `shipping_label_gross` value.")] + SHIPPING_LABEL_GROSS, /// ///Sort by the `status` value. /// - [Description("Sort by the `status` value.")] - STATUS, - } - - public static class PayoutSortKeysStringValues - { - public const string ADJUSTMENT_GROSS = @"ADJUSTMENT_GROSS"; - public const string ADVANCE_GROSS = @"ADVANCE_GROSS"; - public const string AMOUNT = @"AMOUNT"; - public const string CHARGE_GROSS = @"CHARGE_GROSS"; - public const string DUTIES_GROSS = @"DUTIES_GROSS"; - public const string FEE_AMOUNT = @"FEE_AMOUNT"; - public const string ID = @"ID"; - public const string ISSUED_AT = @"ISSUED_AT"; - public const string REFUND_GROSS = @"REFUND_GROSS"; - public const string SHIPPING_LABEL_GROSS = @"SHIPPING_LABEL_GROSS"; - public const string STATUS = @"STATUS"; - } - + [Description("Sort by the `status` value.")] + STATUS, + } + + public static class PayoutSortKeysStringValues + { + public const string ADJUSTMENT_GROSS = @"ADJUSTMENT_GROSS"; + public const string ADVANCE_GROSS = @"ADVANCE_GROSS"; + public const string AMOUNT = @"AMOUNT"; + public const string CHARGE_GROSS = @"CHARGE_GROSS"; + public const string DUTIES_GROSS = @"DUTIES_GROSS"; + public const string FEE_AMOUNT = @"FEE_AMOUNT"; + public const string ID = @"ID"; + public const string ISSUED_AT = @"ISSUED_AT"; + public const string REFUND_GROSS = @"REFUND_GROSS"; + public const string SHIPPING_LABEL_GROSS = @"SHIPPING_LABEL_GROSS"; + public const string STATUS = @"STATUS"; + } + /// ///Represents a valid PayPal Express subscriptions gateway status. /// - [Description("Represents a valid PayPal Express subscriptions gateway status.")] - public enum PaypalExpressSubscriptionsGatewayStatus - { + [Description("Represents a valid PayPal Express subscriptions gateway status.")] + public enum PaypalExpressSubscriptionsGatewayStatus + { /// ///The status is enabled. /// - [Description("The status is enabled.")] - ENABLED, + [Description("The status is enabled.")] + ENABLED, /// ///The status is disabled. /// - [Description("The status is disabled.")] - DISABLED, + [Description("The status is disabled.")] + DISABLED, /// ///The status is pending. /// - [Description("The status is pending.")] - PENDING, - } - - public static class PaypalExpressSubscriptionsGatewayStatusStringValues - { - public const string ENABLED = @"ENABLED"; - public const string DISABLED = @"DISABLED"; - public const string PENDING = @"PENDING"; - } - + [Description("The status is pending.")] + PENDING, + } + + public static class PaypalExpressSubscriptionsGatewayStatusStringValues + { + public const string ENABLED = @"ENABLED"; + public const string DISABLED = @"DISABLED"; + public const string PENDING = @"PENDING"; + } + /// ///PayPal Wallet payment details related to a transaction. /// - [Description("PayPal Wallet payment details related to a transaction.")] - public class PaypalWalletPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails - { + [Description("PayPal Wallet payment details related to a transaction.")] + public class PaypalWalletPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails + { /// ///The name of payment method used by the buyer. /// - [Description("The name of payment method used by the buyer.")] - public string? paymentMethodName { get; set; } - } - + [Description("The name of payment method used by the buyer.")] + public string? paymentMethodName { get; set; } + } + /// ///Performance aggregation level of RUM (Real User Monitoring) reports. /// - [Description("Performance aggregation level of RUM (Real User Monitoring) reports.")] - public enum PerformanceAggregationLevel - { + [Description("Performance aggregation level of RUM (Real User Monitoring) reports.")] + public enum PerformanceAggregationLevel + { /// ///Aggregates metrics on a daily basis. /// - [Description("Aggregates metrics on a daily basis.")] - DAILY, + [Description("Aggregates metrics on a daily basis.")] + DAILY, /// ///Aggregates metrics on a monthly basis. /// - [Description("Aggregates metrics on a monthly basis.")] - MONTHLY, + [Description("Aggregates metrics on a monthly basis.")] + MONTHLY, /// ///Aggregates metrics for the rolling last 28 days. /// - [Description("Aggregates metrics for the rolling last 28 days.")] - ROLLING28DAYS, + [Description("Aggregates metrics for the rolling last 28 days.")] + ROLLING28DAYS, /// ///Aggregates metrics on a weekly basis. /// - [Description("Aggregates metrics on a weekly basis.")] - WEEKLY, - } - - public static class PerformanceAggregationLevelStringValues - { - public const string DAILY = @"DAILY"; - public const string MONTHLY = @"MONTHLY"; - public const string ROLLING28DAYS = @"ROLLING28DAYS"; - public const string WEEKLY = @"WEEKLY"; - } - + [Description("Aggregates metrics on a weekly basis.")] + WEEKLY, + } + + public static class PerformanceAggregationLevelStringValues + { + public const string DAILY = @"DAILY"; + public const string MONTHLY = @"MONTHLY"; + public const string ROLLING28DAYS = @"ROLLING28DAYS"; + public const string WEEKLY = @"WEEKLY"; + } + /// ///Specifies the device type for RUM (Real User Monitoring) reports. /// - [Description("Specifies the device type for RUM (Real User Monitoring) reports.")] - public enum PerformanceDeviceType - { + [Description("Specifies the device type for RUM (Real User Monitoring) reports.")] + public enum PerformanceDeviceType + { /// ///Includes both desktop and mobile devices. /// - [Description("Includes both desktop and mobile devices.")] - ALL, + [Description("Includes both desktop and mobile devices.")] + ALL, /// ///Refers to desktop devices only. /// - [Description("Refers to desktop devices only.")] - DESKTOP, + [Description("Refers to desktop devices only.")] + DESKTOP, /// ///Refers to mobile devices only. /// - [Description("Refers to mobile devices only.")] - MOBILE, - } - - public static class PerformanceDeviceTypeStringValues - { - public const string ALL = @"ALL"; - public const string DESKTOP = @"DESKTOP"; - public const string MOBILE = @"MOBILE"; - } - + [Description("Refers to mobile devices only.")] + MOBILE, + } + + public static class PerformanceDeviceTypeStringValues + { + public const string ALL = @"ALL"; + public const string DESKTOP = @"DESKTOP"; + public const string MOBILE = @"MOBILE"; + } + /// ///Represents an event that impacts storefront performance, measured via Real User Monitoring (RUM). /// - [Description("Represents an event that impacts storefront performance, measured via Real User Monitoring (RUM).")] - public class PerformanceEvent : GraphQLObject - { + [Description("Represents an event that impacts storefront performance, measured via Real User Monitoring (RUM).")] + public class PerformanceEvent : GraphQLObject + { /// ///Additional metadata about the performance event. /// - [Description("Additional metadata about the performance event.")] - [NonNull] - public string? metadata { get; set; } - + [Description("Additional metadata about the performance event.")] + [NonNull] + public string? metadata { get; set; } + /// ///The date and time when the performance event occurred. /// - [Description("The date and time when the performance event occurred.")] - [NonNull] - public DateTime? occurrence { get; set; } - + [Description("The date and time when the performance event occurred.")] + [NonNull] + public DateTime? occurrence { get; set; } + /// ///Identifies the type of the performance event. /// - [Description("Identifies the type of the performance event.")] - [NonNull] - [EnumType(typeof(PerformanceEventType))] - public string? type { get; set; } - } - + [Description("Identifies the type of the performance event.")] + [NonNull] + [EnumType(typeof(PerformanceEventType))] + public string? type { get; set; } + } + /// ///Identifies the type of event that impacts the performance of the storefront. /// - [Description("Identifies the type of event that impacts the performance of the storefront.")] - public enum PerformanceEventType - { + [Description("Identifies the type of event that impacts the performance of the storefront.")] + public enum PerformanceEventType + { /// ///Indicates that an app has been installed. /// - [Description("Indicates that an app has been installed.")] - APP_INSTALL, + [Description("Indicates that an app has been installed.")] + APP_INSTALL, /// ///Indicates that an app has been uninstalled. /// - [Description("Indicates that an app has been uninstalled.")] - APP_UNINSTALL, + [Description("Indicates that an app has been uninstalled.")] + APP_UNINSTALL, /// ///Indicates that a file in the live theme has been edited. /// - [Description("Indicates that a file in the live theme has been edited.")] - THEME_LIVE_EDIT, + [Description("Indicates that a file in the live theme has been edited.")] + THEME_LIVE_EDIT, /// ///Indicates that a new theme has been published. /// - [Description("Indicates that a new theme has been published.")] - THEME_PUBLICATION, - } - - public static class PerformanceEventTypeStringValues - { - public const string APP_INSTALL = @"APP_INSTALL"; - public const string APP_UNINSTALL = @"APP_UNINSTALL"; - public const string THEME_LIVE_EDIT = @"THEME_LIVE_EDIT"; - public const string THEME_PUBLICATION = @"THEME_PUBLICATION"; - } - + [Description("Indicates that a new theme has been published.")] + THEME_PUBLICATION, + } + + public static class PerformanceEventTypeStringValues + { + public const string APP_INSTALL = @"APP_INSTALL"; + public const string APP_UNINSTALL = @"APP_UNINSTALL"; + public const string THEME_LIVE_EDIT = @"THEME_LIVE_EDIT"; + public const string THEME_PUBLICATION = @"THEME_PUBLICATION"; + } + /// ///RUM (Real User Monitoring) performance metrics for a shop. /// - [Description("RUM (Real User Monitoring) performance metrics for a shop.")] - public class PerformanceMetrics : GraphQLObject - { + [Description("RUM (Real User Monitoring) performance metrics for a shop.")] + public class PerformanceMetrics : GraphQLObject + { /// ///Specifies the device type for which the RUM (Real User Monitoring) data is provided. /// - [Description("Specifies the device type for which the RUM (Real User Monitoring) data is provided.")] - [NonNull] - [EnumType(typeof(PerformanceDeviceType))] - public string? deviceType { get; set; } - + [Description("Specifies the device type for which the RUM (Real User Monitoring) data is provided.")] + [NonNull] + [EnumType(typeof(PerformanceDeviceType))] + public string? deviceType { get; set; } + /// ///JSON blob with RUM (Real User Monitoring) data for a shop. /// - [Description("JSON blob with RUM (Real User Monitoring) data for a shop.")] - [NonNull] - public IEnumerable? metrics { get; set; } - } - + [Description("JSON blob with RUM (Real User Monitoring) data for a shop.")] + [NonNull] + public IEnumerable? metrics { get; set; } + } + /// ///A location for in-store pickup. /// - [Description("A location for in-store pickup.")] - public class PickupInStoreLocation : GraphQLObject - { + [Description("A location for in-store pickup.")] + public class PickupInStoreLocation : GraphQLObject + { /// ///The code of the pickup location. /// - [Description("The code of the pickup location.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the pickup location.")] + [NonNull] + public string? code { get; set; } + /// ///Distance from the buyer to the pickup location. /// - [Description("Distance from the buyer to the pickup location.")] - public Distance? distanceFromBuyer { get; set; } - + [Description("Distance from the buyer to the pickup location.")] + public Distance? distanceFromBuyer { get; set; } + /// ///A unique identifier for this pickup location. /// - [Description("A unique identifier for this pickup location.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique identifier for this pickup location.")] + [NonNull] + public string? handle { get; set; } + /// ///Pickup instructions. /// - [Description("Pickup instructions.")] - [NonNull] - public string? instructions { get; set; } - + [Description("Pickup instructions.")] + [NonNull] + public string? instructions { get; set; } + /// ///The location ID of the pickup location. /// - [Description("The location ID of the pickup location.")] - [NonNull] - public string? locationId { get; set; } - + [Description("The location ID of the pickup location.")] + [NonNull] + public string? locationId { get; set; } + /// ///The source of the pickup location. /// - [Description("The source of the pickup location.")] - [NonNull] - public string? source { get; set; } - + [Description("The source of the pickup location.")] + [NonNull] + public string? source { get; set; } + /// ///Title of the pickup location. /// - [Description("Title of the pickup location.")] - [NonNull] - public string? title { get; set; } - } - + [Description("Title of the pickup location.")] + [NonNull] + public string? title { get; set; } + } + /// ///Represents a mobile device that Shopify Point of Sale has been installed on. /// - [Description("Represents a mobile device that Shopify Point of Sale has been installed on.")] - public class PointOfSaleDevice : GraphQLObject, INode - { + [Description("Represents a mobile device that Shopify Point of Sale has been installed on.")] + public class PointOfSaleDevice : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///The input fields used to include the line items of a specified fulfillment order that should be marked as prepared for pickup by a customer. /// - [Description("The input fields used to include the line items of a specified fulfillment order that should be marked as prepared for pickup by a customer.")] - public class PreparedFulfillmentOrderLineItemsInput : GraphQLObject - { + [Description("The input fields used to include the line items of a specified fulfillment order that should be marked as prepared for pickup by a customer.")] + public class PreparedFulfillmentOrderLineItemsInput : GraphQLObject + { /// ///The ID of the fulfillment order. /// - [Description("The ID of the fulfillment order.")] - [NonNull] - public string? fulfillmentOrderId { get; set; } - } - + [Description("The ID of the fulfillment order.")] + [NonNull] + public string? fulfillmentOrderId { get; set; } + } + /// ///How to calculate the parent product variant's price while bulk updating variant relationships. /// - [Description("How to calculate the parent product variant's price while bulk updating variant relationships.")] - public enum PriceCalculationType - { + [Description("How to calculate the parent product variant's price while bulk updating variant relationships.")] + public enum PriceCalculationType + { /// ///The price of the parent will be the sum of the components price times their quantity. /// - [Description("The price of the parent will be the sum of the components price times their quantity.")] - COMPONENTS_SUM, + [Description("The price of the parent will be the sum of the components price times their quantity.")] + COMPONENTS_SUM, /// ///The price of the parent will be set to the price provided. /// - [Description("The price of the parent will be set to the price provided.")] - FIXED, + [Description("The price of the parent will be set to the price provided.")] + FIXED, /// ///The price of the parent will not be adjusted. /// - [Description("The price of the parent will not be adjusted.")] - NONE, - } - - public static class PriceCalculationTypeStringValues - { - public const string COMPONENTS_SUM = @"COMPONENTS_SUM"; - public const string FIXED = @"FIXED"; - public const string NONE = @"NONE"; - } - + [Description("The price of the parent will not be adjusted.")] + NONE, + } + + public static class PriceCalculationTypeStringValues + { + public const string COMPONENTS_SUM = @"COMPONENTS_SUM"; + public const string FIXED = @"FIXED"; + public const string NONE = @"NONE"; + } + /// ///The input fields for updating the price of a parent product variant. /// - [Description("The input fields for updating the price of a parent product variant.")] - public class PriceInput : GraphQLObject - { + [Description("The input fields for updating the price of a parent product variant.")] + public class PriceInput : GraphQLObject + { /// ///The specific type of calculation done to determine the price of the parent variant. ///The price is calculated during Bundle creation. Updating a component variant won't recalculate the price. /// - [Description("The specific type of calculation done to determine the price of the parent variant.\nThe price is calculated during Bundle creation. Updating a component variant won't recalculate the price.")] - [EnumType(typeof(PriceCalculationType))] - public string? calculation { get; set; } - + [Description("The specific type of calculation done to determine the price of the parent variant.\nThe price is calculated during Bundle creation. Updating a component variant won't recalculate the price.")] + [EnumType(typeof(PriceCalculationType))] + public string? calculation { get; set; } + /// ///The price of the parent product variant. This will be be used if calcualtion is set to 'FIXED'. /// - [Description("The price of the parent product variant. This will be be used if calcualtion is set to 'FIXED'.")] - public decimal? price { get; set; } - } - + [Description("The price of the parent product variant. This will be be used if calcualtion is set to 'FIXED'.")] + public decimal? price { get; set; } + } + /// ///Represents a price list, including information about related prices and eligibility rules. ///You can use price lists to specify either fixed prices or adjusted relative prices that @@ -88957,520 +88957,520 @@ public class PriceInput : GraphQLObject /// For more information on price lists, refer to /// [Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists). /// - [Description("Represents a price list, including information about related prices and eligibility rules.\nYou can use price lists to specify either fixed prices or adjusted relative prices that\noverride initial product variant prices. Price lists are applied to customers\nusing context rules, which determine price list eligibility.\n\n For more information on price lists, refer to\n [Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists).")] - public class PriceList : GraphQLObject, INode - { + [Description("Represents a price list, including information about related prices and eligibility rules.\nYou can use price lists to specify either fixed prices or adjusted relative prices that\noverride initial product variant prices. Price lists are applied to customers\nusing context rules, which determine price list eligibility.\n\n For more information on price lists, refer to\n [Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists).")] + public class PriceList : GraphQLObject, INode + { /// ///The catalog that the price list is associated with. /// - [Description("The catalog that the price list is associated with.")] - public ICatalog? catalog { get; set; } - + [Description("The catalog that the price list is associated with.")] + public ICatalog? catalog { get; set; } + /// ///The currency for fixed prices associated with this price list. /// - [Description("The currency for fixed prices associated with this price list.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The currency for fixed prices associated with this price list.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///The number of fixed prices on the price list. /// - [Description("The number of fixed prices on the price list.")] - [NonNull] - public int? fixedPricesCount { get; set; } - + [Description("The number of fixed prices on the price list.")] + [NonNull] + public int? fixedPricesCount { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The unique name of the price list, used as a human-readable identifier. /// - [Description("The unique name of the price list, used as a human-readable identifier.")] - [NonNull] - public string? name { get; set; } - + [Description("The unique name of the price list, used as a human-readable identifier.")] + [NonNull] + public string? name { get; set; } + /// ///Relative adjustments to other prices. /// - [Description("Relative adjustments to other prices.")] - public PriceListParent? parent { get; set; } - + [Description("Relative adjustments to other prices.")] + public PriceListParent? parent { get; set; } + /// ///A list of prices associated with the price list. /// - [Description("A list of prices associated with the price list.")] - [NonNull] - public PriceListPriceConnection? prices { get; set; } - + [Description("A list of prices associated with the price list.")] + [NonNull] + public PriceListPriceConnection? prices { get; set; } + /// ///A list of quantity rules associated with the price list, ordered by product variants. /// - [Description("A list of quantity rules associated with the price list, ordered by product variants.")] - [NonNull] - public QuantityRuleConnection? quantityRules { get; set; } - } - + [Description("A list of quantity rules associated with the price list, ordered by product variants.")] + [NonNull] + public QuantityRuleConnection? quantityRules { get; set; } + } + /// ///The type and value of a price list adjustment. /// ///For more information on price lists, refer to ///[Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists). /// - [Description("The type and value of a price list adjustment.\n\nFor more information on price lists, refer to\n[Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists).")] - public class PriceListAdjustment : GraphQLObject - { + [Description("The type and value of a price list adjustment.\n\nFor more information on price lists, refer to\n[Support different pricing models](https://shopify.dev/apps/internationalization/product-price-lists).")] + public class PriceListAdjustment : GraphQLObject + { /// ///The type of price adjustment, such as percentage increase or decrease. /// - [Description("The type of price adjustment, such as percentage increase or decrease.")] - [NonNull] - [EnumType(typeof(PriceListAdjustmentType))] - public string? type { get; set; } - + [Description("The type of price adjustment, such as percentage increase or decrease.")] + [NonNull] + [EnumType(typeof(PriceListAdjustmentType))] + public string? type { get; set; } + /// ///The value of price adjustment, where positive numbers reduce the prices and negative numbers ///increase them. /// - [Description("The value of price adjustment, where positive numbers reduce the prices and negative numbers\nincrease them.")] - [NonNull] - public decimal? value { get; set; } - } - + [Description("The value of price adjustment, where positive numbers reduce the prices and negative numbers\nincrease them.")] + [NonNull] + public decimal? value { get; set; } + } + /// ///The input fields to set a price list adjustment. /// - [Description("The input fields to set a price list adjustment.")] - public class PriceListAdjustmentInput : GraphQLObject - { + [Description("The input fields to set a price list adjustment.")] + public class PriceListAdjustmentInput : GraphQLObject + { /// ///The value of the price adjustment as specified by the `type`. /// - [Description("The value of the price adjustment as specified by the `type`.")] - [NonNull] - public decimal? value { get; set; } - + [Description("The value of the price adjustment as specified by the `type`.")] + [NonNull] + public decimal? value { get; set; } + /// ///The type of price adjustment, such as percentage increase or decrease. /// - [Description("The type of price adjustment, such as percentage increase or decrease.")] - [NonNull] - [EnumType(typeof(PriceListAdjustmentType))] - public string? type { get; set; } - } - + [Description("The type of price adjustment, such as percentage increase or decrease.")] + [NonNull] + [EnumType(typeof(PriceListAdjustmentType))] + public string? type { get; set; } + } + /// ///Represents the settings of price list adjustments. /// - [Description("Represents the settings of price list adjustments.")] - public class PriceListAdjustmentSettings : GraphQLObject - { + [Description("Represents the settings of price list adjustments.")] + public class PriceListAdjustmentSettings : GraphQLObject + { /// ///The type of price list adjustment setting for compare at price. /// - [Description("The type of price list adjustment setting for compare at price.")] - [NonNull] - [EnumType(typeof(PriceListCompareAtMode))] - public string? compareAtMode { get; set; } - } - + [Description("The type of price list adjustment setting for compare at price.")] + [NonNull] + [EnumType(typeof(PriceListCompareAtMode))] + public string? compareAtMode { get; set; } + } + /// ///The input fields to set a price list's adjustment settings. /// - [Description("The input fields to set a price list's adjustment settings.")] - public class PriceListAdjustmentSettingsInput : GraphQLObject - { + [Description("The input fields to set a price list's adjustment settings.")] + public class PriceListAdjustmentSettingsInput : GraphQLObject + { /// ///Determines how adjustments are applied to compare at prices. /// - [Description("Determines how adjustments are applied to compare at prices.")] - [NonNull] - [EnumType(typeof(PriceListCompareAtMode))] - public string? compareAtMode { get; set; } - } - + [Description("Determines how adjustments are applied to compare at prices.")] + [NonNull] + [EnumType(typeof(PriceListCompareAtMode))] + public string? compareAtMode { get; set; } + } + /// ///Represents a percentage price adjustment type. /// - [Description("Represents a percentage price adjustment type.")] - public enum PriceListAdjustmentType - { + [Description("Represents a percentage price adjustment type.")] + public enum PriceListAdjustmentType + { /// ///Percentage decrease type. Prices will have a lower value. /// - [Description("Percentage decrease type. Prices will have a lower value.")] - PERCENTAGE_DECREASE, + [Description("Percentage decrease type. Prices will have a lower value.")] + PERCENTAGE_DECREASE, /// ///Percentage increase type. Prices will have a higher value. /// - [Description("Percentage increase type. Prices will have a higher value.")] - PERCENTAGE_INCREASE, - } - - public static class PriceListAdjustmentTypeStringValues - { - public const string PERCENTAGE_DECREASE = @"PERCENTAGE_DECREASE"; - public const string PERCENTAGE_INCREASE = @"PERCENTAGE_INCREASE"; - } - + [Description("Percentage increase type. Prices will have a higher value.")] + PERCENTAGE_INCREASE, + } + + public static class PriceListAdjustmentTypeStringValues + { + public const string PERCENTAGE_DECREASE = @"PERCENTAGE_DECREASE"; + public const string PERCENTAGE_INCREASE = @"PERCENTAGE_INCREASE"; + } + /// ///Represents how the compare at price will be determined for a price list. /// - [Description("Represents how the compare at price will be determined for a price list.")] - public enum PriceListCompareAtMode - { + [Description("Represents how the compare at price will be determined for a price list.")] + public enum PriceListCompareAtMode + { /// ///The compare at price is adjusted based on percentage specified in price list. /// - [Description("The compare at price is adjusted based on percentage specified in price list.")] - ADJUSTED, + [Description("The compare at price is adjusted based on percentage specified in price list.")] + ADJUSTED, /// ///The compare at prices are set to `null` unless explicitly defined by a fixed price value. /// - [Description("The compare at prices are set to `null` unless explicitly defined by a fixed price value.")] - NULLIFY, - } - - public static class PriceListCompareAtModeStringValues - { - public const string ADJUSTED = @"ADJUSTED"; - public const string NULLIFY = @"NULLIFY"; - } - + [Description("The compare at prices are set to `null` unless explicitly defined by a fixed price value.")] + NULLIFY, + } + + public static class PriceListCompareAtModeStringValues + { + public const string ADJUSTED = @"ADJUSTED"; + public const string NULLIFY = @"NULLIFY"; + } + /// ///An auto-generated type for paginating through multiple PriceLists. /// - [Description("An auto-generated type for paginating through multiple PriceLists.")] - public class PriceListConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple PriceLists.")] + public class PriceListConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PriceListEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PriceListEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PriceListEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to create a price list. /// - [Description("The input fields to create a price list.")] - public class PriceListCreateInput : GraphQLObject - { + [Description("The input fields to create a price list.")] + public class PriceListCreateInput : GraphQLObject + { /// ///The unique name of the price list, used as a human-readable identifier. /// - [Description("The unique name of the price list, used as a human-readable identifier.")] - [NonNull] - public string? name { get; set; } - + [Description("The unique name of the price list, used as a human-readable identifier.")] + [NonNull] + public string? name { get; set; } + /// ///Three letter currency code for fixed prices associated with this price list. /// - [Description("Three letter currency code for fixed prices associated with this price list.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("Three letter currency code for fixed prices associated with this price list.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///Relative adjustments to other prices. /// - [Description("Relative adjustments to other prices.")] - [NonNull] - public PriceListParentCreateInput? parent { get; set; } - + [Description("Relative adjustments to other prices.")] + [NonNull] + public PriceListParentCreateInput? parent { get; set; } + /// ///The ID of the catalog to associate with this price list.If the catalog was already associated with another price list then it will be unlinked. /// - [Description("The ID of the catalog to associate with this price list.If the catalog was already associated with another price list then it will be unlinked.")] - public string? catalogId { get; set; } - } - + [Description("The ID of the catalog to associate with this price list.If the catalog was already associated with another price list then it will be unlinked.")] + public string? catalogId { get; set; } + } + /// ///Return type for `priceListCreate` mutation. /// - [Description("Return type for `priceListCreate` mutation.")] - public class PriceListCreatePayload : GraphQLObject - { + [Description("Return type for `priceListCreate` mutation.")] + public class PriceListCreatePayload : GraphQLObject + { /// ///The newly created price list. /// - [Description("The newly created price list.")] - public PriceList? priceList { get; set; } - + [Description("The newly created price list.")] + public PriceList? priceList { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `priceListDelete` mutation. /// - [Description("Return type for `priceListDelete` mutation.")] - public class PriceListDeletePayload : GraphQLObject - { + [Description("Return type for `priceListDelete` mutation.")] + public class PriceListDeletePayload : GraphQLObject + { /// ///The ID of the deleted price list. /// - [Description("The ID of the deleted price list.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted price list.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one PriceList and a cursor during pagination. /// - [Description("An auto-generated type which holds one PriceList and a cursor during pagination.")] - public class PriceListEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one PriceList and a cursor during pagination.")] + public class PriceListEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PriceListEdge. /// - [Description("The item at the end of PriceListEdge.")] - [NonNull] - public PriceList? node { get; set; } - } - + [Description("The item at the end of PriceListEdge.")] + [NonNull] + public PriceList? node { get; set; } + } + /// ///Return type for `priceListFixedPricesAdd` mutation. /// - [Description("Return type for `priceListFixedPricesAdd` mutation.")] - public class PriceListFixedPricesAddPayload : GraphQLObject - { + [Description("Return type for `priceListFixedPricesAdd` mutation.")] + public class PriceListFixedPricesAddPayload : GraphQLObject + { /// ///The list of fixed prices that were added to or updated in the price list. /// - [Description("The list of fixed prices that were added to or updated in the price list.")] - public IEnumerable? prices { get; set; } - + [Description("The list of fixed prices that were added to or updated in the price list.")] + public IEnumerable? prices { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `priceListFixedPricesByProductBulkUpdate` mutation. /// - [Description("Return type for `priceListFixedPricesByProductBulkUpdate` mutation.")] - public class PriceListFixedPricesByProductBulkUpdatePayload : GraphQLObject - { + [Description("Return type for `priceListFixedPricesByProductBulkUpdate` mutation.")] + public class PriceListFixedPricesByProductBulkUpdatePayload : GraphQLObject + { /// ///The asynchronous job that will perform the bulk update. /// - [Description("The asynchronous job that will perform the bulk update.")] - public Job? job { get; set; } - + [Description("The asynchronous job that will perform the bulk update.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed price list fixed prices by product bulk update operations. /// - [Description("Error codes for failed price list fixed prices by product bulk update operations.")] - public class PriceListFixedPricesByProductBulkUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed price list fixed prices by product bulk update operations.")] + public class PriceListFixedPricesByProductBulkUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PriceListFixedPricesByProductBulkUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PriceListFixedPricesByProductBulkUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PriceListFixedPricesByProductBulkUpdateUserError`. /// - [Description("Possible error codes that can be returned by `PriceListFixedPricesByProductBulkUpdateUserError`.")] - public enum PriceListFixedPricesByProductBulkUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `PriceListFixedPricesByProductBulkUpdateUserError`.")] + public enum PriceListFixedPricesByProductBulkUpdateUserErrorCode + { /// ///No update operations specified. /// - [Description("No update operations specified.")] - NO_UPDATE_OPERATIONS_SPECIFIED, + [Description("No update operations specified.")] + NO_UPDATE_OPERATIONS_SPECIFIED, /// ///The currency specified does not match the price list's currency. /// - [Description("The currency specified does not match the price list's currency.")] - PRICES_TO_ADD_CURRENCY_MISMATCH, + [Description("The currency specified does not match the price list's currency.")] + PRICES_TO_ADD_CURRENCY_MISMATCH, /// ///Price list does not exist. /// - [Description("Price list does not exist.")] - PRICE_LIST_DOES_NOT_EXIST, + [Description("Price list does not exist.")] + PRICE_LIST_DOES_NOT_EXIST, /// ///Duplicate ID in input. /// - [Description("Duplicate ID in input.")] - DUPLICATE_ID_IN_INPUT, + [Description("Duplicate ID in input.")] + DUPLICATE_ID_IN_INPUT, /// ///IDs must be mutually exclusive across add or delete operations. /// - [Description("IDs must be mutually exclusive across add or delete operations.")] - ID_MUST_BE_MUTUALLY_EXCLUSIVE, + [Description("IDs must be mutually exclusive across add or delete operations.")] + ID_MUST_BE_MUTUALLY_EXCLUSIVE, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Exceeded the 10000 prices to add limit. /// - [Description("Exceeded the 10000 prices to add limit.")] - PRICE_LIMIT_EXCEEDED, - } - - public static class PriceListFixedPricesByProductBulkUpdateUserErrorCodeStringValues - { - public const string NO_UPDATE_OPERATIONS_SPECIFIED = @"NO_UPDATE_OPERATIONS_SPECIFIED"; - public const string PRICES_TO_ADD_CURRENCY_MISMATCH = @"PRICES_TO_ADD_CURRENCY_MISMATCH"; - public const string PRICE_LIST_DOES_NOT_EXIST = @"PRICE_LIST_DOES_NOT_EXIST"; - public const string DUPLICATE_ID_IN_INPUT = @"DUPLICATE_ID_IN_INPUT"; - public const string ID_MUST_BE_MUTUALLY_EXCLUSIVE = @"ID_MUST_BE_MUTUALLY_EXCLUSIVE"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string PRICE_LIMIT_EXCEEDED = @"PRICE_LIMIT_EXCEEDED"; - } - + [Description("Exceeded the 10000 prices to add limit.")] + PRICE_LIMIT_EXCEEDED, + } + + public static class PriceListFixedPricesByProductBulkUpdateUserErrorCodeStringValues + { + public const string NO_UPDATE_OPERATIONS_SPECIFIED = @"NO_UPDATE_OPERATIONS_SPECIFIED"; + public const string PRICES_TO_ADD_CURRENCY_MISMATCH = @"PRICES_TO_ADD_CURRENCY_MISMATCH"; + public const string PRICE_LIST_DOES_NOT_EXIST = @"PRICE_LIST_DOES_NOT_EXIST"; + public const string DUPLICATE_ID_IN_INPUT = @"DUPLICATE_ID_IN_INPUT"; + public const string ID_MUST_BE_MUTUALLY_EXCLUSIVE = @"ID_MUST_BE_MUTUALLY_EXCLUSIVE"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string PRICE_LIMIT_EXCEEDED = @"PRICE_LIMIT_EXCEEDED"; + } + /// ///Return type for `priceListFixedPricesByProductUpdate` mutation. /// - [Description("Return type for `priceListFixedPricesByProductUpdate` mutation.")] - public class PriceListFixedPricesByProductUpdatePayload : GraphQLObject - { + [Description("Return type for `priceListFixedPricesByProductUpdate` mutation.")] + public class PriceListFixedPricesByProductUpdatePayload : GraphQLObject + { /// ///The price list for which the fixed prices were modified. /// - [Description("The price list for which the fixed prices were modified.")] - public PriceList? priceList { get; set; } - + [Description("The price list for which the fixed prices were modified.")] + public PriceList? priceList { get; set; } + /// ///The product for which the fixed prices were added. /// - [Description("The product for which the fixed prices were added.")] - public IEnumerable? pricesToAddProducts { get; set; } - + [Description("The product for which the fixed prices were added.")] + public IEnumerable? pricesToAddProducts { get; set; } + /// ///The product for which the fixed prices were deleted. /// - [Description("The product for which the fixed prices were deleted.")] - public IEnumerable? pricesToDeleteProducts { get; set; } - + [Description("The product for which the fixed prices were deleted.")] + public IEnumerable? pricesToDeleteProducts { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `priceListFixedPricesDelete` mutation. /// - [Description("Return type for `priceListFixedPricesDelete` mutation.")] - public class PriceListFixedPricesDeletePayload : GraphQLObject - { + [Description("Return type for `priceListFixedPricesDelete` mutation.")] + public class PriceListFixedPricesDeletePayload : GraphQLObject + { /// ///A list of product variant IDs whose fixed prices were removed from the price list. /// - [Description("A list of product variant IDs whose fixed prices were removed from the price list.")] - public IEnumerable? deletedFixedPriceVariantIds { get; set; } - + [Description("A list of product variant IDs whose fixed prices were removed from the price list.")] + public IEnumerable? deletedFixedPriceVariantIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `priceListFixedPricesUpdate` mutation. /// - [Description("Return type for `priceListFixedPricesUpdate` mutation.")] - public class PriceListFixedPricesUpdatePayload : GraphQLObject - { + [Description("Return type for `priceListFixedPricesUpdate` mutation.")] + public class PriceListFixedPricesUpdatePayload : GraphQLObject + { /// ///A list of deleted variant IDs for prices. /// - [Description("A list of deleted variant IDs for prices.")] - public IEnumerable? deletedFixedPriceVariantIds { get; set; } - + [Description("A list of deleted variant IDs for prices.")] + public IEnumerable? deletedFixedPriceVariantIds { get; set; } + /// ///The price list for which the fixed prices were modified. /// - [Description("The price list for which the fixed prices were modified.")] - public PriceList? priceList { get; set; } - + [Description("The price list for which the fixed prices were modified.")] + public PriceList? priceList { get; set; } + /// ///The prices that were added to the price list. /// - [Description("The prices that were added to the price list.")] - public IEnumerable? pricesAdded { get; set; } - + [Description("The prices that were added to the price list.")] + public IEnumerable? pricesAdded { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents relative adjustments from one price list to other prices. /// You can use a `PriceListParent` to specify an adjusted relative price using a percentage-based @@ -89479,3113 +89479,3113 @@ public class PriceListFixedPricesUpdatePayload : GraphQLObject - [Description("Represents relative adjustments from one price list to other prices.\n You can use a `PriceListParent` to specify an adjusted relative price using a percentage-based\n adjustment. Adjusted prices work in conjunction with exchange rules and rounding.\n\n [Adjustment types](https://shopify.dev/api/admin-graphql/latest/enums/pricelistadjustmenttype)\n support both percentage increases and decreases.")] - public class PriceListParent : GraphQLObject - { + [Description("Represents relative adjustments from one price list to other prices.\n You can use a `PriceListParent` to specify an adjusted relative price using a percentage-based\n adjustment. Adjusted prices work in conjunction with exchange rules and rounding.\n\n [Adjustment types](https://shopify.dev/api/admin-graphql/latest/enums/pricelistadjustmenttype)\n support both percentage increases and decreases.")] + public class PriceListParent : GraphQLObject + { /// ///A price list adjustment. /// - [Description("A price list adjustment.")] - [NonNull] - public PriceListAdjustment? adjustment { get; set; } - + [Description("A price list adjustment.")] + [NonNull] + public PriceListAdjustment? adjustment { get; set; } + /// ///A price list's settings for adjustment. /// - [Description("A price list's settings for adjustment.")] - [NonNull] - public PriceListAdjustmentSettings? settings { get; set; } - } - + [Description("A price list's settings for adjustment.")] + [NonNull] + public PriceListAdjustmentSettings? settings { get; set; } + } + /// ///The input fields to create a price list adjustment. /// - [Description("The input fields to create a price list adjustment.")] - public class PriceListParentCreateInput : GraphQLObject - { + [Description("The input fields to create a price list adjustment.")] + public class PriceListParentCreateInput : GraphQLObject + { /// ///The relative adjustments to other prices. /// - [Description("The relative adjustments to other prices.")] - [NonNull] - public PriceListAdjustmentInput? adjustment { get; set; } - + [Description("The relative adjustments to other prices.")] + [NonNull] + public PriceListAdjustmentInput? adjustment { get; set; } + /// ///The price list adjustment settings. /// - [Description("The price list adjustment settings.")] - public PriceListAdjustmentSettingsInput? settings { get; set; } - } - + [Description("The price list adjustment settings.")] + public PriceListAdjustmentSettingsInput? settings { get; set; } + } + /// ///The input fields used to update a price list's adjustment. /// - [Description("The input fields used to update a price list's adjustment.")] - public class PriceListParentUpdateInput : GraphQLObject - { + [Description("The input fields used to update a price list's adjustment.")] + public class PriceListParentUpdateInput : GraphQLObject + { /// ///The relative adjustments to other prices.. /// - [Description("The relative adjustments to other prices..")] - [NonNull] - public PriceListAdjustmentInput? adjustment { get; set; } - + [Description("The relative adjustments to other prices..")] + [NonNull] + public PriceListAdjustmentInput? adjustment { get; set; } + /// ///The price list adjustment settings. /// - [Description("The price list adjustment settings.")] - public PriceListAdjustmentSettingsInput? settings { get; set; } - } - + [Description("The price list adjustment settings.")] + public PriceListAdjustmentSettingsInput? settings { get; set; } + } + /// ///Represents information about pricing for a product variant /// as defined on a price list, such as the price, compare at price, and origin type. You can use a `PriceListPrice` to specify a fixed price for a specific product variant. For examples, refer to [PriceListFixedPricesAdd](https://shopify.dev/api/admin-graphql/latest/mutations/priceListFixedPricesAdd) and [PriceList](https://shopify.dev/api/admin-graphql/latest/queries/priceList#section-examples). /// - [Description("Represents information about pricing for a product variant\n as defined on a price list, such as the price, compare at price, and origin type. You can use a `PriceListPrice` to specify a fixed price for a specific product variant. For examples, refer to [PriceListFixedPricesAdd](https://shopify.dev/api/admin-graphql/latest/mutations/priceListFixedPricesAdd) and [PriceList](https://shopify.dev/api/admin-graphql/latest/queries/priceList#section-examples).")] - public class PriceListPrice : GraphQLObject - { + [Description("Represents information about pricing for a product variant\n as defined on a price list, such as the price, compare at price, and origin type. You can use a `PriceListPrice` to specify a fixed price for a specific product variant. For examples, refer to [PriceListFixedPricesAdd](https://shopify.dev/api/admin-graphql/latest/mutations/priceListFixedPricesAdd) and [PriceList](https://shopify.dev/api/admin-graphql/latest/queries/priceList#section-examples).")] + public class PriceListPrice : GraphQLObject + { /// ///The compare-at price of the product variant on this price list. /// - [Description("The compare-at price of the product variant on this price list.")] - public MoneyV2? compareAtPrice { get; set; } - + [Description("The compare-at price of the product variant on this price list.")] + public MoneyV2? compareAtPrice { get; set; } + /// ///The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). /// - [Description("The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).")] - [NonNull] - [EnumType(typeof(PriceListPriceOriginType))] - public string? originType { get; set; } - + [Description("The origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration).")] + [NonNull] + [EnumType(typeof(PriceListPriceOriginType))] + public string? originType { get; set; } + /// ///The price of the product variant on this price list. /// - [Description("The price of the product variant on this price list.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The price of the product variant on this price list.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///A list of quantity breaks for the product variant. /// - [Description("A list of quantity breaks for the product variant.")] - [NonNull] - public QuantityPriceBreakConnection? quantityPriceBreaks { get; set; } - + [Description("A list of quantity breaks for the product variant.")] + [NonNull] + public QuantityPriceBreakConnection? quantityPriceBreaks { get; set; } + /// ///The product variant associated with this price. /// - [Description("The product variant associated with this price.")] - [NonNull] - public ProductVariant? variant { get; set; } - } - + [Description("The product variant associated with this price.")] + [NonNull] + public ProductVariant? variant { get; set; } + } + /// ///An auto-generated type for paginating through multiple PriceListPrices. /// - [Description("An auto-generated type for paginating through multiple PriceListPrices.")] - public class PriceListPriceConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple PriceListPrices.")] + public class PriceListPriceConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PriceListPriceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PriceListPriceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PriceListPriceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one PriceListPrice and a cursor during pagination. /// - [Description("An auto-generated type which holds one PriceListPrice and a cursor during pagination.")] - public class PriceListPriceEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one PriceListPrice and a cursor during pagination.")] + public class PriceListPriceEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PriceListPriceEdge. /// - [Description("The item at the end of PriceListPriceEdge.")] - [NonNull] - public PriceListPrice? node { get; set; } - } - + [Description("The item at the end of PriceListPriceEdge.")] + [NonNull] + public PriceListPrice? node { get; set; } + } + /// ///The input fields for providing the fields and values to use when creating or updating a fixed price list price. /// - [Description("The input fields for providing the fields and values to use when creating or updating a fixed price list price.")] - public class PriceListPriceInput : GraphQLObject - { + [Description("The input fields for providing the fields and values to use when creating or updating a fixed price list price.")] + public class PriceListPriceInput : GraphQLObject + { /// ///The product variant ID associated with the price list price. /// - [Description("The product variant ID associated with the price list price.")] - [NonNull] - public string? variantId { get; set; } - + [Description("The product variant ID associated with the price list price.")] + [NonNull] + public string? variantId { get; set; } + /// ///The price of the product variant on this price list. /// - [Description("The price of the product variant on this price list.")] - [NonNull] - public MoneyInput? price { get; set; } - + [Description("The price of the product variant on this price list.")] + [NonNull] + public MoneyInput? price { get; set; } + /// ///The compare-at price of the product variant on this price list. /// - [Description("The compare-at price of the product variant on this price list.")] - public MoneyInput? compareAtPrice { get; set; } - } - + [Description("The compare-at price of the product variant on this price list.")] + public MoneyInput? compareAtPrice { get; set; } + } + /// ///Represents the origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). For examples, refer to [PriceList](https://shopify.dev/api/admin-graphql/latest/queries/priceList#section-examples). /// - [Description("Represents the origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). For examples, refer to [PriceList](https://shopify.dev/api/admin-graphql/latest/queries/priceList#section-examples).")] - public enum PriceListPriceOriginType - { + [Description("Represents the origin of a price, either fixed (defined on the price list) or relative (calculated using a price list adjustment configuration). For examples, refer to [PriceList](https://shopify.dev/api/admin-graphql/latest/queries/priceList#section-examples).")] + public enum PriceListPriceOriginType + { /// ///The price is defined on the price list. /// - [Description("The price is defined on the price list.")] - FIXED, + [Description("The price is defined on the price list.")] + FIXED, /// ///The price is relative to the adjustment type and value. /// - [Description("The price is relative to the adjustment type and value.")] - RELATIVE, - } - - public static class PriceListPriceOriginTypeStringValues - { - public const string FIXED = @"FIXED"; - public const string RELATIVE = @"RELATIVE"; - } - + [Description("The price is relative to the adjustment type and value.")] + RELATIVE, + } + + public static class PriceListPriceOriginTypeStringValues + { + public const string FIXED = @"FIXED"; + public const string RELATIVE = @"RELATIVE"; + } + /// ///An error for a failed price list price operation. /// - [Description("An error for a failed price list price operation.")] - public class PriceListPriceUserError : GraphQLObject, IDisplayableError - { + [Description("An error for a failed price list price operation.")] + public class PriceListPriceUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PriceListPriceUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PriceListPriceUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PriceListPriceUserError`. /// - [Description("Possible error codes that can be returned by `PriceListPriceUserError`.")] - public enum PriceListPriceUserErrorCode - { + [Description("Possible error codes that can be returned by `PriceListPriceUserError`.")] + public enum PriceListPriceUserErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The price list doesn't exist. /// - [Description("The price list doesn't exist.")] - PRICE_LIST_NOT_FOUND, + [Description("The price list doesn't exist.")] + PRICE_LIST_NOT_FOUND, /// ///The specified currency doesn't match the price list's currency. /// - [Description("The specified currency doesn't match the price list's currency.")] - PRICE_LIST_CURRENCY_MISMATCH, + [Description("The specified currency doesn't match the price list's currency.")] + PRICE_LIST_CURRENCY_MISMATCH, /// ///A fixed price for the specified product variant doesn't exist. /// - [Description("A fixed price for the specified product variant doesn't exist.")] - VARIANT_NOT_FOUND, + [Description("A fixed price for the specified product variant doesn't exist.")] + VARIANT_NOT_FOUND, /// ///Only fixed prices can be deleted. /// - [Description("Only fixed prices can be deleted.")] - PRICE_NOT_FIXED, - } - - public static class PriceListPriceUserErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; - public const string PRICE_LIST_CURRENCY_MISMATCH = @"PRICE_LIST_CURRENCY_MISMATCH"; - public const string VARIANT_NOT_FOUND = @"VARIANT_NOT_FOUND"; - public const string PRICE_NOT_FIXED = @"PRICE_NOT_FIXED"; - } - + [Description("Only fixed prices can be deleted.")] + PRICE_NOT_FIXED, + } + + public static class PriceListPriceUserErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; + public const string PRICE_LIST_CURRENCY_MISMATCH = @"PRICE_LIST_CURRENCY_MISMATCH"; + public const string VARIANT_NOT_FOUND = @"VARIANT_NOT_FOUND"; + public const string PRICE_NOT_FIXED = @"PRICE_NOT_FIXED"; + } + /// ///The input fields representing the price for all variants of a product. /// - [Description("The input fields representing the price for all variants of a product.")] - public class PriceListProductPriceInput : GraphQLObject - { + [Description("The input fields representing the price for all variants of a product.")] + public class PriceListProductPriceInput : GraphQLObject + { /// ///Specifies the ID of the product to update its variants for. /// - [Description("Specifies the ID of the product to update its variants for.")] - [NonNull] - public string? productId { get; set; } - + [Description("Specifies the ID of the product to update its variants for.")] + [NonNull] + public string? productId { get; set; } + /// ///The price of the product to use for all variants with its currency. /// - [Description("The price of the product to use for all variants with its currency.")] - [NonNull] - public MoneyInput? price { get; set; } - } - + [Description("The price of the product to use for all variants with its currency.")] + [NonNull] + public MoneyInput? price { get; set; } + } + /// ///The set of valid sort keys for the PriceList query. /// - [Description("The set of valid sort keys for the PriceList query.")] - public enum PriceListSortKeys - { + [Description("The set of valid sort keys for the PriceList query.")] + public enum PriceListSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, - } - - public static class PriceListSortKeysStringValues - { - public const string ID = @"ID"; - public const string NAME = @"NAME"; - } - + [Description("Sort by the `name` value.")] + NAME, + } + + public static class PriceListSortKeysStringValues + { + public const string ID = @"ID"; + public const string NAME = @"NAME"; + } + /// ///The input fields used to update a price list. /// - [Description("The input fields used to update a price list.")] - public class PriceListUpdateInput : GraphQLObject - { + [Description("The input fields used to update a price list.")] + public class PriceListUpdateInput : GraphQLObject + { /// ///The unique name of the price list, used as a human-readable identifier. /// - [Description("The unique name of the price list, used as a human-readable identifier.")] - public string? name { get; set; } - + [Description("The unique name of the price list, used as a human-readable identifier.")] + public string? name { get; set; } + /// ///The three-letter currency code for fixed prices associated with this price list. /// - [Description("The three-letter currency code for fixed prices associated with this price list.")] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The three-letter currency code for fixed prices associated with this price list.")] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///Relative adjustments to other prices. /// - [Description("Relative adjustments to other prices.")] - public PriceListParentUpdateInput? parent { get; set; } - + [Description("Relative adjustments to other prices.")] + public PriceListParentUpdateInput? parent { get; set; } + /// ///The ID of the catalog to associate with this price list. /// - [Description("The ID of the catalog to associate with this price list.")] - public string? catalogId { get; set; } - } - + [Description("The ID of the catalog to associate with this price list.")] + public string? catalogId { get; set; } + } + /// ///Return type for `priceListUpdate` mutation. /// - [Description("Return type for `priceListUpdate` mutation.")] - public class PriceListUpdatePayload : GraphQLObject - { + [Description("Return type for `priceListUpdate` mutation.")] + public class PriceListUpdatePayload : GraphQLObject + { /// ///The updated price list. /// - [Description("The updated price list.")] - public PriceList? priceList { get; set; } - + [Description("The updated price list.")] + public PriceList? priceList { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed contextual pricing operations. /// - [Description("Error codes for failed contextual pricing operations.")] - public class PriceListUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed contextual pricing operations.")] + public class PriceListUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PriceListUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PriceListUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PriceListUserError`. /// - [Description("Possible error codes that can be returned by `PriceListUserError`.")] - public enum PriceListUserErrorCode - { + [Description("Possible error codes that can be returned by `PriceListUserError`.")] + public enum PriceListUserErrorCode + { /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The specified price list doesn't exist. /// - [Description("The specified price list doesn't exist.")] - PRICE_LIST_NOT_FOUND, + [Description("The specified price list doesn't exist.")] + PRICE_LIST_NOT_FOUND, /// ///The price list is currently being modified. Please try again later. /// - [Description("The price list is currently being modified. Please try again later.")] - PRICE_LIST_LOCKED, + [Description("The price list is currently being modified. Please try again later.")] + PRICE_LIST_LOCKED, /// ///A price list’s currency must be the market currency. /// - [Description("A price list’s currency must be the market currency.")] - CURRENCY_MARKET_MISMATCH, + [Description("A price list’s currency must be the market currency.")] + CURRENCY_MARKET_MISMATCH, /// ///The adjustment value must be a positive value and not be greater than 100% for `type` `PERCENTAGE_DECREASE` and not be greater than 1000% for `type` `PERCENTAGE_INCREASE`. /// - [Description("The adjustment value must be a positive value and not be greater than 100% for `type` `PERCENTAGE_DECREASE` and not be greater than 1000% for `type` `PERCENTAGE_INCREASE`.")] - INVALID_ADJUSTMENT_VALUE, + [Description("The adjustment value must be a positive value and not be greater than 100% for `type` `PERCENTAGE_DECREASE` and not be greater than 1000% for `type` `PERCENTAGE_INCREASE`.")] + INVALID_ADJUSTMENT_VALUE, /// ///The adjustment value must not be greater than 100% for `type` `PERCENTAGE_DECREASE`. /// - [Description("The adjustment value must not be greater than 100% for `type` `PERCENTAGE_DECREASE`.")] - INVALID_ADJUSTMENT_MIN_VALUE, + [Description("The adjustment value must not be greater than 100% for `type` `PERCENTAGE_DECREASE`.")] + INVALID_ADJUSTMENT_MIN_VALUE, /// ///The adjustment value must not be greater than 1000% for `type` `PERCENTAGE_INCREASE`. /// - [Description("The adjustment value must not be greater than 1000% for `type` `PERCENTAGE_INCREASE`.")] - INVALID_ADJUSTMENT_MAX_VALUE, + [Description("The adjustment value must not be greater than 1000% for `type` `PERCENTAGE_INCREASE`.")] + INVALID_ADJUSTMENT_MAX_VALUE, /// ///Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets. /// - [Description("Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets.")] - CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES, + [Description("Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets.")] + CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES, /// ///Quantity price breaks can be associated only with company location catalogs or catalogs associated with compatible markets. /// - [Description("Quantity price breaks can be associated only with company location catalogs or catalogs associated with compatible markets.")] - CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS, + [Description("Quantity price breaks can be associated only with company location catalogs or catalogs associated with compatible markets.")] + CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS, /// ///Only one context rule option may be specified. /// - [Description("Only one context rule option may be specified.")] - CONTEXT_RULE_LIMIT_ONE_OPTION, + [Description("Only one context rule option may be specified.")] + CONTEXT_RULE_LIMIT_ONE_OPTION, /// ///The price list currency is not supported by the shop's payment gateway. /// - [Description("The price list currency is not supported by the shop's payment gateway.")] - CURRENCY_NOT_SUPPORTED, + [Description("The price list currency is not supported by the shop's payment gateway.")] + CURRENCY_NOT_SUPPORTED, /// ///The company location could not be found. /// - [Description("The company location could not be found.")] - COMPANY_LOCATION_NOT_FOUND, + [Description("The company location could not be found.")] + COMPANY_LOCATION_NOT_FOUND, /// ///Cannot create price list for a primary market. /// - [Description("Cannot create price list for a primary market.")] - PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET, + [Description("Cannot create price list for a primary market.")] + PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET, /// ///The specified catalog does not exist. /// - [Description("The specified catalog does not exist.")] - CATALOG_DOES_NOT_EXIST, + [Description("The specified catalog does not exist.")] + CATALOG_DOES_NOT_EXIST, /// ///The price list currency must match the market catalog currency. /// - [Description("The price list currency must match the market catalog currency.")] - CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH, + [Description("The price list currency must match the market catalog currency.")] + CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH, /// ///Catalog has a price list already assigned. /// - [Description("Catalog has a price list already assigned.")] - CATALOG_TAKEN, + [Description("Catalog has a price list already assigned.")] + CATALOG_TAKEN, /// ///A country catalog cannot be assigned to a price list. /// - [Description("A country catalog cannot be assigned to a price list.")] - COUNTRY_PRICE_LIST_ASSIGNMENT, + [Description("A country catalog cannot be assigned to a price list.")] + COUNTRY_PRICE_LIST_ASSIGNMENT, /// ///Something went wrong when trying to save the price list. Please try again. /// - [Description("Something went wrong when trying to save the price list. Please try again.")] - GENERIC_ERROR, - } - - public static class PriceListUserErrorCodeStringValues - { - public const string TAKEN = @"TAKEN"; - public const string BLANK = @"BLANK"; - public const string INCLUSION = @"INCLUSION"; - public const string TOO_LONG = @"TOO_LONG"; - public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; - public const string PRICE_LIST_LOCKED = @"PRICE_LIST_LOCKED"; - public const string CURRENCY_MARKET_MISMATCH = @"CURRENCY_MARKET_MISMATCH"; - public const string INVALID_ADJUSTMENT_VALUE = @"INVALID_ADJUSTMENT_VALUE"; - public const string INVALID_ADJUSTMENT_MIN_VALUE = @"INVALID_ADJUSTMENT_MIN_VALUE"; - public const string INVALID_ADJUSTMENT_MAX_VALUE = @"INVALID_ADJUSTMENT_MAX_VALUE"; - public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES"; - public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS"; - public const string CONTEXT_RULE_LIMIT_ONE_OPTION = @"CONTEXT_RULE_LIMIT_ONE_OPTION"; - public const string CURRENCY_NOT_SUPPORTED = @"CURRENCY_NOT_SUPPORTED"; - public const string COMPANY_LOCATION_NOT_FOUND = @"COMPANY_LOCATION_NOT_FOUND"; - public const string PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET = @"PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET"; - public const string CATALOG_DOES_NOT_EXIST = @"CATALOG_DOES_NOT_EXIST"; - public const string CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH = @"CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH"; - public const string CATALOG_TAKEN = @"CATALOG_TAKEN"; - public const string COUNTRY_PRICE_LIST_ASSIGNMENT = @"COUNTRY_PRICE_LIST_ASSIGNMENT"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - } - + [Description("Something went wrong when trying to save the price list. Please try again.")] + GENERIC_ERROR, + } + + public static class PriceListUserErrorCodeStringValues + { + public const string TAKEN = @"TAKEN"; + public const string BLANK = @"BLANK"; + public const string INCLUSION = @"INCLUSION"; + public const string TOO_LONG = @"TOO_LONG"; + public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; + public const string PRICE_LIST_LOCKED = @"PRICE_LIST_LOCKED"; + public const string CURRENCY_MARKET_MISMATCH = @"CURRENCY_MARKET_MISMATCH"; + public const string INVALID_ADJUSTMENT_VALUE = @"INVALID_ADJUSTMENT_VALUE"; + public const string INVALID_ADJUSTMENT_MIN_VALUE = @"INVALID_ADJUSTMENT_MIN_VALUE"; + public const string INVALID_ADJUSTMENT_MAX_VALUE = @"INVALID_ADJUSTMENT_MAX_VALUE"; + public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES"; + public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_PRICE_BREAKS"; + public const string CONTEXT_RULE_LIMIT_ONE_OPTION = @"CONTEXT_RULE_LIMIT_ONE_OPTION"; + public const string CURRENCY_NOT_SUPPORTED = @"CURRENCY_NOT_SUPPORTED"; + public const string COMPANY_LOCATION_NOT_FOUND = @"COMPANY_LOCATION_NOT_FOUND"; + public const string PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET = @"PRICE_LIST_NOT_ALLOWED_FOR_PRIMARY_MARKET"; + public const string CATALOG_DOES_NOT_EXIST = @"CATALOG_DOES_NOT_EXIST"; + public const string CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH = @"CATALOG_MARKET_AND_PRICE_LIST_CURRENCY_MISMATCH"; + public const string CATALOG_TAKEN = @"CATALOG_TAKEN"; + public const string COUNTRY_PRICE_LIST_ASSIGNMENT = @"COUNTRY_PRICE_LIST_ASSIGNMENT"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + } + /// ///Price rules are a set of conditions, including entitlements and prerequisites, that must be met in order for a discount code to apply. /// ///We recommend using the types and queries detailed at [Getting started with discounts](https://shopify.dev/docs/apps/selling-strategies/discounts/getting-started) instead. These will replace the GraphQL `PriceRule` object and REST Admin `PriceRule` and `DiscountCode` resources. /// - [Description("Price rules are a set of conditions, including entitlements and prerequisites, that must be met in order for a discount code to apply.\n\nWe recommend using the types and queries detailed at [Getting started with discounts](https://shopify.dev/docs/apps/selling-strategies/discounts/getting-started) instead. These will replace the GraphQL `PriceRule` object and REST Admin `PriceRule` and `DiscountCode` resources.")] - public class PriceRule : GraphQLObject, ICommentEventSubject, IHasEvents, ILegacyInteroperability, INode - { + [Description("Price rules are a set of conditions, including entitlements and prerequisites, that must be met in order for a discount code to apply.\n\nWe recommend using the types and queries detailed at [Getting started with discounts](https://shopify.dev/docs/apps/selling-strategies/discounts/getting-started) instead. These will replace the GraphQL `PriceRule` object and REST Admin `PriceRule` and `DiscountCode` resources.")] + public class PriceRule : GraphQLObject, ICommentEventSubject, IHasEvents, ILegacyInteroperability, INode + { /// ///The maximum number of times that the price rule can be allocated onto an order. /// - [Description("The maximum number of times that the price rule can be allocated onto an order.")] - public int? allocationLimit { get; set; } - + [Description("The maximum number of times that the price rule can be allocated onto an order.")] + public int? allocationLimit { get; set; } + /// ///The method by which the price rule's value is allocated to its entitled items. /// - [Description("The method by which the price rule's value is allocated to its entitled items.")] - [NonNull] - [EnumType(typeof(PriceRuleAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the price rule's value is allocated to its entitled items.")] + [NonNull] + [EnumType(typeof(PriceRuleAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The application that created the price rule. /// - [Description("The application that created the price rule.")] - public App? app { get; set; } - + [Description("The application that created the price rule.")] + public App? app { get; set; } + /// ///The ///[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that you can use in combination with ///[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types). /// - [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] - [NonNull] - public DiscountCombinesWith? combinesWith { get; set; } - + [Description("The\n[discount classes](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat you can use in combination with\n[Shopify discount types](https://help.shopify.com/manual/discounts/discount-types).")] + [NonNull] + public DiscountCombinesWith? combinesWith { get; set; } + /// ///The date and time when the price rule was created. /// - [Description("The date and time when the price rule was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the price rule was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The customers that can use this price rule. /// - [Description("The customers that can use this price rule.")] - [NonNull] - public PriceRuleCustomerSelection? customerSelection { get; set; } - + [Description("The customers that can use this price rule.")] + [NonNull] + public PriceRuleCustomerSelection? customerSelection { get; set; } + /// ///The ///[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - [Obsolete("Use `discountClasses` instead.")] - [NonNull] - [EnumType(typeof(DiscountClass))] - public string? discountClass { get; set; } - + [Description("The\n[discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + [Obsolete("Use `discountClasses` instead.")] + [NonNull] + [EnumType(typeof(DiscountClass))] + public string? discountClass { get; set; } + /// ///The classes of the discount. /// - [Description("The classes of the discount.")] - [NonNull] - public IEnumerable? discountClasses { get; set; } - + [Description("The classes of the discount.")] + [NonNull] + public IEnumerable? discountClasses { get; set; } + /// ///List of the price rule's discount codes. /// - [Description("List of the price rule's discount codes.")] - [NonNull] - public PriceRuleDiscountCodeConnection? discountCodes { get; set; } - + [Description("List of the price rule's discount codes.")] + [NonNull] + public PriceRuleDiscountCodeConnection? discountCodes { get; set; } + /// ///The date and time when the price rule ends. For open-ended price rules, use `null`. /// - [Description("The date and time when the price rule ends. For open-ended price rules, use `null`.")] - public DateTime? endsAt { get; set; } - + [Description("The date and time when the price rule ends. For open-ended price rules, use `null`.")] + public DateTime? endsAt { get; set; } + /// ///Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. /// - [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] - [Obsolete("Use `prerequisiteToEntitlementQuantityRatio` instead.")] - public PriceRuleEntitlementToPrerequisiteQuantityRatio? entitlementToPrerequisiteQuantityRatio { get; set; } - + [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] + [Obsolete("Use `prerequisiteToEntitlementQuantityRatio` instead.")] + public PriceRuleEntitlementToPrerequisiteQuantityRatio? entitlementToPrerequisiteQuantityRatio { get; set; } + /// ///The paginated list of events associated with the price rule. /// - [Description("The paginated list of events associated with the price rule.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the price rule.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A list of the price rule's features. /// - [Description("A list of the price rule's features.")] - [NonNull] - public IEnumerable? features { get; set; } - + [Description("A list of the price rule's features.")] + [NonNull] + public IEnumerable? features { get; set; } + /// ///Indicates whether there are any timeline comments on the price rule. /// - [Description("Indicates whether there are any timeline comments on the price rule.")] - [NonNull] - public bool? hasTimelineComment { get; set; } - + [Description("Indicates whether there are any timeline comments on the price rule.")] + [NonNull] + public bool? hasTimelineComment { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The items to which the price rule applies. /// - [Description("The items to which the price rule applies.")] - [NonNull] - public PriceRuleItemEntitlements? itemEntitlements { get; set; } - + [Description("The items to which the price rule applies.")] + [NonNull] + public PriceRuleItemEntitlements? itemEntitlements { get; set; } + /// ///The items required for the price rule to be applicable. /// - [Description("The items required for the price rule to be applicable.")] - [NonNull] - public PriceRuleLineItemPrerequisites? itemPrerequisites { get; set; } - + [Description("The items required for the price rule to be applicable.")] + [NonNull] + public PriceRuleLineItemPrerequisites? itemPrerequisites { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///Whether the price rule can be applied only once per customer. /// - [Description("Whether the price rule can be applied only once per customer.")] - [NonNull] - public bool? oncePerCustomer { get; set; } - + [Description("Whether the price rule can be applied only once per customer.")] + [NonNull] + public bool? oncePerCustomer { get; set; } + /// ///The number of the entitled items must fall within this range for the price rule to be applicable. /// - [Description("The number of the entitled items must fall within this range for the price rule to be applicable.")] - public PriceRuleQuantityRange? prerequisiteQuantityRange { get; set; } - + [Description("The number of the entitled items must fall within this range for the price rule to be applicable.")] + public PriceRuleQuantityRange? prerequisiteQuantityRange { get; set; } + /// ///The shipping cost must fall within this range for the price rule to be applicable. /// - [Description("The shipping cost must fall within this range for the price rule to be applicable.")] - public PriceRuleMoneyRange? prerequisiteShippingPriceRange { get; set; } - + [Description("The shipping cost must fall within this range for the price rule to be applicable.")] + public PriceRuleMoneyRange? prerequisiteShippingPriceRange { get; set; } + /// ///The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable. /// - [Description("The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable.")] - public PriceRuleMoneyRange? prerequisiteSubtotalRange { get; set; } - + [Description("The sum of the entitled items subtotal prices must fall within this range for the price rule to be applicable.")] + public PriceRuleMoneyRange? prerequisiteSubtotalRange { get; set; } + /// ///Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. /// - [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] - public PriceRulePrerequisiteToEntitlementQuantityRatio? prerequisiteToEntitlementQuantityRatio { get; set; } - + [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] + public PriceRulePrerequisiteToEntitlementQuantityRatio? prerequisiteToEntitlementQuantityRatio { get; set; } + /// ///URLs that can be used to share the discount. /// - [Description("URLs that can be used to share the discount.")] - [NonNull] - public IEnumerable? shareableUrls { get; set; } - + [Description("URLs that can be used to share the discount.")] + [NonNull] + public IEnumerable? shareableUrls { get; set; } + /// ///The shipping lines to which the price rule applies. /// - [Description("The shipping lines to which the price rule applies.")] - [NonNull] - public PriceRuleShippingLineEntitlements? shippingEntitlements { get; set; } - + [Description("The shipping lines to which the price rule applies.")] + [NonNull] + public PriceRuleShippingLineEntitlements? shippingEntitlements { get; set; } + /// ///The date and time when the price rule starts. /// - [Description("The date and time when the price rule starts.")] - [NonNull] - public DateTime? startsAt { get; set; } - + [Description("The date and time when the price rule starts.")] + [NonNull] + public DateTime? startsAt { get; set; } + /// ///The status of the price rule. /// - [Description("The status of the price rule.")] - [NonNull] - [EnumType(typeof(PriceRuleStatus))] - public string? status { get; set; } - + [Description("The status of the price rule.")] + [NonNull] + [EnumType(typeof(PriceRuleStatus))] + public string? status { get; set; } + /// ///A detailed summary of the price rule. /// - [Description("A detailed summary of the price rule.")] - public string? summary { get; set; } - + [Description("A detailed summary of the price rule.")] + public string? summary { get; set; } + /// ///The type of lines (line_item or shipping_line) to which the price rule applies. /// - [Description("The type of lines (line_item or shipping_line) to which the price rule applies.")] - [NonNull] - [EnumType(typeof(PriceRuleTarget))] - public string? target { get; set; } - + [Description("The type of lines (line_item or shipping_line) to which the price rule applies.")] + [NonNull] + [EnumType(typeof(PriceRuleTarget))] + public string? target { get; set; } + /// ///The title of the price rule. /// - [Description("The title of the price rule.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the price rule.")] + [NonNull] + public string? title { get; set; } + /// ///The total sales from orders where the price rule was used. /// - [Description("The total sales from orders where the price rule was used.")] - public MoneyV2? totalSales { get; set; } - + [Description("The total sales from orders where the price rule was used.")] + public MoneyV2? totalSales { get; set; } + /// ///A list of the price rule's features. /// - [Description("A list of the price rule's features.")] - [Obsolete("Use `features` instead.")] - [NonNull] - public IEnumerable? traits { get; set; } - + [Description("A list of the price rule's features.")] + [Obsolete("Use `features` instead.")] + [NonNull] + public IEnumerable? traits { get; set; } + /// ///The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count. /// - [Description("The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.")] - [NonNull] - public int? usageCount { get; set; } - + [Description("The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.")] + [NonNull] + public int? usageCount { get; set; } + /// ///The maximum number of times that the price rule can be used in total. /// - [Description("The maximum number of times that the price rule can be used in total.")] - public int? usageLimit { get; set; } - + [Description("The maximum number of times that the price rule can be used in total.")] + public int? usageLimit { get; set; } + /// ///A time period during which a price rule is applicable. /// - [Description("A time period during which a price rule is applicable.")] - [NonNull] - public PriceRuleValidityPeriod? validityPeriod { get; set; } - + [Description("A time period during which a price rule is applicable.")] + [NonNull] + public PriceRuleValidityPeriod? validityPeriod { get; set; } + /// ///The value of the price rule. /// - [Description("The value of the price rule.")] - [Obsolete("Use `valueV2` instead.")] - [NonNull] - public IPriceRuleValue? value { get; set; } - + [Description("The value of the price rule.")] + [Obsolete("Use `valueV2` instead.")] + [NonNull] + public IPriceRuleValue? value { get; set; } + /// ///The value of the price rule. /// - [Description("The value of the price rule.")] - [NonNull] - public IPricingValue? valueV2 { get; set; } - } - + [Description("The value of the price rule.")] + [NonNull] + public IPricingValue? valueV2 { get; set; } + } + /// ///The method by which the price rule's value is allocated to its entitled items. /// - [Description("The method by which the price rule's value is allocated to its entitled items.")] - public enum PriceRuleAllocationMethod - { + [Description("The method by which the price rule's value is allocated to its entitled items.")] + public enum PriceRuleAllocationMethod + { /// ///The value will be applied to each of the entitled items. /// - [Description("The value will be applied to each of the entitled items.")] - EACH, + [Description("The value will be applied to each of the entitled items.")] + EACH, /// ///The value will be applied once across the entitled items. /// - [Description("The value will be applied once across the entitled items.")] - ACROSS, - } - - public static class PriceRuleAllocationMethodStringValues - { - public const string EACH = @"EACH"; - public const string ACROSS = @"ACROSS"; - } - + [Description("The value will be applied once across the entitled items.")] + ACROSS, + } + + public static class PriceRuleAllocationMethodStringValues + { + public const string EACH = @"EACH"; + public const string ACROSS = @"ACROSS"; + } + /// ///A selection of customers for whom the price rule applies. /// - [Description("A selection of customers for whom the price rule applies.")] - public class PriceRuleCustomerSelection : GraphQLObject - { + [Description("A selection of customers for whom the price rule applies.")] + public class PriceRuleCustomerSelection : GraphQLObject + { /// ///List of customers to whom the price rule applies. /// - [Description("List of customers to whom the price rule applies.")] - [NonNull] - public CustomerConnection? customers { get; set; } - + [Description("List of customers to whom the price rule applies.")] + [NonNull] + public CustomerConnection? customers { get; set; } + /// ///Whether the price rule applies to all customers. /// - [Description("Whether the price rule applies to all customers.")] - [NonNull] - public bool? forAllCustomers { get; set; } - + [Description("Whether the price rule applies to all customers.")] + [NonNull] + public bool? forAllCustomers { get; set; } + /// ///A list of customer segments that contain the customers who can use the price rule. /// - [Description("A list of customer segments that contain the customers who can use the price rule.")] - [NonNull] - public IEnumerable? segments { get; set; } - } - + [Description("A list of customer segments that contain the customers who can use the price rule.")] + [NonNull] + public IEnumerable? segments { get; set; } + } + /// ///A discount code of a price rule. /// - [Description("A discount code of a price rule.")] - public class PriceRuleDiscountCode : GraphQLObject, INode - { + [Description("A discount code of a price rule.")] + public class PriceRuleDiscountCode : GraphQLObject, INode + { /// ///The application that created the discount code. /// - [Description("The application that created the discount code.")] - public App? app { get; set; } - + [Description("The application that created the discount code.")] + public App? app { get; set; } + /// ///The code to apply the discount. /// - [Description("The code to apply the discount.")] - [NonNull] - public string? code { get; set; } - + [Description("The code to apply the discount.")] + [NonNull] + public string? code { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count. /// - [Description("The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.")] - [NonNull] - public int? usageCount { get; set; } - } - + [Description("The number of times that the price rule has been used. This value is updated asynchronously and can be different than the actual usage count.")] + [NonNull] + public int? usageCount { get; set; } + } + /// ///An auto-generated type for paginating through multiple PriceRuleDiscountCodes. /// - [Description("An auto-generated type for paginating through multiple PriceRuleDiscountCodes.")] - public class PriceRuleDiscountCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple PriceRuleDiscountCodes.")] + public class PriceRuleDiscountCodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PriceRuleDiscountCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PriceRuleDiscountCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PriceRuleDiscountCodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination. /// - [Description("An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.")] - public class PriceRuleDiscountCodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one PriceRuleDiscountCode and a cursor during pagination.")] + public class PriceRuleDiscountCodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PriceRuleDiscountCodeEdge. /// - [Description("The item at the end of PriceRuleDiscountCodeEdge.")] - [NonNull] - public PriceRuleDiscountCode? node { get; set; } - } - + [Description("The item at the end of PriceRuleDiscountCodeEdge.")] + [NonNull] + public PriceRuleDiscountCode? node { get; set; } + } + /// ///Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. /// - [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] - public class PriceRuleEntitlementToPrerequisiteQuantityRatio : GraphQLObject - { + [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] + public class PriceRuleEntitlementToPrerequisiteQuantityRatio : GraphQLObject + { /// ///The quantity of entitled items in the ratio. /// - [Description("The quantity of entitled items in the ratio.")] - [NonNull] - public int? entitlementQuantity { get; set; } - + [Description("The quantity of entitled items in the ratio.")] + [NonNull] + public int? entitlementQuantity { get; set; } + /// ///The quantity of prerequisite items in the ratio. /// - [Description("The quantity of prerequisite items in the ratio.")] - [NonNull] - public int? prerequisiteQuantity { get; set; } - } - + [Description("The quantity of prerequisite items in the ratio.")] + [NonNull] + public int? prerequisiteQuantity { get; set; } + } + /// ///The list of features that can be supported by a price rule. /// - [Description("The list of features that can be supported by a price rule.")] - public enum PriceRuleFeature - { + [Description("The list of features that can be supported by a price rule.")] + public enum PriceRuleFeature + { /// ///The price rule supports Buy X, Get Y (BXGY) discounts. /// - [Description("The price rule supports Buy X, Get Y (BXGY) discounts.")] - BUY_ONE_GET_ONE, + [Description("The price rule supports Buy X, Get Y (BXGY) discounts.")] + BUY_ONE_GET_ONE, /// ///The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit. /// - [Description("The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit.")] - BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT, + [Description("The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit.")] + BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT, /// ///The price rule supports bulk discounts. /// - [Description("The price rule supports bulk discounts.")] - BULK, + [Description("The price rule supports bulk discounts.")] + BULK, /// ///The price rule targets specific customers. /// - [Description("The price rule targets specific customers.")] - SPECIFIC_CUSTOMERS, + [Description("The price rule targets specific customers.")] + SPECIFIC_CUSTOMERS, /// ///The price rule supports discounts that require a quantity. /// - [Description("The price rule supports discounts that require a quantity.")] - QUANTITY_DISCOUNTS, - } - - public static class PriceRuleFeatureStringValues - { - public const string BUY_ONE_GET_ONE = @"BUY_ONE_GET_ONE"; - public const string BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT = @"BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT"; - public const string BULK = @"BULK"; - public const string SPECIFIC_CUSTOMERS = @"SPECIFIC_CUSTOMERS"; - public const string QUANTITY_DISCOUNTS = @"QUANTITY_DISCOUNTS"; - } - + [Description("The price rule supports discounts that require a quantity.")] + QUANTITY_DISCOUNTS, + } + + public static class PriceRuleFeatureStringValues + { + public const string BUY_ONE_GET_ONE = @"BUY_ONE_GET_ONE"; + public const string BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT = @"BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT"; + public const string BULK = @"BULK"; + public const string SPECIFIC_CUSTOMERS = @"SPECIFIC_CUSTOMERS"; + public const string QUANTITY_DISCOUNTS = @"QUANTITY_DISCOUNTS"; + } + /// ///The value of a fixed amount price rule. /// - [Description("The value of a fixed amount price rule.")] - public class PriceRuleFixedAmountValue : GraphQLObject, IPriceRuleValue - { + [Description("The value of a fixed amount price rule.")] + public class PriceRuleFixedAmountValue : GraphQLObject, IPriceRuleValue + { /// ///The monetary value of the price rule. /// - [Description("The monetary value of the price rule.")] - [NonNull] - public decimal? amount { get; set; } - } - + [Description("The monetary value of the price rule.")] + [NonNull] + public decimal? amount { get; set; } + } + /// ///The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned. /// - [Description("The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.")] - public class PriceRuleItemEntitlements : GraphQLObject - { + [Description("The items to which this price rule applies. This may be multiple products, product variants, collections or combinations of the aforementioned.")] + public class PriceRuleItemEntitlements : GraphQLObject + { /// ///The collections to which the price rule applies. /// - [Description("The collections to which the price rule applies.")] - [NonNull] - public CollectionConnection? collections { get; set; } - + [Description("The collections to which the price rule applies.")] + [NonNull] + public CollectionConnection? collections { get; set; } + /// ///The product variants to which the price rule applies. /// - [Description("The product variants to which the price rule applies.")] - [NonNull] - public ProductVariantConnection? productVariants { get; set; } - + [Description("The product variants to which the price rule applies.")] + [NonNull] + public ProductVariantConnection? productVariants { get; set; } + /// ///The products to which the price rule applies. /// - [Description("The products to which the price rule applies.")] - [NonNull] - public ProductConnection? products { get; set; } - + [Description("The products to which the price rule applies.")] + [NonNull] + public ProductConnection? products { get; set; } + /// ///Whether the price rule applies to all line items. /// - [Description("Whether the price rule applies to all line items.")] - [NonNull] - public bool? targetAllLineItems { get; set; } - } - + [Description("Whether the price rule applies to all line items.")] + [NonNull] + public bool? targetAllLineItems { get; set; } + } + /// ///Single or multiple line item products, product variants or collections required for the price rule to be applicable, can also be provided in combination. /// - [Description("Single or multiple line item products, product variants or collections required for the price rule to be applicable, can also be provided in combination.")] - public class PriceRuleLineItemPrerequisites : GraphQLObject - { + [Description("Single or multiple line item products, product variants or collections required for the price rule to be applicable, can also be provided in combination.")] + public class PriceRuleLineItemPrerequisites : GraphQLObject + { /// ///The collections required for the price rule to be applicable. /// - [Description("The collections required for the price rule to be applicable.")] - [NonNull] - public CollectionConnection? collections { get; set; } - + [Description("The collections required for the price rule to be applicable.")] + [NonNull] + public CollectionConnection? collections { get; set; } + /// ///The product variants required for the price rule to be applicable. /// - [Description("The product variants required for the price rule to be applicable.")] - [NonNull] - public ProductVariantConnection? productVariants { get; set; } - + [Description("The product variants required for the price rule to be applicable.")] + [NonNull] + public ProductVariantConnection? productVariants { get; set; } + /// ///The products required for the price rule to be applicable. /// - [Description("The products required for the price rule to be applicable.")] - [NonNull] - public ProductConnection? products { get; set; } - } - + [Description("The products required for the price rule to be applicable.")] + [NonNull] + public ProductConnection? products { get; set; } + } + /// ///A money range within which the price rule is applicable. /// - [Description("A money range within which the price rule is applicable.")] - public class PriceRuleMoneyRange : GraphQLObject - { + [Description("A money range within which the price rule is applicable.")] + public class PriceRuleMoneyRange : GraphQLObject + { /// ///The lower bound of the money range. /// - [Description("The lower bound of the money range.")] - public decimal? greaterThan { get; set; } - + [Description("The lower bound of the money range.")] + public decimal? greaterThan { get; set; } + /// ///The lower bound or equal of the money range. /// - [Description("The lower bound or equal of the money range.")] - public decimal? greaterThanOrEqualTo { get; set; } - + [Description("The lower bound or equal of the money range.")] + public decimal? greaterThanOrEqualTo { get; set; } + /// ///The upper bound of the money range. /// - [Description("The upper bound of the money range.")] - public decimal? lessThan { get; set; } - + [Description("The upper bound of the money range.")] + public decimal? lessThan { get; set; } + /// ///The upper bound or equal of the money range. /// - [Description("The upper bound or equal of the money range.")] - public decimal? lessThanOrEqualTo { get; set; } - } - + [Description("The upper bound or equal of the money range.")] + public decimal? lessThanOrEqualTo { get; set; } + } + /// ///The value of a percent price rule. /// - [Description("The value of a percent price rule.")] - public class PriceRulePercentValue : GraphQLObject, IPriceRuleValue - { + [Description("The value of a percent price rule.")] + public class PriceRulePercentValue : GraphQLObject, IPriceRuleValue + { /// ///The percent value of the price rule. /// - [Description("The percent value of the price rule.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percent value of the price rule.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items. /// - [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] - public class PriceRulePrerequisiteToEntitlementQuantityRatio : GraphQLObject - { + [Description("Quantity of prerequisite items required for the price rule to be applicable, compared to quantity of entitled items.")] + public class PriceRulePrerequisiteToEntitlementQuantityRatio : GraphQLObject + { /// ///The quantity of entitled items in the ratio. /// - [Description("The quantity of entitled items in the ratio.")] - [NonNull] - public int? entitlementQuantity { get; set; } - + [Description("The quantity of entitled items in the ratio.")] + [NonNull] + public int? entitlementQuantity { get; set; } + /// ///The quantity of prerequisite items in the ratio. /// - [Description("The quantity of prerequisite items in the ratio.")] - [NonNull] - public int? prerequisiteQuantity { get; set; } - } - + [Description("The quantity of prerequisite items in the ratio.")] + [NonNull] + public int? prerequisiteQuantity { get; set; } + } + /// ///A quantity range within which the price rule is applicable. /// - [Description("A quantity range within which the price rule is applicable.")] - public class PriceRuleQuantityRange : GraphQLObject - { + [Description("A quantity range within which the price rule is applicable.")] + public class PriceRuleQuantityRange : GraphQLObject + { /// ///The lower bound of the quantity range. /// - [Description("The lower bound of the quantity range.")] - public int? greaterThan { get; set; } - + [Description("The lower bound of the quantity range.")] + public int? greaterThan { get; set; } + /// ///The lower bound or equal of the quantity range. /// - [Description("The lower bound or equal of the quantity range.")] - public int? greaterThanOrEqualTo { get; set; } - + [Description("The lower bound or equal of the quantity range.")] + public int? greaterThanOrEqualTo { get; set; } + /// ///The upper bound of the quantity range. /// - [Description("The upper bound of the quantity range.")] - public int? lessThan { get; set; } - + [Description("The upper bound of the quantity range.")] + public int? lessThan { get; set; } + /// ///The upper bound or equal of the quantity range. /// - [Description("The upper bound or equal of the quantity range.")] - public int? lessThanOrEqualTo { get; set; } - } - + [Description("The upper bound or equal of the quantity range.")] + public int? lessThanOrEqualTo { get; set; } + } + /// ///Shareable URL for the discount code associated with the price rule. /// - [Description("Shareable URL for the discount code associated with the price rule.")] - public class PriceRuleShareableUrl : GraphQLObject - { + [Description("Shareable URL for the discount code associated with the price rule.")] + public class PriceRuleShareableUrl : GraphQLObject + { /// ///The image URL of the item (product or collection) to which the discount applies. /// - [Description("The image URL of the item (product or collection) to which the discount applies.")] - public Image? targetItemImage { get; set; } - + [Description("The image URL of the item (product or collection) to which the discount applies.")] + public Image? targetItemImage { get; set; } + /// ///The type of page that's associated with the URL. /// - [Description("The type of page that's associated with the URL.")] - [NonNull] - [EnumType(typeof(PriceRuleShareableUrlTargetType))] - public string? targetType { get; set; } - + [Description("The type of page that's associated with the URL.")] + [NonNull] + [EnumType(typeof(PriceRuleShareableUrlTargetType))] + public string? targetType { get; set; } + /// ///The title of the page that's associated with the URL. /// - [Description("The title of the page that's associated with the URL.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the page that's associated with the URL.")] + [NonNull] + public string? title { get; set; } + /// ///The URL for the discount code. /// - [Description("The URL for the discount code.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL for the discount code.")] + [NonNull] + public string? url { get; set; } + } + /// ///The type of page where a shareable price rule URL lands. /// - [Description("The type of page where a shareable price rule URL lands.")] - public enum PriceRuleShareableUrlTargetType - { + [Description("The type of page where a shareable price rule URL lands.")] + public enum PriceRuleShareableUrlTargetType + { /// ///The URL lands on a home page. /// - [Description("The URL lands on a home page.")] - HOME, + [Description("The URL lands on a home page.")] + HOME, /// ///The URL lands on a product page. /// - [Description("The URL lands on a product page.")] - PRODUCT, + [Description("The URL lands on a product page.")] + PRODUCT, /// ///The URL lands on a collection page. /// - [Description("The URL lands on a collection page.")] - COLLECTION, - } - - public static class PriceRuleShareableUrlTargetTypeStringValues - { - public const string HOME = @"HOME"; - public const string PRODUCT = @"PRODUCT"; - public const string COLLECTION = @"COLLECTION"; - } - + [Description("The URL lands on a collection page.")] + COLLECTION, + } + + public static class PriceRuleShareableUrlTargetTypeStringValues + { + public const string HOME = @"HOME"; + public const string PRODUCT = @"PRODUCT"; + public const string COLLECTION = @"COLLECTION"; + } + /// ///The shipping lines to which the price rule applies to. /// - [Description("The shipping lines to which the price rule applies to.")] - public class PriceRuleShippingLineEntitlements : GraphQLObject - { + [Description("The shipping lines to which the price rule applies to.")] + public class PriceRuleShippingLineEntitlements : GraphQLObject + { /// ///The codes for the countries to which the price rule applies to. /// - [Description("The codes for the countries to which the price rule applies to.")] - [NonNull] - public IEnumerable? countryCodes { get; set; } - + [Description("The codes for the countries to which the price rule applies to.")] + [NonNull] + public IEnumerable? countryCodes { get; set; } + /// ///Whether the price rule is applicable to countries that haven't been defined in the shop's shipping zones. /// - [Description("Whether the price rule is applicable to countries that haven't been defined in the shop's shipping zones.")] - [NonNull] - public bool? includeRestOfWorld { get; set; } - + [Description("Whether the price rule is applicable to countries that haven't been defined in the shop's shipping zones.")] + [NonNull] + public bool? includeRestOfWorld { get; set; } + /// ///Whether the price rule applies to all shipping lines. /// - [Description("Whether the price rule applies to all shipping lines.")] - [NonNull] - public bool? targetAllShippingLines { get; set; } - } - + [Description("Whether the price rule applies to all shipping lines.")] + [NonNull] + public bool? targetAllShippingLines { get; set; } + } + /// ///The status of the price rule. /// - [Description("The status of the price rule.")] - public enum PriceRuleStatus - { + [Description("The status of the price rule.")] + public enum PriceRuleStatus + { /// ///The price rule is active. /// - [Description("The price rule is active.")] - ACTIVE, + [Description("The price rule is active.")] + ACTIVE, /// ///The price rule is expired. /// - [Description("The price rule is expired.")] - EXPIRED, + [Description("The price rule is expired.")] + EXPIRED, /// ///The price rule is scheduled. /// - [Description("The price rule is scheduled.")] - SCHEDULED, - } - - public static class PriceRuleStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string EXPIRED = @"EXPIRED"; - public const string SCHEDULED = @"SCHEDULED"; - } - + [Description("The price rule is scheduled.")] + SCHEDULED, + } + + public static class PriceRuleStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string EXPIRED = @"EXPIRED"; + public const string SCHEDULED = @"SCHEDULED"; + } + /// ///The type of lines (line_item or shipping_line) to which the price rule applies. /// - [Description("The type of lines (line_item or shipping_line) to which the price rule applies.")] - public enum PriceRuleTarget - { + [Description("The type of lines (line_item or shipping_line) to which the price rule applies.")] + public enum PriceRuleTarget + { /// ///The price rule applies to line items. /// - [Description("The price rule applies to line items.")] - LINE_ITEM, + [Description("The price rule applies to line items.")] + LINE_ITEM, /// ///The price rule applies to shipping lines. /// - [Description("The price rule applies to shipping lines.")] - SHIPPING_LINE, - } - - public static class PriceRuleTargetStringValues - { - public const string LINE_ITEM = @"LINE_ITEM"; - public const string SHIPPING_LINE = @"SHIPPING_LINE"; - } - + [Description("The price rule applies to shipping lines.")] + SHIPPING_LINE, + } + + public static class PriceRuleTargetStringValues + { + public const string LINE_ITEM = @"LINE_ITEM"; + public const string SHIPPING_LINE = @"SHIPPING_LINE"; + } + /// ///The list of features that can be supported by a price rule. /// - [Description("The list of features that can be supported by a price rule.")] - public enum PriceRuleTrait - { + [Description("The list of features that can be supported by a price rule.")] + public enum PriceRuleTrait + { /// ///The price rule supports Buy X, Get Y (BXGY) discounts. /// - [Description("The price rule supports Buy X, Get Y (BXGY) discounts.")] - BUY_ONE_GET_ONE, + [Description("The price rule supports Buy X, Get Y (BXGY) discounts.")] + BUY_ONE_GET_ONE, /// ///The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit. /// - [Description("The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit.")] - BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT, + [Description("The price rule supports Buy X, Get Y (BXGY) discounts that specify a custom allocation limit.")] + BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT, /// ///The price rule supports bulk discounts. /// - [Description("The price rule supports bulk discounts.")] - BULK, + [Description("The price rule supports bulk discounts.")] + BULK, /// ///The price rule targets specific customers. /// - [Description("The price rule targets specific customers.")] - SPECIFIC_CUSTOMERS, + [Description("The price rule targets specific customers.")] + SPECIFIC_CUSTOMERS, /// ///The price rule supports discounts that require a quantity. /// - [Description("The price rule supports discounts that require a quantity.")] - QUANTITY_DISCOUNTS, - } - - public static class PriceRuleTraitStringValues - { - public const string BUY_ONE_GET_ONE = @"BUY_ONE_GET_ONE"; - public const string BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT = @"BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT"; - public const string BULK = @"BULK"; - public const string SPECIFIC_CUSTOMERS = @"SPECIFIC_CUSTOMERS"; - public const string QUANTITY_DISCOUNTS = @"QUANTITY_DISCOUNTS"; - } - + [Description("The price rule supports discounts that require a quantity.")] + QUANTITY_DISCOUNTS, + } + + public static class PriceRuleTraitStringValues + { + public const string BUY_ONE_GET_ONE = @"BUY_ONE_GET_ONE"; + public const string BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT = @"BUY_ONE_GET_ONE_WITH_ALLOCATION_LIMIT"; + public const string BULK = @"BULK"; + public const string SPECIFIC_CUSTOMERS = @"SPECIFIC_CUSTOMERS"; + public const string QUANTITY_DISCOUNTS = @"QUANTITY_DISCOUNTS"; + } + /// ///A time period during which a price rule is applicable. /// - [Description("A time period during which a price rule is applicable.")] - public class PriceRuleValidityPeriod : GraphQLObject - { + [Description("A time period during which a price rule is applicable.")] + public class PriceRuleValidityPeriod : GraphQLObject + { /// ///The time after which the price rule becomes invalid. /// - [Description("The time after which the price rule becomes invalid.")] - public DateTime? end { get; set; } - + [Description("The time after which the price rule becomes invalid.")] + public DateTime? end { get; set; } + /// ///The time after which the price rule is valid. /// - [Description("The time after which the price rule is valid.")] - [NonNull] - public DateTime? start { get; set; } - } - + [Description("The time after which the price rule is valid.")] + [NonNull] + public DateTime? start { get; set; } + } + /// ///The type of the price rule value. The price rule value might be a percentage value, or a fixed amount. /// - [Description("The type of the price rule value. The price rule value might be a percentage value, or a fixed amount.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(PriceRuleFixedAmountValue), typeDiscriminator: "PriceRuleFixedAmountValue")] - [JsonDerivedType(typeof(PriceRulePercentValue), typeDiscriminator: "PriceRulePercentValue")] - public interface IPriceRuleValue : IGraphQLObject - { - public PriceRuleFixedAmountValue? AsPriceRuleFixedAmountValue() => this as PriceRuleFixedAmountValue; - public PriceRulePercentValue? AsPriceRulePercentValue() => this as PriceRulePercentValue; - } - + [Description("The type of the price rule value. The price rule value might be a percentage value, or a fixed amount.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(PriceRuleFixedAmountValue), typeDiscriminator: "PriceRuleFixedAmountValue")] + [JsonDerivedType(typeof(PriceRulePercentValue), typeDiscriminator: "PriceRulePercentValue")] + public interface IPriceRuleValue : IGraphQLObject + { + public PriceRuleFixedAmountValue? AsPriceRuleFixedAmountValue() => this as PriceRuleFixedAmountValue; + public PriceRulePercentValue? AsPriceRulePercentValue() => this as PriceRulePercentValue; + } + /// ///One type of value given to a customer when a discount is applied to an order. ///The application of a discount with this value gives the customer the specified percentage off a specified item. /// - [Description("One type of value given to a customer when a discount is applied to an order.\nThe application of a discount with this value gives the customer the specified percentage off a specified item.")] - public class PricingPercentageValue : GraphQLObject, IPricingValue - { + [Description("One type of value given to a customer when a discount is applied to an order.\nThe application of a discount with this value gives the customer the specified percentage off a specified item.")] + public class PricingPercentageValue : GraphQLObject, IPricingValue + { /// ///The percentage value of the object. This is a number between -100 (free) and 0 (no discount). /// - [Description("The percentage value of the object. This is a number between -100 (free) and 0 (no discount).")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage value of the object. This is a number between -100 (free) and 0 (no discount).")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///The type of value given to a customer when a discount is applied to an order. For example, the application of the discount might give the customer a percentage off a specified item. Alternatively, the application of the discount might give the customer a monetary value in a given currency off an order. /// - [Description("The type of value given to a customer when a discount is applied to an order. For example, the application of the discount might give the customer a percentage off a specified item. Alternatively, the application of the discount might give the customer a monetary value in a given currency off an order.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] - [JsonDerivedType(typeof(PricingPercentageValue), typeDiscriminator: "PricingPercentageValue")] - public interface IPricingValue : IGraphQLObject - { - public MoneyV2? AsMoneyV2() => this as MoneyV2; - public PricingPercentageValue? AsPricingPercentageValue() => this as PricingPercentageValue; - } - + [Description("The type of value given to a customer when a discount is applied to an order. For example, the application of the discount might give the customer a percentage off a specified item. Alternatively, the application of the discount might give the customer a monetary value in a given currency off an order.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] + [JsonDerivedType(typeof(PricingPercentageValue), typeDiscriminator: "PricingPercentageValue")] + public interface IPricingValue : IGraphQLObject + { + public MoneyV2? AsMoneyV2() => this as MoneyV2; + public PricingPercentageValue? AsPricingPercentageValue() => this as PricingPercentageValue; + } + /// ///A country code from the `ISO 3166` standard. e.g. `CA` for Canada. /// - [Description("A country code from the `ISO 3166` standard. e.g. `CA` for Canada.")] - public enum PrivacyCountryCode - { + [Description("A country code from the `ISO 3166` standard. e.g. `CA` for Canada.")] + public enum PrivacyCountryCode + { /// ///The `ISO 3166` country code of `AN`. /// - [Description("The `ISO 3166` country code of `AN`.")] - AN, + [Description("The `ISO 3166` country code of `AN`.")] + AN, /// ///The `ISO 3166` country code of `AC`. /// - [Description("The `ISO 3166` country code of `AC`.")] - AC, + [Description("The `ISO 3166` country code of `AC`.")] + AC, /// ///The `ISO 3166` country code of `AD`. /// - [Description("The `ISO 3166` country code of `AD`.")] - AD, + [Description("The `ISO 3166` country code of `AD`.")] + AD, /// ///The `ISO 3166` country code of `AE`. /// - [Description("The `ISO 3166` country code of `AE`.")] - AE, + [Description("The `ISO 3166` country code of `AE`.")] + AE, /// ///The `ISO 3166` country code of `AF`. /// - [Description("The `ISO 3166` country code of `AF`.")] - AF, + [Description("The `ISO 3166` country code of `AF`.")] + AF, /// ///The `ISO 3166` country code of `AG`. /// - [Description("The `ISO 3166` country code of `AG`.")] - AG, + [Description("The `ISO 3166` country code of `AG`.")] + AG, /// ///The `ISO 3166` country code of `AI`. /// - [Description("The `ISO 3166` country code of `AI`.")] - AI, + [Description("The `ISO 3166` country code of `AI`.")] + AI, /// ///The `ISO 3166` country code of `AL`. /// - [Description("The `ISO 3166` country code of `AL`.")] - AL, + [Description("The `ISO 3166` country code of `AL`.")] + AL, /// ///The `ISO 3166` country code of `AM`. /// - [Description("The `ISO 3166` country code of `AM`.")] - AM, + [Description("The `ISO 3166` country code of `AM`.")] + AM, /// ///The `ISO 3166` country code of `AO`. /// - [Description("The `ISO 3166` country code of `AO`.")] - AO, + [Description("The `ISO 3166` country code of `AO`.")] + AO, /// ///The `ISO 3166` country code of `AQ`. /// - [Description("The `ISO 3166` country code of `AQ`.")] - AQ, + [Description("The `ISO 3166` country code of `AQ`.")] + AQ, /// ///The `ISO 3166` country code of `AR`. /// - [Description("The `ISO 3166` country code of `AR`.")] - AR, + [Description("The `ISO 3166` country code of `AR`.")] + AR, /// ///The `ISO 3166` country code of `AS`. /// - [Description("The `ISO 3166` country code of `AS`.")] - AS, + [Description("The `ISO 3166` country code of `AS`.")] + AS, /// ///The `ISO 3166` country code of `AT`. /// - [Description("The `ISO 3166` country code of `AT`.")] - AT, + [Description("The `ISO 3166` country code of `AT`.")] + AT, /// ///The `ISO 3166` country code of `AU`. /// - [Description("The `ISO 3166` country code of `AU`.")] - AU, + [Description("The `ISO 3166` country code of `AU`.")] + AU, /// ///The `ISO 3166` country code of `AW`. /// - [Description("The `ISO 3166` country code of `AW`.")] - AW, + [Description("The `ISO 3166` country code of `AW`.")] + AW, /// ///The `ISO 3166` country code of `AX`. /// - [Description("The `ISO 3166` country code of `AX`.")] - AX, + [Description("The `ISO 3166` country code of `AX`.")] + AX, /// ///The `ISO 3166` country code of `AZ`. /// - [Description("The `ISO 3166` country code of `AZ`.")] - AZ, + [Description("The `ISO 3166` country code of `AZ`.")] + AZ, /// ///The `ISO 3166` country code of `BA`. /// - [Description("The `ISO 3166` country code of `BA`.")] - BA, + [Description("The `ISO 3166` country code of `BA`.")] + BA, /// ///The `ISO 3166` country code of `BB`. /// - [Description("The `ISO 3166` country code of `BB`.")] - BB, + [Description("The `ISO 3166` country code of `BB`.")] + BB, /// ///The `ISO 3166` country code of `BD`. /// - [Description("The `ISO 3166` country code of `BD`.")] - BD, + [Description("The `ISO 3166` country code of `BD`.")] + BD, /// ///The `ISO 3166` country code of `BE`. /// - [Description("The `ISO 3166` country code of `BE`.")] - BE, + [Description("The `ISO 3166` country code of `BE`.")] + BE, /// ///The `ISO 3166` country code of `BF`. /// - [Description("The `ISO 3166` country code of `BF`.")] - BF, + [Description("The `ISO 3166` country code of `BF`.")] + BF, /// ///The `ISO 3166` country code of `BG`. /// - [Description("The `ISO 3166` country code of `BG`.")] - BG, + [Description("The `ISO 3166` country code of `BG`.")] + BG, /// ///The `ISO 3166` country code of `BH`. /// - [Description("The `ISO 3166` country code of `BH`.")] - BH, + [Description("The `ISO 3166` country code of `BH`.")] + BH, /// ///The `ISO 3166` country code of `BI`. /// - [Description("The `ISO 3166` country code of `BI`.")] - BI, + [Description("The `ISO 3166` country code of `BI`.")] + BI, /// ///The `ISO 3166` country code of `BJ`. /// - [Description("The `ISO 3166` country code of `BJ`.")] - BJ, + [Description("The `ISO 3166` country code of `BJ`.")] + BJ, /// ///The `ISO 3166` country code of `BL`. /// - [Description("The `ISO 3166` country code of `BL`.")] - BL, + [Description("The `ISO 3166` country code of `BL`.")] + BL, /// ///The `ISO 3166` country code of `BM`. /// - [Description("The `ISO 3166` country code of `BM`.")] - BM, + [Description("The `ISO 3166` country code of `BM`.")] + BM, /// ///The `ISO 3166` country code of `BN`. /// - [Description("The `ISO 3166` country code of `BN`.")] - BN, + [Description("The `ISO 3166` country code of `BN`.")] + BN, /// ///The `ISO 3166` country code of `BO`. /// - [Description("The `ISO 3166` country code of `BO`.")] - BO, + [Description("The `ISO 3166` country code of `BO`.")] + BO, /// ///The `ISO 3166` country code of `BQ`. /// - [Description("The `ISO 3166` country code of `BQ`.")] - BQ, + [Description("The `ISO 3166` country code of `BQ`.")] + BQ, /// ///The `ISO 3166` country code of `BR`. /// - [Description("The `ISO 3166` country code of `BR`.")] - BR, + [Description("The `ISO 3166` country code of `BR`.")] + BR, /// ///The `ISO 3166` country code of `BS`. /// - [Description("The `ISO 3166` country code of `BS`.")] - BS, + [Description("The `ISO 3166` country code of `BS`.")] + BS, /// ///The `ISO 3166` country code of `BT`. /// - [Description("The `ISO 3166` country code of `BT`.")] - BT, + [Description("The `ISO 3166` country code of `BT`.")] + BT, /// ///The `ISO 3166` country code of `BV`. /// - [Description("The `ISO 3166` country code of `BV`.")] - BV, + [Description("The `ISO 3166` country code of `BV`.")] + BV, /// ///The `ISO 3166` country code of `BW`. /// - [Description("The `ISO 3166` country code of `BW`.")] - BW, + [Description("The `ISO 3166` country code of `BW`.")] + BW, /// ///The `ISO 3166` country code of `BY`. /// - [Description("The `ISO 3166` country code of `BY`.")] - BY, + [Description("The `ISO 3166` country code of `BY`.")] + BY, /// ///The `ISO 3166` country code of `BZ`. /// - [Description("The `ISO 3166` country code of `BZ`.")] - BZ, + [Description("The `ISO 3166` country code of `BZ`.")] + BZ, /// ///The `ISO 3166` country code of `CA`. /// - [Description("The `ISO 3166` country code of `CA`.")] - CA, + [Description("The `ISO 3166` country code of `CA`.")] + CA, /// ///The `ISO 3166` country code of `CC`. /// - [Description("The `ISO 3166` country code of `CC`.")] - CC, + [Description("The `ISO 3166` country code of `CC`.")] + CC, /// ///The `ISO 3166` country code of `CD`. /// - [Description("The `ISO 3166` country code of `CD`.")] - CD, + [Description("The `ISO 3166` country code of `CD`.")] + CD, /// ///The `ISO 3166` country code of `CF`. /// - [Description("The `ISO 3166` country code of `CF`.")] - CF, + [Description("The `ISO 3166` country code of `CF`.")] + CF, /// ///The `ISO 3166` country code of `CG`. /// - [Description("The `ISO 3166` country code of `CG`.")] - CG, + [Description("The `ISO 3166` country code of `CG`.")] + CG, /// ///The `ISO 3166` country code of `CH`. /// - [Description("The `ISO 3166` country code of `CH`.")] - CH, + [Description("The `ISO 3166` country code of `CH`.")] + CH, /// ///The `ISO 3166` country code of `CI`. /// - [Description("The `ISO 3166` country code of `CI`.")] - CI, + [Description("The `ISO 3166` country code of `CI`.")] + CI, /// ///The `ISO 3166` country code of `CK`. /// - [Description("The `ISO 3166` country code of `CK`.")] - CK, + [Description("The `ISO 3166` country code of `CK`.")] + CK, /// ///The `ISO 3166` country code of `CL`. /// - [Description("The `ISO 3166` country code of `CL`.")] - CL, + [Description("The `ISO 3166` country code of `CL`.")] + CL, /// ///The `ISO 3166` country code of `CM`. /// - [Description("The `ISO 3166` country code of `CM`.")] - CM, + [Description("The `ISO 3166` country code of `CM`.")] + CM, /// ///The `ISO 3166` country code of `CN`. /// - [Description("The `ISO 3166` country code of `CN`.")] - CN, + [Description("The `ISO 3166` country code of `CN`.")] + CN, /// ///The `ISO 3166` country code of `CO`. /// - [Description("The `ISO 3166` country code of `CO`.")] - CO, + [Description("The `ISO 3166` country code of `CO`.")] + CO, /// ///The `ISO 3166` country code of `CR`. /// - [Description("The `ISO 3166` country code of `CR`.")] - CR, + [Description("The `ISO 3166` country code of `CR`.")] + CR, /// ///The `ISO 3166` country code of `CU`. /// - [Description("The `ISO 3166` country code of `CU`.")] - CU, + [Description("The `ISO 3166` country code of `CU`.")] + CU, /// ///The `ISO 3166` country code of `CV`. /// - [Description("The `ISO 3166` country code of `CV`.")] - CV, + [Description("The `ISO 3166` country code of `CV`.")] + CV, /// ///The `ISO 3166` country code of `CW`. /// - [Description("The `ISO 3166` country code of `CW`.")] - CW, + [Description("The `ISO 3166` country code of `CW`.")] + CW, /// ///The `ISO 3166` country code of `CX`. /// - [Description("The `ISO 3166` country code of `CX`.")] - CX, + [Description("The `ISO 3166` country code of `CX`.")] + CX, /// ///The `ISO 3166` country code of `CY`. /// - [Description("The `ISO 3166` country code of `CY`.")] - CY, + [Description("The `ISO 3166` country code of `CY`.")] + CY, /// ///The `ISO 3166` country code of `CZ`. /// - [Description("The `ISO 3166` country code of `CZ`.")] - CZ, + [Description("The `ISO 3166` country code of `CZ`.")] + CZ, /// ///The `ISO 3166` country code of `DE`. /// - [Description("The `ISO 3166` country code of `DE`.")] - DE, + [Description("The `ISO 3166` country code of `DE`.")] + DE, /// ///The `ISO 3166` country code of `DJ`. /// - [Description("The `ISO 3166` country code of `DJ`.")] - DJ, + [Description("The `ISO 3166` country code of `DJ`.")] + DJ, /// ///The `ISO 3166` country code of `DK`. /// - [Description("The `ISO 3166` country code of `DK`.")] - DK, + [Description("The `ISO 3166` country code of `DK`.")] + DK, /// ///The `ISO 3166` country code of `DM`. /// - [Description("The `ISO 3166` country code of `DM`.")] - DM, + [Description("The `ISO 3166` country code of `DM`.")] + DM, /// ///The `ISO 3166` country code of `DO`. /// - [Description("The `ISO 3166` country code of `DO`.")] - DO, + [Description("The `ISO 3166` country code of `DO`.")] + DO, /// ///The `ISO 3166` country code of `DZ`. /// - [Description("The `ISO 3166` country code of `DZ`.")] - DZ, + [Description("The `ISO 3166` country code of `DZ`.")] + DZ, /// ///The `ISO 3166` country code of `EC`. /// - [Description("The `ISO 3166` country code of `EC`.")] - EC, + [Description("The `ISO 3166` country code of `EC`.")] + EC, /// ///The `ISO 3166` country code of `EE`. /// - [Description("The `ISO 3166` country code of `EE`.")] - EE, + [Description("The `ISO 3166` country code of `EE`.")] + EE, /// ///The `ISO 3166` country code of `EG`. /// - [Description("The `ISO 3166` country code of `EG`.")] - EG, + [Description("The `ISO 3166` country code of `EG`.")] + EG, /// ///The `ISO 3166` country code of `EH`. /// - [Description("The `ISO 3166` country code of `EH`.")] - EH, + [Description("The `ISO 3166` country code of `EH`.")] + EH, /// ///The `ISO 3166` country code of `ER`. /// - [Description("The `ISO 3166` country code of `ER`.")] - ER, + [Description("The `ISO 3166` country code of `ER`.")] + ER, /// ///The `ISO 3166` country code of `ES`. /// - [Description("The `ISO 3166` country code of `ES`.")] - ES, + [Description("The `ISO 3166` country code of `ES`.")] + ES, /// ///The `ISO 3166` country code of `ET`. /// - [Description("The `ISO 3166` country code of `ET`.")] - ET, + [Description("The `ISO 3166` country code of `ET`.")] + ET, /// ///The `ISO 3166` country code of `FI`. /// - [Description("The `ISO 3166` country code of `FI`.")] - FI, + [Description("The `ISO 3166` country code of `FI`.")] + FI, /// ///The `ISO 3166` country code of `FJ`. /// - [Description("The `ISO 3166` country code of `FJ`.")] - FJ, + [Description("The `ISO 3166` country code of `FJ`.")] + FJ, /// ///The `ISO 3166` country code of `FK`. /// - [Description("The `ISO 3166` country code of `FK`.")] - FK, + [Description("The `ISO 3166` country code of `FK`.")] + FK, /// ///The `ISO 3166` country code of `FM`. /// - [Description("The `ISO 3166` country code of `FM`.")] - FM, + [Description("The `ISO 3166` country code of `FM`.")] + FM, /// ///The `ISO 3166` country code of `FO`. /// - [Description("The `ISO 3166` country code of `FO`.")] - FO, + [Description("The `ISO 3166` country code of `FO`.")] + FO, /// ///The `ISO 3166` country code of `FR`. /// - [Description("The `ISO 3166` country code of `FR`.")] - FR, + [Description("The `ISO 3166` country code of `FR`.")] + FR, /// ///The `ISO 3166` country code of `GA`. /// - [Description("The `ISO 3166` country code of `GA`.")] - GA, + [Description("The `ISO 3166` country code of `GA`.")] + GA, /// ///The `ISO 3166` country code of `GB`. /// - [Description("The `ISO 3166` country code of `GB`.")] - GB, + [Description("The `ISO 3166` country code of `GB`.")] + GB, /// ///The `ISO 3166` country code of `GD`. /// - [Description("The `ISO 3166` country code of `GD`.")] - GD, + [Description("The `ISO 3166` country code of `GD`.")] + GD, /// ///The `ISO 3166` country code of `GE`. /// - [Description("The `ISO 3166` country code of `GE`.")] - GE, + [Description("The `ISO 3166` country code of `GE`.")] + GE, /// ///The `ISO 3166` country code of `GF`. /// - [Description("The `ISO 3166` country code of `GF`.")] - GF, + [Description("The `ISO 3166` country code of `GF`.")] + GF, /// ///The `ISO 3166` country code of `GG`. /// - [Description("The `ISO 3166` country code of `GG`.")] - GG, + [Description("The `ISO 3166` country code of `GG`.")] + GG, /// ///The `ISO 3166` country code of `GH`. /// - [Description("The `ISO 3166` country code of `GH`.")] - GH, + [Description("The `ISO 3166` country code of `GH`.")] + GH, /// ///The `ISO 3166` country code of `GI`. /// - [Description("The `ISO 3166` country code of `GI`.")] - GI, + [Description("The `ISO 3166` country code of `GI`.")] + GI, /// ///The `ISO 3166` country code of `GL`. /// - [Description("The `ISO 3166` country code of `GL`.")] - GL, + [Description("The `ISO 3166` country code of `GL`.")] + GL, /// ///The `ISO 3166` country code of `GM`. /// - [Description("The `ISO 3166` country code of `GM`.")] - GM, + [Description("The `ISO 3166` country code of `GM`.")] + GM, /// ///The `ISO 3166` country code of `GN`. /// - [Description("The `ISO 3166` country code of `GN`.")] - GN, + [Description("The `ISO 3166` country code of `GN`.")] + GN, /// ///The `ISO 3166` country code of `GP`. /// - [Description("The `ISO 3166` country code of `GP`.")] - GP, + [Description("The `ISO 3166` country code of `GP`.")] + GP, /// ///The `ISO 3166` country code of `GQ`. /// - [Description("The `ISO 3166` country code of `GQ`.")] - GQ, + [Description("The `ISO 3166` country code of `GQ`.")] + GQ, /// ///The `ISO 3166` country code of `GR`. /// - [Description("The `ISO 3166` country code of `GR`.")] - GR, + [Description("The `ISO 3166` country code of `GR`.")] + GR, /// ///The `ISO 3166` country code of `GS`. /// - [Description("The `ISO 3166` country code of `GS`.")] - GS, + [Description("The `ISO 3166` country code of `GS`.")] + GS, /// ///The `ISO 3166` country code of `GT`. /// - [Description("The `ISO 3166` country code of `GT`.")] - GT, + [Description("The `ISO 3166` country code of `GT`.")] + GT, /// ///The `ISO 3166` country code of `GU`. /// - [Description("The `ISO 3166` country code of `GU`.")] - GU, + [Description("The `ISO 3166` country code of `GU`.")] + GU, /// ///The `ISO 3166` country code of `GW`. /// - [Description("The `ISO 3166` country code of `GW`.")] - GW, + [Description("The `ISO 3166` country code of `GW`.")] + GW, /// ///The `ISO 3166` country code of `GY`. /// - [Description("The `ISO 3166` country code of `GY`.")] - GY, + [Description("The `ISO 3166` country code of `GY`.")] + GY, /// ///The `ISO 3166` country code of `HK`. /// - [Description("The `ISO 3166` country code of `HK`.")] - HK, + [Description("The `ISO 3166` country code of `HK`.")] + HK, /// ///The `ISO 3166` country code of `HM`. /// - [Description("The `ISO 3166` country code of `HM`.")] - HM, + [Description("The `ISO 3166` country code of `HM`.")] + HM, /// ///The `ISO 3166` country code of `HN`. /// - [Description("The `ISO 3166` country code of `HN`.")] - HN, + [Description("The `ISO 3166` country code of `HN`.")] + HN, /// ///The `ISO 3166` country code of `HR`. /// - [Description("The `ISO 3166` country code of `HR`.")] - HR, + [Description("The `ISO 3166` country code of `HR`.")] + HR, /// ///The `ISO 3166` country code of `HT`. /// - [Description("The `ISO 3166` country code of `HT`.")] - HT, + [Description("The `ISO 3166` country code of `HT`.")] + HT, /// ///The `ISO 3166` country code of `HU`. /// - [Description("The `ISO 3166` country code of `HU`.")] - HU, + [Description("The `ISO 3166` country code of `HU`.")] + HU, /// ///The `ISO 3166` country code of `ID`. /// - [Description("The `ISO 3166` country code of `ID`.")] - ID, + [Description("The `ISO 3166` country code of `ID`.")] + ID, /// ///The `ISO 3166` country code of `IE`. /// - [Description("The `ISO 3166` country code of `IE`.")] - IE, + [Description("The `ISO 3166` country code of `IE`.")] + IE, /// ///The `ISO 3166` country code of `IL`. /// - [Description("The `ISO 3166` country code of `IL`.")] - IL, + [Description("The `ISO 3166` country code of `IL`.")] + IL, /// ///The `ISO 3166` country code of `IM`. /// - [Description("The `ISO 3166` country code of `IM`.")] - IM, + [Description("The `ISO 3166` country code of `IM`.")] + IM, /// ///The `ISO 3166` country code of `IN`. /// - [Description("The `ISO 3166` country code of `IN`.")] - IN, + [Description("The `ISO 3166` country code of `IN`.")] + IN, /// ///The `ISO 3166` country code of `IO`. /// - [Description("The `ISO 3166` country code of `IO`.")] - IO, + [Description("The `ISO 3166` country code of `IO`.")] + IO, /// ///The `ISO 3166` country code of `IQ`. /// - [Description("The `ISO 3166` country code of `IQ`.")] - IQ, + [Description("The `ISO 3166` country code of `IQ`.")] + IQ, /// ///The `ISO 3166` country code of `IR`. /// - [Description("The `ISO 3166` country code of `IR`.")] - IR, + [Description("The `ISO 3166` country code of `IR`.")] + IR, /// ///The `ISO 3166` country code of `IS`. /// - [Description("The `ISO 3166` country code of `IS`.")] - IS, + [Description("The `ISO 3166` country code of `IS`.")] + IS, /// ///The `ISO 3166` country code of `IT`. /// - [Description("The `ISO 3166` country code of `IT`.")] - IT, + [Description("The `ISO 3166` country code of `IT`.")] + IT, /// ///The `ISO 3166` country code of `JE`. /// - [Description("The `ISO 3166` country code of `JE`.")] - JE, + [Description("The `ISO 3166` country code of `JE`.")] + JE, /// ///The `ISO 3166` country code of `JM`. /// - [Description("The `ISO 3166` country code of `JM`.")] - JM, + [Description("The `ISO 3166` country code of `JM`.")] + JM, /// ///The `ISO 3166` country code of `JO`. /// - [Description("The `ISO 3166` country code of `JO`.")] - JO, + [Description("The `ISO 3166` country code of `JO`.")] + JO, /// ///The `ISO 3166` country code of `JP`. /// - [Description("The `ISO 3166` country code of `JP`.")] - JP, + [Description("The `ISO 3166` country code of `JP`.")] + JP, /// ///The `ISO 3166` country code of `KE`. /// - [Description("The `ISO 3166` country code of `KE`.")] - KE, + [Description("The `ISO 3166` country code of `KE`.")] + KE, /// ///The `ISO 3166` country code of `KG`. /// - [Description("The `ISO 3166` country code of `KG`.")] - KG, + [Description("The `ISO 3166` country code of `KG`.")] + KG, /// ///The `ISO 3166` country code of `KH`. /// - [Description("The `ISO 3166` country code of `KH`.")] - KH, + [Description("The `ISO 3166` country code of `KH`.")] + KH, /// ///The `ISO 3166` country code of `KI`. /// - [Description("The `ISO 3166` country code of `KI`.")] - KI, + [Description("The `ISO 3166` country code of `KI`.")] + KI, /// ///The `ISO 3166` country code of `KM`. /// - [Description("The `ISO 3166` country code of `KM`.")] - KM, + [Description("The `ISO 3166` country code of `KM`.")] + KM, /// ///The `ISO 3166` country code of `KN`. /// - [Description("The `ISO 3166` country code of `KN`.")] - KN, + [Description("The `ISO 3166` country code of `KN`.")] + KN, /// ///The `ISO 3166` country code of `KP`. /// - [Description("The `ISO 3166` country code of `KP`.")] - KP, + [Description("The `ISO 3166` country code of `KP`.")] + KP, /// ///The `ISO 3166` country code of `KR`. /// - [Description("The `ISO 3166` country code of `KR`.")] - KR, + [Description("The `ISO 3166` country code of `KR`.")] + KR, /// ///The `ISO 3166` country code of `KW`. /// - [Description("The `ISO 3166` country code of `KW`.")] - KW, + [Description("The `ISO 3166` country code of `KW`.")] + KW, /// ///The `ISO 3166` country code of `KY`. /// - [Description("The `ISO 3166` country code of `KY`.")] - KY, + [Description("The `ISO 3166` country code of `KY`.")] + KY, /// ///The `ISO 3166` country code of `KZ`. /// - [Description("The `ISO 3166` country code of `KZ`.")] - KZ, + [Description("The `ISO 3166` country code of `KZ`.")] + KZ, /// ///The `ISO 3166` country code of `LA`. /// - [Description("The `ISO 3166` country code of `LA`.")] - LA, + [Description("The `ISO 3166` country code of `LA`.")] + LA, /// ///The `ISO 3166` country code of `LB`. /// - [Description("The `ISO 3166` country code of `LB`.")] - LB, + [Description("The `ISO 3166` country code of `LB`.")] + LB, /// ///The `ISO 3166` country code of `LC`. /// - [Description("The `ISO 3166` country code of `LC`.")] - LC, + [Description("The `ISO 3166` country code of `LC`.")] + LC, /// ///The `ISO 3166` country code of `LI`. /// - [Description("The `ISO 3166` country code of `LI`.")] - LI, + [Description("The `ISO 3166` country code of `LI`.")] + LI, /// ///The `ISO 3166` country code of `LK`. /// - [Description("The `ISO 3166` country code of `LK`.")] - LK, + [Description("The `ISO 3166` country code of `LK`.")] + LK, /// ///The `ISO 3166` country code of `LR`. /// - [Description("The `ISO 3166` country code of `LR`.")] - LR, + [Description("The `ISO 3166` country code of `LR`.")] + LR, /// ///The `ISO 3166` country code of `LS`. /// - [Description("The `ISO 3166` country code of `LS`.")] - LS, + [Description("The `ISO 3166` country code of `LS`.")] + LS, /// ///The `ISO 3166` country code of `LT`. /// - [Description("The `ISO 3166` country code of `LT`.")] - LT, + [Description("The `ISO 3166` country code of `LT`.")] + LT, /// ///The `ISO 3166` country code of `LU`. /// - [Description("The `ISO 3166` country code of `LU`.")] - LU, + [Description("The `ISO 3166` country code of `LU`.")] + LU, /// ///The `ISO 3166` country code of `LV`. /// - [Description("The `ISO 3166` country code of `LV`.")] - LV, + [Description("The `ISO 3166` country code of `LV`.")] + LV, /// ///The `ISO 3166` country code of `LY`. /// - [Description("The `ISO 3166` country code of `LY`.")] - LY, + [Description("The `ISO 3166` country code of `LY`.")] + LY, /// ///The `ISO 3166` country code of `MA`. /// - [Description("The `ISO 3166` country code of `MA`.")] - MA, + [Description("The `ISO 3166` country code of `MA`.")] + MA, /// ///The `ISO 3166` country code of `MC`. /// - [Description("The `ISO 3166` country code of `MC`.")] - MC, + [Description("The `ISO 3166` country code of `MC`.")] + MC, /// ///The `ISO 3166` country code of `MD`. /// - [Description("The `ISO 3166` country code of `MD`.")] - MD, + [Description("The `ISO 3166` country code of `MD`.")] + MD, /// ///The `ISO 3166` country code of `ME`. /// - [Description("The `ISO 3166` country code of `ME`.")] - ME, + [Description("The `ISO 3166` country code of `ME`.")] + ME, /// ///The `ISO 3166` country code of `MF`. /// - [Description("The `ISO 3166` country code of `MF`.")] - MF, + [Description("The `ISO 3166` country code of `MF`.")] + MF, /// ///The `ISO 3166` country code of `MG`. /// - [Description("The `ISO 3166` country code of `MG`.")] - MG, + [Description("The `ISO 3166` country code of `MG`.")] + MG, /// ///The `ISO 3166` country code of `MH`. /// - [Description("The `ISO 3166` country code of `MH`.")] - MH, + [Description("The `ISO 3166` country code of `MH`.")] + MH, /// ///The `ISO 3166` country code of `MK`. /// - [Description("The `ISO 3166` country code of `MK`.")] - MK, + [Description("The `ISO 3166` country code of `MK`.")] + MK, /// ///The `ISO 3166` country code of `ML`. /// - [Description("The `ISO 3166` country code of `ML`.")] - ML, + [Description("The `ISO 3166` country code of `ML`.")] + ML, /// ///The `ISO 3166` country code of `MM`. /// - [Description("The `ISO 3166` country code of `MM`.")] - MM, + [Description("The `ISO 3166` country code of `MM`.")] + MM, /// ///The `ISO 3166` country code of `MN`. /// - [Description("The `ISO 3166` country code of `MN`.")] - MN, + [Description("The `ISO 3166` country code of `MN`.")] + MN, /// ///The `ISO 3166` country code of `MO`. /// - [Description("The `ISO 3166` country code of `MO`.")] - MO, + [Description("The `ISO 3166` country code of `MO`.")] + MO, /// ///The `ISO 3166` country code of `MP`. /// - [Description("The `ISO 3166` country code of `MP`.")] - MP, + [Description("The `ISO 3166` country code of `MP`.")] + MP, /// ///The `ISO 3166` country code of `MQ`. /// - [Description("The `ISO 3166` country code of `MQ`.")] - MQ, + [Description("The `ISO 3166` country code of `MQ`.")] + MQ, /// ///The `ISO 3166` country code of `MR`. /// - [Description("The `ISO 3166` country code of `MR`.")] - MR, + [Description("The `ISO 3166` country code of `MR`.")] + MR, /// ///The `ISO 3166` country code of `MS`. /// - [Description("The `ISO 3166` country code of `MS`.")] - MS, + [Description("The `ISO 3166` country code of `MS`.")] + MS, /// ///The `ISO 3166` country code of `MT`. /// - [Description("The `ISO 3166` country code of `MT`.")] - MT, + [Description("The `ISO 3166` country code of `MT`.")] + MT, /// ///The `ISO 3166` country code of `MU`. /// - [Description("The `ISO 3166` country code of `MU`.")] - MU, + [Description("The `ISO 3166` country code of `MU`.")] + MU, /// ///The `ISO 3166` country code of `MV`. /// - [Description("The `ISO 3166` country code of `MV`.")] - MV, + [Description("The `ISO 3166` country code of `MV`.")] + MV, /// ///The `ISO 3166` country code of `MW`. /// - [Description("The `ISO 3166` country code of `MW`.")] - MW, + [Description("The `ISO 3166` country code of `MW`.")] + MW, /// ///The `ISO 3166` country code of `MX`. /// - [Description("The `ISO 3166` country code of `MX`.")] - MX, + [Description("The `ISO 3166` country code of `MX`.")] + MX, /// ///The `ISO 3166` country code of `MY`. /// - [Description("The `ISO 3166` country code of `MY`.")] - MY, + [Description("The `ISO 3166` country code of `MY`.")] + MY, /// ///The `ISO 3166` country code of `MZ`. /// - [Description("The `ISO 3166` country code of `MZ`.")] - MZ, + [Description("The `ISO 3166` country code of `MZ`.")] + MZ, /// ///The `ISO 3166` country code of `NA`. /// - [Description("The `ISO 3166` country code of `NA`.")] - NA, + [Description("The `ISO 3166` country code of `NA`.")] + NA, /// ///The `ISO 3166` country code of `NC`. /// - [Description("The `ISO 3166` country code of `NC`.")] - NC, + [Description("The `ISO 3166` country code of `NC`.")] + NC, /// ///The `ISO 3166` country code of `NE`. /// - [Description("The `ISO 3166` country code of `NE`.")] - NE, + [Description("The `ISO 3166` country code of `NE`.")] + NE, /// ///The `ISO 3166` country code of `NF`. /// - [Description("The `ISO 3166` country code of `NF`.")] - NF, + [Description("The `ISO 3166` country code of `NF`.")] + NF, /// ///The `ISO 3166` country code of `NG`. /// - [Description("The `ISO 3166` country code of `NG`.")] - NG, + [Description("The `ISO 3166` country code of `NG`.")] + NG, /// ///The `ISO 3166` country code of `NI`. /// - [Description("The `ISO 3166` country code of `NI`.")] - NI, + [Description("The `ISO 3166` country code of `NI`.")] + NI, /// ///The `ISO 3166` country code of `NL`. /// - [Description("The `ISO 3166` country code of `NL`.")] - NL, + [Description("The `ISO 3166` country code of `NL`.")] + NL, /// ///The `ISO 3166` country code of `NO`. /// - [Description("The `ISO 3166` country code of `NO`.")] - NO, + [Description("The `ISO 3166` country code of `NO`.")] + NO, /// ///The `ISO 3166` country code of `NP`. /// - [Description("The `ISO 3166` country code of `NP`.")] - NP, + [Description("The `ISO 3166` country code of `NP`.")] + NP, /// ///The `ISO 3166` country code of `NR`. /// - [Description("The `ISO 3166` country code of `NR`.")] - NR, + [Description("The `ISO 3166` country code of `NR`.")] + NR, /// ///The `ISO 3166` country code of `NS`. /// - [Description("The `ISO 3166` country code of `NS`.")] - NS, + [Description("The `ISO 3166` country code of `NS`.")] + NS, /// ///The `ISO 3166` country code of `NU`. /// - [Description("The `ISO 3166` country code of `NU`.")] - NU, + [Description("The `ISO 3166` country code of `NU`.")] + NU, /// ///The `ISO 3166` country code of `NZ`. /// - [Description("The `ISO 3166` country code of `NZ`.")] - NZ, + [Description("The `ISO 3166` country code of `NZ`.")] + NZ, /// ///The `ISO 3166` country code of `OM`. /// - [Description("The `ISO 3166` country code of `OM`.")] - OM, + [Description("The `ISO 3166` country code of `OM`.")] + OM, /// ///The `ISO 3166` country code of `PA`. /// - [Description("The `ISO 3166` country code of `PA`.")] - PA, + [Description("The `ISO 3166` country code of `PA`.")] + PA, /// ///The `ISO 3166` country code of `PE`. /// - [Description("The `ISO 3166` country code of `PE`.")] - PE, + [Description("The `ISO 3166` country code of `PE`.")] + PE, /// ///The `ISO 3166` country code of `PF`. /// - [Description("The `ISO 3166` country code of `PF`.")] - PF, + [Description("The `ISO 3166` country code of `PF`.")] + PF, /// ///The `ISO 3166` country code of `PG`. /// - [Description("The `ISO 3166` country code of `PG`.")] - PG, + [Description("The `ISO 3166` country code of `PG`.")] + PG, /// ///The `ISO 3166` country code of `PH`. /// - [Description("The `ISO 3166` country code of `PH`.")] - PH, + [Description("The `ISO 3166` country code of `PH`.")] + PH, /// ///The `ISO 3166` country code of `PK`. /// - [Description("The `ISO 3166` country code of `PK`.")] - PK, + [Description("The `ISO 3166` country code of `PK`.")] + PK, /// ///The `ISO 3166` country code of `PL`. /// - [Description("The `ISO 3166` country code of `PL`.")] - PL, + [Description("The `ISO 3166` country code of `PL`.")] + PL, /// ///The `ISO 3166` country code of `PM`. /// - [Description("The `ISO 3166` country code of `PM`.")] - PM, + [Description("The `ISO 3166` country code of `PM`.")] + PM, /// ///The `ISO 3166` country code of `PN`. /// - [Description("The `ISO 3166` country code of `PN`.")] - PN, + [Description("The `ISO 3166` country code of `PN`.")] + PN, /// ///The `ISO 3166` country code of `PR`. /// - [Description("The `ISO 3166` country code of `PR`.")] - PR, + [Description("The `ISO 3166` country code of `PR`.")] + PR, /// ///The `ISO 3166` country code of `PS`. /// - [Description("The `ISO 3166` country code of `PS`.")] - PS, + [Description("The `ISO 3166` country code of `PS`.")] + PS, /// ///The `ISO 3166` country code of `PT`. /// - [Description("The `ISO 3166` country code of `PT`.")] - PT, + [Description("The `ISO 3166` country code of `PT`.")] + PT, /// ///The `ISO 3166` country code of `PW`. /// - [Description("The `ISO 3166` country code of `PW`.")] - PW, + [Description("The `ISO 3166` country code of `PW`.")] + PW, /// ///The `ISO 3166` country code of `PY`. /// - [Description("The `ISO 3166` country code of `PY`.")] - PY, + [Description("The `ISO 3166` country code of `PY`.")] + PY, /// ///The `ISO 3166` country code of `QA`. /// - [Description("The `ISO 3166` country code of `QA`.")] - QA, + [Description("The `ISO 3166` country code of `QA`.")] + QA, /// ///The `ISO 3166` country code of `RE`. /// - [Description("The `ISO 3166` country code of `RE`.")] - RE, + [Description("The `ISO 3166` country code of `RE`.")] + RE, /// ///The `ISO 3166` country code of `RO`. /// - [Description("The `ISO 3166` country code of `RO`.")] - RO, + [Description("The `ISO 3166` country code of `RO`.")] + RO, /// ///The `ISO 3166` country code of `RS`. /// - [Description("The `ISO 3166` country code of `RS`.")] - RS, + [Description("The `ISO 3166` country code of `RS`.")] + RS, /// ///The `ISO 3166` country code of `RU`. /// - [Description("The `ISO 3166` country code of `RU`.")] - RU, + [Description("The `ISO 3166` country code of `RU`.")] + RU, /// ///The `ISO 3166` country code of `RW`. /// - [Description("The `ISO 3166` country code of `RW`.")] - RW, + [Description("The `ISO 3166` country code of `RW`.")] + RW, /// ///The `ISO 3166` country code of `SA`. /// - [Description("The `ISO 3166` country code of `SA`.")] - SA, + [Description("The `ISO 3166` country code of `SA`.")] + SA, /// ///The `ISO 3166` country code of `SB`. /// - [Description("The `ISO 3166` country code of `SB`.")] - SB, + [Description("The `ISO 3166` country code of `SB`.")] + SB, /// ///The `ISO 3166` country code of `SC`. /// - [Description("The `ISO 3166` country code of `SC`.")] - SC, + [Description("The `ISO 3166` country code of `SC`.")] + SC, /// ///The `ISO 3166` country code of `SD`. /// - [Description("The `ISO 3166` country code of `SD`.")] - SD, + [Description("The `ISO 3166` country code of `SD`.")] + SD, /// ///The `ISO 3166` country code of `SE`. /// - [Description("The `ISO 3166` country code of `SE`.")] - SE, + [Description("The `ISO 3166` country code of `SE`.")] + SE, /// ///The `ISO 3166` country code of `SG`. /// - [Description("The `ISO 3166` country code of `SG`.")] - SG, + [Description("The `ISO 3166` country code of `SG`.")] + SG, /// ///The `ISO 3166` country code of `SH`. /// - [Description("The `ISO 3166` country code of `SH`.")] - SH, + [Description("The `ISO 3166` country code of `SH`.")] + SH, /// ///The `ISO 3166` country code of `SI`. /// - [Description("The `ISO 3166` country code of `SI`.")] - SI, + [Description("The `ISO 3166` country code of `SI`.")] + SI, /// ///The `ISO 3166` country code of `SJ`. /// - [Description("The `ISO 3166` country code of `SJ`.")] - SJ, + [Description("The `ISO 3166` country code of `SJ`.")] + SJ, /// ///The `ISO 3166` country code of `SK`. /// - [Description("The `ISO 3166` country code of `SK`.")] - SK, + [Description("The `ISO 3166` country code of `SK`.")] + SK, /// ///The `ISO 3166` country code of `SL`. /// - [Description("The `ISO 3166` country code of `SL`.")] - SL, + [Description("The `ISO 3166` country code of `SL`.")] + SL, /// ///The `ISO 3166` country code of `SM`. /// - [Description("The `ISO 3166` country code of `SM`.")] - SM, + [Description("The `ISO 3166` country code of `SM`.")] + SM, /// ///The `ISO 3166` country code of `SN`. /// - [Description("The `ISO 3166` country code of `SN`.")] - SN, + [Description("The `ISO 3166` country code of `SN`.")] + SN, /// ///The `ISO 3166` country code of `SO`. /// - [Description("The `ISO 3166` country code of `SO`.")] - SO, + [Description("The `ISO 3166` country code of `SO`.")] + SO, /// ///The `ISO 3166` country code of `SR`. /// - [Description("The `ISO 3166` country code of `SR`.")] - SR, + [Description("The `ISO 3166` country code of `SR`.")] + SR, /// ///The `ISO 3166` country code of `SS`. /// - [Description("The `ISO 3166` country code of `SS`.")] - SS, + [Description("The `ISO 3166` country code of `SS`.")] + SS, /// ///The `ISO 3166` country code of `ST`. /// - [Description("The `ISO 3166` country code of `ST`.")] - ST, + [Description("The `ISO 3166` country code of `ST`.")] + ST, /// ///The `ISO 3166` country code of `SV`. /// - [Description("The `ISO 3166` country code of `SV`.")] - SV, + [Description("The `ISO 3166` country code of `SV`.")] + SV, /// ///The `ISO 3166` country code of `SX`. /// - [Description("The `ISO 3166` country code of `SX`.")] - SX, + [Description("The `ISO 3166` country code of `SX`.")] + SX, /// ///The `ISO 3166` country code of `SY`. /// - [Description("The `ISO 3166` country code of `SY`.")] - SY, + [Description("The `ISO 3166` country code of `SY`.")] + SY, /// ///The `ISO 3166` country code of `SZ`. /// - [Description("The `ISO 3166` country code of `SZ`.")] - SZ, + [Description("The `ISO 3166` country code of `SZ`.")] + SZ, /// ///The `ISO 3166` country code of `TA`. /// - [Description("The `ISO 3166` country code of `TA`.")] - TA, + [Description("The `ISO 3166` country code of `TA`.")] + TA, /// ///The `ISO 3166` country code of `TC`. /// - [Description("The `ISO 3166` country code of `TC`.")] - TC, + [Description("The `ISO 3166` country code of `TC`.")] + TC, /// ///The `ISO 3166` country code of `TD`. /// - [Description("The `ISO 3166` country code of `TD`.")] - TD, + [Description("The `ISO 3166` country code of `TD`.")] + TD, /// ///The `ISO 3166` country code of `TF`. /// - [Description("The `ISO 3166` country code of `TF`.")] - TF, + [Description("The `ISO 3166` country code of `TF`.")] + TF, /// ///The `ISO 3166` country code of `TG`. /// - [Description("The `ISO 3166` country code of `TG`.")] - TG, + [Description("The `ISO 3166` country code of `TG`.")] + TG, /// ///The `ISO 3166` country code of `TH`. /// - [Description("The `ISO 3166` country code of `TH`.")] - TH, + [Description("The `ISO 3166` country code of `TH`.")] + TH, /// ///The `ISO 3166` country code of `TJ`. /// - [Description("The `ISO 3166` country code of `TJ`.")] - TJ, + [Description("The `ISO 3166` country code of `TJ`.")] + TJ, /// ///The `ISO 3166` country code of `TK`. /// - [Description("The `ISO 3166` country code of `TK`.")] - TK, + [Description("The `ISO 3166` country code of `TK`.")] + TK, /// ///The `ISO 3166` country code of `TL`. /// - [Description("The `ISO 3166` country code of `TL`.")] - TL, + [Description("The `ISO 3166` country code of `TL`.")] + TL, /// ///The `ISO 3166` country code of `TM`. /// - [Description("The `ISO 3166` country code of `TM`.")] - TM, + [Description("The `ISO 3166` country code of `TM`.")] + TM, /// ///The `ISO 3166` country code of `TN`. /// - [Description("The `ISO 3166` country code of `TN`.")] - TN, + [Description("The `ISO 3166` country code of `TN`.")] + TN, /// ///The `ISO 3166` country code of `TO`. /// - [Description("The `ISO 3166` country code of `TO`.")] - TO, + [Description("The `ISO 3166` country code of `TO`.")] + TO, /// ///The `ISO 3166` country code of `TR`. /// - [Description("The `ISO 3166` country code of `TR`.")] - TR, + [Description("The `ISO 3166` country code of `TR`.")] + TR, /// ///The `ISO 3166` country code of `TT`. /// - [Description("The `ISO 3166` country code of `TT`.")] - TT, + [Description("The `ISO 3166` country code of `TT`.")] + TT, /// ///The `ISO 3166` country code of `TV`. /// - [Description("The `ISO 3166` country code of `TV`.")] - TV, + [Description("The `ISO 3166` country code of `TV`.")] + TV, /// ///The `ISO 3166` country code of `TW`. /// - [Description("The `ISO 3166` country code of `TW`.")] - TW, + [Description("The `ISO 3166` country code of `TW`.")] + TW, /// ///The `ISO 3166` country code of `TZ`. /// - [Description("The `ISO 3166` country code of `TZ`.")] - TZ, + [Description("The `ISO 3166` country code of `TZ`.")] + TZ, /// ///The `ISO 3166` country code of `UA`. /// - [Description("The `ISO 3166` country code of `UA`.")] - UA, + [Description("The `ISO 3166` country code of `UA`.")] + UA, /// ///The `ISO 3166` country code of `UG`. /// - [Description("The `ISO 3166` country code of `UG`.")] - UG, + [Description("The `ISO 3166` country code of `UG`.")] + UG, /// ///The `ISO 3166` country code of `UM`. /// - [Description("The `ISO 3166` country code of `UM`.")] - UM, + [Description("The `ISO 3166` country code of `UM`.")] + UM, /// ///The `ISO 3166` country code of `US`. /// - [Description("The `ISO 3166` country code of `US`.")] - US, + [Description("The `ISO 3166` country code of `US`.")] + US, /// ///The `ISO 3166` country code of `UY`. /// - [Description("The `ISO 3166` country code of `UY`.")] - UY, + [Description("The `ISO 3166` country code of `UY`.")] + UY, /// ///The `ISO 3166` country code of `UZ`. /// - [Description("The `ISO 3166` country code of `UZ`.")] - UZ, + [Description("The `ISO 3166` country code of `UZ`.")] + UZ, /// ///The `ISO 3166` country code of `VA`. /// - [Description("The `ISO 3166` country code of `VA`.")] - VA, + [Description("The `ISO 3166` country code of `VA`.")] + VA, /// ///The `ISO 3166` country code of `VC`. /// - [Description("The `ISO 3166` country code of `VC`.")] - VC, + [Description("The `ISO 3166` country code of `VC`.")] + VC, /// ///The `ISO 3166` country code of `VE`. /// - [Description("The `ISO 3166` country code of `VE`.")] - VE, + [Description("The `ISO 3166` country code of `VE`.")] + VE, /// ///The `ISO 3166` country code of `VG`. /// - [Description("The `ISO 3166` country code of `VG`.")] - VG, + [Description("The `ISO 3166` country code of `VG`.")] + VG, /// ///The `ISO 3166` country code of `VI`. /// - [Description("The `ISO 3166` country code of `VI`.")] - VI, + [Description("The `ISO 3166` country code of `VI`.")] + VI, /// ///The `ISO 3166` country code of `VN`. /// - [Description("The `ISO 3166` country code of `VN`.")] - VN, + [Description("The `ISO 3166` country code of `VN`.")] + VN, /// ///The `ISO 3166` country code of `VU`. /// - [Description("The `ISO 3166` country code of `VU`.")] - VU, + [Description("The `ISO 3166` country code of `VU`.")] + VU, /// ///The `ISO 3166` country code of `WF`. /// - [Description("The `ISO 3166` country code of `WF`.")] - WF, + [Description("The `ISO 3166` country code of `WF`.")] + WF, /// ///The `ISO 3166` country code of `WS`. /// - [Description("The `ISO 3166` country code of `WS`.")] - WS, + [Description("The `ISO 3166` country code of `WS`.")] + WS, /// ///The `ISO 3166` country code of `XK`. /// - [Description("The `ISO 3166` country code of `XK`.")] - XK, + [Description("The `ISO 3166` country code of `XK`.")] + XK, /// ///The `ISO 3166` country code of `YE`. /// - [Description("The `ISO 3166` country code of `YE`.")] - YE, + [Description("The `ISO 3166` country code of `YE`.")] + YE, /// ///The `ISO 3166` country code of `YT`. /// - [Description("The `ISO 3166` country code of `YT`.")] - YT, + [Description("The `ISO 3166` country code of `YT`.")] + YT, /// ///The `ISO 3166` country code of `ZA`. /// - [Description("The `ISO 3166` country code of `ZA`.")] - ZA, + [Description("The `ISO 3166` country code of `ZA`.")] + ZA, /// ///The `ISO 3166` country code of `ZM`. /// - [Description("The `ISO 3166` country code of `ZM`.")] - ZM, + [Description("The `ISO 3166` country code of `ZM`.")] + ZM, /// ///The `ISO 3166` country code of `ZW`. /// - [Description("The `ISO 3166` country code of `ZW`.")] - ZW, + [Description("The `ISO 3166` country code of `ZW`.")] + ZW, /// ///The `ISO 3166` country code of `XX`. /// - [Description("The `ISO 3166` country code of `XX`.")] - XX, - } - - public static class PrivacyCountryCodeStringValues - { - public const string AN = @"AN"; - public const string AC = @"AC"; - public const string AD = @"AD"; - public const string AE = @"AE"; - public const string AF = @"AF"; - public const string AG = @"AG"; - public const string AI = @"AI"; - public const string AL = @"AL"; - public const string AM = @"AM"; - public const string AO = @"AO"; - public const string AQ = @"AQ"; - public const string AR = @"AR"; - public const string AS = @"AS"; - public const string AT = @"AT"; - public const string AU = @"AU"; - public const string AW = @"AW"; - public const string AX = @"AX"; - public const string AZ = @"AZ"; - public const string BA = @"BA"; - public const string BB = @"BB"; - public const string BD = @"BD"; - public const string BE = @"BE"; - public const string BF = @"BF"; - public const string BG = @"BG"; - public const string BH = @"BH"; - public const string BI = @"BI"; - public const string BJ = @"BJ"; - public const string BL = @"BL"; - public const string BM = @"BM"; - public const string BN = @"BN"; - public const string BO = @"BO"; - public const string BQ = @"BQ"; - public const string BR = @"BR"; - public const string BS = @"BS"; - public const string BT = @"BT"; - public const string BV = @"BV"; - public const string BW = @"BW"; - public const string BY = @"BY"; - public const string BZ = @"BZ"; - public const string CA = @"CA"; - public const string CC = @"CC"; - public const string CD = @"CD"; - public const string CF = @"CF"; - public const string CG = @"CG"; - public const string CH = @"CH"; - public const string CI = @"CI"; - public const string CK = @"CK"; - public const string CL = @"CL"; - public const string CM = @"CM"; - public const string CN = @"CN"; - public const string CO = @"CO"; - public const string CR = @"CR"; - public const string CU = @"CU"; - public const string CV = @"CV"; - public const string CW = @"CW"; - public const string CX = @"CX"; - public const string CY = @"CY"; - public const string CZ = @"CZ"; - public const string DE = @"DE"; - public const string DJ = @"DJ"; - public const string DK = @"DK"; - public const string DM = @"DM"; - public const string DO = @"DO"; - public const string DZ = @"DZ"; - public const string EC = @"EC"; - public const string EE = @"EE"; - public const string EG = @"EG"; - public const string EH = @"EH"; - public const string ER = @"ER"; - public const string ES = @"ES"; - public const string ET = @"ET"; - public const string FI = @"FI"; - public const string FJ = @"FJ"; - public const string FK = @"FK"; - public const string FM = @"FM"; - public const string FO = @"FO"; - public const string FR = @"FR"; - public const string GA = @"GA"; - public const string GB = @"GB"; - public const string GD = @"GD"; - public const string GE = @"GE"; - public const string GF = @"GF"; - public const string GG = @"GG"; - public const string GH = @"GH"; - public const string GI = @"GI"; - public const string GL = @"GL"; - public const string GM = @"GM"; - public const string GN = @"GN"; - public const string GP = @"GP"; - public const string GQ = @"GQ"; - public const string GR = @"GR"; - public const string GS = @"GS"; - public const string GT = @"GT"; - public const string GU = @"GU"; - public const string GW = @"GW"; - public const string GY = @"GY"; - public const string HK = @"HK"; - public const string HM = @"HM"; - public const string HN = @"HN"; - public const string HR = @"HR"; - public const string HT = @"HT"; - public const string HU = @"HU"; - public const string ID = @"ID"; - public const string IE = @"IE"; - public const string IL = @"IL"; - public const string IM = @"IM"; - public const string IN = @"IN"; - public const string IO = @"IO"; - public const string IQ = @"IQ"; - public const string IR = @"IR"; - public const string IS = @"IS"; - public const string IT = @"IT"; - public const string JE = @"JE"; - public const string JM = @"JM"; - public const string JO = @"JO"; - public const string JP = @"JP"; - public const string KE = @"KE"; - public const string KG = @"KG"; - public const string KH = @"KH"; - public const string KI = @"KI"; - public const string KM = @"KM"; - public const string KN = @"KN"; - public const string KP = @"KP"; - public const string KR = @"KR"; - public const string KW = @"KW"; - public const string KY = @"KY"; - public const string KZ = @"KZ"; - public const string LA = @"LA"; - public const string LB = @"LB"; - public const string LC = @"LC"; - public const string LI = @"LI"; - public const string LK = @"LK"; - public const string LR = @"LR"; - public const string LS = @"LS"; - public const string LT = @"LT"; - public const string LU = @"LU"; - public const string LV = @"LV"; - public const string LY = @"LY"; - public const string MA = @"MA"; - public const string MC = @"MC"; - public const string MD = @"MD"; - public const string ME = @"ME"; - public const string MF = @"MF"; - public const string MG = @"MG"; - public const string MH = @"MH"; - public const string MK = @"MK"; - public const string ML = @"ML"; - public const string MM = @"MM"; - public const string MN = @"MN"; - public const string MO = @"MO"; - public const string MP = @"MP"; - public const string MQ = @"MQ"; - public const string MR = @"MR"; - public const string MS = @"MS"; - public const string MT = @"MT"; - public const string MU = @"MU"; - public const string MV = @"MV"; - public const string MW = @"MW"; - public const string MX = @"MX"; - public const string MY = @"MY"; - public const string MZ = @"MZ"; - public const string NA = @"NA"; - public const string NC = @"NC"; - public const string NE = @"NE"; - public const string NF = @"NF"; - public const string NG = @"NG"; - public const string NI = @"NI"; - public const string NL = @"NL"; - public const string NO = @"NO"; - public const string NP = @"NP"; - public const string NR = @"NR"; - public const string NS = @"NS"; - public const string NU = @"NU"; - public const string NZ = @"NZ"; - public const string OM = @"OM"; - public const string PA = @"PA"; - public const string PE = @"PE"; - public const string PF = @"PF"; - public const string PG = @"PG"; - public const string PH = @"PH"; - public const string PK = @"PK"; - public const string PL = @"PL"; - public const string PM = @"PM"; - public const string PN = @"PN"; - public const string PR = @"PR"; - public const string PS = @"PS"; - public const string PT = @"PT"; - public const string PW = @"PW"; - public const string PY = @"PY"; - public const string QA = @"QA"; - public const string RE = @"RE"; - public const string RO = @"RO"; - public const string RS = @"RS"; - public const string RU = @"RU"; - public const string RW = @"RW"; - public const string SA = @"SA"; - public const string SB = @"SB"; - public const string SC = @"SC"; - public const string SD = @"SD"; - public const string SE = @"SE"; - public const string SG = @"SG"; - public const string SH = @"SH"; - public const string SI = @"SI"; - public const string SJ = @"SJ"; - public const string SK = @"SK"; - public const string SL = @"SL"; - public const string SM = @"SM"; - public const string SN = @"SN"; - public const string SO = @"SO"; - public const string SR = @"SR"; - public const string SS = @"SS"; - public const string ST = @"ST"; - public const string SV = @"SV"; - public const string SX = @"SX"; - public const string SY = @"SY"; - public const string SZ = @"SZ"; - public const string TA = @"TA"; - public const string TC = @"TC"; - public const string TD = @"TD"; - public const string TF = @"TF"; - public const string TG = @"TG"; - public const string TH = @"TH"; - public const string TJ = @"TJ"; - public const string TK = @"TK"; - public const string TL = @"TL"; - public const string TM = @"TM"; - public const string TN = @"TN"; - public const string TO = @"TO"; - public const string TR = @"TR"; - public const string TT = @"TT"; - public const string TV = @"TV"; - public const string TW = @"TW"; - public const string TZ = @"TZ"; - public const string UA = @"UA"; - public const string UG = @"UG"; - public const string UM = @"UM"; - public const string US = @"US"; - public const string UY = @"UY"; - public const string UZ = @"UZ"; - public const string VA = @"VA"; - public const string VC = @"VC"; - public const string VE = @"VE"; - public const string VG = @"VG"; - public const string VI = @"VI"; - public const string VN = @"VN"; - public const string VU = @"VU"; - public const string WF = @"WF"; - public const string WS = @"WS"; - public const string XK = @"XK"; - public const string YE = @"YE"; - public const string YT = @"YT"; - public const string ZA = @"ZA"; - public const string ZM = @"ZM"; - public const string ZW = @"ZW"; - public const string XX = @"XX"; - } - + [Description("The `ISO 3166` country code of `XX`.")] + XX, + } + + public static class PrivacyCountryCodeStringValues + { + public const string AN = @"AN"; + public const string AC = @"AC"; + public const string AD = @"AD"; + public const string AE = @"AE"; + public const string AF = @"AF"; + public const string AG = @"AG"; + public const string AI = @"AI"; + public const string AL = @"AL"; + public const string AM = @"AM"; + public const string AO = @"AO"; + public const string AQ = @"AQ"; + public const string AR = @"AR"; + public const string AS = @"AS"; + public const string AT = @"AT"; + public const string AU = @"AU"; + public const string AW = @"AW"; + public const string AX = @"AX"; + public const string AZ = @"AZ"; + public const string BA = @"BA"; + public const string BB = @"BB"; + public const string BD = @"BD"; + public const string BE = @"BE"; + public const string BF = @"BF"; + public const string BG = @"BG"; + public const string BH = @"BH"; + public const string BI = @"BI"; + public const string BJ = @"BJ"; + public const string BL = @"BL"; + public const string BM = @"BM"; + public const string BN = @"BN"; + public const string BO = @"BO"; + public const string BQ = @"BQ"; + public const string BR = @"BR"; + public const string BS = @"BS"; + public const string BT = @"BT"; + public const string BV = @"BV"; + public const string BW = @"BW"; + public const string BY = @"BY"; + public const string BZ = @"BZ"; + public const string CA = @"CA"; + public const string CC = @"CC"; + public const string CD = @"CD"; + public const string CF = @"CF"; + public const string CG = @"CG"; + public const string CH = @"CH"; + public const string CI = @"CI"; + public const string CK = @"CK"; + public const string CL = @"CL"; + public const string CM = @"CM"; + public const string CN = @"CN"; + public const string CO = @"CO"; + public const string CR = @"CR"; + public const string CU = @"CU"; + public const string CV = @"CV"; + public const string CW = @"CW"; + public const string CX = @"CX"; + public const string CY = @"CY"; + public const string CZ = @"CZ"; + public const string DE = @"DE"; + public const string DJ = @"DJ"; + public const string DK = @"DK"; + public const string DM = @"DM"; + public const string DO = @"DO"; + public const string DZ = @"DZ"; + public const string EC = @"EC"; + public const string EE = @"EE"; + public const string EG = @"EG"; + public const string EH = @"EH"; + public const string ER = @"ER"; + public const string ES = @"ES"; + public const string ET = @"ET"; + public const string FI = @"FI"; + public const string FJ = @"FJ"; + public const string FK = @"FK"; + public const string FM = @"FM"; + public const string FO = @"FO"; + public const string FR = @"FR"; + public const string GA = @"GA"; + public const string GB = @"GB"; + public const string GD = @"GD"; + public const string GE = @"GE"; + public const string GF = @"GF"; + public const string GG = @"GG"; + public const string GH = @"GH"; + public const string GI = @"GI"; + public const string GL = @"GL"; + public const string GM = @"GM"; + public const string GN = @"GN"; + public const string GP = @"GP"; + public const string GQ = @"GQ"; + public const string GR = @"GR"; + public const string GS = @"GS"; + public const string GT = @"GT"; + public const string GU = @"GU"; + public const string GW = @"GW"; + public const string GY = @"GY"; + public const string HK = @"HK"; + public const string HM = @"HM"; + public const string HN = @"HN"; + public const string HR = @"HR"; + public const string HT = @"HT"; + public const string HU = @"HU"; + public const string ID = @"ID"; + public const string IE = @"IE"; + public const string IL = @"IL"; + public const string IM = @"IM"; + public const string IN = @"IN"; + public const string IO = @"IO"; + public const string IQ = @"IQ"; + public const string IR = @"IR"; + public const string IS = @"IS"; + public const string IT = @"IT"; + public const string JE = @"JE"; + public const string JM = @"JM"; + public const string JO = @"JO"; + public const string JP = @"JP"; + public const string KE = @"KE"; + public const string KG = @"KG"; + public const string KH = @"KH"; + public const string KI = @"KI"; + public const string KM = @"KM"; + public const string KN = @"KN"; + public const string KP = @"KP"; + public const string KR = @"KR"; + public const string KW = @"KW"; + public const string KY = @"KY"; + public const string KZ = @"KZ"; + public const string LA = @"LA"; + public const string LB = @"LB"; + public const string LC = @"LC"; + public const string LI = @"LI"; + public const string LK = @"LK"; + public const string LR = @"LR"; + public const string LS = @"LS"; + public const string LT = @"LT"; + public const string LU = @"LU"; + public const string LV = @"LV"; + public const string LY = @"LY"; + public const string MA = @"MA"; + public const string MC = @"MC"; + public const string MD = @"MD"; + public const string ME = @"ME"; + public const string MF = @"MF"; + public const string MG = @"MG"; + public const string MH = @"MH"; + public const string MK = @"MK"; + public const string ML = @"ML"; + public const string MM = @"MM"; + public const string MN = @"MN"; + public const string MO = @"MO"; + public const string MP = @"MP"; + public const string MQ = @"MQ"; + public const string MR = @"MR"; + public const string MS = @"MS"; + public const string MT = @"MT"; + public const string MU = @"MU"; + public const string MV = @"MV"; + public const string MW = @"MW"; + public const string MX = @"MX"; + public const string MY = @"MY"; + public const string MZ = @"MZ"; + public const string NA = @"NA"; + public const string NC = @"NC"; + public const string NE = @"NE"; + public const string NF = @"NF"; + public const string NG = @"NG"; + public const string NI = @"NI"; + public const string NL = @"NL"; + public const string NO = @"NO"; + public const string NP = @"NP"; + public const string NR = @"NR"; + public const string NS = @"NS"; + public const string NU = @"NU"; + public const string NZ = @"NZ"; + public const string OM = @"OM"; + public const string PA = @"PA"; + public const string PE = @"PE"; + public const string PF = @"PF"; + public const string PG = @"PG"; + public const string PH = @"PH"; + public const string PK = @"PK"; + public const string PL = @"PL"; + public const string PM = @"PM"; + public const string PN = @"PN"; + public const string PR = @"PR"; + public const string PS = @"PS"; + public const string PT = @"PT"; + public const string PW = @"PW"; + public const string PY = @"PY"; + public const string QA = @"QA"; + public const string RE = @"RE"; + public const string RO = @"RO"; + public const string RS = @"RS"; + public const string RU = @"RU"; + public const string RW = @"RW"; + public const string SA = @"SA"; + public const string SB = @"SB"; + public const string SC = @"SC"; + public const string SD = @"SD"; + public const string SE = @"SE"; + public const string SG = @"SG"; + public const string SH = @"SH"; + public const string SI = @"SI"; + public const string SJ = @"SJ"; + public const string SK = @"SK"; + public const string SL = @"SL"; + public const string SM = @"SM"; + public const string SN = @"SN"; + public const string SO = @"SO"; + public const string SR = @"SR"; + public const string SS = @"SS"; + public const string ST = @"ST"; + public const string SV = @"SV"; + public const string SX = @"SX"; + public const string SY = @"SY"; + public const string SZ = @"SZ"; + public const string TA = @"TA"; + public const string TC = @"TC"; + public const string TD = @"TD"; + public const string TF = @"TF"; + public const string TG = @"TG"; + public const string TH = @"TH"; + public const string TJ = @"TJ"; + public const string TK = @"TK"; + public const string TL = @"TL"; + public const string TM = @"TM"; + public const string TN = @"TN"; + public const string TO = @"TO"; + public const string TR = @"TR"; + public const string TT = @"TT"; + public const string TV = @"TV"; + public const string TW = @"TW"; + public const string TZ = @"TZ"; + public const string UA = @"UA"; + public const string UG = @"UG"; + public const string UM = @"UM"; + public const string US = @"US"; + public const string UY = @"UY"; + public const string UZ = @"UZ"; + public const string VA = @"VA"; + public const string VC = @"VC"; + public const string VE = @"VE"; + public const string VG = @"VG"; + public const string VI = @"VI"; + public const string VN = @"VN"; + public const string VU = @"VU"; + public const string WF = @"WF"; + public const string WS = @"WS"; + public const string XK = @"XK"; + public const string YE = @"YE"; + public const string YT = @"YT"; + public const string ZA = @"ZA"; + public const string ZM = @"ZM"; + public const string ZW = @"ZW"; + public const string XX = @"XX"; + } + /// ///Return type for `privacyFeaturesDisable` mutation. /// - [Description("Return type for `privacyFeaturesDisable` mutation.")] - public class PrivacyFeaturesDisablePayload : GraphQLObject - { + [Description("Return type for `privacyFeaturesDisable` mutation.")] + public class PrivacyFeaturesDisablePayload : GraphQLObject + { /// ///The privacy features that were disabled. /// - [Description("The privacy features that were disabled.")] - public IEnumerable? featuresDisabled { get; set; } - + [Description("The privacy features that were disabled.")] + public IEnumerable? featuresDisabled { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `PrivacyFeaturesDisable`. /// - [Description("An error that occurs during the execution of `PrivacyFeaturesDisable`.")] - public class PrivacyFeaturesDisableUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PrivacyFeaturesDisable`.")] + public class PrivacyFeaturesDisableUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PrivacyFeaturesDisableUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PrivacyFeaturesDisableUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PrivacyFeaturesDisableUserError`. /// - [Description("Possible error codes that can be returned by `PrivacyFeaturesDisableUserError`.")] - public enum PrivacyFeaturesDisableUserErrorCode - { + [Description("Possible error codes that can be returned by `PrivacyFeaturesDisableUserError`.")] + public enum PrivacyFeaturesDisableUserErrorCode + { /// ///Failed to disable privacy features. /// - [Description("Failed to disable privacy features.")] - FAILED, - } - - public static class PrivacyFeaturesDisableUserErrorCodeStringValues - { - public const string FAILED = @"FAILED"; - } - + [Description("Failed to disable privacy features.")] + FAILED, + } + + public static class PrivacyFeaturesDisableUserErrorCodeStringValues + { + public const string FAILED = @"FAILED"; + } + /// ///The input fields for a shop's privacy settings. /// - [Description("The input fields for a shop's privacy settings.")] - public enum PrivacyFeaturesEnum - { + [Description("The input fields for a shop's privacy settings.")] + public enum PrivacyFeaturesEnum + { /// ///The cookie banner feature. /// - [Description("The cookie banner feature.")] - COOKIE_BANNER, + [Description("The cookie banner feature.")] + COOKIE_BANNER, /// ///The data sale opt out page feature. /// - [Description("The data sale opt out page feature.")] - DATA_SALE_OPT_OUT_PAGE, + [Description("The data sale opt out page feature.")] + DATA_SALE_OPT_OUT_PAGE, /// ///The privacy policy feature. /// - [Description("The privacy policy feature.")] - PRIVACY_POLICY, - } - - public static class PrivacyFeaturesEnumStringValues - { - public const string COOKIE_BANNER = @"COOKIE_BANNER"; - public const string DATA_SALE_OPT_OUT_PAGE = @"DATA_SALE_OPT_OUT_PAGE"; - public const string PRIVACY_POLICY = @"PRIVACY_POLICY"; - } - + [Description("The privacy policy feature.")] + PRIVACY_POLICY, + } + + public static class PrivacyFeaturesEnumStringValues + { + public const string COOKIE_BANNER = @"COOKIE_BANNER"; + public const string DATA_SALE_OPT_OUT_PAGE = @"DATA_SALE_OPT_OUT_PAGE"; + public const string PRIVACY_POLICY = @"PRIVACY_POLICY"; + } + /// ///A shop's privacy policy settings. /// - [Description("A shop's privacy policy settings.")] - public class PrivacyPolicy : GraphQLObject - { + [Description("A shop's privacy policy settings.")] + public class PrivacyPolicy : GraphQLObject + { /// ///Whether the policy is auto managed. /// - [Description("Whether the policy is auto managed.")] - [NonNull] - public bool? autoManaged { get; set; } - + [Description("Whether the policy is auto managed.")] + [NonNull] + public bool? autoManaged { get; set; } + /// ///Policy template supported locales. /// - [Description("Policy template supported locales.")] - [NonNull] - public IEnumerable? supportedLocales { get; set; } - } - + [Description("Policy template supported locales.")] + [NonNull] + public IEnumerable? supportedLocales { get; set; } + } + /// ///A shop's privacy settings. /// - [Description("A shop's privacy settings.")] - public class PrivacySettings : GraphQLObject - { + [Description("A shop's privacy settings.")] + public class PrivacySettings : GraphQLObject + { /// ///Banner customizations for the 'cookie banner'. /// - [Description("Banner customizations for the 'cookie banner'.")] - public CookieBanner? banner { get; set; } - + [Description("Banner customizations for the 'cookie banner'.")] + public CookieBanner? banner { get; set; } + /// ///A shop's data sale opt out page (e.g. CCPA). /// - [Description("A shop's data sale opt out page (e.g. CCPA).")] - public DataSaleOptOutPage? dataSaleOptOutPage { get; set; } - + [Description("A shop's data sale opt out page (e.g. CCPA).")] + public DataSaleOptOutPage? dataSaleOptOutPage { get; set; } + /// ///A shop's privacy policy settings. /// - [Description("A shop's privacy policy settings.")] - public PrivacyPolicy? privacyPolicy { get; set; } - } - + [Description("A shop's privacy policy settings.")] + public PrivacyPolicy? privacyPolicy { get; set; } + } + /// ///The `Product` object lets you manage products in a merchant’s store. /// @@ -92597,150 +92597,150 @@ public class PrivacySettings : GraphQLObject ///Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components), ///including limitations and considerations. /// - [Description("The `Product` object lets you manage products in a merchant’s store.\n\nProducts are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color.\nYou can use [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant) to create or update different versions of the same product.\nYou can also add or update product [media](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/media).\nProducts can be organized by grouping them into a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components),\nincluding limitations and considerations.")] - public class Product : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, ILegacyInteroperability, INavigable, INode, IOnlineStorePreviewable, IPublishable, ICommentEventEmbed, IMetafieldReference, IMetafieldReferencer - { + [Description("The `Product` object lets you manage products in a merchant’s store.\n\nProducts are the goods and services that merchants offer to customers. They can include various details such as title, description, price, images, and options such as size or color.\nYou can use [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/productvariant) to create or update different versions of the same product.\nYou can also add or update product [media](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/media).\nProducts can be organized by grouping them into a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components),\nincluding limitations and considerations.")] + public class Product : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, ILegacyInteroperability, INavigable, INode, IOnlineStorePreviewable, IPublishable, ICommentEventEmbed, IMetafieldReference, IMetafieldReferencer + { /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - public Count? availablePublicationsCount { get; set; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + public Count? availablePublicationsCount { get; set; } + /// ///The description of the product, with ///HTML tags. For example, the description might include ///bold `<strong> </strong>` and italic `<i> </i>` text. /// - [Description("The description of the product, with\nHTML tags. For example, the description might include\nbold `` and italic `` text.")] - [Obsolete("Use `descriptionHtml` instead.")] - public string? bodyHtml { get; set; } - + [Description("The description of the product, with\nHTML tags. For example, the description might include\nbold `` and italic `` text.")] + [Obsolete("Use `descriptionHtml` instead.")] + public string? bodyHtml { get; set; } + /// ///A list of [components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle) ///that are associated with a product in a bundle. /// - [Description("A list of [components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle)\nthat are associated with a product in a bundle.")] - [NonNull] - public ProductBundleComponentConnection? bundleComponents { get; set; } - + [Description("A list of [components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle)\nthat are associated with a product in a bundle.")] + [NonNull] + public ProductBundleComponentConnection? bundleComponents { get; set; } + /// ///The category of a product ///from [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17). /// - [Description("The category of a product\nfrom [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] - public TaxonomyCategory? category { get; set; } - + [Description("The category of a product\nfrom [Shopify's Standard Product Taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] + public TaxonomyCategory? category { get; set; } + /// ///A list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) ///that include the product. /// - [Description("A list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection)\nthat include the product.")] - [NonNull] - public CollectionConnection? collections { get; set; } - + [Description("A list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection)\nthat include the product.")] + [NonNull] + public CollectionConnection? collections { get; set; } + /// ///A special product type that combines separate products from a store into a single product listing. ///[Combined listings](https://shopify.dev/apps/build/product-merchandising/combined-listings) are connected ///by a shared option, such as color, model, or dimension. /// - [Description("A special product type that combines separate products from a store into a single product listing.\n[Combined listings](https://shopify.dev/apps/build/product-merchandising/combined-listings) are connected\nby a shared option, such as color, model, or dimension.")] - public CombinedListing? combinedListing { get; set; } - + [Description("A special product type that combines separate products from a store into a single product listing.\n[Combined listings](https://shopify.dev/apps/build/product-merchandising/combined-listings) are connected\nby a shared option, such as color, model, or dimension.")] + public CombinedListing? combinedListing { get; set; } + /// ///The [role of the product](https://shopify.dev/docs/apps/build/product-merchandising/combined-listings/build-for-combined-listings) ///in a combined listing. /// ///If `null`, then the product isn't part of any combined listing. /// - [Description("The [role of the product](https://shopify.dev/docs/apps/build/product-merchandising/combined-listings/build-for-combined-listings)\nin a combined listing.\n\nIf `null`, then the product isn't part of any combined listing.")] - [EnumType(typeof(CombinedListingsRole))] - public string? combinedListingRole { get; set; } - + [Description("The [role of the product](https://shopify.dev/docs/apps/build/product-merchandising/combined-listings/build-for-combined-listings)\nin a combined listing.\n\nIf `null`, then the product isn't part of any combined listing.")] + [EnumType(typeof(CombinedListingsRole))] + public string? combinedListingRole { get; set; } + /// ///The [compare-at price range](https://help.shopify.com/manual/products/details/product-pricing/sale-pricing) ///of the product in the shop's default currency. /// - [Description("The [compare-at price range](https://help.shopify.com/manual/products/details/product-pricing/sale-pricing)\nof the product in the shop's default currency.")] - public ProductCompareAtPriceRange? compareAtPriceRange { get; set; } - + [Description("The [compare-at price range](https://help.shopify.com/manual/products/details/product-pricing/sale-pricing)\nof the product in the shop's default currency.")] + public ProductCompareAtPriceRange? compareAtPriceRange { get; set; } + /// ///The pricing that applies to a customer in a specific context. For example, a price might vary depending on the customer's location. Only active markets are considered in the price resolution. /// - [Description("The pricing that applies to a customer in a specific context. For example, a price might vary depending on the customer's location. Only active markets are considered in the price resolution.")] - [NonNull] - public ProductContextualPricing? contextualPricing { get; set; } - + [Description("The pricing that applies to a customer in a specific context. For example, a price might vary depending on the customer's location. Only active markets are considered in the price resolution.")] + [NonNull] + public ProductContextualPricing? contextualPricing { get; set; } + /// ///The date and time when the product was created. /// - [Description("The date and time when the product was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the product was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The custom product type specified by the merchant. /// - [Description("The custom product type specified by the merchant.")] - [Obsolete("Use `productType` instead.")] - public string? customProductType { get; set; } - + [Description("The custom product type specified by the merchant.")] + [Obsolete("Use `productType` instead.")] + public string? customProductType { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///A single-line description of the product, ///with [HTML tags](https://developer.mozilla.org/en-US/docs/Web/HTML) removed. /// - [Description("A single-line description of the product,\nwith [HTML tags](https://developer.mozilla.org/en-US/docs/Web/HTML) removed.")] - [NonNull] - public string? description { get; set; } - + [Description("A single-line description of the product,\nwith [HTML tags](https://developer.mozilla.org/en-US/docs/Web/HTML) removed.")] + [NonNull] + public string? description { get; set; } + /// ///The description of the product, with ///HTML tags. For example, the description might include ///bold `<strong> </strong>` and italic `<i> </i>` text. /// - [Description("The description of the product, with\nHTML tags. For example, the description might include\nbold `` and italic `` text.")] - [NonNull] - public string? descriptionHtml { get; set; } - + [Description("The description of the product, with\nHTML tags. For example, the description might include\nbold `` and italic `` text.")] + [NonNull] + public string? descriptionHtml { get; set; } + /// ///Stripped description of the product, single line with HTML tags removed. ///Truncated to 60 characters. /// - [Description("Stripped description of the product, single line with HTML tags removed.\nTruncated to 60 characters.")] - [Obsolete("Use `description` instead.")] - [NonNull] - public string? descriptionPlainSummary { get; set; } - + [Description("Stripped description of the product, single line with HTML tags removed.\nTruncated to 60 characters.")] + [Obsolete("Use `description` instead.")] + [NonNull] + public string? descriptionPlainSummary { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///The featured image for the product. /// - [Description("The featured image for the product.")] - [Obsolete("Use `featuredMedia` instead.")] - public Image? featuredImage { get; set; } - + [Description("The featured image for the product.")] + [Obsolete("Use `featuredMedia` instead.")] + public Image? featuredImage { get; set; } + /// ///The featured [media](https://shopify.dev/docs/apps/build/online-store/product-media) ///associated with the product. /// - [Description("The featured [media](https://shopify.dev/docs/apps/build/online-store/product-media)\nassociated with the product.")] - public IMedia? featuredMedia { get; set; } - + [Description("The featured [media](https://shopify.dev/docs/apps/build/online-store/product-media)\nassociated with the product.")] + public IMedia? featuredMedia { get; set; } + /// ///The information that lets merchants know what steps they need to take ///to make sure that the app is set up correctly. @@ -92749,37 +92749,37 @@ public class Product : GraphQLObject, IHasEvents, IHasMetafieldDefiniti ///then the feedback might include a message that says "You need to add a price ///to this product". /// - [Description("The information that lets merchants know what steps they need to take\nto make sure that the app is set up correctly.\n\nFor example, if a merchant hasn't set up a product correctly in the app,\nthen the feedback might include a message that says \"You need to add a price\nto this product\".")] - public ResourceFeedback? feedback { get; set; } - + [Description("The information that lets merchants know what steps they need to take\nto make sure that the app is set up correctly.\n\nFor example, if a merchant hasn't set up a product correctly in the app,\nthen the feedback might include a message that says \"You need to add a price\nto this product\".")] + public ResourceFeedback? feedback { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the gift card in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the gift card in a store.")] - public string? giftCardTemplateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the gift card in a store.")] + public string? giftCardTemplateSuffix { get; set; } + /// ///A unique, human-readable string of the product's title. A handle can contain letters, hyphens (`-`), and numbers, but no spaces. ///The handle is used in the online store URL for the product. /// - [Description("A unique, human-readable string of the product's title. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nThe handle is used in the online store URL for the product.")] - [NonNull] - public string? handle { get; set; } - + [Description("A unique, human-readable string of the product's title. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nThe handle is used in the online store URL for the product.")] + [NonNull] + public string? handle { get; set; } + /// ///Whether the product has only a single variant with the default option and value. /// - [Description("Whether the product has only a single variant with the default option and value.")] - [NonNull] - public bool? hasOnlyDefaultVariant { get; set; } - + [Description("Whether the product has only a single variant with the default option and value.")] + [NonNull] + public bool? hasOnlyDefaultVariant { get; set; } + /// ///Whether the product has variants that are out of stock. /// - [Description("Whether the product has variants that are out of stock.")] - [NonNull] - public bool? hasOutOfStockVariants { get; set; } - + [Description("Whether the product has variants that are out of stock.")] + [NonNull] + public bool? hasOutOfStockVariants { get; set; } + /// ///Whether at least one of the product variants requires ///[bundle components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle). @@ -92787,345 +92787,345 @@ public class Product : GraphQLObject, IHasEvents, IHasMetafieldDefiniti ///Learn more about ///[store eligibility for bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles#store-eligibility). /// - [Description("Whether at least one of the product variants requires\n[bundle components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle).\n\nLearn more about\n[store eligibility for bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles#store-eligibility).")] - [NonNull] - public bool? hasVariantsThatRequiresComponents { get; set; } - + [Description("Whether at least one of the product variants requires\n[bundle components](https://shopify.dev/docs/apps/build/product-merchandising/bundles/add-product-fixed-bundle).\n\nLearn more about\n[store eligibility for bundles](https://shopify.dev/docs/apps/build/product-merchandising/bundles#store-eligibility).")] + [NonNull] + public bool? hasVariantsThatRequiresComponents { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The images associated with the product. /// - [Description("The images associated with the product.")] - [Obsolete("Use `media` instead.")] - [NonNull] - public ImageConnection? images { get; set; } - + [Description("The images associated with the product.")] + [Obsolete("Use `media` instead.")] + [NonNull] + public ImageConnection? images { get; set; } + /// ///Whether the product ///is in a specified ///[collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection). /// - [Description("Whether the product\nis in a specified\n[collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).")] - [NonNull] - public bool? inCollection { get; set; } - + [Description("Whether the product\nis in a specified\n[collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/collection).")] + [NonNull] + public bool? inCollection { get; set; } + /// ///Whether the product is a gift card. /// - [Description("Whether the product is a gift card.")] - [NonNull] - public bool? isGiftCard { get; set; } - + [Description("Whether the product is a gift card.")] + [NonNull] + public bool? isGiftCard { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The [media](https://shopify.dev/docs/apps/build/online-store/product-media) associated with the product. Valid media are images, 3D models, videos. /// - [Description("The [media](https://shopify.dev/docs/apps/build/online-store/product-media) associated with the product. Valid media are images, 3D models, videos.")] - [NonNull] - public MediaConnection? media { get; set; } - + [Description("The [media](https://shopify.dev/docs/apps/build/online-store/product-media) associated with the product. Valid media are images, 3D models, videos.")] + [NonNull] + public MediaConnection? media { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store. /// - [Description("The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store.")] - public string? onlineStorePreviewUrl { get; set; } - + [Description("The [preview URL](https://help.shopify.com/manual/online-store/setting-up#preview-your-store) for the online store.")] + public string? onlineStorePreviewUrl { get; set; } + /// ///The product's URL on the online store. ///If `null`, then the product isn't published to the online store sales channel. /// - [Description("The product's URL on the online store.\nIf `null`, then the product isn't published to the online store sales channel.")] - public string? onlineStoreUrl { get; set; } - + [Description("The product's URL on the online store.\nIf `null`, then the product isn't published to the online store sales channel.")] + public string? onlineStoreUrl { get; set; } + /// ///A list of product options. The limit is defined by the ///[shop's resource limits for product options](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-resourcelimits) (`Shop.resourceLimits.maxProductOptions`). /// - [Description("A list of product options. The limit is defined by the\n[shop's resource limits for product options](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-resourcelimits) (`Shop.resourceLimits.maxProductOptions`).")] - [NonNull] - public IEnumerable? options { get; set; } - + [Description("A list of product options. The limit is defined by the\n[shop's resource limits for product options](https://shopify.dev/docs/api/admin-graphql/latest/objects/Shop#field-resourcelimits) (`Shop.resourceLimits.maxProductOptions`).")] + [NonNull] + public IEnumerable? options { get; set; } + /// ///The price range of the product. /// - [Description("The price range of the product.")] - [Obsolete("Use `priceRangeV2` instead.")] - [NonNull] - public ProductPriceRange? priceRange { get; set; } - + [Description("The price range of the product.")] + [Obsolete("Use `priceRangeV2` instead.")] + [NonNull] + public ProductPriceRange? priceRange { get; set; } + /// ///The minimum and maximum prices of a product, expressed in decimal numbers. ///For example, if the product is priced between $10.00 and $50.00, ///then the price range is $10.00 - $50.00. /// - [Description("The minimum and maximum prices of a product, expressed in decimal numbers.\nFor example, if the product is priced between $10.00 and $50.00,\nthen the price range is $10.00 - $50.00.")] - [NonNull] - public ProductPriceRangeV2? priceRangeV2 { get; set; } - + [Description("The minimum and maximum prices of a product, expressed in decimal numbers.\nFor example, if the product is priced between $10.00 and $50.00,\nthen the price range is $10.00 - $50.00.")] + [NonNull] + public ProductPriceRangeV2? priceRangeV2 { get; set; } + /// ///The product category specified by the merchant. /// - [Description("The product category specified by the merchant.")] - [Obsolete("Use `category` instead.")] - public ProductCategory? productCategory { get; set; } - + [Description("The product category specified by the merchant.")] + [Obsolete("Use `category` instead.")] + public ProductCategory? productCategory { get; set; } + /// ///A list of products that contain at least one variant associated with ///at least one of the current products' variants via group relationship. /// - [Description("A list of products that contain at least one variant associated with\nat least one of the current products' variants via group relationship.")] - [NonNull] - public ProductComponentTypeConnection? productComponents { get; set; } - + [Description("A list of products that contain at least one variant associated with\nat least one of the current products' variants via group relationship.")] + [NonNull] + public ProductComponentTypeConnection? productComponents { get; set; } + /// ///A count of unique products that contain at least one variant associated with ///at least one of the current products' variants via group relationship. /// - [Description("A count of unique products that contain at least one variant associated with\nat least one of the current products' variants via group relationship.")] - public Count? productComponentsCount { get; set; } - + [Description("A count of unique products that contain at least one variant associated with\nat least one of the current products' variants via group relationship.")] + public Count? productComponentsCount { get; set; } + /// ///A list of products that has a variant that contains any of this product's variants as a component. /// - [Description("A list of products that has a variant that contains any of this product's variants as a component.")] - [NonNull] - public ProductConnection? productParents { get; set; } - + [Description("A list of products that has a variant that contains any of this product's variants as a component.")] + [NonNull] + public ProductConnection? productParents { get; set; } + /// ///A list of the channels where the product is published. /// - [Description("A list of the channels where the product is published.")] - [Obsolete("Use `resourcePublications` instead.")] - [NonNull] - public ProductPublicationConnection? productPublications { get; set; } - + [Description("A list of the channels where the product is published.")] + [Obsolete("Use `resourcePublications` instead.")] + [NonNull] + public ProductPublicationConnection? productPublications { get; set; } + /// ///The [product type](https://help.shopify.com/manual/products/details/product-type) ///that merchants define. /// - [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] - [NonNull] - public string? productType { get; set; } - + [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] + [NonNull] + public string? productType { get; set; } + /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - [Obsolete("Use `resourcePublicationsCount` instead.")] - [NonNull] - public int? publicationCount { get; set; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + [Obsolete("Use `resourcePublicationsCount` instead.")] + [NonNull] + public int? publicationCount { get; set; } + /// ///A list of the channels where the product is published. /// - [Description("A list of the channels where the product is published.")] - [Obsolete("Use `resourcePublications` instead.")] - [NonNull] - public ProductPublicationConnection? publications { get; set; } - + [Description("A list of the channels where the product is published.")] + [Obsolete("Use `resourcePublications` instead.")] + [NonNull] + public ProductPublicationConnection? publications { get; set; } + /// ///The date and time when the product was published to the online store. /// - [Description("The date and time when the product was published to the online store.")] - public DateTime? publishedAt { get; set; } - + [Description("The date and time when the product was published to the online store.")] + public DateTime? publishedAt { get; set; } + /// ///Whether the product is published for a customer only in a specified context. For example, a product might be published for a customer only in a specific location. /// - [Description("Whether the product is published for a customer only in a specified context. For example, a product might be published for a customer only in a specific location.")] - [NonNull] - public bool? publishedInContext { get; set; } - + [Description("Whether the product is published for a customer only in a specified context. For example, a product might be published for a customer only in a specific location.")] + [NonNull] + public bool? publishedInContext { get; set; } + /// ///Whether the resource is published to a specific channel. /// - [Description("Whether the resource is published to a specific channel.")] - [Obsolete("Use `publishedOnPublication` instead.")] - [NonNull] - public bool? publishedOnChannel { get; set; } - + [Description("Whether the resource is published to a specific channel.")] + [Obsolete("Use `publishedOnPublication` instead.")] + [NonNull] + public bool? publishedOnChannel { get; set; } + /// ///Whether the resource is published to a ///[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). ///For example, the resource might be published to the online store channel. /// - [Description("Whether the resource is published to a\n[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).\nFor example, the resource might be published to the online store channel.")] - [Obsolete("Use `publishedOnCurrentPublication` instead.")] - [NonNull] - public bool? publishedOnCurrentChannel { get; set; } - + [Description("Whether the resource is published to a\n[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).\nFor example, the resource might be published to the online store channel.")] + [Obsolete("Use `publishedOnCurrentPublication` instead.")] + [NonNull] + public bool? publishedOnCurrentChannel { get; set; } + /// ///Whether the resource is published to the app's ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). ///For example, the resource might be published to the app's online store channel. /// - [Description("Whether the resource is published to the app's\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).\nFor example, the resource might be published to the app's online store channel.")] - [NonNull] - public bool? publishedOnCurrentPublication { get; set; } - + [Description("Whether the resource is published to the app's\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).\nFor example, the resource might be published to the app's online store channel.")] + [NonNull] + public bool? publishedOnCurrentPublication { get; set; } + /// ///Whether the resource is published to a specified ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("Whether the resource is published to a specified\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public bool? publishedOnPublication { get; set; } - + [Description("Whether the resource is published to a specified\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public bool? publishedOnPublication { get; set; } + /// ///Whether the product can only be purchased with ///a [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans). ///Products that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores. ///If you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels, except the online store. /// - [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels, except the online store.")] - [NonNull] - public bool? requiresSellingPlan { get; set; } - + [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels, except the online store.")] + [NonNull] + public bool? requiresSellingPlan { get; set; } + /// ///The resource that's either published or staged to be published to ///the [publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("The resource that's either published or staged to be published to\nthe [publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - public ResourcePublicationV2? resourcePublicationOnCurrentPublication { get; set; } - + [Description("The resource that's either published or staged to be published to\nthe [publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + public ResourcePublicationV2? resourcePublicationOnCurrentPublication { get; set; } + /// ///The list of resources that are published to a ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("The list of resources that are published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public ResourcePublicationConnection? resourcePublications { get; set; } - + [Description("The list of resources that are published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public ResourcePublicationConnection? resourcePublications { get; set; } + /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - public Count? resourcePublicationsCount { get; set; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + public Count? resourcePublicationsCount { get; set; } + /// ///The list of resources that are either published or staged to be published to a ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("The list of resources that are either published or staged to be published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public ResourcePublicationV2Connection? resourcePublicationsV2 { get; set; } - + [Description("The list of resources that are either published or staged to be published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public ResourcePublicationV2Connection? resourcePublicationsV2 { get; set; } + /// ///Whether the merchant can make changes to the product when they ///[edit the order](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders) ///associated with the product. For example, a merchant might be restricted from changing product details when they ///edit an order. /// - [Description("Whether the merchant can make changes to the product when they\n[edit the order](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders)\nassociated with the product. For example, a merchant might be restricted from changing product details when they\nedit an order.")] - public RestrictedForResource? restrictedForResource { get; set; } - + [Description("Whether the merchant can make changes to the product when they\n[edit the order](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps/edit-orders)\nassociated with the product. For example, a merchant might be restricted from changing product details when they\nedit an order.")] + public RestrictedForResource? restrictedForResource { get; set; } + /// ///A count of [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan) ///that are associated with the product. /// - [Description("A count of [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan)\nthat are associated with the product.")] - [Obsolete("Use `sellingPlanGroupsCount` instead.")] - [NonNull] - public int? sellingPlanGroupCount { get; set; } - + [Description("A count of [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan)\nthat are associated with the product.")] + [Obsolete("Use `sellingPlanGroupsCount` instead.")] + [NonNull] + public int? sellingPlanGroupCount { get; set; } + /// ///A list of all [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan) ///that are associated with the product either directly, or through the product's variants. /// - [Description("A list of all [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan)\nthat are associated with the product either directly, or through the product's variants.")] - [NonNull] - public SellingPlanGroupConnection? sellingPlanGroups { get; set; } - + [Description("A list of all [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan)\nthat are associated with the product either directly, or through the product's variants.")] + [NonNull] + public SellingPlanGroupConnection? sellingPlanGroups { get; set; } + /// ///A count of [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan) ///that are associated with the product. /// - [Description("A count of [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan)\nthat are associated with the product.")] - public Count? sellingPlanGroupsCount { get; set; } - + [Description("A count of [selling plan groups](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans/build-a-selling-plan)\nthat are associated with the product.")] + public Count? sellingPlanGroupsCount { get; set; } + /// ///The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords) ///that are associated with a product. /// - [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] - [NonNull] - public SEO? seo { get; set; } - + [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] + [NonNull] + public SEO? seo { get; set; } + /// ///The standardized product type in the Shopify product taxonomy. /// - [Description("The standardized product type in the Shopify product taxonomy.")] - [Obsolete("Use `productCategory` instead.")] - public StandardizedProductType? standardizedProductType { get; set; } - + [Description("The standardized product type in the Shopify product taxonomy.")] + [Obsolete("Use `productCategory` instead.")] + public StandardizedProductType? standardizedProductType { get; set; } + /// ///The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status), ///which controls visibility across all sales channels. /// - [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] - [NonNull] - [EnumType(typeof(ProductStatus))] - public string? status { get; set; } - + [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] + [NonNull] + [EnumType(typeof(ProductStatus))] + public string? status { get; set; } + /// ///The Storefront GraphQL API ID of the `Product`. /// ///The Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead. /// - [Description("The Storefront GraphQL API ID of the `Product`.\n\nThe Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] - [Obsolete("Use `id` instead.")] - [NonNull] - public string? storefrontId { get; set; } - + [Description("The Storefront GraphQL API ID of the `Product`.\n\nThe Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] + [Obsolete("Use `id` instead.")] + [NonNull] + public string? storefrontId { get; set; } + /// ///A comma-separated list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -93136,542 +93136,542 @@ public class Product : GraphQLObject, IHasEvents, IHasMetafieldDefiniti ///existing tags, use the [`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A comma-separated list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites\nany existing tags that were previously added to the product. To add new tags without overwriting\nexisting tags, use the [`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - [NonNull] - public IEnumerable? tags { get; set; } - + [Description("A comma-separated list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites\nany existing tags that were previously added to the product. To add new tags without overwriting\nexisting tags, use the [`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + [NonNull] + public IEnumerable? tags { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the product in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the product in a store.")] - public string? templateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view the product in a store.")] + public string? templateSuffix { get; set; } + /// ///The name for the product that displays to customers. The title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses", then the handle is `black-sunglasses`. /// - [Description("The name for the product that displays to customers. The title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\", then the handle is `black-sunglasses`.")] - [NonNull] - public string? title { get; set; } - + [Description("The name for the product that displays to customers. The title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\", then the handle is `black-sunglasses`.")] + [NonNull] + public string? title { get; set; } + /// ///The quantity of inventory that's in stock. /// - [Description("The quantity of inventory that's in stock.")] - [NonNull] - public int? totalInventory { get; set; } - + [Description("The quantity of inventory that's in stock.")] + [NonNull] + public int? totalInventory { get; set; } + /// ///The number of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) ///that are associated with the product. /// - [Description("The number of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nthat are associated with the product.")] - [Obsolete("Use `variantsCount` instead.")] - [NonNull] - public int? totalVariants { get; set; } - + [Description("The number of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nthat are associated with the product.")] + [Obsolete("Use `variantsCount` instead.")] + [NonNull] + public int? totalVariants { get; set; } + /// ///Whether [inventory tracking](https://help.shopify.com/manual/products/inventory/getting-started-with-inventory/set-up-inventory-tracking) ///has been enabled for the product. /// - [Description("Whether [inventory tracking](https://help.shopify.com/manual/products/inventory/getting-started-with-inventory/set-up-inventory-tracking)\nhas been enabled for the product.")] - [NonNull] - public bool? tracksInventory { get; set; } - + [Description("Whether [inventory tracking](https://help.shopify.com/manual/products/inventory/getting-started-with-inventory/set-up-inventory-tracking)\nhas been enabled for the product.")] + [NonNull] + public bool? tracksInventory { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The list of channels that the resource is not published to. /// - [Description("The list of channels that the resource is not published to.")] - [Obsolete("Use `unpublishedPublications` instead.")] - [NonNull] - public ChannelConnection? unpublishedChannels { get; set; } - + [Description("The list of channels that the resource is not published to.")] + [Obsolete("Use `unpublishedPublications` instead.")] + [NonNull] + public ChannelConnection? unpublishedChannels { get; set; } + /// ///The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that the resource isn't published to. /// - [Description("The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat the resource isn't published to.")] - [NonNull] - public PublicationConnection? unpublishedPublications { get; set; } - + [Description("The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat the resource isn't published to.")] + [NonNull] + public PublicationConnection? unpublishedPublications { get; set; } + /// ///The date and time when the product was last modified. ///A product's `updatedAt` value can change for different reasons. For example, if an order ///is placed for a product that has inventory tracking set up, then the inventory adjustment ///is counted as an update. /// - [Description("The date and time when the product was last modified.\nA product's `updatedAt` value can change for different reasons. For example, if an order\nis placed for a product that has inventory tracking set up, then the inventory adjustment\nis counted as an update.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the product was last modified.\nA product's `updatedAt` value can change for different reasons. For example, if an order\nis placed for a product that has inventory tracking set up, then the inventory adjustment\nis counted as an update.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///A list of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) associated with the product. ///If querying a single product at the root, you can fetch up to 2048 variants. /// - [Description("A list of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) associated with the product.\nIf querying a single product at the root, you can fetch up to 2048 variants.")] - [NonNull] - public ProductVariantConnection? variants { get; set; } - + [Description("A list of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) associated with the product.\nIf querying a single product at the root, you can fetch up to 2048 variants.")] + [NonNull] + public ProductVariantConnection? variants { get; set; } + /// ///The number of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) ///that are associated with the product. /// - [Description("The number of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nthat are associated with the product.")] - public Count? variantsCount { get; set; } - + [Description("The number of [variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nthat are associated with the product.")] + public Count? variantsCount { get; set; } + /// ///The name of the product's vendor. /// - [Description("The name of the product's vendor.")] - [NonNull] - public string? vendor { get; set; } - } - + [Description("The name of the product's vendor.")] + [NonNull] + public string? vendor { get; set; } + } + /// ///The product's component information. /// - [Description("The product's component information.")] - public class ProductBundleComponent : GraphQLObject - { + [Description("The product's component information.")] + public class ProductBundleComponent : GraphQLObject + { /// ///The product that's related as a component. /// - [Description("The product that's related as a component.")] - [NonNull] - public Product? componentProduct { get; set; } - + [Description("The product that's related as a component.")] + [NonNull] + public Product? componentProduct { get; set; } + /// ///The list of products' variants that are components. /// - [Description("The list of products' variants that are components.")] - [NonNull] - public ProductVariantConnection? componentVariants { get; set; } - + [Description("The list of products' variants that are components.")] + [NonNull] + public ProductVariantConnection? componentVariants { get; set; } + /// ///The number of component variants for the product component. /// - [Description("The number of component variants for the product component.")] - public Count? componentVariantsCount { get; set; } - + [Description("The number of component variants for the product component.")] + public Count? componentVariantsCount { get; set; } + /// ///The options in the parent and the component options they're connected to, along with the chosen option values ///that appear in the bundle. /// - [Description("The options in the parent and the component options they're connected to, along with the chosen option values\nthat appear in the bundle.")] - [NonNull] - public IEnumerable? optionSelections { get; set; } - + [Description("The options in the parent and the component options they're connected to, along with the chosen option values\nthat appear in the bundle.")] + [NonNull] + public IEnumerable? optionSelections { get; set; } + /// ///The quantity of the component product set for this bundle line. ///It will be null if there's a quantityOption present. /// - [Description("The quantity of the component product set for this bundle line.\nIt will be null if there's a quantityOption present.")] - public int? quantity { get; set; } - + [Description("The quantity of the component product set for this bundle line.\nIt will be null if there's a quantityOption present.")] + public int? quantity { get; set; } + /// ///The quantity as option of the component product. It will be null if there's a quantity set. /// - [Description("The quantity as option of the component product. It will be null if there's a quantity set.")] - public ProductBundleComponentQuantityOption? quantityOption { get; set; } - } - + [Description("The quantity as option of the component product. It will be null if there's a quantity set.")] + public ProductBundleComponentQuantityOption? quantityOption { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductBundleComponents. /// - [Description("An auto-generated type for paginating through multiple ProductBundleComponents.")] - public class ProductBundleComponentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductBundleComponents.")] + public class ProductBundleComponentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductBundleComponentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductBundleComponentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductBundleComponentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ProductBundleComponent and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductBundleComponent and a cursor during pagination.")] - public class ProductBundleComponentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductBundleComponent and a cursor during pagination.")] + public class ProductBundleComponentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductBundleComponentEdge. /// - [Description("The item at the end of ProductBundleComponentEdge.")] - [NonNull] - public ProductBundleComponent? node { get; set; } - } - + [Description("The item at the end of ProductBundleComponentEdge.")] + [NonNull] + public ProductBundleComponent? node { get; set; } + } + /// ///The input fields for a single component related to a componentized product. /// - [Description("The input fields for a single component related to a componentized product.")] - public class ProductBundleComponentInput : GraphQLObject - { + [Description("The input fields for a single component related to a componentized product.")] + public class ProductBundleComponentInput : GraphQLObject + { /// ///The quantity of the component product to add to the bundle product. This field can't exceed 2000. /// - [Description("The quantity of the component product to add to the bundle product. This field can't exceed 2000.")] - public int? quantity { get; set; } - + [Description("The quantity of the component product to add to the bundle product. This field can't exceed 2000.")] + public int? quantity { get; set; } + /// ///The ID of the component product to add to the bundle product. /// - [Description("The ID of the component product to add to the bundle product.")] - [NonNull] - public string? productId { get; set; } - + [Description("The ID of the component product to add to the bundle product.")] + [NonNull] + public string? productId { get; set; } + /// ///The options to use in the component product, and the values for the option. /// - [Description("The options to use in the component product, and the values for the option.")] - [NonNull] - public IEnumerable? optionSelections { get; set; } - + [Description("The options to use in the component product, and the values for the option.")] + [NonNull] + public IEnumerable? optionSelections { get; set; } + /// ///New option to be created on the bundle parent that enables the buyer to select different quantities for ///this component (e.g. two-pack, three-pack). Can only be used if quantity isn't set. /// - [Description("New option to be created on the bundle parent that enables the buyer to select different quantities for\nthis component (e.g. two-pack, three-pack). Can only be used if quantity isn't set.")] - public ProductBundleComponentQuantityOptionInput? quantityOption { get; set; } - } - + [Description("New option to be created on the bundle parent that enables the buyer to select different quantities for\nthis component (e.g. two-pack, three-pack). Can only be used if quantity isn't set.")] + public ProductBundleComponentQuantityOptionInput? quantityOption { get; set; } + } + /// ///A relationship between a component option and a parent option. /// - [Description("A relationship between a component option and a parent option.")] - public class ProductBundleComponentOptionSelection : GraphQLObject - { + [Description("A relationship between a component option and a parent option.")] + public class ProductBundleComponentOptionSelection : GraphQLObject + { /// ///The option that existed on the component product prior to the fixed bundle creation. /// - [Description("The option that existed on the component product prior to the fixed bundle creation.")] - [NonNull] - public ProductOption? componentOption { get; set; } - + [Description("The option that existed on the component product prior to the fixed bundle creation.")] + [NonNull] + public ProductOption? componentOption { get; set; } + /// ///The option that was created on the parent product. /// - [Description("The option that was created on the parent product.")] - public ProductOption? parentOption { get; set; } - + [Description("The option that was created on the parent product.")] + public ProductOption? parentOption { get; set; } + /// ///The component option values that are actively selected for this relationship. /// - [Description("The component option values that are actively selected for this relationship.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("The component option values that are actively selected for this relationship.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///The input fields for a single option related to a component product. /// - [Description("The input fields for a single option related to a component product.")] - public class ProductBundleComponentOptionSelectionInput : GraphQLObject - { + [Description("The input fields for a single option related to a component product.")] + public class ProductBundleComponentOptionSelectionInput : GraphQLObject + { /// ///The ID of the option present on the component product. /// - [Description("The ID of the option present on the component product.")] - [NonNull] - public string? componentOptionId { get; set; } - + [Description("The ID of the option present on the component product.")] + [NonNull] + public string? componentOptionId { get; set; } + /// ///The name to create for this option on the parent product. /// - [Description("The name to create for this option on the parent product.")] - [NonNull] - public string? name { get; set; } - + [Description("The name to create for this option on the parent product.")] + [NonNull] + public string? name { get; set; } + /// ///Array of selected option values. /// - [Description("Array of selected option values.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("Array of selected option values.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///The status of a component option value related to a bundle. /// - [Description("The status of a component option value related to a bundle.")] - public enum ProductBundleComponentOptionSelectionStatus - { + [Description("The status of a component option value related to a bundle.")] + public enum ProductBundleComponentOptionSelectionStatus + { /// ///The component option value is selected as sellable in the bundle. /// - [Description("The component option value is selected as sellable in the bundle.")] - SELECTED, + [Description("The component option value is selected as sellable in the bundle.")] + SELECTED, /// ///The component option value is not selected as sellable in the bundle. /// - [Description("The component option value is not selected as sellable in the bundle.")] - DESELECTED, + [Description("The component option value is not selected as sellable in the bundle.")] + DESELECTED, /// ///The component option value was not initially selected, but is now available for the bundle. /// - [Description("The component option value was not initially selected, but is now available for the bundle.")] - NEW, + [Description("The component option value was not initially selected, but is now available for the bundle.")] + NEW, /// ///The component option value was selected, is no longer available for the bundle. /// - [Description("The component option value was selected, is no longer available for the bundle.")] - UNAVAILABLE, - } - - public static class ProductBundleComponentOptionSelectionStatusStringValues - { - public const string SELECTED = @"SELECTED"; - public const string DESELECTED = @"DESELECTED"; - public const string NEW = @"NEW"; - public const string UNAVAILABLE = @"UNAVAILABLE"; - } - + [Description("The component option value was selected, is no longer available for the bundle.")] + UNAVAILABLE, + } + + public static class ProductBundleComponentOptionSelectionStatusStringValues + { + public const string SELECTED = @"SELECTED"; + public const string DESELECTED = @"DESELECTED"; + public const string NEW = @"NEW"; + public const string UNAVAILABLE = @"UNAVAILABLE"; + } + /// ///A component option value related to a bundle line. /// - [Description("A component option value related to a bundle line.")] - public class ProductBundleComponentOptionSelectionValue : GraphQLObject - { + [Description("A component option value related to a bundle line.")] + public class ProductBundleComponentOptionSelectionValue : GraphQLObject + { /// ///Selection status of the option. /// - [Description("Selection status of the option.")] - [NonNull] - [EnumType(typeof(ProductBundleComponentOptionSelectionStatus))] - public string? selectionStatus { get; set; } - + [Description("Selection status of the option.")] + [NonNull] + [EnumType(typeof(ProductBundleComponentOptionSelectionStatus))] + public string? selectionStatus { get; set; } + /// ///The value of the option. /// - [Description("The value of the option.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the option.")] + [NonNull] + public string? value { get; set; } + } + /// ///A quantity option related to a bundle. /// - [Description("A quantity option related to a bundle.")] - public class ProductBundleComponentQuantityOption : GraphQLObject - { + [Description("A quantity option related to a bundle.")] + public class ProductBundleComponentQuantityOption : GraphQLObject + { /// ///The name of the option value. /// - [Description("The name of the option value.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the option value.")] + [NonNull] + public string? name { get; set; } + /// ///The option that was created on the parent product. /// - [Description("The option that was created on the parent product.")] - public ProductOption? parentOption { get; set; } - + [Description("The option that was created on the parent product.")] + public ProductOption? parentOption { get; set; } + /// ///The quantity values of the option. /// - [Description("The quantity values of the option.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("The quantity values of the option.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///Input for the quantity option related to a component product. This will become a new option on the parent bundle product that doesn't have a corresponding option on the component. /// - [Description("Input for the quantity option related to a component product. This will become a new option on the parent bundle product that doesn't have a corresponding option on the component.")] - public class ProductBundleComponentQuantityOptionInput : GraphQLObject - { + [Description("Input for the quantity option related to a component product. This will become a new option on the parent bundle product that doesn't have a corresponding option on the component.")] + public class ProductBundleComponentQuantityOptionInput : GraphQLObject + { /// ///The option name to create on the parent product. /// - [Description("The option name to create on the parent product.")] - [NonNull] - public string? name { get; set; } - + [Description("The option name to create on the parent product.")] + [NonNull] + public string? name { get; set; } + /// ///Array of option values. /// - [Description("Array of option values.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("Array of option values.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///A quantity option value related to a componentized product. /// - [Description("A quantity option value related to a componentized product.")] - public class ProductBundleComponentQuantityOptionValue : GraphQLObject - { + [Description("A quantity option value related to a componentized product.")] + public class ProductBundleComponentQuantityOptionValue : GraphQLObject + { /// ///The name of the option value. /// - [Description("The name of the option value.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the option value.")] + [NonNull] + public string? name { get; set; } + /// ///The quantity of the option value. /// - [Description("The quantity of the option value.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the option value.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields for a single quantity option value related to a component product. /// - [Description("The input fields for a single quantity option value related to a component product.")] - public class ProductBundleComponentQuantityOptionValueInput : GraphQLObject - { + [Description("The input fields for a single quantity option value related to a component product.")] + public class ProductBundleComponentQuantityOptionValueInput : GraphQLObject + { /// ///The name associated with the option, e.g. one-pack, two-pack. /// - [Description("The name associated with the option, e.g. one-pack, two-pack.")] - [NonNull] - public string? name { get; set; } - + [Description("The name associated with the option, e.g. one-pack, two-pack.")] + [NonNull] + public string? name { get; set; } + /// ///How many of the variant will be included for the option value (e.g. two-pack has quantity 2). /// - [Description("How many of the variant will be included for the option value (e.g. two-pack has quantity 2).")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("How many of the variant will be included for the option value (e.g. two-pack has quantity 2).")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields for creating a componentized product. /// - [Description("The input fields for creating a componentized product.")] - public class ProductBundleCreateInput : GraphQLObject - { + [Description("The input fields for creating a componentized product.")] + public class ProductBundleCreateInput : GraphQLObject + { /// ///The title of the product to create. /// - [Description("The title of the product to create.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product to create.")] + [NonNull] + public string? title { get; set; } + /// ///The component products to bundle with the bundle product. /// - [Description("The component products to bundle with the bundle product.")] - [NonNull] - public IEnumerable? components { get; set; } - } - + [Description("The component products to bundle with the bundle product.")] + [NonNull] + public IEnumerable? components { get; set; } + } + /// ///Return type for `productBundleCreate` mutation. /// - [Description("Return type for `productBundleCreate` mutation.")] - public class ProductBundleCreatePayload : GraphQLObject - { + [Description("Return type for `productBundleCreate` mutation.")] + public class ProductBundleCreatePayload : GraphQLObject + { /// ///The asynchronous ProductBundleOperation creating the product bundle or componentized product. /// - [Description("The asynchronous ProductBundleOperation creating the product bundle or componentized product.")] - public ProductBundleOperation? productBundleOperation { get; set; } - + [Description("The asynchronous ProductBundleOperation creating the product bundle or componentized product.")] + public ProductBundleOperation? productBundleOperation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors encountered while managing a product bundle. /// - [Description("Defines errors encountered while managing a product bundle.")] - public class ProductBundleMutationUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors encountered while managing a product bundle.")] + public class ProductBundleMutationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductBundleMutationUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductBundleMutationUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductBundleMutationUserError`. /// - [Description("Possible error codes that can be returned by `ProductBundleMutationUserError`.")] - public enum ProductBundleMutationUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductBundleMutationUserError`.")] + public enum ProductBundleMutationUserErrorCode + { /// ///Something went wrong, please try again. /// - [Description("Something went wrong, please try again.")] - GENERIC_ERROR, + [Description("Something went wrong, please try again.")] + GENERIC_ERROR, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Input is not valid. /// - [Description("Input is not valid.")] - INVALID_INPUT, + [Description("Input is not valid.")] + INVALID_INPUT, /// ///Error processing request in the background job. /// - [Description("Error processing request in the background job.")] - JOB_ERROR, - } - - public static class ProductBundleMutationUserErrorCodeStringValues - { - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string INVALID_INPUT = @"INVALID_INPUT"; - public const string JOB_ERROR = @"JOB_ERROR"; - } - + [Description("Error processing request in the background job.")] + JOB_ERROR, + } + + public static class ProductBundleMutationUserErrorCodeStringValues + { + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string INVALID_INPUT = @"INVALID_INPUT"; + public const string JOB_ERROR = @"JOB_ERROR"; + } + /// ///An entity that represents details of an asynchronous ///[ProductBundleCreate](https://shopify.dev/api/admin-graphql/current/mutations/productBundleCreate) or @@ -93687,174 +93687,174 @@ public static class ProductBundleMutationUserErrorCodeStringValues /// ///The `userErrors` field provides mutation errors that occurred during the operation. /// - [Description("An entity that represents details of an asynchronous\n[ProductBundleCreate](https://shopify.dev/api/admin-graphql/current/mutations/productBundleCreate) or\n[ProductBundleUpdate](https://shopify.dev/api/admin-graphql/current/mutations/productBundleUpdate) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned when the bundle was created or updated, this can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the created or updated product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] - public class ProductBundleOperation : GraphQLObject, INode, IProductOperation - { + [Description("An entity that represents details of an asynchronous\n[ProductBundleCreate](https://shopify.dev/api/admin-graphql/current/mutations/productBundleCreate) or\n[ProductBundleUpdate](https://shopify.dev/api/admin-graphql/current/mutations/productBundleUpdate) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned when the bundle was created or updated, this can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the created or updated product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] + public class ProductBundleOperation : GraphQLObject, INode, IProductOperation + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The product on which the operation is being performed. /// - [Description("The product on which the operation is being performed.")] - public Product? product { get; set; } - + [Description("The product on which the operation is being performed.")] + public Product? product { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ProductOperationStatus))] - public string? status { get; set; } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ProductOperationStatus))] + public string? status { get; set; } + /// ///Returns mutation errors occurred during background mutation processing. /// - [Description("Returns mutation errors occurred during background mutation processing.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("Returns mutation errors occurred during background mutation processing.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for updating a componentized product. /// - [Description("The input fields for updating a componentized product.")] - public class ProductBundleUpdateInput : GraphQLObject - { + [Description("The input fields for updating a componentized product.")] + public class ProductBundleUpdateInput : GraphQLObject + { /// ///The ID of the componentized product to update. /// - [Description("The ID of the componentized product to update.")] - [NonNull] - public string? productId { get; set; } - + [Description("The ID of the componentized product to update.")] + [NonNull] + public string? productId { get; set; } + /// ///The title to rename the componentized product to, if provided. /// - [Description("The title to rename the componentized product to, if provided.")] - public string? title { get; set; } - + [Description("The title to rename the componentized product to, if provided.")] + public string? title { get; set; } + /// ///The components to update existing ones. If none provided, no changes occur. Note: This replaces, not adds to, current components. /// - [Description("The components to update existing ones. If none provided, no changes occur. Note: This replaces, not adds to, current components.")] - public IEnumerable? components { get; set; } - } - + [Description("The components to update existing ones. If none provided, no changes occur. Note: This replaces, not adds to, current components.")] + public IEnumerable? components { get; set; } + } + /// ///Return type for `productBundleUpdate` mutation. /// - [Description("Return type for `productBundleUpdate` mutation.")] - public class ProductBundleUpdatePayload : GraphQLObject - { + [Description("Return type for `productBundleUpdate` mutation.")] + public class ProductBundleUpdatePayload : GraphQLObject + { /// ///The asynchronous ProductBundleOperation updating the product bundle or componentized product. /// - [Description("The asynchronous ProductBundleOperation updating the product bundle or componentized product.")] - public ProductBundleOperation? productBundleOperation { get; set; } - + [Description("The asynchronous ProductBundleOperation updating the product bundle or componentized product.")] + public ProductBundleOperation? productBundleOperation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The details of a specific product category within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17). /// - [Description("The details of a specific product category within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] - public class ProductCategory : GraphQLObject - { + [Description("The details of a specific product category within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] + public class ProductCategory : GraphQLObject + { /// ///The product taxonomy node associated with the product category. /// - [Description("The product taxonomy node associated with the product category.")] - public ProductTaxonomyNode? productTaxonomyNode { get; set; } - } - + [Description("The product taxonomy node associated with the product category.")] + public ProductTaxonomyNode? productTaxonomyNode { get; set; } + } + /// ///Return type for `productChangeStatus` mutation. /// - [Description("Return type for `productChangeStatus` mutation.")] - public class ProductChangeStatusPayload : GraphQLObject - { + [Description("Return type for `productChangeStatus` mutation.")] + public class ProductChangeStatusPayload : GraphQLObject + { /// ///The product object. /// - [Description("The product object.")] - public Product? product { get; set; } - + [Description("The product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ProductChangeStatus`. /// - [Description("An error that occurs during the execution of `ProductChangeStatus`.")] - public class ProductChangeStatusUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ProductChangeStatus`.")] + public class ProductChangeStatusUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductChangeStatusUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductChangeStatusUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductChangeStatusUserError`. /// - [Description("Possible error codes that can be returned by `ProductChangeStatusUserError`.")] - public enum ProductChangeStatusUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductChangeStatusUserError`.")] + public enum ProductChangeStatusUserErrorCode + { /// ///Product could not be found. /// - [Description("Product could not be found.")] - PRODUCT_NOT_FOUND, + [Description("Product could not be found.")] + PRODUCT_NOT_FOUND, /// ///Cannot be unarchived because combined listings are not compatible with this store. /// - [Description("Cannot be unarchived because combined listings are not compatible with this store.")] - COMBINED_LISTINGS_NOT_COMPATIBLE_WITH_SHOP, - } - - public static class ProductChangeStatusUserErrorCodeStringValues - { - public const string PRODUCT_NOT_FOUND = @"PRODUCT_NOT_FOUND"; - public const string COMBINED_LISTINGS_NOT_COMPATIBLE_WITH_SHOP = @"COMBINED_LISTINGS_NOT_COMPATIBLE_WITH_SHOP"; - } - + [Description("Cannot be unarchived because combined listings are not compatible with this store.")] + COMBINED_LISTINGS_NOT_COMPATIBLE_WITH_SHOP, + } + + public static class ProductChangeStatusUserErrorCodeStringValues + { + public const string PRODUCT_NOT_FOUND = @"PRODUCT_NOT_FOUND"; + public const string COMBINED_LISTINGS_NOT_COMPATIBLE_WITH_SHOP = @"COMBINED_LISTINGS_NOT_COMPATIBLE_WITH_SHOP"; + } + /// ///The input fields to claim ownership for Product features such as Bundles. /// - [Description("The input fields to claim ownership for Product features such as Bundles.")] - public class ProductClaimOwnershipInput : GraphQLObject - { + [Description("The input fields to claim ownership for Product features such as Bundles.")] + public class ProductClaimOwnershipInput : GraphQLObject + { /// ///Claiming ownership of bundles lets the app render a custom UI for the bundles' card on the ///products details page in the Shopify admin. @@ -93864,289 +93864,289 @@ public class ProductClaimOwnershipInput : GraphQLObject - [Description("Claiming ownership of bundles lets the app render a custom UI for the bundles' card on the\nproducts details page in the Shopify admin.\n\nBundle ownership can only be claimed when creating the product. If you create `ProductVariantComponents`\nin any of its product variants, then the bundle ownership is automatically assigned to the app making the call.\n\n[Learn more](https://shopify.dev/docs/apps/selling-strategies/bundles/product-config).")] - public bool? bundles { get; set; } - } - + [Description("Claiming ownership of bundles lets the app render a custom UI for the bundles' card on the\nproducts details page in the Shopify admin.\n\nBundle ownership can only be claimed when creating the product. If you create `ProductVariantComponents`\nin any of its product variants, then the bundle ownership is automatically assigned to the app making the call.\n\n[Learn more](https://shopify.dev/docs/apps/selling-strategies/bundles/product-config).")] + public bool? bundles { get; set; } + } + /// ///The set of valid sort keys for products belonging to a collection. /// - [Description("The set of valid sort keys for products belonging to a collection.")] - public enum ProductCollectionSortKeys - { + [Description("The set of valid sort keys for products belonging to a collection.")] + public enum ProductCollectionSortKeys + { /// ///Sort by best selling. /// - [Description("Sort by best selling.")] - BEST_SELLING, + [Description("Sort by best selling.")] + BEST_SELLING, /// ///Sort by collection default order. /// - [Description("Sort by collection default order.")] - COLLECTION_DEFAULT, + [Description("Sort by collection default order.")] + COLLECTION_DEFAULT, /// ///Sort by creation time. /// - [Description("Sort by creation time.")] - CREATED, + [Description("Sort by creation time.")] + CREATED, /// ///Sort by id. /// - [Description("Sort by id.")] - ID, + [Description("Sort by id.")] + ID, /// ///Sort by manual order. /// - [Description("Sort by manual order.")] - MANUAL, + [Description("Sort by manual order.")] + MANUAL, /// ///Sort by price. /// - [Description("Sort by price.")] - PRICE, + [Description("Sort by price.")] + PRICE, /// ///Sort by relevance. /// - [Description("Sort by relevance.")] - RELEVANCE, + [Description("Sort by relevance.")] + RELEVANCE, /// ///Sort by title. /// - [Description("Sort by title.")] - TITLE, - } - - public static class ProductCollectionSortKeysStringValues - { - public const string BEST_SELLING = @"BEST_SELLING"; - public const string COLLECTION_DEFAULT = @"COLLECTION_DEFAULT"; - public const string CREATED = @"CREATED"; - public const string ID = @"ID"; - public const string MANUAL = @"MANUAL"; - public const string PRICE = @"PRICE"; - public const string RELEVANCE = @"RELEVANCE"; - public const string TITLE = @"TITLE"; - } - + [Description("Sort by title.")] + TITLE, + } + + public static class ProductCollectionSortKeysStringValues + { + public const string BEST_SELLING = @"BEST_SELLING"; + public const string COLLECTION_DEFAULT = @"COLLECTION_DEFAULT"; + public const string CREATED = @"CREATED"; + public const string ID = @"ID"; + public const string MANUAL = @"MANUAL"; + public const string PRICE = @"PRICE"; + public const string RELEVANCE = @"RELEVANCE"; + public const string TITLE = @"TITLE"; + } + /// ///The compare-at price range of the product. /// - [Description("The compare-at price range of the product.")] - public class ProductCompareAtPriceRange : GraphQLObject - { + [Description("The compare-at price range of the product.")] + public class ProductCompareAtPriceRange : GraphQLObject + { /// ///The highest variant's compare-at price. /// - [Description("The highest variant's compare-at price.")] - [NonNull] - public MoneyV2? maxVariantCompareAtPrice { get; set; } - + [Description("The highest variant's compare-at price.")] + [NonNull] + public MoneyV2? maxVariantCompareAtPrice { get; set; } + /// ///The lowest variant's compare-at price. /// - [Description("The lowest variant's compare-at price.")] - [NonNull] - public MoneyV2? minVariantCompareAtPrice { get; set; } - } - + [Description("The lowest variant's compare-at price.")] + [NonNull] + public MoneyV2? minVariantCompareAtPrice { get; set; } + } + /// ///The product component information. /// - [Description("The product component information.")] - public class ProductComponentType : GraphQLObject - { + [Description("The product component information.")] + public class ProductComponentType : GraphQLObject + { /// ///The list of products' variants that are components. /// - [Description("The list of products' variants that are components.")] - [NonNull] - public ProductVariantConnection? componentVariants { get; set; } - + [Description("The list of products' variants that are components.")] + [NonNull] + public ProductVariantConnection? componentVariants { get; set; } + /// ///The number of component variants for the product component. /// - [Description("The number of component variants for the product component.")] - public Count? componentVariantsCount { get; set; } - + [Description("The number of component variants for the product component.")] + public Count? componentVariantsCount { get; set; } + /// ///The list of products' variants that are not components. /// - [Description("The list of products' variants that are not components.")] - [NonNull] - public ProductVariantConnection? nonComponentVariants { get; set; } - + [Description("The list of products' variants that are not components.")] + [NonNull] + public ProductVariantConnection? nonComponentVariants { get; set; } + /// ///The number of non_components variants for the product component. /// - [Description("The number of non_components variants for the product component.")] - public Count? nonComponentVariantsCount { get; set; } - + [Description("The number of non_components variants for the product component.")] + public Count? nonComponentVariantsCount { get; set; } + /// ///The product that's a component. /// - [Description("The product that's a component.")] - [NonNull] - public Product? product { get; set; } - } - + [Description("The product that's a component.")] + [NonNull] + public Product? product { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductComponentTypes. /// - [Description("An auto-generated type for paginating through multiple ProductComponentTypes.")] - public class ProductComponentTypeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductComponentTypes.")] + public class ProductComponentTypeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductComponentTypeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductComponentTypeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductComponentTypeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ProductComponentType and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductComponentType and a cursor during pagination.")] - public class ProductComponentTypeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductComponentType and a cursor during pagination.")] + public class ProductComponentTypeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductComponentTypeEdge. /// - [Description("The item at the end of ProductComponentTypeEdge.")] - [NonNull] - public ProductComponentType? node { get; set; } - } - + [Description("The item at the end of ProductComponentTypeEdge.")] + [NonNull] + public ProductComponentType? node { get; set; } + } + /// ///An auto-generated type for paginating through multiple Products. /// - [Description("An auto-generated type for paginating through multiple Products.")] - public class ProductConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Products.")] + public class ProductConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The price of a product in a specific country. ///Prices vary between countries. ///Refer to [Product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product?example=Get+the+price+range+for+a+product+for+buyers+from+Canada) ///for more information on how to use this object. /// - [Description("The price of a product in a specific country.\nPrices vary between countries.\nRefer to [Product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product?example=Get+the+price+range+for+a+product+for+buyers+from+Canada)\nfor more information on how to use this object.")] - public class ProductContextualPricing : GraphQLObject - { + [Description("The price of a product in a specific country.\nPrices vary between countries.\nRefer to [Product](https://shopify.dev/docs/api/admin-graphql/latest/queries/product?example=Get+the+price+range+for+a+product+for+buyers+from+Canada)\nfor more information on how to use this object.")] + public class ProductContextualPricing : GraphQLObject + { /// ///The number of fixed quantity rules for the product's variants on the price list. /// - [Description("The number of fixed quantity rules for the product's variants on the price list.")] - [NonNull] - public int? fixedQuantityRulesCount { get; set; } - + [Description("The number of fixed quantity rules for the product's variants on the price list.")] + [NonNull] + public int? fixedQuantityRulesCount { get; set; } + /// ///The pricing of the variant with the highest price in the given context. /// - [Description("The pricing of the variant with the highest price in the given context.")] - public ProductVariantContextualPricing? maxVariantPricing { get; set; } - + [Description("The pricing of the variant with the highest price in the given context.")] + public ProductVariantContextualPricing? maxVariantPricing { get; set; } + /// ///The pricing of the variant with the lowest price in the given context. /// - [Description("The pricing of the variant with the lowest price in the given context.")] - public ProductVariantContextualPricing? minVariantPricing { get; set; } - + [Description("The pricing of the variant with the lowest price in the given context.")] + public ProductVariantContextualPricing? minVariantPricing { get; set; } + /// ///The minimum and maximum prices of a product, expressed in decimal numbers. ///For example, if the product is priced between $10.00 and $50.00, ///then the price range is $10.00 - $50.00. /// - [Description("The minimum and maximum prices of a product, expressed in decimal numbers.\nFor example, if the product is priced between $10.00 and $50.00,\nthen the price range is $10.00 - $50.00.")] - [NonNull] - public ProductPriceRangeV2? priceRange { get; set; } - } - + [Description("The minimum and maximum prices of a product, expressed in decimal numbers.\nFor example, if the product is priced between $10.00 and $50.00,\nthen the price range is $10.00 - $50.00.")] + [NonNull] + public ProductPriceRangeV2? priceRange { get; set; } + } + /// ///The input fields required to create a product. /// - [Description("The input fields required to create a product.")] - public class ProductCreateInput : GraphQLObject - { + [Description("The input fields required to create a product.")] + public class ProductCreateInput : GraphQLObject + { /// ///The description of the product, with HTML tags. ///For example, the description might include bold `<strong> </strong>` and italic `<i> </i>` text. /// - [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] - public string? descriptionHtml { get; set; } - + [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] + public string? descriptionHtml { get; set; } + /// ///A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces. ///If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle ///is already taken, in which case a suffix is added to make the handle unique). /// - [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] - public string? handle { get; set; } - + [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] + public string? handle { get; set; } + /// ///The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords) ///that are associated with a product. /// - [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] - public SEOInput? seo { get; set; } - + [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] + public SEOInput? seo { get; set; } + /// ///The [product type](https://help.shopify.com/manual/products/details/product-type) ///that merchants define. /// - [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] - public string? productType { get; set; } - + [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] + public string? productType { get; set; } + /// ///The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) ///that's associated with the product. /// - [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] - public string? category { get; set; } - + [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] + public string? category { get; set; } + /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -94157,83 +94157,83 @@ public class ProductCreateInput : GraphQLObject ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - public IEnumerable? tags { get; set; } - + [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + public IEnumerable? tags { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] - public string? templateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] + public string? templateSuffix { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] - public string? giftCardTemplateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] + public string? giftCardTemplateSuffix { get; set; } + /// ///The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated. /// - [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] - public string? title { get; set; } - + [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] + public string? title { get; set; } + /// ///The name of the product's vendor. /// - [Description("The name of the product's vendor.")] - public string? vendor { get; set; } - + [Description("The name of the product's vendor.")] + public string? vendor { get; set; } + /// ///Whether the product is a gift card. /// - [Description("Whether the product is a gift card.")] - public bool? giftCard { get; set; } - + [Description("Whether the product is a gift card.")] + public bool? giftCard { get; set; } + /// ///A list of collection IDs to associate with the product. /// - [Description("A list of collection IDs to associate with the product.")] - public IEnumerable? collectionsToJoin { get; set; } - + [Description("A list of collection IDs to associate with the product.")] + public IEnumerable? collectionsToJoin { get; set; } + /// ///The role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings). /// - [Description("The role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).")] - [EnumType(typeof(CombinedListingsRole))] - public string? combinedListingRole { get; set; } - + [Description("The role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).")] + [EnumType(typeof(CombinedListingsRole))] + public string? combinedListingRole { get; set; } + /// ///The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product ///for the purposes of adding and storing additional information. /// - [Description("The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product\nfor the purposes of adding and storing additional information.")] - public IEnumerable? metafields { get; set; } - + [Description("The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product\nfor the purposes of adding and storing additional information.")] + public IEnumerable? metafields { get; set; } + /// ///A list of product options and option values. Maximum product options: three. There's no limit on the number of option values. /// - [Description("A list of product options and option values. Maximum product options: three. There's no limit on the number of option values.")] - public IEnumerable? productOptions { get; set; } - + [Description("A list of product options and option values. Maximum product options: three. There's no limit on the number of option values.")] + public IEnumerable? productOptions { get; set; } + /// ///The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status), ///which controls visibility across all sales channels. /// - [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] - [EnumType(typeof(ProductStatus))] - public string? status { get; set; } - + [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] + [EnumType(typeof(ProductStatus))] + public string? status { get; set; } + /// ///Whether the product can only be purchased with ///a [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans). ///Products that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores. ///If you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store. /// - [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store.")] - public bool? requiresSellingPlan { get; set; } - + [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store.")] + public bool? requiresSellingPlan { get; set; } + /// ///The input field to enable an app to provide additional product features. ///For example, you can specify @@ -94241,125 +94241,125 @@ public class ProductCreateInput : GraphQLObject ///in the `claimOwnership` field to let an app add a ///[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui). /// - [Description("The input field to enable an app to provide additional product features.\nFor example, you can specify\n[`bundles: true`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductClaimOwnershipInput#field-bundles)\nin the `claimOwnership` field to let an app add a\n[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui).")] - public ProductClaimOwnershipInput? claimOwnership { get; set; } - } - + [Description("The input field to enable an app to provide additional product features.\nFor example, you can specify\n[`bundles: true`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductClaimOwnershipInput#field-bundles)\nin the `claimOwnership` field to let an app add a\n[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui).")] + public ProductClaimOwnershipInput? claimOwnership { get; set; } + } + /// ///Return type for `productCreateMedia` mutation. /// - [Description("Return type for `productCreateMedia` mutation.")] - public class ProductCreateMediaPayload : GraphQLObject - { + [Description("Return type for `productCreateMedia` mutation.")] + public class ProductCreateMediaPayload : GraphQLObject + { /// ///The newly created media. /// - [Description("The newly created media.")] - public IEnumerable? media { get; set; } - + [Description("The newly created media.")] + public IEnumerable? media { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? mediaUserErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? mediaUserErrors { get; set; } + /// ///The product associated with the media. /// - [Description("The product associated with the media.")] - public Product? product { get; set; } - + [Description("The product associated with the media.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [Obsolete("Use `mediaUserErrors` instead.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [Obsolete("Use `mediaUserErrors` instead.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productCreate` mutation. /// - [Description("Return type for `productCreate` mutation.")] - public class ProductCreatePayload : GraphQLObject - { + [Description("Return type for `productCreate` mutation.")] + public class ProductCreatePayload : GraphQLObject + { /// ///The product object. /// - [Description("The product object.")] - public Product? product { get; set; } - + [Description("The product object.")] + public Product? product { get; set; } + /// ///The shop associated with the product. /// - [Description("The shop associated with the product.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The shop associated with the product.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for specifying the product to delete. /// - [Description("The input fields for specifying the product to delete.")] - public class ProductDeleteInput : GraphQLObject - { + [Description("The input fields for specifying the product to delete.")] + public class ProductDeleteInput : GraphQLObject + { /// ///The ID of the product. /// - [Description("The ID of the product.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the product.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `productDeleteMedia` mutation. /// - [Description("Return type for `productDeleteMedia` mutation.")] - public class ProductDeleteMediaPayload : GraphQLObject - { + [Description("Return type for `productDeleteMedia` mutation.")] + public class ProductDeleteMediaPayload : GraphQLObject + { /// ///List of media IDs which were deleted. /// - [Description("List of media IDs which were deleted.")] - public IEnumerable? deletedMediaIds { get; set; } - + [Description("List of media IDs which were deleted.")] + public IEnumerable? deletedMediaIds { get; set; } + /// ///List of product image IDs which were deleted. /// - [Description("List of product image IDs which were deleted.")] - public IEnumerable? deletedProductImageIds { get; set; } - + [Description("List of product image IDs which were deleted.")] + public IEnumerable? deletedProductImageIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? mediaUserErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? mediaUserErrors { get; set; } + /// ///The product associated with the deleted media. /// - [Description("The product associated with the deleted media.")] - public Product? product { get; set; } - + [Description("The product associated with the deleted media.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [Obsolete("Use `mediaUserErrors` instead.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [Obsolete("Use `mediaUserErrors` instead.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An entity that represents details of an asynchronous ///[ProductDelete](https://shopify.dev/api/admin-graphql/current/mutations/productDelete) mutation. @@ -94374,98 +94374,98 @@ public class ProductDeleteMediaPayload : GraphQLObject - [Description("An entity that represents details of an asynchronous\n[ProductDelete](https://shopify.dev/api/admin-graphql/current/mutations/productDelete) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned when the product was deleted, this can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `deletedProductId` field provides the ID of the deleted product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] - public class ProductDeleteOperation : GraphQLObject, INode, IProductOperation - { + [Description("An entity that represents details of an asynchronous\n[ProductDelete](https://shopify.dev/api/admin-graphql/current/mutations/productDelete) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned when the product was deleted, this can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `deletedProductId` field provides the ID of the deleted product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] + public class ProductDeleteOperation : GraphQLObject, INode, IProductOperation + { /// ///The ID of the deleted product. /// - [Description("The ID of the deleted product.")] - public string? deletedProductId { get; set; } - + [Description("The ID of the deleted product.")] + public string? deletedProductId { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The product on which the operation is being performed. /// - [Description("The product on which the operation is being performed.")] - public Product? product { get; set; } - + [Description("The product on which the operation is being performed.")] + public Product? product { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ProductOperationStatus))] - public string? status { get; set; } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ProductOperationStatus))] + public string? status { get; set; } + /// ///Returns mutation errors occurred during background mutation processing. /// - [Description("Returns mutation errors occurred during background mutation processing.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("Returns mutation errors occurred during background mutation processing.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productDelete` mutation. /// - [Description("Return type for `productDelete` mutation.")] - public class ProductDeletePayload : GraphQLObject - { + [Description("Return type for `productDelete` mutation.")] + public class ProductDeletePayload : GraphQLObject + { /// ///The ID of the deleted product. /// - [Description("The ID of the deleted product.")] - public string? deletedProductId { get; set; } - + [Description("The ID of the deleted product.")] + public string? deletedProductId { get; set; } + /// ///The product delete operation, returned when run in asynchronous mode. /// - [Description("The product delete operation, returned when run in asynchronous mode.")] - public ProductDeleteOperation? productDeleteOperation { get; set; } - + [Description("The product delete operation, returned when run in asynchronous mode.")] + public ProductDeleteOperation? productDeleteOperation { get; set; } + /// ///The shop associated with the product. /// - [Description("The shop associated with the product.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The shop associated with the product.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a product duplication job. /// - [Description("Represents a product duplication job.")] - public class ProductDuplicateJob : GraphQLObject - { + [Description("Represents a product duplication job.")] + public class ProductDuplicateJob : GraphQLObject + { /// ///This indicates if the job is still queued or has been run. /// - [Description("This indicates if the job is still queued or has been run.")] - [NonNull] - public bool? done { get; set; } - + [Description("This indicates if the job is still queued or has been run.")] + [NonNull] + public bool? done { get; set; } + /// ///A globally-unique ID that's returned when running an asynchronous mutation. /// - [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID that's returned when running an asynchronous mutation.")] + [NonNull] + public string? id { get; set; } + } + /// ///An entity that represents details of an asynchronous ///[ProductDuplicate](https://shopify.dev/api/admin-graphql/current/mutations/productDuplicate) mutation. @@ -94484,535 +94484,535 @@ public class ProductDuplicateJob : GraphQLObject /// ///The `userErrors` field provides mutation errors that occurred during the operation. /// - [Description("An entity that represents details of an asynchronous\n[ProductDuplicate](https://shopify.dev/api/admin-graphql/current/mutations/productDuplicate) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned\n[when the product was duplicated](https://shopify.dev/api/admin/migrate/new-product-model/sync-data#create-a-product-with-variants-and-options-asynchronously),\nthis can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the original product.\n\nThe `newProduct` field provides the details of the new duplicate of the product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] - public class ProductDuplicateOperation : GraphQLObject, INode, IProductOperation - { + [Description("An entity that represents details of an asynchronous\n[ProductDuplicate](https://shopify.dev/api/admin-graphql/current/mutations/productDuplicate) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned\n[when the product was duplicated](https://shopify.dev/api/admin/migrate/new-product-model/sync-data#create-a-product-with-variants-and-options-asynchronously),\nthis can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the original product.\n\nThe `newProduct` field provides the details of the new duplicate of the product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] + public class ProductDuplicateOperation : GraphQLObject, INode, IProductOperation + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The newly created duplicate of the original product. /// - [Description("The newly created duplicate of the original product.")] - public Product? newProduct { get; set; } - + [Description("The newly created duplicate of the original product.")] + public Product? newProduct { get; set; } + /// ///The product on which the operation is being performed. /// - [Description("The product on which the operation is being performed.")] - public Product? product { get; set; } - + [Description("The product on which the operation is being performed.")] + public Product? product { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ProductOperationStatus))] - public string? status { get; set; } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ProductOperationStatus))] + public string? status { get; set; } + /// ///Returns mutation errors occurred during background mutation processing. /// - [Description("Returns mutation errors occurred during background mutation processing.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("Returns mutation errors occurred during background mutation processing.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productDuplicate` mutation. /// - [Description("Return type for `productDuplicate` mutation.")] - public class ProductDuplicatePayload : GraphQLObject - { + [Description("Return type for `productDuplicate` mutation.")] + public class ProductDuplicatePayload : GraphQLObject + { /// ///The asynchronous job that duplicates the product images. /// - [Description("The asynchronous job that duplicates the product images.")] - public Job? imageJob { get; set; } - + [Description("The asynchronous job that duplicates the product images.")] + public Job? imageJob { get; set; } + /// ///The duplicated product. /// - [Description("The duplicated product.")] - public Product? newProduct { get; set; } - + [Description("The duplicated product.")] + public Product? newProduct { get; set; } + /// ///The product duplicate operation, returned when run in asynchronous mode. /// - [Description("The product duplicate operation, returned when run in asynchronous mode.")] - public ProductDuplicateOperation? productDuplicateOperation { get; set; } - + [Description("The product duplicate operation, returned when run in asynchronous mode.")] + public ProductDuplicateOperation? productDuplicateOperation { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Product and a cursor during pagination. /// - [Description("An auto-generated type which holds one Product and a cursor during pagination.")] - public class ProductEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Product and a cursor during pagination.")] + public class ProductEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductEdge. /// - [Description("The item at the end of ProductEdge.")] - [NonNull] - public Product? node { get; set; } - } - + [Description("The item at the end of ProductEdge.")] + [NonNull] + public Product? node { get; set; } + } + /// ///A product feed. /// - [Description("A product feed.")] - public class ProductFeed : GraphQLObject, INode - { + [Description("A product feed.")] + public class ProductFeed : GraphQLObject, INode + { /// ///The country of the product feed. /// - [Description("The country of the product feed.")] - [EnumType(typeof(CountryCode))] - public string? country { get; set; } - + [Description("The country of the product feed.")] + [EnumType(typeof(CountryCode))] + public string? country { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The language of the product feed. /// - [Description("The language of the product feed.")] - [EnumType(typeof(LanguageCode))] - public string? language { get; set; } - + [Description("The language of the product feed.")] + [EnumType(typeof(LanguageCode))] + public string? language { get; set; } + /// ///The status of the product feed. /// - [Description("The status of the product feed.")] - [NonNull] - [EnumType(typeof(ProductFeedStatus))] - public string? status { get; set; } - } - + [Description("The status of the product feed.")] + [NonNull] + [EnumType(typeof(ProductFeedStatus))] + public string? status { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductFeeds. /// - [Description("An auto-generated type for paginating through multiple ProductFeeds.")] - public class ProductFeedConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductFeeds.")] + public class ProductFeedConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductFeedEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductFeedEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductFeedEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `productFeedCreate` mutation. /// - [Description("Return type for `productFeedCreate` mutation.")] - public class ProductFeedCreatePayload : GraphQLObject - { + [Description("Return type for `productFeedCreate` mutation.")] + public class ProductFeedCreatePayload : GraphQLObject + { /// ///The newly created product feed. /// - [Description("The newly created product feed.")] - public ProductFeed? productFeed { get; set; } - + [Description("The newly created product feed.")] + public ProductFeed? productFeed { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ProductFeedCreate`. /// - [Description("An error that occurs during the execution of `ProductFeedCreate`.")] - public class ProductFeedCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ProductFeedCreate`.")] + public class ProductFeedCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductFeedCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductFeedCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductFeedCreateUserError`. /// - [Description("Possible error codes that can be returned by `ProductFeedCreateUserError`.")] - public enum ProductFeedCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductFeedCreateUserError`.")] + public enum ProductFeedCreateUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, - } - - public static class ProductFeedCreateUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - } - + [Description("The input value is already taken.")] + TAKEN, + } + + public static class ProductFeedCreateUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + } + /// ///Return type for `productFeedDelete` mutation. /// - [Description("Return type for `productFeedDelete` mutation.")] - public class ProductFeedDeletePayload : GraphQLObject - { + [Description("Return type for `productFeedDelete` mutation.")] + public class ProductFeedDeletePayload : GraphQLObject + { /// ///The ID of the product feed that was deleted. /// - [Description("The ID of the product feed that was deleted.")] - public string? deletedId { get; set; } - + [Description("The ID of the product feed that was deleted.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ProductFeedDelete`. /// - [Description("An error that occurs during the execution of `ProductFeedDelete`.")] - public class ProductFeedDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ProductFeedDelete`.")] + public class ProductFeedDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductFeedDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductFeedDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductFeedDeleteUserError`. /// - [Description("Possible error codes that can be returned by `ProductFeedDeleteUserError`.")] - public enum ProductFeedDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductFeedDeleteUserError`.")] + public enum ProductFeedDeleteUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class ProductFeedDeleteUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class ProductFeedDeleteUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///An auto-generated type which holds one ProductFeed and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductFeed and a cursor during pagination.")] - public class ProductFeedEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductFeed and a cursor during pagination.")] + public class ProductFeedEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductFeedEdge. /// - [Description("The item at the end of ProductFeedEdge.")] - [NonNull] - public ProductFeed? node { get; set; } - } - + [Description("The item at the end of ProductFeedEdge.")] + [NonNull] + public ProductFeed? node { get; set; } + } + /// ///The input fields required to create a product feed. /// - [Description("The input fields required to create a product feed.")] - public class ProductFeedInput : GraphQLObject - { + [Description("The input fields required to create a product feed.")] + public class ProductFeedInput : GraphQLObject + { /// ///The language of the product feed. /// - [Description("The language of the product feed.")] - [NonNull] - [EnumType(typeof(LanguageCode))] - public string? language { get; set; } - + [Description("The language of the product feed.")] + [NonNull] + [EnumType(typeof(LanguageCode))] + public string? language { get; set; } + /// ///The country of the product feed. /// - [Description("The country of the product feed.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? country { get; set; } - } - + [Description("The country of the product feed.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? country { get; set; } + } + /// ///The valid values for the status of product feed. /// - [Description("The valid values for the status of product feed.")] - public enum ProductFeedStatus - { + [Description("The valid values for the status of product feed.")] + public enum ProductFeedStatus + { /// ///The product feed is active. /// - [Description("The product feed is active.")] - ACTIVE, + [Description("The product feed is active.")] + ACTIVE, /// ///The product feed is inactive. /// - [Description("The product feed is inactive.")] - INACTIVE, - } - - public static class ProductFeedStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string INACTIVE = @"INACTIVE"; - } - + [Description("The product feed is inactive.")] + INACTIVE, + } + + public static class ProductFeedStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string INACTIVE = @"INACTIVE"; + } + /// ///Return type for `productFullSync` mutation. /// - [Description("Return type for `productFullSync` mutation.")] - public class ProductFullSyncPayload : GraphQLObject - { + [Description("Return type for `productFullSync` mutation.")] + public class ProductFullSyncPayload : GraphQLObject + { /// ///The ID for the full sync operation. /// - [Description("The ID for the full sync operation.")] - public string? id { get; set; } - + [Description("The ID for the full sync operation.")] + public string? id { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ProductFullSync`. /// - [Description("An error that occurs during the execution of `ProductFullSync`.")] - public class ProductFullSyncUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ProductFullSync`.")] + public class ProductFullSyncUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductFullSyncUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductFullSyncUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductFullSyncUserError`. /// - [Description("Possible error codes that can be returned by `ProductFullSyncUserError`.")] - public enum ProductFullSyncUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductFullSyncUserError`.")] + public enum ProductFullSyncUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class ProductFullSyncUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class ProductFullSyncUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///The input fields for identifying a product. /// - [Description("The input fields for identifying a product.")] - public class ProductIdentifierInput : GraphQLObject - { + [Description("The input fields for identifying a product.")] + public class ProductIdentifierInput : GraphQLObject + { /// ///The ID of the product. /// - [Description("The ID of the product.")] - public string? id { get; set; } - + [Description("The ID of the product.")] + public string? id { get; set; } + /// ///The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the product. /// - [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the product.")] - public UniqueMetafieldValueInput? customId { get; set; } - + [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the product.")] + public UniqueMetafieldValueInput? customId { get; set; } + /// ///The handle of the product. /// - [Description("The handle of the product.")] - public string? handle { get; set; } - } - + [Description("The handle of the product.")] + public string? handle { get; set; } + } + /// ///The set of valid sort keys for the ProductImage query. /// - [Description("The set of valid sort keys for the ProductImage query.")] - public enum ProductImageSortKeys - { + [Description("The set of valid sort keys for the ProductImage query.")] + public enum ProductImageSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `position` value. /// - [Description("Sort by the `position` value.")] - POSITION, - } - - public static class ProductImageSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string POSITION = @"POSITION"; - } - + [Description("Sort by the `position` value.")] + POSITION, + } + + public static class ProductImageSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string POSITION = @"POSITION"; + } + /// ///The input fields for creating or updating a product. /// - [Description("The input fields for creating or updating a product.")] - public class ProductInput : GraphQLObject - { + [Description("The input fields for creating or updating a product.")] + public class ProductInput : GraphQLObject + { /// ///The description of the product, with HTML tags. ///For example, the description might include bold `<strong> </strong>` and italic `<i> </i>` text. /// - [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] - public string? descriptionHtml { get; set; } - + [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] + public string? descriptionHtml { get; set; } + /// ///A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces. ///If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle ///is already taken, in which case a suffix is added to make the handle unique). /// - [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] - public string? handle { get; set; } - + [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] + public string? handle { get; set; } + /// ///The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords) ///that are associated with a product. /// - [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] - public SEOInput? seo { get; set; } - + [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] + public SEOInput? seo { get; set; } + /// ///The [product type](https://help.shopify.com/manual/products/details/product-type) ///that merchants define. /// - [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] - public string? productType { get; set; } - + [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] + public string? productType { get; set; } + /// ///The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) ///that's associated with the product. /// - [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] - public string? category { get; set; } - + [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] + public string? category { get; set; } + /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -95023,67 +95023,67 @@ public class ProductInput : GraphQLObject ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - public IEnumerable? tags { get; set; } - + [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + public IEnumerable? tags { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] - public string? templateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] + public string? templateSuffix { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] - public string? giftCardTemplateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] + public string? giftCardTemplateSuffix { get; set; } + /// ///The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated. /// - [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] - public string? title { get; set; } - + [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] + public string? title { get; set; } + /// ///The name of the product's vendor. /// - [Description("The name of the product's vendor.")] - public string? vendor { get; set; } - + [Description("The name of the product's vendor.")] + public string? vendor { get; set; } + /// ///Whether the product is a gift card. /// - [Description("Whether the product is a gift card.")] - public bool? giftCard { get; set; } - + [Description("Whether the product is a gift card.")] + public bool? giftCard { get; set; } + /// ///Whether a redirect is required after a new handle has been provided. ///If `true`, then the old handle is redirected to the new one automatically. /// - [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] - public bool? redirectNewHandle { get; set; } - + [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] + public bool? redirectNewHandle { get; set; } + /// ///A list of collection IDs to associate with the product. /// - [Description("A list of collection IDs to associate with the product.")] - public IEnumerable? collectionsToJoin { get; set; } - + [Description("A list of collection IDs to associate with the product.")] + public IEnumerable? collectionsToJoin { get; set; } + /// ///The collection IDs to disassociate from the product. /// - [Description("The collection IDs to disassociate from the product.")] - public IEnumerable? collectionsToLeave { get; set; } - + [Description("The collection IDs to disassociate from the product.")] + public IEnumerable? collectionsToLeave { get; set; } + /// ///The role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings). ///You can specify this field only when you create a product. /// - [Description("The role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).\nYou can specify this field only when you create a product.")] - [EnumType(typeof(CombinedListingsRole))] - public string? combinedListingRole { get; set; } - + [Description("The role of the product in a [combined listing](https://shopify.dev/apps/build/product-merchandising/combined-listings).\nYou can specify this field only when you create a product.")] + [EnumType(typeof(CombinedListingsRole))] + public string? combinedListingRole { get; set; } + /// ///The product's ID. /// @@ -95093,83 +95093,83 @@ public class ProductInput : GraphQLObject ///[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation ///to identify which product you want to update. /// - [Description("The product's ID.\n\nIf you're creating a product, then you don't need to pass the `id` as input to the\n[`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate) mutation.\nIf you're updating a product, then you do need to pass the `id` as input to the\n[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation\nto identify which product you want to update.")] - public string? id { get; set; } - + [Description("The product's ID.\n\nIf you're creating a product, then you don't need to pass the `id` as input to the\n[`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate) mutation.\nIf you're updating a product, then you do need to pass the `id` as input to the\n[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation\nto identify which product you want to update.")] + public string? id { get; set; } + /// ///The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product ///for the purposes of adding and storing additional information. /// - [Description("The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product\nfor the purposes of adding and storing additional information.")] - public IEnumerable? metafields { get; set; } - + [Description("The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product\nfor the purposes of adding and storing additional information.")] + public IEnumerable? metafields { get; set; } + /// ///A list of product options and option values. Maximum product options: three. There's no limit on the number of option values. ///This input is supported only with the [`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate) ///mutation. /// - [Description("A list of product options and option values. Maximum product options: three. There's no limit on the number of option values.\nThis input is supported only with the [`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate)\nmutation.")] - public IEnumerable? productOptions { get; set; } - + [Description("A list of product options and option values. Maximum product options: three. There's no limit on the number of option values.\nThis input is supported only with the [`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate)\nmutation.")] + public IEnumerable? productOptions { get; set; } + /// ///A list of the channels where the product is published. /// - [Description("A list of the channels where the product is published.")] - [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] - public IEnumerable? productPublications { get; set; } - + [Description("A list of the channels where the product is published.")] + [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] + public IEnumerable? productPublications { get; set; } + /// ///A list of the channels where the product is published. /// - [Description("A list of the channels where the product is published.")] - [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] - public IEnumerable? publications { get; set; } - + [Description("A list of the channels where the product is published.")] + [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] + public IEnumerable? publications { get; set; } + /// ///Only products with an active status can be published. /// - [Description("Only products with an active status can be published.")] - [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] - public DateTime? publishDate { get; set; } - + [Description("Only products with an active status can be published.")] + [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] + public DateTime? publishDate { get; set; } + /// ///Only products with an active status can be published. /// - [Description("Only products with an active status can be published.")] - [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] - public DateTime? publishOn { get; set; } - + [Description("Only products with an active status can be published.")] + [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] + public DateTime? publishOn { get; set; } + /// ///Only products with an active status can be published. /// - [Description("Only products with an active status can be published.")] - [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] - public bool? published { get; set; } - + [Description("Only products with an active status can be published.")] + [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] + public bool? published { get; set; } + /// ///Only products with an active status can be published. /// - [Description("Only products with an active status can be published.")] - [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] - public DateTime? publishedAt { get; set; } - + [Description("Only products with an active status can be published.")] + [Obsolete("Use [`PublishablePublish`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/publishablePublish)\ninstead.")] + public DateTime? publishedAt { get; set; } + /// ///The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status), ///which controls visibility across all sales channels. /// - [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] - [EnumType(typeof(ProductStatus))] - public string? status { get; set; } - + [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] + [EnumType(typeof(ProductStatus))] + public string? status { get; set; } + /// ///Whether the product can only be purchased with ///a [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans). ///Products that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores. ///If you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store. /// - [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store.")] - public bool? requiresSellingPlan { get; set; } - + [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store.")] + public bool? requiresSellingPlan { get; set; } + /// ///The input field to enable an app to provide additional product features. ///For example, you can specify @@ -95177,498 +95177,498 @@ public class ProductInput : GraphQLObject ///in the `claimOwnership` field to let an app add a ///[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui). /// - [Description("The input field to enable an app to provide additional product features.\nFor example, you can specify\n[`bundles: true`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductClaimOwnershipInput#field-bundles)\nin the `claimOwnership` field to let an app add a\n[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui).")] - public ProductClaimOwnershipInput? claimOwnership { get; set; } - } - + [Description("The input field to enable an app to provide additional product features.\nFor example, you can specify\n[`bundles: true`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductClaimOwnershipInput#field-bundles)\nin the `claimOwnership` field to let an app add a\n[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui).")] + public ProductClaimOwnershipInput? claimOwnership { get; set; } + } + /// ///Return type for `productJoinSellingPlanGroups` mutation. /// - [Description("Return type for `productJoinSellingPlanGroups` mutation.")] - public class ProductJoinSellingPlanGroupsPayload : GraphQLObject - { + [Description("Return type for `productJoinSellingPlanGroups` mutation.")] + public class ProductJoinSellingPlanGroupsPayload : GraphQLObject + { /// ///The product object. /// - [Description("The product object.")] - public Product? product { get; set; } - + [Description("The product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productLeaveSellingPlanGroups` mutation. /// - [Description("Return type for `productLeaveSellingPlanGroups` mutation.")] - public class ProductLeaveSellingPlanGroupsPayload : GraphQLObject - { + [Description("Return type for `productLeaveSellingPlanGroups` mutation.")] + public class ProductLeaveSellingPlanGroupsPayload : GraphQLObject + { /// ///The product object. /// - [Description("The product object.")] - public Product? product { get; set; } - + [Description("The product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of valid sort keys for the ProductMedia query. /// - [Description("The set of valid sort keys for the ProductMedia query.")] - public enum ProductMediaSortKeys - { + [Description("The set of valid sort keys for the ProductMedia query.")] + public enum ProductMediaSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `position` value. /// - [Description("Sort by the `position` value.")] - POSITION, - } - - public static class ProductMediaSortKeysStringValues - { - public const string ID = @"ID"; - public const string POSITION = @"POSITION"; - } - + [Description("Sort by the `position` value.")] + POSITION, + } + + public static class ProductMediaSortKeysStringValues + { + public const string ID = @"ID"; + public const string POSITION = @"POSITION"; + } + /// ///An entity that represents details of an asynchronous operation on a product. /// - [Description("An entity that represents details of an asynchronous operation on a product.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(ProductBundleOperation), typeDiscriminator: "ProductBundleOperation")] - [JsonDerivedType(typeof(ProductDeleteOperation), typeDiscriminator: "ProductDeleteOperation")] - [JsonDerivedType(typeof(ProductDuplicateOperation), typeDiscriminator: "ProductDuplicateOperation")] - [JsonDerivedType(typeof(ProductSetOperation), typeDiscriminator: "ProductSetOperation")] - public interface IProductOperation : IGraphQLObject - { - public ProductBundleOperation? AsProductBundleOperation() => this as ProductBundleOperation; - public ProductDeleteOperation? AsProductDeleteOperation() => this as ProductDeleteOperation; - public ProductDuplicateOperation? AsProductDuplicateOperation() => this as ProductDuplicateOperation; - public ProductSetOperation? AsProductSetOperation() => this as ProductSetOperation; + [Description("An entity that represents details of an asynchronous operation on a product.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(ProductBundleOperation), typeDiscriminator: "ProductBundleOperation")] + [JsonDerivedType(typeof(ProductDeleteOperation), typeDiscriminator: "ProductDeleteOperation")] + [JsonDerivedType(typeof(ProductDuplicateOperation), typeDiscriminator: "ProductDuplicateOperation")] + [JsonDerivedType(typeof(ProductSetOperation), typeDiscriminator: "ProductSetOperation")] + public interface IProductOperation : IGraphQLObject + { + public ProductBundleOperation? AsProductBundleOperation() => this as ProductBundleOperation; + public ProductDeleteOperation? AsProductDeleteOperation() => this as ProductDeleteOperation; + public ProductDuplicateOperation? AsProductDuplicateOperation() => this as ProductDuplicateOperation; + public ProductSetOperation? AsProductSetOperation() => this as ProductSetOperation; /// ///The product on which the operation is being performed. /// - [Description("The product on which the operation is being performed.")] - public Product? product { get; } - + [Description("The product on which the operation is being performed.")] + public Product? product { get; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ProductOperationStatus))] - public string? status { get; } - } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ProductOperationStatus))] + public string? status { get; } + } + /// ///Represents the state of this product operation. /// - [Description("Represents the state of this product operation.")] - public enum ProductOperationStatus - { + [Description("Represents the state of this product operation.")] + public enum ProductOperationStatus + { /// ///Operation has been created. /// - [Description("Operation has been created.")] - CREATED, + [Description("Operation has been created.")] + CREATED, /// ///Operation is currently running. /// - [Description("Operation is currently running.")] - ACTIVE, + [Description("Operation is currently running.")] + ACTIVE, /// ///Operation is complete. /// - [Description("Operation is complete.")] - COMPLETE, - } - - public static class ProductOperationStatusStringValues - { - public const string CREATED = @"CREATED"; - public const string ACTIVE = @"ACTIVE"; - public const string COMPLETE = @"COMPLETE"; - } - + [Description("Operation is complete.")] + COMPLETE, + } + + public static class ProductOperationStatusStringValues + { + public const string CREATED = @"CREATED"; + public const string ACTIVE = @"ACTIVE"; + public const string COMPLETE = @"COMPLETE"; + } + /// ///The product property names. For example, "Size", "Color", and "Material". ///Variants are selected based on permutations of these options. ///The limit for each product property name is 255 characters. /// - [Description("The product property names. For example, \"Size\", \"Color\", and \"Material\".\nVariants are selected based on permutations of these options.\nThe limit for each product property name is 255 characters.")] - public class ProductOption : GraphQLObject, IHasPublishedTranslations, INode - { + [Description("The product property names. For example, \"Size\", \"Color\", and \"Material\".\nVariants are selected based on permutations of these options.\nThe limit for each product property name is 255 characters.")] + public class ProductOption : GraphQLObject, IHasPublishedTranslations, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The metafield identifier linked to this option. /// - [Description("The metafield identifier linked to this option.")] - public LinkedMetafield? linkedMetafield { get; set; } - + [Description("The metafield identifier linked to this option.")] + public LinkedMetafield? linkedMetafield { get; set; } + /// ///The product option’s name. /// - [Description("The product option’s name.")] - [NonNull] - public string? name { get; set; } - + [Description("The product option’s name.")] + [NonNull] + public string? name { get; set; } + /// ///Similar to values, option_values returns all the corresponding option value objects to the product option, including values not assigned to any variants. /// - [Description("Similar to values, option_values returns all the corresponding option value objects to the product option, including values not assigned to any variants.")] - [NonNull] - public IEnumerable? optionValues { get; set; } - + [Description("Similar to values, option_values returns all the corresponding option value objects to the product option, including values not assigned to any variants.")] + [NonNull] + public IEnumerable? optionValues { get; set; } + /// ///The product option's position. /// - [Description("The product option's position.")] - [NonNull] - public int? position { get; set; } - + [Description("The product option's position.")] + [NonNull] + public int? position { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The corresponding value to the product option name. /// - [Description("The corresponding value to the product option name.")] - [NonNull] - public IEnumerable? values { get; set; } - } - + [Description("The corresponding value to the product option name.")] + [NonNull] + public IEnumerable? values { get; set; } + } + /// ///The set of variant strategies available for use in the `productOptionsCreate` mutation. /// - [Description("The set of variant strategies available for use in the `productOptionsCreate` mutation.")] - public enum ProductOptionCreateVariantStrategy - { + [Description("The set of variant strategies available for use in the `productOptionsCreate` mutation.")] + public enum ProductOptionCreateVariantStrategy + { /// ///No additional variants are created in response to the added options. Existing variants are updated with the ///first option value of each option added. /// - [Description("No additional variants are created in response to the added options. Existing variants are updated with the\nfirst option value of each option added.")] - LEAVE_AS_IS, + [Description("No additional variants are created in response to the added options. Existing variants are updated with the\nfirst option value of each option added.")] + LEAVE_AS_IS, /// ///Existing variants are updated with the first option value of each added option. New variants are ///created for each combination of existing variant option values and new option values. /// - [Description("Existing variants are updated with the first option value of each added option. New variants are\ncreated for each combination of existing variant option values and new option values.")] - CREATE, - } - - public static class ProductOptionCreateVariantStrategyStringValues - { - public const string LEAVE_AS_IS = @"LEAVE_AS_IS"; - public const string CREATE = @"CREATE"; - } - + [Description("Existing variants are updated with the first option value of each added option. New variants are\ncreated for each combination of existing variant option values and new option values.")] + CREATE, + } + + public static class ProductOptionCreateVariantStrategyStringValues + { + public const string LEAVE_AS_IS = @"LEAVE_AS_IS"; + public const string CREATE = @"CREATE"; + } + /// ///The set of strategies available for use on the `productOptionDelete` mutation. /// - [Description("The set of strategies available for use on the `productOptionDelete` mutation.")] - public enum ProductOptionDeleteStrategy - { + [Description("The set of strategies available for use on the `productOptionDelete` mutation.")] + public enum ProductOptionDeleteStrategy + { /// ///The default strategy, the specified `Option` may only have one corresponding `value`. /// - [Description("The default strategy, the specified `Option` may only have one corresponding `value`.")] - DEFAULT, + [Description("The default strategy, the specified `Option` may only have one corresponding `value`.")] + DEFAULT, /// ///An `Option` with multiple `values` can be deleted. Remaining variants will be deleted, highest `position` first, in the event of duplicates being detected. /// - [Description("An `Option` with multiple `values` can be deleted. Remaining variants will be deleted, highest `position` first, in the event of duplicates being detected.")] - POSITION, + [Description("An `Option` with multiple `values` can be deleted. Remaining variants will be deleted, highest `position` first, in the event of duplicates being detected.")] + POSITION, /// ///An `Option` with multiple `values` can be deleted, but the operation only succeeds if no product variants get deleted. /// - [Description("An `Option` with multiple `values` can be deleted, but the operation only succeeds if no product variants get deleted.")] - NON_DESTRUCTIVE, - } - - public static class ProductOptionDeleteStrategyStringValues - { - public const string DEFAULT = @"DEFAULT"; - public const string POSITION = @"POSITION"; - public const string NON_DESTRUCTIVE = @"NON_DESTRUCTIVE"; - } - + [Description("An `Option` with multiple `values` can be deleted, but the operation only succeeds if no product variants get deleted.")] + NON_DESTRUCTIVE, + } + + public static class ProductOptionDeleteStrategyStringValues + { + public const string DEFAULT = @"DEFAULT"; + public const string POSITION = @"POSITION"; + public const string NON_DESTRUCTIVE = @"NON_DESTRUCTIVE"; + } + /// ///Return type for `productOptionUpdate` mutation. /// - [Description("Return type for `productOptionUpdate` mutation.")] - public class ProductOptionUpdatePayload : GraphQLObject - { + [Description("Return type for `productOptionUpdate` mutation.")] + public class ProductOptionUpdatePayload : GraphQLObject + { /// ///The product with which the option being updated is associated. /// - [Description("The product with which the option being updated is associated.")] - public Product? product { get; set; } - + [Description("The product with which the option being updated is associated.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed `ProductOptionUpdate` mutation. /// - [Description("Error codes for failed `ProductOptionUpdate` mutation.")] - public class ProductOptionUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed `ProductOptionUpdate` mutation.")] + public class ProductOptionUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductOptionUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductOptionUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductOptionUpdateUserError`. /// - [Description("Possible error codes that can be returned by `ProductOptionUpdateUserError`.")] - public enum ProductOptionUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductOptionUpdateUserError`.")] + public enum ProductOptionUpdateUserErrorCode + { /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Option does not exist. /// - [Description("Option does not exist.")] - OPTION_DOES_NOT_EXIST, + [Description("Option does not exist.")] + OPTION_DOES_NOT_EXIST, /// ///Option already exists. /// - [Description("Option already exists.")] - OPTION_ALREADY_EXISTS, + [Description("Option already exists.")] + OPTION_ALREADY_EXISTS, /// ///The option position provided is not valid. /// - [Description("The option position provided is not valid.")] - INVALID_POSITION, + [Description("The option position provided is not valid.")] + INVALID_POSITION, /// ///The name provided is not valid. /// - [Description("The name provided is not valid.")] - INVALID_NAME, + [Description("The name provided is not valid.")] + INVALID_NAME, /// ///Option values count is over the allowed limit. /// - [Description("Option values count is over the allowed limit.")] - OPTION_VALUES_OVER_LIMIT, + [Description("Option values count is over the allowed limit.")] + OPTION_VALUES_OVER_LIMIT, /// ///Option value does not exist. /// - [Description("Option value does not exist.")] - OPTION_VALUE_DOES_NOT_EXIST, + [Description("Option value does not exist.")] + OPTION_VALUE_DOES_NOT_EXIST, /// ///Option value already exists. /// - [Description("Option value already exists.")] - OPTION_VALUE_ALREADY_EXISTS, + [Description("Option value already exists.")] + OPTION_VALUE_ALREADY_EXISTS, /// ///Option value with variants linked cannot be deleted. /// - [Description("Option value with variants linked cannot be deleted.")] - OPTION_VALUE_HAS_VARIANTS, + [Description("Option value with variants linked cannot be deleted.")] + OPTION_VALUE_HAS_VARIANTS, /// ///Deleting all option values of an option is not allowed. /// - [Description("Deleting all option values of an option is not allowed.")] - CANNOT_DELETE_ALL_OPTION_VALUES_IN_OPTION, + [Description("Deleting all option values of an option is not allowed.")] + CANNOT_DELETE_ALL_OPTION_VALUES_IN_OPTION, /// ///An option cannot be left only with option values that are not linked to any variant. /// - [Description("An option cannot be left only with option values that are not linked to any variant.")] - CANNOT_LEAVE_OPTIONS_WITHOUT_VARIANTS, + [Description("An option cannot be left only with option values that are not linked to any variant.")] + CANNOT_LEAVE_OPTIONS_WITHOUT_VARIANTS, /// ///On create, this key cannot be used. /// - [Description("On create, this key cannot be used.")] - NO_KEY_ON_CREATE, + [Description("On create, this key cannot be used.")] + NO_KEY_ON_CREATE, /// ///A key is missing in the input. /// - [Description("A key is missing in the input.")] - KEY_MISSING_IN_INPUT, + [Description("A key is missing in the input.")] + KEY_MISSING_IN_INPUT, /// ///Duplicated option value. /// - [Description("Duplicated option value.")] - DUPLICATED_OPTION_VALUE, + [Description("Duplicated option value.")] + DUPLICATED_OPTION_VALUE, /// ///Option name is too long. /// - [Description("Option name is too long.")] - OPTION_NAME_TOO_LONG, + [Description("Option name is too long.")] + OPTION_NAME_TOO_LONG, /// ///Option value name is too long. /// - [Description("Option value name is too long.")] - OPTION_VALUE_NAME_TOO_LONG, + [Description("Option value name is too long.")] + OPTION_VALUE_NAME_TOO_LONG, /// ///Performing conflicting actions on an option value. /// - [Description("Performing conflicting actions on an option value.")] - OPTION_VALUE_CONFLICTING_OPERATION, + [Description("Performing conflicting actions on an option value.")] + OPTION_VALUE_CONFLICTING_OPERATION, /// ///The number of variants will be above the limit after this operation. /// - [Description("The number of variants will be above the limit after this operation.")] - CANNOT_CREATE_VARIANTS_ABOVE_LIMIT, + [Description("The number of variants will be above the limit after this operation.")] + CANNOT_CREATE_VARIANTS_ABOVE_LIMIT, /// ///An option cannot have both metafield linked and nonlinked option values. /// - [Description("An option cannot have both metafield linked and nonlinked option values.")] - CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES, + [Description("An option cannot have both metafield linked and nonlinked option values.")] + CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES, /// ///Invalid metafield value for linked option. /// - [Description("Invalid metafield value for linked option.")] - INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION, + [Description("Invalid metafield value for linked option.")] + INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION, /// ///Cannot link multiple options to the same metafield. /// - [Description("Cannot link multiple options to the same metafield.")] - DUPLICATE_LINKED_OPTION, + [Description("Cannot link multiple options to the same metafield.")] + DUPLICATE_LINKED_OPTION, /// ///An option linked to the provided metafield already exists. /// - [Description("An option linked to the provided metafield already exists.")] - OPTION_LINKED_METAFIELD_ALREADY_TAKEN, + [Description("An option linked to the provided metafield already exists.")] + OPTION_LINKED_METAFIELD_ALREADY_TAKEN, /// ///Updating the linked_metafield of an option requires a linked_metafield_value for each option value. /// - [Description("Updating the linked_metafield of an option requires a linked_metafield_value for each option value.")] - LINKED_OPTION_UPDATE_MISSING_VALUES, + [Description("Updating the linked_metafield of an option requires a linked_metafield_value for each option value.")] + LINKED_OPTION_UPDATE_MISSING_VALUES, /// ///Linked options are currently not supported for this shop. /// - [Description("Linked options are currently not supported for this shop.")] - LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, + [Description("Linked options are currently not supported for this shop.")] + LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, /// ///No valid metafield definition found for linked option. /// - [Description("No valid metafield definition found for linked option.")] - LINKED_METAFIELD_DEFINITION_NOT_FOUND, + [Description("No valid metafield definition found for linked option.")] + LINKED_METAFIELD_DEFINITION_NOT_FOUND, /// ///At least one of the product variants has invalid SKUs. /// - [Description("At least one of the product variants has invalid SKUs.")] - CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, + [Description("At least one of the product variants has invalid SKUs.")] + CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, /// ///Operation is not supported for a combined listing parent product. /// - [Description("Operation is not supported for a combined listing parent product.")] - UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, + [Description("Operation is not supported for a combined listing parent product.")] + UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, /// ///Cannot update the option because it would result in deleting variants, and you don't have the required permissions. /// - [Description("Cannot update the option because it would result in deleting variants, and you don't have the required permissions.")] - CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION, + [Description("Cannot update the option because it would result in deleting variants, and you don't have the required permissions.")] + CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION, /// ///The number of option values created with the MANAGE strategy would exceed the variant limit. /// - [Description("The number of option values created with the MANAGE strategy would exceed the variant limit.")] - TOO_MANY_VARIANTS_CREATED, - } - - public static class ProductOptionUpdateUserErrorCodeStringValues - { - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; - public const string OPTION_ALREADY_EXISTS = @"OPTION_ALREADY_EXISTS"; - public const string INVALID_POSITION = @"INVALID_POSITION"; - public const string INVALID_NAME = @"INVALID_NAME"; - public const string OPTION_VALUES_OVER_LIMIT = @"OPTION_VALUES_OVER_LIMIT"; - public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; - public const string OPTION_VALUE_ALREADY_EXISTS = @"OPTION_VALUE_ALREADY_EXISTS"; - public const string OPTION_VALUE_HAS_VARIANTS = @"OPTION_VALUE_HAS_VARIANTS"; - public const string CANNOT_DELETE_ALL_OPTION_VALUES_IN_OPTION = @"CANNOT_DELETE_ALL_OPTION_VALUES_IN_OPTION"; - public const string CANNOT_LEAVE_OPTIONS_WITHOUT_VARIANTS = @"CANNOT_LEAVE_OPTIONS_WITHOUT_VARIANTS"; - public const string NO_KEY_ON_CREATE = @"NO_KEY_ON_CREATE"; - public const string KEY_MISSING_IN_INPUT = @"KEY_MISSING_IN_INPUT"; - public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; - public const string OPTION_NAME_TOO_LONG = @"OPTION_NAME_TOO_LONG"; - public const string OPTION_VALUE_NAME_TOO_LONG = @"OPTION_VALUE_NAME_TOO_LONG"; - public const string OPTION_VALUE_CONFLICTING_OPERATION = @"OPTION_VALUE_CONFLICTING_OPERATION"; - public const string CANNOT_CREATE_VARIANTS_ABOVE_LIMIT = @"CANNOT_CREATE_VARIANTS_ABOVE_LIMIT"; - public const string CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES = @"CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES"; - public const string INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION = @"INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION"; - public const string DUPLICATE_LINKED_OPTION = @"DUPLICATE_LINKED_OPTION"; - public const string OPTION_LINKED_METAFIELD_ALREADY_TAKEN = @"OPTION_LINKED_METAFIELD_ALREADY_TAKEN"; - public const string LINKED_OPTION_UPDATE_MISSING_VALUES = @"LINKED_OPTION_UPDATE_MISSING_VALUES"; - public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; - public const string LINKED_METAFIELD_DEFINITION_NOT_FOUND = @"LINKED_METAFIELD_DEFINITION_NOT_FOUND"; - public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; - public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; - public const string CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION = @"CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION"; - public const string TOO_MANY_VARIANTS_CREATED = @"TOO_MANY_VARIANTS_CREATED"; - } - + [Description("The number of option values created with the MANAGE strategy would exceed the variant limit.")] + TOO_MANY_VARIANTS_CREATED, + } + + public static class ProductOptionUpdateUserErrorCodeStringValues + { + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; + public const string OPTION_ALREADY_EXISTS = @"OPTION_ALREADY_EXISTS"; + public const string INVALID_POSITION = @"INVALID_POSITION"; + public const string INVALID_NAME = @"INVALID_NAME"; + public const string OPTION_VALUES_OVER_LIMIT = @"OPTION_VALUES_OVER_LIMIT"; + public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; + public const string OPTION_VALUE_ALREADY_EXISTS = @"OPTION_VALUE_ALREADY_EXISTS"; + public const string OPTION_VALUE_HAS_VARIANTS = @"OPTION_VALUE_HAS_VARIANTS"; + public const string CANNOT_DELETE_ALL_OPTION_VALUES_IN_OPTION = @"CANNOT_DELETE_ALL_OPTION_VALUES_IN_OPTION"; + public const string CANNOT_LEAVE_OPTIONS_WITHOUT_VARIANTS = @"CANNOT_LEAVE_OPTIONS_WITHOUT_VARIANTS"; + public const string NO_KEY_ON_CREATE = @"NO_KEY_ON_CREATE"; + public const string KEY_MISSING_IN_INPUT = @"KEY_MISSING_IN_INPUT"; + public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; + public const string OPTION_NAME_TOO_LONG = @"OPTION_NAME_TOO_LONG"; + public const string OPTION_VALUE_NAME_TOO_LONG = @"OPTION_VALUE_NAME_TOO_LONG"; + public const string OPTION_VALUE_CONFLICTING_OPERATION = @"OPTION_VALUE_CONFLICTING_OPERATION"; + public const string CANNOT_CREATE_VARIANTS_ABOVE_LIMIT = @"CANNOT_CREATE_VARIANTS_ABOVE_LIMIT"; + public const string CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES = @"CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES"; + public const string INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION = @"INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION"; + public const string DUPLICATE_LINKED_OPTION = @"DUPLICATE_LINKED_OPTION"; + public const string OPTION_LINKED_METAFIELD_ALREADY_TAKEN = @"OPTION_LINKED_METAFIELD_ALREADY_TAKEN"; + public const string LINKED_OPTION_UPDATE_MISSING_VALUES = @"LINKED_OPTION_UPDATE_MISSING_VALUES"; + public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; + public const string LINKED_METAFIELD_DEFINITION_NOT_FOUND = @"LINKED_METAFIELD_DEFINITION_NOT_FOUND"; + public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; + public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; + public const string CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION = @"CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION"; + public const string TOO_MANY_VARIANTS_CREATED = @"TOO_MANY_VARIANTS_CREATED"; + } + /// ///The set of variant strategies available for use in the `productOptionUpdate` mutation. /// - [Description("The set of variant strategies available for use in the `productOptionUpdate` mutation.")] - public enum ProductOptionUpdateVariantStrategy - { + [Description("The set of variant strategies available for use in the `productOptionUpdate` mutation.")] + public enum ProductOptionUpdateVariantStrategy + { /// ///Variants are not created nor deleted in response to option values to add or delete. ///In cases where deleting a variant would be necessary to complete the operation, an error will be returned. /// - [Description("Variants are not created nor deleted in response to option values to add or delete.\nIn cases where deleting a variant would be necessary to complete the operation, an error will be returned.")] - LEAVE_AS_IS, + [Description("Variants are not created nor deleted in response to option values to add or delete.\nIn cases where deleting a variant would be necessary to complete the operation, an error will be returned.")] + LEAVE_AS_IS, /// ///Variants are created and deleted according to the option values to add and to delete. /// @@ -95679,1047 +95679,1047 @@ public enum ProductOptionUpdateVariantStrategy /// ///If an option value is deleted, all variants referencing that option value will be deleted. /// - [Description("Variants are created and deleted according to the option values to add and to delete.\n\nIf an option value is added, a new variant will be added for each existing option combination\navailable on the product. For example, if the existing options are `Size` and `Color`, with\nvalues `S`/`XL` and `Red`/`Blue`, adding a new option value `Green` for the option `Color` will create\nvariants with the option value combinations `S`/`Green` and `XL`/`Green`.\n\nIf an option value is deleted, all variants referencing that option value will be deleted.")] - MANAGE, - } - - public static class ProductOptionUpdateVariantStrategyStringValues - { - public const string LEAVE_AS_IS = @"LEAVE_AS_IS"; - public const string MANAGE = @"MANAGE"; - } - + [Description("Variants are created and deleted according to the option values to add and to delete.\n\nIf an option value is added, a new variant will be added for each existing option combination\navailable on the product. For example, if the existing options are `Size` and `Color`, with\nvalues `S`/`XL` and `Red`/`Blue`, adding a new option value `Green` for the option `Color` will create\nvariants with the option value combinations `S`/`Green` and `XL`/`Green`.\n\nIf an option value is deleted, all variants referencing that option value will be deleted.")] + MANAGE, + } + + public static class ProductOptionUpdateVariantStrategyStringValues + { + public const string LEAVE_AS_IS = @"LEAVE_AS_IS"; + public const string MANAGE = @"MANAGE"; + } + /// ///The product option value names. For example, "Red", "Blue", and "Green" for a "Color" option. /// - [Description("The product option value names. For example, \"Red\", \"Blue\", and \"Green\" for a \"Color\" option.")] - public class ProductOptionValue : GraphQLObject, IHasPublishedTranslations, INode - { + [Description("The product option value names. For example, \"Red\", \"Blue\", and \"Green\" for a \"Color\" option.")] + public class ProductOptionValue : GraphQLObject, IHasPublishedTranslations, INode + { /// ///Whether the product option value has any linked variants. /// - [Description("Whether the product option value has any linked variants.")] - [NonNull] - public bool? hasVariants { get; set; } - + [Description("Whether the product option value has any linked variants.")] + [NonNull] + public bool? hasVariants { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The value of the linked metafield. /// - [Description("The value of the linked metafield.")] - public string? linkedMetafieldValue { get; set; } - + [Description("The value of the linked metafield.")] + public string? linkedMetafieldValue { get; set; } + /// ///The name of the product option value. /// - [Description("The name of the product option value.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the product option value.")] + [NonNull] + public string? name { get; set; } + /// ///The swatch associated with the product option value. /// - [Description("The swatch associated with the product option value.")] - public ProductOptionValueSwatch? swatch { get; set; } - + [Description("The swatch associated with the product option value.")] + public ProductOptionValueSwatch? swatch { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + } + /// ///A swatch associated with a product option value. /// - [Description("A swatch associated with a product option value.")] - public class ProductOptionValueSwatch : GraphQLObject - { + [Description("A swatch associated with a product option value.")] + public class ProductOptionValueSwatch : GraphQLObject + { /// ///The color representation of the swatch. /// - [Description("The color representation of the swatch.")] - public string? color { get; set; } - + [Description("The color representation of the swatch.")] + public string? color { get; set; } + /// ///An image representation of the swatch. /// - [Description("An image representation of the swatch.")] - public MediaImage? image { get; set; } - } - + [Description("An image representation of the swatch.")] + public MediaImage? image { get; set; } + } + /// ///Return type for `productOptionsCreate` mutation. /// - [Description("Return type for `productOptionsCreate` mutation.")] - public class ProductOptionsCreatePayload : GraphQLObject - { + [Description("Return type for `productOptionsCreate` mutation.")] + public class ProductOptionsCreatePayload : GraphQLObject + { /// ///The updated product object. /// - [Description("The updated product object.")] - public Product? product { get; set; } - + [Description("The updated product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed `ProductOptionsCreate` mutation. /// - [Description("Error codes for failed `ProductOptionsCreate` mutation.")] - public class ProductOptionsCreateUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed `ProductOptionsCreate` mutation.")] + public class ProductOptionsCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductOptionsCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductOptionsCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductOptionsCreateUserError`. /// - [Description("Possible error codes that can be returned by `ProductOptionsCreateUserError`.")] - public enum ProductOptionsCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductOptionsCreateUserError`.")] + public enum ProductOptionsCreateUserErrorCode + { /// ///Option already exists. /// - [Description("Option already exists.")] - OPTION_ALREADY_EXISTS, + [Description("Option already exists.")] + OPTION_ALREADY_EXISTS, /// ///Options count is over the allowed limit. /// - [Description("Options count is over the allowed limit.")] - OPTIONS_OVER_LIMIT, + [Description("Options count is over the allowed limit.")] + OPTIONS_OVER_LIMIT, /// ///Option values count is over the allowed limit. /// - [Description("Option values count is over the allowed limit.")] - OPTION_VALUES_OVER_LIMIT, + [Description("Option values count is over the allowed limit.")] + OPTION_VALUES_OVER_LIMIT, /// ///The name provided is not valid. /// - [Description("The name provided is not valid.")] - INVALID_NAME, + [Description("The name provided is not valid.")] + INVALID_NAME, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Cannot create new options without values for all existing variants. /// - [Description("Cannot create new options without values for all existing variants.")] - NEW_OPTION_WITHOUT_VALUE_FOR_EXISTING_VARIANTS, + [Description("Cannot create new options without values for all existing variants.")] + NEW_OPTION_WITHOUT_VALUE_FOR_EXISTING_VARIANTS, /// ///Duplicated option name. /// - [Description("Duplicated option name.")] - DUPLICATED_OPTION_NAME, + [Description("Duplicated option name.")] + DUPLICATED_OPTION_NAME, /// ///Duplicated option value. /// - [Description("Duplicated option value.")] - DUPLICATED_OPTION_VALUE, + [Description("Duplicated option value.")] + DUPLICATED_OPTION_VALUE, /// ///Each option must have a name specified. /// - [Description("Each option must have a name specified.")] - OPTION_NAME_MISSING, + [Description("Each option must have a name specified.")] + OPTION_NAME_MISSING, /// ///Each option must have at least one option value specified. /// - [Description("Each option must have at least one option value specified.")] - OPTION_VALUES_MISSING, + [Description("Each option must have at least one option value specified.")] + OPTION_VALUES_MISSING, /// ///Option value name is too long. /// - [Description("Option value name is too long.")] - OPTION_VALUE_NAME_TOO_LONG, + [Description("Option value name is too long.")] + OPTION_VALUE_NAME_TOO_LONG, /// ///Option name is too long. /// - [Description("Option name is too long.")] - OPTION_NAME_TOO_LONG, + [Description("Option name is too long.")] + OPTION_NAME_TOO_LONG, /// ///Position must be between 1 and the maximum number of options per product. /// - [Description("Position must be between 1 and the maximum number of options per product.")] - POSITION_OUT_OF_BOUNDS, + [Description("Position must be between 1 and the maximum number of options per product.")] + POSITION_OUT_OF_BOUNDS, /// ///If specified, position field must be present in all option inputs. /// - [Description("If specified, position field must be present in all option inputs.")] - OPTION_POSITION_MISSING, + [Description("If specified, position field must be present in all option inputs.")] + OPTION_POSITION_MISSING, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///No valid metafield definition found for linked option. /// - [Description("No valid metafield definition found for linked option.")] - LINKED_METAFIELD_DEFINITION_NOT_FOUND, + [Description("No valid metafield definition found for linked option.")] + LINKED_METAFIELD_DEFINITION_NOT_FOUND, /// ///Invalid metafield value for linked option. /// - [Description("Invalid metafield value for linked option.")] - INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION, + [Description("Invalid metafield value for linked option.")] + INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION, /// ///Missing metafield values for linked option. /// - [Description("Missing metafield values for linked option.")] - MISSING_METAFIELD_VALUES_FOR_LINKED_OPTION, + [Description("Missing metafield values for linked option.")] + MISSING_METAFIELD_VALUES_FOR_LINKED_OPTION, /// ///Cannot combine linked metafield and option values. /// - [Description("Cannot combine linked metafield and option values.")] - CANNOT_COMBINE_LINKED_METAFIELD_AND_OPTION_VALUES, + [Description("Cannot combine linked metafield and option values.")] + CANNOT_COMBINE_LINKED_METAFIELD_AND_OPTION_VALUES, /// ///Cannot link multiple options to the same metafield. /// - [Description("Cannot link multiple options to the same metafield.")] - DUPLICATE_LINKED_OPTION, + [Description("Cannot link multiple options to the same metafield.")] + DUPLICATE_LINKED_OPTION, /// ///An option linked to the provided metafield already exists. /// - [Description("An option linked to the provided metafield already exists.")] - OPTION_LINKED_METAFIELD_ALREADY_TAKEN, + [Description("An option linked to the provided metafield already exists.")] + OPTION_LINKED_METAFIELD_ALREADY_TAKEN, /// ///Linked options are currently not supported for this shop. /// - [Description("Linked options are currently not supported for this shop.")] - LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, + [Description("Linked options are currently not supported for this shop.")] + LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, /// ///At least one of the product variants has invalid SKUs. /// - [Description("At least one of the product variants has invalid SKUs.")] - CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, + [Description("At least one of the product variants has invalid SKUs.")] + CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, /// ///Operation is not supported for a combined listing parent product. /// - [Description("Operation is not supported for a combined listing parent product.")] - UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, + [Description("Operation is not supported for a combined listing parent product.")] + UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, /// ///Cannot specify 'linkedMetafieldValue' for an option that is not linked to a metafield. /// - [Description("Cannot specify 'linkedMetafieldValue' for an option that is not linked to a metafield.")] - LINKED_METAFIELD_VALUE_WITHOUT_LINKED_OPTION, + [Description("Cannot specify 'linkedMetafieldValue' for an option that is not linked to a metafield.")] + LINKED_METAFIELD_VALUE_WITHOUT_LINKED_OPTION, /// ///The number of option values created with the CREATE strategy would exceed the variant limit. /// - [Description("The number of option values created with the CREATE strategy would exceed the variant limit.")] - TOO_MANY_VARIANTS_CREATED, - } - - public static class ProductOptionsCreateUserErrorCodeStringValues - { - public const string OPTION_ALREADY_EXISTS = @"OPTION_ALREADY_EXISTS"; - public const string OPTIONS_OVER_LIMIT = @"OPTIONS_OVER_LIMIT"; - public const string OPTION_VALUES_OVER_LIMIT = @"OPTION_VALUES_OVER_LIMIT"; - public const string INVALID_NAME = @"INVALID_NAME"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string NEW_OPTION_WITHOUT_VALUE_FOR_EXISTING_VARIANTS = @"NEW_OPTION_WITHOUT_VALUE_FOR_EXISTING_VARIANTS"; - public const string DUPLICATED_OPTION_NAME = @"DUPLICATED_OPTION_NAME"; - public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; - public const string OPTION_NAME_MISSING = @"OPTION_NAME_MISSING"; - public const string OPTION_VALUES_MISSING = @"OPTION_VALUES_MISSING"; - public const string OPTION_VALUE_NAME_TOO_LONG = @"OPTION_VALUE_NAME_TOO_LONG"; - public const string OPTION_NAME_TOO_LONG = @"OPTION_NAME_TOO_LONG"; - public const string POSITION_OUT_OF_BOUNDS = @"POSITION_OUT_OF_BOUNDS"; - public const string OPTION_POSITION_MISSING = @"OPTION_POSITION_MISSING"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string LINKED_METAFIELD_DEFINITION_NOT_FOUND = @"LINKED_METAFIELD_DEFINITION_NOT_FOUND"; - public const string INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION = @"INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION"; - public const string MISSING_METAFIELD_VALUES_FOR_LINKED_OPTION = @"MISSING_METAFIELD_VALUES_FOR_LINKED_OPTION"; - public const string CANNOT_COMBINE_LINKED_METAFIELD_AND_OPTION_VALUES = @"CANNOT_COMBINE_LINKED_METAFIELD_AND_OPTION_VALUES"; - public const string DUPLICATE_LINKED_OPTION = @"DUPLICATE_LINKED_OPTION"; - public const string OPTION_LINKED_METAFIELD_ALREADY_TAKEN = @"OPTION_LINKED_METAFIELD_ALREADY_TAKEN"; - public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; - public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; - public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; - public const string LINKED_METAFIELD_VALUE_WITHOUT_LINKED_OPTION = @"LINKED_METAFIELD_VALUE_WITHOUT_LINKED_OPTION"; - public const string TOO_MANY_VARIANTS_CREATED = @"TOO_MANY_VARIANTS_CREATED"; - } - + [Description("The number of option values created with the CREATE strategy would exceed the variant limit.")] + TOO_MANY_VARIANTS_CREATED, + } + + public static class ProductOptionsCreateUserErrorCodeStringValues + { + public const string OPTION_ALREADY_EXISTS = @"OPTION_ALREADY_EXISTS"; + public const string OPTIONS_OVER_LIMIT = @"OPTIONS_OVER_LIMIT"; + public const string OPTION_VALUES_OVER_LIMIT = @"OPTION_VALUES_OVER_LIMIT"; + public const string INVALID_NAME = @"INVALID_NAME"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string NEW_OPTION_WITHOUT_VALUE_FOR_EXISTING_VARIANTS = @"NEW_OPTION_WITHOUT_VALUE_FOR_EXISTING_VARIANTS"; + public const string DUPLICATED_OPTION_NAME = @"DUPLICATED_OPTION_NAME"; + public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; + public const string OPTION_NAME_MISSING = @"OPTION_NAME_MISSING"; + public const string OPTION_VALUES_MISSING = @"OPTION_VALUES_MISSING"; + public const string OPTION_VALUE_NAME_TOO_LONG = @"OPTION_VALUE_NAME_TOO_LONG"; + public const string OPTION_NAME_TOO_LONG = @"OPTION_NAME_TOO_LONG"; + public const string POSITION_OUT_OF_BOUNDS = @"POSITION_OUT_OF_BOUNDS"; + public const string OPTION_POSITION_MISSING = @"OPTION_POSITION_MISSING"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string LINKED_METAFIELD_DEFINITION_NOT_FOUND = @"LINKED_METAFIELD_DEFINITION_NOT_FOUND"; + public const string INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION = @"INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION"; + public const string MISSING_METAFIELD_VALUES_FOR_LINKED_OPTION = @"MISSING_METAFIELD_VALUES_FOR_LINKED_OPTION"; + public const string CANNOT_COMBINE_LINKED_METAFIELD_AND_OPTION_VALUES = @"CANNOT_COMBINE_LINKED_METAFIELD_AND_OPTION_VALUES"; + public const string DUPLICATE_LINKED_OPTION = @"DUPLICATE_LINKED_OPTION"; + public const string OPTION_LINKED_METAFIELD_ALREADY_TAKEN = @"OPTION_LINKED_METAFIELD_ALREADY_TAKEN"; + public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; + public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; + public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; + public const string LINKED_METAFIELD_VALUE_WITHOUT_LINKED_OPTION = @"LINKED_METAFIELD_VALUE_WITHOUT_LINKED_OPTION"; + public const string TOO_MANY_VARIANTS_CREATED = @"TOO_MANY_VARIANTS_CREATED"; + } + /// ///Return type for `productOptionsDelete` mutation. /// - [Description("Return type for `productOptionsDelete` mutation.")] - public class ProductOptionsDeletePayload : GraphQLObject - { + [Description("Return type for `productOptionsDelete` mutation.")] + public class ProductOptionsDeletePayload : GraphQLObject + { /// ///IDs of the options deleted. /// - [Description("IDs of the options deleted.")] - public IEnumerable? deletedOptionsIds { get; set; } - + [Description("IDs of the options deleted.")] + public IEnumerable? deletedOptionsIds { get; set; } + /// ///The updated product object. /// - [Description("The updated product object.")] - public Product? product { get; set; } - + [Description("The updated product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed `ProductOptionsDelete` mutation. /// - [Description("Error codes for failed `ProductOptionsDelete` mutation.")] - public class ProductOptionsDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed `ProductOptionsDelete` mutation.")] + public class ProductOptionsDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductOptionsDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductOptionsDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductOptionsDeleteUserError`. /// - [Description("Possible error codes that can be returned by `ProductOptionsDeleteUserError`.")] - public enum ProductOptionsDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductOptionsDeleteUserError`.")] + public enum ProductOptionsDeleteUserErrorCode + { /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Option does not exist. /// - [Description("Option does not exist.")] - OPTION_DOES_NOT_EXIST, + [Description("Option does not exist.")] + OPTION_DOES_NOT_EXIST, /// ///Options do not belong to the same product. /// - [Description("Options do not belong to the same product.")] - OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT, + [Description("Options do not belong to the same product.")] + OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT, /// ///Can't delete option with multiple values. /// - [Description("Can't delete option with multiple values.")] - CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES, + [Description("Can't delete option with multiple values.")] + CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES, /// ///Cannot delete options without deleting variants. /// - [Description("Cannot delete options without deleting variants.")] - CANNOT_USE_NON_DESTRUCTIVE_STRATEGY, + [Description("Cannot delete options without deleting variants.")] + CANNOT_USE_NON_DESTRUCTIVE_STRATEGY, /// ///At least one of the product variants has invalid SKUs. /// - [Description("At least one of the product variants has invalid SKUs.")] - CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, + [Description("At least one of the product variants has invalid SKUs.")] + CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, /// ///Operation is not supported for a combined listing parent product. /// - [Description("Operation is not supported for a combined listing parent product.")] - UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, + [Description("Operation is not supported for a combined listing parent product.")] + UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, /// ///Cannot perform option deletion because it would result in deleting variants, and you don't have the required permissions. /// - [Description("Cannot perform option deletion because it would result in deleting variants, and you don't have the required permissions.")] - CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION, - } - - public static class ProductOptionsDeleteUserErrorCodeStringValues - { - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; - public const string OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT = @"OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT"; - public const string CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES = @"CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES"; - public const string CANNOT_USE_NON_DESTRUCTIVE_STRATEGY = @"CANNOT_USE_NON_DESTRUCTIVE_STRATEGY"; - public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; - public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; - public const string CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION = @"CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION"; - } - + [Description("Cannot perform option deletion because it would result in deleting variants, and you don't have the required permissions.")] + CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION, + } + + public static class ProductOptionsDeleteUserErrorCodeStringValues + { + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; + public const string OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT = @"OPTIONS_DO_NOT_BELONG_TO_THE_SAME_PRODUCT"; + public const string CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES = @"CANNOT_DELETE_OPTION_WITH_MULTIPLE_VALUES"; + public const string CANNOT_USE_NON_DESTRUCTIVE_STRATEGY = @"CANNOT_USE_NON_DESTRUCTIVE_STRATEGY"; + public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; + public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; + public const string CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION = @"CANNOT_DELETE_VARIANT_WITHOUT_PERMISSION"; + } + /// ///Return type for `productOptionsReorder` mutation. /// - [Description("Return type for `productOptionsReorder` mutation.")] - public class ProductOptionsReorderPayload : GraphQLObject - { + [Description("Return type for `productOptionsReorder` mutation.")] + public class ProductOptionsReorderPayload : GraphQLObject + { /// ///The updated product object. /// - [Description("The updated product object.")] - public Product? product { get; set; } - + [Description("The updated product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed `ProductOptionsReorder` mutation. /// - [Description("Error codes for failed `ProductOptionsReorder` mutation.")] - public class ProductOptionsReorderUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed `ProductOptionsReorder` mutation.")] + public class ProductOptionsReorderUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductOptionsReorderUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductOptionsReorderUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductOptionsReorderUserError`. /// - [Description("Possible error codes that can be returned by `ProductOptionsReorderUserError`.")] - public enum ProductOptionsReorderUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductOptionsReorderUserError`.")] + public enum ProductOptionsReorderUserErrorCode + { /// ///Option name does not exist. /// - [Description("Option name does not exist.")] - OPTION_NAME_DOES_NOT_EXIST, + [Description("Option name does not exist.")] + OPTION_NAME_DOES_NOT_EXIST, /// ///Option value does not exist. /// - [Description("Option value does not exist.")] - OPTION_VALUE_DOES_NOT_EXIST, + [Description("Option value does not exist.")] + OPTION_VALUE_DOES_NOT_EXIST, /// ///Option id does not exist. /// - [Description("Option id does not exist.")] - OPTION_ID_DOES_NOT_EXIST, + [Description("Option id does not exist.")] + OPTION_ID_DOES_NOT_EXIST, /// ///Option value id does not exist. /// - [Description("Option value id does not exist.")] - OPTION_VALUE_ID_DOES_NOT_EXIST, + [Description("Option value id does not exist.")] + OPTION_VALUE_ID_DOES_NOT_EXIST, /// ///Duplicated option name. /// - [Description("Duplicated option name.")] - DUPLICATED_OPTION_NAME, + [Description("Duplicated option name.")] + DUPLICATED_OPTION_NAME, /// ///Duplicated option value. /// - [Description("Duplicated option value.")] - DUPLICATED_OPTION_VALUE, + [Description("Duplicated option value.")] + DUPLICATED_OPTION_VALUE, /// ///Missing option name. /// - [Description("Missing option name.")] - MISSING_OPTION_NAME, + [Description("Missing option name.")] + MISSING_OPTION_NAME, /// ///Missing option value. /// - [Description("Missing option value.")] - MISSING_OPTION_VALUE, + [Description("Missing option value.")] + MISSING_OPTION_VALUE, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///On reorder, this key cannot be used. /// - [Description("On reorder, this key cannot be used.")] - NO_KEY_ON_REORDER, + [Description("On reorder, this key cannot be used.")] + NO_KEY_ON_REORDER, /// ///Cannot specify different options or option values using mixed id and name reference key. /// - [Description("Cannot specify different options or option values using mixed id and name reference key.")] - MIXING_ID_AND_NAME_KEYS_IS_NOT_ALLOWED, + [Description("Cannot specify different options or option values using mixed id and name reference key.")] + MIXING_ID_AND_NAME_KEYS_IS_NOT_ALLOWED, /// ///At least one of the product variants has invalid SKUs. /// - [Description("At least one of the product variants has invalid SKUs.")] - CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, - } - - public static class ProductOptionsReorderUserErrorCodeStringValues - { - public const string OPTION_NAME_DOES_NOT_EXIST = @"OPTION_NAME_DOES_NOT_EXIST"; - public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; - public const string OPTION_ID_DOES_NOT_EXIST = @"OPTION_ID_DOES_NOT_EXIST"; - public const string OPTION_VALUE_ID_DOES_NOT_EXIST = @"OPTION_VALUE_ID_DOES_NOT_EXIST"; - public const string DUPLICATED_OPTION_NAME = @"DUPLICATED_OPTION_NAME"; - public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; - public const string MISSING_OPTION_NAME = @"MISSING_OPTION_NAME"; - public const string MISSING_OPTION_VALUE = @"MISSING_OPTION_VALUE"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string NO_KEY_ON_REORDER = @"NO_KEY_ON_REORDER"; - public const string MIXING_ID_AND_NAME_KEYS_IS_NOT_ALLOWED = @"MIXING_ID_AND_NAME_KEYS_IS_NOT_ALLOWED"; - public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; - } - + [Description("At least one of the product variants has invalid SKUs.")] + CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU, + } + + public static class ProductOptionsReorderUserErrorCodeStringValues + { + public const string OPTION_NAME_DOES_NOT_EXIST = @"OPTION_NAME_DOES_NOT_EXIST"; + public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; + public const string OPTION_ID_DOES_NOT_EXIST = @"OPTION_ID_DOES_NOT_EXIST"; + public const string OPTION_VALUE_ID_DOES_NOT_EXIST = @"OPTION_VALUE_ID_DOES_NOT_EXIST"; + public const string DUPLICATED_OPTION_NAME = @"DUPLICATED_OPTION_NAME"; + public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; + public const string MISSING_OPTION_NAME = @"MISSING_OPTION_NAME"; + public const string MISSING_OPTION_VALUE = @"MISSING_OPTION_VALUE"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string NO_KEY_ON_REORDER = @"NO_KEY_ON_REORDER"; + public const string MIXING_ID_AND_NAME_KEYS_IS_NOT_ALLOWED = @"MIXING_ID_AND_NAME_KEYS_IS_NOT_ALLOWED"; + public const string CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU = @"CANNOT_MAKE_CHANGES_IF_VARIANT_IS_MISSING_REQUIRED_SKU"; + } + /// ///The input fields for which fields the user chose to show/hide when they edited a product. /// - [Description("The input fields for which fields the user chose to show/hide when they edited a product.")] - public class ProductPreferencesInput : GraphQLObject - { + [Description("The input fields for which fields the user chose to show/hide when they edited a product.")] + public class ProductPreferencesInput : GraphQLObject + { /// ///Whether the SKU and barcode fields should be shown by default. /// - [Description("Whether the SKU and barcode fields should be shown by default.")] - [NonNull] - public bool? showSkuAndBarcode { get; set; } - + [Description("Whether the SKU and barcode fields should be shown by default.")] + [NonNull] + public bool? showSkuAndBarcode { get; set; } + /// ///Whether the international shipping fields should be shown by default. /// - [Description("Whether the international shipping fields should be shown by default.")] - [NonNull] - public bool? showInternationalShipping { get; set; } - } - + [Description("Whether the international shipping fields should be shown by default.")] + [NonNull] + public bool? showInternationalShipping { get; set; } + } + /// ///The price range of the product. /// - [Description("The price range of the product.")] - public class ProductPriceRange : GraphQLObject - { + [Description("The price range of the product.")] + public class ProductPriceRange : GraphQLObject + { /// ///The highest variant's price. /// - [Description("The highest variant's price.")] - [NonNull] - public MoneyV2? maxVariantPrice { get; set; } - + [Description("The highest variant's price.")] + [NonNull] + public MoneyV2? maxVariantPrice { get; set; } + /// ///The lowest variant's price. /// - [Description("The lowest variant's price.")] - [NonNull] - public MoneyV2? minVariantPrice { get; set; } - } - + [Description("The lowest variant's price.")] + [NonNull] + public MoneyV2? minVariantPrice { get; set; } + } + /// ///The price range of the product. /// - [Description("The price range of the product.")] - public class ProductPriceRangeV2 : GraphQLObject - { + [Description("The price range of the product.")] + public class ProductPriceRangeV2 : GraphQLObject + { /// ///The highest variant's price. /// - [Description("The highest variant's price.")] - [NonNull] - public MoneyV2? maxVariantPrice { get; set; } - + [Description("The highest variant's price.")] + [NonNull] + public MoneyV2? maxVariantPrice { get; set; } + /// ///The lowest variant's price. /// - [Description("The lowest variant's price.")] - [NonNull] - public MoneyV2? minVariantPrice { get; set; } - } - + [Description("The lowest variant's price.")] + [NonNull] + public MoneyV2? minVariantPrice { get; set; } + } + /// ///Represents the channels where a product is published. /// - [Description("Represents the channels where a product is published.")] - public class ProductPublication : GraphQLObject - { + [Description("Represents the channels where a product is published.")] + public class ProductPublication : GraphQLObject + { /// ///The channel where the product was or is published. /// - [Description("The channel where the product was or is published.")] - [NonNull] - public Channel? channel { get; set; } - + [Description("The channel where the product was or is published.")] + [NonNull] + public Channel? channel { get; set; } + /// ///Whether the publication is published or not. /// - [Description("Whether the publication is published or not.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether the publication is published or not.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///The product that was or is going to be published on the channel. /// - [Description("The product that was or is going to be published on the channel.")] - [NonNull] - public Product? product { get; set; } - + [Description("The product that was or is going to be published on the channel.")] + [NonNull] + public Product? product { get; set; } + /// ///The date that the product was or is going to be published on the channel. /// - [Description("The date that the product was or is going to be published on the channel.")] - public DateTime? publishDate { get; set; } - } - + [Description("The date that the product was or is going to be published on the channel.")] + public DateTime? publishDate { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductPublications. /// - [Description("An auto-generated type for paginating through multiple ProductPublications.")] - public class ProductPublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductPublications.")] + public class ProductPublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductPublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductPublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductPublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ProductPublication and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductPublication and a cursor during pagination.")] - public class ProductPublicationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductPublication and a cursor during pagination.")] + public class ProductPublicationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductPublicationEdge. /// - [Description("The item at the end of ProductPublicationEdge.")] - [NonNull] - public ProductPublication? node { get; set; } - } - + [Description("The item at the end of ProductPublicationEdge.")] + [NonNull] + public ProductPublication? node { get; set; } + } + /// ///The input fields for specifying a publication to which a product will be published. /// - [Description("The input fields for specifying a publication to which a product will be published.")] - public class ProductPublicationInput : GraphQLObject - { + [Description("The input fields for specifying a publication to which a product will be published.")] + public class ProductPublicationInput : GraphQLObject + { /// ///ID of the publication. /// - [Description("ID of the publication.")] - public string? publicationId { get; set; } - + [Description("ID of the publication.")] + public string? publicationId { get; set; } + /// ///ID of the channel. /// - [Description("ID of the channel.")] - [Obsolete("Use publicationId instead.")] - public string? channelId { get; set; } - - [Obsolete("Use publicationId instead.")] - public string? channelHandle { get; set; } - + [Description("ID of the channel.")] + [Obsolete("Use publicationId instead.")] + public string? channelId { get; set; } + + [Obsolete("Use publicationId instead.")] + public string? channelHandle { get; set; } + /// ///The date and time that the product was (or will be) published. /// - [Description("The date and time that the product was (or will be) published.")] - public DateTime? publishDate { get; set; } - } - + [Description("The date and time that the product was (or will be) published.")] + public DateTime? publishDate { get; set; } + } + /// ///The input fields for specifying a product to publish and the channels to publish it to. /// - [Description("The input fields for specifying a product to publish and the channels to publish it to.")] - public class ProductPublishInput : GraphQLObject - { + [Description("The input fields for specifying a product to publish and the channels to publish it to.")] + public class ProductPublishInput : GraphQLObject + { /// ///The product to create or update publications for. /// - [Description("The product to create or update publications for.")] - [NonNull] - public string? id { get; set; } - + [Description("The product to create or update publications for.")] + [NonNull] + public string? id { get; set; } + /// ///The publication that the product is published to. /// - [Description("The publication that the product is published to.")] - [NonNull] - public IEnumerable? productPublications { get; set; } - } - + [Description("The publication that the product is published to.")] + [NonNull] + public IEnumerable? productPublications { get; set; } + } + /// ///Return type for `productPublish` mutation. /// - [Description("Return type for `productPublish` mutation.")] - public class ProductPublishPayload : GraphQLObject - { + [Description("Return type for `productPublish` mutation.")] + public class ProductPublishPayload : GraphQLObject + { /// ///The product that has been published. /// - [Description("The product that has been published.")] - public Product? product { get; set; } - + [Description("The product that has been published.")] + public Product? product { get; set; } + /// ///The channels where the product is published. /// - [Description("The channels where the product is published.")] - [Obsolete("Use Product.publications instead.")] - public IEnumerable? productPublications { get; set; } - + [Description("The channels where the product is published.")] + [Obsolete("Use Product.publications instead.")] + public IEnumerable? productPublications { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productReorderMedia` mutation. /// - [Description("Return type for `productReorderMedia` mutation.")] - public class ProductReorderMediaPayload : GraphQLObject - { + [Description("Return type for `productReorderMedia` mutation.")] + public class ProductReorderMediaPayload : GraphQLObject + { /// ///The asynchronous job which reorders the media. /// - [Description("The asynchronous job which reorders the media.")] - public Job? job { get; set; } - + [Description("The asynchronous job which reorders the media.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? mediaUserErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? mediaUserErrors { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [Obsolete("Use `mediaUserErrors` instead.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [Obsolete("Use `mediaUserErrors` instead.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Reports the status of product for a Sales Channel or Storefront API. ///This might include why a product is not available in a Sales Channel ///and how a merchant might fix this. /// - [Description("Reports the status of product for a Sales Channel or Storefront API.\nThis might include why a product is not available in a Sales Channel\nand how a merchant might fix this.")] - public class ProductResourceFeedback : GraphQLObject - { + [Description("Reports the status of product for a Sales Channel or Storefront API.\nThis might include why a product is not available in a Sales Channel\nand how a merchant might fix this.")] + public class ProductResourceFeedback : GraphQLObject + { /// ///The time when the feedback was generated. Used to help determine whether ///incoming feedback is outdated compared to existing feedback. /// - [Description("The time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.")] - [NonNull] - public DateTime? feedbackGeneratedAt { get; set; } - + [Description("The time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.")] + [NonNull] + public DateTime? feedbackGeneratedAt { get; set; } + /// ///The feedback messages presented to the merchant. /// - [Description("The feedback messages presented to the merchant.")] - [NonNull] - public IEnumerable? messages { get; set; } - + [Description("The feedback messages presented to the merchant.")] + [NonNull] + public IEnumerable? messages { get; set; } + /// ///The ID of the product associated with the feedback. /// - [Description("The ID of the product associated with the feedback.")] - [NonNull] - public string? productId { get; set; } - + [Description("The ID of the product associated with the feedback.")] + [NonNull] + public string? productId { get; set; } + /// ///The timestamp of the product associated with the feedback. /// - [Description("The timestamp of the product associated with the feedback.")] - [NonNull] - public DateTime? productUpdatedAt { get; set; } - + [Description("The timestamp of the product associated with the feedback.")] + [NonNull] + public DateTime? productUpdatedAt { get; set; } + /// ///Conveys the state of the feedback and whether it requires merchant action or not. /// - [Description("Conveys the state of the feedback and whether it requires merchant action or not.")] - [NonNull] - [EnumType(typeof(ResourceFeedbackState))] - public string? state { get; set; } - } - + [Description("Conveys the state of the feedback and whether it requires merchant action or not.")] + [NonNull] + [EnumType(typeof(ResourceFeedbackState))] + public string? state { get; set; } + } + /// ///The input fields used to create a product feedback. /// - [Description("The input fields used to create a product feedback.")] - public class ProductResourceFeedbackInput : GraphQLObject - { + [Description("The input fields used to create a product feedback.")] + public class ProductResourceFeedbackInput : GraphQLObject + { /// ///The ID of the product that the feedback was created on. /// - [Description("The ID of the product that the feedback was created on.")] - [NonNull] - public string? productId { get; set; } - + [Description("The ID of the product that the feedback was created on.")] + [NonNull] + public string? productId { get; set; } + /// ///Whether the merchant needs to take action on the product. /// - [Description("Whether the merchant needs to take action on the product.")] - [NonNull] - [EnumType(typeof(ResourceFeedbackState))] - public string? state { get; set; } - + [Description("Whether the merchant needs to take action on the product.")] + [NonNull] + [EnumType(typeof(ResourceFeedbackState))] + public string? state { get; set; } + /// ///The date and time when the payload is constructed. ///Used to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival. /// - [Description("The date and time when the payload is constructed.\nUsed to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival.")] - [NonNull] - public DateTime? feedbackGeneratedAt { get; set; } - + [Description("The date and time when the payload is constructed.\nUsed to help determine whether incoming feedback is outdated compared to feedback already received, and if it should be ignored upon arrival.")] + [NonNull] + public DateTime? feedbackGeneratedAt { get; set; } + /// ///The timestamp of the product associated with the feedback. /// - [Description("The timestamp of the product associated with the feedback.")] - [NonNull] - public DateTime? productUpdatedAt { get; set; } - + [Description("The timestamp of the product associated with the feedback.")] + [NonNull] + public DateTime? productUpdatedAt { get; set; } + /// ///A concise set of copy strings to be displayed to merchants. Used to guide merchants in resolving problems that your app encounters when trying to make use of their products. ///You can specify up to ten messages. Each message is limited to 100 characters. /// - [Description("A concise set of copy strings to be displayed to merchants. Used to guide merchants in resolving problems that your app encounters when trying to make use of their products.\nYou can specify up to ten messages. Each message is limited to 100 characters.")] - public IEnumerable? messages { get; set; } - } - + [Description("A concise set of copy strings to be displayed to merchants. Used to guide merchants in resolving problems that your app encounters when trying to make use of their products.\nYou can specify up to ten messages. Each message is limited to 100 characters.")] + public IEnumerable? messages { get; set; } + } + /// ///A sale associated with a product. /// - [Description("A sale associated with a product.")] - public class ProductSale : GraphQLObject, ISale - { + [Description("A sale associated with a product.")] + public class ProductSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line item for the associated sale. /// - [Description("The line item for the associated sale.")] - [NonNull] - public LineItem? lineItem { get; set; } - + [Description("The line item for the associated sale.")] + [NonNull] + public LineItem? lineItem { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///The input fields required to identify a resource. /// - [Description("The input fields required to identify a resource.")] - public class ProductSetIdentifiers : GraphQLObject - { + [Description("The input fields required to identify a resource.")] + public class ProductSetIdentifiers : GraphQLObject + { /// ///ID of product to update. /// - [Description("ID of product to update.")] - public string? id { get; set; } - + [Description("ID of product to update.")] + public string? id { get; set; } + /// ///Handle of product to upsert. /// - [Description("Handle of product to upsert.")] - public string? handle { get; set; } - + [Description("Handle of product to upsert.")] + public string? handle { get; set; } + /// ///Custom ID of product to upsert. /// - [Description("Custom ID of product to upsert.")] - public UniqueMetafieldValueInput? customId { get; set; } - } - + [Description("Custom ID of product to upsert.")] + public UniqueMetafieldValueInput? customId { get; set; } + } + /// ///The input fields required to create or update a product via ProductSet mutation. /// - [Description("The input fields required to create or update a product via ProductSet mutation.")] - public class ProductSetInput : GraphQLObject - { + [Description("The input fields required to create or update a product via ProductSet mutation.")] + public class ProductSetInput : GraphQLObject + { /// ///The description of the product, with HTML tags. ///For example, the description might include bold `<strong> </strong>` and italic `<i> </i>` text. /// - [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] - public string? descriptionHtml { get; set; } - + [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] + public string? descriptionHtml { get; set; } + /// ///A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces. ///If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle ///is already taken, in which case a suffix is added to make the handle unique). /// - [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] - public string? handle { get; set; } - + [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] + public string? handle { get; set; } + /// ///The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords) ///that are associated with a product. /// - [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] - public SEOInput? seo { get; set; } - + [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] + public SEOInput? seo { get; set; } + /// ///The [product type](https://help.shopify.com/manual/products/details/product-type) ///that merchants define. /// - [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] - public string? productType { get; set; } - + [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] + public string? productType { get; set; } + /// ///The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) ///that's associated with the product. /// - [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] - public string? category { get; set; } - + [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] + public string? category { get; set; } + /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -96730,47 +96730,47 @@ public class ProductSetInput : GraphQLObject ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - public IEnumerable? tags { get; set; } - + [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + public IEnumerable? tags { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] - public string? templateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] + public string? templateSuffix { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] - public string? giftCardTemplateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] + public string? giftCardTemplateSuffix { get; set; } + /// ///The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated. /// - [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] - public string? title { get; set; } - + [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] + public string? title { get; set; } + /// ///The name of the product's vendor. /// - [Description("The name of the product's vendor.")] - public string? vendor { get; set; } - + [Description("The name of the product's vendor.")] + public string? vendor { get; set; } + /// ///Whether the product is a gift card. /// - [Description("Whether the product is a gift card.")] - public bool? giftCard { get; set; } - + [Description("Whether the product is a gift card.")] + public bool? giftCard { get; set; } + /// ///Whether a redirect is required after a new handle has been provided. ///If `true`, then the old handle is redirected to the new one automatically. /// - [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] - public bool? redirectNewHandle { get; set; } - + [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] + public bool? redirectNewHandle { get; set; } + /// ///The product's ID. /// @@ -96780,59 +96780,59 @@ public class ProductSetInput : GraphQLObject ///[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation ///to identify which product you want to update. /// - [Description("The product's ID.\n\nIf you're creating a product, then you don't need to pass the `id` as input to the\n[`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate) mutation.\nIf you're updating a product, then you do need to pass the `id` as input to the\n[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation\nto identify which product you want to update.")] - [Obsolete("Use `identifier` instead to get the product's ID")] - public string? id { get; set; } - + [Description("The product's ID.\n\nIf you're creating a product, then you don't need to pass the `id` as input to the\n[`productCreate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productCreate) mutation.\nIf you're updating a product, then you do need to pass the `id` as input to the\n[`productUpdate`](https://shopify.dev/docs/api/admin-graphql/latest/mutations/productUpdate) mutation\nto identify which product you want to update.")] + [Obsolete("Use `identifier` instead to get the product's ID")] + public string? id { get; set; } + /// ///The IDs of collections that this product will be a member of. /// - [Description("The IDs of collections that this product will be a member of.")] - public IEnumerable? collections { get; set; } - + [Description("The IDs of collections that this product will be a member of.")] + public IEnumerable? collections { get; set; } + /// ///The metafields to associate with this product. /// ///Complexity cost: 0.4 per metafield. /// - [Description("The metafields to associate with this product.\n\nComplexity cost: 0.4 per metafield.")] - public IEnumerable? metafields { get; set; } - + [Description("The metafields to associate with this product.\n\nComplexity cost: 0.4 per metafield.")] + public IEnumerable? metafields { get; set; } + /// ///A list of variants associated with the product. /// ///Complexity cost: 0.2 per variant. /// - [Description("A list of variants associated with the product.\n\nComplexity cost: 0.2 per variant.")] - public IEnumerable? variants { get; set; } - + [Description("A list of variants associated with the product.\n\nComplexity cost: 0.2 per variant.")] + public IEnumerable? variants { get; set; } + /// ///The files to associate with the product. /// ///Complexity cost: 1.9 per file. /// - [Description("The files to associate with the product.\n\nComplexity cost: 1.9 per file.")] - public IEnumerable? files { get; set; } - + [Description("The files to associate with the product.\n\nComplexity cost: 1.9 per file.")] + public IEnumerable? files { get; set; } + /// ///The status of the product. /// - [Description("The status of the product.")] - [EnumType(typeof(ProductStatus))] - public string? status { get; set; } - + [Description("The status of the product.")] + [EnumType(typeof(ProductStatus))] + public string? status { get; set; } + /// ///Whether the product can only be purchased with a selling plan (subscription). Products that are sold exclusively on subscription can only be created on online stores. If set to `true` on an already existing product, then the product will be marked unavailable on channels that don't support subscriptions. /// - [Description("Whether the product can only be purchased with a selling plan (subscription). Products that are sold exclusively on subscription can only be created on online stores. If set to `true` on an already existing product, then the product will be marked unavailable on channels that don't support subscriptions.")] - public bool? requiresSellingPlan { get; set; } - + [Description("Whether the product can only be purchased with a selling plan (subscription). Products that are sold exclusively on subscription can only be created on online stores. If set to `true` on an already existing product, then the product will be marked unavailable on channels that don't support subscriptions.")] + public bool? requiresSellingPlan { get; set; } + /// ///List of custom product options and option values (maximum of 3 per product). /// - [Description("List of custom product options and option values (maximum of 3 per product).")] - public IEnumerable? productOptions { get; set; } - + [Description("List of custom product options and option values (maximum of 3 per product).")] + public IEnumerable? productOptions { get; set; } + /// ///The input field to enable an app to provide additional product features. ///For example, you can specify @@ -96840,45 +96840,45 @@ public class ProductSetInput : GraphQLObject ///in the `claimOwnership` field to let an app add a ///[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui). /// - [Description("The input field to enable an app to provide additional product features.\nFor example, you can specify\n[`bundles: true`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductClaimOwnershipInput#field-bundles)\nin the `claimOwnership` field to let an app add a\n[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui).")] - public ProductClaimOwnershipInput? claimOwnership { get; set; } - + [Description("The input field to enable an app to provide additional product features.\nFor example, you can specify\n[`bundles: true`](https://shopify.dev/docs/api/admin-graphql/latest/input-objects/ProductClaimOwnershipInput#field-bundles)\nin the `claimOwnership` field to let an app add a\n[product configuration extension](https://shopify.dev/docs/apps/build/product-merchandising/bundles/product-configuration-extension/add-merchant-config-ui).")] + public ProductClaimOwnershipInput? claimOwnership { get; set; } + /// ///The role of the product in a product grouping. It can only be set during creation. /// - [Description("The role of the product in a product grouping. It can only be set during creation.")] - [EnumType(typeof(CombinedListingsRole))] - public string? combinedListingRole { get; set; } - } - + [Description("The role of the product in a product grouping. It can only be set during creation.")] + [EnumType(typeof(CombinedListingsRole))] + public string? combinedListingRole { get; set; } + } + /// ///The input fields required to set inventory quantities using `productSet` mutation. /// - [Description("The input fields required to set inventory quantities using `productSet` mutation.")] - public class ProductSetInventoryInput : GraphQLObject - { + [Description("The input fields required to set inventory quantities using `productSet` mutation.")] + public class ProductSetInventoryInput : GraphQLObject + { /// ///The ID of the location of the inventory quantity being set. /// - [Description("The ID of the location of the inventory quantity being set.")] - [NonNull] - public string? locationId { get; set; } - + [Description("The ID of the location of the inventory quantity being set.")] + [NonNull] + public string? locationId { get; set; } + /// ///The name of the inventory quantity being set. Must be one of `available` or `on_hand`. /// - [Description("The name of the inventory quantity being set. Must be one of `available` or `on_hand`.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the inventory quantity being set. Must be one of `available` or `on_hand`.")] + [NonNull] + public string? name { get; set; } + /// ///The values to which each quantities will be set. /// - [Description("The values to which each quantities will be set.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The values to which each quantities will be set.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///An entity that represents details of an asynchronous ///[ProductSet](https://shopify.dev/api/admin-graphql/current/mutations/productSet) mutation. @@ -96895,611 +96895,611 @@ public class ProductSetInventoryInput : GraphQLObject /// ///The `userErrors` field provides mutation errors that occurred during the operation. /// - [Description("An entity that represents details of an asynchronous\n[ProductSet](https://shopify.dev/api/admin-graphql/current/mutations/productSet) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned\n[when the product was created or updated](https://shopify.dev/api/admin/migrate/new-product-model/sync-data#create-a-product-with-variants-and-options-asynchronously),\nthis can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the created or updated product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] - public class ProductSetOperation : GraphQLObject, INode, IProductOperation - { + [Description("An entity that represents details of an asynchronous\n[ProductSet](https://shopify.dev/api/admin-graphql/current/mutations/productSet) mutation.\n\nBy querying this entity with the\n[productOperation](https://shopify.dev/api/admin-graphql/current/queries/productOperation) query\nusing the ID that was returned\n[when the product was created or updated](https://shopify.dev/api/admin/migrate/new-product-model/sync-data#create-a-product-with-variants-and-options-asynchronously),\nthis can be used to check the status of an operation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the created or updated product.\n\nThe `userErrors` field provides mutation errors that occurred during the operation.")] + public class ProductSetOperation : GraphQLObject, INode, IProductOperation + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The product on which the operation is being performed. /// - [Description("The product on which the operation is being performed.")] - public Product? product { get; set; } - + [Description("The product on which the operation is being performed.")] + public Product? product { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ProductOperationStatus))] - public string? status { get; set; } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ProductOperationStatus))] + public string? status { get; set; } + /// ///Returns mutation errors occurred during background mutation processing. /// - [Description("Returns mutation errors occurred during background mutation processing.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("Returns mutation errors occurred during background mutation processing.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productSet` mutation. /// - [Description("Return type for `productSet` mutation.")] - public class ProductSetPayload : GraphQLObject - { + [Description("Return type for `productSet` mutation.")] + public class ProductSetPayload : GraphQLObject + { /// ///The product object. /// - [Description("The product object.")] - public Product? product { get; set; } - + [Description("The product object.")] + public Product? product { get; set; } + /// ///The product set operation, returned when run in asynchronous mode. /// - [Description("The product set operation, returned when run in asynchronous mode.")] - public ProductSetOperation? productSetOperation { get; set; } - + [Description("The product set operation, returned when run in asynchronous mode.")] + public ProductSetOperation? productSetOperation { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors for ProductSet mutation. /// - [Description("Defines errors for ProductSet mutation.")] - public class ProductSetUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors for ProductSet mutation.")] + public class ProductSetUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductSetUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductSetUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductSetUserError`. /// - [Description("Possible error codes that can be returned by `ProductSetUserError`.")] - public enum ProductSetUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductSetUserError`.")] + public enum ProductSetUserErrorCode + { /// ///The id field is not allowed if identifier is provided. /// - [Description("The id field is not allowed if identifier is provided.")] - ID_NOT_ALLOWED, + [Description("The id field is not allowed if identifier is provided.")] + ID_NOT_ALLOWED, /// ///The input field corresponding to the identifier is required. /// - [Description("The input field corresponding to the identifier is required.")] - MISSING_FIELD_REQUIRED, + [Description("The input field corresponding to the identifier is required.")] + MISSING_FIELD_REQUIRED, /// ///The identifier value does not match the value of the corresponding field in the input. /// - [Description("The identifier value does not match the value of the corresponding field in the input.")] - INPUT_MISMATCH, + [Description("The identifier value does not match the value of the corresponding field in the input.")] + INPUT_MISMATCH, /// ///Resource matching the identifier was not found. /// - [Description("Resource matching the identifier was not found.")] - NOT_FOUND, + [Description("Resource matching the identifier was not found.")] + NOT_FOUND, /// ///The input argument `metafields` (if present) must contain the `customId` value. /// - [Description("The input argument `metafields` (if present) must contain the `customId` value.")] - METAFIELD_MISMATCH, + [Description("The input argument `metafields` (if present) must contain the `customId` value.")] + METAFIELD_MISMATCH, /// ///Something went wrong, please try again. /// - [Description("Something went wrong, please try again.")] - GENERIC_ERROR, + [Description("Something went wrong, please try again.")] + GENERIC_ERROR, /// ///Metafield is not valid. /// - [Description("Metafield is not valid.")] - INVALID_METAFIELD, + [Description("Metafield is not valid.")] + INVALID_METAFIELD, /// ///Product variant is not valid. /// - [Description("Product variant is not valid.")] - INVALID_VARIANT, + [Description("Product variant is not valid.")] + INVALID_VARIANT, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Product variant does not exist. /// - [Description("Product variant does not exist.")] - PRODUCT_VARIANT_DOES_NOT_EXIST, + [Description("Product variant does not exist.")] + PRODUCT_VARIANT_DOES_NOT_EXIST, /// ///Option does not exist. /// - [Description("Option does not exist.")] - OPTION_DOES_NOT_EXIST, + [Description("Option does not exist.")] + OPTION_DOES_NOT_EXIST, /// ///Option value does not exist. /// - [Description("Option value does not exist.")] - OPTION_VALUE_DOES_NOT_EXIST, + [Description("Option value does not exist.")] + OPTION_VALUE_DOES_NOT_EXIST, /// ///Options over limit. /// - [Description("Options over limit.")] - OPTIONS_OVER_LIMIT, + [Description("Options over limit.")] + OPTIONS_OVER_LIMIT, /// ///Option values over limit. /// - [Description("Option values over limit.")] - OPTION_VALUES_OVER_LIMIT, + [Description("Option values over limit.")] + OPTION_VALUES_OVER_LIMIT, /// ///Each option must have at least one option value specified. /// - [Description("Each option must have at least one option value specified.")] - OPTION_VALUES_MISSING, + [Description("Each option must have at least one option value specified.")] + OPTION_VALUES_MISSING, /// ///Duplicated option name. /// - [Description("Duplicated option name.")] - DUPLICATED_OPTION_NAME, + [Description("Duplicated option name.")] + DUPLICATED_OPTION_NAME, /// ///Duplicated option value. /// - [Description("Duplicated option value.")] - DUPLICATED_OPTION_VALUE, + [Description("Duplicated option value.")] + DUPLICATED_OPTION_VALUE, /// ///Number of product variants exceeds shop limit. /// - [Description("Number of product variants exceeds shop limit.")] - VARIANTS_OVER_LIMIT, + [Description("Number of product variants exceeds shop limit.")] + VARIANTS_OVER_LIMIT, /// ///Must specify product options when updating variants. /// - [Description("Must specify product options when updating variants.")] - PRODUCT_OPTIONS_INPUT_MISSING, + [Description("Must specify product options when updating variants.")] + PRODUCT_OPTIONS_INPUT_MISSING, /// ///Must specify variants when updating options. /// - [Description("Must specify variants when updating options.")] - VARIANTS_INPUT_MISSING, + [Description("Must specify variants when updating options.")] + VARIANTS_INPUT_MISSING, /// ///Gift card products can only be created after they have been activated. /// - [Description("Gift card products can only be created after they have been activated.")] - GIFT_CARDS_NOT_ACTIVATED, + [Description("Gift card products can only be created after they have been activated.")] + GIFT_CARDS_NOT_ACTIVATED, /// ///The product gift_card attribute cannot be changed after creation. /// - [Description("The product gift_card attribute cannot be changed after creation.")] - GIFT_CARD_ATTRIBUTE_CANNOT_BE_CHANGED, + [Description("The product gift_card attribute cannot be changed after creation.")] + GIFT_CARD_ATTRIBUTE_CANNOT_BE_CHANGED, /// ///Product is not valid. /// - [Description("Product is not valid.")] - INVALID_PRODUCT, + [Description("Product is not valid.")] + INVALID_PRODUCT, /// ///Input is not valid. /// - [Description("Input is not valid.")] - INVALID_INPUT, + [Description("Input is not valid.")] + INVALID_INPUT, /// ///Error processing request in the background job. /// - [Description("Error processing request in the background job.")] - JOB_ERROR, + [Description("Error processing request in the background job.")] + JOB_ERROR, /// ///The metafield violates a capability restriction. /// - [Description("The metafield violates a capability restriction.")] - CAPABILITY_VIOLATION, + [Description("The metafield violates a capability restriction.")] + CAPABILITY_VIOLATION, /// ///An option cannot have both metafield linked and nonlinked option values. /// - [Description("An option cannot have both metafield linked and nonlinked option values.")] - CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES, + [Description("An option cannot have both metafield linked and nonlinked option values.")] + CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES, /// ///Invalid metafield value for linked option. /// - [Description("Invalid metafield value for linked option.")] - INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION, + [Description("Invalid metafield value for linked option.")] + INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION, /// ///Cannot link multiple options to the same metafield. /// - [Description("Cannot link multiple options to the same metafield.")] - DUPLICATE_LINKED_OPTION, + [Description("Cannot link multiple options to the same metafield.")] + DUPLICATE_LINKED_OPTION, /// ///Duplicated metafield value for linked option. /// - [Description("Duplicated metafield value for linked option.")] - DUPLICATED_METAFIELD_VALUE, + [Description("Duplicated metafield value for linked option.")] + DUPLICATED_METAFIELD_VALUE, /// ///Linked options are currently not supported for this shop. /// - [Description("Linked options are currently not supported for this shop.")] - LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, + [Description("Linked options are currently not supported for this shop.")] + LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP, /// ///No valid metafield definition found for linked option. /// - [Description("No valid metafield definition found for linked option.")] - LINKED_METAFIELD_DEFINITION_NOT_FOUND, + [Description("No valid metafield definition found for linked option.")] + LINKED_METAFIELD_DEFINITION_NOT_FOUND, /// ///Duplicated value. /// - [Description("Duplicated value.")] - DUPLICATED_VALUE, + [Description("Duplicated value.")] + DUPLICATED_VALUE, /// ///Handle already in use. Please provide a new handle. /// - [Description("Handle already in use. Please provide a new handle.")] - HANDLE_NOT_UNIQUE, + [Description("Handle already in use. Please provide a new handle.")] + HANDLE_NOT_UNIQUE, /// ///Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations. /// - [Description("Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations.")] - INVENTORY_QUANTITIES_LIMIT_EXCEEDED, - } - - public static class ProductSetUserErrorCodeStringValues - { - public const string ID_NOT_ALLOWED = @"ID_NOT_ALLOWED"; - public const string MISSING_FIELD_REQUIRED = @"MISSING_FIELD_REQUIRED"; - public const string INPUT_MISMATCH = @"INPUT_MISMATCH"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string METAFIELD_MISMATCH = @"METAFIELD_MISMATCH"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string INVALID_METAFIELD = @"INVALID_METAFIELD"; - public const string INVALID_VARIANT = @"INVALID_VARIANT"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; - public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; - public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; - public const string OPTIONS_OVER_LIMIT = @"OPTIONS_OVER_LIMIT"; - public const string OPTION_VALUES_OVER_LIMIT = @"OPTION_VALUES_OVER_LIMIT"; - public const string OPTION_VALUES_MISSING = @"OPTION_VALUES_MISSING"; - public const string DUPLICATED_OPTION_NAME = @"DUPLICATED_OPTION_NAME"; - public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; - public const string VARIANTS_OVER_LIMIT = @"VARIANTS_OVER_LIMIT"; - public const string PRODUCT_OPTIONS_INPUT_MISSING = @"PRODUCT_OPTIONS_INPUT_MISSING"; - public const string VARIANTS_INPUT_MISSING = @"VARIANTS_INPUT_MISSING"; - public const string GIFT_CARDS_NOT_ACTIVATED = @"GIFT_CARDS_NOT_ACTIVATED"; - public const string GIFT_CARD_ATTRIBUTE_CANNOT_BE_CHANGED = @"GIFT_CARD_ATTRIBUTE_CANNOT_BE_CHANGED"; - public const string INVALID_PRODUCT = @"INVALID_PRODUCT"; - public const string INVALID_INPUT = @"INVALID_INPUT"; - public const string JOB_ERROR = @"JOB_ERROR"; - public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; - public const string CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES = @"CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES"; - public const string INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION = @"INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION"; - public const string DUPLICATE_LINKED_OPTION = @"DUPLICATE_LINKED_OPTION"; - public const string DUPLICATED_METAFIELD_VALUE = @"DUPLICATED_METAFIELD_VALUE"; - public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; - public const string LINKED_METAFIELD_DEFINITION_NOT_FOUND = @"LINKED_METAFIELD_DEFINITION_NOT_FOUND"; - public const string DUPLICATED_VALUE = @"DUPLICATED_VALUE"; - public const string HANDLE_NOT_UNIQUE = @"HANDLE_NOT_UNIQUE"; - public const string INVENTORY_QUANTITIES_LIMIT_EXCEEDED = @"INVENTORY_QUANTITIES_LIMIT_EXCEEDED"; - } - + [Description("Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations.")] + INVENTORY_QUANTITIES_LIMIT_EXCEEDED, + } + + public static class ProductSetUserErrorCodeStringValues + { + public const string ID_NOT_ALLOWED = @"ID_NOT_ALLOWED"; + public const string MISSING_FIELD_REQUIRED = @"MISSING_FIELD_REQUIRED"; + public const string INPUT_MISMATCH = @"INPUT_MISMATCH"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string METAFIELD_MISMATCH = @"METAFIELD_MISMATCH"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string INVALID_METAFIELD = @"INVALID_METAFIELD"; + public const string INVALID_VARIANT = @"INVALID_VARIANT"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; + public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; + public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; + public const string OPTIONS_OVER_LIMIT = @"OPTIONS_OVER_LIMIT"; + public const string OPTION_VALUES_OVER_LIMIT = @"OPTION_VALUES_OVER_LIMIT"; + public const string OPTION_VALUES_MISSING = @"OPTION_VALUES_MISSING"; + public const string DUPLICATED_OPTION_NAME = @"DUPLICATED_OPTION_NAME"; + public const string DUPLICATED_OPTION_VALUE = @"DUPLICATED_OPTION_VALUE"; + public const string VARIANTS_OVER_LIMIT = @"VARIANTS_OVER_LIMIT"; + public const string PRODUCT_OPTIONS_INPUT_MISSING = @"PRODUCT_OPTIONS_INPUT_MISSING"; + public const string VARIANTS_INPUT_MISSING = @"VARIANTS_INPUT_MISSING"; + public const string GIFT_CARDS_NOT_ACTIVATED = @"GIFT_CARDS_NOT_ACTIVATED"; + public const string GIFT_CARD_ATTRIBUTE_CANNOT_BE_CHANGED = @"GIFT_CARD_ATTRIBUTE_CANNOT_BE_CHANGED"; + public const string INVALID_PRODUCT = @"INVALID_PRODUCT"; + public const string INVALID_INPUT = @"INVALID_INPUT"; + public const string JOB_ERROR = @"JOB_ERROR"; + public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; + public const string CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES = @"CANNOT_COMBINE_LINKED_AND_NONLINKED_OPTION_VALUES"; + public const string INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION = @"INVALID_METAFIELD_VALUE_FOR_LINKED_OPTION"; + public const string DUPLICATE_LINKED_OPTION = @"DUPLICATE_LINKED_OPTION"; + public const string DUPLICATED_METAFIELD_VALUE = @"DUPLICATED_METAFIELD_VALUE"; + public const string LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP = @"LINKED_OPTIONS_NOT_SUPPORTED_FOR_SHOP"; + public const string LINKED_METAFIELD_DEFINITION_NOT_FOUND = @"LINKED_METAFIELD_DEFINITION_NOT_FOUND"; + public const string DUPLICATED_VALUE = @"DUPLICATED_VALUE"; + public const string HANDLE_NOT_UNIQUE = @"HANDLE_NOT_UNIQUE"; + public const string INVENTORY_QUANTITIES_LIMIT_EXCEEDED = @"INVENTORY_QUANTITIES_LIMIT_EXCEEDED"; + } + /// ///The set of valid sort keys for the Product query. /// - [Description("The set of valid sort keys for the Product query.")] - public enum ProductSortKeys - { + [Description("The set of valid sort keys for the Product query.")] + public enum ProductSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `inventory_total` value. /// - [Description("Sort by the `inventory_total` value.")] - INVENTORY_TOTAL, + [Description("Sort by the `inventory_total` value.")] + INVENTORY_TOTAL, /// ///Sort by the `product_type` value. /// - [Description("Sort by the `product_type` value.")] - PRODUCT_TYPE, + [Description("Sort by the `product_type` value.")] + PRODUCT_TYPE, /// ///Sort by the `published_at` value. /// - [Description("Sort by the `published_at` value.")] - PUBLISHED_AT, + [Description("Sort by the `published_at` value.")] + PUBLISHED_AT, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, + [Description("Sort by the `title` value.")] + TITLE, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, /// ///Sort by the `vendor` value. /// - [Description("Sort by the `vendor` value.")] - VENDOR, - } - - public static class ProductSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string INVENTORY_TOTAL = @"INVENTORY_TOTAL"; - public const string PRODUCT_TYPE = @"PRODUCT_TYPE"; - public const string PUBLISHED_AT = @"PUBLISHED_AT"; - public const string RELEVANCE = @"RELEVANCE"; - public const string TITLE = @"TITLE"; - public const string UPDATED_AT = @"UPDATED_AT"; - public const string VENDOR = @"VENDOR"; - } - + [Description("Sort by the `vendor` value.")] + VENDOR, + } + + public static class ProductSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string INVENTORY_TOTAL = @"INVENTORY_TOTAL"; + public const string PRODUCT_TYPE = @"PRODUCT_TYPE"; + public const string PUBLISHED_AT = @"PUBLISHED_AT"; + public const string RELEVANCE = @"RELEVANCE"; + public const string TITLE = @"TITLE"; + public const string UPDATED_AT = @"UPDATED_AT"; + public const string VENDOR = @"VENDOR"; + } + /// ///The possible product statuses. /// - [Description("The possible product statuses.")] - public enum ProductStatus - { + [Description("The possible product statuses.")] + public enum ProductStatus + { /// ///The product is ready to sell and can be published to sales channels and apps. Products with an active status aren't automatically published to sales channels, such as the online store, or apps. By default, existing products are set to active. /// - [Description("The product is ready to sell and can be published to sales channels and apps. Products with an active status aren't automatically published to sales channels, such as the online store, or apps. By default, existing products are set to active.")] - ACTIVE, + [Description("The product is ready to sell and can be published to sales channels and apps. Products with an active status aren't automatically published to sales channels, such as the online store, or apps. By default, existing products are set to active.")] + ACTIVE, /// ///The product is no longer being sold and isn't available to customers on sales channels and apps. /// - [Description("The product is no longer being sold and isn't available to customers on sales channels and apps.")] - ARCHIVED, + [Description("The product is no longer being sold and isn't available to customers on sales channels and apps.")] + ARCHIVED, /// ///The product isn't ready to sell and is unavailable to customers on sales channels and apps. By default, duplicated and unarchived products are set to draft. /// - [Description("The product isn't ready to sell and is unavailable to customers on sales channels and apps. By default, duplicated and unarchived products are set to draft.")] - DRAFT, + [Description("The product isn't ready to sell and is unavailable to customers on sales channels and apps. By default, duplicated and unarchived products are set to draft.")] + DRAFT, /// ///The product is active but you need a direct link to view it. The product doesn't show up in search, collections, or product recommendations. It will be returned in Storefront API and Liquid only when referenced individually by handle, id, or metafield reference.This status is only visible from 2025-10 and up, is translated to active in older versions and can't be changed from unlisted in older versions. /// - [Description("The product is active but you need a direct link to view it. The product doesn't show up in search, collections, or product recommendations. It will be returned in Storefront API and Liquid only when referenced individually by handle, id, or metafield reference.This status is only visible from 2025-10 and up, is translated to active in older versions and can't be changed from unlisted in older versions.")] - UNLISTED, - } - - public static class ProductStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string ARCHIVED = @"ARCHIVED"; - public const string DRAFT = @"DRAFT"; - public const string UNLISTED = @"UNLISTED"; - } - + [Description("The product is active but you need a direct link to view it. The product doesn't show up in search, collections, or product recommendations. It will be returned in Storefront API and Liquid only when referenced individually by handle, id, or metafield reference.This status is only visible from 2025-10 and up, is translated to active in older versions and can't be changed from unlisted in older versions.")] + UNLISTED, + } + + public static class ProductStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string ARCHIVED = @"ARCHIVED"; + public const string DRAFT = @"DRAFT"; + public const string UNLISTED = @"UNLISTED"; + } + /// ///Represents a [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) node. /// - [Description("Represents a [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) node.")] - public class ProductTaxonomyNode : GraphQLObject, INode - { + [Description("Represents a [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) node.")] + public class ProductTaxonomyNode : GraphQLObject, INode + { /// ///The full name of the product taxonomy node. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds. /// - [Description("The full name of the product taxonomy node. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.")] - [NonNull] - public string? fullName { get; set; } - + [Description("The full name of the product taxonomy node. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.")] + [NonNull] + public string? fullName { get; set; } + /// ///The ID of the product taxonomy node. /// - [Description("The ID of the product taxonomy node.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the product taxonomy node.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the node is archived. /// - [Description("Whether the node is archived.")] - [NonNull] - public bool? isArchived { get; set; } - + [Description("Whether the node is archived.")] + [NonNull] + public bool? isArchived { get; set; } + /// ///Whether the node is a leaf node. /// - [Description("Whether the node is a leaf node.")] - [NonNull] - public bool? isLeaf { get; set; } - + [Description("Whether the node is a leaf node.")] + [NonNull] + public bool? isLeaf { get; set; } + /// ///Whether the node is a root node. /// - [Description("Whether the node is a root node.")] - [NonNull] - public bool? isRoot { get; set; } - + [Description("Whether the node is a root node.")] + [NonNull] + public bool? isRoot { get; set; } + /// ///The name of the product taxonomy node. For example, Dog Beds. /// - [Description("The name of the product taxonomy node. For example, Dog Beds.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the product taxonomy node. For example, Dog Beds.")] + [NonNull] + public string? name { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductTaxonomyNodes. /// - [Description("An auto-generated type for paginating through multiple ProductTaxonomyNodes.")] - public class ProductTaxonomyNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductTaxonomyNodes.")] + public class ProductTaxonomyNodeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductTaxonomyNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductTaxonomyNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductTaxonomyNodeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ProductTaxonomyNode and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductTaxonomyNode and a cursor during pagination.")] - public class ProductTaxonomyNodeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductTaxonomyNode and a cursor during pagination.")] + public class ProductTaxonomyNodeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductTaxonomyNodeEdge. /// - [Description("The item at the end of ProductTaxonomyNodeEdge.")] - [NonNull] - public ProductTaxonomyNode? node { get; set; } - } - + [Description("The item at the end of ProductTaxonomyNodeEdge.")] + [NonNull] + public ProductTaxonomyNode? node { get; set; } + } + /// ///The input fields for specifying a product to unpublish from a channel and the sales channels to unpublish it from. /// - [Description("The input fields for specifying a product to unpublish from a channel and the sales channels to unpublish it from.")] - public class ProductUnpublishInput : GraphQLObject - { + [Description("The input fields for specifying a product to unpublish from a channel and the sales channels to unpublish it from.")] + public class ProductUnpublishInput : GraphQLObject + { /// ///The ID of the product to create or update publications for. /// - [Description("The ID of the product to create or update publications for.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the product to create or update publications for.")] + [NonNull] + public string? id { get; set; } + /// ///The channels to unpublish the product from. /// - [Description("The channels to unpublish the product from.")] - [NonNull] - public IEnumerable? productPublications { get; set; } - } - + [Description("The channels to unpublish the product from.")] + [NonNull] + public IEnumerable? productPublications { get; set; } + } + /// ///Return type for `productUnpublish` mutation. /// - [Description("Return type for `productUnpublish` mutation.")] - public class ProductUnpublishPayload : GraphQLObject - { + [Description("Return type for `productUnpublish` mutation.")] + public class ProductUnpublishPayload : GraphQLObject + { /// ///The product that has been unpublished. /// - [Description("The product that has been unpublished.")] - public Product? product { get; set; } - + [Description("The product that has been unpublished.")] + public Product? product { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for updating a product. /// - [Description("The input fields for updating a product.")] - public class ProductUpdateInput : GraphQLObject - { + [Description("The input fields for updating a product.")] + public class ProductUpdateInput : GraphQLObject + { /// ///The description of the product, with HTML tags. ///For example, the description might include bold `<strong> </strong>` and italic `<i> </i>` text. /// - [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] - public string? descriptionHtml { get; set; } - + [Description("The description of the product, with HTML tags.\nFor example, the description might include bold `` and italic `` text.")] + public string? descriptionHtml { get; set; } + /// ///A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces. ///If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle ///is already taken, in which case a suffix is added to make the handle unique). /// - [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] - public string? handle { get; set; } - + [Description("A unique, human-readable string that's used to identify the product in URLs. A handle can contain letters, hyphens (`-`), and numbers, but no spaces.\nIf no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated (unless that handle\nis already taken, in which case a suffix is added to make the handle unique).")] + public string? handle { get; set; } + /// ///The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords) ///that are associated with a product. /// - [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] - public SEOInput? seo { get; set; } - + [Description("The [SEO title and description](https://help.shopify.com/manual/promoting-marketing/seo/adding-keywords)\nthat are associated with a product.")] + public SEOInput? seo { get; set; } + /// ///The [product type](https://help.shopify.com/manual/products/details/product-type) ///that merchants define. /// - [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] - public string? productType { get; set; } - + [Description("The [product type](https://help.shopify.com/manual/products/details/product-type)\nthat merchants define.")] + public string? productType { get; set; } + /// ///The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17) ///that's associated with the product. /// - [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] - public string? category { get; set; } - + [Description("The ID of the [category](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17)\nthat's associated with the product.")] + public string? category { get; set; } + /// ///A list of searchable keywords that are ///associated with the product. For example, a merchant might apply the `sports` @@ -97510,145 +97510,145 @@ public class ProductUpdateInput : GraphQLObject ///[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd) ///mutation. /// - [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] - public IEnumerable? tags { get; set; } - + [Description("A list of searchable keywords that are\nassociated with the product. For example, a merchant might apply the `sports`\nand `summer` tags to products that are associated with sportwear for summer.\n\nUpdating `tags` overwrites any existing tags that were previously added to the product.\nTo add new tags without overwriting existing tags, use the\n[`tagsAdd`](https://shopify.dev/api/admin-graphql/latest/mutations/tagsadd)\nmutation.")] + public IEnumerable? tags { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] - public string? templateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a product in a store.")] + public string? templateSuffix { get; set; } + /// ///The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store. /// - [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] - public string? giftCardTemplateSuffix { get; set; } - + [Description("The [theme template](https://shopify.dev/docs/storefronts/themes/architecture/templates) that's used when customers view a gift card in a store.")] + public string? giftCardTemplateSuffix { get; set; } + /// ///The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle. ///For example, if a product is titled "Black Sunglasses" and no handle is provided, then the handle `black-sunglasses` is generated. /// - [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] - public string? title { get; set; } - + [Description("The name for the product that displays to customers. If no handle is explicitly provided, then the title is used to construct the product's handle.\nFor example, if a product is titled \"Black Sunglasses\" and no handle is provided, then the handle `black-sunglasses` is generated.")] + public string? title { get; set; } + /// ///The name of the product's vendor. /// - [Description("The name of the product's vendor.")] - public string? vendor { get; set; } - + [Description("The name of the product's vendor.")] + public string? vendor { get; set; } + /// ///Whether a redirect is required after a new handle has been provided. ///If `true`, then the old handle is redirected to the new one automatically. /// - [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] - public bool? redirectNewHandle { get; set; } - + [Description("Whether a redirect is required after a new handle has been provided.\nIf `true`, then the old handle is redirected to the new one automatically.")] + public bool? redirectNewHandle { get; set; } + /// ///The product's ID. /// - [Description("The product's ID.")] - public string? id { get; set; } - + [Description("The product's ID.")] + public string? id { get; set; } + /// ///A list of collection IDs to associate with the product. /// - [Description("A list of collection IDs to associate with the product.")] - public IEnumerable? collectionsToJoin { get; set; } - + [Description("A list of collection IDs to associate with the product.")] + public IEnumerable? collectionsToJoin { get; set; } + /// ///The collection IDs to disassociate from the product. /// - [Description("The collection IDs to disassociate from the product.")] - public IEnumerable? collectionsToLeave { get; set; } - + [Description("The collection IDs to disassociate from the product.")] + public IEnumerable? collectionsToLeave { get; set; } + /// ///Whether to delete metafields whose constraints don't match the product's category. ///Can only be used when updating the product's category. /// - [Description("Whether to delete metafields whose constraints don't match the product's category.\nCan only be used when updating the product's category.")] - public bool? deleteConflictingConstrainedMetafields { get; set; } - + [Description("Whether to delete metafields whose constraints don't match the product's category.\nCan only be used when updating the product's category.")] + public bool? deleteConflictingConstrainedMetafields { get; set; } + /// ///The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product ///for the purposes of adding and storing additional information. /// - [Description("The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product\nfor the purposes of adding and storing additional information.")] - public IEnumerable? metafields { get; set; } - + [Description("The [custom fields](https://shopify.dev/docs/apps/build/custom-data) to associate with the product\nfor the purposes of adding and storing additional information.")] + public IEnumerable? metafields { get; set; } + /// ///The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status), ///which controls visibility across all sales channels. /// - [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] - [EnumType(typeof(ProductStatus))] - public string? status { get; set; } - + [Description("The [product status](https://help.shopify.com/manual/products/details/product-details-page#product-status),\nwhich controls visibility across all sales channels.")] + [EnumType(typeof(ProductStatus))] + public string? status { get; set; } + /// ///Whether the product can only be purchased with ///a [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans). ///Products that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores. ///If you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store. /// - [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store.")] - public bool? requiresSellingPlan { get; set; } - } - + [Description("Whether the product can only be purchased with\na [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans).\nProducts that are sold on subscription (`requiresSellingPlan: true`) can be updated only for online stores.\nIf you update a product to be subscription-only (`requiresSellingPlan:false`), then the product is unpublished from all channels except the online store.")] + public bool? requiresSellingPlan { get; set; } + } + /// ///Return type for `productUpdateMedia` mutation. /// - [Description("Return type for `productUpdateMedia` mutation.")] - public class ProductUpdateMediaPayload : GraphQLObject - { + [Description("Return type for `productUpdateMedia` mutation.")] + public class ProductUpdateMediaPayload : GraphQLObject + { /// ///The updated media object. /// - [Description("The updated media object.")] - public IEnumerable? media { get; set; } - + [Description("The updated media object.")] + public IEnumerable? media { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? mediaUserErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? mediaUserErrors { get; set; } + /// ///The product on which media was updated. /// - [Description("The product on which media was updated.")] - public Product? product { get; set; } - + [Description("The product on which media was updated.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [Obsolete("Use `mediaUserErrors` instead.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [Obsolete("Use `mediaUserErrors` instead.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productUpdate` mutation. /// - [Description("Return type for `productUpdate` mutation.")] - public class ProductUpdatePayload : GraphQLObject - { + [Description("Return type for `productUpdate` mutation.")] + public class ProductUpdatePayload : GraphQLObject + { /// ///The updated product object. /// - [Description("The updated product object.")] - public Product? product { get; set; } - + [Description("The updated product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The `ProductVariant` object represents a version of a ///[product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) @@ -97678,1047 +97678,1047 @@ public class ProductUpdatePayload : GraphQLObject /// ///Learn more about [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components). /// - [Description("The `ProductVariant` object represents a version of a\n[product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat comes in more than one [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption),\nsuch as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small,\nblue t-shirt would be one product variant and a large, blue t-shirt would be another.\n\nUse the `ProductVariant` object to manage the full lifecycle and configuration of a product's variants. Common\nuse cases for using the `ProductVariant` object include:\n\n- Tracking inventory for each variant\n- Setting unique prices for each variant\n- Assigning barcodes and SKUs to connect variants to fulfillment services\n- Attaching variant-specific images and media\n- Setting delivery and tax requirements\n- Supporting product bundles, subscriptions, and selling plans\n\nA `ProductVariant` is associated with a parent\n[`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) object.\n`ProductVariant` serves as the central link between a product's merchandising configuration, inventory,\npricing, fulfillment, and sales channels within the GraphQL Admin API schema. Each variant\ncan reference other GraphQL types such as:\n\n- [`InventoryItem`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem): Used for inventory tracking\n- [`Image`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Image): Used for variant-specific images\n- [`SellingPlanGroup`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SellingPlanGroup): Used for subscriptions and selling plans\n\nLearn more about [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] - public class ProductVariant : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, ILegacyInteroperability, INavigable, INode, ICommentEventEmbed, IDeliveryPromiseParticipantOwner, IMetafieldReference, IMetafieldReferencer - { + [Description("The `ProductVariant` object represents a version of a\n[product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat comes in more than one [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption),\nsuch as size or color. For example, if a merchant sells t-shirts with options for size and color, then a small,\nblue t-shirt would be one product variant and a large, blue t-shirt would be another.\n\nUse the `ProductVariant` object to manage the full lifecycle and configuration of a product's variants. Common\nuse cases for using the `ProductVariant` object include:\n\n- Tracking inventory for each variant\n- Setting unique prices for each variant\n- Assigning barcodes and SKUs to connect variants to fulfillment services\n- Attaching variant-specific images and media\n- Setting delivery and tax requirements\n- Supporting product bundles, subscriptions, and selling plans\n\nA `ProductVariant` is associated with a parent\n[`Product`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) object.\n`ProductVariant` serves as the central link between a product's merchandising configuration, inventory,\npricing, fulfillment, and sales channels within the GraphQL Admin API schema. Each variant\ncan reference other GraphQL types such as:\n\n- [`InventoryItem`](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem): Used for inventory tracking\n- [`Image`](https://shopify.dev/docs/api/admin-graphql/latest/objects/Image): Used for variant-specific images\n- [`SellingPlanGroup`](https://shopify.dev/docs/api/admin-graphql/latest/objects/SellingPlanGroup): Used for subscriptions and selling plans\n\nLearn more about [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] + public class ProductVariant : GraphQLObject, IHasEvents, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, ILegacyInteroperability, INavigable, INode, ICommentEventEmbed, IDeliveryPromiseParticipantOwner, IMetafieldReference, IMetafieldReferencer + { /// ///Whether the product variant is available for sale. /// - [Description("Whether the product variant is available for sale.")] - [NonNull] - public bool? availableForSale { get; set; } - + [Description("Whether the product variant is available for sale.")] + [NonNull] + public bool? availableForSale { get; set; } + /// ///The value of the barcode associated with the product. /// - [Description("The value of the barcode associated with the product.")] - public string? barcode { get; set; } - + [Description("The value of the barcode associated with the product.")] + public string? barcode { get; set; } + /// ///The compare-at price of the variant in the default shop currency. /// - [Description("The compare-at price of the variant in the default shop currency.")] - public decimal? compareAtPrice { get; set; } - + [Description("The compare-at price of the variant in the default shop currency.")] + public decimal? compareAtPrice { get; set; } + /// ///The pricing that applies for a customer in a given context. As of API version 2025-04, only active markets are considered in the price resolution. /// - [Description("The pricing that applies for a customer in a given context. As of API version 2025-04, only active markets are considered in the price resolution.")] - [NonNull] - public ProductVariantContextualPricing? contextualPricing { get; set; } - + [Description("The pricing that applies for a customer in a given context. As of API version 2025-04, only active markets are considered in the price resolution.")] + [NonNull] + public ProductVariantContextualPricing? contextualPricing { get; set; } + /// ///The date and time when the variant was created. /// - [Description("The date and time when the variant was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the variant was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID. /// - [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] - [NonNull] - public string? defaultCursor { get; set; } - + [Description("A default [cursor](https://shopify.dev/api/usage/pagination-graphql) that returns the single next record, sorted ascending by ID.")] + [NonNull] + public string? defaultCursor { get; set; } + /// ///The [delivery profile](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryProfile) for the variant. /// - [Description("The [delivery profile](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryProfile) for the variant.")] - public DeliveryProfile? deliveryProfile { get; set; } - + [Description("The [delivery profile](https://shopify.dev/api/admin-graphql/latest/objects/DeliveryProfile) for the variant.")] + public DeliveryProfile? deliveryProfile { get; set; } + /// ///The delivery promise participants for the product variant. /// - [Description("The delivery promise participants for the product variant.")] - [NonNull] - public IEnumerable? deliveryPromiseParticipants { get; set; } - + [Description("The delivery promise participants for the product variant.")] + [NonNull] + public IEnumerable? deliveryPromiseParticipants { get; set; } + /// ///Display name of the variant, based on product's title + variant's title. /// - [Description("Display name of the variant, based on product's title + variant's title.")] - [NonNull] - public string? displayName { get; set; } - + [Description("Display name of the variant, based on product's title + variant's title.")] + [NonNull] + public string? displayName { get; set; } + /// ///The paginated list of events associated with the host subject. /// - [Description("The paginated list of events associated with the host subject.")] - [NonNull] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the host subject.")] + [NonNull] + public EventConnection? events { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The featured image for the variant. /// - [Description("The featured image for the variant.")] - [Obsolete("Use `media` instead.")] - public Image? image { get; set; } - + [Description("The featured image for the variant.")] + [Obsolete("Use `media` instead.")] + public Image? image { get; set; } + /// ///The inventory item, which is used to query for inventory information. /// - [Description("The inventory item, which is used to query for inventory information.")] - [NonNull] - public InventoryItem? inventoryItem { get; set; } - + [Description("The inventory item, which is used to query for inventory information.")] + [NonNull] + public InventoryItem? inventoryItem { get; set; } + /// ///Whether customers are allowed to place an order for the product variant when it's out of stock. /// - [Description("Whether customers are allowed to place an order for the product variant when it's out of stock.")] - [NonNull] - [EnumType(typeof(ProductVariantInventoryPolicy))] - public string? inventoryPolicy { get; set; } - + [Description("Whether customers are allowed to place an order for the product variant when it's out of stock.")] + [NonNull] + [EnumType(typeof(ProductVariantInventoryPolicy))] + public string? inventoryPolicy { get; set; } + /// ///The total sellable quantity of the variant. /// - [Description("The total sellable quantity of the variant.")] - public int? inventoryQuantity { get; set; } - + [Description("The total sellable quantity of the variant.")] + public int? inventoryQuantity { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The media associated with the product variant. /// - [Description("The media associated with the product variant.")] - [NonNull] - public MediaConnection? media { get; set; } - + [Description("The media associated with the product variant.")] + [NonNull] + public MediaConnection? media { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The order of the product variant in the list of product variants. The first position in the list is 1. /// - [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] - [NonNull] - public int? position { get; set; } - + [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] + [NonNull] + public int? position { get; set; } + /// ///List of prices and compare-at prices in the presentment currencies for this shop. /// - [Description("List of prices and compare-at prices in the presentment currencies for this shop.")] - [Obsolete("Use `contextualPricing` instead.")] - [NonNull] - public ProductVariantPricePairConnection? presentmentPrices { get; set; } - + [Description("List of prices and compare-at prices in the presentment currencies for this shop.")] + [Obsolete("Use `contextualPricing` instead.")] + [NonNull] + public ProductVariantPricePairConnection? presentmentPrices { get; set; } + /// ///The price of the product variant in the default shop currency. /// - [Description("The price of the product variant in the default shop currency.")] - [NonNull] - public decimal? price { get; set; } - + [Description("The price of the product variant in the default shop currency.")] + [NonNull] + public decimal? price { get; set; } + /// ///The product that this variant belongs to. /// - [Description("The product that this variant belongs to.")] - [NonNull] - public Product? product { get; set; } - + [Description("The product that this variant belongs to.")] + [NonNull] + public Product? product { get; set; } + /// ///A list of products that have product variants that contain this variant as a product component. /// - [Description("A list of products that have product variants that contain this variant as a product component.")] - [NonNull] - public ProductConnection? productParents { get; set; } - + [Description("A list of products that have product variants that contain this variant as a product component.")] + [NonNull] + public ProductConnection? productParents { get; set; } + /// ///A list of the product variant components. /// - [Description("A list of the product variant components.")] - [NonNull] - public ProductVariantComponentConnection? productVariantComponents { get; set; } - + [Description("A list of the product variant components.")] + [NonNull] + public ProductVariantComponentConnection? productVariantComponents { get; set; } + /// ///Whether a product variant requires components. The default value is `false`. ///If `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted ///from channels that don't support bundles. /// - [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted\nfrom channels that don't support bundles.")] - [NonNull] - public bool? requiresComponents { get; set; } - + [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted\nfrom channels that don't support bundles.")] + [NonNull] + public bool? requiresComponents { get; set; } + /// ///List of product options applied to the variant. /// - [Description("List of product options applied to the variant.")] - [NonNull] - public IEnumerable? selectedOptions { get; set; } - + [Description("List of product options applied to the variant.")] + [NonNull] + public IEnumerable? selectedOptions { get; set; } + /// ///The total sellable quantity of the variant for online channels. ///This doesn't represent the total available inventory or capture ///[limitations based on customer location](https://help.shopify.com/manual/markets/inventory_and_fulfillment). /// - [Description("The total sellable quantity of the variant for online channels.\nThis doesn't represent the total available inventory or capture\n[limitations based on customer location](https://help.shopify.com/manual/markets/inventory_and_fulfillment).")] - [NonNull] - public int? sellableOnlineQuantity { get; set; } - + [Description("The total sellable quantity of the variant for online channels.\nThis doesn't represent the total available inventory or capture\n[limitations based on customer location](https://help.shopify.com/manual/markets/inventory_and_fulfillment).")] + [NonNull] + public int? sellableOnlineQuantity { get; set; } + /// ///Count of selling plan groups associated with the product variant. /// - [Description("Count of selling plan groups associated with the product variant.")] - [Obsolete("Use `sellingPlanGroupsCount` instead.")] - [NonNull] - public int? sellingPlanGroupCount { get; set; } - + [Description("Count of selling plan groups associated with the product variant.")] + [Obsolete("Use `sellingPlanGroupsCount` instead.")] + [NonNull] + public int? sellingPlanGroupCount { get; set; } + /// ///A list of all selling plan groups defined in the current shop associated with the product variant. /// - [Description("A list of all selling plan groups defined in the current shop associated with the product variant.")] - [NonNull] - public SellingPlanGroupConnection? sellingPlanGroups { get; set; } - + [Description("A list of all selling plan groups defined in the current shop associated with the product variant.")] + [NonNull] + public SellingPlanGroupConnection? sellingPlanGroups { get; set; } + /// ///Count of selling plan groups associated with the product variant. /// - [Description("Count of selling plan groups associated with the product variant.")] - public Count? sellingPlanGroupsCount { get; set; } - + [Description("Count of selling plan groups associated with the product variant.")] + public Count? sellingPlanGroupsCount { get; set; } + /// ///Whether to show the unit price for this product variant. /// - [Description("Whether to show the unit price for this product variant.")] - [NonNull] - public bool? showUnitPrice { get; set; } - + [Description("Whether to show the unit price for this product variant.")] + [NonNull] + public bool? showUnitPrice { get; set; } + /// ///A case-sensitive identifier for the product variant in the shop. ///Required in order to connect to a fulfillment service. /// - [Description("A case-sensitive identifier for the product variant in the shop.\nRequired in order to connect to a fulfillment service.")] - public string? sku { get; set; } - + [Description("A case-sensitive identifier for the product variant in the shop.\nRequired in order to connect to a fulfillment service.")] + public string? sku { get; set; } + /// ///The Storefront GraphQL API ID of the `ProductVariant`. /// ///The Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead. /// - [Description("The Storefront GraphQL API ID of the `ProductVariant`.\n\nThe Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] - [Obsolete("Use `id` instead.")] - [NonNull] - public string? storefrontId { get; set; } - + [Description("The Storefront GraphQL API ID of the `ProductVariant`.\n\nThe Storefront GraphQL API will no longer return Base64 encoded IDs to match the behavior of the Admin GraphQL API. Therefore, you can safely use the `id` field's value instead.")] + [Obsolete("Use `id` instead.")] + [NonNull] + public string? storefrontId { get; set; } + /// ///Avalara tax code for the product variant. Applies only to the stores that have the Avalara AvaTax app installed. /// - [Description("Avalara tax code for the product variant. Applies only to the stores that have the Avalara AvaTax app installed.")] - [Obsolete("This field should no longer be used in new integrations. This field will not be available in future API versions.")] - public string? taxCode { get; set; } - + [Description("Avalara tax code for the product variant. Applies only to the stores that have the Avalara AvaTax app installed.")] + [Obsolete("This field should no longer be used in new integrations. This field will not be available in future API versions.")] + public string? taxCode { get; set; } + /// ///Whether a tax is charged when the product variant is sold. /// - [Description("Whether a tax is charged when the product variant is sold.")] - [NonNull] - public bool? taxable { get; set; } - + [Description("Whether a tax is charged when the product variant is sold.")] + [NonNull] + public bool? taxable { get; set; } + /// ///The title of the product variant. /// - [Description("The title of the product variant.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the product variant.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The unit price value for the variant based on the variant measurement. /// - [Description("The unit price value for the variant based on the variant measurement.")] - public MoneyV2? unitPrice { get; set; } - + [Description("The unit price value for the variant based on the variant measurement.")] + public MoneyV2? unitPrice { get; set; } + /// ///The unit price measurement for the variant. /// - [Description("The unit price measurement for the variant.")] - public UnitPriceMeasurement? unitPriceMeasurement { get; set; } - + [Description("The unit price measurement for the variant.")] + public UnitPriceMeasurement? unitPriceMeasurement { get; set; } + /// ///The date and time (ISO 8601 format) when the product variant was last modified. /// - [Description("The date and time (ISO 8601 format) when the product variant was last modified.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time (ISO 8601 format) when the product variant was last modified.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///The input fields required to append media to a single variant. /// - [Description("The input fields required to append media to a single variant.")] - public class ProductVariantAppendMediaInput : GraphQLObject - { + [Description("The input fields required to append media to a single variant.")] + public class ProductVariantAppendMediaInput : GraphQLObject + { /// ///Specifies the variant to which media will be appended. /// - [Description("Specifies the variant to which media will be appended.")] - [NonNull] - public string? variantId { get; set; } - + [Description("Specifies the variant to which media will be appended.")] + [NonNull] + public string? variantId { get; set; } + /// ///Specifies the media to append to the variant. /// - [Description("Specifies the media to append to the variant.")] - [NonNull] - public IEnumerable? mediaIds { get; set; } - } - + [Description("Specifies the media to append to the variant.")] + [NonNull] + public IEnumerable? mediaIds { get; set; } + } + /// ///Return type for `productVariantAppendMedia` mutation. /// - [Description("Return type for `productVariantAppendMedia` mutation.")] - public class ProductVariantAppendMediaPayload : GraphQLObject - { + [Description("Return type for `productVariantAppendMedia` mutation.")] + public class ProductVariantAppendMediaPayload : GraphQLObject + { /// ///The product associated with the variants and media. /// - [Description("The product associated with the variants and media.")] - public Product? product { get; set; } - + [Description("The product associated with the variants and media.")] + public Product? product { get; set; } + /// ///The product variants that were updated. /// - [Description("The product variants that were updated.")] - public IEnumerable? productVariants { get; set; } - + [Description("The product variants that were updated.")] + public IEnumerable? productVariants { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A product variant component that is included within a bundle. /// ///These are the individual product variants that make up a bundle product, ///where each component has a specific required quantity. /// - [Description("A product variant component that is included within a bundle.\n\nThese are the individual product variants that make up a bundle product,\nwhere each component has a specific required quantity.")] - public class ProductVariantComponent : GraphQLObject, INode - { + [Description("A product variant component that is included within a bundle.\n\nThese are the individual product variants that make up a bundle product,\nwhere each component has a specific required quantity.")] + public class ProductVariantComponent : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The product variant associated with the component. /// - [Description("The product variant associated with the component.")] - [NonNull] - public ProductVariant? productVariant { get; set; } - + [Description("The product variant associated with the component.")] + [NonNull] + public ProductVariant? productVariant { get; set; } + /// ///The required quantity of the component. /// - [Description("The required quantity of the component.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The required quantity of the component.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductVariantComponents. /// - [Description("An auto-generated type for paginating through multiple ProductVariantComponents.")] - public class ProductVariantComponentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductVariantComponents.")] + public class ProductVariantComponentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductVariantComponentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductVariantComponentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductVariantComponentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ProductVariantComponent and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductVariantComponent and a cursor during pagination.")] - public class ProductVariantComponentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductVariantComponent and a cursor during pagination.")] + public class ProductVariantComponentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductVariantComponentEdge. /// - [Description("The item at the end of ProductVariantComponentEdge.")] - [NonNull] - public ProductVariantComponent? node { get; set; } - } - + [Description("The item at the end of ProductVariantComponentEdge.")] + [NonNull] + public ProductVariantComponent? node { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductVariants. /// - [Description("An auto-generated type for paginating through multiple ProductVariants.")] - public class ProductVariantConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductVariants.")] + public class ProductVariantConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductVariantEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductVariantEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductVariantEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The price of a product variant in a specific country. ///Prices vary between countries. /// - [Description("The price of a product variant in a specific country.\nPrices vary between countries.")] - public class ProductVariantContextualPricing : GraphQLObject - { + [Description("The price of a product variant in a specific country.\nPrices vary between countries.")] + public class ProductVariantContextualPricing : GraphQLObject + { /// ///The final compare-at price after all adjustments are applied. /// - [Description("The final compare-at price after all adjustments are applied.")] - public MoneyV2? compareAtPrice { get; set; } - + [Description("The final compare-at price after all adjustments are applied.")] + public MoneyV2? compareAtPrice { get; set; } + /// ///The final price after all adjustments are applied. /// - [Description("The final price after all adjustments are applied.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The final price after all adjustments are applied.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///A list of quantity breaks for the product variant. /// - [Description("A list of quantity breaks for the product variant.")] - [NonNull] - public QuantityPriceBreakConnection? quantityPriceBreaks { get; set; } - + [Description("A list of quantity breaks for the product variant.")] + [NonNull] + public QuantityPriceBreakConnection? quantityPriceBreaks { get; set; } + /// ///The quantity rule applied for a given context. /// - [Description("The quantity rule applied for a given context.")] - [NonNull] - public QuantityRule? quantityRule { get; set; } - + [Description("The quantity rule applied for a given context.")] + [NonNull] + public QuantityRule? quantityRule { get; set; } + /// ///The unit price value for the given context based on the variant measurement. /// - [Description("The unit price value for the given context based on the variant measurement.")] - public MoneyV2? unitPrice { get; set; } - } - + [Description("The unit price value for the given context based on the variant measurement.")] + public MoneyV2? unitPrice { get; set; } + } + /// ///The input fields required to detach media from a single variant. /// - [Description("The input fields required to detach media from a single variant.")] - public class ProductVariantDetachMediaInput : GraphQLObject - { + [Description("The input fields required to detach media from a single variant.")] + public class ProductVariantDetachMediaInput : GraphQLObject + { /// ///Specifies the variant from which media will be detached. /// - [Description("Specifies the variant from which media will be detached.")] - [NonNull] - public string? variantId { get; set; } - + [Description("Specifies the variant from which media will be detached.")] + [NonNull] + public string? variantId { get; set; } + /// ///Specifies the media to detach from the variant. /// - [Description("Specifies the media to detach from the variant.")] - [NonNull] - public IEnumerable? mediaIds { get; set; } - } - + [Description("Specifies the media to detach from the variant.")] + [NonNull] + public IEnumerable? mediaIds { get; set; } + } + /// ///Return type for `productVariantDetachMedia` mutation. /// - [Description("Return type for `productVariantDetachMedia` mutation.")] - public class ProductVariantDetachMediaPayload : GraphQLObject - { + [Description("Return type for `productVariantDetachMedia` mutation.")] + public class ProductVariantDetachMediaPayload : GraphQLObject + { /// ///The product associated with the variants and media. /// - [Description("The product associated with the variants and media.")] - public Product? product { get; set; } - + [Description("The product associated with the variants and media.")] + public Product? product { get; set; } + /// ///The product variants that were updated. /// - [Description("The product variants that were updated.")] - public IEnumerable? productVariants { get; set; } - + [Description("The product variants that were updated.")] + public IEnumerable? productVariants { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one ProductVariant and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductVariant and a cursor during pagination.")] - public class ProductVariantEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductVariant and a cursor during pagination.")] + public class ProductVariantEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductVariantEdge. /// - [Description("The item at the end of ProductVariantEdge.")] - [NonNull] - public ProductVariant? node { get; set; } - } - + [Description("The item at the end of ProductVariantEdge.")] + [NonNull] + public ProductVariant? node { get; set; } + } + /// ///The input fields for the bundle components for core. /// - [Description("The input fields for the bundle components for core.")] - public class ProductVariantGroupRelationshipInput : GraphQLObject - { + [Description("The input fields for the bundle components for core.")] + public class ProductVariantGroupRelationshipInput : GraphQLObject + { /// ///The ID of the product variant that's a component of the bundle. /// - [Description("The ID of the product variant that's a component of the bundle.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the product variant that's a component of the bundle.")] + [NonNull] + public string? id { get; set; } + /// ///The number of units of the product variant required to construct one unit of the bundle. /// - [Description("The number of units of the product variant required to construct one unit of the bundle.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The number of units of the product variant required to construct one unit of the bundle.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields for identifying a product variant. /// - [Description("The input fields for identifying a product variant.")] - public class ProductVariantIdentifierInput : GraphQLObject - { + [Description("The input fields for identifying a product variant.")] + public class ProductVariantIdentifierInput : GraphQLObject + { /// ///The ID of the product variant. /// - [Description("The ID of the product variant.")] - public string? id { get; set; } - + [Description("The ID of the product variant.")] + public string? id { get; set; } + /// ///The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the product variant. /// - [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the product variant.")] - public UniqueMetafieldValueInput? customId { get; set; } - } - + [Description("The [custom ID](https://shopify.dev/docs/apps/build/custom-data/metafields/working-with-custom-ids) of the product variant.")] + public UniqueMetafieldValueInput? customId { get; set; } + } + /// ///The valid values for the inventory policy of a product variant once it is out of stock. /// - [Description("The valid values for the inventory policy of a product variant once it is out of stock.")] - public enum ProductVariantInventoryPolicy - { + [Description("The valid values for the inventory policy of a product variant once it is out of stock.")] + public enum ProductVariantInventoryPolicy + { /// ///Customers can't buy this product variant after it's out of stock. /// - [Description("Customers can't buy this product variant after it's out of stock.")] - DENY, + [Description("Customers can't buy this product variant after it's out of stock.")] + DENY, /// ///Customers can buy this product variant after it's out of stock. /// - [Description("Customers can buy this product variant after it's out of stock.")] - CONTINUE, - } - - public static class ProductVariantInventoryPolicyStringValues - { - public const string DENY = @"DENY"; - public const string CONTINUE = @"CONTINUE"; - } - + [Description("Customers can buy this product variant after it's out of stock.")] + CONTINUE, + } + + public static class ProductVariantInventoryPolicyStringValues + { + public const string DENY = @"DENY"; + public const string CONTINUE = @"CONTINUE"; + } + /// ///Return type for `productVariantJoinSellingPlanGroups` mutation. /// - [Description("Return type for `productVariantJoinSellingPlanGroups` mutation.")] - public class ProductVariantJoinSellingPlanGroupsPayload : GraphQLObject - { + [Description("Return type for `productVariantJoinSellingPlanGroups` mutation.")] + public class ProductVariantJoinSellingPlanGroupsPayload : GraphQLObject + { /// ///The product variant object. /// - [Description("The product variant object.")] - public ProductVariant? productVariant { get; set; } - + [Description("The product variant object.")] + public ProductVariant? productVariant { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `productVariantLeaveSellingPlanGroups` mutation. /// - [Description("Return type for `productVariantLeaveSellingPlanGroups` mutation.")] - public class ProductVariantLeaveSellingPlanGroupsPayload : GraphQLObject - { + [Description("Return type for `productVariantLeaveSellingPlanGroups` mutation.")] + public class ProductVariantLeaveSellingPlanGroupsPayload : GraphQLObject + { /// ///The product variant object. /// - [Description("The product variant object.")] - public ProductVariant? productVariant { get; set; } - + [Description("The product variant object.")] + public ProductVariant? productVariant { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields representing a product variant position. /// - [Description("The input fields representing a product variant position.")] - public class ProductVariantPositionInput : GraphQLObject - { + [Description("The input fields representing a product variant position.")] + public class ProductVariantPositionInput : GraphQLObject + { /// ///Specifies the ID of the product variant to update. /// - [Description("Specifies the ID of the product variant to update.")] - [NonNull] - public string? id { get; set; } - + [Description("Specifies the ID of the product variant to update.")] + [NonNull] + public string? id { get; set; } + /// ///The order of the product variant in the list of product variants. The first position in the list is 1. /// - [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] - [NonNull] - public int? position { get; set; } - } - + [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] + [NonNull] + public int? position { get; set; } + } + /// ///The compare-at price and price of a variant sharing a currency. /// - [Description("The compare-at price and price of a variant sharing a currency.")] - public class ProductVariantPricePair : GraphQLObject - { + [Description("The compare-at price and price of a variant sharing a currency.")] + public class ProductVariantPricePair : GraphQLObject + { /// ///The compare-at price of the variant with associated currency. /// - [Description("The compare-at price of the variant with associated currency.")] - public MoneyV2? compareAtPrice { get; set; } - + [Description("The compare-at price of the variant with associated currency.")] + public MoneyV2? compareAtPrice { get; set; } + /// ///The price of the variant with associated currency. /// - [Description("The price of the variant with associated currency.")] - [NonNull] - public MoneyV2? price { get; set; } - } - + [Description("The price of the variant with associated currency.")] + [NonNull] + public MoneyV2? price { get; set; } + } + /// ///An auto-generated type for paginating through multiple ProductVariantPricePairs. /// - [Description("An auto-generated type for paginating through multiple ProductVariantPricePairs.")] - public class ProductVariantPricePairConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ProductVariantPricePairs.")] + public class ProductVariantPricePairConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ProductVariantPricePairEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ProductVariantPricePairEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ProductVariantPricePairEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination. /// - [Description("An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination.")] - public class ProductVariantPricePairEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ProductVariantPricePair and a cursor during pagination.")] + public class ProductVariantPricePairEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ProductVariantPricePairEdge. /// - [Description("The item at the end of ProductVariantPricePairEdge.")] - [NonNull] - public ProductVariantPricePair? node { get; set; } - } - + [Description("The item at the end of ProductVariantPricePairEdge.")] + [NonNull] + public ProductVariantPricePair? node { get; set; } + } + /// ///Return type for `productVariantRelationshipBulkUpdate` mutation. /// - [Description("Return type for `productVariantRelationshipBulkUpdate` mutation.")] - public class ProductVariantRelationshipBulkUpdatePayload : GraphQLObject - { + [Description("Return type for `productVariantRelationshipBulkUpdate` mutation.")] + public class ProductVariantRelationshipBulkUpdatePayload : GraphQLObject + { /// ///The product variants with successfully updated product variant relationships. /// - [Description("The product variants with successfully updated product variant relationships.")] - public IEnumerable? parentProductVariants { get; set; } - + [Description("The product variants with successfully updated product variant relationships.")] + public IEnumerable? parentProductVariants { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ProductVariantRelationshipBulkUpdate`. /// - [Description("An error that occurs during the execution of `ProductVariantRelationshipBulkUpdate`.")] - public class ProductVariantRelationshipBulkUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ProductVariantRelationshipBulkUpdate`.")] + public class ProductVariantRelationshipBulkUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductVariantRelationshipBulkUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductVariantRelationshipBulkUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductVariantRelationshipBulkUpdateUserError`. /// - [Description("Possible error codes that can be returned by `ProductVariantRelationshipBulkUpdateUserError`.")] - public enum ProductVariantRelationshipBulkUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductVariantRelationshipBulkUpdateUserError`.")] + public enum ProductVariantRelationshipBulkUpdateUserErrorCode + { /// ///A parent product variant ID or product ID must be provided. /// - [Description("A parent product variant ID or product ID must be provided.")] - PARENT_REQUIRED, + [Description("A parent product variant ID or product ID must be provided.")] + PARENT_REQUIRED, /// ///Unable to create parent product variant. /// - [Description("Unable to create parent product variant.")] - FAILED_TO_CREATE, + [Description("Unable to create parent product variant.")] + FAILED_TO_CREATE, /// ///The product variants were not found. /// - [Description("The product variants were not found.")] - PRODUCT_VARIANTS_NOT_FOUND, + [Description("The product variants were not found.")] + PRODUCT_VARIANTS_NOT_FOUND, /// ///A parent product variant cannot contain itself as a component. /// - [Description("A parent product variant cannot contain itself as a component.")] - CIRCULAR_REFERENCE, + [Description("A parent product variant cannot contain itself as a component.")] + CIRCULAR_REFERENCE, /// ///Nested parent product variants aren't supported. /// - [Description("Nested parent product variants aren't supported.")] - NESTED_PARENT_PRODUCT_VARIANT, + [Description("Nested parent product variants aren't supported.")] + NESTED_PARENT_PRODUCT_VARIANT, /// ///Product variant relationships must have a quantity greater than 0. /// - [Description("Product variant relationships must have a quantity greater than 0.")] - INVALID_QUANTITY, + [Description("Product variant relationships must have a quantity greater than 0.")] + INVALID_QUANTITY, /// ///A parent product variant must not contain duplicate product variant relationships. /// - [Description("A parent product variant must not contain duplicate product variant relationships.")] - DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP, + [Description("A parent product variant must not contain duplicate product variant relationships.")] + DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP, /// ///Exceeded the maximum allowable product variant relationships in a parent product variant. /// - [Description("Exceeded the maximum allowable product variant relationships in a parent product variant.")] - EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT, + [Description("Exceeded the maximum allowable product variant relationships in a parent product variant.")] + EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT, /// ///A Core type relationship cannot be added to a composite product variant with SFN type relationships. /// - [Description("A Core type relationship cannot be added to a composite product variant with SFN type relationships.")] - PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT, + [Description("A Core type relationship cannot be added to a composite product variant with SFN type relationships.")] + PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT, /// ///Unexpected error. /// - [Description("Unexpected error.")] - UNEXPECTED_ERROR, + [Description("Unexpected error.")] + UNEXPECTED_ERROR, /// ///Unable to remove product variant relationships. /// - [Description("Unable to remove product variant relationships.")] - FAILED_TO_REMOVE, + [Description("Unable to remove product variant relationships.")] + FAILED_TO_REMOVE, /// ///The product variant relationships to remove must be specified if all the parent product variant's components aren't being removed. /// - [Description("The product variant relationships to remove must be specified if all the parent product variant's components aren't being removed.")] - MUST_SPECIFY_COMPONENTS, + [Description("The product variant relationships to remove must be specified if all the parent product variant's components aren't being removed.")] + MUST_SPECIFY_COMPONENTS, /// ///Unable to update product variant relationships. /// - [Description("Unable to update product variant relationships.")] - FAILED_TO_UPDATE, + [Description("Unable to update product variant relationships.")] + FAILED_TO_UPDATE, /// ///Unable to update parent product variant price. /// - [Description("Unable to update parent product variant price.")] - FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE, + [Description("Unable to update parent product variant price.")] + FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE, /// ///A price must be provided for a parent product variant if the price calculation is set to fixed. /// - [Description("A price must be provided for a parent product variant if the price calculation is set to fixed.")] - UPDATE_PARENT_VARIANT_PRICE_REQUIRED, + [Description("A price must be provided for a parent product variant if the price calculation is set to fixed.")] + UPDATE_PARENT_VARIANT_PRICE_REQUIRED, /// ///Some of the provided product variants are not components of the specified parent product variant. /// - [Description("Some of the provided product variants are not components of the specified parent product variant.")] - PRODUCT_VARIANTS_NOT_COMPONENTS, + [Description("Some of the provided product variants are not components of the specified parent product variant.")] + PRODUCT_VARIANTS_NOT_COMPONENTS, /// ///The products for these product variants are already owned by another App. /// - [Description("The products for these product variants are already owned by another App.")] - PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS, + [Description("The products for these product variants are already owned by another App.")] + PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS, /// ///Multipack bundles are not supported. /// - [Description("Multipack bundles are not supported.")] - UNSUPPORTED_MULTIPACK_RELATIONSHIP, + [Description("Multipack bundles are not supported.")] + UNSUPPORTED_MULTIPACK_RELATIONSHIP, /// ///Gift cards cannot be parent product variants. /// - [Description("Gift cards cannot be parent product variants.")] - PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD, + [Description("Gift cards cannot be parent product variants.")] + PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD, /// ///Parent product variants cannot require a selling plan. /// - [Description("Parent product variants cannot require a selling plan.")] - PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN, + [Description("Parent product variants cannot require a selling plan.")] + PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN, /// ///Combined listing cannot be parent product variants. /// - [Description("Combined listing cannot be parent product variants.")] - PARENT_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING, + [Description("Combined listing cannot be parent product variants.")] + PARENT_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING, /// ///Combined listing cannot be child product variants. /// - [Description("Combined listing cannot be child product variants.")] - CHILD_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING, - } - - public static class ProductVariantRelationshipBulkUpdateUserErrorCodeStringValues - { - public const string PARENT_REQUIRED = @"PARENT_REQUIRED"; - public const string FAILED_TO_CREATE = @"FAILED_TO_CREATE"; - public const string PRODUCT_VARIANTS_NOT_FOUND = @"PRODUCT_VARIANTS_NOT_FOUND"; - public const string CIRCULAR_REFERENCE = @"CIRCULAR_REFERENCE"; - public const string NESTED_PARENT_PRODUCT_VARIANT = @"NESTED_PARENT_PRODUCT_VARIANT"; - public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; - public const string DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP = @"DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP"; - public const string EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT = @"EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT"; - public const string PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT = @"PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT"; - public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; - public const string FAILED_TO_REMOVE = @"FAILED_TO_REMOVE"; - public const string MUST_SPECIFY_COMPONENTS = @"MUST_SPECIFY_COMPONENTS"; - public const string FAILED_TO_UPDATE = @"FAILED_TO_UPDATE"; - public const string FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE = @"FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE"; - public const string UPDATE_PARENT_VARIANT_PRICE_REQUIRED = @"UPDATE_PARENT_VARIANT_PRICE_REQUIRED"; - public const string PRODUCT_VARIANTS_NOT_COMPONENTS = @"PRODUCT_VARIANTS_NOT_COMPONENTS"; - public const string PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS = @"PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS"; - public const string UNSUPPORTED_MULTIPACK_RELATIONSHIP = @"UNSUPPORTED_MULTIPACK_RELATIONSHIP"; - public const string PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD = @"PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD"; - public const string PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN = @"PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN"; - public const string PARENT_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING = @"PARENT_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING"; - public const string CHILD_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING = @"CHILD_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING"; - } - + [Description("Combined listing cannot be child product variants.")] + CHILD_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING, + } + + public static class ProductVariantRelationshipBulkUpdateUserErrorCodeStringValues + { + public const string PARENT_REQUIRED = @"PARENT_REQUIRED"; + public const string FAILED_TO_CREATE = @"FAILED_TO_CREATE"; + public const string PRODUCT_VARIANTS_NOT_FOUND = @"PRODUCT_VARIANTS_NOT_FOUND"; + public const string CIRCULAR_REFERENCE = @"CIRCULAR_REFERENCE"; + public const string NESTED_PARENT_PRODUCT_VARIANT = @"NESTED_PARENT_PRODUCT_VARIANT"; + public const string INVALID_QUANTITY = @"INVALID_QUANTITY"; + public const string DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP = @"DUPLICATE_PRODUCT_VARIANT_RELATIONSHIP"; + public const string EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT = @"EXCEEDED_PRODUCT_VARIANT_RELATIONSHIP_LIMIT"; + public const string PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT = @"PRODUCT_VARIANT_RELATIONSHIP_TYPE_CONFLICT"; + public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; + public const string FAILED_TO_REMOVE = @"FAILED_TO_REMOVE"; + public const string MUST_SPECIFY_COMPONENTS = @"MUST_SPECIFY_COMPONENTS"; + public const string FAILED_TO_UPDATE = @"FAILED_TO_UPDATE"; + public const string FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE = @"FAILED_TO_UPDATE_PARENT_PRODUCT_VARIANT_PRICE"; + public const string UPDATE_PARENT_VARIANT_PRICE_REQUIRED = @"UPDATE_PARENT_VARIANT_PRICE_REQUIRED"; + public const string PRODUCT_VARIANTS_NOT_COMPONENTS = @"PRODUCT_VARIANTS_NOT_COMPONENTS"; + public const string PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS = @"PRODUCT_EXPANDER_APP_OWNERSHIP_ALREADY_EXISTS"; + public const string UNSUPPORTED_MULTIPACK_RELATIONSHIP = @"UNSUPPORTED_MULTIPACK_RELATIONSHIP"; + public const string PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD = @"PARENT_PRODUCT_VARIANT_CANNOT_BE_GIFT_CARD"; + public const string PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN = @"PARENT_PRODUCT_VARIANT_CANNOT_REQUIRE_SELLING_PLAN"; + public const string PARENT_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING = @"PARENT_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING"; + public const string CHILD_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING = @"CHILD_PRODUCT_VARIANT_CANNOT_BE_COMBINED_LISTING"; + } + /// ///The input fields for updating a composite product variant. /// - [Description("The input fields for updating a composite product variant.")] - public class ProductVariantRelationshipUpdateInput : GraphQLObject - { + [Description("The input fields for updating a composite product variant.")] + public class ProductVariantRelationshipUpdateInput : GraphQLObject + { /// ///The product variant ID representing that which contains the relationships with other variants. /// - [Description("The product variant ID representing that which contains the relationships with other variants.")] - public string? parentProductVariantId { get; set; } - + [Description("The product variant ID representing that which contains the relationships with other variants.")] + public string? parentProductVariantId { get; set; } + /// ///A product ID which contains product variants that have relationships with other variants. /// - [Description("A product ID which contains product variants that have relationships with other variants.")] - public string? parentProductId { get; set; } - + [Description("A product ID which contains product variants that have relationships with other variants.")] + public string? parentProductId { get; set; } + /// ///The product variants and associated quantitites to add to the product variant. /// - [Description("The product variants and associated quantitites to add to the product variant.")] - public IEnumerable? productVariantRelationshipsToCreate { get; set; } - + [Description("The product variants and associated quantitites to add to the product variant.")] + public IEnumerable? productVariantRelationshipsToCreate { get; set; } + /// ///The product variants and associated quantitites to update in specified product variant. /// - [Description("The product variants and associated quantitites to update in specified product variant.")] - public IEnumerable? productVariantRelationshipsToUpdate { get; set; } - + [Description("The product variants and associated quantitites to update in specified product variant.")] + public IEnumerable? productVariantRelationshipsToUpdate { get; set; } + /// ///The bundle component product variants to be removed from the product variant. /// - [Description("The bundle component product variants to be removed from the product variant.")] - public IEnumerable? productVariantRelationshipsToRemove { get; set; } - + [Description("The bundle component product variants to be removed from the product variant.")] + public IEnumerable? productVariantRelationshipsToRemove { get; set; } + /// ///Whether to remove all components from the product variant. The default value is `false`. /// - [Description("Whether to remove all components from the product variant. The default value is `false`.")] - public bool? removeAllProductVariantRelationships { get; set; } - + [Description("Whether to remove all components from the product variant. The default value is `false`.")] + public bool? removeAllProductVariantRelationships { get; set; } + /// ///Method in which to update the price of the parent product variant. /// - [Description("Method in which to update the price of the parent product variant.")] - public PriceInput? priceInput { get; set; } - } - + [Description("Method in which to update the price of the parent product variant.")] + public PriceInput? priceInput { get; set; } + } + /// ///The input fields for specifying a product variant to create or update. /// - [Description("The input fields for specifying a product variant to create or update.")] - public class ProductVariantSetInput : GraphQLObject - { + [Description("The input fields for specifying a product variant to create or update.")] + public class ProductVariantSetInput : GraphQLObject + { /// ///Whether a product variant requires components. The default value is `false`. ///If `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted ///from channels that don't support bundles. /// - [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted\nfrom channels that don't support bundles.")] - public bool? requiresComponents { get; set; } - + [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be omitted\nfrom channels that don't support bundles.")] + public bool? requiresComponents { get; set; } + /// ///The value of the barcode associated with the product. /// - [Description("The value of the barcode associated with the product.")] - public string? barcode { get; set; } - + [Description("The value of the barcode associated with the product.")] + public string? barcode { get; set; } + /// ///The compare-at price of the variant. /// - [Description("The compare-at price of the variant.")] - public decimal? compareAtPrice { get; set; } - + [Description("The compare-at price of the variant.")] + public decimal? compareAtPrice { get; set; } + /// ///Specifies the product variant to update or create a new variant if absent. /// - [Description("Specifies the product variant to update or create a new variant if absent.")] - public string? id { get; set; } - + [Description("Specifies the product variant to update or create a new variant if absent.")] + public string? id { get; set; } + /// ///The file to associate with the variant. /// @@ -98726,16 +98726,16 @@ public class ProductVariantSetInput : GraphQLObject /// ///Any file specified here must also be specified in the `files` input for the product. /// - [Description("The file to associate with the variant.\n\nComplexity cost: 0.6 per variant file.\n\nAny file specified here must also be specified in the `files` input for the product.")] - public FileSetInput? file { get; set; } - + [Description("The file to associate with the variant.\n\nComplexity cost: 0.6 per variant file.\n\nAny file specified here must also be specified in the `files` input for the product.")] + public FileSetInput? file { get; set; } + /// ///Whether customers are allowed to place an order for the product variant when it's out of stock. Defaults to `DENY`. /// - [Description("Whether customers are allowed to place an order for the product variant when it's out of stock. Defaults to `DENY`.")] - [EnumType(typeof(ProductVariantInventoryPolicy))] - public string? inventoryPolicy { get; set; } - + [Description("Whether customers are allowed to place an order for the product variant when it's out of stock. Defaults to `DENY`.")] + [EnumType(typeof(ProductVariantInventoryPolicy))] + public string? inventoryPolicy { get; set; } + /// ///The inventory quantities at each location where the variant is stocked. ///If you're updating an existing variant, then you can only update the @@ -98743,2610 +98743,2610 @@ public class ProductVariantSetInput : GraphQLObject /// ///The total number of inventory quantities across all variants in the mutation can't exceed 50000. /// - [Description("The inventory quantities at each location where the variant is stocked.\nIf you're updating an existing variant, then you can only update the\nquantities at locations where the variant is already stocked.\n\nThe total number of inventory quantities across all variants in the mutation can't exceed 50000.")] - public IEnumerable? inventoryQuantities { get; set; } - + [Description("The inventory quantities at each location where the variant is stocked.\nIf you're updating an existing variant, then you can only update the\nquantities at locations where the variant is already stocked.\n\nThe total number of inventory quantities across all variants in the mutation can't exceed 50000.")] + public IEnumerable? inventoryQuantities { get; set; } + /// ///The inventory item associated with the variant, used for unit cost. /// - [Description("The inventory item associated with the variant, used for unit cost.")] - public InventoryItemInput? inventoryItem { get; set; } - + [Description("The inventory item associated with the variant, used for unit cost.")] + public InventoryItemInput? inventoryItem { get; set; } + /// ///Additional customizable information about the product variant. /// ///Complexity cost: 0.4 per variant metafield. /// - [Description("Additional customizable information about the product variant.\n\nComplexity cost: 0.4 per variant metafield.")] - public IEnumerable? metafields { get; set; } - + [Description("Additional customizable information about the product variant.\n\nComplexity cost: 0.4 per variant metafield.")] + public IEnumerable? metafields { get; set; } + /// ///The custom properties that a shop owner uses to define product variants. /// - [Description("The custom properties that a shop owner uses to define product variants.")] - [NonNull] - public IEnumerable? optionValues { get; set; } - + [Description("The custom properties that a shop owner uses to define product variants.")] + [NonNull] + public IEnumerable? optionValues { get; set; } + /// ///The order of the product variant in the list of product variants. The first position in the list is 1. /// - [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] - public int? position { get; set; } - + [Description("The order of the product variant in the list of product variants. The first position in the list is 1.")] + public int? position { get; set; } + /// ///The price of the variant. /// - [Description("The price of the variant.")] - public decimal? price { get; set; } - + [Description("The price of the variant.")] + public decimal? price { get; set; } + /// ///The SKU for the variant. Case-sensitive string. /// - [Description("The SKU for the variant. Case-sensitive string.")] - public string? sku { get; set; } - + [Description("The SKU for the variant. Case-sensitive string.")] + public string? sku { get; set; } + /// ///Whether the variant is taxable. /// - [Description("Whether the variant is taxable.")] - public bool? taxable { get; set; } - + [Description("Whether the variant is taxable.")] + public bool? taxable { get; set; } + /// ///The tax code associated with the variant. /// - [Description("The tax code associated with the variant.")] - public string? taxCode { get; set; } - + [Description("The tax code associated with the variant.")] + public string? taxCode { get; set; } + /// ///The unit price measurement for the product variant. /// - [Description("The unit price measurement for the product variant.")] - public UnitPriceMeasurementInput? unitPriceMeasurement { get; set; } - + [Description("The unit price measurement for the product variant.")] + public UnitPriceMeasurementInput? unitPriceMeasurement { get; set; } + /// ///Whether or not unit price should be shown for this product variant. /// - [Description("Whether or not unit price should be shown for this product variant.")] - public bool? showUnitPrice { get; set; } - } - + [Description("Whether or not unit price should be shown for this product variant.")] + public bool? showUnitPrice { get; set; } + } + /// ///The set of valid sort keys for the ProductVariant query. /// - [Description("The set of valid sort keys for the ProductVariant query.")] - public enum ProductVariantSortKeys - { + [Description("The set of valid sort keys for the ProductVariant query.")] + public enum ProductVariantSortKeys + { /// ///Sort by the `full_title` value. /// - [Description("Sort by the `full_title` value.")] - FULL_TITLE, + [Description("Sort by the `full_title` value.")] + FULL_TITLE, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by available inventory quantity in the location specified by the `query:"location_id:"` argument. ///Don't use this sort key when no `location_id` in query is specified. /// - [Description("Sort by available inventory quantity in the location specified by the `query:\"location_id:\"` argument.\nDon't use this sort key when no `location_id` in query is specified.")] - INVENTORY_LEVELS_AVAILABLE, + [Description("Sort by available inventory quantity in the location specified by the `query:\"location_id:\"` argument.\nDon't use this sort key when no `location_id` in query is specified.")] + INVENTORY_LEVELS_AVAILABLE, /// ///Sort by the `inventory_management` value. /// - [Description("Sort by the `inventory_management` value.")] - INVENTORY_MANAGEMENT, + [Description("Sort by the `inventory_management` value.")] + INVENTORY_MANAGEMENT, /// ///Sort by the `inventory_policy` value. /// - [Description("Sort by the `inventory_policy` value.")] - INVENTORY_POLICY, + [Description("Sort by the `inventory_policy` value.")] + INVENTORY_POLICY, /// ///Sort by the `inventory_quantity` value. /// - [Description("Sort by the `inventory_quantity` value.")] - INVENTORY_QUANTITY, + [Description("Sort by the `inventory_quantity` value.")] + INVENTORY_QUANTITY, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `popular` value. /// - [Description("Sort by the `popular` value.")] - POPULAR, + [Description("Sort by the `popular` value.")] + POPULAR, /// ///Sort by the `position` value. /// - [Description("Sort by the `position` value.")] - POSITION, + [Description("Sort by the `position` value.")] + POSITION, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, /// ///Sort by the `sku` value. /// - [Description("Sort by the `sku` value.")] - SKU, + [Description("Sort by the `sku` value.")] + SKU, /// ///Sort by the `title` value. /// - [Description("Sort by the `title` value.")] - TITLE, - } - - public static class ProductVariantSortKeysStringValues - { - public const string FULL_TITLE = @"FULL_TITLE"; - public const string ID = @"ID"; - public const string INVENTORY_LEVELS_AVAILABLE = @"INVENTORY_LEVELS_AVAILABLE"; - public const string INVENTORY_MANAGEMENT = @"INVENTORY_MANAGEMENT"; - public const string INVENTORY_POLICY = @"INVENTORY_POLICY"; - public const string INVENTORY_QUANTITY = @"INVENTORY_QUANTITY"; - public const string NAME = @"NAME"; - public const string POPULAR = @"POPULAR"; - public const string POSITION = @"POSITION"; - public const string RELEVANCE = @"RELEVANCE"; - public const string SKU = @"SKU"; - public const string TITLE = @"TITLE"; - } - + [Description("Sort by the `title` value.")] + TITLE, + } + + public static class ProductVariantSortKeysStringValues + { + public const string FULL_TITLE = @"FULL_TITLE"; + public const string ID = @"ID"; + public const string INVENTORY_LEVELS_AVAILABLE = @"INVENTORY_LEVELS_AVAILABLE"; + public const string INVENTORY_MANAGEMENT = @"INVENTORY_MANAGEMENT"; + public const string INVENTORY_POLICY = @"INVENTORY_POLICY"; + public const string INVENTORY_QUANTITY = @"INVENTORY_QUANTITY"; + public const string NAME = @"NAME"; + public const string POPULAR = @"POPULAR"; + public const string POSITION = @"POSITION"; + public const string RELEVANCE = @"RELEVANCE"; + public const string SKU = @"SKU"; + public const string TITLE = @"TITLE"; + } + /// ///Return type for `productVariantsBulkCreate` mutation. /// - [Description("Return type for `productVariantsBulkCreate` mutation.")] - public class ProductVariantsBulkCreatePayload : GraphQLObject - { + [Description("Return type for `productVariantsBulkCreate` mutation.")] + public class ProductVariantsBulkCreatePayload : GraphQLObject + { /// ///The updated product object. /// - [Description("The updated product object.")] - public Product? product { get; set; } - + [Description("The updated product object.")] + public Product? product { get; set; } + /// ///The newly created variants. /// - [Description("The newly created variants.")] - public IEnumerable? productVariants { get; set; } - + [Description("The newly created variants.")] + public IEnumerable? productVariants { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of strategies available for use on the `productVariantsBulkCreate` mutation. /// - [Description("The set of strategies available for use on the `productVariantsBulkCreate` mutation.")] - public enum ProductVariantsBulkCreateStrategy - { + [Description("The set of strategies available for use on the `productVariantsBulkCreate` mutation.")] + public enum ProductVariantsBulkCreateStrategy + { /// ///The default strategy. Deletes the standalone default ("Default Title") variant when it's the only variant on the product. Preserves the standalone custom variant. /// - [Description("The default strategy. Deletes the standalone default (\"Default Title\") variant when it's the only variant on the product. Preserves the standalone custom variant.")] - DEFAULT, + [Description("The default strategy. Deletes the standalone default (\"Default Title\") variant when it's the only variant on the product. Preserves the standalone custom variant.")] + DEFAULT, /// ///Deletes the existing standalone variant when the product has only a single default ("Default Title") or custom variant. /// - [Description("Deletes the existing standalone variant when the product has only a single default (\"Default Title\") or custom variant.")] - REMOVE_STANDALONE_VARIANT, + [Description("Deletes the existing standalone variant when the product has only a single default (\"Default Title\") or custom variant.")] + REMOVE_STANDALONE_VARIANT, /// ///Preserves the existing standalone variant when the product has only a single default ("Default Title") or a single custom variant. /// - [Description("Preserves the existing standalone variant when the product has only a single default (\"Default Title\") or a single custom variant.")] - PRESERVE_STANDALONE_VARIANT, - } - - public static class ProductVariantsBulkCreateStrategyStringValues - { - public const string DEFAULT = @"DEFAULT"; - public const string REMOVE_STANDALONE_VARIANT = @"REMOVE_STANDALONE_VARIANT"; - public const string PRESERVE_STANDALONE_VARIANT = @"PRESERVE_STANDALONE_VARIANT"; - } - + [Description("Preserves the existing standalone variant when the product has only a single default (\"Default Title\") or a single custom variant.")] + PRESERVE_STANDALONE_VARIANT, + } + + public static class ProductVariantsBulkCreateStrategyStringValues + { + public const string DEFAULT = @"DEFAULT"; + public const string REMOVE_STANDALONE_VARIANT = @"REMOVE_STANDALONE_VARIANT"; + public const string PRESERVE_STANDALONE_VARIANT = @"PRESERVE_STANDALONE_VARIANT"; + } + /// ///Error codes for failed product variant bulk create mutations. /// - [Description("Error codes for failed product variant bulk create mutations.")] - public class ProductVariantsBulkCreateUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed product variant bulk create mutations.")] + public class ProductVariantsBulkCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductVariantsBulkCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductVariantsBulkCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductVariantsBulkCreateUserError`. /// - [Description("Possible error codes that can be returned by `ProductVariantsBulkCreateUserError`.")] - public enum ProductVariantsBulkCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductVariantsBulkCreateUserError`.")] + public enum ProductVariantsBulkCreateUserErrorCode + { /// ///Input is invalid. /// - [Description("Input is invalid.")] - INVALID_INPUT, + [Description("Input is invalid.")] + INVALID_INPUT, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///On create, this key cannot be used. /// - [Description("On create, this key cannot be used.")] - NO_KEY_ON_CREATE, + [Description("On create, this key cannot be used.")] + NO_KEY_ON_CREATE, /// ///Variant already exists. /// - [Description("Variant already exists.")] - VARIANT_ALREADY_EXISTS, + [Description("Variant already exists.")] + VARIANT_ALREADY_EXISTS, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Variant price must be greater than or equal to zero. /// - [Description("Variant price must be greater than or equal to zero.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("Variant price must be greater than or equal to zero.")] + GREATER_THAN_OR_EQUAL_TO, /// ///Variant options are not enough. /// - [Description("Variant options are not enough.")] - NEED_TO_ADD_OPTION_VALUES, + [Description("Variant options are not enough.")] + NEED_TO_ADD_OPTION_VALUES, /// ///Variant options are more than the product options. /// - [Description("Variant options are more than the product options.")] - OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS, + [Description("Variant options are more than the product options.")] + OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS, /// ///Inventory locations cannot exceed the allowed resource limit or 10. /// - [Description("Inventory locations cannot exceed the allowed resource limit or 10.")] - TOO_MANY_INVENTORY_LOCATIONS, + [Description("Inventory locations cannot exceed the allowed resource limit or 10.")] + TOO_MANY_INVENTORY_LOCATIONS, /// ///You reached the limit of available SKUs in your current plan. /// - [Description("You reached the limit of available SKUs in your current plan.")] - SUBSCRIPTION_VIOLATION, + [Description("You reached the limit of available SKUs in your current plan.")] + SUBSCRIPTION_VIOLATION, /// ///Variant options already exist. Please change the variant option(s). /// - [Description("Variant options already exist. Please change the variant option(s).")] - VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE, + [Description("Variant options already exist. Please change the variant option(s).")] + VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE, /// ///Quantity could not be set. The location was not found. /// - [Description("Quantity could not be set. The location was not found.")] - TRACKED_VARIANT_LOCATION_NOT_FOUND, + [Description("Quantity could not be set. The location was not found.")] + TRACKED_VARIANT_LOCATION_NOT_FOUND, /// ///Input must be for this product. /// - [Description("Input must be for this product.")] - MUST_BE_FOR_THIS_PRODUCT, + [Description("Input must be for this product.")] + MUST_BE_FOR_THIS_PRODUCT, /// ///Input is not defined for this shop. /// - [Description("Input is not defined for this shop.")] - NOT_DEFINED_FOR_SHOP, + [Description("Input is not defined for this shop.")] + NOT_DEFINED_FOR_SHOP, /// ///Invalid input detected. /// - [Description("Invalid input detected.")] - INVALID, + [Description("Invalid input detected.")] + INVALID, /// ///Price cannot take a negative value. /// - [Description("Price cannot take a negative value.")] - NEGATIVE_PRICE_VALUE, + [Description("Price cannot take a negative value.")] + NEGATIVE_PRICE_VALUE, /// ///The type is invalid. /// - [Description("The type is invalid.")] - INVALID_TYPE, + [Description("The type is invalid.")] + INVALID_TYPE, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///ApiPermission metafields can only be created or updated by the app owner. /// - [Description("ApiPermission metafields can only be created or updated by the app owner.")] - APP_NOT_AUTHORIZED, + [Description("ApiPermission metafields can only be created or updated by the app owner.")] + APP_NOT_AUTHORIZED, /// ///Unstructured reserved namespace. /// - [Description("Unstructured reserved namespace.")] - UNSTRUCTURED_RESERVED_NAMESPACE, + [Description("Unstructured reserved namespace.")] + UNSTRUCTURED_RESERVED_NAMESPACE, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The metafield violates a capability restriction. /// - [Description("The metafield violates a capability restriction.")] - CAPABILITY_VIOLATION, + [Description("The metafield violates a capability restriction.")] + CAPABILITY_VIOLATION, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///Operation is not supported for a combined listing parent product. /// - [Description("Operation is not supported for a combined listing parent product.")] - UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, + [Description("Operation is not supported for a combined listing parent product.")] + UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, /// ///Cannot set name for an option value linked to a metafield. /// - [Description("Cannot set name for an option value linked to a metafield.")] - CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE, + [Description("Cannot set name for an option value linked to a metafield.")] + CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE, /// ///Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations. /// - [Description("Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations.")] - INVENTORY_QUANTITIES_LIMIT_EXCEEDED, - } - - public static class ProductVariantsBulkCreateUserErrorCodeStringValues - { - public const string INVALID_INPUT = @"INVALID_INPUT"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string NO_KEY_ON_CREATE = @"NO_KEY_ON_CREATE"; - public const string VARIANT_ALREADY_EXISTS = @"VARIANT_ALREADY_EXISTS"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string NEED_TO_ADD_OPTION_VALUES = @"NEED_TO_ADD_OPTION_VALUES"; - public const string OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS = @"OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS"; - public const string TOO_MANY_INVENTORY_LOCATIONS = @"TOO_MANY_INVENTORY_LOCATIONS"; - public const string SUBSCRIPTION_VIOLATION = @"SUBSCRIPTION_VIOLATION"; - public const string VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE = @"VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE"; - public const string TRACKED_VARIANT_LOCATION_NOT_FOUND = @"TRACKED_VARIANT_LOCATION_NOT_FOUND"; - public const string MUST_BE_FOR_THIS_PRODUCT = @"MUST_BE_FOR_THIS_PRODUCT"; - public const string NOT_DEFINED_FOR_SHOP = @"NOT_DEFINED_FOR_SHOP"; - public const string INVALID = @"INVALID"; - public const string NEGATIVE_PRICE_VALUE = @"NEGATIVE_PRICE_VALUE"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; - public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string INCLUSION = @"INCLUSION"; - public const string TAKEN = @"TAKEN"; - public const string PRESENT = @"PRESENT"; - public const string BLANK = @"BLANK"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; - public const string CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE = @"CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE"; - public const string INVENTORY_QUANTITIES_LIMIT_EXCEEDED = @"INVENTORY_QUANTITIES_LIMIT_EXCEEDED"; - } - + [Description("Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations.")] + INVENTORY_QUANTITIES_LIMIT_EXCEEDED, + } + + public static class ProductVariantsBulkCreateUserErrorCodeStringValues + { + public const string INVALID_INPUT = @"INVALID_INPUT"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string NO_KEY_ON_CREATE = @"NO_KEY_ON_CREATE"; + public const string VARIANT_ALREADY_EXISTS = @"VARIANT_ALREADY_EXISTS"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string NEED_TO_ADD_OPTION_VALUES = @"NEED_TO_ADD_OPTION_VALUES"; + public const string OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS = @"OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS"; + public const string TOO_MANY_INVENTORY_LOCATIONS = @"TOO_MANY_INVENTORY_LOCATIONS"; + public const string SUBSCRIPTION_VIOLATION = @"SUBSCRIPTION_VIOLATION"; + public const string VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE = @"VARIANT_ALREADY_EXISTS_CHANGE_OPTION_VALUE"; + public const string TRACKED_VARIANT_LOCATION_NOT_FOUND = @"TRACKED_VARIANT_LOCATION_NOT_FOUND"; + public const string MUST_BE_FOR_THIS_PRODUCT = @"MUST_BE_FOR_THIS_PRODUCT"; + public const string NOT_DEFINED_FOR_SHOP = @"NOT_DEFINED_FOR_SHOP"; + public const string INVALID = @"INVALID"; + public const string NEGATIVE_PRICE_VALUE = @"NEGATIVE_PRICE_VALUE"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; + public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string INCLUSION = @"INCLUSION"; + public const string TAKEN = @"TAKEN"; + public const string PRESENT = @"PRESENT"; + public const string BLANK = @"BLANK"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; + public const string CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE = @"CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE"; + public const string INVENTORY_QUANTITIES_LIMIT_EXCEEDED = @"INVENTORY_QUANTITIES_LIMIT_EXCEEDED"; + } + /// ///Return type for `productVariantsBulkDelete` mutation. /// - [Description("Return type for `productVariantsBulkDelete` mutation.")] - public class ProductVariantsBulkDeletePayload : GraphQLObject - { + [Description("Return type for `productVariantsBulkDelete` mutation.")] + public class ProductVariantsBulkDeletePayload : GraphQLObject + { /// ///The updated product object. /// - [Description("The updated product object.")] - public Product? product { get; set; } - + [Description("The updated product object.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed bulk variant delete mutations. /// - [Description("Error codes for failed bulk variant delete mutations.")] - public class ProductVariantsBulkDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed bulk variant delete mutations.")] + public class ProductVariantsBulkDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductVariantsBulkDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductVariantsBulkDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductVariantsBulkDeleteUserError`. /// - [Description("Possible error codes that can be returned by `ProductVariantsBulkDeleteUserError`.")] - public enum ProductVariantsBulkDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductVariantsBulkDeleteUserError`.")] + public enum ProductVariantsBulkDeleteUserErrorCode + { /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Cannot delete default variant. /// - [Description("Cannot delete default variant.")] - CANNOT_DELETE_LAST_VARIANT, + [Description("Cannot delete default variant.")] + CANNOT_DELETE_LAST_VARIANT, /// ///The variant does not exist. /// - [Description("The variant does not exist.")] - AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT, + [Description("The variant does not exist.")] + AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT, /// ///Operation is not supported for a combined listing parent product. /// - [Description("Operation is not supported for a combined listing parent product.")] - UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, - } - - public static class ProductVariantsBulkDeleteUserErrorCodeStringValues - { - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string CANNOT_DELETE_LAST_VARIANT = @"CANNOT_DELETE_LAST_VARIANT"; - public const string AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT = @"AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT"; - public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; - } - + [Description("Operation is not supported for a combined listing parent product.")] + UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, + } + + public static class ProductVariantsBulkDeleteUserErrorCodeStringValues + { + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string CANNOT_DELETE_LAST_VARIANT = @"CANNOT_DELETE_LAST_VARIANT"; + public const string AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT = @"AT_LEAST_ONE_VARIANT_DOES_NOT_BELONG_TO_THE_PRODUCT"; + public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; + } + /// ///The input fields for specifying a product variant to create as part of a variant bulk mutation. /// - [Description("The input fields for specifying a product variant to create as part of a variant bulk mutation.")] - public class ProductVariantsBulkInput : GraphQLObject - { + [Description("The input fields for specifying a product variant to create as part of a variant bulk mutation.")] + public class ProductVariantsBulkInput : GraphQLObject + { /// ///The value of the barcode associated with the product variant. /// - [Description("The value of the barcode associated with the product variant.")] - public string? barcode { get; set; } - + [Description("The value of the barcode associated with the product variant.")] + public string? barcode { get; set; } + /// ///The compare-at price of the variant. /// - [Description("The compare-at price of the variant.")] - public decimal? compareAtPrice { get; set; } - + [Description("The compare-at price of the variant.")] + public decimal? compareAtPrice { get; set; } + /// ///Specifies the product variant to update or delete. /// - [Description("Specifies the product variant to update or delete.")] - public string? id { get; set; } - + [Description("Specifies the product variant to update or delete.")] + public string? id { get; set; } + /// ///The URL of the media to associate with the variant. /// - [Description("The URL of the media to associate with the variant.")] - public IEnumerable? mediaSrc { get; set; } - + [Description("The URL of the media to associate with the variant.")] + public IEnumerable? mediaSrc { get; set; } + /// ///Whether customers are allowed to place an order for the variant when it's out of stock. Defaults to `DENY`. /// - [Description("Whether customers are allowed to place an order for the variant when it's out of stock. Defaults to `DENY`.")] - [EnumType(typeof(ProductVariantInventoryPolicy))] - public string? inventoryPolicy { get; set; } - + [Description("Whether customers are allowed to place an order for the variant when it's out of stock. Defaults to `DENY`.")] + [EnumType(typeof(ProductVariantInventoryPolicy))] + public string? inventoryPolicy { get; set; } + /// ///The inventory quantities at each location where the variant is stocked. The number of elements ///in the array of inventory quantities can't exceed the amount specified for the plan. ///Supported as input with the `productVariantsBulkCreate` mutation only. /// - [Description("The inventory quantities at each location where the variant is stocked. The number of elements\nin the array of inventory quantities can't exceed the amount specified for the plan.\nSupported as input with the `productVariantsBulkCreate` mutation only.")] - public IEnumerable? inventoryQuantities { get; set; } - + [Description("The inventory quantities at each location where the variant is stocked. The number of elements\nin the array of inventory quantities can't exceed the amount specified for the plan.\nSupported as input with the `productVariantsBulkCreate` mutation only.")] + public IEnumerable? inventoryQuantities { get; set; } + /// ///The inventory item associated with the variant, used for unit cost. /// - [Description("The inventory item associated with the variant, used for unit cost.")] - public InventoryItemInput? inventoryItem { get; set; } - + [Description("The inventory item associated with the variant, used for unit cost.")] + public InventoryItemInput? inventoryItem { get; set; } + /// ///The ID of the media that's associated with the variant. /// - [Description("The ID of the media that's associated with the variant.")] - public string? mediaId { get; set; } - + [Description("The ID of the media that's associated with the variant.")] + public string? mediaId { get; set; } + /// ///The additional customizable information about the product variant. /// - [Description("The additional customizable information about the product variant.")] - public IEnumerable? metafields { get; set; } - + [Description("The additional customizable information about the product variant.")] + public IEnumerable? metafields { get; set; } + /// ///The custom properties that a shop owner uses to define product variants. /// - [Description("The custom properties that a shop owner uses to define product variants.")] - public IEnumerable? optionValues { get; set; } - + [Description("The custom properties that a shop owner uses to define product variants.")] + public IEnumerable? optionValues { get; set; } + /// ///The price of the variant. /// - [Description("The price of the variant.")] - public decimal? price { get; set; } - + [Description("The price of the variant.")] + public decimal? price { get; set; } + /// ///Whether the variant is taxable. /// - [Description("Whether the variant is taxable.")] - public bool? taxable { get; set; } - + [Description("Whether the variant is taxable.")] + public bool? taxable { get; set; } + /// ///The tax code associated with the variant. /// - [Description("The tax code associated with the variant.")] - public string? taxCode { get; set; } - + [Description("The tax code associated with the variant.")] + public string? taxCode { get; set; } + /// ///The unit price measurement for the product variant. /// - [Description("The unit price measurement for the product variant.")] - public UnitPriceMeasurementInput? unitPriceMeasurement { get; set; } - + [Description("The unit price measurement for the product variant.")] + public UnitPriceMeasurementInput? unitPriceMeasurement { get; set; } + /// ///Whether the unit price should be shown for this product variant. /// - [Description("Whether the unit price should be shown for this product variant.")] - public bool? showUnitPrice { get; set; } - + [Description("Whether the unit price should be shown for this product variant.")] + public bool? showUnitPrice { get; set; } + /// ///Whether a product variant requires components. The default value is `false`. ///If `true`, then the product variant can only be purchased as a parent bundle with components and it will be ///omitted from channels that don't support bundles. /// - [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be\nomitted from channels that don't support bundles.")] - public bool? requiresComponents { get; set; } - } - + [Description("Whether a product variant requires components. The default value is `false`.\nIf `true`, then the product variant can only be purchased as a parent bundle with components and it will be\nomitted from channels that don't support bundles.")] + public bool? requiresComponents { get; set; } + } + /// ///Return type for `productVariantsBulkReorder` mutation. /// - [Description("Return type for `productVariantsBulkReorder` mutation.")] - public class ProductVariantsBulkReorderPayload : GraphQLObject - { + [Description("Return type for `productVariantsBulkReorder` mutation.")] + public class ProductVariantsBulkReorderPayload : GraphQLObject + { /// ///The updated product. /// - [Description("The updated product.")] - public Product? product { get; set; } - + [Description("The updated product.")] + public Product? product { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed bulk product variants reorder operation. /// - [Description("Error codes for failed bulk product variants reorder operation.")] - public class ProductVariantsBulkReorderUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed bulk product variants reorder operation.")] + public class ProductVariantsBulkReorderUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductVariantsBulkReorderUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductVariantsBulkReorderUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductVariantsBulkReorderUserError`. /// - [Description("Possible error codes that can be returned by `ProductVariantsBulkReorderUserError`.")] - public enum ProductVariantsBulkReorderUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductVariantsBulkReorderUserError`.")] + public enum ProductVariantsBulkReorderUserErrorCode + { /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Product variant does not exist. /// - [Description("Product variant does not exist.")] - MISSING_VARIANT, + [Description("Product variant does not exist.")] + MISSING_VARIANT, /// ///Product variant position cannot be zero or negative number. /// - [Description("Product variant position cannot be zero or negative number.")] - INVALID_POSITION, + [Description("Product variant position cannot be zero or negative number.")] + INVALID_POSITION, /// ///Product variant IDs must be unique. /// - [Description("Product variant IDs must be unique.")] - DUPLICATED_VARIANT_ID, + [Description("Product variant IDs must be unique.")] + DUPLICATED_VARIANT_ID, /// ///Something went wrong, please try again. /// - [Description("Something went wrong, please try again.")] - GENERIC_ERROR, - } - - public static class ProductVariantsBulkReorderUserErrorCodeStringValues - { - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string MISSING_VARIANT = @"MISSING_VARIANT"; - public const string INVALID_POSITION = @"INVALID_POSITION"; - public const string DUPLICATED_VARIANT_ID = @"DUPLICATED_VARIANT_ID"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - } - + [Description("Something went wrong, please try again.")] + GENERIC_ERROR, + } + + public static class ProductVariantsBulkReorderUserErrorCodeStringValues + { + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string MISSING_VARIANT = @"MISSING_VARIANT"; + public const string INVALID_POSITION = @"INVALID_POSITION"; + public const string DUPLICATED_VARIANT_ID = @"DUPLICATED_VARIANT_ID"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + } + /// ///Return type for `productVariantsBulkUpdate` mutation. /// - [Description("Return type for `productVariantsBulkUpdate` mutation.")] - public class ProductVariantsBulkUpdatePayload : GraphQLObject - { + [Description("Return type for `productVariantsBulkUpdate` mutation.")] + public class ProductVariantsBulkUpdatePayload : GraphQLObject + { /// ///The updated product object. /// - [Description("The updated product object.")] - public Product? product { get; set; } - + [Description("The updated product object.")] + public Product? product { get; set; } + /// ///The updated variants. /// - [Description("The updated variants.")] - public IEnumerable? productVariants { get; set; } - + [Description("The updated variants.")] + public IEnumerable? productVariants { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed variant bulk update mutations. /// - [Description("Error codes for failed variant bulk update mutations.")] - public class ProductVariantsBulkUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed variant bulk update mutations.")] + public class ProductVariantsBulkUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ProductVariantsBulkUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ProductVariantsBulkUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ProductVariantsBulkUpdateUserError`. /// - [Description("Possible error codes that can be returned by `ProductVariantsBulkUpdateUserError`.")] - public enum ProductVariantsBulkUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `ProductVariantsBulkUpdateUserError`.")] + public enum ProductVariantsBulkUpdateUserErrorCode + { /// ///Input is invalid. /// - [Description("Input is invalid.")] - INVALID_INPUT, + [Description("Input is invalid.")] + INVALID_INPUT, /// ///Mutually exclusive input fields provided. /// - [Description("Mutually exclusive input fields provided.")] - CANNOT_SPECIFY_BOTH, + [Description("Mutually exclusive input fields provided.")] + CANNOT_SPECIFY_BOTH, /// ///Mandatory field input field missing. /// - [Description("Mandatory field input field missing.")] - MUST_SPECIFY_ONE_OF_PAIR, + [Description("Mandatory field input field missing.")] + MUST_SPECIFY_ONE_OF_PAIR, /// ///Option value name is too long. /// - [Description("Option value name is too long.")] - OPTION_VALUE_NAME_TOO_LONG, + [Description("Option value name is too long.")] + OPTION_VALUE_NAME_TOO_LONG, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Product variant is missing ID attribute. /// - [Description("Product variant is missing ID attribute.")] - PRODUCT_VARIANT_ID_MISSING, + [Description("Product variant is missing ID attribute.")] + PRODUCT_VARIANT_ID_MISSING, /// ///Product variant does not exist. /// - [Description("Product variant does not exist.")] - PRODUCT_VARIANT_DOES_NOT_EXIST, + [Description("Product variant does not exist.")] + PRODUCT_VARIANT_DOES_NOT_EXIST, /// ///Option does not exist. /// - [Description("Option does not exist.")] - OPTION_DOES_NOT_EXIST, + [Description("Option does not exist.")] + OPTION_DOES_NOT_EXIST, /// ///Option value does not exist. /// - [Description("Option value does not exist.")] - OPTION_VALUE_DOES_NOT_EXIST, + [Description("Option value does not exist.")] + OPTION_VALUE_DOES_NOT_EXIST, /// ///Input must be for this product. /// - [Description("Input must be for this product.")] - MUST_BE_FOR_THIS_PRODUCT, + [Description("Input must be for this product.")] + MUST_BE_FOR_THIS_PRODUCT, /// ///Input is not defined for this shop. /// - [Description("Input is not defined for this shop.")] - NOT_DEFINED_FOR_SHOP, + [Description("Input is not defined for this shop.")] + NOT_DEFINED_FOR_SHOP, /// ///Product is suspended. /// - [Description("Product is suspended.")] - PRODUCT_SUSPENDED, + [Description("Product is suspended.")] + PRODUCT_SUSPENDED, /// ///Inventory quantities can only be provided during create. To update inventory for existing variants, use inventoryAdjustQuantities. /// - [Description("Inventory quantities can only be provided during create. To update inventory for existing variants, use inventoryAdjustQuantities.")] - NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE, + [Description("Inventory quantities can only be provided during create. To update inventory for existing variants, use inventoryAdjustQuantities.")] + NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE, /// ///The variant already exists. /// - [Description("The variant already exists.")] - VARIANT_ALREADY_EXISTS, + [Description("The variant already exists.")] + VARIANT_ALREADY_EXISTS, /// ///The price of the variant must be greater than or equal to zero. /// - [Description("The price of the variant must be greater than or equal to zero.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("The price of the variant must be greater than or equal to zero.")] + GREATER_THAN_OR_EQUAL_TO, /// ///Variant options are not enough. /// - [Description("Variant options are not enough.")] - NEED_TO_ADD_OPTION_VALUES, + [Description("Variant options are not enough.")] + NEED_TO_ADD_OPTION_VALUES, /// ///Variant options are more than the product options. /// - [Description("Variant options are more than the product options.")] - OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS, + [Description("Variant options are more than the product options.")] + OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS, /// ///You reached the limit of available SKUs in your current plan. /// - [Description("You reached the limit of available SKUs in your current plan.")] - SUBSCRIPTION_VIOLATION, + [Description("You reached the limit of available SKUs in your current plan.")] + SUBSCRIPTION_VIOLATION, /// ///Inventory quantities cannot be provided during update. /// - [Description("Inventory quantities cannot be provided during update.")] - NO_INVENTORY_QUANTITES_DURING_UPDATE, + [Description("Inventory quantities cannot be provided during update.")] + NO_INVENTORY_QUANTITES_DURING_UPDATE, /// ///Price cannot take a negative value. /// - [Description("Price cannot take a negative value.")] - NEGATIVE_PRICE_VALUE, + [Description("Price cannot take a negative value.")] + NEGATIVE_PRICE_VALUE, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///Metafield value is invalid. /// - [Description("Metafield value is invalid.")] - INVALID_VALUE, + [Description("Metafield value is invalid.")] + INVALID_VALUE, /// ///Cannot set name for an option value linked to a metafield. /// - [Description("Cannot set name for an option value linked to a metafield.")] - CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE, + [Description("Cannot set name for an option value linked to a metafield.")] + CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE, /// ///The type is invalid. /// - [Description("The type is invalid.")] - INVALID_TYPE, + [Description("The type is invalid.")] + INVALID_TYPE, /// ///ApiPermission metafields can only be created or updated by the app owner. /// - [Description("ApiPermission metafields can only be created or updated by the app owner.")] - APP_NOT_AUTHORIZED, + [Description("ApiPermission metafields can only be created or updated by the app owner.")] + APP_NOT_AUTHORIZED, /// ///Unstructured reserved namespace. /// - [Description("Unstructured reserved namespace.")] - UNSTRUCTURED_RESERVED_NAMESPACE, + [Description("Unstructured reserved namespace.")] + UNSTRUCTURED_RESERVED_NAMESPACE, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The metafield violates a capability restriction. /// - [Description("The metafield violates a capability restriction.")] - CAPABILITY_VIOLATION, + [Description("The metafield violates a capability restriction.")] + CAPABILITY_VIOLATION, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, + [Description("An internal error occurred.")] + INTERNAL_ERROR, /// ///Operation is not supported for a combined listing parent product. /// - [Description("Operation is not supported for a combined listing parent product.")] - UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, + [Description("Operation is not supported for a combined listing parent product.")] + UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION, /// ///Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations. /// - [Description("Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations.")] - INVENTORY_QUANTITIES_LIMIT_EXCEEDED, - } - - public static class ProductVariantsBulkUpdateUserErrorCodeStringValues - { - public const string INVALID_INPUT = @"INVALID_INPUT"; - public const string CANNOT_SPECIFY_BOTH = @"CANNOT_SPECIFY_BOTH"; - public const string MUST_SPECIFY_ONE_OF_PAIR = @"MUST_SPECIFY_ONE_OF_PAIR"; - public const string OPTION_VALUE_NAME_TOO_LONG = @"OPTION_VALUE_NAME_TOO_LONG"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string PRODUCT_VARIANT_ID_MISSING = @"PRODUCT_VARIANT_ID_MISSING"; - public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; - public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; - public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; - public const string MUST_BE_FOR_THIS_PRODUCT = @"MUST_BE_FOR_THIS_PRODUCT"; - public const string NOT_DEFINED_FOR_SHOP = @"NOT_DEFINED_FOR_SHOP"; - public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; - public const string NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE = @"NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE"; - public const string VARIANT_ALREADY_EXISTS = @"VARIANT_ALREADY_EXISTS"; - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string NEED_TO_ADD_OPTION_VALUES = @"NEED_TO_ADD_OPTION_VALUES"; - public const string OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS = @"OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS"; - public const string SUBSCRIPTION_VIOLATION = @"SUBSCRIPTION_VIOLATION"; - public const string NO_INVENTORY_QUANTITES_DURING_UPDATE = @"NO_INVENTORY_QUANTITES_DURING_UPDATE"; - public const string NEGATIVE_PRICE_VALUE = @"NEGATIVE_PRICE_VALUE"; - public const string BLANK = @"BLANK"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string TOO_LONG = @"TOO_LONG"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE = @"CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; - public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string INCLUSION = @"INCLUSION"; - public const string TAKEN = @"TAKEN"; - public const string PRESENT = @"PRESENT"; - public const string INVALID = @"INVALID"; - public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; - public const string INVENTORY_QUANTITIES_LIMIT_EXCEEDED = @"INVENTORY_QUANTITIES_LIMIT_EXCEEDED"; - } - + [Description("Inventory quantity input exceeds the limit of 50000. Consider using separate `inventorySetQuantities` mutations.")] + INVENTORY_QUANTITIES_LIMIT_EXCEEDED, + } + + public static class ProductVariantsBulkUpdateUserErrorCodeStringValues + { + public const string INVALID_INPUT = @"INVALID_INPUT"; + public const string CANNOT_SPECIFY_BOTH = @"CANNOT_SPECIFY_BOTH"; + public const string MUST_SPECIFY_ONE_OF_PAIR = @"MUST_SPECIFY_ONE_OF_PAIR"; + public const string OPTION_VALUE_NAME_TOO_LONG = @"OPTION_VALUE_NAME_TOO_LONG"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string PRODUCT_VARIANT_ID_MISSING = @"PRODUCT_VARIANT_ID_MISSING"; + public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; + public const string OPTION_DOES_NOT_EXIST = @"OPTION_DOES_NOT_EXIST"; + public const string OPTION_VALUE_DOES_NOT_EXIST = @"OPTION_VALUE_DOES_NOT_EXIST"; + public const string MUST_BE_FOR_THIS_PRODUCT = @"MUST_BE_FOR_THIS_PRODUCT"; + public const string NOT_DEFINED_FOR_SHOP = @"NOT_DEFINED_FOR_SHOP"; + public const string PRODUCT_SUSPENDED = @"PRODUCT_SUSPENDED"; + public const string NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE = @"NO_INVENTORY_QUANTITIES_ON_VARIANTS_UPDATE"; + public const string VARIANT_ALREADY_EXISTS = @"VARIANT_ALREADY_EXISTS"; + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string NEED_TO_ADD_OPTION_VALUES = @"NEED_TO_ADD_OPTION_VALUES"; + public const string OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS = @"OPTION_VALUES_FOR_NUMBER_OF_UNKNOWN_OPTIONS"; + public const string SUBSCRIPTION_VIOLATION = @"SUBSCRIPTION_VIOLATION"; + public const string NO_INVENTORY_QUANTITES_DURING_UPDATE = @"NO_INVENTORY_QUANTITES_DURING_UPDATE"; + public const string NEGATIVE_PRICE_VALUE = @"NEGATIVE_PRICE_VALUE"; + public const string BLANK = @"BLANK"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string TOO_LONG = @"TOO_LONG"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE = @"CANNOT_SET_NAME_FOR_LINKED_OPTION_VALUE"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; + public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string INCLUSION = @"INCLUSION"; + public const string TAKEN = @"TAKEN"; + public const string PRESENT = @"PRESENT"; + public const string INVALID = @"INVALID"; + public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION = @"UNSUPPORTED_COMBINED_LISTING_PARENT_OPERATION"; + public const string INVENTORY_QUANTITIES_LIMIT_EXCEEDED = @"INVENTORY_QUANTITIES_LIMIT_EXCEEDED"; + } + /// ///An error that occurs during the execution of `PromiseSkuSettingUpsert`. /// - [Description("An error that occurs during the execution of `PromiseSkuSettingUpsert`.")] - public class PromiseSkuSettingUpsertUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PromiseSkuSettingUpsert`.")] + public class PromiseSkuSettingUpsertUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PromiseSkuSettingUpsertUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PromiseSkuSettingUpsertUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PromiseSkuSettingUpsertUserError`. /// - [Description("Possible error codes that can be returned by `PromiseSkuSettingUpsertUserError`.")] - public enum PromiseSkuSettingUpsertUserErrorCode - { + [Description("Possible error codes that can be returned by `PromiseSkuSettingUpsertUserError`.")] + public enum PromiseSkuSettingUpsertUserErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, - } - - public static class PromiseSkuSettingUpsertUserErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string TOO_LONG = @"TOO_LONG"; - } - + [Description("The input value is too long.")] + TOO_LONG, + } + + public static class PromiseSkuSettingUpsertUserErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string TOO_LONG = @"TOO_LONG"; + } + /// ///Return type for `pubSubServerPixelUpdate` mutation. /// - [Description("Return type for `pubSubServerPixelUpdate` mutation.")] - public class PubSubServerPixelUpdatePayload : GraphQLObject - { + [Description("Return type for `pubSubServerPixelUpdate` mutation.")] + public class PubSubServerPixelUpdatePayload : GraphQLObject + { /// ///The server pixel as configured by the mutation. /// - [Description("The server pixel as configured by the mutation.")] - public ServerPixel? serverPixel { get; set; } - + [Description("The server pixel as configured by the mutation.")] + public ServerPixel? serverPixel { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `pubSubWebhookSubscriptionCreate` mutation. /// - [Description("Return type for `pubSubWebhookSubscriptionCreate` mutation.")] - public class PubSubWebhookSubscriptionCreatePayload : GraphQLObject - { + [Description("Return type for `pubSubWebhookSubscriptionCreate` mutation.")] + public class PubSubWebhookSubscriptionCreatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + /// ///The webhook subscription that was created. /// - [Description("The webhook subscription that was created.")] - public WebhookSubscription? webhookSubscription { get; set; } - } - + [Description("The webhook subscription that was created.")] + public WebhookSubscription? webhookSubscription { get; set; } + } + /// ///An error that occurs during the execution of `PubSubWebhookSubscriptionCreate`. /// - [Description("An error that occurs during the execution of `PubSubWebhookSubscriptionCreate`.")] - public class PubSubWebhookSubscriptionCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PubSubWebhookSubscriptionCreate`.")] + public class PubSubWebhookSubscriptionCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PubSubWebhookSubscriptionCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PubSubWebhookSubscriptionCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PubSubWebhookSubscriptionCreateUserError`. /// - [Description("Possible error codes that can be returned by `PubSubWebhookSubscriptionCreateUserError`.")] - public enum PubSubWebhookSubscriptionCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `PubSubWebhookSubscriptionCreateUserError`.")] + public enum PubSubWebhookSubscriptionCreateUserErrorCode + { /// ///Invalid parameters provided. /// - [Description("Invalid parameters provided.")] - INVALID_PARAMETERS, + [Description("Invalid parameters provided.")] + INVALID_PARAMETERS, /// ///Address for this topic has already been taken. /// - [Description("Address for this topic has already been taken.")] - TAKEN, - } - - public static class PubSubWebhookSubscriptionCreateUserErrorCodeStringValues - { - public const string INVALID_PARAMETERS = @"INVALID_PARAMETERS"; - public const string TAKEN = @"TAKEN"; - } - + [Description("Address for this topic has already been taken.")] + TAKEN, + } + + public static class PubSubWebhookSubscriptionCreateUserErrorCodeStringValues + { + public const string INVALID_PARAMETERS = @"INVALID_PARAMETERS"; + public const string TAKEN = @"TAKEN"; + } + /// ///The input fields for a PubSub webhook subscription. /// - [Description("The input fields for a PubSub webhook subscription.")] - public class PubSubWebhookSubscriptionInput : GraphQLObject - { + [Description("The input fields for a PubSub webhook subscription.")] + public class PubSubWebhookSubscriptionInput : GraphQLObject + { /// ///The format in which the webhook subscription should send the data. /// - [Description("The format in which the webhook subscription should send the data.")] - [EnumType(typeof(WebhookSubscriptionFormat))] - public string? format { get; set; } - + [Description("The format in which the webhook subscription should send the data.")] + [EnumType(typeof(WebhookSubscriptionFormat))] + public string? format { get; set; } + /// ///The list of fields to be included in the webhook subscription. Only the fields specified will be included in the webhook payload. If null, then all fields will be included. Learn more about [modifying webhook payloads](https://shopify.dev/docs/apps/build/webhooks/customize/modify_payloads). /// - [Description("The list of fields to be included in the webhook subscription. Only the fields specified will be included in the webhook payload. If null, then all fields will be included. Learn more about [modifying webhook payloads](https://shopify.dev/docs/apps/build/webhooks/customize/modify_payloads).")] - public IEnumerable? includeFields { get; set; } - + [Description("The list of fields to be included in the webhook subscription. Only the fields specified will be included in the webhook payload. If null, then all fields will be included. Learn more about [modifying webhook payloads](https://shopify.dev/docs/apps/build/webhooks/customize/modify_payloads).")] + public IEnumerable? includeFields { get; set; } + /// ///A constraint specified using search syntax that ensures only webhooks that match the specified filter are emitted. See our [guide on filters](https://shopify.dev/docs/apps/build/webhooks/customize/filters) for more details. /// - [Description("A constraint specified using search syntax that ensures only webhooks that match the specified filter are emitted. See our [guide on filters](https://shopify.dev/docs/apps/build/webhooks/customize/filters) for more details.")] - public string? filter { get; set; } - + [Description("A constraint specified using search syntax that ensures only webhooks that match the specified filter are emitted. See our [guide on filters](https://shopify.dev/docs/apps/build/webhooks/customize/filters) for more details.")] + public string? filter { get; set; } + /// ///The list of namespaces for any metafields that should be included in the webhook subscription. /// - [Description("The list of namespaces for any metafields that should be included in the webhook subscription.")] - public IEnumerable? metafieldNamespaces { get; set; } - + [Description("The list of namespaces for any metafields that should be included in the webhook subscription.")] + public IEnumerable? metafieldNamespaces { get; set; } + /// ///A list of identifiers specifying metafields to include in the webhook payload. /// - [Description("A list of identifiers specifying metafields to include in the webhook payload.")] - public IEnumerable? metafields { get; set; } - + [Description("A list of identifiers specifying metafields to include in the webhook payload.")] + public IEnumerable? metafields { get; set; } + /// ///The Pub/Sub project ID. /// - [Description("The Pub/Sub project ID.")] - [NonNull] - public string? pubSubProject { get; set; } - + [Description("The Pub/Sub project ID.")] + [NonNull] + public string? pubSubProject { get; set; } + /// ///The Pub/Sub topic ID. /// - [Description("The Pub/Sub topic ID.")] - [NonNull] - public string? pubSubTopic { get; set; } - } - + [Description("The Pub/Sub topic ID.")] + [NonNull] + public string? pubSubTopic { get; set; } + } + /// ///Return type for `pubSubWebhookSubscriptionUpdate` mutation. /// - [Description("Return type for `pubSubWebhookSubscriptionUpdate` mutation.")] - public class PubSubWebhookSubscriptionUpdatePayload : GraphQLObject - { + [Description("Return type for `pubSubWebhookSubscriptionUpdate` mutation.")] + public class PubSubWebhookSubscriptionUpdatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + /// ///The webhook subscription that was updated. /// - [Description("The webhook subscription that was updated.")] - public WebhookSubscription? webhookSubscription { get; set; } - } - + [Description("The webhook subscription that was updated.")] + public WebhookSubscription? webhookSubscription { get; set; } + } + /// ///An error that occurs during the execution of `PubSubWebhookSubscriptionUpdate`. /// - [Description("An error that occurs during the execution of `PubSubWebhookSubscriptionUpdate`.")] - public class PubSubWebhookSubscriptionUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `PubSubWebhookSubscriptionUpdate`.")] + public class PubSubWebhookSubscriptionUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PubSubWebhookSubscriptionUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PubSubWebhookSubscriptionUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PubSubWebhookSubscriptionUpdateUserError`. /// - [Description("Possible error codes that can be returned by `PubSubWebhookSubscriptionUpdateUserError`.")] - public enum PubSubWebhookSubscriptionUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `PubSubWebhookSubscriptionUpdateUserError`.")] + public enum PubSubWebhookSubscriptionUpdateUserErrorCode + { /// ///Invalid parameters provided. /// - [Description("Invalid parameters provided.")] - INVALID_PARAMETERS, + [Description("Invalid parameters provided.")] + INVALID_PARAMETERS, /// ///Address for this topic has already been taken. /// - [Description("Address for this topic has already been taken.")] - TAKEN, - } - - public static class PubSubWebhookSubscriptionUpdateUserErrorCodeStringValues - { - public const string INVALID_PARAMETERS = @"INVALID_PARAMETERS"; - public const string TAKEN = @"TAKEN"; - } - + [Description("Address for this topic has already been taken.")] + TAKEN, + } + + public static class PubSubWebhookSubscriptionUpdateUserErrorCodeStringValues + { + public const string INVALID_PARAMETERS = @"INVALID_PARAMETERS"; + public const string TAKEN = @"TAKEN"; + } + /// ///A publication is a group of products and collections that is published to an app. /// - [Description("A publication is a group of products and collections that is published to an app.")] - public class Publication : GraphQLObject, INode - { + [Description("A publication is a group of products and collections that is published to an app.")] + public class Publication : GraphQLObject, INode + { /// ///The app associated with the publication. /// - [Description("The app associated with the publication.")] - [Obsolete("Use [AppCatalog.apps](https://shopify.dev/api/admin-graphql/unstable/objects/AppCatalog#connection-appcatalog-apps) instead.")] - [NonNull] - public App? app { get; set; } - + [Description("The app associated with the publication.")] + [Obsolete("Use [AppCatalog.apps](https://shopify.dev/api/admin-graphql/unstable/objects/AppCatalog#connection-appcatalog-apps) instead.")] + [NonNull] + public App? app { get; set; } + /// ///Whether new products are automatically published to this publication. /// - [Description("Whether new products are automatically published to this publication.")] - [NonNull] - public bool? autoPublish { get; set; } - + [Description("Whether new products are automatically published to this publication.")] + [NonNull] + public bool? autoPublish { get; set; } + /// ///The catalog associated with the publication. /// - [Description("The catalog associated with the publication.")] - public ICatalog? catalog { get; set; } - + [Description("The catalog associated with the publication.")] + public ICatalog? catalog { get; set; } + /// ///The list of collection publication records, each representing the publication status and details for a collection published to this publication (typically channel). /// - [Description("The list of collection publication records, each representing the publication status and details for a collection published to this publication (typically channel).")] - [NonNull] - public ResourcePublicationConnection? collectionPublicationsV3 { get; set; } - + [Description("The list of collection publication records, each representing the publication status and details for a collection published to this publication (typically channel).")] + [NonNull] + public ResourcePublicationConnection? collectionPublicationsV3 { get; set; } + /// ///The list of collections published to the publication. /// - [Description("The list of collections published to the publication.")] - [NonNull] - public CollectionConnection? collections { get; set; } - + [Description("The list of collections published to the publication.")] + [NonNull] + public CollectionConnection? collections { get; set; } + /// ///Whether the collection is available to the publication. /// - [Description("Whether the collection is available to the publication.")] - [NonNull] - public bool? hasCollection { get; set; } - + [Description("Whether the collection is available to the publication.")] + [NonNull] + public bool? hasCollection { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The list of products included, but not necessarily published, in the publication. /// - [Description("The list of products included, but not necessarily published, in the publication.")] - [NonNull] - public ProductConnection? includedProducts { get; set; } - + [Description("The list of products included, but not necessarily published, in the publication.")] + [NonNull] + public ProductConnection? includedProducts { get; set; } + /// ///The count of products included in the publication. Limited to a maximum of 10000 by default. /// - [Description("The count of products included in the publication. Limited to a maximum of 10000 by default.")] - public Count? includedProductsCount { get; set; } - + [Description("The count of products included in the publication. Limited to a maximum of 10000 by default.")] + public Count? includedProductsCount { get; set; } + /// ///Name of the publication. /// - [Description("Name of the publication.")] - [Obsolete("Use [Catalog.title](https://shopify.dev/api/admin-graphql/unstable/interfaces/Catalog#field-catalog-title) instead.")] - [NonNull] - public string? name { get; set; } - + [Description("Name of the publication.")] + [Obsolete("Use [Catalog.title](https://shopify.dev/api/admin-graphql/unstable/interfaces/Catalog#field-catalog-title) instead.")] + [NonNull] + public string? name { get; set; } + /// ///A background operation associated with this publication. /// - [Description("A background operation associated with this publication.")] - public IPublicationOperation? operation { get; set; } - + [Description("A background operation associated with this publication.")] + public IPublicationOperation? operation { get; set; } + /// ///The product publications for the list of products published to the publication. /// - [Description("The product publications for the list of products published to the publication.")] - [NonNull] - public ResourcePublicationConnection? productPublicationsV3 { get; set; } - + [Description("The product publications for the list of products published to the publication.")] + [NonNull] + public ResourcePublicationConnection? productPublicationsV3 { get; set; } + /// ///The list of products published to the publication. /// - [Description("The list of products published to the publication.")] - [NonNull] - public ProductConnection? products { get; set; } - + [Description("The list of products published to the publication.")] + [NonNull] + public ProductConnection? products { get; set; } + /// ///Whether the publication supports future publishing. /// - [Description("Whether the publication supports future publishing.")] - [NonNull] - public bool? supportsFuturePublishing { get; set; } - } - + [Description("Whether the publication supports future publishing.")] + [NonNull] + public bool? supportsFuturePublishing { get; set; } + } + /// ///An auto-generated type for paginating through multiple Publications. /// - [Description("An auto-generated type for paginating through multiple Publications.")] - public class PublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Publications.")] + public class PublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in PublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in PublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in PublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for creating a publication. /// - [Description("The input fields for creating a publication.")] - public class PublicationCreateInput : GraphQLObject - { + [Description("The input fields for creating a publication.")] + public class PublicationCreateInput : GraphQLObject + { /// ///The ID of the catalog. /// - [Description("The ID of the catalog.")] - public string? catalogId { get; set; } - + [Description("The ID of the catalog.")] + public string? catalogId { get; set; } + /// ///Whether to create an empty publication or prepopulate it with all products. /// - [Description("Whether to create an empty publication or prepopulate it with all products.")] - [EnumType(typeof(PublicationCreateInputPublicationDefaultState))] - public string? defaultState { get; set; } - + [Description("Whether to create an empty publication or prepopulate it with all products.")] + [EnumType(typeof(PublicationCreateInputPublicationDefaultState))] + public string? defaultState { get; set; } + /// ///Whether to automatically add newly created products to this publication. /// - [Description("Whether to automatically add newly created products to this publication.")] - public bool? autoPublish { get; set; } - } - + [Description("Whether to automatically add newly created products to this publication.")] + public bool? autoPublish { get; set; } + } + /// ///The input fields for the possible values for the default state of a publication. /// - [Description("The input fields for the possible values for the default state of a publication.")] - public enum PublicationCreateInputPublicationDefaultState - { + [Description("The input fields for the possible values for the default state of a publication.")] + public enum PublicationCreateInputPublicationDefaultState + { /// ///The publication is empty. /// - [Description("The publication is empty.")] - EMPTY, + [Description("The publication is empty.")] + EMPTY, /// ///The publication is populated with all products. /// - [Description("The publication is populated with all products.")] - ALL_PRODUCTS, - } - - public static class PublicationCreateInputPublicationDefaultStateStringValues - { - public const string EMPTY = @"EMPTY"; - public const string ALL_PRODUCTS = @"ALL_PRODUCTS"; - } - + [Description("The publication is populated with all products.")] + ALL_PRODUCTS, + } + + public static class PublicationCreateInputPublicationDefaultStateStringValues + { + public const string EMPTY = @"EMPTY"; + public const string ALL_PRODUCTS = @"ALL_PRODUCTS"; + } + /// ///Return type for `publicationCreate` mutation. /// - [Description("Return type for `publicationCreate` mutation.")] - public class PublicationCreatePayload : GraphQLObject - { + [Description("Return type for `publicationCreate` mutation.")] + public class PublicationCreatePayload : GraphQLObject + { /// ///The publication that's been created. /// - [Description("The publication that's been created.")] - public Publication? publication { get; set; } - + [Description("The publication that's been created.")] + public Publication? publication { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `publicationDelete` mutation. /// - [Description("Return type for `publicationDelete` mutation.")] - public class PublicationDeletePayload : GraphQLObject - { + [Description("Return type for `publicationDelete` mutation.")] + public class PublicationDeletePayload : GraphQLObject + { /// ///The ID of the publication that was deleted. /// - [Description("The ID of the publication that was deleted.")] - public string? deletedId { get; set; } - + [Description("The ID of the publication that was deleted.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Publication and a cursor during pagination. /// - [Description("An auto-generated type which holds one Publication and a cursor during pagination.")] - public class PublicationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Publication and a cursor during pagination.")] + public class PublicationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of PublicationEdge. /// - [Description("The item at the end of PublicationEdge.")] - [NonNull] - public Publication? node { get; set; } - } - + [Description("The item at the end of PublicationEdge.")] + [NonNull] + public Publication? node { get; set; } + } + /// ///The input fields required to publish a resource. /// - [Description("The input fields required to publish a resource.")] - public class PublicationInput : GraphQLObject - { + [Description("The input fields required to publish a resource.")] + public class PublicationInput : GraphQLObject + { /// ///ID of the channel. /// - [Description("ID of the channel.")] - [Obsolete("Use publicationId instead.")] - public string? channelId { get; set; } - + [Description("ID of the channel.")] + [Obsolete("Use publicationId instead.")] + public string? channelId { get; set; } + /// ///ID of the publication. /// - [Description("ID of the publication.")] - public string? publicationId { get; set; } - + [Description("ID of the publication.")] + public string? publicationId { get; set; } + /// ///The date and time that the resource was published. Setting this to a date in the future will schedule the resource to be published. Only online store channels support future publishing. This field has no effect if you include it in the `publishableUnpublish` mutation. /// - [Description("The date and time that the resource was published. Setting this to a date in the future will schedule the resource to be published. Only online store channels support future publishing. This field has no effect if you include it in the `publishableUnpublish` mutation.")] - public DateTime? publishDate { get; set; } - } - + [Description("The date and time that the resource was published. Setting this to a date in the future will schedule the resource to be published. Only online store channels support future publishing. This field has no effect if you include it in the `publishableUnpublish` mutation.")] + public DateTime? publishDate { get; set; } + } + /// ///The possible types of publication operations. /// - [Description("The possible types of publication operations.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AddAllProductsOperation), typeDiscriminator: "AddAllProductsOperation")] - [JsonDerivedType(typeof(CatalogCsvOperation), typeDiscriminator: "CatalogCsvOperation")] - [JsonDerivedType(typeof(PublicationResourceOperation), typeDiscriminator: "PublicationResourceOperation")] - public interface IPublicationOperation : IGraphQLObject - { - public AddAllProductsOperation? AsAddAllProductsOperation() => this as AddAllProductsOperation; - public CatalogCsvOperation? AsCatalogCsvOperation() => this as CatalogCsvOperation; - public PublicationResourceOperation? AsPublicationResourceOperation() => this as PublicationResourceOperation; + [Description("The possible types of publication operations.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AddAllProductsOperation), typeDiscriminator: "AddAllProductsOperation")] + [JsonDerivedType(typeof(CatalogCsvOperation), typeDiscriminator: "CatalogCsvOperation")] + [JsonDerivedType(typeof(PublicationResourceOperation), typeDiscriminator: "PublicationResourceOperation")] + public interface IPublicationOperation : IGraphQLObject + { + public AddAllProductsOperation? AsAddAllProductsOperation() => this as AddAllProductsOperation; + public CatalogCsvOperation? AsCatalogCsvOperation() => this as CatalogCsvOperation; + public PublicationResourceOperation? AsPublicationResourceOperation() => this as PublicationResourceOperation; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The count of processed rows, summing imported, failed, and skipped rows. /// - [Description("The count of processed rows, summing imported, failed, and skipped rows.")] - public int? processedRowCount { get; set; } - + [Description("The count of processed rows, summing imported, failed, and skipped rows.")] + public int? processedRowCount { get; set; } + /// ///Represents a rows objects within this background operation. /// - [Description("Represents a rows objects within this background operation.")] - public RowCount? rowCount { get; set; } - + [Description("Represents a rows objects within this background operation.")] + public RowCount? rowCount { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ResourceOperationStatus))] - public string? status { get; set; } - } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ResourceOperationStatus))] + public string? status { get; set; } + } + /// ///A bulk update operation on a publication. /// - [Description("A bulk update operation on a publication.")] - public class PublicationResourceOperation : GraphQLObject, INode, IResourceOperation, IPublicationOperation - { + [Description("A bulk update operation on a publication.")] + public class PublicationResourceOperation : GraphQLObject, INode, IResourceOperation, IPublicationOperation + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The count of processed rows, summing imported, failed, and skipped rows. /// - [Description("The count of processed rows, summing imported, failed, and skipped rows.")] - public int? processedRowCount { get; set; } - + [Description("The count of processed rows, summing imported, failed, and skipped rows.")] + public int? processedRowCount { get; set; } + /// ///Represents a rows objects within this background operation. /// - [Description("Represents a rows objects within this background operation.")] - public RowCount? rowCount { get; set; } - + [Description("Represents a rows objects within this background operation.")] + public RowCount? rowCount { get; set; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ResourceOperationStatus))] - public string? status { get; set; } - } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ResourceOperationStatus))] + public string? status { get; set; } + } + /// ///The input fields for updating a publication. /// - [Description("The input fields for updating a publication.")] - public class PublicationUpdateInput : GraphQLObject - { + [Description("The input fields for updating a publication.")] + public class PublicationUpdateInput : GraphQLObject + { /// ///A list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50. /// - [Description("A list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50.")] - public IEnumerable? publishablesToAdd { get; set; } - + [Description("A list of publishable IDs to add. The maximum number of publishables to update simultaneously is 50.")] + public IEnumerable? publishablesToAdd { get; set; } + /// ///A list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50. /// - [Description("A list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50.")] - public IEnumerable? publishablesToRemove { get; set; } - + [Description("A list of publishable IDs to remove. The maximum number of publishables to update simultaneously is 50.")] + public IEnumerable? publishablesToRemove { get; set; } + /// ///Whether new products should be automatically published to the publication. /// - [Description("Whether new products should be automatically published to the publication.")] - public bool? autoPublish { get; set; } - } - + [Description("Whether new products should be automatically published to the publication.")] + public bool? autoPublish { get; set; } + } + /// ///Return type for `publicationUpdate` mutation. /// - [Description("Return type for `publicationUpdate` mutation.")] - public class PublicationUpdatePayload : GraphQLObject - { + [Description("Return type for `publicationUpdate` mutation.")] + public class PublicationUpdatePayload : GraphQLObject + { /// ///The publication that's been updated. /// - [Description("The publication that's been updated.")] - public Publication? publication { get; set; } - + [Description("The publication that's been updated.")] + public Publication? publication { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Defines errors encountered while managing a publication. /// - [Description("Defines errors encountered while managing a publication.")] - public class PublicationUserError : GraphQLObject, IDisplayableError - { + [Description("Defines errors encountered while managing a publication.")] + public class PublicationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(PublicationUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(PublicationUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `PublicationUserError`. /// - [Description("Possible error codes that can be returned by `PublicationUserError`.")] - public enum PublicationUserErrorCode - { + [Description("Possible error codes that can be returned by `PublicationUserError`.")] + public enum PublicationUserErrorCode + { /// ///Can't perform this action on a publication. /// - [Description("Can't perform this action on a publication.")] - UNSUPPORTED_PUBLICATION_ACTION, + [Description("Can't perform this action on a publication.")] + UNSUPPORTED_PUBLICATION_ACTION, /// ///Publication not found. /// - [Description("Publication not found.")] - PUBLICATION_NOT_FOUND, + [Description("Publication not found.")] + PUBLICATION_NOT_FOUND, /// ///The publication is currently being modified. Please try again later. /// - [Description("The publication is currently being modified. Please try again later.")] - PUBLICATION_LOCKED, + [Description("The publication is currently being modified. Please try again later.")] + PUBLICATION_LOCKED, /// ///A catalog publication can only contain products. /// - [Description("A catalog publication can only contain products.")] - UNSUPPORTED_PUBLISHABLE_TYPE, + [Description("A catalog publication can only contain products.")] + UNSUPPORTED_PUBLISHABLE_TYPE, /// ///Publishable ID not found. /// - [Description("Publishable ID not found.")] - INVALID_PUBLISHABLE_ID, + [Description("Publishable ID not found.")] + INVALID_PUBLISHABLE_ID, /// ///Market does not exist. /// - [Description("Market does not exist.")] - MARKET_NOT_FOUND, + [Description("Market does not exist.")] + MARKET_NOT_FOUND, /// ///Catalog does not exist. /// - [Description("Catalog does not exist.")] - CATALOG_NOT_FOUND, + [Description("Catalog does not exist.")] + CATALOG_NOT_FOUND, /// ///Can't modify a publication that belongs to an app catalog. /// - [Description("Can't modify a publication that belongs to an app catalog.")] - CANNOT_MODIFY_APP_CATALOG_PUBLICATION, + [Description("Can't modify a publication that belongs to an app catalog.")] + CANNOT_MODIFY_APP_CATALOG_PUBLICATION, /// ///Can't modify a publication that belongs to a market catalog. /// - [Description("Can't modify a publication that belongs to a market catalog.")] - CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION, + [Description("Can't modify a publication that belongs to a market catalog.")] + CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION, /// ///Cannot modify a catalog for an app. /// - [Description("Cannot modify a catalog for an app.")] - CANNOT_MODIFY_APP_CATALOG, + [Description("Cannot modify a catalog for an app.")] + CANNOT_MODIFY_APP_CATALOG, /// ///Cannot modify a catalog for a market. /// - [Description("Cannot modify a catalog for a market.")] - CANNOT_MODIFY_MARKET_CATALOG, + [Description("Cannot modify a catalog for a market.")] + CANNOT_MODIFY_MARKET_CATALOG, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///A product publication cannot be created because the catalog type associated with this publication does not permit publications of this product type. /// - [Description("A product publication cannot be created because the catalog type associated with this publication does not permit publications of this product type.")] - PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE, + [Description("A product publication cannot be created because the catalog type associated with this publication does not permit publications of this product type.")] + PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE, /// ///The limit for simultaneous publication updates has been exceeded. /// - [Description("The limit for simultaneous publication updates has been exceeded.")] - PUBLICATION_UPDATE_LIMIT_EXCEEDED, - } - - public static class PublicationUserErrorCodeStringValues - { - public const string UNSUPPORTED_PUBLICATION_ACTION = @"UNSUPPORTED_PUBLICATION_ACTION"; - public const string PUBLICATION_NOT_FOUND = @"PUBLICATION_NOT_FOUND"; - public const string PUBLICATION_LOCKED = @"PUBLICATION_LOCKED"; - public const string UNSUPPORTED_PUBLISHABLE_TYPE = @"UNSUPPORTED_PUBLISHABLE_TYPE"; - public const string INVALID_PUBLISHABLE_ID = @"INVALID_PUBLISHABLE_ID"; - public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; - public const string CATALOG_NOT_FOUND = @"CATALOG_NOT_FOUND"; - public const string CANNOT_MODIFY_APP_CATALOG_PUBLICATION = @"CANNOT_MODIFY_APP_CATALOG_PUBLICATION"; - public const string CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION = @"CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION"; - public const string CANNOT_MODIFY_APP_CATALOG = @"CANNOT_MODIFY_APP_CATALOG"; - public const string CANNOT_MODIFY_MARKET_CATALOG = @"CANNOT_MODIFY_MARKET_CATALOG"; - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string BLANK = @"BLANK"; - public const string PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE = @"PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE"; - public const string PUBLICATION_UPDATE_LIMIT_EXCEEDED = @"PUBLICATION_UPDATE_LIMIT_EXCEEDED"; - } - + [Description("The limit for simultaneous publication updates has been exceeded.")] + PUBLICATION_UPDATE_LIMIT_EXCEEDED, + } + + public static class PublicationUserErrorCodeStringValues + { + public const string UNSUPPORTED_PUBLICATION_ACTION = @"UNSUPPORTED_PUBLICATION_ACTION"; + public const string PUBLICATION_NOT_FOUND = @"PUBLICATION_NOT_FOUND"; + public const string PUBLICATION_LOCKED = @"PUBLICATION_LOCKED"; + public const string UNSUPPORTED_PUBLISHABLE_TYPE = @"UNSUPPORTED_PUBLISHABLE_TYPE"; + public const string INVALID_PUBLISHABLE_ID = @"INVALID_PUBLISHABLE_ID"; + public const string MARKET_NOT_FOUND = @"MARKET_NOT_FOUND"; + public const string CATALOG_NOT_FOUND = @"CATALOG_NOT_FOUND"; + public const string CANNOT_MODIFY_APP_CATALOG_PUBLICATION = @"CANNOT_MODIFY_APP_CATALOG_PUBLICATION"; + public const string CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION = @"CANNOT_MODIFY_MARKET_CATALOG_PUBLICATION"; + public const string CANNOT_MODIFY_APP_CATALOG = @"CANNOT_MODIFY_APP_CATALOG"; + public const string CANNOT_MODIFY_MARKET_CATALOG = @"CANNOT_MODIFY_MARKET_CATALOG"; + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string BLANK = @"BLANK"; + public const string PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE = @"PRODUCT_TYPE_INCOMPATIBLE_WITH_CATALOG_TYPE"; + public const string PUBLICATION_UPDATE_LIMIT_EXCEEDED = @"PUBLICATION_UPDATE_LIMIT_EXCEEDED"; + } + /// ///Represents a resource that can be published to a channel. ///A publishable resource can be either a Product or Collection. /// - [Description("Represents a resource that can be published to a channel.\nA publishable resource can be either a Product or Collection.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] - [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] - public interface IPublishable : IGraphQLObject - { - public Collection? AsCollection() => this as Collection; - public Product? AsProduct() => this as Product; + [Description("Represents a resource that can be published to a channel.\nA publishable resource can be either a Product or Collection.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Collection), typeDiscriminator: "Collection")] + [JsonDerivedType(typeof(Product), typeDiscriminator: "Product")] + public interface IPublishable : IGraphQLObject + { + public Collection? AsCollection() => this as Collection; + public Product? AsProduct() => this as Product; /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - public Count? availablePublicationsCount { get; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + public Count? availablePublicationsCount { get; } + /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - [Obsolete("Use `resourcePublicationsCount` instead.")] - [NonNull] - public int? publicationCount { get; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + [Obsolete("Use `resourcePublicationsCount` instead.")] + [NonNull] + public int? publicationCount { get; } + /// ///Whether the resource is published to a specific channel. /// - [Description("Whether the resource is published to a specific channel.")] - [Obsolete("Use `publishedOnPublication` instead.")] - [NonNull] - public bool? publishedOnChannel { get; } - + [Description("Whether the resource is published to a specific channel.")] + [Obsolete("Use `publishedOnPublication` instead.")] + [NonNull] + public bool? publishedOnChannel { get; } + /// ///Whether the resource is published to a ///[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel). ///For example, the resource might be published to the online store channel. /// - [Description("Whether the resource is published to a\n[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).\nFor example, the resource might be published to the online store channel.")] - [Obsolete("Use `publishedOnCurrentPublication` instead.")] - [NonNull] - public bool? publishedOnCurrentChannel { get; } - + [Description("Whether the resource is published to a\n[channel](https://shopify.dev/docs/api/admin-graphql/latest/objects/Channel).\nFor example, the resource might be published to the online store channel.")] + [Obsolete("Use `publishedOnCurrentPublication` instead.")] + [NonNull] + public bool? publishedOnCurrentChannel { get; } + /// ///Whether the resource is published to the app's ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). ///For example, the resource might be published to the app's online store channel. /// - [Description("Whether the resource is published to the app's\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).\nFor example, the resource might be published to the app's online store channel.")] - [NonNull] - public bool? publishedOnCurrentPublication { get; } - + [Description("Whether the resource is published to the app's\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).\nFor example, the resource might be published to the app's online store channel.")] + [NonNull] + public bool? publishedOnCurrentPublication { get; } + /// ///Whether the resource is published to a specified ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("Whether the resource is published to a specified\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public bool? publishedOnPublication { get; } - + [Description("Whether the resource is published to a specified\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public bool? publishedOnPublication { get; } + /// ///The list of resources that are published to a ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("The list of resources that are published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public ResourcePublicationConnection? resourcePublications { get; } - + [Description("The list of resources that are published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public ResourcePublicationConnection? resourcePublications { get; } + /// ///The number of ///[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that a resource is published to, without ///[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback). /// - [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] - public Count? resourcePublicationsCount { get; } - + [Description("The number of\n[publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat a resource is published to, without\n[feedback errors](https://shopify.dev/docs/api/admin-graphql/latest/objects/ResourceFeedback).")] + public Count? resourcePublicationsCount { get; } + /// ///The list of resources that are either published or staged to be published to a ///[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication). /// - [Description("The list of resources that are either published or staged to be published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] - [NonNull] - public ResourcePublicationV2Connection? resourcePublicationsV2 { get; } - + [Description("The list of resources that are either published or staged to be published to a\n[publication](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication).")] + [NonNull] + public ResourcePublicationV2Connection? resourcePublicationsV2 { get; } + /// ///The list of channels that the resource is not published to. /// - [Description("The list of channels that the resource is not published to.")] - [Obsolete("Use `unpublishedPublications` instead.")] - [NonNull] - public ChannelConnection? unpublishedChannels { get; } - + [Description("The list of channels that the resource is not published to.")] + [Obsolete("Use `unpublishedPublications` instead.")] + [NonNull] + public ChannelConnection? unpublishedChannels { get; } + /// ///The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication) ///that the resource isn't published to. /// - [Description("The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat the resource isn't published to.")] - [NonNull] - public PublicationConnection? unpublishedPublications { get; } - } - + [Description("The list of [publications](https://shopify.dev/docs/api/admin-graphql/latest/objects/Publication)\nthat the resource isn't published to.")] + [NonNull] + public PublicationConnection? unpublishedPublications { get; } + } + /// ///Return type for `publishablePublish` mutation. /// - [Description("Return type for `publishablePublish` mutation.")] - public class PublishablePublishPayload : GraphQLObject - { + [Description("Return type for `publishablePublish` mutation.")] + public class PublishablePublishPayload : GraphQLObject + { /// ///Resource that has been published. /// - [Description("Resource that has been published.")] - public IPublishable? publishable { get; set; } - + [Description("Resource that has been published.")] + public IPublishable? publishable { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `publishablePublishToCurrentChannel` mutation. /// - [Description("Return type for `publishablePublishToCurrentChannel` mutation.")] - public class PublishablePublishToCurrentChannelPayload : GraphQLObject - { + [Description("Return type for `publishablePublishToCurrentChannel` mutation.")] + public class PublishablePublishToCurrentChannelPayload : GraphQLObject + { /// ///Resource that has been published. /// - [Description("Resource that has been published.")] - public IPublishable? publishable { get; set; } - + [Description("Resource that has been published.")] + public IPublishable? publishable { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `publishableUnpublish` mutation. /// - [Description("Return type for `publishableUnpublish` mutation.")] - public class PublishableUnpublishPayload : GraphQLObject - { + [Description("Return type for `publishableUnpublish` mutation.")] + public class PublishableUnpublishPayload : GraphQLObject + { /// ///Resource that has been unpublished. /// - [Description("Resource that has been unpublished.")] - public IPublishable? publishable { get; set; } - + [Description("Resource that has been unpublished.")] + public IPublishable? publishable { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `publishableUnpublishToCurrentChannel` mutation. /// - [Description("Return type for `publishableUnpublishToCurrentChannel` mutation.")] - public class PublishableUnpublishToCurrentChannelPayload : GraphQLObject - { + [Description("Return type for `publishableUnpublishToCurrentChannel` mutation.")] + public class PublishableUnpublishToCurrentChannelPayload : GraphQLObject + { /// ///Resource that has been unpublished. /// - [Description("Resource that has been unpublished.")] - public IPublishable? publishable { get; set; } - + [Description("Resource that has been unpublished.")] + public IPublishable? publishable { get; set; } + /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents information about the purchasing company for the order or draft order. /// - [Description("Represents information about the purchasing company for the order or draft order.")] - public class PurchasingCompany : GraphQLObject, IPurchasingEntity - { + [Description("Represents information about the purchasing company for the order or draft order.")] + public class PurchasingCompany : GraphQLObject, IPurchasingEntity + { /// ///The company associated to the order or draft order. /// - [Description("The company associated to the order or draft order.")] - [NonNull] - public Company? company { get; set; } - + [Description("The company associated to the order or draft order.")] + [NonNull] + public Company? company { get; set; } + /// ///The company contact associated to the order or draft order. /// - [Description("The company contact associated to the order or draft order.")] - public CompanyContact? contact { get; set; } - + [Description("The company contact associated to the order or draft order.")] + public CompanyContact? contact { get; set; } + /// ///The company location associated to the order or draft order. /// - [Description("The company location associated to the order or draft order.")] - [NonNull] - public CompanyLocation? location { get; set; } - } - + [Description("The company location associated to the order or draft order.")] + [NonNull] + public CompanyLocation? location { get; set; } + } + /// ///The input fields for a purchasing company, which is a combination of company, company contact, and company location. /// - [Description("The input fields for a purchasing company, which is a combination of company, company contact, and company location.")] - public class PurchasingCompanyInput : GraphQLObject - { + [Description("The input fields for a purchasing company, which is a combination of company, company contact, and company location.")] + public class PurchasingCompanyInput : GraphQLObject + { /// ///ID of the company. /// - [Description("ID of the company.")] - [NonNull] - public string? companyId { get; set; } - + [Description("ID of the company.")] + [NonNull] + public string? companyId { get; set; } + /// ///ID of the company contact. /// - [Description("ID of the company contact.")] - [NonNull] - public string? companyContactId { get; set; } - + [Description("ID of the company contact.")] + [NonNull] + public string? companyContactId { get; set; } + /// ///ID of the company location. /// - [Description("ID of the company location.")] - [NonNull] - public string? companyLocationId { get; set; } - } - + [Description("ID of the company location.")] + [NonNull] + public string? companyLocationId { get; set; } + } + /// ///Represents information about the purchasing entity for the order or draft order. /// - [Description("Represents information about the purchasing entity for the order or draft order.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] - [JsonDerivedType(typeof(PurchasingCompany), typeDiscriminator: "PurchasingCompany")] - public interface IPurchasingEntity : IGraphQLObject - { - public Customer? AsCustomer() => this as Customer; - public PurchasingCompany? AsPurchasingCompany() => this as PurchasingCompany; - } - + [Description("Represents information about the purchasing entity for the order or draft order.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(Customer), typeDiscriminator: "Customer")] + [JsonDerivedType(typeof(PurchasingCompany), typeDiscriminator: "PurchasingCompany")] + public interface IPurchasingEntity : IGraphQLObject + { + public Customer? AsCustomer() => this as Customer; + public PurchasingCompany? AsPurchasingCompany() => this as PurchasingCompany; + } + /// ///The input fields for a purchasing entity. Can either be a customer or a purchasing company. /// - [Description("The input fields for a purchasing entity. Can either be a customer or a purchasing company.")] - public class PurchasingEntityInput : GraphQLObject - { + [Description("The input fields for a purchasing entity. Can either be a customer or a purchasing company.")] + public class PurchasingEntityInput : GraphQLObject + { /// ///Represents a customer. Null if there's a purchasing company. /// - [Description("Represents a customer. Null if there's a purchasing company.")] - public string? customerId { get; set; } - + [Description("Represents a customer. Null if there's a purchasing company.")] + public string? customerId { get; set; } + /// ///Represents a purchasing company. Null if there's a customer. /// - [Description("Represents a purchasing company. Null if there's a customer.")] - public PurchasingCompanyInput? purchasingCompany { get; set; } - } - + [Description("Represents a purchasing company. Null if there's a customer.")] + public PurchasingCompanyInput? purchasingCompany { get; set; } + } + /// ///Quantity price breaks lets you offer different rates that are based on the ///amount of a specific variant being ordered. /// - [Description("Quantity price breaks lets you offer different rates that are based on the\namount of a specific variant being ordered.")] - public class QuantityPriceBreak : GraphQLObject, INode - { + [Description("Quantity price breaks lets you offer different rates that are based on the\namount of a specific variant being ordered.")] + public class QuantityPriceBreak : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Minimum quantity required to reach new quantity break price. /// - [Description("Minimum quantity required to reach new quantity break price.")] - [NonNull] - public int? minimumQuantity { get; set; } - + [Description("Minimum quantity required to reach new quantity break price.")] + [NonNull] + public int? minimumQuantity { get; set; } + /// ///The price of variant after reaching the minimum quanity. /// - [Description("The price of variant after reaching the minimum quanity.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The price of variant after reaching the minimum quanity.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///The price list associated with this quantity break. /// - [Description("The price list associated with this quantity break.")] - [NonNull] - public PriceList? priceList { get; set; } - + [Description("The price list associated with this quantity break.")] + [NonNull] + public PriceList? priceList { get; set; } + /// ///The product variant associated with this quantity break. /// - [Description("The product variant associated with this quantity break.")] - [NonNull] - public ProductVariant? variant { get; set; } - } - + [Description("The product variant associated with this quantity break.")] + [NonNull] + public ProductVariant? variant { get; set; } + } + /// ///An auto-generated type for paginating through multiple QuantityPriceBreaks. /// - [Description("An auto-generated type for paginating through multiple QuantityPriceBreaks.")] - public class QuantityPriceBreakConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple QuantityPriceBreaks.")] + public class QuantityPriceBreakConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in QuantityPriceBreakEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in QuantityPriceBreakEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in QuantityPriceBreakEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one QuantityPriceBreak and a cursor during pagination. /// - [Description("An auto-generated type which holds one QuantityPriceBreak and a cursor during pagination.")] - public class QuantityPriceBreakEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one QuantityPriceBreak and a cursor during pagination.")] + public class QuantityPriceBreakEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of QuantityPriceBreakEdge. /// - [Description("The item at the end of QuantityPriceBreakEdge.")] - [NonNull] - public QuantityPriceBreak? node { get; set; } - } - + [Description("The item at the end of QuantityPriceBreakEdge.")] + [NonNull] + public QuantityPriceBreak? node { get; set; } + } + /// ///The input fields and values to use when creating quantity price breaks. /// - [Description("The input fields and values to use when creating quantity price breaks.")] - public class QuantityPriceBreakInput : GraphQLObject - { + [Description("The input fields and values to use when creating quantity price breaks.")] + public class QuantityPriceBreakInput : GraphQLObject + { /// ///The product variant ID associated with the quantity break. /// - [Description("The product variant ID associated with the quantity break.")] - [NonNull] - public string? variantId { get; set; } - + [Description("The product variant ID associated with the quantity break.")] + [NonNull] + public string? variantId { get; set; } + /// ///The price of the product variant when its quantity meets the break's minimum quantity. /// - [Description("The price of the product variant when its quantity meets the break's minimum quantity.")] - [NonNull] - public MoneyInput? price { get; set; } - + [Description("The price of the product variant when its quantity meets the break's minimum quantity.")] + [NonNull] + public MoneyInput? price { get; set; } + /// ///The minimum required quantity for a variant to qualify for this price. /// - [Description("The minimum required quantity for a variant to qualify for this price.")] - [NonNull] - public int? minimumQuantity { get; set; } - } - + [Description("The minimum required quantity for a variant to qualify for this price.")] + [NonNull] + public int? minimumQuantity { get; set; } + } + /// ///The set of valid sort keys for the QuantityPriceBreak query. /// - [Description("The set of valid sort keys for the QuantityPriceBreak query.")] - public enum QuantityPriceBreakSortKeys - { + [Description("The set of valid sort keys for the QuantityPriceBreak query.")] + public enum QuantityPriceBreakSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `minimum_quantity` value. /// - [Description("Sort by the `minimum_quantity` value.")] - MINIMUM_QUANTITY, - } - - public static class QuantityPriceBreakSortKeysStringValues - { - public const string ID = @"ID"; - public const string MINIMUM_QUANTITY = @"MINIMUM_QUANTITY"; - } - + [Description("Sort by the `minimum_quantity` value.")] + MINIMUM_QUANTITY, + } + + public static class QuantityPriceBreakSortKeysStringValues + { + public const string ID = @"ID"; + public const string MINIMUM_QUANTITY = @"MINIMUM_QUANTITY"; + } + /// ///The input fields used to update quantity pricing. /// - [Description("The input fields used to update quantity pricing.")] - public class QuantityPricingByVariantUpdateInput : GraphQLObject - { + [Description("The input fields used to update quantity pricing.")] + public class QuantityPricingByVariantUpdateInput : GraphQLObject + { /// ///A list of quantity price breaks to add. /// - [Description("A list of quantity price breaks to add.")] - [NonNull] - public IEnumerable? quantityPriceBreaksToAdd { get; set; } - + [Description("A list of quantity price breaks to add.")] + [NonNull] + public IEnumerable? quantityPriceBreaksToAdd { get; set; } + /// ///A list of quantity price break IDs that identify which quantity breaks to remove. /// - [Description("A list of quantity price break IDs that identify which quantity breaks to remove.")] - [NonNull] - public IEnumerable? quantityPriceBreaksToDelete { get; set; } - + [Description("A list of quantity price break IDs that identify which quantity breaks to remove.")] + [NonNull] + public IEnumerable? quantityPriceBreaksToDelete { get; set; } + /// ///A list of product variant IDs that identify which quantity breaks to remove. /// - [Description("A list of product variant IDs that identify which quantity breaks to remove.")] - public IEnumerable? quantityPriceBreaksToDeleteByVariantId { get; set; } - + [Description("A list of product variant IDs that identify which quantity breaks to remove.")] + public IEnumerable? quantityPriceBreaksToDeleteByVariantId { get; set; } + /// ///A list of quantity rules to add. /// - [Description("A list of quantity rules to add.")] - [NonNull] - public IEnumerable? quantityRulesToAdd { get; set; } - + [Description("A list of quantity rules to add.")] + [NonNull] + public IEnumerable? quantityRulesToAdd { get; set; } + /// ///A list of variant IDs that identify which quantity rules to remove. /// - [Description("A list of variant IDs that identify which quantity rules to remove.")] - [NonNull] - public IEnumerable? quantityRulesToDeleteByVariantId { get; set; } - + [Description("A list of variant IDs that identify which quantity rules to remove.")] + [NonNull] + public IEnumerable? quantityRulesToDeleteByVariantId { get; set; } + /// ///A list of fixed prices to add. /// - [Description("A list of fixed prices to add.")] - [NonNull] - public IEnumerable? pricesToAdd { get; set; } - + [Description("A list of fixed prices to add.")] + [NonNull] + public IEnumerable? pricesToAdd { get; set; } + /// ///A list of variant IDs that identify which fixed prices to remove. /// - [Description("A list of variant IDs that identify which fixed prices to remove.")] - [NonNull] - public IEnumerable? pricesToDeleteByVariantId { get; set; } - } - + [Description("A list of variant IDs that identify which fixed prices to remove.")] + [NonNull] + public IEnumerable? pricesToDeleteByVariantId { get; set; } + } + /// ///Return type for `quantityPricingByVariantUpdate` mutation. /// - [Description("Return type for `quantityPricingByVariantUpdate` mutation.")] - public class QuantityPricingByVariantUpdatePayload : GraphQLObject - { + [Description("Return type for `quantityPricingByVariantUpdate` mutation.")] + public class QuantityPricingByVariantUpdatePayload : GraphQLObject + { /// ///The variants for which quantity pricing was created successfully in the price list. /// - [Description("The variants for which quantity pricing was created successfully in the price list.")] - public IEnumerable? productVariants { get; set; } - + [Description("The variants for which quantity pricing was created successfully in the price list.")] + public IEnumerable? productVariants { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Error codes for failed volume pricing operations. /// - [Description("Error codes for failed volume pricing operations.")] - public class QuantityPricingByVariantUserError : GraphQLObject, IDisplayableError - { + [Description("Error codes for failed volume pricing operations.")] + public class QuantityPricingByVariantUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(QuantityPricingByVariantUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(QuantityPricingByVariantUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `QuantityPricingByVariantUserError`. /// - [Description("Possible error codes that can be returned by `QuantityPricingByVariantUserError`.")] - public enum QuantityPricingByVariantUserErrorCode - { + [Description("Possible error codes that can be returned by `QuantityPricingByVariantUserError`.")] + public enum QuantityPricingByVariantUserErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///Price List does not exist. /// - [Description("Price List does not exist.")] - PRICE_LIST_NOT_FOUND, + [Description("Price List does not exist.")] + PRICE_LIST_NOT_FOUND, /// ///Something went wrong when trying to update quantity pricing. Please try again later. /// - [Description("Something went wrong when trying to update quantity pricing. Please try again later.")] - GENERIC_ERROR, + [Description("Something went wrong when trying to update quantity pricing. Please try again later.")] + GENERIC_ERROR, /// ///Invalid quantity price break. /// - [Description("Invalid quantity price break.")] - QUANTITY_PRICE_BREAK_ADD_INVALID, + [Description("Invalid quantity price break.")] + QUANTITY_PRICE_BREAK_ADD_INVALID, /// ///Quantity price break's fixed price not found. /// - [Description("Quantity price break's fixed price not found.")] - QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND, + [Description("Quantity price break's fixed price not found.")] + QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND, /// ///Exceeded the allowed number of quantity price breaks per variant. /// - [Description("Exceeded the allowed number of quantity price breaks per variant.")] - QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED, + [Description("Exceeded the allowed number of quantity price breaks per variant.")] + QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED, /// ///Price list and quantity price break currency mismatch. /// - [Description("Price list and quantity price break currency mismatch.")] - QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH, + [Description("Price list and quantity price break currency mismatch.")] + QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH, /// ///Failed to save quantity price break. /// - [Description("Failed to save quantity price break.")] - QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE, + [Description("Failed to save quantity price break.")] + QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE, /// ///Quantity price break miniumum is less than the quantity rule minimum. /// - [Description("Quantity price break miniumum is less than the quantity rule minimum.")] - QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN, + [Description("Quantity price break miniumum is less than the quantity rule minimum.")] + QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN, /// ///Quantity price break miniumum is higher than the quantity rule maximum. /// - [Description("Quantity price break miniumum is higher than the quantity rule maximum.")] - QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX, + [Description("Quantity price break miniumum is higher than the quantity rule maximum.")] + QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX, /// ///Quantity price break miniumum is not multiple of the quantity rule increment. /// - [Description("Quantity price break miniumum is not multiple of the quantity rule increment.")] - QUANTITY_PRICE_BREAK_ADD_MIN_NOT_A_MULTIPLE_OF_QUANTITY_RULES_INCREMENT, + [Description("Quantity price break miniumum is not multiple of the quantity rule increment.")] + QUANTITY_PRICE_BREAK_ADD_MIN_NOT_A_MULTIPLE_OF_QUANTITY_RULES_INCREMENT, /// ///Quantity price break variant not found. /// - [Description("Quantity price break variant not found.")] - QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND, + [Description("Quantity price break variant not found.")] + QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND, /// ///Quantity price breaks to add inputs must be unique by variant id and minimum quantity. /// - [Description("Quantity price breaks to add inputs must be unique by variant id and minimum quantity.")] - QUANTITY_PRICE_BREAK_ADD_DUPLICATE_INPUT_FOR_VARIANT_AND_MIN, + [Description("Quantity price breaks to add inputs must be unique by variant id and minimum quantity.")] + QUANTITY_PRICE_BREAK_ADD_DUPLICATE_INPUT_FOR_VARIANT_AND_MIN, /// ///Quantity price break not found. /// - [Description("Quantity price break not found.")] - QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND, + [Description("Quantity price break not found.")] + QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND, /// ///Failed to delete quantity price break. /// - [Description("Failed to delete quantity price break.")] - QUANTITY_PRICE_BREAK_DELETE_FAILED, + [Description("Failed to delete quantity price break.")] + QUANTITY_PRICE_BREAK_DELETE_FAILED, /// ///Quantity rule variant not found. /// - [Description("Quantity rule variant not found.")] - QUANTITY_RULE_ADD_VARIANT_NOT_FOUND, + [Description("Quantity rule variant not found.")] + QUANTITY_RULE_ADD_VARIANT_NOT_FOUND, /// ///Quantity rule minimum is higher than the quantity price break minimum. /// - [Description("Quantity rule minimum is higher than the quantity price break minimum.")] - QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN, + [Description("Quantity rule minimum is higher than the quantity price break minimum.")] + QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN, /// ///Quantity rule maximum is less than the quantity price break minimum. /// - [Description("Quantity rule maximum is less than the quantity price break minimum.")] - QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN, + [Description("Quantity rule maximum is less than the quantity price break minimum.")] + QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN, /// ///Quantity rule increment must be a multiple of the quantity price break minimum. /// - [Description("Quantity rule increment must be a multiple of the quantity price break minimum.")] - QUANTITY_RULE_ADD_INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MIN, + [Description("Quantity rule increment must be a multiple of the quantity price break minimum.")] + QUANTITY_RULE_ADD_INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MIN, /// ///Quantity rule catalog context not supported. /// - [Description("Quantity rule catalog context not supported.")] - QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED, + [Description("Quantity rule catalog context not supported.")] + QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED, /// ///Quantity rule increment is greater than minimum. /// - [Description("Quantity rule increment is greater than minimum.")] - QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM, + [Description("Quantity rule increment is greater than minimum.")] + QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM, /// ///Quantity rule minimum is not a multiple of increment. /// - [Description("Quantity rule minimum is not a multiple of increment.")] - QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT, + [Description("Quantity rule minimum is not a multiple of increment.")] + QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT, /// ///Quantity rule maximum is not a multiple of increment. /// - [Description("Quantity rule maximum is not a multiple of increment.")] - QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT, + [Description("Quantity rule maximum is not a multiple of increment.")] + QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT, /// ///Quantity rule minimum is greater than maximum. /// - [Description("Quantity rule minimum is greater than maximum.")] - QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM, + [Description("Quantity rule minimum is greater than maximum.")] + QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM, /// ///Quantity rule increment is less than one. /// - [Description("Quantity rule increment is less than one.")] - QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE, + [Description("Quantity rule increment is less than one.")] + QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE, /// ///Quantity rule minimum is less than one. /// - [Description("Quantity rule minimum is less than one.")] - QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE, + [Description("Quantity rule minimum is less than one.")] + QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE, /// ///Quantity rule maximum is less than one. /// - [Description("Quantity rule maximum is less than one.")] - QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE, + [Description("Quantity rule maximum is less than one.")] + QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE, /// ///Quantity rules to add inputs must be unique by variant id. /// - [Description("Quantity rules to add inputs must be unique by variant id.")] - QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT, + [Description("Quantity rules to add inputs must be unique by variant id.")] + QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT, /// ///Quantity rule not found. /// - [Description("Quantity rule not found.")] - QUANTITY_RULE_DELETE_RULE_NOT_FOUND, + [Description("Quantity rule not found.")] + QUANTITY_RULE_DELETE_RULE_NOT_FOUND, /// ///Quantity rule variant not found. /// - [Description("Quantity rule variant not found.")] - QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND, + [Description("Quantity rule variant not found.")] + QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND, /// ///Price list and fixed price currency mismatch. /// - [Description("Price list and fixed price currency mismatch.")] - PRICE_ADD_CURRENCY_MISMATCH, + [Description("Price list and fixed price currency mismatch.")] + PRICE_ADD_CURRENCY_MISMATCH, /// ///Fixed price's variant not found. /// - [Description("Fixed price's variant not found.")] - PRICE_ADD_VARIANT_NOT_FOUND, + [Description("Fixed price's variant not found.")] + PRICE_ADD_VARIANT_NOT_FOUND, /// ///Prices to add inputs must be unique by variant id. /// - [Description("Prices to add inputs must be unique by variant id.")] - PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT, + [Description("Prices to add inputs must be unique by variant id.")] + PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT, /// ///Price is not fixed. /// - [Description("Price is not fixed.")] - PRICE_DELETE_PRICE_NOT_FIXED, + [Description("Price is not fixed.")] + PRICE_DELETE_PRICE_NOT_FIXED, /// ///Fixed price's variant not found. /// - [Description("Fixed price's variant not found.")] - PRICE_DELETE_VARIANT_NOT_FOUND, + [Description("Fixed price's variant not found.")] + PRICE_DELETE_VARIANT_NOT_FOUND, /// ///Variant to delete by is not found. /// - [Description("Variant to delete by is not found.")] - QUANTITY_PRICE_BREAK_DELETE_BY_VARIANT_ID_VARIANT_NOT_FOUND, - } - - public static class QuantityPricingByVariantUserErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string QUANTITY_PRICE_BREAK_ADD_INVALID = @"QUANTITY_PRICE_BREAK_ADD_INVALID"; - public const string QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND = @"QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND"; - public const string QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED = @"QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED"; - public const string QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH = @"QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH"; - public const string QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE = @"QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE"; - public const string QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN = @"QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN"; - public const string QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX = @"QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX"; - public const string QUANTITY_PRICE_BREAK_ADD_MIN_NOT_A_MULTIPLE_OF_QUANTITY_RULES_INCREMENT = @"QUANTITY_PRICE_BREAK_ADD_MIN_NOT_A_MULTIPLE_OF_QUANTITY_RULES_INCREMENT"; - public const string QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND = @"QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND"; - public const string QUANTITY_PRICE_BREAK_ADD_DUPLICATE_INPUT_FOR_VARIANT_AND_MIN = @"QUANTITY_PRICE_BREAK_ADD_DUPLICATE_INPUT_FOR_VARIANT_AND_MIN"; - public const string QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND = @"QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND"; - public const string QUANTITY_PRICE_BREAK_DELETE_FAILED = @"QUANTITY_PRICE_BREAK_DELETE_FAILED"; - public const string QUANTITY_RULE_ADD_VARIANT_NOT_FOUND = @"QUANTITY_RULE_ADD_VARIANT_NOT_FOUND"; - public const string QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN = @"QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN"; - public const string QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN = @"QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN"; - public const string QUANTITY_RULE_ADD_INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MIN = @"QUANTITY_RULE_ADD_INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MIN"; - public const string QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED = @"QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED"; - public const string QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM = @"QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM"; - public const string QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT = @"QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT"; - public const string QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT = @"QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT"; - public const string QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM = @"QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM"; - public const string QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE = @"QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE"; - public const string QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE = @"QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE"; - public const string QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE = @"QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE"; - public const string QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT = @"QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT"; - public const string QUANTITY_RULE_DELETE_RULE_NOT_FOUND = @"QUANTITY_RULE_DELETE_RULE_NOT_FOUND"; - public const string QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND = @"QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND"; - public const string PRICE_ADD_CURRENCY_MISMATCH = @"PRICE_ADD_CURRENCY_MISMATCH"; - public const string PRICE_ADD_VARIANT_NOT_FOUND = @"PRICE_ADD_VARIANT_NOT_FOUND"; - public const string PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT = @"PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT"; - public const string PRICE_DELETE_PRICE_NOT_FIXED = @"PRICE_DELETE_PRICE_NOT_FIXED"; - public const string PRICE_DELETE_VARIANT_NOT_FOUND = @"PRICE_DELETE_VARIANT_NOT_FOUND"; - public const string QUANTITY_PRICE_BREAK_DELETE_BY_VARIANT_ID_VARIANT_NOT_FOUND = @"QUANTITY_PRICE_BREAK_DELETE_BY_VARIANT_ID_VARIANT_NOT_FOUND"; - } - + [Description("Variant to delete by is not found.")] + QUANTITY_PRICE_BREAK_DELETE_BY_VARIANT_ID_VARIANT_NOT_FOUND, + } + + public static class QuantityPricingByVariantUserErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string PRICE_LIST_NOT_FOUND = @"PRICE_LIST_NOT_FOUND"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string QUANTITY_PRICE_BREAK_ADD_INVALID = @"QUANTITY_PRICE_BREAK_ADD_INVALID"; + public const string QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND = @"QUANTITY_PRICE_BREAK_ADD_PRICE_LIST_PRICE_NOT_FOUND"; + public const string QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED = @"QUANTITY_PRICE_BREAK_ADD_LIMIT_EXCEEDED"; + public const string QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH = @"QUANTITY_PRICE_BREAK_ADD_CURRENCY_MISMATCH"; + public const string QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE = @"QUANTITY_PRICE_BREAK_ADD_FAILED_TO_SAVE"; + public const string QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN = @"QUANTITY_PRICE_BREAK_ADD_MIN_LOWER_THAN_QUANTITY_RULES_MIN"; + public const string QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX = @"QUANTITY_PRICE_BREAK_ADD_MIN_HIGHER_THAN_QUANTITY_RULES_MAX"; + public const string QUANTITY_PRICE_BREAK_ADD_MIN_NOT_A_MULTIPLE_OF_QUANTITY_RULES_INCREMENT = @"QUANTITY_PRICE_BREAK_ADD_MIN_NOT_A_MULTIPLE_OF_QUANTITY_RULES_INCREMENT"; + public const string QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND = @"QUANTITY_PRICE_BREAK_ADD_VARIANT_NOT_FOUND"; + public const string QUANTITY_PRICE_BREAK_ADD_DUPLICATE_INPUT_FOR_VARIANT_AND_MIN = @"QUANTITY_PRICE_BREAK_ADD_DUPLICATE_INPUT_FOR_VARIANT_AND_MIN"; + public const string QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND = @"QUANTITY_PRICE_BREAK_DELETE_NOT_FOUND"; + public const string QUANTITY_PRICE_BREAK_DELETE_FAILED = @"QUANTITY_PRICE_BREAK_DELETE_FAILED"; + public const string QUANTITY_RULE_ADD_VARIANT_NOT_FOUND = @"QUANTITY_RULE_ADD_VARIANT_NOT_FOUND"; + public const string QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN = @"QUANTITY_RULE_ADD_MIN_HIGHER_THAN_QUANTITY_PRICE_BREAK_MIN"; + public const string QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN = @"QUANTITY_RULE_ADD_MAX_LOWER_THAN_QUANTITY_PRICE_BREAK_MIN"; + public const string QUANTITY_RULE_ADD_INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MIN = @"QUANTITY_RULE_ADD_INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MIN"; + public const string QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED = @"QUANTITY_RULE_ADD_CATALOG_CONTEXT_NOT_SUPPORTED"; + public const string QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM = @"QUANTITY_RULE_ADD_INCREMENT_IS_GREATER_THAN_MINIMUM"; + public const string QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT = @"QUANTITY_RULE_ADD_MINIMUM_NOT_A_MULTIPLE_OF_INCREMENT"; + public const string QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT = @"QUANTITY_RULE_ADD_MAXIMUM_NOT_A_MULTIPLE_OF_INCREMENT"; + public const string QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM = @"QUANTITY_RULE_ADD_MINIMUM_GREATER_THAN_MAXIMUM"; + public const string QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE = @"QUANTITY_RULE_ADD_INCREMENT_IS_LESS_THAN_ONE"; + public const string QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE = @"QUANTITY_RULE_ADD_MINIMUM_IS_LESS_THAN_ONE"; + public const string QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE = @"QUANTITY_RULE_ADD_MAXIMUM_IS_LESS_THAN_ONE"; + public const string QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT = @"QUANTITY_RULE_ADD_DUPLICATE_INPUT_FOR_VARIANT"; + public const string QUANTITY_RULE_DELETE_RULE_NOT_FOUND = @"QUANTITY_RULE_DELETE_RULE_NOT_FOUND"; + public const string QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND = @"QUANTITY_RULE_DELETE_VARIANT_NOT_FOUND"; + public const string PRICE_ADD_CURRENCY_MISMATCH = @"PRICE_ADD_CURRENCY_MISMATCH"; + public const string PRICE_ADD_VARIANT_NOT_FOUND = @"PRICE_ADD_VARIANT_NOT_FOUND"; + public const string PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT = @"PRICE_ADD_DUPLICATE_INPUT_FOR_VARIANT"; + public const string PRICE_DELETE_PRICE_NOT_FIXED = @"PRICE_DELETE_PRICE_NOT_FIXED"; + public const string PRICE_DELETE_VARIANT_NOT_FOUND = @"PRICE_DELETE_VARIANT_NOT_FOUND"; + public const string QUANTITY_PRICE_BREAK_DELETE_BY_VARIANT_ID_VARIANT_NOT_FOUND = @"QUANTITY_PRICE_BREAK_DELETE_BY_VARIANT_ID_VARIANT_NOT_FOUND"; + } + /// ///The quantity rule for the product variant in a given context. /// - [Description("The quantity rule for the product variant in a given context.")] - public class QuantityRule : GraphQLObject - { + [Description("The quantity rule for the product variant in a given context.")] + public class QuantityRule : GraphQLObject + { /// ///The value that specifies the quantity increment between minimum and maximum of the rule. ///Only quantities divisible by this value will be considered valid. @@ -101354,409 +101354,409 @@ public class QuantityRule : GraphQLObject ///The increment must be lower than or equal to the minimum and the maximum, and both minimum and maximum ///must be divisible by this value. /// - [Description("The value that specifies the quantity increment between minimum and maximum of the rule.\nOnly quantities divisible by this value will be considered valid.\n\nThe increment must be lower than or equal to the minimum and the maximum, and both minimum and maximum\nmust be divisible by this value.")] - [NonNull] - public int? increment { get; set; } - + [Description("The value that specifies the quantity increment between minimum and maximum of the rule.\nOnly quantities divisible by this value will be considered valid.\n\nThe increment must be lower than or equal to the minimum and the maximum, and both minimum and maximum\nmust be divisible by this value.")] + [NonNull] + public int? increment { get; set; } + /// ///Whether the quantity rule fields match one increment, one minimum and no maximum. /// - [Description("Whether the quantity rule fields match one increment, one minimum and no maximum.")] - [NonNull] - public bool? isDefault { get; set; } - + [Description("Whether the quantity rule fields match one increment, one minimum and no maximum.")] + [NonNull] + public bool? isDefault { get; set; } + /// ///An optional value that defines the highest allowed quantity purchased by the customer. ///If defined, maximum must be lower than or equal to the minimum and must be a multiple of the increment. /// - [Description("An optional value that defines the highest allowed quantity purchased by the customer.\nIf defined, maximum must be lower than or equal to the minimum and must be a multiple of the increment.")] - public int? maximum { get; set; } - + [Description("An optional value that defines the highest allowed quantity purchased by the customer.\nIf defined, maximum must be lower than or equal to the minimum and must be a multiple of the increment.")] + public int? maximum { get; set; } + /// ///The value that defines the lowest allowed quantity purchased by the customer. ///The minimum must be a multiple of the quantity rule's increment. /// - [Description("The value that defines the lowest allowed quantity purchased by the customer.\nThe minimum must be a multiple of the quantity rule's increment.")] - [NonNull] - public int? minimum { get; set; } - + [Description("The value that defines the lowest allowed quantity purchased by the customer.\nThe minimum must be a multiple of the quantity rule's increment.")] + [NonNull] + public int? minimum { get; set; } + /// ///Whether the values of the quantity rule were explicitly set. /// - [Description("Whether the values of the quantity rule were explicitly set.")] - [NonNull] - [EnumType(typeof(QuantityRuleOriginType))] - public string? originType { get; set; } - + [Description("Whether the values of the quantity rule were explicitly set.")] + [NonNull] + [EnumType(typeof(QuantityRuleOriginType))] + public string? originType { get; set; } + /// ///The product variant for which the quantity rule is applied. /// - [Description("The product variant for which the quantity rule is applied.")] - [NonNull] - public ProductVariant? productVariant { get; set; } - } - + [Description("The product variant for which the quantity rule is applied.")] + [NonNull] + public ProductVariant? productVariant { get; set; } + } + /// ///An auto-generated type for paginating through multiple QuantityRules. /// - [Description("An auto-generated type for paginating through multiple QuantityRules.")] - public class QuantityRuleConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple QuantityRules.")] + public class QuantityRuleConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in QuantityRuleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in QuantityRuleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in QuantityRuleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one QuantityRule and a cursor during pagination. /// - [Description("An auto-generated type which holds one QuantityRule and a cursor during pagination.")] - public class QuantityRuleEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one QuantityRule and a cursor during pagination.")] + public class QuantityRuleEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of QuantityRuleEdge. /// - [Description("The item at the end of QuantityRuleEdge.")] - [NonNull] - public QuantityRule? node { get; set; } - } - + [Description("The item at the end of QuantityRuleEdge.")] + [NonNull] + public QuantityRule? node { get; set; } + } + /// ///The input fields for the per-order quantity rule to be applied on the product variant. /// - [Description("The input fields for the per-order quantity rule to be applied on the product variant.")] - public class QuantityRuleInput : GraphQLObject - { + [Description("The input fields for the per-order quantity rule to be applied on the product variant.")] + public class QuantityRuleInput : GraphQLObject + { /// ///The quantity increment. /// - [Description("The quantity increment.")] - [NonNull] - public int? increment { get; set; } - + [Description("The quantity increment.")] + [NonNull] + public int? increment { get; set; } + /// ///The maximum quantity. /// - [Description("The maximum quantity.")] - public int? maximum { get; set; } - + [Description("The maximum quantity.")] + public int? maximum { get; set; } + /// ///The minimum quantity. /// - [Description("The minimum quantity.")] - [NonNull] - public int? minimum { get; set; } - + [Description("The minimum quantity.")] + [NonNull] + public int? minimum { get; set; } + /// ///Product variant on which to apply the quantity rule. /// - [Description("Product variant on which to apply the quantity rule.")] - [NonNull] - public string? variantId { get; set; } - } - + [Description("Product variant on which to apply the quantity rule.")] + [NonNull] + public string? variantId { get; set; } + } + /// ///The origin of quantity rule on a price list. /// - [Description("The origin of quantity rule on a price list.")] - public enum QuantityRuleOriginType - { + [Description("The origin of quantity rule on a price list.")] + public enum QuantityRuleOriginType + { /// ///Quantity rule is explicitly defined. /// - [Description("Quantity rule is explicitly defined.")] - FIXED, + [Description("Quantity rule is explicitly defined.")] + FIXED, /// ///Quantity rule falls back to the relative rule. /// - [Description("Quantity rule falls back to the relative rule.")] - RELATIVE, - } - - public static class QuantityRuleOriginTypeStringValues - { - public const string FIXED = @"FIXED"; - public const string RELATIVE = @"RELATIVE"; - } - + [Description("Quantity rule falls back to the relative rule.")] + RELATIVE, + } + + public static class QuantityRuleOriginTypeStringValues + { + public const string FIXED = @"FIXED"; + public const string RELATIVE = @"RELATIVE"; + } + /// ///An error for a failed quantity rule operation. /// - [Description("An error for a failed quantity rule operation.")] - public class QuantityRuleUserError : GraphQLObject, IDisplayableError - { + [Description("An error for a failed quantity rule operation.")] + public class QuantityRuleUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(QuantityRuleUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(QuantityRuleUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `QuantityRuleUserError`. /// - [Description("Possible error codes that can be returned by `QuantityRuleUserError`.")] - public enum QuantityRuleUserErrorCode - { + [Description("Possible error codes that can be returned by `QuantityRuleUserError`.")] + public enum QuantityRuleUserErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///Product variant ID does not exist. /// - [Description("Product variant ID does not exist.")] - PRODUCT_VARIANT_DOES_NOT_EXIST, + [Description("Product variant ID does not exist.")] + PRODUCT_VARIANT_DOES_NOT_EXIST, /// ///Price list does not exist. /// - [Description("Price list does not exist.")] - PRICE_LIST_DOES_NOT_EXIST, + [Description("Price list does not exist.")] + PRICE_LIST_DOES_NOT_EXIST, /// ///Quantity rule for variant associated with the price list provided does not exist. /// - [Description("Quantity rule for variant associated with the price list provided does not exist.")] - VARIANT_QUANTITY_RULE_DOES_NOT_EXIST, + [Description("Quantity rule for variant associated with the price list provided does not exist.")] + VARIANT_QUANTITY_RULE_DOES_NOT_EXIST, /// ///Minimum must be lower than or equal to the maximum. /// - [Description("Minimum must be lower than or equal to the maximum.")] - MINIMUM_IS_GREATER_THAN_MAXIMUM, + [Description("Minimum must be lower than or equal to the maximum.")] + MINIMUM_IS_GREATER_THAN_MAXIMUM, /// ///Minimum must be less than or equal to all quantity price break minimums associated with this variant in the specified price list. /// - [Description("Minimum must be less than or equal to all quantity price break minimums associated with this variant in the specified price list.")] - MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUM, + [Description("Minimum must be less than or equal to all quantity price break minimums associated with this variant in the specified price list.")] + MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUM, /// ///Maximum must be greater than or equal to all quantity price break minimums associated with this variant in the specified price list. /// - [Description("Maximum must be greater than or equal to all quantity price break minimums associated with this variant in the specified price list.")] - MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUM, + [Description("Maximum must be greater than or equal to all quantity price break minimums associated with this variant in the specified price list.")] + MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUM, /// ///Increment must be a multiple of all quantity price break minimums associated with this variant in the specified price list. /// - [Description("Increment must be a multiple of all quantity price break minimums associated with this variant in the specified price list.")] - INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUM, + [Description("Increment must be a multiple of all quantity price break minimums associated with this variant in the specified price list.")] + INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUM, /// ///Increment must be lower than or equal to the minimum. /// - [Description("Increment must be lower than or equal to the minimum.")] - INCREMENT_IS_GREATER_THAN_MINIMUM, + [Description("Increment must be lower than or equal to the minimum.")] + INCREMENT_IS_GREATER_THAN_MINIMUM, /// ///Value must be greater than or equal to 1. /// - [Description("Value must be greater than or equal to 1.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("Value must be greater than or equal to 1.")] + GREATER_THAN_OR_EQUAL_TO, /// ///The maximum must be a multiple of the increment. /// - [Description("The maximum must be a multiple of the increment.")] - MAXIMUM_NOT_MULTIPLE_OF_INCREMENT, + [Description("The maximum must be a multiple of the increment.")] + MAXIMUM_NOT_MULTIPLE_OF_INCREMENT, /// ///The minimum must be a multiple of the increment. /// - [Description("The minimum must be a multiple of the increment.")] - MINIMUM_NOT_MULTIPLE_OF_INCREMENT, + [Description("The minimum must be a multiple of the increment.")] + MINIMUM_NOT_MULTIPLE_OF_INCREMENT, /// ///Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets. /// - [Description("Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets.")] - CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES, + [Description("Quantity rules can be associated only with company location catalogs or catalogs associated with compatible markets.")] + CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES, /// ///Quantity rule inputs must be unique by variant id. /// - [Description("Quantity rule inputs must be unique by variant id.")] - DUPLICATE_INPUT_FOR_VARIANT, + [Description("Quantity rule inputs must be unique by variant id.")] + DUPLICATE_INPUT_FOR_VARIANT, /// ///Something went wrong when trying to save the quantity rule. Please try again later. /// - [Description("Something went wrong when trying to save the quantity rule. Please try again later.")] - GENERIC_ERROR, - } - - public static class QuantityRuleUserErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; - public const string PRICE_LIST_DOES_NOT_EXIST = @"PRICE_LIST_DOES_NOT_EXIST"; - public const string VARIANT_QUANTITY_RULE_DOES_NOT_EXIST = @"VARIANT_QUANTITY_RULE_DOES_NOT_EXIST"; - public const string MINIMUM_IS_GREATER_THAN_MAXIMUM = @"MINIMUM_IS_GREATER_THAN_MAXIMUM"; - public const string MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUM = @"MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUM"; - public const string MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUM = @"MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUM"; - public const string INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUM = @"INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUM"; - public const string INCREMENT_IS_GREATER_THAN_MINIMUM = @"INCREMENT_IS_GREATER_THAN_MINIMUM"; - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string MAXIMUM_NOT_MULTIPLE_OF_INCREMENT = @"MAXIMUM_NOT_MULTIPLE_OF_INCREMENT"; - public const string MINIMUM_NOT_MULTIPLE_OF_INCREMENT = @"MINIMUM_NOT_MULTIPLE_OF_INCREMENT"; - public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES"; - public const string DUPLICATE_INPUT_FOR_VARIANT = @"DUPLICATE_INPUT_FOR_VARIANT"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - } - + [Description("Something went wrong when trying to save the quantity rule. Please try again later.")] + GENERIC_ERROR, + } + + public static class QuantityRuleUserErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; + public const string PRICE_LIST_DOES_NOT_EXIST = @"PRICE_LIST_DOES_NOT_EXIST"; + public const string VARIANT_QUANTITY_RULE_DOES_NOT_EXIST = @"VARIANT_QUANTITY_RULE_DOES_NOT_EXIST"; + public const string MINIMUM_IS_GREATER_THAN_MAXIMUM = @"MINIMUM_IS_GREATER_THAN_MAXIMUM"; + public const string MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUM = @"MINIMUM_IS_HIGHER_THAN_QUANTITY_PRICE_BREAK_MINIMUM"; + public const string MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUM = @"MAXIMUM_IS_LOWER_THAN_QUANTITY_PRICE_BREAK_MINIMUM"; + public const string INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUM = @"INCREMENT_NOT_A_MULTIPLE_OF_QUANTITY_PRICE_BREAK_MINIMUM"; + public const string INCREMENT_IS_GREATER_THAN_MINIMUM = @"INCREMENT_IS_GREATER_THAN_MINIMUM"; + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string MAXIMUM_NOT_MULTIPLE_OF_INCREMENT = @"MAXIMUM_NOT_MULTIPLE_OF_INCREMENT"; + public const string MINIMUM_NOT_MULTIPLE_OF_INCREMENT = @"MINIMUM_NOT_MULTIPLE_OF_INCREMENT"; + public const string CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES = @"CATALOG_CONTEXT_DOES_NOT_SUPPORT_QUANTITY_RULES"; + public const string DUPLICATE_INPUT_FOR_VARIANT = @"DUPLICATE_INPUT_FOR_VARIANT"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + } + /// ///Return type for `quantityRulesAdd` mutation. /// - [Description("Return type for `quantityRulesAdd` mutation.")] - public class QuantityRulesAddPayload : GraphQLObject - { + [Description("Return type for `quantityRulesAdd` mutation.")] + public class QuantityRulesAddPayload : GraphQLObject + { /// ///The list of quantity rules that were added to or updated in the price list. /// - [Description("The list of quantity rules that were added to or updated in the price list.")] - public IEnumerable? quantityRules { get; set; } - + [Description("The list of quantity rules that were added to or updated in the price list.")] + public IEnumerable? quantityRules { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `quantityRulesDelete` mutation. /// - [Description("Return type for `quantityRulesDelete` mutation.")] - public class QuantityRulesDeletePayload : GraphQLObject - { + [Description("Return type for `quantityRulesDelete` mutation.")] + public class QuantityRulesDeletePayload : GraphQLObject + { /// ///A list of product variant IDs whose quantity rules were removed from the price list. /// - [Description("A list of product variant IDs whose quantity rules were removed from the price list.")] - public IEnumerable? deletedQuantityRulesVariantIds { get; set; } - + [Description("A list of product variant IDs whose quantity rules were removed from the price list.")] + public IEnumerable? deletedQuantityRulesVariantIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start. /// - [Description("The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.")] - public class QueryRoot : GraphQLObject, IQueryRoot - { + [Description("The schema's entry-point for queries. This acts as the public, top-level API from which all queries must start.")] + public class QueryRoot : GraphQLObject, IQueryRoot + { /// ///List of abandoned checkouts. Includes checkouts that were recovered after being abandoned. /// - [Description("List of abandoned checkouts. Includes checkouts that were recovered after being abandoned.")] - [NonNull] - public AbandonedCheckoutConnection? abandonedCheckouts { get; set; } - + [Description("List of abandoned checkouts. Includes checkouts that were recovered after being abandoned.")] + [NonNull] + public AbandonedCheckoutConnection? abandonedCheckouts { get; set; } + /// ///Returns the count of abandoned checkouts for the given shop. Limited to a maximum of 10000 by default. /// - [Description("Returns the count of abandoned checkouts for the given shop. Limited to a maximum of 10000 by default.")] - public Count? abandonedCheckoutsCount { get; set; } - + [Description("Returns the count of abandoned checkouts for the given shop. Limited to a maximum of 10000 by default.")] + public Count? abandonedCheckoutsCount { get; set; } + /// ///Returns a `Abandonment` resource by ID. /// - [Description("Returns a `Abandonment` resource by ID.")] - public Abandonment? abandonment { get; set; } - + [Description("Returns a `Abandonment` resource by ID.")] + public Abandonment? abandonment { get; set; } + /// ///Returns an Abandonment by the Abandoned Checkout ID. /// - [Description("Returns an Abandonment by the Abandoned Checkout ID.")] - public Abandonment? abandonmentByAbandonedCheckoutId { get; set; } - + [Description("Returns an Abandonment by the Abandoned Checkout ID.")] + public Abandonment? abandonmentByAbandonedCheckoutId { get; set; } + /// ///List of all the active sales channels on this shop. /// - [Description("List of all the active sales channels on this shop.")] - [NonNull] - public ChannelConnection? allChannels { get; set; } - + [Description("List of all the active sales channels on this shop.")] + [NonNull] + public ChannelConnection? allChannels { get; set; } + /// ///Lookup an App by ID or return the currently authenticated App. /// - [Description("Lookup an App by ID or return the currently authenticated App.")] - public App? app { get; set; } - + [Description("Lookup an App by ID or return the currently authenticated App.")] + public App? app { get; set; } + /// ///Fetches app by handle. ///Returns null if the app doesn't exist. /// - [Description("Fetches app by handle.\nReturns null if the app doesn't exist.")] - public App? appByHandle { get; set; } - + [Description("Fetches app by handle.\nReturns null if the app doesn't exist.")] + public App? appByHandle { get; set; } + /// ///Fetches an app by its client ID. ///Returns null if the app doesn't exist. /// - [Description("Fetches an app by its client ID.\nReturns null if the app doesn't exist.")] - public App? appByKey { get; set; } - + [Description("Fetches an app by its client ID.\nReturns null if the app doesn't exist.")] + public App? appByKey { get; set; } + /// ///Credits that can be used towards future app purchases. /// - [Description("Credits that can be used towards future app purchases.")] - [NonNull] - public AppCreditConnection? appCredits { get; set; } - + [Description("Credits that can be used towards future app purchases.")] + [NonNull] + public AppCreditConnection? appCredits { get; set; } + /// ///An app discount type. /// - [Description("An app discount type.")] - public AppDiscountType? appDiscountType { get; set; } - + [Description("An app discount type.")] + public AppDiscountType? appDiscountType { get; set; } + /// ///A list of app discount types installed by apps. /// - [Description("A list of app discount types installed by apps.")] - [NonNull] - public IEnumerable? appDiscountTypes { get; set; } - + [Description("A list of app discount types installed by apps.")] + [NonNull] + public IEnumerable? appDiscountTypes { get; set; } + /// ///A list of app discount types installed by apps. /// - [Description("A list of app discount types installed by apps.")] - [NonNull] - public AppDiscountTypeConnection? appDiscountTypesNodes { get; set; } - + [Description("A list of app discount types installed by apps.")] + [NonNull] + public AppDiscountTypeConnection? appDiscountTypesNodes { get; set; } + /// ///Look up an app installation by ID or return the app installation for the currently authenticated app. /// @@ -101768,9 +101768,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [app installation](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation). /// - [Description("Look up an app installation by ID or return the app installation for the currently authenticated app.\n\nUse the `appInstallation` query to:\n- Fetch current access scope permissions for your app\n- Retrieve active subscription details and billing status\n- Validate installation state during app initialization\n- Display installation-specific information in your app interface\n\nLearn more about [app installation](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation).")] - public AppInstallation? appInstallation { get; set; } - + [Description("Look up an app installation by ID or return the app installation for the currently authenticated app.\n\nUse the `appInstallation` query to:\n- Fetch current access scope permissions for your app\n- Retrieve active subscription details and billing status\n- Validate installation state during app initialization\n- Display installation-specific information in your app interface\n\nLearn more about [app installation](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation).")] + public AppInstallation? appInstallation { get; set; } + /// ///A list of app installations. To use this query, your app needs the `read_apps` access scope, which can only be requested after you're granted approval from [Shopify Support](https://partners.shopify.com/current/support/). This scope can be granted to custom and public apps. /// @@ -101778,37 +101778,37 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [app installation](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation). /// - [Description("A list of app installations. To use this query, your app needs the `read_apps` access scope, which can only be requested after you're granted approval from [Shopify Support](https://partners.shopify.com/current/support/). This scope can be granted to custom and public apps.\n\nReturns a paginated connection of `AppInstallation` objects across multiple stores.\n\nLearn more about [app installation](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation).")] - [NonNull] - public AppInstallationConnection? appInstallations { get; set; } - + [Description("A list of app installations. To use this query, your app needs the `read_apps` access scope, which can only be requested after you're granted approval from [Shopify Support](https://partners.shopify.com/current/support/). This scope can be granted to custom and public apps.\n\nReturns a paginated connection of `AppInstallation` objects across multiple stores.\n\nLearn more about [app installation](https://shopify.dev/docs/apps/build/authentication-authorization/app-installation).")] + [NonNull] + public AppInstallationConnection? appInstallations { get; set; } + /// ///Returns a `Article` resource by ID. /// - [Description("Returns a `Article` resource by ID.")] - public Article? article { get; set; } - + [Description("Returns a `Article` resource by ID.")] + public Article? article { get; set; } + /// ///List of article authors for the shop. /// - [Description("List of article authors for the shop.")] - [NonNull] - public ArticleAuthorConnection? articleAuthors { get; set; } - + [Description("List of article authors for the shop.")] + [NonNull] + public ArticleAuthorConnection? articleAuthors { get; set; } + /// ///List of all article tags. /// - [Description("List of all article tags.")] - [NonNull] - public IEnumerable? articleTags { get; set; } - + [Description("List of all article tags.")] + [NonNull] + public IEnumerable? articleTags { get; set; } + /// ///List of the shop's articles. /// - [Description("List of the shop's articles.")] - [NonNull] - public ArticleConnection? articles { get; set; } - + [Description("List of the shop's articles.")] + [NonNull] + public ArticleConnection? articles { get; set; } + /// ///The paginated list of fulfillment orders assigned to the shop locations owned by the app. /// @@ -101830,144 +101830,144 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///Perform filtering with the `assignmentStatus` argument ///to receive only fulfillment orders that have been requested to be fulfilled. /// - [Description("The paginated list of fulfillment orders assigned to the shop locations owned by the app.\n\nAssigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations\nmanaged by\n[fulfillment services](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\nthat are registered by the app.\nOne app (api_client) can host multiple fulfillment services on a shop.\nEach fulfillment service manages a dedicated location on a shop.\nAssigned fulfillment orders can have associated\n[fulfillment requests](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus),\nor might currently not be requested to be fulfilled.\n\nThe app must have the `read_assigned_fulfillment_orders`\n[access scope](https://shopify.dev/docs/api/usage/access-scopes)\nto be able to retrieve the fulfillment orders assigned to its locations.\n\nAll assigned fulfillment orders (except those with the `CLOSED` status) will be returned by default.\nPerform filtering with the `assignmentStatus` argument\nto receive only fulfillment orders that have been requested to be fulfilled.")] - [NonNull] - public FulfillmentOrderConnection? assignedFulfillmentOrders { get; set; } - + [Description("The paginated list of fulfillment orders assigned to the shop locations owned by the app.\n\nAssigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations\nmanaged by\n[fulfillment services](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\nthat are registered by the app.\nOne app (api_client) can host multiple fulfillment services on a shop.\nEach fulfillment service manages a dedicated location on a shop.\nAssigned fulfillment orders can have associated\n[fulfillment requests](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus),\nor might currently not be requested to be fulfilled.\n\nThe app must have the `read_assigned_fulfillment_orders`\n[access scope](https://shopify.dev/docs/api/usage/access-scopes)\nto be able to retrieve the fulfillment orders assigned to its locations.\n\nAll assigned fulfillment orders (except those with the `CLOSED` status) will be returned by default.\nPerform filtering with the `assignmentStatus` argument\nto receive only fulfillment orders that have been requested to be fulfilled.")] + [NonNull] + public FulfillmentOrderConnection? assignedFulfillmentOrders { get; set; } + /// ///Returns a `DiscountAutomatic` resource by ID. /// - [Description("Returns a `DiscountAutomatic` resource by ID.")] - [Obsolete("Use `automaticDiscountNode` instead.")] - public IDiscountAutomatic? automaticDiscount { get; set; } - + [Description("Returns a `DiscountAutomatic` resource by ID.")] + [Obsolete("Use `automaticDiscountNode` instead.")] + public IDiscountAutomatic? automaticDiscount { get; set; } + /// ///Returns a `DiscountAutomaticNode` resource by ID. /// - [Description("Returns a `DiscountAutomaticNode` resource by ID.")] - public DiscountAutomaticNode? automaticDiscountNode { get; set; } - + [Description("Returns a `DiscountAutomaticNode` resource by ID.")] + public DiscountAutomaticNode? automaticDiscountNode { get; set; } + /// ///Returns a list of [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts). /// - [Description("Returns a list of [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts).")] - [NonNull] - public DiscountAutomaticNodeConnection? automaticDiscountNodes { get; set; } - + [Description("Returns a list of [automatic discounts](https://help.shopify.com/manual/discounts/discount-types#automatic-discounts).")] + [NonNull] + public DiscountAutomaticNodeConnection? automaticDiscountNodes { get; set; } + /// ///List of the shop's automatic discount saved searches. /// - [Description("List of the shop's automatic discount saved searches.")] - [NonNull] - public SavedSearchConnection? automaticDiscountSavedSearches { get; set; } - + [Description("List of the shop's automatic discount saved searches.")] + [NonNull] + public SavedSearchConnection? automaticDiscountSavedSearches { get; set; } + /// ///List of automatic discounts. /// - [Description("List of automatic discounts.")] - [Obsolete("Use `automaticDiscountNodes` instead.")] - [NonNull] - public DiscountAutomaticConnection? automaticDiscounts { get; set; } - + [Description("List of automatic discounts.")] + [Obsolete("Use `automaticDiscountNodes` instead.")] + [NonNull] + public DiscountAutomaticConnection? automaticDiscounts { get; set; } + /// ///The regions that can be used as the backup region of the shop. /// - [Description("The regions that can be used as the backup region of the shop.")] - [NonNull] - public IEnumerable? availableBackupRegions { get; set; } - + [Description("The regions that can be used as the backup region of the shop.")] + [NonNull] + public IEnumerable? availableBackupRegions { get; set; } + /// ///Returns a list of activated carrier services and associated shop locations that support them. /// - [Description("Returns a list of activated carrier services and associated shop locations that support them.")] - [NonNull] - public IEnumerable? availableCarrierServices { get; set; } - + [Description("Returns a list of activated carrier services and associated shop locations that support them.")] + [NonNull] + public IEnumerable? availableCarrierServices { get; set; } + /// ///A list of available locales. /// - [Description("A list of available locales.")] - [NonNull] - public IEnumerable? availableLocales { get; set; } - + [Description("A list of available locales.")] + [NonNull] + public IEnumerable? availableLocales { get; set; } + /// ///The backup region of the shop. /// - [Description("The backup region of the shop.")] - [NonNull] - public IMarketRegion? backupRegion { get; set; } - + [Description("The backup region of the shop.")] + [NonNull] + public IMarketRegion? backupRegion { get; set; } + /// ///Returns the Balance account information for finance embedded apps. /// - [Description("Returns the Balance account information for finance embedded apps.")] - public BalanceAccount? balanceAccount { get; set; } - + [Description("Returns the Balance account information for finance embedded apps.")] + public BalanceAccount? balanceAccount { get; set; } + /// ///Returns a `Blog` resource by ID. /// - [Description("Returns a `Blog` resource by ID.")] - public Blog? blog { get; set; } - + [Description("Returns a `Blog` resource by ID.")] + public Blog? blog { get; set; } + /// ///List of the shop's blogs. /// - [Description("List of the shop's blogs.")] - [NonNull] - public BlogConnection? blogs { get; set; } - + [Description("List of the shop's blogs.")] + [NonNull] + public BlogConnection? blogs { get; set; } + /// ///Count of blogs. Limited to a maximum of 10000 by default. /// - [Description("Count of blogs. Limited to a maximum of 10000 by default.")] - public Count? blogsCount { get; set; } - + [Description("Count of blogs. Limited to a maximum of 10000 by default.")] + public Count? blogsCount { get; set; } + /// ///Returns a specific bulk operation by ID. /// - [Description("Returns a specific bulk operation by ID.")] - public BulkOperation? bulkOperation { get; set; } - + [Description("Returns a specific bulk operation by ID.")] + public BulkOperation? bulkOperation { get; set; } + /// ///Returns the app's bulk operations meeting the specified filters. /// - [Description("Returns the app's bulk operations meeting the specified filters.")] - [NonNull] - public BulkOperationConnection? bulkOperations { get; set; } - + [Description("Returns the app's bulk operations meeting the specified filters.")] + [NonNull] + public BulkOperationConnection? bulkOperations { get; set; } + /// ///Returns the number of bundle products that have been created by the current app. /// - [Description("Returns the number of bundle products that have been created by the current app.")] - [NonNull] - public int? bundleCount { get; set; } - + [Description("Returns the number of bundle products that have been created by the current app.")] + [NonNull] + public int? bundleCount { get; set; } + /// ///Returns a list of Business Entities associated with the shop. /// - [Description("Returns a list of Business Entities associated with the shop.")] - [NonNull] - public IEnumerable? businessEntities { get; set; } - + [Description("Returns a list of Business Entities associated with the shop.")] + [NonNull] + public IEnumerable? businessEntities { get; set; } + /// ///Returns a Business Entity by ID. /// - [Description("Returns a Business Entity by ID.")] - public BusinessEntity? businessEntity { get; set; } - + [Description("Returns a Business Entity by ID.")] + public BusinessEntity? businessEntity { get; set; } + /// ///Returns a `DeliveryCarrierService` resource by ID. /// - [Description("Returns a `DeliveryCarrierService` resource by ID.")] - public DeliveryCarrierService? carrierService { get; set; } - + [Description("Returns a `DeliveryCarrierService` resource by ID.")] + public DeliveryCarrierService? carrierService { get; set; } + /// ///Retrieve a list of CarrierServices. /// - [Description("Retrieve a list of CarrierServices.")] - [NonNull] - public DeliveryCarrierServiceConnection? carrierServices { get; set; } - + [Description("Retrieve a list of CarrierServices.")] + [NonNull] + public DeliveryCarrierServiceConnection? carrierServices { get; set; } + /// ///Retrieves all cart transform functions currently deployed by your app within the merchant's store. This query provides comprehensive access to your active cart modification logic, enabling management and monitoring of bundling and merchandising features. /// @@ -101977,26 +101977,26 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [managing cart transforms](https://shopify.dev/docs/api/functions/latest/cart-transform). /// - [Description("Retrieves all cart transform functions currently deployed by your app within the merchant's store. This query provides comprehensive access to your active cart modification logic, enabling management and monitoring of bundling and merchandising features.\n\nThe query returns paginated results with full cart transform details, including function IDs, configuration settings, and operational status.\n\nCart Transform ownership is scoped to your API client, ensuring you only see and manage functions deployed by your specific app. This isolation prevents conflicts between different apps while maintaining security boundaries for sensitive merchandising logic.\n\nLearn more about [managing cart transforms](https://shopify.dev/docs/api/functions/latest/cart-transform).")] - [NonNull] - public CartTransformConnection? cartTransforms { get; set; } - + [Description("Retrieves all cart transform functions currently deployed by your app within the merchant's store. This query provides comprehensive access to your active cart modification logic, enabling management and monitoring of bundling and merchandising features.\n\nThe query returns paginated results with full cart transform details, including function IDs, configuration settings, and operational status.\n\nCart Transform ownership is scoped to your API client, ensuring you only see and manage functions deployed by your specific app. This isolation prevents conflicts between different apps while maintaining security boundaries for sensitive merchandising logic.\n\nLearn more about [managing cart transforms](https://shopify.dev/docs/api/functions/latest/cart-transform).")] + [NonNull] + public CartTransformConnection? cartTransforms { get; set; } + /// ///Returns a `CashTrackingSession` resource by ID. /// - [Description("Returns a `CashTrackingSession` resource by ID.")] - public CashTrackingSession? cashTrackingSession { get; set; } - + [Description("Returns a `CashTrackingSession` resource by ID.")] + public CashTrackingSession? cashTrackingSession { get; set; } + /// ///Returns a shop's cash tracking sessions for locations with a POS Pro subscription. /// ///Tip: To query for cash tracking sessions in bulk, you can ///[perform a bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/queries). /// - [Description("Returns a shop's cash tracking sessions for locations with a POS Pro subscription.\n\nTip: To query for cash tracking sessions in bulk, you can\n[perform a bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/queries).")] - [NonNull] - public CashTrackingSessionConnection? cashTrackingSessions { get; set; } - + [Description("Returns a shop's cash tracking sessions for locations with a POS Pro subscription.\n\nTip: To query for cash tracking sessions in bulk, you can\n[perform a bulk operation](https://shopify.dev/docs/api/usage/bulk-operations/queries).")] + [NonNull] + public CashTrackingSessionConnection? cashTrackingSessions { get; set; } + /// ///Retrieves a [catalog](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) by its ID. ///A catalog represents a list of products with publishing and pricing information, @@ -102017,50 +102017,50 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [catalogs for different markets](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets). /// - [Description("Retrieves a [catalog](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) by its ID.\nA catalog represents a list of products with publishing and pricing information,\nand can be associated with a context, such as a market, company location, or app.\n\nUse the `catalog` query to retrieve information associated with the following workflows:\n\n- Managing product publications across different contexts\n- Setting up contextual pricing with price lists\n- Managing market-specific product availability\n- Configuring B2B customer catalogs\n\nThere are several types of catalogs:\n\n- [`MarketCatalog`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MarketCatalog)\n- [`AppCatalog`](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppCatalog)\n- [`CompanyLocationCatalog`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocationCatalog)\n\nLearn more about [catalogs for different markets](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets).")] - public ICatalog? catalog { get; set; } - + [Description("Retrieves a [catalog](https://shopify.dev/docs/api/admin-graphql/latest/interfaces/Catalog) by its ID.\nA catalog represents a list of products with publishing and pricing information,\nand can be associated with a context, such as a market, company location, or app.\n\nUse the `catalog` query to retrieve information associated with the following workflows:\n\n- Managing product publications across different contexts\n- Setting up contextual pricing with price lists\n- Managing market-specific product availability\n- Configuring B2B customer catalogs\n\nThere are several types of catalogs:\n\n- [`MarketCatalog`](https://shopify.dev/docs/api/admin-graphql/latest/objects/MarketCatalog)\n- [`AppCatalog`](https://shopify.dev/docs/api/admin-graphql/latest/objects/AppCatalog)\n- [`CompanyLocationCatalog`](https://shopify.dev/docs/api/admin-graphql/latest/objects/CompanyLocationCatalog)\n\nLearn more about [catalogs for different markets](https://shopify.dev/docs/apps/build/markets/catalogs-different-markets).")] + public ICatalog? catalog { get; set; } + /// ///Returns the most recent catalog operations for the shop. /// - [Description("Returns the most recent catalog operations for the shop.")] - [NonNull] - public IEnumerable? catalogOperations { get; set; } - + [Description("Returns the most recent catalog operations for the shop.")] + [NonNull] + public IEnumerable? catalogOperations { get; set; } + /// ///The catalogs belonging to the shop. /// - [Description("The catalogs belonging to the shop.")] - [NonNull] - public CatalogConnection? catalogs { get; set; } - + [Description("The catalogs belonging to the shop.")] + [NonNull] + public CatalogConnection? catalogs { get; set; } + /// ///The count of catalogs belonging to the shop. Limited to a maximum of 10000 by default. /// - [Description("The count of catalogs belonging to the shop. Limited to a maximum of 10000 by default.")] - public Count? catalogsCount { get; set; } - + [Description("The count of catalogs belonging to the shop. Limited to a maximum of 10000 by default.")] + public Count? catalogsCount { get; set; } + /// ///Returns a `Channel` resource by ID. /// - [Description("Returns a `Channel` resource by ID.")] - [Obsolete("Use `publication` instead.")] - public Channel? channel { get; set; } - + [Description("Returns a `Channel` resource by ID.")] + [Obsolete("Use `publication` instead.")] + public Channel? channel { get; set; } + /// ///List of the active sales channels. /// - [Description("List of the active sales channels.")] - [Obsolete("Use `publications` instead.")] - [NonNull] - public ChannelConnection? channels { get; set; } - + [Description("List of the active sales channels.")] + [Obsolete("Use `publications` instead.")] + [NonNull] + public ChannelConnection? channels { get; set; } + /// ///Returns the checkout and accounts app configuration for the current API client and shop. /// - [Description("Returns the checkout and accounts app configuration for the current API client and shop.")] - public CheckoutAndAccountsAppConfiguration? checkoutAndAccountsAppConfiguration { get; set; } - + [Description("Returns the checkout and accounts app configuration for the current API client and shop.")] + public CheckoutAndAccountsAppConfiguration? checkoutAndAccountsAppConfiguration { get; set; } + /// ///Returns the visual customizations for checkout for a given checkout profile. /// @@ -102068,48 +102068,48 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert) ///mutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling). /// - [Description("Returns the visual customizations for checkout for a given checkout profile.\n\nTo learn more about updating checkout branding settings, refer to the\n[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert)\nmutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling).")] - public CheckoutBranding? checkoutBranding { get; set; } - + [Description("Returns the visual customizations for checkout for a given checkout profile.\n\nTo learn more about updating checkout branding settings, refer to the\n[checkoutBrandingUpsert](https://shopify.dev/api/admin-graphql/unstable/mutations/checkoutBrandingUpsert)\nmutation and the checkout branding [tutorial](https://shopify.dev/docs/apps/checkout/styling).")] + public CheckoutBranding? checkoutBranding { get; set; } + /// ///A checkout profile on a shop. /// - [Description("A checkout profile on a shop.")] - public CheckoutProfile? checkoutProfile { get; set; } - + [Description("A checkout profile on a shop.")] + public CheckoutProfile? checkoutProfile { get; set; } + /// ///List of checkout profiles on a shop. /// - [Description("List of checkout profiles on a shop.")] - [NonNull] - public CheckoutProfileConnection? checkoutProfiles { get; set; } - + [Description("List of checkout profiles on a shop.")] + [NonNull] + public CheckoutProfileConnection? checkoutProfiles { get; set; } + /// ///Returns a [code discount](https://help.shopify.com/manual/discounts/discount-types#discount-codes) resource by ID. /// - [Description("Returns a [code discount](https://help.shopify.com/manual/discounts/discount-types#discount-codes) resource by ID.")] - public DiscountCodeNode? codeDiscountNode { get; set; } - + [Description("Returns a [code discount](https://help.shopify.com/manual/discounts/discount-types#discount-codes) resource by ID.")] + public DiscountCodeNode? codeDiscountNode { get; set; } + /// ///Returns a code discount identified by its discount code. /// - [Description("Returns a code discount identified by its discount code.")] - public DiscountCodeNode? codeDiscountNodeByCode { get; set; } - + [Description("Returns a code discount identified by its discount code.")] + public DiscountCodeNode? codeDiscountNodeByCode { get; set; } + /// ///Returns a list of [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes). /// - [Description("Returns a list of [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes).")] - [NonNull] - public DiscountCodeNodeConnection? codeDiscountNodes { get; set; } - + [Description("Returns a list of [code-based discounts](https://help.shopify.com/manual/discounts/discount-types#discount-codes).")] + [NonNull] + public DiscountCodeNodeConnection? codeDiscountNodes { get; set; } + /// ///List of the shop's code discount saved searches. /// - [Description("List of the shop's code discount saved searches.")] - [NonNull] - public SavedSearchConnection? codeDiscountSavedSearches { get; set; } - + [Description("List of the shop's code discount saved searches.")] + [NonNull] + public SavedSearchConnection? codeDiscountSavedSearches { get; set; } + /// ///Retrieves a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) by its ID. ///A collection represents a grouping of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) @@ -102127,9 +102127,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///collection where products are automatically included based on defined rules. Each collection has associated metadata including ///title, description, handle, image, and [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields). /// - [Description("Retrieves a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) by its ID.\nA collection represents a grouping of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat merchants can display and sell as a group in their [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\n\nUse the `collection` query when you need to:\n\n- Manage collection publishing across sales channels\n- Access collection metadata and SEO information\n- Work with collection rules and product relationships\n\nA collection can be either a custom ([manual](https://help.shopify.com/manual/products/collections/manual-shopify-collection))\ncollection where products are manually added, or a smart ([automated](https://help.shopify.com/manual/products/collections/automated-collections))\ncollection where products are automatically included based on defined rules. Each collection has associated metadata including\ntitle, description, handle, image, and [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields).")] - public Collection? collection { get; set; } - + [Description("Retrieves a [collection](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) by its ID.\nA collection represents a grouping of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat merchants can display and sell as a group in their [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\n\nUse the `collection` query when you need to:\n\n- Manage collection publishing across sales channels\n- Access collection metadata and SEO information\n- Work with collection rules and product relationships\n\nA collection can be either a custom ([manual](https://help.shopify.com/manual/products/collections/manual-shopify-collection))\ncollection where products are manually added, or a smart ([automated](https://help.shopify.com/manual/products/collections/automated-collections))\ncollection where products are automatically included based on defined rules. Each collection has associated metadata including\ntitle, description, handle, image, and [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields).")] + public Collection? collection { get; set; } + /// ///Retrieves a collection by its unique handle identifier. Handles provide a URL-friendly way to reference collections and are commonly used in storefront URLs and navigation. /// @@ -102144,30 +102144,30 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection). /// - [Description("Retrieves a collection by its unique handle identifier. Handles provide a URL-friendly way to reference collections and are commonly used in storefront URLs and navigation.\n\nFor example, a collection with the title \"Summer Sale\" might have the handle `summer-sale`, allowing you to fetch it directly without knowing the internal ID.\n\nUse `CollectionByHandle` to:\n- Fetch collections for storefront display and navigation\n- Build collection-based URLs and routing systems\n- Validate collection existence before displaying content\n\nHandles are automatically generated from collection titles but can be customized by merchants for SEO and branding purposes.\n\nLearn more about [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] - [Obsolete("Use `collectionByIdentifier` instead.")] - public Collection? collectionByHandle { get; set; } - + [Description("Retrieves a collection by its unique handle identifier. Handles provide a URL-friendly way to reference collections and are commonly used in storefront URLs and navigation.\n\nFor example, a collection with the title \"Summer Sale\" might have the handle `summer-sale`, allowing you to fetch it directly without knowing the internal ID.\n\nUse `CollectionByHandle` to:\n- Fetch collections for storefront display and navigation\n- Build collection-based URLs and routing systems\n- Validate collection existence before displaying content\n\nHandles are automatically generated from collection titles but can be customized by merchants for SEO and branding purposes.\n\nLearn more about [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection).")] + [Obsolete("Use `collectionByIdentifier` instead.")] + public Collection? collectionByHandle { get; set; } + /// ///Return a collection by an identifier. /// - [Description("Return a collection by an identifier.")] - public Collection? collectionByIdentifier { get; set; } - + [Description("Return a collection by an identifier.")] + public Collection? collectionByIdentifier { get; set; } + /// ///Lists all rules that can be used to create smart collections. /// - [Description("Lists all rules that can be used to create smart collections.")] - [NonNull] - public IEnumerable? collectionRulesConditions { get; set; } - + [Description("Lists all rules that can be used to create smart collections.")] + [NonNull] + public IEnumerable? collectionRulesConditions { get; set; } + /// ///Returns a list of the shop's collection saved searches. /// - [Description("Returns a list of the shop's collection saved searches.")] - [NonNull] - public SavedSearchConnection? collectionSavedSearches { get; set; } - + [Description("Returns a list of the shop's collection saved searches.")] + [NonNull] + public SavedSearchConnection? collectionSavedSearches { get; set; } + /// ///Retrieves a list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection) ///in a store. Collections are groups of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) @@ -102198,165 +102198,165 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities). /// - [Description("Retrieves a list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection)\nin a store. Collections are groups of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat merchants can organize for display in their [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\nFor example, an athletics store might create different collections for running attire, shoes, and accessories.\n\nUse the `collections` query when you need to:\n\n- Build a browsing interface for a store's product groupings.\n- Create collection searching, sorting, and filtering experiences (for example, by title, type, or published status).\n- Sync collection data with external systems.\n- Manage both custom ([manual](https://help.shopify.com/manual/products/collections/manual-shopify-collection))\nand smart ([automated](https://help.shopify.com/manual/products/collections/automated-collections)) collections.\n\nThe `collections` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql)\nfor large catalogs and [saved searches](https://shopify.dev/docs/api/admin-graphql/latest/queries/collections#arguments-savedSearchId)\nfor frequently used collection queries.\n\nThe `collections` query returns collections with their associated metadata, including:\n\n- Basic collection information (title, description, handle, and type)\n- Collection image and SEO metadata\n- Product count and product relationships\n- Collection rules (for smart collections)\n- Publishing status and publication details\n- Metafields and custom attributes\n\nLearn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] - [NonNull] - public CollectionConnection? collections { get; set; } - + [Description("Retrieves a list of [collections](https://shopify.dev/docs/api/admin-graphql/latest/objects/Collection)\nin a store. Collections are groups of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nthat merchants can organize for display in their [online store](https://shopify.dev/docs/apps/build/online-store) and\nother [sales channels](https://shopify.dev/docs/apps/build/sales-channels).\nFor example, an athletics store might create different collections for running attire, shoes, and accessories.\n\nUse the `collections` query when you need to:\n\n- Build a browsing interface for a store's product groupings.\n- Create collection searching, sorting, and filtering experiences (for example, by title, type, or published status).\n- Sync collection data with external systems.\n- Manage both custom ([manual](https://help.shopify.com/manual/products/collections/manual-shopify-collection))\nand smart ([automated](https://help.shopify.com/manual/products/collections/automated-collections)) collections.\n\nThe `collections` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql)\nfor large catalogs and [saved searches](https://shopify.dev/docs/api/admin-graphql/latest/queries/collections#arguments-savedSearchId)\nfor frequently used collection queries.\n\nThe `collections` query returns collections with their associated metadata, including:\n\n- Basic collection information (title, description, handle, and type)\n- Collection image and SEO metadata\n- Product count and product relationships\n- Collection rules (for smart collections)\n- Publishing status and publication details\n- Metafields and custom attributes\n\nLearn more about [using metafields with smart collections](https://shopify.dev/docs/apps/build/custom-data/metafields/use-metafield-capabilities).")] + [NonNull] + public CollectionConnection? collections { get; set; } + /// ///Count of collections. Limited to a maximum of 10000 by default. /// - [Description("Count of collections. Limited to a maximum of 10000 by default.")] - public Count? collectionsCount { get; set; } - + [Description("Count of collections. Limited to a maximum of 10000 by default.")] + public Count? collectionsCount { get; set; } + /// ///Returns a `Comment` resource by ID. /// - [Description("Returns a `Comment` resource by ID.")] - public Comment? comment { get; set; } - + [Description("Returns a `Comment` resource by ID.")] + public Comment? comment { get; set; } + /// ///List of the shop's comments. /// - [Description("List of the shop's comments.")] - [NonNull] - public CommentConnection? comments { get; set; } - + [Description("List of the shop's comments.")] + [NonNull] + public CommentConnection? comments { get; set; } + /// ///Returns the list of companies in the shop. /// - [Description("Returns the list of companies in the shop.")] - [NonNull] - public CompanyConnection? companies { get; set; } - + [Description("Returns the list of companies in the shop.")] + [NonNull] + public CompanyConnection? companies { get; set; } + /// ///The number of companies for a shop. Limited to a maximum of 10000 by default. /// - [Description("The number of companies for a shop. Limited to a maximum of 10000 by default.")] - public Count? companiesCount { get; set; } - + [Description("The number of companies for a shop. Limited to a maximum of 10000 by default.")] + public Count? companiesCount { get; set; } + /// ///Returns a `Company` resource by ID. /// - [Description("Returns a `Company` resource by ID.")] - public Company? company { get; set; } - + [Description("Returns a `Company` resource by ID.")] + public Company? company { get; set; } + /// ///Returns a `CompanyContact` resource by ID. /// - [Description("Returns a `CompanyContact` resource by ID.")] - public CompanyContact? companyContact { get; set; } - + [Description("Returns a `CompanyContact` resource by ID.")] + public CompanyContact? companyContact { get; set; } + /// ///Returns a `CompanyContactRole` resource by ID. /// - [Description("Returns a `CompanyContactRole` resource by ID.")] - public CompanyContactRole? companyContactRole { get; set; } - + [Description("Returns a `CompanyContactRole` resource by ID.")] + public CompanyContactRole? companyContactRole { get; set; } + /// ///Returns a `CompanyLocation` resource by ID. /// - [Description("Returns a `CompanyLocation` resource by ID.")] - public CompanyLocation? companyLocation { get; set; } - + [Description("Returns a `CompanyLocation` resource by ID.")] + public CompanyLocation? companyLocation { get; set; } + /// ///Returns the list of company locations in the shop. /// - [Description("Returns the list of company locations in the shop.")] - [NonNull] - public CompanyLocationConnection? companyLocations { get; set; } - + [Description("Returns the list of company locations in the shop.")] + [NonNull] + public CompanyLocationConnection? companyLocations { get; set; } + /// ///Returns the customer privacy consent policies of a shop. /// - [Description("Returns the customer privacy consent policies of a shop.")] - [NonNull] - public IEnumerable? consentPolicy { get; set; } - + [Description("Returns the customer privacy consent policies of a shop.")] + [NonNull] + public IEnumerable? consentPolicy { get; set; } + /// ///List of countries and regions for which consent policies can be created or updated. /// - [Description("List of countries and regions for which consent policies can be created or updated.")] - [NonNull] - public IEnumerable? consentPolicyRegions { get; set; } - + [Description("List of countries and regions for which consent policies can be created or updated.")] + [NonNull] + public IEnumerable? consentPolicyRegions { get; set; } + /// ///Return the AppInstallation for the currently authenticated App. /// - [Description("Return the AppInstallation for the currently authenticated App.")] - [NonNull] - public AppInstallation? currentAppInstallation { get; set; } - + [Description("Return the AppInstallation for the currently authenticated App.")] + [NonNull] + public AppInstallation? currentAppInstallation { get; set; } + /// ///Returns the current app's most recent BulkOperation. Apps can run one bulk query and one bulk mutation operation at a time, by shop. /// - [Description("Returns the current app's most recent BulkOperation. Apps can run one bulk query and one bulk mutation operation at a time, by shop.")] - [Obsolete("Use `bulkOperations` with status filter instead.")] - public BulkOperation? currentBulkOperation { get; set; } - + [Description("Returns the current app's most recent BulkOperation. Apps can run one bulk query and one bulk mutation operation at a time, by shop.")] + [Obsolete("Use `bulkOperations` with status filter instead.")] + public BulkOperation? currentBulkOperation { get; set; } + /// ///The staff member making the API request. /// - [Description("The staff member making the API request.")] - public StaffMember? currentStaffMember { get; set; } - + [Description("The staff member making the API request.")] + public StaffMember? currentStaffMember { get; set; } + /// ///Returns a `Customer` resource by ID. /// - [Description("Returns a `Customer` resource by ID.")] - public Customer? customer { get; set; } - + [Description("Returns a `Customer` resource by ID.")] + public Customer? customer { get; set; } + /// ///Returns a `CustomerAccountPage` resource by ID. /// - [Description("Returns a `CustomerAccountPage` resource by ID.")] - public ICustomerAccountPage? customerAccountPage { get; set; } - + [Description("Returns a `CustomerAccountPage` resource by ID.")] + public ICustomerAccountPage? customerAccountPage { get; set; } + /// ///List of the shop's customer account pages. /// - [Description("List of the shop's customer account pages.")] - public CustomerAccountPageConnection? customerAccountPages { get; set; } - + [Description("List of the shop's customer account pages.")] + public CustomerAccountPageConnection? customerAccountPages { get; set; } + /// ///Return a customer by an identifier. /// - [Description("Return a customer by an identifier.")] - public Customer? customerByIdentifier { get; set; } - + [Description("Return a customer by an identifier.")] + public Customer? customerByIdentifier { get; set; } + /// ///Returns the status of a customer merge request job. /// - [Description("Returns the status of a customer merge request job.")] - public CustomerMergeRequest? customerMergeJobStatus { get; set; } - + [Description("Returns the status of a customer merge request job.")] + public CustomerMergeRequest? customerMergeJobStatus { get; set; } + /// ///Returns a preview of a customer merge request. /// - [Description("Returns a preview of a customer merge request.")] - [NonNull] - public CustomerMergePreview? customerMergePreview { get; set; } - + [Description("Returns a preview of a customer merge request.")] + [NonNull] + public CustomerMergePreview? customerMergePreview { get; set; } + /// ///Returns a CustomerPaymentMethod resource by its ID. /// - [Description("Returns a CustomerPaymentMethod resource by its ID.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("Returns a CustomerPaymentMethod resource by its ID.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///List of the shop's customer saved searches. /// - [Description("List of the shop's customer saved searches.")] - [NonNull] - public SavedSearchConnection? customerSavedSearches { get; set; } - + [Description("List of the shop's customer saved searches.")] + [NonNull] + public SavedSearchConnection? customerSavedSearches { get; set; } + /// ///The list of members, such as customers, that's associated with an individual segment. ///The maximum page size is 1000. /// - [Description("The list of members, such as customers, that's associated with an individual segment.\nThe maximum page size is 1000.")] - [NonNull] - public CustomerSegmentMemberConnection? customerSegmentMembers { get; set; } - + [Description("The list of members, such as customers, that's associated with an individual segment.\nThe maximum page size is 1000.")] + [NonNull] + public CustomerSegmentMemberConnection? customerSegmentMembers { get; set; } + /// ///Returns the total number of customers who match the criteria defined in a customer segment. This count provides real-time visibility into segment size for targeting and analysis purposes. /// @@ -102364,171 +102364,171 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///The count reflects current segment membership based on the segment's filter criteria, updating as customer data changes and new customers meet or no longer meet the segment conditions. /// - [Description("Returns the total number of customers who match the criteria defined in a customer segment. This count provides real-time visibility into segment size for targeting and analysis purposes.\n\nFor example, check the size of a \"High-Value Customers\" segment before launching a VIP program.\n\nThe count reflects current segment membership based on the segment's filter criteria, updating as customer data changes and new customers meet or no longer meet the segment conditions.")] - public Count? customerSegmentMembersCount { get; set; } - + [Description("Returns the total number of customers who match the criteria defined in a customer segment. This count provides real-time visibility into segment size for targeting and analysis purposes.\n\nFor example, check the size of a \"High-Value Customers\" segment before launching a VIP program.\n\nThe count reflects current segment membership based on the segment's filter criteria, updating as customer data changes and new customers meet or no longer meet the segment conditions.")] + public Count? customerSegmentMembersCount { get; set; } + /// ///Returns a `CustomerSegmentMembersQuery` resource by ID. /// - [Description("Returns a `CustomerSegmentMembersQuery` resource by ID.")] - public CustomerSegmentMembersQuery? customerSegmentMembersQuery { get; set; } - + [Description("Returns a `CustomerSegmentMembersQuery` resource by ID.")] + public CustomerSegmentMembersQuery? customerSegmentMembersQuery { get; set; } + /// ///Whether a member, which is a customer, belongs to a segment. /// - [Description("Whether a member, which is a customer, belongs to a segment.")] - [NonNull] - public SegmentMembershipResponse? customerSegmentMembership { get; set; } - + [Description("Whether a member, which is a customer, belongs to a segment.")] + [NonNull] + public SegmentMembershipResponse? customerSegmentMembership { get; set; } + /// ///Returns a list of [customers](https://shopify.dev/api/admin-graphql/latest/objects/Customer) in your Shopify store, including key information such as name, email, location, and purchase history. ///Use this query to segment your audience, personalize marketing campaigns, or analyze customer behavior by applying filters based on location, order history, marketing preferences and tags. ///The `customers` query supports [pagination](https://shopify.dev/api/usage/pagination-graphql) and [sorting](https://shopify.dev/api/admin-graphql/latest/enums/CustomerSortKeys). /// - [Description("Returns a list of [customers](https://shopify.dev/api/admin-graphql/latest/objects/Customer) in your Shopify store, including key information such as name, email, location, and purchase history.\nUse this query to segment your audience, personalize marketing campaigns, or analyze customer behavior by applying filters based on location, order history, marketing preferences and tags.\nThe `customers` query supports [pagination](https://shopify.dev/api/usage/pagination-graphql) and [sorting](https://shopify.dev/api/admin-graphql/latest/enums/CustomerSortKeys).")] - [NonNull] - public CustomerConnection? customers { get; set; } - + [Description("Returns a list of [customers](https://shopify.dev/api/admin-graphql/latest/objects/Customer) in your Shopify store, including key information such as name, email, location, and purchase history.\nUse this query to segment your audience, personalize marketing campaigns, or analyze customer behavior by applying filters based on location, order history, marketing preferences and tags.\nThe `customers` query supports [pagination](https://shopify.dev/api/usage/pagination-graphql) and [sorting](https://shopify.dev/api/admin-graphql/latest/enums/CustomerSortKeys).")] + [NonNull] + public CustomerConnection? customers { get; set; } + /// ///The number of customers. Limited to a maximum of 10000 by default. /// - [Description("The number of customers. Limited to a maximum of 10000 by default.")] - public Count? customersCount { get; set; } - + [Description("The number of customers. Limited to a maximum of 10000 by default.")] + public Count? customersCount { get; set; } + /// ///The paginated list of deletion events. /// - [Description("The paginated list of deletion events.")] - [Obsolete("Use `events` instead.")] - [NonNull] - public DeletionEventConnection? deletionEvents { get; set; } - + [Description("The paginated list of deletion events.")] + [Obsolete("Use `events` instead.")] + [NonNull] + public DeletionEventConnection? deletionEvents { get; set; } + /// ///The delivery customization. /// - [Description("The delivery customization.")] - public DeliveryCustomization? deliveryCustomization { get; set; } - + [Description("The delivery customization.")] + public DeliveryCustomization? deliveryCustomization { get; set; } + /// ///The delivery customizations. /// - [Description("The delivery customizations.")] - [NonNull] - public DeliveryCustomizationConnection? deliveryCustomizations { get; set; } - + [Description("The delivery customizations.")] + [NonNull] + public DeliveryCustomizationConnection? deliveryCustomizations { get; set; } + /// ///Returns a Delivery Profile resource by ID. /// - [Description("Returns a Delivery Profile resource by ID.")] - public DeliveryProfile? deliveryProfile { get; set; } - + [Description("Returns a Delivery Profile resource by ID.")] + public DeliveryProfile? deliveryProfile { get; set; } + /// ///Returns a list of saved delivery profiles. /// - [Description("Returns a list of saved delivery profiles.")] - [NonNull] - public DeliveryProfileConnection? deliveryProfiles { get; set; } - + [Description("Returns a list of saved delivery profiles.")] + [NonNull] + public DeliveryProfileConnection? deliveryProfiles { get; set; } + /// ///Returns delivery promise participants. /// - [Description("Returns delivery promise participants.")] - public DeliveryPromiseParticipantConnection? deliveryPromiseParticipants { get; set; } - + [Description("Returns delivery promise participants.")] + public DeliveryPromiseParticipantConnection? deliveryPromiseParticipants { get; set; } + /// ///Lookup a delivery promise provider. /// - [Description("Lookup a delivery promise provider.")] - public DeliveryPromiseProvider? deliveryPromiseProvider { get; set; } - + [Description("Lookup a delivery promise provider.")] + public DeliveryPromiseProvider? deliveryPromiseProvider { get; set; } + /// ///Represents the delivery promise settings for a shop. /// - [Description("Represents the delivery promise settings for a shop.")] - [NonNull] - public DeliveryPromiseSetting? deliveryPromiseSettings { get; set; } - + [Description("Represents the delivery promise settings for a shop.")] + [NonNull] + public DeliveryPromiseSetting? deliveryPromiseSettings { get; set; } + /// ///A SKU setting for a delivery promise. /// - [Description("A SKU setting for a delivery promise.")] - public DeliveryPromiseSkuSetting? deliveryPromiseSkuSetting { get; set; } - + [Description("A SKU setting for a delivery promise.")] + public DeliveryPromiseSkuSetting? deliveryPromiseSkuSetting { get; set; } + /// ///Returns the shop-wide shipping settings. /// - [Description("Returns the shop-wide shipping settings.")] - public DeliverySetting? deliverySettings { get; set; } - + [Description("Returns the shop-wide shipping settings.")] + public DeliverySetting? deliverySettings { get; set; } + /// ///The total number of discount codes for the shop. Limited to a maximum of 10000 by default. /// - [Description("The total number of discount codes for the shop. Limited to a maximum of 10000 by default.")] - public Count? discountCodesCount { get; set; } - + [Description("The total number of discount codes for the shop. Limited to a maximum of 10000 by default.")] + public Count? discountCodesCount { get; set; } + /// ///Returns a `DiscountNode` resource by ID. /// - [Description("Returns a `DiscountNode` resource by ID.")] - public DiscountNode? discountNode { get; set; } - + [Description("Returns a `DiscountNode` resource by ID.")] + public DiscountNode? discountNode { get; set; } + /// ///Returns a list of discounts. /// - [Description("Returns a list of discounts.")] - [NonNull] - public DiscountNodeConnection? discountNodes { get; set; } - + [Description("Returns a list of discounts.")] + [NonNull] + public DiscountNodeConnection? discountNodes { get; set; } + /// ///The total number of discounts for the shop. Limited to a maximum of 10000 by default. /// - [Description("The total number of discounts for the shop. Limited to a maximum of 10000 by default.")] - public Count? discountNodesCount { get; set; } - + [Description("The total number of discounts for the shop. Limited to a maximum of 10000 by default.")] + public Count? discountNodesCount { get; set; } + /// ///Returns a `DiscountRedeemCodeBulkCreation` resource by ID. /// - [Description("Returns a `DiscountRedeemCodeBulkCreation` resource by ID.")] - public DiscountRedeemCodeBulkCreation? discountRedeemCodeBulkCreation { get; set; } - + [Description("Returns a `DiscountRedeemCodeBulkCreation` resource by ID.")] + public DiscountRedeemCodeBulkCreation? discountRedeemCodeBulkCreation { get; set; } + /// ///List of the shop's redeemed discount code saved searches. /// - [Description("List of the shop's redeemed discount code saved searches.")] - [NonNull] - public SavedSearchConnection? discountRedeemCodeSavedSearches { get; set; } - + [Description("List of the shop's redeemed discount code saved searches.")] + [NonNull] + public SavedSearchConnection? discountRedeemCodeSavedSearches { get; set; } + /// ///Returns the discount resource feedback for the currently authenticated app. /// - [Description("Returns the discount resource feedback for the currently authenticated app.")] - public DiscountResourceFeedback? discountResourceFeedback { get; set; } - + [Description("Returns the discount resource feedback for the currently authenticated app.")] + public DiscountResourceFeedback? discountResourceFeedback { get; set; } + /// ///Returns a `ShopifyPaymentsDispute` resource by ID. /// - [Description("Returns a `ShopifyPaymentsDispute` resource by ID.")] - public ShopifyPaymentsDispute? dispute { get; set; } - + [Description("Returns a `ShopifyPaymentsDispute` resource by ID.")] + public ShopifyPaymentsDispute? dispute { get; set; } + /// ///Returns a `ShopifyPaymentsDisputeEvidence` resource by ID. /// - [Description("Returns a `ShopifyPaymentsDisputeEvidence` resource by ID.")] - public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } - + [Description("Returns a `ShopifyPaymentsDisputeEvidence` resource by ID.")] + public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } + /// ///All disputes related to the Shop. /// - [Description("All disputes related to the Shop.")] - [NonNull] - public ShopifyPaymentsDisputeConnection? disputes { get; set; } - + [Description("All disputes related to the Shop.")] + [NonNull] + public ShopifyPaymentsDisputeConnection? disputes { get; set; } + /// ///Returns a `Domain` resource by ID. /// - [Description("Returns a `Domain` resource by ID.")] - public Domain? domain { get; set; } - + [Description("Returns a `Domain` resource by ID.")] + public Domain? domain { get; set; } + /// ///Retrieves a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) by its ID. ///A draft order is an order created by a merchant on behalf of their @@ -102550,67 +102550,67 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///Each draft order has a [status](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder#field-DraftOrder.fields.status), ///which indicates its progress through the sales workflow. /// - [Description("Retrieves a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) by its ID.\nA draft order is an order created by a merchant on behalf of their\ncustomers. Draft orders contain all necessary order details (products, pricing, customer information)\nbut require payment to be accepted before they can be converted into\n[completed orders](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderComplete).\n\nUse the `draftOrder` query to retrieve information associated with the following workflows:\n\n- Creating orders for phone, in-person, or chat sales\n- Sending invoices to customers with secure checkout links\n- Managing custom items and additional costs\n- Selling products at discount or wholesale rates\n- Processing pre-orders and saving drafts for later completion\n\nA draft order is associated with a\n[customer](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)\nand contains multiple [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrderLineItem).\nEach draft order has a [status](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder#field-DraftOrder.fields.status),\nwhich indicates its progress through the sales workflow.")] - public DraftOrder? draftOrder { get; set; } - + [Description("Retrieves a [draft order](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder) by its ID.\nA draft order is an order created by a merchant on behalf of their\ncustomers. Draft orders contain all necessary order details (products, pricing, customer information)\nbut require payment to be accepted before they can be converted into\n[completed orders](https://shopify.dev/docs/api/admin-graphql/latest/mutations/draftOrderComplete).\n\nUse the `draftOrder` query to retrieve information associated with the following workflows:\n\n- Creating orders for phone, in-person, or chat sales\n- Sending invoices to customers with secure checkout links\n- Managing custom items and additional costs\n- Selling products at discount or wholesale rates\n- Processing pre-orders and saving drafts for later completion\n\nA draft order is associated with a\n[customer](https://shopify.dev/docs/api/admin-graphql/latest/objects/Customer)\nand contains multiple [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrderLineItem).\nEach draft order has a [status](https://shopify.dev/docs/api/admin-graphql/latest/objects/DraftOrder#field-DraftOrder.fields.status),\nwhich indicates its progress through the sales workflow.")] + public DraftOrder? draftOrder { get; set; } + /// ///Returns a list of available delivery options for a draft order. /// - [Description("Returns a list of available delivery options for a draft order.")] - [NonNull] - public DraftOrderAvailableDeliveryOptions? draftOrderAvailableDeliveryOptions { get; set; } - + [Description("Returns a list of available delivery options for a draft order.")] + [NonNull] + public DraftOrderAvailableDeliveryOptions? draftOrderAvailableDeliveryOptions { get; set; } + /// ///List of the shop's draft order saved searches. /// - [Description("List of the shop's draft order saved searches.")] - [NonNull] - public SavedSearchConnection? draftOrderSavedSearches { get; set; } - + [Description("List of the shop's draft order saved searches.")] + [NonNull] + public SavedSearchConnection? draftOrderSavedSearches { get; set; } + /// ///Returns a `DraftOrderTag` resource by ID. /// - [Description("Returns a `DraftOrderTag` resource by ID.")] - public DraftOrderTag? draftOrderTag { get; set; } - + [Description("Returns a `DraftOrderTag` resource by ID.")] + public DraftOrderTag? draftOrderTag { get; set; } + /// ///List of saved draft orders. /// - [Description("List of saved draft orders.")] - [NonNull] - public DraftOrderConnection? draftOrders { get; set; } - + [Description("List of saved draft orders.")] + [NonNull] + public DraftOrderConnection? draftOrders { get; set; } + /// ///Returns the number of draft orders that match the query. Limited to a maximum of 10000 by default. /// - [Description("Returns the number of draft orders that match the query. Limited to a maximum of 10000 by default.")] - public Count? draftOrdersCount { get; set; } - + [Description("Returns the number of draft orders that match the query. Limited to a maximum of 10000 by default.")] + public Count? draftOrdersCount { get; set; } + /// ///Get a single event by its id. /// - [Description("Get a single event by its id.")] - public IEvent? @event { get; set; } - + [Description("Get a single event by its id.")] + public IEvent? @event { get; set; } + /// ///The paginated list of events associated with the store. /// - [Description("The paginated list of events associated with the store.")] - public EventConnection? events { get; set; } - + [Description("The paginated list of events associated with the store.")] + public EventConnection? events { get; set; } + /// ///Count of events. Limited to a maximum of 10000. /// - [Description("Count of events. Limited to a maximum of 10000.")] - public Count? eventsCount { get; set; } - + [Description("Count of events. Limited to a maximum of 10000.")] + public Count? eventsCount { get; set; } + /// ///A list of the shop's file saved searches. /// - [Description("A list of the shop's file saved searches.")] - [NonNull] - public SavedSearchConnection? fileSavedSearches { get; set; } - + [Description("A list of the shop's file saved searches.")] + [NonNull] + public SavedSearchConnection? fileSavedSearches { get; set; } + /// ///Retrieves a paginated list of files that have been uploaded to a Shopify store. Files represent digital assets ///that merchants can upload to their store for various purposes including product images, marketing materials, @@ -102630,42 +102630,42 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///[themes](https://shopify.dev/docs/api/admin-graphql/latest/objects/OnlineStoreTheme), ///and other store resources. /// - [Description("Retrieves a paginated list of files that have been uploaded to a Shopify store. Files represent digital assets\nthat merchants can upload to their store for various purposes including product images, marketing materials,\ndocuments, and brand assets.\n\nUse the `files` query to retrieve information associated with the following workflows:\n\n- [Managing product media and images](https://shopify.dev/docs/apps/build/online-store/product-media)\n- [Theme development and asset management](https://shopify.dev/docs/storefronts/themes/store/success/brand-assets)\n- Brand asset management and [checkout branding](https://shopify.dev/docs/apps/build/checkout/styling/add-favicon)\n\nFiles can include multiple [content types](https://shopify.dev/docs/api/admin-graphql/latest/enums/FileContentType),\nsuch as images, videos, 3D models, and generic files. Each file has\nproperties like dimensions, file size, alt text for accessibility, and upload status. Files can be filtered\nby [media type](https://shopify.dev/docs/api/admin-graphql/latest/enums/MediaContentType) and can be associated with\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\n[themes](https://shopify.dev/docs/api/admin-graphql/latest/objects/OnlineStoreTheme),\nand other store resources.")] - [NonNull] - public FileConnection? files { get; set; } - + [Description("Retrieves a paginated list of files that have been uploaded to a Shopify store. Files represent digital assets\nthat merchants can upload to their store for various purposes including product images, marketing materials,\ndocuments, and brand assets.\n\nUse the `files` query to retrieve information associated with the following workflows:\n\n- [Managing product media and images](https://shopify.dev/docs/apps/build/online-store/product-media)\n- [Theme development and asset management](https://shopify.dev/docs/storefronts/themes/store/success/brand-assets)\n- Brand asset management and [checkout branding](https://shopify.dev/docs/apps/build/checkout/styling/add-favicon)\n\nFiles can include multiple [content types](https://shopify.dev/docs/api/admin-graphql/latest/enums/FileContentType),\nsuch as images, videos, 3D models, and generic files. Each file has\nproperties like dimensions, file size, alt text for accessibility, and upload status. Files can be filtered\nby [media type](https://shopify.dev/docs/api/admin-graphql/latest/enums/MediaContentType) and can be associated with\n[products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product),\n[themes](https://shopify.dev/docs/api/admin-graphql/latest/objects/OnlineStoreTheme),\nand other store resources.")] + [NonNull] + public FileConnection? files { get; set; } + /// ///Returns the access policy for a finance app . /// - [Description("Returns the access policy for a finance app .")] - [NonNull] - public FinanceAppAccessPolicy? financeAppAccessPolicy { get; set; } - + [Description("Returns the access policy for a finance app .")] + [NonNull] + public FinanceAppAccessPolicy? financeAppAccessPolicy { get; set; } + /// ///Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps. /// - [Description("Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps.")] - public FinanceKycInformation? financeKycInformation { get; set; } - + [Description("Returns the KYC information for the shop's Shopify Payments account, used in embedded finance apps.")] + public FinanceKycInformation? financeKycInformation { get; set; } + /// ///Returns a Fulfillment resource by ID. /// - [Description("Returns a Fulfillment resource by ID.")] - public Fulfillment? fulfillment { get; set; } - + [Description("Returns a Fulfillment resource by ID.")] + public Fulfillment? fulfillment { get; set; } + /// ///The fulfillment constraint rules that belong to a shop. /// - [Description("The fulfillment constraint rules that belong to a shop.")] - [NonNull] - public IEnumerable? fulfillmentConstraintRules { get; set; } - + [Description("The fulfillment constraint rules that belong to a shop.")] + [NonNull] + public IEnumerable? fulfillmentConstraintRules { get; set; } + /// ///Returns a `FulfillmentOrder` resource by ID. /// - [Description("Returns a `FulfillmentOrder` resource by ID.")] - public FulfillmentOrder? fulfillmentOrder { get; set; } - + [Description("Returns a `FulfillmentOrder` resource by ID.")] + public FulfillmentOrder? fulfillmentOrder { get; set; } + /// ///The paginated list of all fulfillment orders. ///The returned fulfillment orders are filtered according to the @@ -102679,42 +102679,42 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///[assignedFulfillmentOrders](https://shopify.dev/api/admin-graphql/2024-07/objects/queryroot#connection-assignedfulfillmentorders) ///connection. /// - [Description("The paginated list of all fulfillment orders.\nThe returned fulfillment orders are filtered according to the\n[fulfillment order access scopes](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder#api-access-scopes)\ngranted to the app.\n\nUse this query to retrieve fulfillment orders assigned to merchant-managed locations,\nthird-party fulfillment service locations, or all kinds of locations together.\n\nFor fetching only the fulfillment orders assigned to the app's locations, use the\n[assignedFulfillmentOrders](https://shopify.dev/api/admin-graphql/2024-07/objects/queryroot#connection-assignedfulfillmentorders)\nconnection.")] - [NonNull] - public FulfillmentOrderConnection? fulfillmentOrders { get; set; } - + [Description("The paginated list of all fulfillment orders.\nThe returned fulfillment orders are filtered according to the\n[fulfillment order access scopes](https://shopify.dev/api/admin-graphql/latest/objects/fulfillmentorder#api-access-scopes)\ngranted to the app.\n\nUse this query to retrieve fulfillment orders assigned to merchant-managed locations,\nthird-party fulfillment service locations, or all kinds of locations together.\n\nFor fetching only the fulfillment orders assigned to the app's locations, use the\n[assignedFulfillmentOrders](https://shopify.dev/api/admin-graphql/2024-07/objects/queryroot#connection-assignedfulfillmentorders)\nconnection.")] + [NonNull] + public FulfillmentOrderConnection? fulfillmentOrders { get; set; } + /// ///Returns a FulfillmentService resource by ID. /// - [Description("Returns a FulfillmentService resource by ID.")] - public FulfillmentService? fulfillmentService { get; set; } - + [Description("Returns a FulfillmentService resource by ID.")] + public FulfillmentService? fulfillmentService { get; set; } + /// ///Returns a gift card resource by ID. /// - [Description("Returns a gift card resource by ID.")] - public GiftCard? giftCard { get; set; } - + [Description("Returns a gift card resource by ID.")] + public GiftCard? giftCard { get; set; } + /// ///The configuration for the shop's gift cards. /// - [Description("The configuration for the shop's gift cards.")] - [NonNull] - public GiftCardConfiguration? giftCardConfiguration { get; set; } - + [Description("The configuration for the shop's gift cards.")] + [NonNull] + public GiftCardConfiguration? giftCardConfiguration { get; set; } + /// ///Returns a list of gift cards. /// - [Description("Returns a list of gift cards.")] - [NonNull] - public GiftCardConnection? giftCards { get; set; } - + [Description("Returns a list of gift cards.")] + [NonNull] + public GiftCardConnection? giftCards { get; set; } + /// ///The total number of gift cards issued for the shop. Limited to a maximum of 10000 by default. /// - [Description("The total number of gift cards issued for the shop. Limited to a maximum of 10000 by default.")] - public Count? giftCardsCount { get; set; } - + [Description("The total number of gift cards issued for the shop. Limited to a maximum of 10000 by default.")] + public Count? giftCardsCount { get; set; } + /// ///Retrieves comprehensive details about a specific Hydrogen storefront by its unique identifier. This query provides access to the complete storefront configuration, deployment status, environment settings, and associated metadata needed for development and management workflows. /// @@ -102735,16 +102735,16 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [managing Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started). /// - [Description("Retrieves comprehensive details about a specific Hydrogen storefront by its unique identifier. This query provides access to the complete storefront configuration, deployment status, environment settings, and associated metadata needed for development and management workflows.\n\nFor example, when developers need to inspect a storefront's current deployment state, environment variables, or customer account configuration before making updates, this query returns all relevant information in a single request.\n\nUse the `hydrogenStorefront` query to:\n- Fetch complete storefront configuration and status\n- Retrieve deployment history and current version information\n- Access environment-specific settings and variables\n- Validate storefront setup before performing operations\n- Monitor storefront health and deployment progress\n\nThe query supports comprehensive filtering and returns detailed information about storefront deployments, environment configurations, customer account settings, and any associated background jobs. This makes it essential for storefront management dashboards, CLI tools, and automated deployment systems.\n\nBackground job tracking allows monitoring of asynchronous operations like deployments or configuration updates, providing real-time status updates through the job system. The response includes user error handling for cases where the storefront doesn't exist or access is restricted.\n\nEnvironment variable access enables developers to verify configuration without exposing sensitive values, while deployment information helps track version history and rollback capabilities.\n\nLearn more about [managing Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started).")] - [NonNull] - public HydrogenStorefront? hydrogenStorefront { get; set; } - + [Description("Retrieves comprehensive details about a specific Hydrogen storefront by its unique identifier. This query provides access to the complete storefront configuration, deployment status, environment settings, and associated metadata needed for development and management workflows.\n\nFor example, when developers need to inspect a storefront's current deployment state, environment variables, or customer account configuration before making updates, this query returns all relevant information in a single request.\n\nUse the `hydrogenStorefront` query to:\n- Fetch complete storefront configuration and status\n- Retrieve deployment history and current version information\n- Access environment-specific settings and variables\n- Validate storefront setup before performing operations\n- Monitor storefront health and deployment progress\n\nThe query supports comprehensive filtering and returns detailed information about storefront deployments, environment configurations, customer account settings, and any associated background jobs. This makes it essential for storefront management dashboards, CLI tools, and automated deployment systems.\n\nBackground job tracking allows monitoring of asynchronous operations like deployments or configuration updates, providing real-time status updates through the job system. The response includes user error handling for cases where the storefront doesn't exist or access is restricted.\n\nEnvironment variable access enables developers to verify configuration without exposing sensitive values, while deployment information helps track version history and rollback capabilities.\n\nLearn more about [managing Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started).")] + [NonNull] + public HydrogenStorefront? hydrogenStorefront { get; set; } + /// ///Returns a HydrogenStorefrontJob by ID. /// - [Description("Returns a HydrogenStorefrontJob by ID.")] - public HydrogenStorefrontJob? hydrogenStorefrontJob { get; set; } - + [Description("Returns a HydrogenStorefrontJob by ID.")] + public HydrogenStorefrontJob? hydrogenStorefrontJob { get; set; } + /// ///Retrieves the complete collection of Hydrogen storefronts configured for a merchant's shop, providing comprehensive access to custom storefront implementations and their associated metadata. This query serves as the primary entry point for managing multiple Hydrogen deployments within a single Shopify store. /// @@ -102763,297 +102763,297 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [managing Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started). /// - [Description("Retrieves the complete collection of Hydrogen storefronts configured for a merchant's shop, providing comprehensive access to custom storefront implementations and their associated metadata. This query serves as the primary entry point for managing multiple Hydrogen deployments within a single Shopify store.\n\nFor example, a merchant running separate storefronts for different markets (US, EU, Canada) or different brands under one Shopify account can query all their Hydrogen implementations to monitor deployment status, manage environment variables, or coordinate updates across multiple storefronts.\n\nUse the `HydrogenStorefronts` query to:\n- Inventory all custom storefronts associated with a shop\n- Monitor deployment status across multiple Hydrogen implementations\n- Retrieve configuration details for storefront management operations\n- Coordinate bulk operations across multiple storefront environments\n- Access OAuth and authentication settings for each storefront\n\nThis query supports comprehensive storefront portfolio management, enabling developers to build CLI tools and dashboards that provide unified visibility into complex multi-storefront architectures. The response includes detailed configuration data, deployment information, and operational status for each storefront instance.\n\nThe query is particularly valuable for agencies or enterprise merchants managing sophisticated headless commerce implementations where multiple Hydrogen storefronts serve different customer segments, geographic regions, or brand portfolios within a single Shopify backend.\n\nLearn more about [managing Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started).")] - [NonNull] - public IEnumerable? hydrogenStorefronts { get; set; } - + [Description("Retrieves the complete collection of Hydrogen storefronts configured for a merchant's shop, providing comprehensive access to custom storefront implementations and their associated metadata. This query serves as the primary entry point for managing multiple Hydrogen deployments within a single Shopify store.\n\nFor example, a merchant running separate storefronts for different markets (US, EU, Canada) or different brands under one Shopify account can query all their Hydrogen implementations to monitor deployment status, manage environment variables, or coordinate updates across multiple storefronts.\n\nUse the `HydrogenStorefronts` query to:\n- Inventory all custom storefronts associated with a shop\n- Monitor deployment status across multiple Hydrogen implementations\n- Retrieve configuration details for storefront management operations\n- Coordinate bulk operations across multiple storefront environments\n- Access OAuth and authentication settings for each storefront\n\nThis query supports comprehensive storefront portfolio management, enabling developers to build CLI tools and dashboards that provide unified visibility into complex multi-storefront architectures. The response includes detailed configuration data, deployment information, and operational status for each storefront instance.\n\nThe query is particularly valuable for agencies or enterprise merchants managing sophisticated headless commerce implementations where multiple Hydrogen storefronts serve different customer segments, geographic regions, or brand portfolios within a single Shopify backend.\n\nLearn more about [managing Hydrogen storefronts](https://shopify.dev/docs/custom-storefronts/hydrogen/getting-started).")] + [NonNull] + public IEnumerable? hydrogenStorefronts { get; set; } + /// ///Returns an ///[InventoryItem](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem) ///object by ID. /// - [Description("Returns an\n[InventoryItem](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem)\nobject by ID.")] - public InventoryItem? inventoryItem { get; set; } - + [Description("Returns an\n[InventoryItem](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryItem)\nobject by ID.")] + public InventoryItem? inventoryItem { get; set; } + /// ///Returns a list of inventory items. /// - [Description("Returns a list of inventory items.")] - [NonNull] - public InventoryItemConnection? inventoryItems { get; set; } - + [Description("Returns a list of inventory items.")] + [NonNull] + public InventoryItemConnection? inventoryItems { get; set; } + /// ///Returns an ///[InventoryLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel) ///object by ID. /// - [Description("Returns an\n[InventoryLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel)\nobject by ID.")] - public InventoryLevel? inventoryLevel { get; set; } - + [Description("Returns an\n[InventoryLevel](https://shopify.dev/docs/api/admin-graphql/latest/objects/InventoryLevel)\nobject by ID.")] + public InventoryLevel? inventoryLevel { get; set; } + /// ///General inventory properties for the shop. /// - [Description("General inventory properties for the shop.")] - [NonNull] - public InventoryProperties? inventoryProperties { get; set; } - + [Description("General inventory properties for the shop.")] + [NonNull] + public InventoryProperties? inventoryProperties { get; set; } + /// ///Returns an inventory shipment by ID. /// - [Description("Returns an inventory shipment by ID.")] - public InventoryShipment? inventoryShipment { get; set; } - + [Description("Returns an inventory shipment by ID.")] + public InventoryShipment? inventoryShipment { get; set; } + /// ///Returns an inventory transfer by ID. /// - [Description("Returns an inventory transfer by ID.")] - public InventoryTransfer? inventoryTransfer { get; set; } - + [Description("Returns an inventory transfer by ID.")] + public InventoryTransfer? inventoryTransfer { get; set; } + /// ///Returns a paginated list of transfers. /// - [Description("Returns a paginated list of transfers.")] - [NonNull] - public InventoryTransferConnection? inventoryTransfers { get; set; } - + [Description("Returns a paginated list of transfers.")] + [NonNull] + public InventoryTransferConnection? inventoryTransfers { get; set; } + /// ///Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes. /// - [Description("Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.")] - public Job? job { get; set; } - + [Description("Returns a Job resource by ID. Used to check the status of internal jobs and any applicable changes.")] + public Job? job { get; set; } + /// ///Returns an inventory Location resource by ID. /// - [Description("Returns an inventory Location resource by ID.")] - public Location? location { get; set; } - + [Description("Returns an inventory Location resource by ID.")] + public Location? location { get; set; } + /// ///Return a location by an identifier. /// - [Description("Return a location by an identifier.")] - public Location? locationByIdentifier { get; set; } - + [Description("Return a location by an identifier.")] + public Location? locationByIdentifier { get; set; } + /// ///Returns a list of active inventory locations. /// - [Description("Returns a list of active inventory locations.")] - [NonNull] - public LocationConnection? locations { get; set; } - + [Description("Returns a list of active inventory locations.")] + [NonNull] + public LocationConnection? locations { get; set; } + /// ///Returns a list of all origin locations available for a delivery profile. /// - [Description("Returns a list of all origin locations available for a delivery profile.")] - [Obsolete("Use `locationsAvailableForDeliveryProfilesConnection` instead.")] - public IEnumerable? locationsAvailableForDeliveryProfiles { get; set; } - + [Description("Returns a list of all origin locations available for a delivery profile.")] + [Obsolete("Use `locationsAvailableForDeliveryProfilesConnection` instead.")] + public IEnumerable? locationsAvailableForDeliveryProfiles { get; set; } + /// ///Returns a list of all origin locations available for a delivery profile. /// - [Description("Returns a list of all origin locations available for a delivery profile.")] - [NonNull] - public LocationConnection? locationsAvailableForDeliveryProfilesConnection { get; set; } - + [Description("Returns a list of all origin locations available for a delivery profile.")] + [NonNull] + public LocationConnection? locationsAvailableForDeliveryProfilesConnection { get; set; } + /// ///Returns the count of locations for the given shop. Limited to a maximum of 10000 by default. /// - [Description("Returns the count of locations for the given shop. Limited to a maximum of 10000 by default.")] - public Count? locationsCount { get; set; } - + [Description("Returns the count of locations for the given shop. Limited to a maximum of 10000 by default.")] + public Count? locationsCount { get; set; } + /// ///Returns a list of fulfillment orders that are on hold. /// - [Description("Returns a list of fulfillment orders that are on hold.")] - [NonNull] - public FulfillmentOrderConnection? manualHoldsFulfillmentOrders { get; set; } - + [Description("Returns a list of fulfillment orders that are on hold.")] + [NonNull] + public FulfillmentOrderConnection? manualHoldsFulfillmentOrders { get; set; } + /// ///Returns a `Market` resource by ID. /// - [Description("Returns a `Market` resource by ID.")] - public Market? market { get; set; } - + [Description("Returns a `Market` resource by ID.")] + public Market? market { get; set; } + /// ///Returns the applicable market for a customer based on where they are in the world. /// - [Description("Returns the applicable market for a customer based on where they are in the world.")] - [Obsolete("This `market_by_geography` field will be removed in a future version of the API.")] - public Market? marketByGeography { get; set; } - + [Description("Returns the applicable market for a customer based on where they are in the world.")] + [Obsolete("This `market_by_geography` field will be removed in a future version of the API.")] + public Market? marketByGeography { get; set; } + /// ///A resource that can have localized values for different markets. /// - [Description("A resource that can have localized values for different markets.")] - public MarketLocalizableResource? marketLocalizableResource { get; set; } - + [Description("A resource that can have localized values for different markets.")] + public MarketLocalizableResource? marketLocalizableResource { get; set; } + /// ///Resources that can have localized values for different markets. /// - [Description("Resources that can have localized values for different markets.")] - [NonNull] - public MarketLocalizableResourceConnection? marketLocalizableResources { get; set; } - + [Description("Resources that can have localized values for different markets.")] + [NonNull] + public MarketLocalizableResourceConnection? marketLocalizableResources { get; set; } + /// ///Resources that can have localized values for different markets. /// - [Description("Resources that can have localized values for different markets.")] - [NonNull] - public MarketLocalizableResourceConnection? marketLocalizableResourcesByIds { get; set; } - + [Description("Resources that can have localized values for different markets.")] + [NonNull] + public MarketLocalizableResourceConnection? marketLocalizableResourcesByIds { get; set; } + /// ///A list of marketing activities associated with the marketing app. /// - [Description("A list of marketing activities associated with the marketing app.")] - [NonNull] - public MarketingActivityConnection? marketingActivities { get; set; } - + [Description("A list of marketing activities associated with the marketing app.")] + [NonNull] + public MarketingActivityConnection? marketingActivities { get; set; } + /// ///Returns a `MarketingActivity` resource by ID. /// - [Description("Returns a `MarketingActivity` resource by ID.")] - public MarketingActivity? marketingActivity { get; set; } - + [Description("Returns a `MarketingActivity` resource by ID.")] + public MarketingActivity? marketingActivity { get; set; } + /// ///Returns a `MarketingEvent` resource by ID. /// - [Description("Returns a `MarketingEvent` resource by ID.")] - public MarketingEvent? marketingEvent { get; set; } - + [Description("Returns a `MarketingEvent` resource by ID.")] + public MarketingEvent? marketingEvent { get; set; } + /// ///A list of marketing events associated with the marketing app. /// - [Description("A list of marketing events associated with the marketing app.")] - [NonNull] - public MarketingEventConnection? marketingEvents { get; set; } - + [Description("A list of marketing events associated with the marketing app.")] + [NonNull] + public MarketingEventConnection? marketingEvents { get; set; } + /// ///Returns the current payment configuration for a shop for a marketplace. /// - [Description("Returns the current payment configuration for a shop for a marketplace.")] - public MarketplacePaymentsConfiguration? marketplacePaymentsConfiguration { get; set; } - + [Description("Returns the current payment configuration for a shop for a marketplace.")] + public MarketplacePaymentsConfiguration? marketplacePaymentsConfiguration { get; set; } + /// ///The markets configured for the shop. /// - [Description("The markets configured for the shop.")] - [NonNull] - public MarketConnection? markets { get; set; } - + [Description("The markets configured for the shop.")] + [NonNull] + public MarketConnection? markets { get; set; } + /// ///The resolved values for a buyer signal. /// - [Description("The resolved values for a buyer signal.")] - [NonNull] - public MarketsResolvedValues? marketsResolvedValues { get; set; } - + [Description("The resolved values for a buyer signal.")] + [NonNull] + public MarketsResolvedValues? marketsResolvedValues { get; set; } + /// ///Returns a `Menu` resource by ID. /// - [Description("Returns a `Menu` resource by ID.")] - public Menu? menu { get; set; } - + [Description("Returns a `Menu` resource by ID.")] + public Menu? menu { get; set; } + /// ///The shop's menus. /// - [Description("The shop's menus.")] - [NonNull] - public MenuConnection? menus { get; set; } - + [Description("The shop's menus.")] + [NonNull] + public MenuConnection? menus { get; set; } + /// ///Count of menus. /// - [Description("Count of menus.")] - public Count? menusCount { get; set; } - + [Description("Count of menus.")] + public Count? menusCount { get; set; } + /// ///Returns a metafield definition by identifier. /// - [Description("Returns a metafield definition by identifier.")] - public MetafieldDefinition? metafieldDefinition { get; set; } - + [Description("Returns a metafield definition by identifier.")] + public MetafieldDefinition? metafieldDefinition { get; set; } + /// ///Each metafield definition has a type, which defines the type of information that it can store. ///This type is enforced across every instance of the resource that owns the metafield definition. /// ///Refer to the [list of supported metafield types](https://shopify.dev/apps/metafields/types). /// - [Description("Each metafield definition has a type, which defines the type of information that it can store.\nThis type is enforced across every instance of the resource that owns the metafield definition.\n\nRefer to the [list of supported metafield types](https://shopify.dev/apps/metafields/types).")] - [NonNull] - public IEnumerable? metafieldDefinitionTypes { get; set; } - + [Description("Each metafield definition has a type, which defines the type of information that it can store.\nThis type is enforced across every instance of the resource that owns the metafield definition.\n\nRefer to the [list of supported metafield types](https://shopify.dev/apps/metafields/types).")] + [NonNull] + public IEnumerable? metafieldDefinitionTypes { get; set; } + /// ///Returns a list of metafield definitions. /// - [Description("Returns a list of metafield definitions.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("Returns a list of metafield definitions.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A paginated list of metafields. /// - [Description("A paginated list of metafields.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A paginated list of metafields.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///Retrieves a metaobject by ID. /// - [Description("Retrieves a metaobject by ID.")] - public Metaobject? metaobject { get; set; } - + [Description("Retrieves a metaobject by ID.")] + public Metaobject? metaobject { get; set; } + /// ///Retrieves a metaobject by handle. /// - [Description("Retrieves a metaobject by handle.")] - public Metaobject? metaobjectByHandle { get; set; } - + [Description("Retrieves a metaobject by handle.")] + public Metaobject? metaobjectByHandle { get; set; } + /// ///Retrieves a metaobject definition by ID. /// - [Description("Retrieves a metaobject definition by ID.")] - public MetaobjectDefinition? metaobjectDefinition { get; set; } - + [Description("Retrieves a metaobject definition by ID.")] + public MetaobjectDefinition? metaobjectDefinition { get; set; } + /// ///Finds a metaobject definition by type. /// - [Description("Finds a metaobject definition by type.")] - public MetaobjectDefinition? metaobjectDefinitionByType { get; set; } - + [Description("Finds a metaobject definition by type.")] + public MetaobjectDefinition? metaobjectDefinitionByType { get; set; } + /// ///All metaobject definitions. /// - [Description("All metaobject definitions.")] - [NonNull] - public MetaobjectDefinitionConnection? metaobjectDefinitions { get; set; } - + [Description("All metaobject definitions.")] + [NonNull] + public MetaobjectDefinitionConnection? metaobjectDefinitions { get; set; } + /// ///All metaobjects for the shop. /// - [Description("All metaobjects for the shop.")] - [NonNull] - public MetaobjectConnection? metaobjects { get; set; } - + [Description("All metaobjects for the shop.")] + [NonNull] + public MetaobjectConnection? metaobjects { get; set; } + /// ///Return a mobile platform application by its ID. /// - [Description("Return a mobile platform application by its ID.")] - public IMobilePlatformApplication? mobilePlatformApplication { get; set; } - + [Description("Return a mobile platform application by its ID.")] + public IMobilePlatformApplication? mobilePlatformApplication { get; set; } + /// ///List the mobile platform applications. /// - [Description("List the mobile platform applications.")] - [NonNull] - public MobilePlatformApplicationConnection? mobilePlatformApplications { get; set; } - + [Description("List the mobile platform applications.")] + [NonNull] + public MobilePlatformApplicationConnection? mobilePlatformApplications { get; set; } + /// ///Determine if a shop is eligibile to sell NFTs. /// - [Description("Determine if a shop is eligibile to sell NFTs.")] - [NonNull] - public NftSalesEligibilityResult? nftSalesEligibility { get; set; } - + [Description("Determine if a shop is eligibile to sell NFTs.")] + [NonNull] + public NftSalesEligibilityResult? nftSalesEligibility { get; set; } + /// ///Returns a specific node (any object that implements the ///[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node) @@ -103061,26 +103061,26 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification). ///This field is commonly used for refetching an object. /// - [Description("Returns a specific node (any object that implements the\n[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node)\ninterface) by ID, in accordance with the\n[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification).\nThis field is commonly used for refetching an object.")] - public INode? node { get; set; } - + [Description("Returns a specific node (any object that implements the\n[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node)\ninterface) by ID, in accordance with the\n[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification).\nThis field is commonly used for refetching an object.")] + public INode? node { get; set; } + /// ///Returns the list of nodes (any objects that implement the ///[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node) ///interface) with the given IDs, in accordance with the ///[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification). /// - [Description("Returns the list of nodes (any objects that implement the\n[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node)\ninterface) with the given IDs, in accordance with the\n[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification).")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("Returns the list of nodes (any objects that implement the\n[Node](https://shopify.dev/api/admin-graphql/latest/interfaces/Node)\ninterface) with the given IDs, in accordance with the\n[Relay specification](https://relay.dev/docs/guides/graphql-server-specification/#object-identification).")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///The shop's online store channel. /// - [Description("The shop's online store channel.")] - [NonNull] - public OnlineStore? onlineStore { get; set; } - + [Description("The shop's online store channel.")] + [NonNull] + public OnlineStore? onlineStore { get; set; } + /// ///The `order` query retrieves an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/order) by its ID. This query provides access to comprehensive order information such as customer details, line items, financial data, and fulfillment status. /// @@ -103097,147 +103097,147 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///Bulk operations handle pagination automatically and allow you to retrieve data asynchronously without being constrained by API rate limits. ///Learn more about [creating orders](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate) and [building order management apps](https://shopify.dev/docs/apps/build/orders-fulfillment). /// - [Description("The `order` query retrieves an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/order) by its ID. This query provides access to comprehensive order information such as customer details, line items, financial data, and fulfillment status.\n\nUse the `order` query to retrieve information associated with the following processes:\n\n- [Order management and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps)\n- [Financial reporting](https://help.shopify.com/manual/finance)\n- [Customer purchase history](https://help.shopify.com/manual/reports-and-analytics/shopify-reports/report-types/default-reports/customers-reports) and [transaction analysis](https://shopify.dev/docs/apps/launch/billing/view-charges-earnings#transaction-data-through-the-graphql-admin-api)\n- [Shipping](https://shopify.dev/docs/apps/build/checkout/delivery-shipping) and [inventory management](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps)\n\nYou can only retrieve the last 60 days worth of orders from a store by default. If you want to access older orders, then you need to [request access to all orders](https://shopify.dev/docs/api/usage/access-scopes#orders-permissions).\n\nFor large order datasets, consider using [bulk operations](https://shopify.dev/docs/api/usage/bulk-operations/queries).\nBulk operations handle pagination automatically and allow you to retrieve data asynchronously without being constrained by API rate limits.\nLearn more about [creating orders](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate) and [building order management apps](https://shopify.dev/docs/apps/build/orders-fulfillment).")] - public Order? order { get; set; } - + [Description("The `order` query retrieves an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/order) by its ID. This query provides access to comprehensive order information such as customer details, line items, financial data, and fulfillment status.\n\nUse the `order` query to retrieve information associated with the following processes:\n\n- [Order management and fulfillment](https://shopify.dev/docs/apps/build/orders-fulfillment/order-management-apps)\n- [Financial reporting](https://help.shopify.com/manual/finance)\n- [Customer purchase history](https://help.shopify.com/manual/reports-and-analytics/shopify-reports/report-types/default-reports/customers-reports) and [transaction analysis](https://shopify.dev/docs/apps/launch/billing/view-charges-earnings#transaction-data-through-the-graphql-admin-api)\n- [Shipping](https://shopify.dev/docs/apps/build/checkout/delivery-shipping) and [inventory management](https://shopify.dev/docs/apps/build/orders-fulfillment/inventory-management-apps)\n\nYou can only retrieve the last 60 days worth of orders from a store by default. If you want to access older orders, then you need to [request access to all orders](https://shopify.dev/docs/api/usage/access-scopes#orders-permissions).\n\nFor large order datasets, consider using [bulk operations](https://shopify.dev/docs/api/usage/bulk-operations/queries).\nBulk operations handle pagination automatically and allow you to retrieve data asynchronously without being constrained by API rate limits.\nLearn more about [creating orders](https://shopify.dev/docs/api/admin-graphql/latest/mutations/ordercreate) and [building order management apps](https://shopify.dev/docs/apps/build/orders-fulfillment).")] + public Order? order { get; set; } + /// ///Return an order by an identifier. /// - [Description("Return an order by an identifier.")] - public Order? orderByIdentifier { get; set; } - + [Description("Return an order by an identifier.")] + public Order? orderByIdentifier { get; set; } + /// ///Returns a `OrderEditSession` resource by ID. /// - [Description("Returns a `OrderEditSession` resource by ID.")] - public OrderEditSession? orderEditSession { get; set; } - + [Description("Returns a `OrderEditSession` resource by ID.")] + public OrderEditSession? orderEditSession { get; set; } + /// ///Returns a payment status by payment reference ID. Used to check the status of a deferred payment. /// - [Description("Returns a payment status by payment reference ID. Used to check the status of a deferred payment.")] - public OrderPaymentStatus? orderPaymentStatus { get; set; } - + [Description("Returns a payment status by payment reference ID. Used to check the status of a deferred payment.")] + public OrderPaymentStatus? orderPaymentStatus { get; set; } + /// ///List of the shop's order saved searches. /// - [Description("List of the shop's order saved searches.")] - [NonNull] - public SavedSearchConnection? orderSavedSearches { get; set; } - + [Description("List of the shop's order saved searches.")] + [NonNull] + public SavedSearchConnection? orderSavedSearches { get; set; } + /// ///Returns a list of [orders](https://shopify.dev/api/admin-graphql/latest/objects/Order) placed in the store, including data such as order status, customer, and line item details. ///Use the `orders` query to build reports, analyze sales performance, or automate fulfillment workflows. The `orders` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql), ///[sorting](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders#arguments-sortKey), and [filtering](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders#arguments-query). /// - [Description("Returns a list of [orders](https://shopify.dev/api/admin-graphql/latest/objects/Order) placed in the store, including data such as order status, customer, and line item details.\nUse the `orders` query to build reports, analyze sales performance, or automate fulfillment workflows. The `orders` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql),\n[sorting](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders#arguments-sortKey), and [filtering](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders#arguments-query).")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("Returns a list of [orders](https://shopify.dev/api/admin-graphql/latest/objects/Order) placed in the store, including data such as order status, customer, and line item details.\nUse the `orders` query to build reports, analyze sales performance, or automate fulfillment workflows. The `orders` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql),\n[sorting](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders#arguments-sortKey), and [filtering](https://shopify.dev/docs/api/admin-graphql/latest/queries/orders#arguments-query).")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///Returns the count of orders for the given shop. Limited to a maximum of 10000 by default. /// - [Description("Returns the count of orders for the given shop. Limited to a maximum of 10000 by default.")] - public Count? ordersCount { get; set; } - + [Description("Returns the count of orders for the given shop. Limited to a maximum of 10000 by default.")] + public Count? ordersCount { get; set; } + /// ///Returns a `Page` resource by ID. /// - [Description("Returns a `Page` resource by ID.")] - public Page? page { get; set; } - + [Description("Returns a `Page` resource by ID.")] + public Page? page { get; set; } + /// ///List of the shop's pages. /// - [Description("List of the shop's pages.")] - [NonNull] - public PageConnection? pages { get; set; } - + [Description("List of the shop's pages.")] + [NonNull] + public PageConnection? pages { get; set; } + /// ///Count of pages. Limited to a maximum of 10000 by default. /// - [Description("Count of pages. Limited to a maximum of 10000 by default.")] - public Count? pagesCount { get; set; } - + [Description("Count of pages. Limited to a maximum of 10000 by default.")] + public Count? pagesCount { get; set; } + /// ///The payment customization. /// - [Description("The payment customization.")] - public PaymentCustomization? paymentCustomization { get; set; } - + [Description("The payment customization.")] + public PaymentCustomization? paymentCustomization { get; set; } + /// ///The payment customizations. /// - [Description("The payment customizations.")] - [NonNull] - public PaymentCustomizationConnection? paymentCustomizations { get; set; } - + [Description("The payment customizations.")] + [NonNull] + public PaymentCustomizationConnection? paymentCustomizations { get; set; } + /// ///The list of payment terms templates eligible for all shops and users. /// - [Description("The list of payment terms templates eligible for all shops and users.")] - [NonNull] - public IEnumerable? paymentTermsTemplates { get; set; } - + [Description("The list of payment terms templates eligible for all shops and users.")] + [NonNull] + public IEnumerable? paymentTermsTemplates { get; set; } + /// ///The number of pendings orders. Limited to a maximum of 10000. /// - [Description("The number of pendings orders. Limited to a maximum of 10000.")] - public Count? pendingOrdersCount { get; set; } - + [Description("The number of pendings orders. Limited to a maximum of 10000.")] + public Count? pendingOrdersCount { get; set; } + /// ///Events that impact storefront performance, measured via RUM (Real User Monitoring). /// - [Description("Events that impact storefront performance, measured via RUM (Real User Monitoring).")] - public IEnumerable? performanceEvents { get; set; } - + [Description("Events that impact storefront performance, measured via RUM (Real User Monitoring).")] + public IEnumerable? performanceEvents { get; set; } + /// ///RUM (Real User Monitoring) performance metrics for a shop. /// - [Description("RUM (Real User Monitoring) performance metrics for a shop.")] - public IEnumerable? performanceMetrics { get; set; } - + [Description("RUM (Real User Monitoring) performance metrics for a shop.")] + public IEnumerable? performanceMetrics { get; set; } + /// ///The set of features associated with a plan. /// - [Description("The set of features associated with a plan.")] - [NonNull] - public IEnumerable? planAddOnFeatureSet { get; set; } - + [Description("The set of features associated with a plan.")] + [NonNull] + public IEnumerable? planAddOnFeatureSet { get; set; } + /// ///Returns a `PointOfSaleDevice` resource by ID. /// - [Description("Returns a `PointOfSaleDevice` resource by ID.")] - public PointOfSaleDevice? pointOfSaleDevice { get; set; } - + [Description("Returns a `PointOfSaleDevice` resource by ID.")] + public PointOfSaleDevice? pointOfSaleDevice { get; set; } + /// ///Returns a price list resource by ID. /// - [Description("Returns a price list resource by ID.")] - public PriceList? priceList { get; set; } - + [Description("Returns a price list resource by ID.")] + public PriceList? priceList { get; set; } + /// ///All price lists for a shop. /// - [Description("All price lists for a shop.")] - [NonNull] - public PriceListConnection? priceLists { get; set; } - + [Description("All price lists for a shop.")] + [NonNull] + public PriceListConnection? priceLists { get; set; } + /// ///The primary market of the shop. /// - [Description("The primary market of the shop.")] - [Obsolete("Use `backupRegion` instead.")] - [NonNull] - public Market? primaryMarket { get; set; } - + [Description("The primary market of the shop.")] + [Obsolete("Use `backupRegion` instead.")] + [NonNull] + public Market? primaryMarket { get; set; } + /// ///Privacy related settings for a shop. /// - [Description("Privacy related settings for a shop.")] - [NonNull] - public PrivacySettings? privacySettings { get; set; } - + [Description("Privacy related settings for a shop.")] + [NonNull] + public PrivacySettings? privacySettings { get; set; } + /// ///Retrieves a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) by its ID. ///A product is an item that a merchant can sell in their store. @@ -103251,42 +103251,42 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components). /// - [Description("Retrieves a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) by its ID.\nA product is an item that a merchant can sell in their store.\n\nUse the `product` query when you need to:\n\n- Access essential product data (for example, title, description, price, images, SEO metadata, and metafields).\n- Build product detail pages and manage inventory.\n- Handle international sales with localized pricing and content.\n- Manage product variants and product options.\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] - public Product? product { get; set; } - + [Description("Retrieves a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) by its ID.\nA product is an item that a merchant can sell in their store.\n\nUse the `product` query when you need to:\n\n- Access essential product data (for example, title, description, price, images, SEO metadata, and metafields).\n- Build product detail pages and manage inventory.\n- Handle international sales with localized pricing and content.\n- Manage product variants and product options.\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] + public Product? product { get; set; } + /// ///Return a product by its handle. /// - [Description("Return a product by its handle.")] - [Obsolete("Use `productByIdentifier` instead.")] - public Product? productByHandle { get; set; } - + [Description("Return a product by its handle.")] + [Obsolete("Use `productByIdentifier` instead.")] + public Product? productByHandle { get; set; } + /// ///Return a product by an identifier. /// - [Description("Return a product by an identifier.")] - public Product? productByIdentifier { get; set; } - + [Description("Return a product by an identifier.")] + public Product? productByIdentifier { get; set; } + /// ///Returns the product duplicate job. /// - [Description("Returns the product duplicate job.")] - [NonNull] - public ProductDuplicateJob? productDuplicateJob { get; set; } - + [Description("Returns the product duplicate job.")] + [NonNull] + public ProductDuplicateJob? productDuplicateJob { get; set; } + /// ///Returns a ProductFeed resource by ID. /// - [Description("Returns a ProductFeed resource by ID.")] - public ProductFeed? productFeed { get; set; } - + [Description("Returns a ProductFeed resource by ID.")] + public ProductFeed? productFeed { get; set; } + /// ///The product feeds for the shop. /// - [Description("The product feeds for the shop.")] - [NonNull] - public ProductFeedConnection? productFeeds { get; set; } - + [Description("The product feeds for the shop.")] + [NonNull] + public ProductFeedConnection? productFeeds { get; set; } + /// ///Returns a ProductOperation resource by ID. /// @@ -103305,9 +103305,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///[ProductSetOperation](https://shopify.dev/api/admin-graphql/current/objects/ProductSetOperation), the ///`userErrors` field provides mutation errors that occurred during the operation. /// - [Description("Returns a ProductOperation resource by ID.\n\nThis can be used to query the\n[ProductSetOperation](https://shopify.dev/api/admin-graphql/current/objects/ProductSetOperation), using\nthe ID that was returned\n[when the product was created or updated](https://shopify.dev/api/admin/migrate/new-product-model/sync-data#create-a-product-with-variants-and-options-asynchronously)\nby the\n[ProductSet](https://shopify.dev/api/admin-graphql/current/mutations/productSet) mutation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the created or updated product.\n\nFor the\n[ProductSetOperation](https://shopify.dev/api/admin-graphql/current/objects/ProductSetOperation), the\n`userErrors` field provides mutation errors that occurred during the operation.")] - public IProductOperation? productOperation { get; set; } - + [Description("Returns a ProductOperation resource by ID.\n\nThis can be used to query the\n[ProductSetOperation](https://shopify.dev/api/admin-graphql/current/objects/ProductSetOperation), using\nthe ID that was returned\n[when the product was created or updated](https://shopify.dev/api/admin/migrate/new-product-model/sync-data#create-a-product-with-variants-and-options-asynchronously)\nby the\n[ProductSet](https://shopify.dev/api/admin-graphql/current/mutations/productSet) mutation.\n\nThe `status` field indicates whether the operation is `CREATED`, `ACTIVE`, or `COMPLETE`.\n\nThe `product` field provides the details of the created or updated product.\n\nFor the\n[ProductSetOperation](https://shopify.dev/api/admin-graphql/current/objects/ProductSetOperation), the\n`userErrors` field provides mutation errors that occurred during the operation.")] + public IProductOperation? productOperation { get; set; } + /// ///Retrieves product resource feedback for the currently authenticated app, providing insights into product data quality, completeness, and optimization opportunities. This feedback helps apps guide merchants toward better product listings and improved store performance. /// @@ -103330,23 +103330,23 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about [product optimization](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product). /// - [Description("Retrieves product resource feedback for the currently authenticated app, providing insights into product data quality, completeness, and optimization opportunities. This feedback helps apps guide merchants toward better product listings and improved store performance.\n\nFor example, an SEO app might receive feedback indicating that certain products lack meta descriptions or have suboptimal titles, enabling the app to provide specific recommendations for improving search visibility and conversion rates.\n\nUse `ProductResourceFeedback` to:\n- Display product optimization recommendations to merchants\n- Identify data quality issues across product catalogs\n- Build product improvement workflows and guided experiences\n- Track progress on product listing completeness and quality\n- Implement automated product auditing and scoring systems\n- Generate reports on catalog health and optimization opportunities\n- Provide contextual suggestions within product editing interfaces\n\nThe feedback system evaluates products against various criteria including SEO best practices, required fields, media quality, and sales channel requirements. Each feedback item includes specific details about the issue, suggested improvements, and priority levels.\n\nFeedback is app-specific and reflects the particular focus of your application - marketing apps receive different insights than inventory management apps. The system continuously updates as merchants make changes, providing real-time guidance for product optimization.\n\nThis resource is particularly valuable for apps that help merchants improve their product listings, optimize for search engines, or enhance their overall catalog quality. The feedback enables proactive suggestions rather than reactive problem-solving.\n\nLearn more about [product optimization](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product).")] - public ProductResourceFeedback? productResourceFeedback { get; set; } - + [Description("Retrieves product resource feedback for the currently authenticated app, providing insights into product data quality, completeness, and optimization opportunities. This feedback helps apps guide merchants toward better product listings and improved store performance.\n\nFor example, an SEO app might receive feedback indicating that certain products lack meta descriptions or have suboptimal titles, enabling the app to provide specific recommendations for improving search visibility and conversion rates.\n\nUse `ProductResourceFeedback` to:\n- Display product optimization recommendations to merchants\n- Identify data quality issues across product catalogs\n- Build product improvement workflows and guided experiences\n- Track progress on product listing completeness and quality\n- Implement automated product auditing and scoring systems\n- Generate reports on catalog health and optimization opportunities\n- Provide contextual suggestions within product editing interfaces\n\nThe feedback system evaluates products against various criteria including SEO best practices, required fields, media quality, and sales channel requirements. Each feedback item includes specific details about the issue, suggested improvements, and priority levels.\n\nFeedback is app-specific and reflects the particular focus of your application - marketing apps receive different insights than inventory management apps. The system continuously updates as merchants make changes, providing real-time guidance for product optimization.\n\nThis resource is particularly valuable for apps that help merchants improve their product listings, optimize for search engines, or enhance their overall catalog quality. The feedback enables proactive suggestions rather than reactive problem-solving.\n\nLearn more about [product optimization](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product).")] + public ProductResourceFeedback? productResourceFeedback { get; set; } + /// ///Returns a list of the shop's product saved searches. /// - [Description("Returns a list of the shop's product saved searches.")] - [NonNull] - public SavedSearchConnection? productSavedSearches { get; set; } - + [Description("Returns a list of the shop's product saved searches.")] + [NonNull] + public SavedSearchConnection? productSavedSearches { get; set; } + /// ///A list of tags that have been added to products. ///The maximum page size is 5000. /// - [Description("A list of tags that have been added to products.\nThe maximum page size is 5000.")] - public StringConnection? productTags { get; set; } - + [Description("A list of tags that have been added to products.\nThe maximum page size is 5000.")] + public StringConnection? productTags { get; set; } + /// ///Returns the nodes of the product taxonomy based on the arguments provided. ///If a `search` argument is provided, then all nodes that match the search query globally are returned. @@ -103354,18 +103354,18 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///If a `siblings_of` argument is provided, then all siblings of the specified node are returned. ///If no arguments are provided, then all the top-level nodes of the taxonomy are returned. /// - [Description("Returns the nodes of the product taxonomy based on the arguments provided.\nIf a `search` argument is provided, then all nodes that match the search query globally are returned.\nIf a `children_of` argument is provided, then all children of the specified node are returned.\nIf a `siblings_of` argument is provided, then all siblings of the specified node are returned.\nIf no arguments are provided, then all the top-level nodes of the taxonomy are returned.")] - [Obsolete("Use `taxonomy.categories` instead. This connection will be removed in the future.")] - [NonNull] - public ProductTaxonomyNodeConnection? productTaxonomyNodes { get; set; } - + [Description("Returns the nodes of the product taxonomy based on the arguments provided.\nIf a `search` argument is provided, then all nodes that match the search query globally are returned.\nIf a `children_of` argument is provided, then all children of the specified node are returned.\nIf a `siblings_of` argument is provided, then all siblings of the specified node are returned.\nIf no arguments are provided, then all the top-level nodes of the taxonomy are returned.")] + [Obsolete("Use `taxonomy.categories` instead. This connection will be removed in the future.")] + [NonNull] + public ProductTaxonomyNodeConnection? productTaxonomyNodes { get; set; } + /// ///The list of types added to products. ///The maximum page size is 1000. /// - [Description("The list of types added to products.\nThe maximum page size is 1000.")] - public StringConnection? productTypes { get; set; } - + [Description("The list of types added to products.\nThe maximum page size is 1000.")] + public StringConnection? productTypes { get; set; } + /// ///Retrieves a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) by its ID. /// @@ -103384,15 +103384,15 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components). /// - [Description("Retrieves a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) by its ID.\n\nA product variant is a specific version of a\n[product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) that comes in more than\none [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption),\nsuch as size or color. For example, if a merchant sells t-shirts with options for size and color,\nthen a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.\n\nUse the `productVariant` query when you need to:\n\n- Access essential product variant data (for example, title, price, image, and metafields).\n- Build product detail pages and manage inventory.\n- Handle international sales with localized pricing and content.\n- Manage product variants that are part of a bundle or selling plan.\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] - public ProductVariant? productVariant { get; set; } - + [Description("Retrieves a [product variant](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) by its ID.\n\nA product variant is a specific version of a\n[product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) that comes in more than\none [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption),\nsuch as size or color. For example, if a merchant sells t-shirts with options for size and color,\nthen a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.\n\nUse the `productVariant` query when you need to:\n\n- Access essential product variant data (for example, title, price, image, and metafields).\n- Build product detail pages and manage inventory.\n- Handle international sales with localized pricing and content.\n- Manage product variants that are part of a bundle or selling plan.\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] + public ProductVariant? productVariant { get; set; } + /// ///Return a product variant by an identifier. /// - [Description("Return a product variant by an identifier.")] - public ProductVariant? productVariantByIdentifier { get; set; } - + [Description("Return a product variant by an identifier.")] + public ProductVariant? productVariantByIdentifier { get; set; } + /// ///Retrieves a list of [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant) ///associated with a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product). @@ -103421,23 +103421,23 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components). /// - [Description("Retrieves a list of [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nassociated with a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product).\n\nA product variant is a specific version of a product that comes in more than\none [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption),\nsuch as size or color. For example, if a merchant sells t-shirts with options for size and color,\nthen a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.\n\nUse the `productVariants` query when you need to:\n\n- Search for product variants by attributes such as SKU, barcode, or inventory quantity.\n- Filter product variants by attributes, such as whether they're gift cards or have custom metafields.\n- Fetch product variants for bulk operations, such as updating prices or inventory.\n- Preload data for product variants, such as inventory items, selected options, or associated products.\n\nThe `productVariants` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql)\nto handle large product catalogs and [saved searches](https://shopify.dev/docs/api/admin-graphql/latest/queries/productVariants#arguments-savedSearchId)\nfor frequently used product variant queries.\n\nThe `productVariants` query returns product variants with their associated metadata, including:\n\n- Basic product variant information (for example, title, SKU, barcode, price, and inventory)\n- Media attachments (for example, images and videos)\n- Associated products, selling plans, bundles, and metafields\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] - [NonNull] - public ProductVariantConnection? productVariants { get; set; } - + [Description("Retrieves a list of [product variants](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductVariant)\nassociated with a [product](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product).\n\nA product variant is a specific version of a product that comes in more than\none [option](https://shopify.dev/docs/api/admin-graphql/latest/objects/ProductOption),\nsuch as size or color. For example, if a merchant sells t-shirts with options for size and color,\nthen a small, blue t-shirt would be one product variant and a large, blue t-shirt would be another.\n\nUse the `productVariants` query when you need to:\n\n- Search for product variants by attributes such as SKU, barcode, or inventory quantity.\n- Filter product variants by attributes, such as whether they're gift cards or have custom metafields.\n- Fetch product variants for bulk operations, such as updating prices or inventory.\n- Preload data for product variants, such as inventory items, selected options, or associated products.\n\nThe `productVariants` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql)\nto handle large product catalogs and [saved searches](https://shopify.dev/docs/api/admin-graphql/latest/queries/productVariants#arguments-savedSearchId)\nfor frequently used product variant queries.\n\nThe `productVariants` query returns product variants with their associated metadata, including:\n\n- Basic product variant information (for example, title, SKU, barcode, price, and inventory)\n- Media attachments (for example, images and videos)\n- Associated products, selling plans, bundles, and metafields\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] + [NonNull] + public ProductVariantConnection? productVariants { get; set; } + /// ///Count of product variants. Limited to a maximum of 10000 by default. /// - [Description("Count of product variants. Limited to a maximum of 10000 by default.")] - public Count? productVariantsCount { get; set; } - + [Description("Count of product variants. Limited to a maximum of 10000 by default.")] + public Count? productVariantsCount { get; set; } + /// ///The list of vendors added to products. ///The maximum page size is 1000. /// - [Description("The list of vendors added to products.\nThe maximum page size is 1000.")] - public StringConnection? productVendors { get; set; } - + [Description("The list of vendors added to products.\nThe maximum page size is 1000.")] + public StringConnection? productVendors { get; set; } + /// ///Retrieves a list of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product) ///in a store. Products are the items that merchants can sell in their store. @@ -103464,48 +103464,48 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Learn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components). /// - [Description("Retrieves a list of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nin a store. Products are the items that merchants can sell in their store.\n\nUse the `products` query when you need to:\n\n- Build a browsing interface for a product catalog.\n- Create product [searching](https://shopify.dev/docs/api/usage/search-syntax), [sorting](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-sortKey), and [filtering](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-query) experiences.\n- Implement product recommendations.\n- Sync product data with external systems.\n\nThe `products` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql)\nto handle large product catalogs and [saved searches](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-savedSearchId)\nfor frequently used product queries.\n\nThe `products` query returns products with their associated metadata, including:\n\n- Basic product information (for example, title, description, vendor, and type)\n- Product options and product variants, with their prices and inventory\n- Media attachments (for example, images and videos)\n- SEO metadata\n- Product categories and tags\n- Product availability and publishing statuses\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] - [NonNull] - public ProductConnection? products { get; set; } - + [Description("Retrieves a list of [products](https://shopify.dev/docs/api/admin-graphql/latest/objects/Product)\nin a store. Products are the items that merchants can sell in their store.\n\nUse the `products` query when you need to:\n\n- Build a browsing interface for a product catalog.\n- Create product [searching](https://shopify.dev/docs/api/usage/search-syntax), [sorting](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-sortKey), and [filtering](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-query) experiences.\n- Implement product recommendations.\n- Sync product data with external systems.\n\nThe `products` query supports [pagination](https://shopify.dev/docs/api/usage/pagination-graphql)\nto handle large product catalogs and [saved searches](https://shopify.dev/docs/api/admin-graphql/latest/queries/products#arguments-savedSearchId)\nfor frequently used product queries.\n\nThe `products` query returns products with their associated metadata, including:\n\n- Basic product information (for example, title, description, vendor, and type)\n- Product options and product variants, with their prices and inventory\n- Media attachments (for example, images and videos)\n- SEO metadata\n- Product categories and tags\n- Product availability and publishing statuses\n\nLearn more about working with [Shopify's product model](https://shopify.dev/docs/apps/build/graphql/migrate/new-product-model/product-model-components).")] + [NonNull] + public ProductConnection? products { get; set; } + /// ///Count of products. Limited to a maximum of 10000 by default. /// - [Description("Count of products. Limited to a maximum of 10000 by default.")] - public Count? productsCount { get; set; } - + [Description("Count of products. Limited to a maximum of 10000 by default.")] + public Count? productsCount { get; set; } + /// ///The list of publicly-accessible Admin API versions, including supported versions, the release candidate, and unstable versions. /// - [Description("The list of publicly-accessible Admin API versions, including supported versions, the release candidate, and unstable versions.")] - [NonNull] - public IEnumerable? publicApiVersions { get; set; } - + [Description("The list of publicly-accessible Admin API versions, including supported versions, the release candidate, and unstable versions.")] + [NonNull] + public IEnumerable? publicApiVersions { get; set; } + /// ///Lookup a publication by ID. /// - [Description("Lookup a publication by ID.")] - public Publication? publication { get; set; } - + [Description("Lookup a publication by ID.")] + public Publication? publication { get; set; } + /// ///List of publications. /// - [Description("List of publications.")] - [NonNull] - public PublicationConnection? publications { get; set; } - + [Description("List of publications.")] + [NonNull] + public PublicationConnection? publications { get; set; } + /// ///Count of publications. Limited to a maximum of 10000 by default. /// - [Description("Count of publications. Limited to a maximum of 10000 by default.")] - public Count? publicationsCount { get; set; } - + [Description("Count of publications. Limited to a maximum of 10000 by default.")] + public Count? publicationsCount { get; set; } + /// ///Returns a count of published products by publication ID. Limited to a maximum of 10000 by default. /// - [Description("Returns a count of published products by publication ID. Limited to a maximum of 10000 by default.")] - public Count? publishedProductsCount { get; set; } - + [Description("Returns a count of published products by publication ID. Limited to a maximum of 10000 by default.")] + public Count? publishedProductsCount { get; set; } + /// ///Retrieves a [refund](https://shopify.dev/docs/api/admin-graphql/latest/objects/Refund) by its ID. ///A refund represents a financial record of money returned to a customer from an order. @@ -103527,9 +103527,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///[order transactions](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction) ///that handle the actual money transfer back to the customer. /// - [Description("Retrieves a [refund](https://shopify.dev/docs/api/admin-graphql/latest/objects/Refund) by its ID.\nA refund represents a financial record of money returned to a customer from an order.\nIt provides a comprehensive view of all refunded amounts, transactions, and restocking\ninstructions associated with returning products or correcting order issues.\n\nUse the `refund` query to retrieve information associated with the following workflows:\n\n- Displaying refund details in order management interfaces\n- Building customer service tools for reviewing refund history\n- Creating reports on refunded amounts and reasons\n- Auditing refund transactions and payment gateway records\n- Tracking inventory impacts from refunded items\n\nA refund is associated with an\n[order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand includes [refund line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/RefundLineItem)\nthat specify which items were refunded. Each refund processes through\n[order transactions](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction)\nthat handle the actual money transfer back to the customer.")] - public Refund? refund { get; set; } - + [Description("Retrieves a [refund](https://shopify.dev/docs/api/admin-graphql/latest/objects/Refund) by its ID.\nA refund represents a financial record of money returned to a customer from an order.\nIt provides a comprehensive view of all refunded amounts, transactions, and restocking\ninstructions associated with returning products or correcting order issues.\n\nUse the `refund` query to retrieve information associated with the following workflows:\n\n- Displaying refund details in order management interfaces\n- Building customer service tools for reviewing refund history\n- Creating reports on refunded amounts and reasons\n- Auditing refund transactions and payment gateway records\n- Tracking inventory impacts from refunded items\n\nA refund is associated with an\n[order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand includes [refund line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/RefundLineItem)\nthat specify which items were refunded. Each refund processes through\n[order transactions](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction)\nthat handle the actual money transfer back to the customer.")] + public Refund? refund { get; set; } + /// ///Retrieves a return by its ID. A return represents the intent of a buyer to ship one or more items from an ///order back to a merchant or a third-party fulfillment location. @@ -103546,40 +103546,40 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///Each return has a [status](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps#return-statuses), ///which indicates the state of the return. /// - [Description("Retrieves a return by its ID. A return represents the intent of a buyer to ship one or more items from an\norder back to a merchant or a third-party fulfillment location.\n\nUse the `return` query to retrieve information associated with the following workflows:\n\n- [Managing returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\n- [Processing exchanges](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-exchanges)\n- [Tracking reverse fulfillment orders](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-fulfillment-orders)\n\nA return is associated with an\n[order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand can include multiple return [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem).\nEach return has a [status](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps#return-statuses),\nwhich indicates the state of the return.")] - public Return? @return { get; set; } - + [Description("Retrieves a return by its ID. A return represents the intent of a buyer to ship one or more items from an\norder back to a merchant or a third-party fulfillment location.\n\nUse the `return` query to retrieve information associated with the following workflows:\n\n- [Managing returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\n- [Processing exchanges](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-exchanges)\n- [Tracking reverse fulfillment orders](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-fulfillment-orders)\n\nA return is associated with an\n[order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand can include multiple return [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem).\nEach return has a [status](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps#return-statuses),\nwhich indicates the state of the return.")] + public Return? @return { get; set; } + /// ///The calculated monetary value to be exchanged due to the return. /// - [Description("The calculated monetary value to be exchanged due to the return.")] - public CalculatedReturn? returnCalculate { get; set; } - + [Description("The calculated monetary value to be exchanged due to the return.")] + public CalculatedReturn? returnCalculate { get; set; } + /// ///Returns a `ReturnableFulfillment` resource by ID. /// - [Description("Returns a `ReturnableFulfillment` resource by ID.")] - public ReturnableFulfillment? returnableFulfillment { get; set; } - + [Description("Returns a `ReturnableFulfillment` resource by ID.")] + public ReturnableFulfillment? returnableFulfillment { get; set; } + /// ///List of returnable fulfillments. /// - [Description("List of returnable fulfillments.")] - [NonNull] - public ReturnableFulfillmentConnection? returnableFulfillments { get; set; } - + [Description("List of returnable fulfillments.")] + [NonNull] + public ReturnableFulfillmentConnection? returnableFulfillments { get; set; } + /// ///Lookup a reverse delivery by ID. /// - [Description("Lookup a reverse delivery by ID.")] - public ReverseDelivery? reverseDelivery { get; set; } - + [Description("Lookup a reverse delivery by ID.")] + public ReverseDelivery? reverseDelivery { get; set; } + /// ///Lookup a reverse fulfillment order by ID. /// - [Description("Lookup a reverse fulfillment order by ID.")] - public ReverseFulfillmentOrder? reverseFulfillmentOrder { get; set; } - + [Description("Lookup a reverse fulfillment order by ID.")] + public ReverseFulfillmentOrder? reverseFulfillmentOrder { get; set; } + /// ///<div class="note" > <h4>Theme app extensions</h4> /// <p>If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. <a href="/apps/online-store#what-integration-method-should-i-use" target="_blank" >Learn more</a>.</p> </div> @@ -103590,9 +103590,9 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Returns a `ScriptTag` resource by ID. /// - [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nReturns a `ScriptTag` resource by ID.")] - public ScriptTag? scriptTag { get; set; } - + [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nReturns a `ScriptTag` resource by ID.")] + public ScriptTag? scriptTag { get; set; } + /// ///<div class="note" > <h4>Theme app extensions</h4> /// <p>If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. <a href="/apps/online-store#what-integration-method-should-i-use" target="_blank" >Learn more</a>.</p> </div> @@ -103603,342 +103603,342 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///A list of script tags. /// - [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nA list of script tags.")] - [NonNull] - public ScriptTagConnection? scriptTags { get; set; } - + [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nA list of script tags.")] + [NonNull] + public ScriptTagConnection? scriptTags { get; set; } + /// ///The Customer Segment. /// - [Description("The Customer Segment.")] - public Segment? segment { get; set; } - + [Description("The Customer Segment.")] + public Segment? segment { get; set; } + /// ///A list of filter suggestions associated with a segment. A segment is a group of members (commonly customers) that meet specific criteria. /// - [Description("A list of filter suggestions associated with a segment. A segment is a group of members (commonly customers) that meet specific criteria.")] - [NonNull] - public SegmentFilterConnection? segmentFilterSuggestions { get; set; } - + [Description("A list of filter suggestions associated with a segment. A segment is a group of members (commonly customers) that meet specific criteria.")] + [NonNull] + public SegmentFilterConnection? segmentFilterSuggestions { get; set; } + /// ///A list of filters. /// - [Description("A list of filters.")] - [NonNull] - public SegmentFilterConnection? segmentFilters { get; set; } - + [Description("A list of filters.")] + [NonNull] + public SegmentFilterConnection? segmentFilters { get; set; } + /// ///A list of a shop's segment migrations. /// - [Description("A list of a shop's segment migrations.")] - [NonNull] - public SegmentMigrationConnection? segmentMigrations { get; set; } - + [Description("A list of a shop's segment migrations.")] + [NonNull] + public SegmentMigrationConnection? segmentMigrations { get; set; } + /// ///The list of suggested values corresponding to a particular filter for a segment. A segment is a group of members, such as customers, that meet specific criteria. /// - [Description("The list of suggested values corresponding to a particular filter for a segment. A segment is a group of members, such as customers, that meet specific criteria.")] - [NonNull] - public SegmentValueConnection? segmentValueSuggestions { get; set; } - + [Description("The list of suggested values corresponding to a particular filter for a segment. A segment is a group of members, such as customers, that meet specific criteria.")] + [NonNull] + public SegmentValueConnection? segmentValueSuggestions { get; set; } + /// ///A list of a shop's segments. /// - [Description("A list of a shop's segments.")] - [NonNull] - public SegmentConnection? segments { get; set; } - + [Description("A list of a shop's segments.")] + [NonNull] + public SegmentConnection? segments { get; set; } + /// ///The number of segments for a shop. Limited to a maximum of 10000 by default. /// - [Description("The number of segments for a shop. Limited to a maximum of 10000 by default.")] - public Count? segmentsCount { get; set; } - + [Description("The number of segments for a shop. Limited to a maximum of 10000 by default.")] + public Count? segmentsCount { get; set; } + /// ///Returns a `SellingPlanGroup` resource by ID. /// - [Description("Returns a `SellingPlanGroup` resource by ID.")] - public SellingPlanGroup? sellingPlanGroup { get; set; } - + [Description("Returns a `SellingPlanGroup` resource by ID.")] + public SellingPlanGroup? sellingPlanGroup { get; set; } + /// ///List Selling Plan Groups. /// - [Description("List Selling Plan Groups.")] - [NonNull] - public SellingPlanGroupConnection? sellingPlanGroups { get; set; } - + [Description("List Selling Plan Groups.")] + [NonNull] + public SellingPlanGroupConnection? sellingPlanGroups { get; set; } + /// ///The server pixel configured by the app. /// - [Description("The server pixel configured by the app.")] - public ServerPixel? serverPixel { get; set; } - + [Description("The server pixel configured by the app.")] + public ServerPixel? serverPixel { get; set; } + /// ///Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains ///business and store management settings for the shop. /// - [Description("Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains\nbusiness and store management settings for the shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("Returns the Shop resource corresponding to the access token used in the request. The Shop resource contains\nbusiness and store management settings for the shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The shop's billing preferences. /// - [Description("The shop's billing preferences.")] - [NonNull] - public ShopBillingPreferences? shopBillingPreferences { get; set; } - + [Description("The shop's billing preferences.")] + [NonNull] + public ShopBillingPreferences? shopBillingPreferences { get; set; } + /// ///A list of locales available on a shop. /// - [Description("A list of locales available on a shop.")] - [NonNull] - public IEnumerable? shopLocales { get; set; } - + [Description("A list of locales available on a shop.")] + [NonNull] + public IEnumerable? shopLocales { get; set; } + /// ///Returns a Shop Pay payment request receipt. /// - [Description("Returns a Shop Pay payment request receipt.")] - public ShopPayPaymentRequestReceipt? shopPayPaymentRequestReceipt { get; set; } - + [Description("Returns a Shop Pay payment request receipt.")] + public ShopPayPaymentRequestReceipt? shopPayPaymentRequestReceipt { get; set; } + /// ///Returns a list of Shop Pay payment request receipts. /// - [Description("Returns a list of Shop Pay payment request receipts.")] - public ShopPayPaymentRequestReceiptConnection? shopPayPaymentRequestReceipts { get; set; } - + [Description("Returns a list of Shop Pay payment request receipts.")] + public ShopPayPaymentRequestReceiptConnection? shopPayPaymentRequestReceipts { get; set; } + /// ///Returns a Shopify Function by its ID. ///[Functions](https://shopify.dev/apps/build/functions) ///enable you to customize Shopify's backend logic at defined parts of the commerce loop. /// - [Description("Returns a Shopify Function by its ID.\n[Functions](https://shopify.dev/apps/build/functions)\nenable you to customize Shopify's backend logic at defined parts of the commerce loop.")] - public ShopifyFunction? shopifyFunction { get; set; } - + [Description("Returns a Shopify Function by its ID.\n[Functions](https://shopify.dev/apps/build/functions)\nenable you to customize Shopify's backend logic at defined parts of the commerce loop.")] + public ShopifyFunction? shopifyFunction { get; set; } + /// ///Returns the Shopify Functions owned by the querying API client installed on the shop. /// - [Description("Returns the Shopify Functions owned by the querying API client installed on the shop.")] - [NonNull] - public ShopifyFunctionConnection? shopifyFunctions { get; set; } - + [Description("Returns the Shopify Functions owned by the querying API client installed on the shop.")] + [NonNull] + public ShopifyFunctionConnection? shopifyFunctions { get; set; } + /// ///Shopify Payments account information, including balances and payouts. /// - [Description("Shopify Payments account information, including balances and payouts.")] - public ShopifyPaymentsAccount? shopifyPaymentsAccount { get; set; } - + [Description("Shopify Payments account information, including balances and payouts.")] + public ShopifyPaymentsAccount? shopifyPaymentsAccount { get; set; } + /// ///Returns the results of a ShopifyQL query. /// - [Description("Returns the results of a ShopifyQL query.")] - public ShopifyqlQueryResponse? shopifyqlQuery { get; set; } - + [Description("Returns the results of a ShopifyQL query.")] + public ShopifyqlQueryResponse? shopifyqlQuery { get; set; } + /// ///The StaffMember resource, by ID. /// - [Description("The StaffMember resource, by ID.")] - public StaffMember? staffMember { get; set; } - + [Description("The StaffMember resource, by ID.")] + public StaffMember? staffMember { get; set; } + /// ///The shop staff members. /// - [Description("The shop staff members.")] - public StaffMemberConnection? staffMembers { get; set; } - + [Description("The shop staff members.")] + public StaffMemberConnection? staffMembers { get; set; } + /// ///Standard metafield definitions are intended for specific, common use cases. Their namespace and keys reflect these use cases and are reserved. /// ///Refer to all available [`Standard Metafield Definition Templates`](https://shopify.dev/api/admin-graphql/latest/objects/StandardMetafieldDefinitionTemplate). /// - [Description("Standard metafield definitions are intended for specific, common use cases. Their namespace and keys reflect these use cases and are reserved.\n\nRefer to all available [`Standard Metafield Definition Templates`](https://shopify.dev/api/admin-graphql/latest/objects/StandardMetafieldDefinitionTemplate).")] - [NonNull] - public StandardMetafieldDefinitionTemplateConnection? standardMetafieldDefinitionTemplates { get; set; } - + [Description("Standard metafield definitions are intended for specific, common use cases. Their namespace and keys reflect these use cases and are reserved.\n\nRefer to all available [`Standard Metafield Definition Templates`](https://shopify.dev/api/admin-graphql/latest/objects/StandardMetafieldDefinitionTemplate).")] + [NonNull] + public StandardMetafieldDefinitionTemplateConnection? standardMetafieldDefinitionTemplates { get; set; } + /// ///Returns a store credit account resource by ID. /// - [Description("Returns a store credit account resource by ID.")] - public StoreCreditAccount? storeCreditAccount { get; set; } - + [Description("Returns a store credit account resource by ID.")] + public StoreCreditAccount? storeCreditAccount { get; set; } + /// ///Returns a `SubscriptionBillingAttempt` resource by ID. /// - [Description("Returns a `SubscriptionBillingAttempt` resource by ID.")] - public SubscriptionBillingAttempt? subscriptionBillingAttempt { get; set; } - + [Description("Returns a `SubscriptionBillingAttempt` resource by ID.")] + public SubscriptionBillingAttempt? subscriptionBillingAttempt { get; set; } + /// ///Returns subscription billing attempts on a store. /// - [Description("Returns subscription billing attempts on a store.")] - [NonNull] - public SubscriptionBillingAttemptConnection? subscriptionBillingAttempts { get; set; } - + [Description("Returns subscription billing attempts on a store.")] + [NonNull] + public SubscriptionBillingAttemptConnection? subscriptionBillingAttempts { get; set; } + /// ///Returns a subscription billing cycle found either by cycle index or date. /// - [Description("Returns a subscription billing cycle found either by cycle index or date.")] - public SubscriptionBillingCycle? subscriptionBillingCycle { get; set; } - + [Description("Returns a subscription billing cycle found either by cycle index or date.")] + public SubscriptionBillingCycle? subscriptionBillingCycle { get; set; } + /// ///Retrieves the results of the asynchronous job for the subscription billing cycle bulk action based on the specified job ID. ///This query can be used to obtain the billing cycles that match the criteria defined in the subscriptionBillingCycleBulkSearch and subscriptionBillingCycleBulkCharge mutations. /// - [Description("Retrieves the results of the asynchronous job for the subscription billing cycle bulk action based on the specified job ID.\nThis query can be used to obtain the billing cycles that match the criteria defined in the subscriptionBillingCycleBulkSearch and subscriptionBillingCycleBulkCharge mutations.")] - [NonNull] - public SubscriptionBillingCycleConnection? subscriptionBillingCycleBulkResults { get; set; } - + [Description("Retrieves the results of the asynchronous job for the subscription billing cycle bulk action based on the specified job ID.\nThis query can be used to obtain the billing cycles that match the criteria defined in the subscriptionBillingCycleBulkSearch and subscriptionBillingCycleBulkCharge mutations.")] + [NonNull] + public SubscriptionBillingCycleConnection? subscriptionBillingCycleBulkResults { get; set; } + /// ///Returns subscription billing cycles for a contract ID. /// - [Description("Returns subscription billing cycles for a contract ID.")] - [NonNull] - public SubscriptionBillingCycleConnection? subscriptionBillingCycles { get; set; } - + [Description("Returns subscription billing cycles for a contract ID.")] + [NonNull] + public SubscriptionBillingCycleConnection? subscriptionBillingCycles { get; set; } + /// ///Returns a Subscription Contract resource by ID. /// - [Description("Returns a Subscription Contract resource by ID.")] - public SubscriptionContract? subscriptionContract { get; set; } - + [Description("Returns a Subscription Contract resource by ID.")] + public SubscriptionContract? subscriptionContract { get; set; } + /// ///List Subscription Contracts. /// - [Description("List Subscription Contracts.")] - [NonNull] - public SubscriptionContractConnection? subscriptionContracts { get; set; } - + [Description("List Subscription Contracts.")] + [NonNull] + public SubscriptionContractConnection? subscriptionContracts { get; set; } + /// ///Returns a Subscription Draft resource by ID. /// - [Description("Returns a Subscription Draft resource by ID.")] - public SubscriptionDraft? subscriptionDraft { get; set; } - + [Description("Returns a Subscription Draft resource by ID.")] + public SubscriptionDraft? subscriptionDraft { get; set; } + /// ///Gateway used for subscription charges. /// - [Description("Gateway used for subscription charges.")] - public SubscriptionGateway? subscriptionGateway { get; set; } - + [Description("Gateway used for subscription charges.")] + public SubscriptionGateway? subscriptionGateway { get; set; } + /// ///The list of payment gateways that can be used for subscription contract migrations. /// - [Description("The list of payment gateways that can be used for subscription contract migrations.")] - [NonNull] - public IEnumerable? subscriptionMigrationGateways { get; set; } - + [Description("The list of payment gateways that can be used for subscription contract migrations.")] + [NonNull] + public IEnumerable? subscriptionMigrationGateways { get; set; } + /// ///The Taxonomy resource lets you access the categories, attributes and values of the loaded taxonomy tree. /// - [Description("The Taxonomy resource lets you access the categories, attributes and values of the loaded taxonomy tree.")] - public Taxonomy? taxonomy { get; set; } - + [Description("The Taxonomy resource lets you access the categories, attributes and values of the loaded taxonomy tree.")] + public Taxonomy? taxonomy { get; set; } + /// ///Returns a list of TenderTransactions associated with the shop. /// - [Description("Returns a list of TenderTransactions associated with the shop.")] - [NonNull] - public TenderTransactionConnection? tenderTransactions { get; set; } - + [Description("Returns a list of TenderTransactions associated with the shop.")] + [NonNull] + public TenderTransactionConnection? tenderTransactions { get; set; } + /// ///Returns a particular theme for the shop. /// - [Description("Returns a particular theme for the shop.")] - public OnlineStoreTheme? theme { get; set; } - + [Description("Returns a particular theme for the shop.")] + public OnlineStoreTheme? theme { get; set; } + /// ///Returns a paginated list of themes for the shop. /// - [Description("Returns a paginated list of themes for the shop.")] - public OnlineStoreThemeConnection? themes { get; set; } - + [Description("Returns a paginated list of themes for the shop.")] + public OnlineStoreThemeConnection? themes { get; set; } + /// ///A resource that can have localized values for different languages. /// - [Description("A resource that can have localized values for different languages.")] - public TranslatableResource? translatableResource { get; set; } - + [Description("A resource that can have localized values for different languages.")] + public TranslatableResource? translatableResource { get; set; } + /// ///Resources that can have localized values for different languages. /// - [Description("Resources that can have localized values for different languages.")] - [NonNull] - public TranslatableResourceConnection? translatableResources { get; set; } - + [Description("Resources that can have localized values for different languages.")] + [NonNull] + public TranslatableResourceConnection? translatableResources { get; set; } + /// ///Resources that can have localized values for different languages. /// - [Description("Resources that can have localized values for different languages.")] - [NonNull] - public TranslatableResourceConnection? translatableResourcesByIds { get; set; } - + [Description("Resources that can have localized values for different languages.")] + [NonNull] + public TranslatableResourceConnection? translatableResourcesByIds { get; set; } + /// ///Returns a `UrlRedirect` resource by ID. /// - [Description("Returns a `UrlRedirect` resource by ID.")] - public UrlRedirect? urlRedirect { get; set; } - + [Description("Returns a `UrlRedirect` resource by ID.")] + public UrlRedirect? urlRedirect { get; set; } + /// ///Returns a `UrlRedirectImport` resource by ID. /// - [Description("Returns a `UrlRedirectImport` resource by ID.")] - public UrlRedirectImport? urlRedirectImport { get; set; } - + [Description("Returns a `UrlRedirectImport` resource by ID.")] + public UrlRedirectImport? urlRedirectImport { get; set; } + /// ///A list of the shop's URL redirect saved searches. /// - [Description("A list of the shop's URL redirect saved searches.")] - [NonNull] - public SavedSearchConnection? urlRedirectSavedSearches { get; set; } - + [Description("A list of the shop's URL redirect saved searches.")] + [NonNull] + public SavedSearchConnection? urlRedirectSavedSearches { get; set; } + /// ///A list of redirects for a shop. /// - [Description("A list of redirects for a shop.")] - [NonNull] - public UrlRedirectConnection? urlRedirects { get; set; } - + [Description("A list of redirects for a shop.")] + [NonNull] + public UrlRedirectConnection? urlRedirects { get; set; } + /// ///Count of redirects. Limited to a maximum of 10000 by default. /// - [Description("Count of redirects. Limited to a maximum of 10000 by default.")] - public Count? urlRedirectsCount { get; set; } - + [Description("Count of redirects. Limited to a maximum of 10000 by default.")] + public Count? urlRedirectsCount { get; set; } + /// ///Validation available on the shop. /// - [Description("Validation available on the shop.")] - public Validation? validation { get; set; } - + [Description("Validation available on the shop.")] + public Validation? validation { get; set; } + /// ///Validations available on the shop. /// - [Description("Validations available on the shop.")] - [NonNull] - public ValidationConnection? validations { get; set; } - + [Description("Validations available on the shop.")] + [NonNull] + public ValidationConnection? validations { get; set; } + /// ///Returns a ///[web pixel](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels) ///by ID. /// - [Description("Returns a\n[web pixel](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels)\nby ID.")] - public WebPixel? webPixel { get; set; } - + [Description("Returns a\n[web pixel](https://shopify.dev/docs/apps/build/marketing-analytics/build-web-pixels)\nby ID.")] + public WebPixel? webPixel { get; set; } + /// ///The web presences for the shop. /// - [Description("The web presences for the shop.")] - public MarketWebPresenceConnection? webPresences { get; set; } - + [Description("The web presences for the shop.")] + public MarketWebPresenceConnection? webPresences { get; set; } + /// ///Returns a webhook subscription by ID. /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Returns a webhook subscription by ID.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - public WebhookSubscription? webhookSubscription { get; set; } - + [Description("Returns a webhook subscription by ID.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + public WebhookSubscription? webhookSubscription { get; set; } + /// ///Retrieves a paginated list of shop-scoped webhook subscriptions configured for the current app. This query returns webhook subscriptions created via the API for this shop, not including app-scoped subscriptions configured via TOML files. /// @@ -103962,19 +103962,19 @@ public class QueryRoot : GraphQLObject, IQueryRoot /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). /// - [Description("Retrieves a paginated list of shop-scoped webhook subscriptions configured for the current app. This query returns webhook subscriptions created via the API for this shop, not including app-scoped subscriptions configured via TOML files.\n\nFor example, an app dashboard might use this query to display all configured webhooks, showing which events trigger notifications and their delivery endpoints for troubleshooting integration issues.\n\nUse the `webhookSubscriptions` query to:\n- Audit all active shop-scoped webhook configurations\n- View and manage webhook subscription configurations\n- Display subscription details in app dashboards\n- Retrieve existing webhook configurations for dynamic integration setups\n- Check which subscriptions already exist before creating new ones\n\nThe query returns comprehensive subscription data including event topics, endpoint configurations, filtering rules, API versions, and metafield namespace permissions. Each subscription includes creation and modification timestamps for tracking configuration changes.\n\nResults support standard GraphQL pagination patterns with cursor-based navigation, allowing efficient retrieval of large webhook subscription lists. The response includes detailed endpoint information varying by type - HTTP callback URLs, EventBridge ARNs, or Pub/Sub project and topic specifications.\n\nAdvanced subscription features like event filtering using Shopify search syntax, field inclusion rules, and metafield namespace access are fully exposed, providing complete visibility into webhook configuration.\n\nLearn more about [webhook subscription queries](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] - [NonNull] - public WebhookSubscriptionConnection? webhookSubscriptions { get; set; } - + [Description("Retrieves a paginated list of shop-scoped webhook subscriptions configured for the current app. This query returns webhook subscriptions created via the API for this shop, not including app-scoped subscriptions configured via TOML files.\n\nFor example, an app dashboard might use this query to display all configured webhooks, showing which events trigger notifications and their delivery endpoints for troubleshooting integration issues.\n\nUse the `webhookSubscriptions` query to:\n- Audit all active shop-scoped webhook configurations\n- View and manage webhook subscription configurations\n- Display subscription details in app dashboards\n- Retrieve existing webhook configurations for dynamic integration setups\n- Check which subscriptions already exist before creating new ones\n\nThe query returns comprehensive subscription data including event topics, endpoint configurations, filtering rules, API versions, and metafield namespace permissions. Each subscription includes creation and modification timestamps for tracking configuration changes.\n\nResults support standard GraphQL pagination patterns with cursor-based navigation, allowing efficient retrieval of large webhook subscription lists. The response includes detailed endpoint information varying by type - HTTP callback URLs, EventBridge ARNs, or Pub/Sub project and topic specifications.\n\nAdvanced subscription features like event filtering using Shopify search syntax, field inclusion rules, and metafield namespace access are fully exposed, providing complete visibility into webhook configuration.\n\nLearn more about [webhook subscription queries](https://shopify.dev/docs/apps/build/webhooks/subscribe).\n\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe).")] + [NonNull] + public WebhookSubscriptionConnection? webhookSubscriptions { get; set; } + /// ///The count of webhook subscriptions. /// ///Building an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). Limited to a maximum of 10000 by default. /// - [Description("The count of webhook subscriptions.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). Limited to a maximum of 10000 by default.")] - public Count? webhookSubscriptionsCount { get; set; } - } - + [Description("The count of webhook subscriptions.\n\nBuilding an app? If you only use app-specific webhooks, you won't need this. App-specific webhook subscriptions specified in your `shopify.app.toml` may be easier. They are automatically kept up to date by Shopify & require less maintenance. Please read [About managing webhook subscriptions](https://shopify.dev/docs/apps/build/webhooks/subscribe). Limited to a maximum of 10000 by default.")] + public Count? webhookSubscriptionsCount { get; set; } + } + /// ///The `Refund` object represents a financial record of money returned to a customer from an order. ///It provides a comprehensive view of all refunded amounts, transactions, and restocking instructions @@ -104012,1189 +104012,1189 @@ public class QueryRoot : GraphQLObject, IQueryRoot ///[refunding duties](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/view-and-refund-duties), and ///[processing refunds](https://shopify.dev/docs/api/admin-graphql/latest/mutations/refundCreate). /// - [Description("The `Refund` object represents a financial record of money returned to a customer from an order.\nIt provides a comprehensive view of all refunded amounts, transactions, and restocking instructions\nassociated with returning products or correcting order issues.\n\nThe `Refund` object provides information to:\n\n- Process customer returns and issue payments back to customers\n- Handle partial or full refunds for line items with optional inventory restocking\n- Refund shipping costs, duties, and additional fees\n- Issue store credit refunds as an alternative to original payment method returns\n- Track and reconcile all financial transactions related to refunds\n\nEach `Refund` object maintains detailed records of what was refunded, how much was refunded,\nwhich payment transactions were involved, and any inventory restocking that occurred. The refund\ncan include multiple components such as product line items, shipping charges, taxes, duties, and\nadditional fees, all calculated with proper currency handling for international orders.\n\nRefunds are always associated with an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand can optionally be linked to a [return](https://shopify.dev/docs/api/admin-graphql/latest/objects/Return)\nif the refund was initiated through the returns process. The refund tracks both the presentment currency\n(what the customer sees) and the shop currency for accurate financial reporting.\n\n> Note:\n> The existence of a `Refund` object doesn't guarantee that the money has been returned to the customer.\n> The actual financial processing happens through associated\n> [`OrderTransaction`](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction)\n> objects, which can be in various states, such as pending, processing, success, or failure.\n> To determine if money has actually been refunded, check the\n> [status](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction#field-OrderTransaction.fields.status)\n> of the associated transactions.\n\nLearn more about\n[managing returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management),\n[refunding duties](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/view-and-refund-duties), and\n[processing refunds](https://shopify.dev/docs/api/admin-graphql/latest/mutations/refundCreate).")] - public class Refund : GraphQLObject, ILegacyInteroperability, INode - { + [Description("The `Refund` object represents a financial record of money returned to a customer from an order.\nIt provides a comprehensive view of all refunded amounts, transactions, and restocking instructions\nassociated with returning products or correcting order issues.\n\nThe `Refund` object provides information to:\n\n- Process customer returns and issue payments back to customers\n- Handle partial or full refunds for line items with optional inventory restocking\n- Refund shipping costs, duties, and additional fees\n- Issue store credit refunds as an alternative to original payment method returns\n- Track and reconcile all financial transactions related to refunds\n\nEach `Refund` object maintains detailed records of what was refunded, how much was refunded,\nwhich payment transactions were involved, and any inventory restocking that occurred. The refund\ncan include multiple components such as product line items, shipping charges, taxes, duties, and\nadditional fees, all calculated with proper currency handling for international orders.\n\nRefunds are always associated with an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand can optionally be linked to a [return](https://shopify.dev/docs/api/admin-graphql/latest/objects/Return)\nif the refund was initiated through the returns process. The refund tracks both the presentment currency\n(what the customer sees) and the shop currency for accurate financial reporting.\n\n> Note:\n> The existence of a `Refund` object doesn't guarantee that the money has been returned to the customer.\n> The actual financial processing happens through associated\n> [`OrderTransaction`](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction)\n> objects, which can be in various states, such as pending, processing, success, or failure.\n> To determine if money has actually been refunded, check the\n> [status](https://shopify.dev/docs/api/admin-graphql/latest/objects/OrderTransaction#field-OrderTransaction.fields.status)\n> of the associated transactions.\n\nLearn more about\n[managing returns](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management),\n[refunding duties](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/view-and-refund-duties), and\n[processing refunds](https://shopify.dev/docs/api/admin-graphql/latest/mutations/refundCreate).")] + public class Refund : GraphQLObject, ILegacyInteroperability, INode + { /// ///A list of the refunded additional fees as part of this refund. /// - [Description("A list of the refunded additional fees as part of this refund.")] - [NonNull] - public IEnumerable? additionalFees { get; set; } - + [Description("A list of the refunded additional fees as part of this refund.")] + [NonNull] + public IEnumerable? additionalFees { get; set; } + /// ///The date and time when the refund was created. /// - [Description("The date and time when the refund was created.")] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the refund was created.")] + public DateTime? createdAt { get; set; } + /// ///A list of the refunded duties as part of this refund. /// - [Description("A list of the refunded duties as part of this refund.")] - public IEnumerable? duties { get; set; } - + [Description("A list of the refunded duties as part of this refund.")] + public IEnumerable? duties { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The optional note associated with the refund. /// - [Description("The optional note associated with the refund.")] - public string? note { get; set; } - + [Description("The optional note associated with the refund.")] + public string? note { get; set; } + /// ///The order associated with the refund. /// - [Description("The order associated with the refund.")] - [NonNull] - public Order? order { get; set; } - + [Description("The order associated with the refund.")] + [NonNull] + public Order? order { get; set; } + /// ///The order adjustments that are attached with the refund. /// - [Description("The order adjustments that are attached with the refund.")] - [NonNull] - public OrderAdjustmentConnection? orderAdjustments { get; set; } - + [Description("The order adjustments that are attached with the refund.")] + [NonNull] + public OrderAdjustmentConnection? orderAdjustments { get; set; } + /// ///The `RefundLineItem` resources attached to the refund. /// - [Description("The `RefundLineItem` resources attached to the refund.")] - [NonNull] - public RefundLineItemConnection? refundLineItems { get; set; } - + [Description("The `RefundLineItem` resources attached to the refund.")] + [NonNull] + public RefundLineItemConnection? refundLineItems { get; set; } + /// ///The `RefundShippingLine` resources attached to the refund. /// - [Description("The `RefundShippingLine` resources attached to the refund.")] - [NonNull] - public RefundShippingLineConnection? refundShippingLines { get; set; } - + [Description("The `RefundShippingLine` resources attached to the refund.")] + [NonNull] + public RefundShippingLineConnection? refundShippingLines { get; set; } + /// ///The return associated with the refund. /// - [Description("The return associated with the refund.")] - public Return? @return { get; set; } - + [Description("The return associated with the refund.")] + public Return? @return { get; set; } + /// ///The staff member who created the refund. /// - [Description("The staff member who created the refund.")] - public StaffMember? staffMember { get; set; } - + [Description("The staff member who created the refund.")] + public StaffMember? staffMember { get; set; } + /// ///The total amount across all transactions for the refund. /// - [Description("The total amount across all transactions for the refund.")] - [Obsolete("Use `totalRefundedSet` instead.")] - [NonNull] - public MoneyV2? totalRefunded { get; set; } - + [Description("The total amount across all transactions for the refund.")] + [Obsolete("Use `totalRefundedSet` instead.")] + [NonNull] + public MoneyV2? totalRefunded { get; set; } + /// ///The total amount across all transactions for the refund, in shop and presentment currencies. /// - [Description("The total amount across all transactions for the refund, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalRefundedSet { get; set; } - + [Description("The total amount across all transactions for the refund, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalRefundedSet { get; set; } + /// ///The transactions associated with the refund. /// - [Description("The transactions associated with the refund.")] - [NonNull] - public OrderTransactionConnection? transactions { get; set; } - + [Description("The transactions associated with the refund.")] + [NonNull] + public OrderTransactionConnection? transactions { get; set; } + /// ///The date and time when the refund was updated. /// - [Description("The date and time when the refund was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the refund was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Represents a refunded additional fee. /// - [Description("Represents a refunded additional fee.")] - public class RefundAdditionalFee : GraphQLObject - { + [Description("Represents a refunded additional fee.")] + public class RefundAdditionalFee : GraphQLObject + { /// ///The monetary amount refunded in shop and presentment currencies. /// - [Description("The monetary amount refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The monetary amount refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The associated additional fee that was refunded. /// - [Description("The associated additional fee that was refunded.")] - public AdditionalFee? originalAdditionalFee { get; set; } - } - + [Description("The associated additional fee that was refunded.")] + public AdditionalFee? originalAdditionalFee { get; set; } + } + /// ///The input fields required to reimburse additional fees on a refund. /// - [Description("The input fields required to reimburse additional fees on a refund.")] - public class RefundAdditionalFeeInput : GraphQLObject - { + [Description("The input fields required to reimburse additional fees on a refund.")] + public class RefundAdditionalFeeInput : GraphQLObject + { /// ///The ID of the additional fee in the refund. /// - [Description("The ID of the additional fee in the refund.")] - [NonNull] - public string? additionalFeeId { get; set; } - } - + [Description("The ID of the additional fee in the refund.")] + [NonNull] + public string? additionalFeeId { get; set; } + } + /// ///An agreement between the merchant and customer to refund all or a portion of the order. /// - [Description("An agreement between the merchant and customer to refund all or a portion of the order.")] - public class RefundAgreement : GraphQLObject, ISalesAgreement - { + [Description("An agreement between the merchant and customer to refund all or a portion of the order.")] + public class RefundAgreement : GraphQLObject, ISalesAgreement + { /// ///The application that created the agreement. /// - [Description("The application that created the agreement.")] - public App? app { get; set; } - + [Description("The application that created the agreement.")] + public App? app { get; set; } + /// ///The date and time at which the agreement occured. /// - [Description("The date and time at which the agreement occured.")] - [NonNull] - public DateTime? happenedAt { get; set; } - + [Description("The date and time at which the agreement occured.")] + [NonNull] + public DateTime? happenedAt { get; set; } + /// ///The unique ID for the agreement. /// - [Description("The unique ID for the agreement.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the agreement.")] + [NonNull] + public string? id { get; set; } + /// ///The reason the agremeent was created. /// - [Description("The reason the agremeent was created.")] - [NonNull] - [EnumType(typeof(OrderActionType))] - public string? reason { get; set; } - + [Description("The reason the agremeent was created.")] + [NonNull] + [EnumType(typeof(OrderActionType))] + public string? reason { get; set; } + /// ///The refund associated with the agreement. /// - [Description("The refund associated with the agreement.")] - [NonNull] - public Refund? refund { get; set; } - + [Description("The refund associated with the agreement.")] + [NonNull] + public Refund? refund { get; set; } + /// ///The sales associated with the agreement. /// - [Description("The sales associated with the agreement.")] - [NonNull] - public SaleConnection? sales { get; set; } - + [Description("The sales associated with the agreement.")] + [NonNull] + public SaleConnection? sales { get; set; } + /// ///The staff member associated with the agreement. /// - [Description("The staff member associated with the agreement.")] - public StaffMember? user { get; set; } - } - + [Description("The staff member associated with the agreement.")] + public StaffMember? user { get; set; } + } + /// ///An auto-generated type for paginating through multiple Refunds. /// - [Description("An auto-generated type for paginating through multiple Refunds.")] - public class RefundConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Refunds.")] + public class RefundConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in RefundEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in RefundEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in RefundEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `refundCreate` mutation. /// - [Description("Return type for `refundCreate` mutation.")] - public class RefundCreatePayload : GraphQLObject - { + [Description("Return type for `refundCreate` mutation.")] + public class RefundCreatePayload : GraphQLObject + { /// ///The order associated with the created refund. /// - [Description("The order associated with the created refund.")] - public Order? order { get; set; } - + [Description("The order associated with the created refund.")] + public Order? order { get; set; } + /// ///The created refund. /// - [Description("The created refund.")] - public Refund? refund { get; set; } - + [Description("The created refund.")] + public Refund? refund { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a refunded duty. /// - [Description("Represents a refunded duty.")] - public class RefundDuty : GraphQLObject - { + [Description("Represents a refunded duty.")] + public class RefundDuty : GraphQLObject + { /// ///The amount of a refunded duty in shop and presentment currencies. /// - [Description("The amount of a refunded duty in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount of a refunded duty in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The duty associated with this refunded duty. /// - [Description("The duty associated with this refunded duty.")] - public Duty? originalDuty { get; set; } - } - + [Description("The duty associated with this refunded duty.")] + public Duty? originalDuty { get; set; } + } + /// ///The input fields required to reimburse duties on a refund. /// - [Description("The input fields required to reimburse duties on a refund.")] - public class RefundDutyInput : GraphQLObject - { + [Description("The input fields required to reimburse duties on a refund.")] + public class RefundDutyInput : GraphQLObject + { /// ///The ID of the duty in the refund. /// - [Description("The ID of the duty in the refund.")] - [NonNull] - public string? dutyId { get; set; } - + [Description("The ID of the duty in the refund.")] + [NonNull] + public string? dutyId { get; set; } + /// ///The type of refund for this duty. /// - [Description("The type of refund for this duty.")] - [EnumType(typeof(RefundDutyRefundType))] - public string? refundType { get; set; } - } - + [Description("The type of refund for this duty.")] + [EnumType(typeof(RefundDutyRefundType))] + public string? refundType { get; set; } + } + /// ///The type of refund to perform for a particular refund duty. /// - [Description("The type of refund to perform for a particular refund duty.")] - public enum RefundDutyRefundType - { + [Description("The type of refund to perform for a particular refund duty.")] + public enum RefundDutyRefundType + { /// ///The duty is proportionally refunded based on the quantity of the refunded line item. /// - [Description("The duty is proportionally refunded based on the quantity of the refunded line item.")] - PROPORTIONAL, + [Description("The duty is proportionally refunded based on the quantity of the refunded line item.")] + PROPORTIONAL, /// ///The duty is fully refunded. /// - [Description("The duty is fully refunded.")] - FULL, - } - - public static class RefundDutyRefundTypeStringValues - { - public const string PROPORTIONAL = @"PROPORTIONAL"; - public const string FULL = @"FULL"; - } - + [Description("The duty is fully refunded.")] + FULL, + } + + public static class RefundDutyRefundTypeStringValues + { + public const string PROPORTIONAL = @"PROPORTIONAL"; + public const string FULL = @"FULL"; + } + /// ///An auto-generated type which holds one Refund and a cursor during pagination. /// - [Description("An auto-generated type which holds one Refund and a cursor during pagination.")] - public class RefundEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Refund and a cursor during pagination.")] + public class RefundEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of RefundEdge. /// - [Description("The item at the end of RefundEdge.")] - [NonNull] - public Refund? node { get; set; } - } - + [Description("The item at the end of RefundEdge.")] + [NonNull] + public Refund? node { get; set; } + } + /// ///The input fields to create a refund. /// - [Description("The input fields to create a refund.")] - public class RefundInput : GraphQLObject - { + [Description("The input fields to create a refund.")] + public class RefundInput : GraphQLObject + { /// ///The currency that is used to refund the order. This must be the presentment currency, which is the currency used by the customer. This is a required field for orders where the currency and presentment currency differ. /// - [Description("The currency that is used to refund the order. This must be the presentment currency, which is the currency used by the customer. This is a required field for orders where the currency and presentment currency differ.")] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The currency that is used to refund the order. This must be the presentment currency, which is the currency used by the customer. This is a required field for orders where the currency and presentment currency differ.")] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///The ID of the order that's being refunded. /// - [Description("The ID of the order that's being refunded.")] - [NonNull] - public string? orderId { get; set; } - + [Description("The ID of the order that's being refunded.")] + [NonNull] + public string? orderId { get; set; } + /// ///An optional note that's attached to the refund. /// - [Description("An optional note that's attached to the refund.")] - public string? note { get; set; } - + [Description("An optional note that's attached to the refund.")] + public string? note { get; set; } + /// ///Whether to send a refund notification to the customer. /// - [Description("Whether to send a refund notification to the customer.")] - public bool? notify { get; set; } - + [Description("Whether to send a refund notification to the customer.")] + public bool? notify { get; set; } + /// ///The input fields that are required to reimburse shipping costs. /// - [Description("The input fields that are required to reimburse shipping costs.")] - public ShippingRefundInput? shipping { get; set; } - + [Description("The input fields that are required to reimburse shipping costs.")] + public ShippingRefundInput? shipping { get; set; } + /// ///A list of line items to refund. /// - [Description("A list of line items to refund.")] - public IEnumerable? refundLineItems { get; set; } - + [Description("A list of line items to refund.")] + public IEnumerable? refundLineItems { get; set; } + /// ///A list of duties to refund. /// - [Description("A list of duties to refund.")] - public IEnumerable? refundDuties { get; set; } - + [Description("A list of duties to refund.")] + public IEnumerable? refundDuties { get; set; } + /// ///A list of additional fees to refund. /// - [Description("A list of additional fees to refund.")] - public IEnumerable? refundAdditionalFees { get; set; } - + [Description("A list of additional fees to refund.")] + public IEnumerable? refundAdditionalFees { get; set; } + /// ///A list of transactions involved in the refund. /// - [Description("A list of transactions involved in the refund.")] - public IEnumerable? transactions { get; set; } - + [Description("A list of transactions involved in the refund.")] + public IEnumerable? transactions { get; set; } + /// ///A list of instructions to process the financial outcome of the refund. /// - [Description("A list of instructions to process the financial outcome of the refund.")] - public IEnumerable? refundMethods { get; set; } - + [Description("A list of instructions to process the financial outcome of the refund.")] + public IEnumerable? refundMethods { get; set; } + /// ///An optional reason for a discrepancy between calculated and actual refund amounts. /// - [Description("An optional reason for a discrepancy between calculated and actual refund amounts.")] - [EnumType(typeof(OrderAdjustmentInputDiscrepancyReason))] - public string? discrepancyReason { get; set; } - + [Description("An optional reason for a discrepancy between calculated and actual refund amounts.")] + [EnumType(typeof(OrderAdjustmentInputDiscrepancyReason))] + public string? discrepancyReason { get; set; } + /// ///Whether to allow the total refunded amount to surpass the amount paid for the order. /// - [Description("Whether to allow the total refunded amount to surpass the amount paid for the order.")] - public bool? allowOverRefunding { get; set; } - } - + [Description("Whether to allow the total refunded amount to surpass the amount paid for the order.")] + public bool? allowOverRefunding { get; set; } + } + /// ///A line item that's included in a refund. /// - [Description("A line item that's included in a refund.")] - public class RefundLineItem : GraphQLObject - { + [Description("A line item that's included in a refund.")] + public class RefundLineItem : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + public string? id { get; set; } + /// ///The `LineItem` resource associated to the refunded line item. /// - [Description("The `LineItem` resource associated to the refunded line item.")] - [NonNull] - public LineItem? lineItem { get; set; } - + [Description("The `LineItem` resource associated to the refunded line item.")] + [NonNull] + public LineItem? lineItem { get; set; } + /// ///The inventory restock location. /// - [Description("The inventory restock location.")] - public Location? location { get; set; } - + [Description("The inventory restock location.")] + public Location? location { get; set; } + /// ///The price of a refunded line item. /// - [Description("The price of a refunded line item.")] - [Obsolete("Use `priceSet` instead.")] - [NonNull] - public decimal? price { get; set; } - + [Description("The price of a refunded line item.")] + [Obsolete("Use `priceSet` instead.")] + [NonNull] + public decimal? price { get; set; } + /// ///The price of a refunded line item in shop and presentment currencies. /// - [Description("The price of a refunded line item in shop and presentment currencies.")] - [NonNull] - public MoneyBag? priceSet { get; set; } - + [Description("The price of a refunded line item in shop and presentment currencies.")] + [NonNull] + public MoneyBag? priceSet { get; set; } + /// ///The quantity of a refunded line item. /// - [Description("The quantity of a refunded line item.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of a refunded line item.")] + [NonNull] + public int? quantity { get; set; } + /// ///The type of restock for the refunded line item. /// - [Description("The type of restock for the refunded line item.")] - [NonNull] - [EnumType(typeof(RefundLineItemRestockType))] - public string? restockType { get; set; } - + [Description("The type of restock for the refunded line item.")] + [NonNull] + [EnumType(typeof(RefundLineItemRestockType))] + public string? restockType { get; set; } + /// ///Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund. /// - [Description("Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund.")] - [NonNull] - public bool? restocked { get; set; } - + [Description("Whether the refunded line item was restocked. Not applicable in the context of a SuggestedRefund.")] + [NonNull] + public bool? restocked { get; set; } + /// ///The subtotal price of a refunded line item. /// - [Description("The subtotal price of a refunded line item.")] - [Obsolete("Use `subtotalSet` instead.")] - [NonNull] - public decimal? subtotal { get; set; } - + [Description("The subtotal price of a refunded line item.")] + [Obsolete("Use `subtotalSet` instead.")] + [NonNull] + public decimal? subtotal { get; set; } + /// ///The subtotal price of a refunded line item in shop and presentment currencies. /// - [Description("The subtotal price of a refunded line item in shop and presentment currencies.")] - [NonNull] - public MoneyBag? subtotalSet { get; set; } - + [Description("The subtotal price of a refunded line item in shop and presentment currencies.")] + [NonNull] + public MoneyBag? subtotalSet { get; set; } + /// ///The total tax charged on a refunded line item. /// - [Description("The total tax charged on a refunded line item.")] - [Obsolete("Use `totalTaxSet` instead.")] - [NonNull] - public decimal? totalTax { get; set; } - + [Description("The total tax charged on a refunded line item.")] + [Obsolete("Use `totalTaxSet` instead.")] + [NonNull] + public decimal? totalTax { get; set; } + /// ///The total tax charged on a refunded line item in shop and presentment currencies. /// - [Description("The total tax charged on a refunded line item in shop and presentment currencies.")] - [NonNull] - public MoneyBag? totalTaxSet { get; set; } - } - + [Description("The total tax charged on a refunded line item in shop and presentment currencies.")] + [NonNull] + public MoneyBag? totalTaxSet { get; set; } + } + /// ///An auto-generated type for paginating through multiple RefundLineItems. /// - [Description("An auto-generated type for paginating through multiple RefundLineItems.")] - public class RefundLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple RefundLineItems.")] + public class RefundLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in RefundLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in RefundLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in RefundLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one RefundLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one RefundLineItem and a cursor during pagination.")] - public class RefundLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one RefundLineItem and a cursor during pagination.")] + public class RefundLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of RefundLineItemEdge. /// - [Description("The item at the end of RefundLineItemEdge.")] - [NonNull] - public RefundLineItem? node { get; set; } - } - + [Description("The item at the end of RefundLineItemEdge.")] + [NonNull] + public RefundLineItem? node { get; set; } + } + /// ///The input fields required to reimburse line items on a refund. /// - [Description("The input fields required to reimburse line items on a refund.")] - public class RefundLineItemInput : GraphQLObject - { + [Description("The input fields required to reimburse line items on a refund.")] + public class RefundLineItemInput : GraphQLObject + { /// ///The ID of the line item in the refund. /// - [Description("The ID of the line item in the refund.")] - [NonNull] - public string? lineItemId { get; set; } - + [Description("The ID of the line item in the refund.")] + [NonNull] + public string? lineItemId { get; set; } + /// ///The quantity of the associated line item to be refunded. /// - [Description("The quantity of the associated line item to be refunded.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the associated line item to be refunded.")] + [NonNull] + public int? quantity { get; set; } + /// ///The type of restock for this line item. /// - [Description("The type of restock for this line item.")] - [EnumType(typeof(RefundLineItemRestockType))] - public string? restockType { get; set; } - + [Description("The type of restock for this line item.")] + [EnumType(typeof(RefundLineItemRestockType))] + public string? restockType { get; set; } + /// ///The intended location for restocking. If the `restockType` is set to `NO_RESTOCK`, then this value is empty. /// - [Description("The intended location for restocking. If the `restockType` is set to `NO_RESTOCK`, then this value is empty.")] - public string? locationId { get; set; } - } - + [Description("The intended location for restocking. If the `restockType` is set to `NO_RESTOCK`, then this value is empty.")] + public string? locationId { get; set; } + } + /// ///The type of restock performed for a particular refund line item. /// - [Description("The type of restock performed for a particular refund line item.")] - public enum RefundLineItemRestockType - { + [Description("The type of restock performed for a particular refund line item.")] + public enum RefundLineItemRestockType + { /// ///The refund line item was returned. Use this when restocking line items that were fulfilled. /// - [Description("The refund line item was returned. Use this when restocking line items that were fulfilled.")] - RETURN, + [Description("The refund line item was returned. Use this when restocking line items that were fulfilled.")] + RETURN, /// ///The refund line item was canceled. Use this when restocking unfulfilled line items. /// - [Description("The refund line item was canceled. Use this when restocking unfulfilled line items.")] - CANCEL, + [Description("The refund line item was canceled. Use this when restocking unfulfilled line items.")] + CANCEL, /// ///Deprecated. The refund line item was restocked, without specifically beingidentified as a return or cancelation. This value is not accepted when creating new refunds. /// - [Description("Deprecated. The refund line item was restocked, without specifically beingidentified as a return or cancelation. This value is not accepted when creating new refunds.")] - LEGACY_RESTOCK, + [Description("Deprecated. The refund line item was restocked, without specifically beingidentified as a return or cancelation. This value is not accepted when creating new refunds.")] + LEGACY_RESTOCK, /// ///Refund line item was not restocked. /// - [Description("Refund line item was not restocked.")] - NO_RESTOCK, - } - - public static class RefundLineItemRestockTypeStringValues - { - public const string RETURN = @"RETURN"; - public const string CANCEL = @"CANCEL"; - public const string LEGACY_RESTOCK = @"LEGACY_RESTOCK"; - public const string NO_RESTOCK = @"NO_RESTOCK"; - } - + [Description("Refund line item was not restocked.")] + NO_RESTOCK, + } + + public static class RefundLineItemRestockTypeStringValues + { + public const string RETURN = @"RETURN"; + public const string CANCEL = @"CANCEL"; + public const string LEGACY_RESTOCK = @"LEGACY_RESTOCK"; + public const string NO_RESTOCK = @"NO_RESTOCK"; + } + /// ///The different methods that a refund amount can be allocated to. /// - [Description("The different methods that a refund amount can be allocated to.")] - public enum RefundMethodAllocation - { + [Description("The different methods that a refund amount can be allocated to.")] + public enum RefundMethodAllocation + { /// ///The refund is to original payment methods. /// - [Description("The refund is to original payment methods.")] - ORIGINAL_PAYMENT_METHODS, + [Description("The refund is to original payment methods.")] + ORIGINAL_PAYMENT_METHODS, /// ///The refund is to store credit. /// - [Description("The refund is to store credit.")] - STORE_CREDIT, - } - - public static class RefundMethodAllocationStringValues - { - public const string ORIGINAL_PAYMENT_METHODS = @"ORIGINAL_PAYMENT_METHODS"; - public const string STORE_CREDIT = @"STORE_CREDIT"; - } - + [Description("The refund is to store credit.")] + STORE_CREDIT, + } + + public static class RefundMethodAllocationStringValues + { + public const string ORIGINAL_PAYMENT_METHODS = @"ORIGINAL_PAYMENT_METHODS"; + public const string STORE_CREDIT = @"STORE_CREDIT"; + } + /// ///The input fields for processing the financial outcome of a refund. /// - [Description("The input fields for processing the financial outcome of a refund.")] - public class RefundMethodInput : GraphQLObject - { + [Description("The input fields for processing the financial outcome of a refund.")] + public class RefundMethodInput : GraphQLObject + { /// ///The details of the refund to store credit. /// - [Description("The details of the refund to store credit.")] - public StoreCreditRefundInput? storeCreditRefund { get; set; } - } - + [Description("The details of the refund to store credit.")] + public StoreCreditRefundInput? storeCreditRefund { get; set; } + } + /// ///The financial transfer details for a return outcome that results in a refund. /// - [Description("The financial transfer details for a return outcome that results in a refund.")] - public class RefundReturnOutcome : GraphQLObject, IReturnOutcomeFinancialTransfer - { + [Description("The financial transfer details for a return outcome that results in a refund.")] + public class RefundReturnOutcome : GraphQLObject, IReturnOutcomeFinancialTransfer + { /// ///The total monetary value to be refunded in shop and presentment currencies. /// - [Description("The total monetary value to be refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amount { get; set; } - + [Description("The total monetary value to be refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amount { get; set; } + /// ///A list of suggested refund methods. /// - [Description("A list of suggested refund methods.")] - [NonNull] - public IEnumerable? suggestedRefundMethods { get; set; } - + [Description("A list of suggested refund methods.")] + [NonNull] + public IEnumerable? suggestedRefundMethods { get; set; } + /// ///A list of suggested order transactions. /// - [Description("A list of suggested order transactions.")] - [NonNull] - public IEnumerable? suggestedTransactions { get; set; } - } - + [Description("A list of suggested order transactions.")] + [NonNull] + public IEnumerable? suggestedTransactions { get; set; } + } + /// ///The input fields for the shipping cost to refund. /// - [Description("The input fields for the shipping cost to refund.")] - public class RefundShippingInput : GraphQLObject - { + [Description("The input fields for the shipping cost to refund.")] + public class RefundShippingInput : GraphQLObject + { /// ///The input fields required to refund shipping cost, in the presentment currency of the order. ///This overrides the `fullRefund` argument. ///This field defaults to 0.00 when not provided and when the `fullRefund` argument is false. /// - [Description("The input fields required to refund shipping cost, in the presentment currency of the order.\nThis overrides the `fullRefund` argument.\nThis field defaults to 0.00 when not provided and when the `fullRefund` argument is false.")] - public MoneyInput? shippingRefundAmount { get; set; } - + [Description("The input fields required to refund shipping cost, in the presentment currency of the order.\nThis overrides the `fullRefund` argument.\nThis field defaults to 0.00 when not provided and when the `fullRefund` argument is false.")] + public MoneyInput? shippingRefundAmount { get; set; } + /// ///Whether to refund the full shipping amount. /// - [Description("Whether to refund the full shipping amount.")] - public bool? fullRefund { get; set; } - } - + [Description("Whether to refund the full shipping amount.")] + public bool? fullRefund { get; set; } + } + /// ///A shipping line item that's included in a refund. /// - [Description("A shipping line item that's included in a refund.")] - public class RefundShippingLine : GraphQLObject, INode - { + [Description("A shipping line item that's included in a refund.")] + public class RefundShippingLine : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The `ShippingLine` resource associated to the refunded shipping line item. /// - [Description("The `ShippingLine` resource associated to the refunded shipping line item.")] - [NonNull] - public ShippingLine? shippingLine { get; set; } - + [Description("The `ShippingLine` resource associated to the refunded shipping line item.")] + [NonNull] + public ShippingLine? shippingLine { get; set; } + /// ///The subtotal amount of the refund shipping line in shop and presentment currencies. /// - [Description("The subtotal amount of the refund shipping line in shop and presentment currencies.")] - [NonNull] - public MoneyBag? subtotalAmountSet { get; set; } - + [Description("The subtotal amount of the refund shipping line in shop and presentment currencies.")] + [NonNull] + public MoneyBag? subtotalAmountSet { get; set; } + /// ///The tax amount of the refund shipping line in shop and presentment currencies. /// - [Description("The tax amount of the refund shipping line in shop and presentment currencies.")] - [NonNull] - public MoneyBag? taxAmountSet { get; set; } - } - + [Description("The tax amount of the refund shipping line in shop and presentment currencies.")] + [NonNull] + public MoneyBag? taxAmountSet { get; set; } + } + /// ///An auto-generated type for paginating through multiple RefundShippingLines. /// - [Description("An auto-generated type for paginating through multiple RefundShippingLines.")] - public class RefundShippingLineConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple RefundShippingLines.")] + public class RefundShippingLineConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in RefundShippingLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in RefundShippingLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in RefundShippingLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one RefundShippingLine and a cursor during pagination. /// - [Description("An auto-generated type which holds one RefundShippingLine and a cursor during pagination.")] - public class RefundShippingLineEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one RefundShippingLine and a cursor during pagination.")] + public class RefundShippingLineEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of RefundShippingLineEdge. /// - [Description("The item at the end of RefundShippingLineEdge.")] - [NonNull] - public RefundShippingLine? node { get; set; } - } - + [Description("The item at the end of RefundShippingLineEdge.")] + [NonNull] + public RefundShippingLine? node { get; set; } + } + /// ///A condition checking the visitor's region. /// - [Description("A condition checking the visitor's region.")] - public class RegionsCondition : GraphQLObject - { + [Description("A condition checking the visitor's region.")] + public class RegionsCondition : GraphQLObject + { /// ///The application level for the condition. /// - [Description("The application level for the condition.")] - [EnumType(typeof(MarketConditionApplicationType))] - public string? applicationLevel { get; set; } - + [Description("The application level for the condition.")] + [EnumType(typeof(MarketConditionApplicationType))] + public string? applicationLevel { get; set; } + /// ///The regions that comprise the market. /// - [Description("The regions that comprise the market.")] - [NonNull] - public MarketRegionConnection? regions { get; set; } - } - + [Description("The regions that comprise the market.")] + [NonNull] + public MarketRegionConnection? regions { get; set; } + } + /// ///The input fields for a remote Adyen customer payment method. /// - [Description("The input fields for a remote Adyen customer payment method.")] - public class RemoteAdyenPaymentMethodInput : GraphQLObject - { + [Description("The input fields for a remote Adyen customer payment method.")] + public class RemoteAdyenPaymentMethodInput : GraphQLObject + { /// ///The `shopper_reference` value from Adyen. /// - [Description("The `shopper_reference` value from Adyen.")] - [NonNull] - public string? shopperReference { get; set; } - + [Description("The `shopper_reference` value from Adyen.")] + [NonNull] + public string? shopperReference { get; set; } + /// ///The `stored_payment_method_id` value from Adyen. /// - [Description("The `stored_payment_method_id` value from Adyen.")] - [NonNull] - public string? storedPaymentMethodId { get; set; } - } - + [Description("The `stored_payment_method_id` value from Adyen.")] + [NonNull] + public string? storedPaymentMethodId { get; set; } + } + /// ///The input fields for a remote Authorize.net customer payment profile. /// - [Description("The input fields for a remote Authorize.net customer payment profile.")] - public class RemoteAuthorizeNetCustomerPaymentProfileInput : GraphQLObject - { + [Description("The input fields for a remote Authorize.net customer payment profile.")] + public class RemoteAuthorizeNetCustomerPaymentProfileInput : GraphQLObject + { /// ///The customerProfileId value from the Authorize.net API. /// - [Description("The customerProfileId value from the Authorize.net API.")] - [NonNull] - public string? customerProfileId { get; set; } - + [Description("The customerProfileId value from the Authorize.net API.")] + [NonNull] + public string? customerProfileId { get; set; } + /// ///The customerPaymentProfileId value from the Authorize.net API. Starting on 2025, ///customer_payment_profile_id will become mandatory for all API versions. /// - [Description("The customerPaymentProfileId value from the Authorize.net API. Starting on 2025,\ncustomer_payment_profile_id will become mandatory for all API versions.")] - public string? customerPaymentProfileId { get; set; } - } - + [Description("The customerPaymentProfileId value from the Authorize.net API. Starting on 2025,\ncustomer_payment_profile_id will become mandatory for all API versions.")] + public string? customerPaymentProfileId { get; set; } + } + /// ///The input fields for a remote Braintree customer payment profile. /// - [Description("The input fields for a remote Braintree customer payment profile.")] - public class RemoteBraintreePaymentMethodInput : GraphQLObject - { + [Description("The input fields for a remote Braintree customer payment profile.")] + public class RemoteBraintreePaymentMethodInput : GraphQLObject + { /// ///The `customer_id` value from the Braintree API. /// - [Description("The `customer_id` value from the Braintree API.")] - [NonNull] - public string? customerId { get; set; } - + [Description("The `customer_id` value from the Braintree API.")] + [NonNull] + public string? customerId { get; set; } + /// ///The `payment_method_token` value from the Braintree API. Starting on 2025, ///payment_method_token will become mandatory for all API versions. /// - [Description("The `payment_method_token` value from the Braintree API. Starting on 2025,\npayment_method_token will become mandatory for all API versions.")] - public string? paymentMethodToken { get; set; } - } - + [Description("The `payment_method_token` value from the Braintree API. Starting on 2025,\npayment_method_token will become mandatory for all API versions.")] + public string? paymentMethodToken { get; set; } + } + /// ///The input fields for a remote PayPal customer payment method. /// - [Description("The input fields for a remote PayPal customer payment method.")] - public class RemotePaypalPaymentMethodInput : GraphQLObject - { + [Description("The input fields for a remote PayPal customer payment method.")] + public class RemotePaypalPaymentMethodInput : GraphQLObject + { /// ///The billing agreement ID from PayPal that starts with 'B-' (for example, `B-1234XXXXX`). /// - [Description("The billing agreement ID from PayPal that starts with 'B-' (for example, `B-1234XXXXX`).")] - [NonNull] - public string? billingAgreementId { get; set; } - + [Description("The billing agreement ID from PayPal that starts with 'B-' (for example, `B-1234XXXXX`).")] + [NonNull] + public string? billingAgreementId { get; set; } + /// ///The billing address. /// - [Description("The billing address.")] - [NonNull] - public MailingAddressInput? billingAddress { get; set; } - } - + [Description("The billing address.")] + [NonNull] + public MailingAddressInput? billingAddress { get; set; } + } + /// ///The input fields for a remote stripe payment method. /// - [Description("The input fields for a remote stripe payment method.")] - public class RemoteStripePaymentMethodInput : GraphQLObject - { + [Description("The input fields for a remote stripe payment method.")] + public class RemoteStripePaymentMethodInput : GraphQLObject + { /// ///The customer_id value from the Stripe API. /// - [Description("The customer_id value from the Stripe API.")] - [NonNull] - public string? customerId { get; set; } - + [Description("The customer_id value from the Stripe API.")] + [NonNull] + public string? customerId { get; set; } + /// ///The payment_method_id value from the Stripe API. Starting on 2025, ///payment_method_id will become mandatory for all API versions. /// - [Description("The payment_method_id value from the Stripe API. Starting on 2025,\npayment_method_id will become mandatory for all API versions.")] - public string? paymentMethodId { get; set; } - } - + [Description("The payment_method_id value from the Stripe API. Starting on 2025,\npayment_method_id will become mandatory for all API versions.")] + public string? paymentMethodId { get; set; } + } + /// ///Return type for `removeFromReturn` mutation. /// - [Description("Return type for `removeFromReturn` mutation.")] - public class RemoveFromReturnPayload : GraphQLObject - { + [Description("Return type for `removeFromReturn` mutation.")] + public class RemoveFromReturnPayload : GraphQLObject + { /// ///The modified return. /// - [Description("The modified return.")] - public Return? @return { get; set; } - + [Description("The modified return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The resolved price inclusivity attributes. /// - [Description("The resolved price inclusivity attributes.")] - public class ResolvedPriceInclusivity : GraphQLObject - { + [Description("The resolved price inclusivity attributes.")] + public class ResolvedPriceInclusivity : GraphQLObject + { /// ///Whether duties are included in the price. /// - [Description("Whether duties are included in the price.")] - [NonNull] - public bool? dutiesIncluded { get; set; } - + [Description("Whether duties are included in the price.")] + [NonNull] + public bool? dutiesIncluded { get; set; } + /// ///Whether taxes are included in the price. /// - [Description("Whether taxes are included in the price.")] - [NonNull] - public bool? taxesIncluded { get; set; } - } - + [Description("Whether taxes are included in the price.")] + [NonNull] + public bool? taxesIncluded { get; set; } + } + /// ///An alert message that appears in the Shopify admin about a problem with a store resource, with 1 or more actions to take. For example, you could use an alert to indicate that you're not charging taxes on some product variants. ///They can optionally have a specific icon and be dismissed by merchants. /// - [Description("An alert message that appears in the Shopify admin about a problem with a store resource, with 1 or more actions to take. For example, you could use an alert to indicate that you're not charging taxes on some product variants.\nThey can optionally have a specific icon and be dismissed by merchants.")] - public class ResourceAlert : GraphQLObject - { + [Description("An alert message that appears in the Shopify admin about a problem with a store resource, with 1 or more actions to take. For example, you could use an alert to indicate that you're not charging taxes on some product variants.\nThey can optionally have a specific icon and be dismissed by merchants.")] + public class ResourceAlert : GraphQLObject + { /// ///Buttons in the alert that link to related information. ///For example, _Edit variants_. /// - [Description("Buttons in the alert that link to related information.\nFor example, _Edit variants_.")] - [NonNull] - public IEnumerable? actions { get; set; } - + [Description("Buttons in the alert that link to related information.\nFor example, _Edit variants_.")] + [NonNull] + public IEnumerable? actions { get; set; } + /// ///The secondary text in the alert that includes further information or instructions about how to solve a problem. /// - [Description("The secondary text in the alert that includes further information or instructions about how to solve a problem.")] - [NonNull] - public string? content { get; set; } - + [Description("The secondary text in the alert that includes further information or instructions about how to solve a problem.")] + [NonNull] + public string? content { get; set; } + /// ///Unique identifier that appears when an alert is manually closed by the merchant. ///Most alerts can't be manually closed. /// - [Description("Unique identifier that appears when an alert is manually closed by the merchant.\nMost alerts can't be manually closed.")] - public string? dismissibleHandle { get; set; } - + [Description("Unique identifier that appears when an alert is manually closed by the merchant.\nMost alerts can't be manually closed.")] + public string? dismissibleHandle { get; set; } + /// ///An icon that's optionally displayed with the alert. /// - [Description("An icon that's optionally displayed with the alert.")] - [EnumType(typeof(ResourceAlertIcon))] - public string? icon { get; set; } - + [Description("An icon that's optionally displayed with the alert.")] + [EnumType(typeof(ResourceAlertIcon))] + public string? icon { get; set; } + /// ///Indication of how important the alert is. /// - [Description("Indication of how important the alert is.")] - [NonNull] - [EnumType(typeof(ResourceAlertSeverity))] - public string? severity { get; set; } - + [Description("Indication of how important the alert is.")] + [NonNull] + [EnumType(typeof(ResourceAlertSeverity))] + public string? severity { get; set; } + /// ///The primary text in the alert that includes information or describes the problem. /// - [Description("The primary text in the alert that includes information or describes the problem.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The primary text in the alert that includes information or describes the problem.")] + [NonNull] + public string? title { get; set; } + } + /// ///An action associated to a resource alert, such as editing variants. /// - [Description("An action associated to a resource alert, such as editing variants.")] - public class ResourceAlertAction : GraphQLObject - { + [Description("An action associated to a resource alert, such as editing variants.")] + public class ResourceAlertAction : GraphQLObject + { /// ///Whether the action appears as a button or as a link. /// - [Description("Whether the action appears as a button or as a link.")] - [NonNull] - public bool? primary { get; set; } - + [Description("Whether the action appears as a button or as a link.")] + [NonNull] + public bool? primary { get; set; } + /// ///Resource for the action to show. /// - [Description("Resource for the action to show.")] - public string? show { get; set; } - + [Description("Resource for the action to show.")] + public string? show { get; set; } + /// ///The text for the button in the alert. For example, _Edit variants_. /// - [Description("The text for the button in the alert. For example, _Edit variants_.")] - [NonNull] - public string? title { get; set; } - + [Description("The text for the button in the alert. For example, _Edit variants_.")] + [NonNull] + public string? title { get; set; } + /// ///The target URL that the button links to. /// - [Description("The target URL that the button links to.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The target URL that the button links to.")] + [NonNull] + public string? url { get; set; } + } + /// ///The available icons for resource alerts. /// - [Description("The available icons for resource alerts.")] - public enum ResourceAlertIcon - { + [Description("The available icons for resource alerts.")] + public enum ResourceAlertIcon + { /// ///A checkmark inside a circle. /// - [Description("A checkmark inside a circle.")] - CHECKMARK_CIRCLE, + [Description("A checkmark inside a circle.")] + CHECKMARK_CIRCLE, /// ///A lowercase `i` inside a circle. /// - [Description("A lowercase `i` inside a circle.")] - INFORMATION_CIRCLE, + [Description("A lowercase `i` inside a circle.")] + INFORMATION_CIRCLE, /// ///A user behaviour indicator on nested circles. /// - [Description("A user behaviour indicator on nested circles.")] - MARKETING_MINOR_ON, + [Description("A user behaviour indicator on nested circles.")] + MARKETING_MINOR_ON, /// ///A user behaviour indicator on nested circles in subdued color. /// - [Description("A user behaviour indicator on nested circles in subdued color.")] - MARKETING_MINOR_OFF, - } - - public static class ResourceAlertIconStringValues - { - public const string CHECKMARK_CIRCLE = @"CHECKMARK_CIRCLE"; - public const string INFORMATION_CIRCLE = @"INFORMATION_CIRCLE"; - public const string MARKETING_MINOR_ON = @"MARKETING_MINOR_ON"; - public const string MARKETING_MINOR_OFF = @"MARKETING_MINOR_OFF"; - } - + [Description("A user behaviour indicator on nested circles in subdued color.")] + MARKETING_MINOR_OFF, + } + + public static class ResourceAlertIconStringValues + { + public const string CHECKMARK_CIRCLE = @"CHECKMARK_CIRCLE"; + public const string INFORMATION_CIRCLE = @"INFORMATION_CIRCLE"; + public const string MARKETING_MINOR_ON = @"MARKETING_MINOR_ON"; + public const string MARKETING_MINOR_OFF = @"MARKETING_MINOR_OFF"; + } + /// ///The possible severity levels for a resource alert. /// - [Description("The possible severity levels for a resource alert.")] - public enum ResourceAlertSeverity - { + [Description("The possible severity levels for a resource alert.")] + public enum ResourceAlertSeverity + { /// ///Indicates a neutral alert. For example, an accepted dispute. /// - [Description("Indicates a neutral alert. For example, an accepted dispute.")] - DEFAULT, + [Description("Indicates a neutral alert. For example, an accepted dispute.")] + DEFAULT, /// ///Indicates an informative alert. For example, an escalated dispute. /// - [Description("Indicates an informative alert. For example, an escalated dispute.")] - INFO, + [Description("Indicates an informative alert. For example, an escalated dispute.")] + INFO, /// ///Indicates an informative alert. For example, a new dispute. /// - [Description("Indicates an informative alert. For example, a new dispute.")] - WARNING, + [Description("Indicates an informative alert. For example, a new dispute.")] + WARNING, /// ///Indicates a success alert. For example, a winning a dispute. /// - [Description("Indicates a success alert. For example, a winning a dispute.")] - SUCCESS, + [Description("Indicates a success alert. For example, a winning a dispute.")] + SUCCESS, /// ///Indicates a critical alert. For example, a blocked app. /// - [Description("Indicates a critical alert. For example, a blocked app.")] - CRITICAL, - [Obsolete("`ERROR` severity is being deprecated in favour of `WARNING` or `CRITICAL` instead.")] - ERROR, - } - - public static class ResourceAlertSeverityStringValues - { - public const string DEFAULT = @"DEFAULT"; - public const string INFO = @"INFO"; - public const string WARNING = @"WARNING"; - public const string SUCCESS = @"SUCCESS"; - public const string CRITICAL = @"CRITICAL"; - [Obsolete("`ERROR` severity is being deprecated in favour of `WARNING` or `CRITICAL` instead.")] - public const string ERROR = @"ERROR"; - } - + [Description("Indicates a critical alert. For example, a blocked app.")] + CRITICAL, + [Obsolete("`ERROR` severity is being deprecated in favour of `WARNING` or `CRITICAL` instead.")] + ERROR, + } + + public static class ResourceAlertSeverityStringValues + { + public const string DEFAULT = @"DEFAULT"; + public const string INFO = @"INFO"; + public const string WARNING = @"WARNING"; + public const string SUCCESS = @"SUCCESS"; + public const string CRITICAL = @"CRITICAL"; + [Obsolete("`ERROR` severity is being deprecated in favour of `WARNING` or `CRITICAL` instead.")] + public const string ERROR = @"ERROR"; + } + /// ///Represents feedback from apps about a resource, and the steps required to set up the apps on the shop. /// - [Description("Represents feedback from apps about a resource, and the steps required to set up the apps on the shop.")] - public class ResourceFeedback : GraphQLObject - { + [Description("Represents feedback from apps about a resource, and the steps required to set up the apps on the shop.")] + public class ResourceFeedback : GraphQLObject + { /// ///Feedback from an app about the steps a merchant needs to take to set up the app on their store. /// - [Description("Feedback from an app about the steps a merchant needs to take to set up the app on their store.")] - [Obsolete("Use `details` instead.")] - [NonNull] - public IEnumerable? appFeedback { get; set; } - + [Description("Feedback from an app about the steps a merchant needs to take to set up the app on their store.")] + [Obsolete("Use `details` instead.")] + [NonNull] + public IEnumerable? appFeedback { get; set; } + /// ///List of AppFeedback detailing issues regarding a resource. /// - [Description("List of AppFeedback detailing issues regarding a resource.")] - [NonNull] - public IEnumerable? details { get; set; } - + [Description("List of AppFeedback detailing issues regarding a resource.")] + [NonNull] + public IEnumerable? details { get; set; } + /// ///Summary of resource feedback pertaining to the resource. /// - [Description("Summary of resource feedback pertaining to the resource.")] - [NonNull] - public string? summary { get; set; } - } - + [Description("Summary of resource feedback pertaining to the resource.")] + [NonNull] + public string? summary { get; set; } + } + /// ///The input fields for a resource feedback object. /// - [Description("The input fields for a resource feedback object.")] - public class ResourceFeedbackCreateInput : GraphQLObject - { + [Description("The input fields for a resource feedback object.")] + public class ResourceFeedbackCreateInput : GraphQLObject + { /// ///The date and time when the feedback was generated. Used to help determine whether ///incoming feedback is outdated compared to existing feedback. /// - [Description("The date and time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.")] - [NonNull] - public DateTime? feedbackGeneratedAt { get; set; } - + [Description("The date and time when the feedback was generated. Used to help determine whether\nincoming feedback is outdated compared to existing feedback.")] + [NonNull] + public DateTime? feedbackGeneratedAt { get; set; } + /// ///If the feedback state is `requires_action`, then you can send a string message that communicates the action to be taken by the merchant. ///The string must be a single message up to 100 characters long and must end with a period. @@ -105206,415 +105206,415 @@ public class ResourceFeedbackCreateInput : GraphQLObject - [Description("If the feedback state is `requires_action`, then you can send a string message that communicates the action to be taken by the merchant.\nThe string must be a single message up to 100 characters long and must end with a period.\nYou need to adhere to the message formatting rules or your requests will fail:\n- `[Explanation of the problem]. [Suggested action].`\n\n**Examples:**\n- `[Your app name]` isn't connected. Connect your account to use this sales channel. `[Learn more]`\n- `[Your app name]` isn't configured. Agree to the terms and conditions to use this app. `[Learn more]`\nBoth `Your app name` and `Learn more` (a button which directs merchants to your app) are automatically populated in the Shopify admin.")] - public IEnumerable? messages { get; set; } - + [Description("If the feedback state is `requires_action`, then you can send a string message that communicates the action to be taken by the merchant.\nThe string must be a single message up to 100 characters long and must end with a period.\nYou need to adhere to the message formatting rules or your requests will fail:\n- `[Explanation of the problem]. [Suggested action].`\n\n**Examples:**\n- `[Your app name]` isn't connected. Connect your account to use this sales channel. `[Learn more]`\n- `[Your app name]` isn't configured. Agree to the terms and conditions to use this app. `[Learn more]`\nBoth `Your app name` and `Learn more` (a button which directs merchants to your app) are automatically populated in the Shopify admin.")] + public IEnumerable? messages { get; set; } + /// ///The state of the feedback and whether it requires merchant action. /// - [Description("The state of the feedback and whether it requires merchant action.")] - [NonNull] - [EnumType(typeof(ResourceFeedbackState))] - public string? state { get; set; } - } - + [Description("The state of the feedback and whether it requires merchant action.")] + [NonNull] + [EnumType(typeof(ResourceFeedbackState))] + public string? state { get; set; } + } + /// ///The state of the resource feedback. /// - [Description("The state of the resource feedback.")] - public enum ResourceFeedbackState - { + [Description("The state of the resource feedback.")] + public enum ResourceFeedbackState + { /// ///No action required from merchant. /// - [Description("No action required from merchant.")] - ACCEPTED, + [Description("No action required from merchant.")] + ACCEPTED, /// ///The merchant needs to resolve an issue with the resource. /// - [Description("The merchant needs to resolve an issue with the resource.")] - REQUIRES_ACTION, - } - - public static class ResourceFeedbackStateStringValues - { - public const string ACCEPTED = @"ACCEPTED"; - public const string REQUIRES_ACTION = @"REQUIRES_ACTION"; - } - + [Description("The merchant needs to resolve an issue with the resource.")] + REQUIRES_ACTION, + } + + public static class ResourceFeedbackStateStringValues + { + public const string ACCEPTED = @"ACCEPTED"; + public const string REQUIRES_ACTION = @"REQUIRES_ACTION"; + } + /// ///Represents a merchandising background operation interface. /// - [Description("Represents a merchandising background operation interface.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AddAllProductsOperation), typeDiscriminator: "AddAllProductsOperation")] - [JsonDerivedType(typeof(CatalogCsvOperation), typeDiscriminator: "CatalogCsvOperation")] - [JsonDerivedType(typeof(PublicationResourceOperation), typeDiscriminator: "PublicationResourceOperation")] - public interface IResourceOperation : IGraphQLObject - { - public AddAllProductsOperation? AsAddAllProductsOperation() => this as AddAllProductsOperation; - public CatalogCsvOperation? AsCatalogCsvOperation() => this as CatalogCsvOperation; - public PublicationResourceOperation? AsPublicationResourceOperation() => this as PublicationResourceOperation; + [Description("Represents a merchandising background operation interface.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AddAllProductsOperation), typeDiscriminator: "AddAllProductsOperation")] + [JsonDerivedType(typeof(CatalogCsvOperation), typeDiscriminator: "CatalogCsvOperation")] + [JsonDerivedType(typeof(PublicationResourceOperation), typeDiscriminator: "PublicationResourceOperation")] + public interface IResourceOperation : IGraphQLObject + { + public AddAllProductsOperation? AsAddAllProductsOperation() => this as AddAllProductsOperation; + public CatalogCsvOperation? AsCatalogCsvOperation() => this as CatalogCsvOperation; + public PublicationResourceOperation? AsPublicationResourceOperation() => this as PublicationResourceOperation; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; } + /// ///The count of processed rows, summing imported, failed, and skipped rows. /// - [Description("The count of processed rows, summing imported, failed, and skipped rows.")] - public int? processedRowCount { get; } - + [Description("The count of processed rows, summing imported, failed, and skipped rows.")] + public int? processedRowCount { get; } + /// ///Represents a rows objects within this background operation. /// - [Description("Represents a rows objects within this background operation.")] - public RowCount? rowCount { get; } - + [Description("Represents a rows objects within this background operation.")] + public RowCount? rowCount { get; } + /// ///The status of this operation. /// - [Description("The status of this operation.")] - [NonNull] - [EnumType(typeof(ResourceOperationStatus))] - public string? status { get; } - } - + [Description("The status of this operation.")] + [NonNull] + [EnumType(typeof(ResourceOperationStatus))] + public string? status { get; } + } + /// ///Represents the state of this catalog operation. /// - [Description("Represents the state of this catalog operation.")] - public enum ResourceOperationStatus - { + [Description("Represents the state of this catalog operation.")] + public enum ResourceOperationStatus + { /// ///Operation has been created. /// - [Description("Operation has been created.")] - CREATED, + [Description("Operation has been created.")] + CREATED, /// ///Operation is currently running. /// - [Description("Operation is currently running.")] - ACTIVE, + [Description("Operation is currently running.")] + ACTIVE, /// ///Operation is complete. /// - [Description("Operation is complete.")] - COMPLETE, - } - - public static class ResourceOperationStatusStringValues - { - public const string CREATED = @"CREATED"; - public const string ACTIVE = @"ACTIVE"; - public const string COMPLETE = @"COMPLETE"; - } - + [Description("Operation is complete.")] + COMPLETE, + } + + public static class ResourceOperationStatusStringValues + { + public const string CREATED = @"CREATED"; + public const string ACTIVE = @"ACTIVE"; + public const string COMPLETE = @"COMPLETE"; + } + /// ///A resource publication represents information about the publication of a resource. ///An instance of `ResourcePublication`, unlike `ResourcePublicationV2`, can be neither published or scheduled to be published. /// ///See [ResourcePublicationV2](/api/admin-graphql/latest/objects/ResourcePublicationV2) for more context. /// - [Description("A resource publication represents information about the publication of a resource.\nAn instance of `ResourcePublication`, unlike `ResourcePublicationV2`, can be neither published or scheduled to be published.\n\nSee [ResourcePublicationV2](/api/admin-graphql/latest/objects/ResourcePublicationV2) for more context.")] - public class ResourcePublication : GraphQLObject - { + [Description("A resource publication represents information about the publication of a resource.\nAn instance of `ResourcePublication`, unlike `ResourcePublicationV2`, can be neither published or scheduled to be published.\n\nSee [ResourcePublicationV2](/api/admin-graphql/latest/objects/ResourcePublicationV2) for more context.")] + public class ResourcePublication : GraphQLObject + { /// ///The channel the resource publication is published to. /// - [Description("The channel the resource publication is published to.")] - [Obsolete("Use `publication` instead.")] - [NonNull] - public Channel? channel { get; set; } - + [Description("The channel the resource publication is published to.")] + [Obsolete("Use `publication` instead.")] + [NonNull] + public Channel? channel { get; set; } + /// ///Whether the resource publication is published. Also returns true if the resource publication is scheduled to be published. ///If false, then the resource publication is neither published nor scheduled to be published. /// - [Description("Whether the resource publication is published. Also returns true if the resource publication is scheduled to be published.\nIf false, then the resource publication is neither published nor scheduled to be published.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether the resource publication is published. Also returns true if the resource publication is scheduled to be published.\nIf false, then the resource publication is neither published nor scheduled to be published.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///The publication the resource publication is published to. /// - [Description("The publication the resource publication is published to.")] - [NonNull] - public Publication? publication { get; set; } - + [Description("The publication the resource publication is published to.")] + [NonNull] + public Publication? publication { get; set; } + /// ///The publication status of the resource on the channel. /// - [Description("The publication status of the resource on the channel.")] - [Obsolete("Publication status is no longer available and will be removed in a future release.")] - [NonNull] - [EnumType(typeof(ResourcePublicationStatus))] - public string? publicationStatusOnChannel { get; set; } - + [Description("The publication status of the resource on the channel.")] + [Obsolete("Publication status is no longer available and will be removed in a future release.")] + [NonNull] + [EnumType(typeof(ResourcePublicationStatus))] + public string? publicationStatusOnChannel { get; set; } + /// ///The date that the resource publication was or is going to be published to the publication. ///If the product isn't published, then this field returns an epoch timestamp. /// - [Description("The date that the resource publication was or is going to be published to the publication.\nIf the product isn't published, then this field returns an epoch timestamp.")] - [NonNull] - public DateTime? publishDate { get; set; } - + [Description("The date that the resource publication was or is going to be published to the publication.\nIf the product isn't published, then this field returns an epoch timestamp.")] + [NonNull] + public DateTime? publishDate { get; set; } + /// ///The resource published to the publication. /// - [Description("The resource published to the publication.")] - [NonNull] - public IPublishable? publishable { get; set; } - } - + [Description("The resource published to the publication.")] + [NonNull] + public IPublishable? publishable { get; set; } + } + /// ///An auto-generated type for paginating through multiple ResourcePublications. /// - [Description("An auto-generated type for paginating through multiple ResourcePublications.")] - public class ResourcePublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ResourcePublications.")] + public class ResourcePublicationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ResourcePublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ResourcePublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ResourcePublicationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ResourcePublication and a cursor during pagination. /// - [Description("An auto-generated type which holds one ResourcePublication and a cursor during pagination.")] - public class ResourcePublicationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ResourcePublication and a cursor during pagination.")] + public class ResourcePublicationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ResourcePublicationEdge. /// - [Description("The item at the end of ResourcePublicationEdge.")] - [NonNull] - public ResourcePublication? node { get; set; } - } - + [Description("The item at the end of ResourcePublicationEdge.")] + [NonNull] + public ResourcePublication? node { get; set; } + } + /// ///The status of the resource publication on the channel. /// - [Description("The status of the resource publication on the channel.")] - public enum ResourcePublicationStatus - { + [Description("The status of the resource publication on the channel.")] + public enum ResourcePublicationStatus + { /// ///Unset status. /// - [Description("Unset status.")] - UNSET, + [Description("Unset status.")] + UNSET, /// ///Pending status. /// - [Description("Pending status.")] - PENDING, + [Description("Pending status.")] + PENDING, /// ///Approved status. /// - [Description("Approved status.")] - APPROVED, + [Description("Approved status.")] + APPROVED, /// ///Not approved status. /// - [Description("Not approved status.")] - NOT_APPROVED, - } - - public static class ResourcePublicationStatusStringValues - { - public const string UNSET = @"UNSET"; - public const string PENDING = @"PENDING"; - public const string APPROVED = @"APPROVED"; - public const string NOT_APPROVED = @"NOT_APPROVED"; - } - + [Description("Not approved status.")] + NOT_APPROVED, + } + + public static class ResourcePublicationStatusStringValues + { + public const string UNSET = @"UNSET"; + public const string PENDING = @"PENDING"; + public const string APPROVED = @"APPROVED"; + public const string NOT_APPROVED = @"NOT_APPROVED"; + } + /// ///A resource publication represents information about the publication of a resource. ///Unlike `ResourcePublication`, an instance of `ResourcePublicationV2` can't be unpublished. It must either be published or scheduled to be published. /// ///See [ResourcePublication](/api/admin-graphql/latest/objects/ResourcePublication) for more context. /// - [Description("A resource publication represents information about the publication of a resource.\nUnlike `ResourcePublication`, an instance of `ResourcePublicationV2` can't be unpublished. It must either be published or scheduled to be published.\n\nSee [ResourcePublication](/api/admin-graphql/latest/objects/ResourcePublication) for more context.")] - public class ResourcePublicationV2 : GraphQLObject - { + [Description("A resource publication represents information about the publication of a resource.\nUnlike `ResourcePublication`, an instance of `ResourcePublicationV2` can't be unpublished. It must either be published or scheduled to be published.\n\nSee [ResourcePublication](/api/admin-graphql/latest/objects/ResourcePublication) for more context.")] + public class ResourcePublicationV2 : GraphQLObject + { /// ///Whether the resource publication is published. If true, then the resource publication is published to the publication. ///If false, then the resource publication is staged to be published to the publication. /// - [Description("Whether the resource publication is published. If true, then the resource publication is published to the publication.\nIf false, then the resource publication is staged to be published to the publication.")] - [NonNull] - public bool? isPublished { get; set; } - + [Description("Whether the resource publication is published. If true, then the resource publication is published to the publication.\nIf false, then the resource publication is staged to be published to the publication.")] + [NonNull] + public bool? isPublished { get; set; } + /// ///The publication the resource publication is published to. /// - [Description("The publication the resource publication is published to.")] - [NonNull] - public Publication? publication { get; set; } - + [Description("The publication the resource publication is published to.")] + [NonNull] + public Publication? publication { get; set; } + /// ///The publication status of the resource on the channel. /// - [Description("The publication status of the resource on the channel.")] - [Obsolete("Publication status is no longer available and will be removed in a future release.")] - [NonNull] - [EnumType(typeof(ResourcePublicationStatus))] - public string? publicationStatusOnChannel { get; set; } - + [Description("The publication status of the resource on the channel.")] + [Obsolete("Publication status is no longer available and will be removed in a future release.")] + [NonNull] + [EnumType(typeof(ResourcePublicationStatus))] + public string? publicationStatusOnChannel { get; set; } + /// ///The date that the resource publication was or is going to be published to the publication. /// - [Description("The date that the resource publication was or is going to be published to the publication.")] - public DateTime? publishDate { get; set; } - + [Description("The date that the resource publication was or is going to be published to the publication.")] + public DateTime? publishDate { get; set; } + /// ///The resource published to the publication. /// - [Description("The resource published to the publication.")] - [NonNull] - public IPublishable? publishable { get; set; } - } - + [Description("The resource published to the publication.")] + [NonNull] + public IPublishable? publishable { get; set; } + } + /// ///An auto-generated type for paginating through multiple ResourcePublicationV2s. /// - [Description("An auto-generated type for paginating through multiple ResourcePublicationV2s.")] - public class ResourcePublicationV2Connection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ResourcePublicationV2s.")] + public class ResourcePublicationV2Connection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ResourcePublicationV2Edge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ResourcePublicationV2Edge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ResourcePublicationV2Edge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ResourcePublicationV2 and a cursor during pagination. /// - [Description("An auto-generated type which holds one ResourcePublicationV2 and a cursor during pagination.")] - public class ResourcePublicationV2Edge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ResourcePublicationV2 and a cursor during pagination.")] + public class ResourcePublicationV2Edge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ResourcePublicationV2Edge. /// - [Description("The item at the end of ResourcePublicationV2Edge.")] - [NonNull] - public ResourcePublicationV2? node { get; set; } - } - + [Description("The item at the end of ResourcePublicationV2Edge.")] + [NonNull] + public ResourcePublicationV2? node { get; set; } + } + /// ///A restocking fee is a fee captured as part of a return to cover the costs of handling a return line item. ///Typically, this would cover the costs of inspecting, repackaging, and restocking the item. /// - [Description("A restocking fee is a fee captured as part of a return to cover the costs of handling a return line item.\nTypically, this would cover the costs of inspecting, repackaging, and restocking the item.")] - public class RestockingFee : GraphQLObject, IFee - { + [Description("A restocking fee is a fee captured as part of a return to cover the costs of handling a return line item.\nTypically, this would cover the costs of inspecting, repackaging, and restocking the item.")] + public class RestockingFee : GraphQLObject, IFee + { /// ///The amount of the restocking fee, in shop and presentment currencies. /// - [Description("The amount of the restocking fee, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount of the restocking fee, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The unique ID for the Fee. /// - [Description("The unique ID for the Fee.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the Fee.")] + [NonNull] + public string? id { get; set; } + /// ///The value of the fee as a percentage. /// - [Description("The value of the fee as a percentage.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The value of the fee as a percentage.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///The input fields for a restocking fee. /// - [Description("The input fields for a restocking fee.")] - public class RestockingFeeInput : GraphQLObject - { + [Description("The input fields for a restocking fee.")] + public class RestockingFeeInput : GraphQLObject + { /// ///The value of the fee as a percentage. /// - [Description("The value of the fee as a percentage.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The value of the fee as a percentage.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///Information about product is restricted for a given resource. /// - [Description("Information about product is restricted for a given resource.")] - public class RestrictedForResource : GraphQLObject - { + [Description("Information about product is restricted for a given resource.")] + public class RestrictedForResource : GraphQLObject + { /// ///Returns true when the product is restricted for the given resource. /// - [Description("Returns true when the product is restricted for the given resource.")] - [NonNull] - public bool? restricted { get; set; } - + [Description("Returns true when the product is restricted for the given resource.")] + [NonNull] + public bool? restricted { get; set; } + /// ///Restriction reason for the given resource. /// - [Description("Restriction reason for the given resource.")] - [NonNull] - public string? restrictedReason { get; set; } - } - + [Description("Restriction reason for the given resource.")] + [NonNull] + public string? restrictedReason { get; set; } + } + /// ///The `Return` object represents the intent of a buyer to ship one or more items from an order back to a merchant ///or a third-party fulfillment location. A return is associated with an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order) @@ -105633,3396 +105633,3396 @@ public class RestrictedForResource : GraphQLObject ///and [reverse deliveries](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-deliveries) ///on behalf of merchants. /// - [Description("The `Return` object represents the intent of a buyer to ship one or more items from an order back to a merchant\nor a third-party fulfillment location. A return is associated with an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand can include multiple return [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem).\nEach return has a [status](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps#return-statuses),\nwhich indicates the state of the return.\n\nUse the `Return` object to capture the financial, logistical,\nand business intent of a return. For example, you can identify eligible items for a return and issue customers\na refund for returned items on behalf of the merchant.\n\nLearn more about providing a\n[return management workflow](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\nfor merchants. You can also manage [exchanges](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-exchanges),\n[reverse fulfillment orders](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-fulfillment-orders),\nand [reverse deliveries](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-deliveries)\non behalf of merchants.")] - public class Return : GraphQLObject, INode - { + [Description("The `Return` object represents the intent of a buyer to ship one or more items from an order back to a merchant\nor a third-party fulfillment location. A return is associated with an [order](https://shopify.dev/docs/api/admin-graphql/latest/objects/Order)\nand can include multiple return [line items](https://shopify.dev/docs/api/admin-graphql/latest/objects/LineItem).\nEach return has a [status](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps#return-statuses),\nwhich indicates the state of the return.\n\nUse the `Return` object to capture the financial, logistical,\nand business intent of a return. For example, you can identify eligible items for a return and issue customers\na refund for returned items on behalf of the merchant.\n\nLearn more about providing a\n[return management workflow](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/build-return-management)\nfor merchants. You can also manage [exchanges](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-exchanges),\n[reverse fulfillment orders](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-fulfillment-orders),\nand [reverse deliveries](https://shopify.dev/docs/apps/build/orders-fulfillment/returns-apps/manage-reverse-deliveries)\non behalf of merchants.")] + public class Return : GraphQLObject, INode + { /// ///The date and time when the return was closed. /// - [Description("The date and time when the return was closed.")] - public DateTime? closedAt { get; set; } - + [Description("The date and time when the return was closed.")] + public DateTime? closedAt { get; set; } + /// ///The date and time when the return was created. /// - [Description("The date and time when the return was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the return was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Additional information about the declined return. /// - [Description("Additional information about the declined return.")] - public ReturnDecline? decline { get; set; } - + [Description("Additional information about the declined return.")] + public ReturnDecline? decline { get; set; } + /// ///The exchange line items attached to the return. /// - [Description("The exchange line items attached to the return.")] - [NonNull] - public ExchangeLineItemConnection? exchangeLineItems { get; set; } - + [Description("The exchange line items attached to the return.")] + [NonNull] + public ExchangeLineItemConnection? exchangeLineItems { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the return. /// - [Description("The name of the return.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the return.")] + [NonNull] + public string? name { get; set; } + /// ///The order that the return belongs to. /// - [Description("The order that the return belongs to.")] - [NonNull] - public Order? order { get; set; } - + [Description("The order that the return belongs to.")] + [NonNull] + public Order? order { get; set; } + /// ///The list of refunds associated with the return. /// - [Description("The list of refunds associated with the return.")] - [NonNull] - public RefundConnection? refunds { get; set; } - + [Description("The list of refunds associated with the return.")] + [NonNull] + public RefundConnection? refunds { get; set; } + /// ///The date and time when the return was approved. /// - [Description("The date and time when the return was approved.")] - public DateTime? requestApprovedAt { get; set; } - + [Description("The date and time when the return was approved.")] + public DateTime? requestApprovedAt { get; set; } + /// ///The return line items attached to the return. /// - [Description("The return line items attached to the return.")] - [NonNull] - public ReturnLineItemConnection? returnLineItems { get; set; } - + [Description("The return line items attached to the return.")] + [NonNull] + public ReturnLineItemConnection? returnLineItems { get; set; } + /// ///The return shipping fees for the return. /// - [Description("The return shipping fees for the return.")] - [NonNull] - public IEnumerable? returnShippingFees { get; set; } - + [Description("The return shipping fees for the return.")] + [NonNull] + public IEnumerable? returnShippingFees { get; set; } + /// ///The list of reverse fulfillment orders for the return. /// - [Description("The list of reverse fulfillment orders for the return.")] - [NonNull] - public ReverseFulfillmentOrderConnection? reverseFulfillmentOrders { get; set; } - + [Description("The list of reverse fulfillment orders for the return.")] + [NonNull] + public ReverseFulfillmentOrderConnection? reverseFulfillmentOrders { get; set; } + /// ///The status of the return. /// - [Description("The status of the return.")] - [NonNull] - [EnumType(typeof(ReturnStatus))] - public string? status { get; set; } - + [Description("The status of the return.")] + [NonNull] + [EnumType(typeof(ReturnStatus))] + public string? status { get; set; } + /// ///A suggested financial outcome for the return. /// - [Description("A suggested financial outcome for the return.")] - public SuggestedReturnFinancialOutcome? suggestedFinancialOutcome { get; set; } - + [Description("A suggested financial outcome for the return.")] + public SuggestedReturnFinancialOutcome? suggestedFinancialOutcome { get; set; } + /// ///A suggested refund for the return. /// - [Description("A suggested refund for the return.")] - [Obsolete("Use `suggestedFinancialOutcome` instead.")] - public SuggestedReturnRefund? suggestedRefund { get; set; } - + [Description("A suggested refund for the return.")] + [Obsolete("Use `suggestedFinancialOutcome` instead.")] + public SuggestedReturnRefund? suggestedRefund { get; set; } + /// ///The sum of all return line item quantities for the return. /// - [Description("The sum of all return line item quantities for the return.")] - [NonNull] - public int? totalQuantity { get; set; } - } - + [Description("The sum of all return line item quantities for the return.")] + [NonNull] + public int? totalQuantity { get; set; } + } + /// ///An agreement between the merchant and customer for a return. /// - [Description("An agreement between the merchant and customer for a return.")] - public class ReturnAgreement : GraphQLObject, ISalesAgreement - { + [Description("An agreement between the merchant and customer for a return.")] + public class ReturnAgreement : GraphQLObject, ISalesAgreement + { /// ///The application that created the agreement. /// - [Description("The application that created the agreement.")] - public App? app { get; set; } - + [Description("The application that created the agreement.")] + public App? app { get; set; } + /// ///The date and time at which the agreement occured. /// - [Description("The date and time at which the agreement occured.")] - [NonNull] - public DateTime? happenedAt { get; set; } - + [Description("The date and time at which the agreement occured.")] + [NonNull] + public DateTime? happenedAt { get; set; } + /// ///The unique ID for the agreement. /// - [Description("The unique ID for the agreement.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the agreement.")] + [NonNull] + public string? id { get; set; } + /// ///The reason the agremeent was created. /// - [Description("The reason the agremeent was created.")] - [NonNull] - [EnumType(typeof(OrderActionType))] - public string? reason { get; set; } - + [Description("The reason the agremeent was created.")] + [NonNull] + [EnumType(typeof(OrderActionType))] + public string? reason { get; set; } + /// ///The return associated with the agreement. /// - [Description("The return associated with the agreement.")] - [NonNull] - public Return? @return { get; set; } - + [Description("The return associated with the agreement.")] + [NonNull] + public Return? @return { get; set; } + /// ///The sales associated with the agreement. /// - [Description("The sales associated with the agreement.")] - [NonNull] - public SaleConnection? sales { get; set; } - + [Description("The sales associated with the agreement.")] + [NonNull] + public SaleConnection? sales { get; set; } + /// ///The staff member associated with the agreement. /// - [Description("The staff member associated with the agreement.")] - public StaffMember? user { get; set; } - } - + [Description("The staff member associated with the agreement.")] + public StaffMember? user { get; set; } + } + /// ///The input fields for approving a customer's return request. /// - [Description("The input fields for approving a customer's return request.")] - public class ReturnApproveRequestInput : GraphQLObject - { + [Description("The input fields for approving a customer's return request.")] + public class ReturnApproveRequestInput : GraphQLObject + { /// ///The ID of the return that's being approved. /// - [Description("The ID of the return that's being approved.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the return that's being approved.")] + [NonNull] + public string? id { get; set; } + /// ///Notify the customer when a return request is approved. ///The customer will only receive a notification if `Order.email` is present. /// - [Description("Notify the customer when a return request is approved.\nThe customer will only receive a notification if `Order.email` is present.")] - public bool? notifyCustomer { get; set; } - + [Description("Notify the customer when a return request is approved.\nThe customer will only receive a notification if `Order.email` is present.")] + public bool? notifyCustomer { get; set; } + /// ///When `true` the return will be created in an unprocessed state; returns must subsequently be processed via Return Processing APIs in order to take further action on them. Creating returns in an unprocessed state will soon be the default behavior. After July 1st, 2025, this field is only available to merchants who have created exchanges or returns with fees using API up that date. It will be ignored otherwise. /// - [Description("When `true` the return will be created in an unprocessed state; returns must subsequently be processed via Return Processing APIs in order to take further action on them. Creating returns in an unprocessed state will soon be the default behavior. After July 1st, 2025, this field is only available to merchants who have created exchanges or returns with fees using API up that date. It will be ignored otherwise.")] - [Obsolete("This field is temporary to support the transition to Returns Processing APIs.")] - public bool? unprocessed { get; set; } - } - + [Description("When `true` the return will be created in an unprocessed state; returns must subsequently be processed via Return Processing APIs in order to take further action on them. Creating returns in an unprocessed state will soon be the default behavior. After July 1st, 2025, this field is only available to merchants who have created exchanges or returns with fees using API up that date. It will be ignored otherwise.")] + [Obsolete("This field is temporary to support the transition to Returns Processing APIs.")] + public bool? unprocessed { get; set; } + } + /// ///Return type for `returnApproveRequest` mutation. /// - [Description("Return type for `returnApproveRequest` mutation.")] - public class ReturnApproveRequestPayload : GraphQLObject - { + [Description("Return type for `returnApproveRequest` mutation.")] + public class ReturnApproveRequestPayload : GraphQLObject + { /// ///The approved return. /// - [Description("The approved return.")] - public Return? @return { get; set; } - + [Description("The approved return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `returnCancel` mutation. /// - [Description("Return type for `returnCancel` mutation.")] - public class ReturnCancelPayload : GraphQLObject - { + [Description("Return type for `returnCancel` mutation.")] + public class ReturnCancelPayload : GraphQLObject + { /// ///The canceled return. /// - [Description("The canceled return.")] - public Return? @return { get; set; } - + [Description("The canceled return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `returnClose` mutation. /// - [Description("Return type for `returnClose` mutation.")] - public class ReturnClosePayload : GraphQLObject - { + [Description("Return type for `returnClose` mutation.")] + public class ReturnClosePayload : GraphQLObject + { /// ///The closed return. /// - [Description("The closed return.")] - public Return? @return { get; set; } - + [Description("The closed return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple Returns. /// - [Description("An auto-generated type for paginating through multiple Returns.")] - public class ReturnConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Returns.")] + public class ReturnConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReturnEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReturnEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReturnEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `returnCreate` mutation. /// - [Description("Return type for `returnCreate` mutation.")] - public class ReturnCreatePayload : GraphQLObject - { + [Description("Return type for `returnCreate` mutation.")] + public class ReturnCreatePayload : GraphQLObject + { /// ///The created return. /// - [Description("The created return.")] - public Return? @return { get; set; } - + [Description("The created return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Additional information about why a merchant declined the customer's return request. /// - [Description("Additional information about why a merchant declined the customer's return request.")] - public class ReturnDecline : GraphQLObject - { + [Description("Additional information about why a merchant declined the customer's return request.")] + public class ReturnDecline : GraphQLObject + { /// ///The notification message sent to the customer about their declined return request. ///Maximum length: 500 characters. /// - [Description("The notification message sent to the customer about their declined return request.\nMaximum length: 500 characters.")] - public string? note { get; set; } - + [Description("The notification message sent to the customer about their declined return request.\nMaximum length: 500 characters.")] + public string? note { get; set; } + /// ///The reason the customer's return request was declined. /// - [Description("The reason the customer's return request was declined.")] - [NonNull] - [EnumType(typeof(ReturnDeclineReason))] - public string? reason { get; set; } - } - + [Description("The reason the customer's return request was declined.")] + [NonNull] + [EnumType(typeof(ReturnDeclineReason))] + public string? reason { get; set; } + } + /// ///The reason why the merchant declined a customer's return request. /// - [Description("The reason why the merchant declined a customer's return request.")] - public enum ReturnDeclineReason - { + [Description("The reason why the merchant declined a customer's return request.")] + public enum ReturnDeclineReason + { /// ///The return period has ended. /// - [Description("The return period has ended.")] - RETURN_PERIOD_ENDED, + [Description("The return period has ended.")] + RETURN_PERIOD_ENDED, /// ///The return contains final sale items. /// - [Description("The return contains final sale items.")] - FINAL_SALE, + [Description("The return contains final sale items.")] + FINAL_SALE, /// ///The return is declined for another reason. /// - [Description("The return is declined for another reason.")] - OTHER, - } - - public static class ReturnDeclineReasonStringValues - { - public const string RETURN_PERIOD_ENDED = @"RETURN_PERIOD_ENDED"; - public const string FINAL_SALE = @"FINAL_SALE"; - public const string OTHER = @"OTHER"; - } - + [Description("The return is declined for another reason.")] + OTHER, + } + + public static class ReturnDeclineReasonStringValues + { + public const string RETURN_PERIOD_ENDED = @"RETURN_PERIOD_ENDED"; + public const string FINAL_SALE = @"FINAL_SALE"; + public const string OTHER = @"OTHER"; + } + /// ///The input fields for declining a customer's return request. /// - [Description("The input fields for declining a customer's return request.")] - public class ReturnDeclineRequestInput : GraphQLObject - { + [Description("The input fields for declining a customer's return request.")] + public class ReturnDeclineRequestInput : GraphQLObject + { /// ///The ID of the return that's being declined. /// - [Description("The ID of the return that's being declined.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the return that's being declined.")] + [NonNull] + public string? id { get; set; } + /// ///The reason why the merchant declined the customer's return request. /// - [Description("The reason why the merchant declined the customer's return request.")] - [NonNull] - [EnumType(typeof(ReturnDeclineReason))] - public string? declineReason { get; set; } - + [Description("The reason why the merchant declined the customer's return request.")] + [NonNull] + [EnumType(typeof(ReturnDeclineReason))] + public string? declineReason { get; set; } + /// ///Notify the customer when a return request is declined. ///The customer will only receive a notification if `Order.email` is present. /// - [Description("Notify the customer when a return request is declined.\nThe customer will only receive a notification if `Order.email` is present.")] - public bool? notifyCustomer { get; set; } - + [Description("Notify the customer when a return request is declined.\nThe customer will only receive a notification if `Order.email` is present.")] + public bool? notifyCustomer { get; set; } + /// ///The notification message that's sent to a customer about their declined return request. ///Maximum length: 500 characters. /// - [Description("The notification message that's sent to a customer about their declined return request.\nMaximum length: 500 characters.")] - public string? declineNote { get; set; } - } - + [Description("The notification message that's sent to a customer about their declined return request.\nMaximum length: 500 characters.")] + public string? declineNote { get; set; } + } + /// ///Return type for `returnDeclineRequest` mutation. /// - [Description("Return type for `returnDeclineRequest` mutation.")] - public class ReturnDeclineRequestPayload : GraphQLObject - { + [Description("Return type for `returnDeclineRequest` mutation.")] + public class ReturnDeclineRequestPayload : GraphQLObject + { /// ///The declined return. /// - [Description("The declined return.")] - public Return? @return { get; set; } - + [Description("The declined return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Return and a cursor during pagination. /// - [Description("An auto-generated type which holds one Return and a cursor during pagination.")] - public class ReturnEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Return and a cursor during pagination.")] + public class ReturnEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReturnEdge. /// - [Description("The item at the end of ReturnEdge.")] - [NonNull] - public Return? node { get; set; } - } - + [Description("The item at the end of ReturnEdge.")] + [NonNull] + public Return? node { get; set; } + } + /// ///Possible error codes that can be returned by `ReturnUserError`. /// - [Description("Possible error codes that can be returned by `ReturnUserError`.")] - public enum ReturnErrorCode - { + [Description("Possible error codes that can be returned by `ReturnUserError`.")] + public enum ReturnErrorCode + { /// ///Unexpected internal error happened. /// - [Description("Unexpected internal error happened.")] - INTERNAL_ERROR, + [Description("Unexpected internal error happened.")] + INTERNAL_ERROR, /// ///Too many arguments provided. /// - [Description("Too many arguments provided.")] - TOO_MANY_ARGUMENTS, + [Description("Too many arguments provided.")] + TOO_MANY_ARGUMENTS, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value should be equal to the value allowed. /// - [Description("The input value should be equal to the value allowed.")] - EQUAL_TO, + [Description("The input value should be equal to the value allowed.")] + EQUAL_TO, /// ///The input value should be greater than the minimum allowed value. /// - [Description("The input value should be greater than the minimum allowed value.")] - GREATER_THAN, + [Description("The input value should be greater than the minimum allowed value.")] + GREATER_THAN, /// ///The input value should be greater than or equal to the minimum value allowed. /// - [Description("The input value should be greater than or equal to the minimum value allowed.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("The input value should be greater than or equal to the minimum value allowed.")] + GREATER_THAN_OR_EQUAL_TO, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value should be less than the maximum value allowed. /// - [Description("The input value should be less than the maximum value allowed.")] - LESS_THAN, + [Description("The input value should be less than the maximum value allowed.")] + LESS_THAN, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, /// ///The input value is not a number. /// - [Description("The input value is not a number.")] - NOT_A_NUMBER, + [Description("The input value is not a number.")] + NOT_A_NUMBER, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too big. /// - [Description("The input value is too big.")] - TOO_BIG, + [Description("The input value is too big.")] + TOO_BIG, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is the wrong length. /// - [Description("The input value is the wrong length.")] - WRONG_LENGTH, + [Description("The input value is the wrong length.")] + WRONG_LENGTH, /// ///The requested resource already exists. /// - [Description("The requested resource already exists.")] - ALREADY_EXISTS, + [Description("The requested resource already exists.")] + ALREADY_EXISTS, /// ///A requested resource could not be created. /// - [Description("A requested resource could not be created.")] - CREATION_FAILED, + [Description("A requested resource could not be created.")] + CREATION_FAILED, /// ///A required feature is not enabled. /// - [Description("A required feature is not enabled.")] - FEATURE_NOT_ENABLED, + [Description("A required feature is not enabled.")] + FEATURE_NOT_ENABLED, /// ///A resource was not in the correct state for the operation to succeed. /// - [Description("A resource was not in the correct state for the operation to succeed.")] - INVALID_STATE, + [Description("A resource was not in the correct state for the operation to succeed.")] + INVALID_STATE, /// ///The user does not have permission to perform the operation. /// - [Description("The user does not have permission to perform the operation.")] - MISSING_PERMISSION, + [Description("The user does not have permission to perform the operation.")] + MISSING_PERMISSION, /// ///A requested notification could not be sent. /// - [Description("A requested notification could not be sent.")] - NOTIFICATION_FAILED, + [Description("A requested notification could not be sent.")] + NOTIFICATION_FAILED, /// ///A requested item is not editable. /// - [Description("A requested item is not editable.")] - NOT_EDITABLE, + [Description("A requested item is not editable.")] + NOT_EDITABLE, /// ///A requested item could not be found. /// - [Description("A requested item could not be found.")] - NOT_FOUND, - } - - public static class ReturnErrorCodeStringValues - { - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - public const string TOO_MANY_ARGUMENTS = @"TOO_MANY_ARGUMENTS"; - public const string BLANK = @"BLANK"; - public const string EQUAL_TO = @"EQUAL_TO"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string INCLUSION = @"INCLUSION"; - public const string INVALID = @"INVALID"; - public const string LESS_THAN = @"LESS_THAN"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - public const string NOT_A_NUMBER = @"NOT_A_NUMBER"; - public const string PRESENT = @"PRESENT"; - public const string TAKEN = @"TAKEN"; - public const string TOO_BIG = @"TOO_BIG"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string WRONG_LENGTH = @"WRONG_LENGTH"; - public const string ALREADY_EXISTS = @"ALREADY_EXISTS"; - public const string CREATION_FAILED = @"CREATION_FAILED"; - public const string FEATURE_NOT_ENABLED = @"FEATURE_NOT_ENABLED"; - public const string INVALID_STATE = @"INVALID_STATE"; - public const string MISSING_PERMISSION = @"MISSING_PERMISSION"; - public const string NOTIFICATION_FAILED = @"NOTIFICATION_FAILED"; - public const string NOT_EDITABLE = @"NOT_EDITABLE"; - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("A requested item could not be found.")] + NOT_FOUND, + } + + public static class ReturnErrorCodeStringValues + { + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + public const string TOO_MANY_ARGUMENTS = @"TOO_MANY_ARGUMENTS"; + public const string BLANK = @"BLANK"; + public const string EQUAL_TO = @"EQUAL_TO"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string INCLUSION = @"INCLUSION"; + public const string INVALID = @"INVALID"; + public const string LESS_THAN = @"LESS_THAN"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + public const string NOT_A_NUMBER = @"NOT_A_NUMBER"; + public const string PRESENT = @"PRESENT"; + public const string TAKEN = @"TAKEN"; + public const string TOO_BIG = @"TOO_BIG"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string WRONG_LENGTH = @"WRONG_LENGTH"; + public const string ALREADY_EXISTS = @"ALREADY_EXISTS"; + public const string CREATION_FAILED = @"CREATION_FAILED"; + public const string FEATURE_NOT_ENABLED = @"FEATURE_NOT_ENABLED"; + public const string INVALID_STATE = @"INVALID_STATE"; + public const string MISSING_PERMISSION = @"MISSING_PERMISSION"; + public const string NOTIFICATION_FAILED = @"NOTIFICATION_FAILED"; + public const string NOT_EDITABLE = @"NOT_EDITABLE"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///The input fields for a return. /// - [Description("The input fields for a return.")] - public class ReturnInput : GraphQLObject - { + [Description("The input fields for a return.")] + public class ReturnInput : GraphQLObject + { /// ///The new line items to be added to the order. /// - [Description("The new line items to be added to the order.")] - public IEnumerable? exchangeLineItems { get; set; } - + [Description("The new line items to be added to the order.")] + public IEnumerable? exchangeLineItems { get; set; } + /// ///The UTC date and time when the return was first solicited by the customer. /// - [Description("The UTC date and time when the return was first solicited by the customer.")] - public DateTime? requestedAt { get; set; } - + [Description("The UTC date and time when the return was first solicited by the customer.")] + public DateTime? requestedAt { get; set; } + /// ///The ID of the order to be returned. /// - [Description("The ID of the order to be returned.")] - [NonNull] - public string? orderId { get; set; } - + [Description("The ID of the order to be returned.")] + [NonNull] + public string? orderId { get; set; } + /// ///The return line items list to be handled. /// - [Description("The return line items list to be handled.")] - [NonNull] - public IEnumerable? returnLineItems { get; set; } - + [Description("The return line items list to be handled.")] + [NonNull] + public IEnumerable? returnLineItems { get; set; } + /// ///The return shipping fee to capture. /// - [Description("The return shipping fee to capture.")] - public ReturnShippingFeeInput? returnShippingFee { get; set; } - + [Description("The return shipping fee to capture.")] + public ReturnShippingFeeInput? returnShippingFee { get; set; } + /// ///When `true` the customer will receive a notification if there's an `Order.email` present. /// - [Description("When `true` the customer will receive a notification if there's an `Order.email` present.")] - [Obsolete("This field is no longer supported and any value provided to it is currently ignored.")] - public bool? notifyCustomer { get; set; } - + [Description("When `true` the customer will receive a notification if there's an `Order.email` present.")] + [Obsolete("This field is no longer supported and any value provided to it is currently ignored.")] + public bool? notifyCustomer { get; set; } + /// ///When `true` the return will be created in an unprocessed state; returns must subsequently be processed via Return Processing APIs in order to take further action on them. Creating returns in an unprocessed state will soon be the default behavior. After July 1st, 2025, this field is only available to merchants who have created exchanges or returns with fees using API up that date. It will be ignored otherwise. /// - [Description("When `true` the return will be created in an unprocessed state; returns must subsequently be processed via Return Processing APIs in order to take further action on them. Creating returns in an unprocessed state will soon be the default behavior. After July 1st, 2025, this field is only available to merchants who have created exchanges or returns with fees using API up that date. It will be ignored otherwise.")] - [Obsolete("This field is temporary to support the transition to Returns Processing APIs.")] - public bool? unprocessed { get; set; } - } - + [Description("When `true` the return will be created in an unprocessed state; returns must subsequently be processed via Return Processing APIs in order to take further action on them. Creating returns in an unprocessed state will soon be the default behavior. After July 1st, 2025, this field is only available to merchants who have created exchanges or returns with fees using API up that date. It will be ignored otherwise.")] + [Obsolete("This field is temporary to support the transition to Returns Processing APIs.")] + public bool? unprocessed { get; set; } + } + /// ///A return line item. /// - [Description("A return line item.")] - public class ReturnLineItem : GraphQLObject, INode, IReturnLineItemType - { + [Description("A return line item.")] + public class ReturnLineItem : GraphQLObject, INode, IReturnLineItemType + { /// ///A note from the customer that describes the item to be returned. Maximum length: 300 characters. /// - [Description("A note from the customer that describes the item to be returned. Maximum length: 300 characters.")] - public string? customerNote { get; set; } - + [Description("A note from the customer that describes the item to be returned. Maximum length: 300 characters.")] + public string? customerNote { get; set; } + /// ///The fulfillment line item from which items are returned. /// - [Description("The fulfillment line item from which items are returned.")] - [NonNull] - public FulfillmentLineItem? fulfillmentLineItem { get; set; } - + [Description("The fulfillment line item from which items are returned.")] + [NonNull] + public FulfillmentLineItem? fulfillmentLineItem { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity that can be processed. /// - [Description("The quantity that can be processed.")] - [NonNull] - public int? processableQuantity { get; set; } - + [Description("The quantity that can be processed.")] + [NonNull] + public int? processableQuantity { get; set; } + /// ///The quantity that has been processed. /// - [Description("The quantity that has been processed.")] - [NonNull] - public int? processedQuantity { get; set; } - + [Description("The quantity that has been processed.")] + [NonNull] + public int? processedQuantity { get; set; } + /// ///The quantity being returned. /// - [Description("The quantity being returned.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity being returned.")] + [NonNull] + public int? quantity { get; set; } + /// ///The quantity that can be refunded. /// - [Description("The quantity that can be refunded.")] - [NonNull] - public int? refundableQuantity { get; set; } - + [Description("The quantity that can be refunded.")] + [NonNull] + public int? refundableQuantity { get; set; } + /// ///The quantity that was refunded. /// - [Description("The quantity that was refunded.")] - [NonNull] - public int? refundedQuantity { get; set; } - + [Description("The quantity that was refunded.")] + [NonNull] + public int? refundedQuantity { get; set; } + /// ///The restocking fee for the return line item. /// - [Description("The restocking fee for the return line item.")] - public RestockingFee? restockingFee { get; set; } - + [Description("The restocking fee for the return line item.")] + public RestockingFee? restockingFee { get; set; } + /// ///The reason for returning the item. /// - [Description("The reason for returning the item.")] - [Obsolete("Use `returnReasonDefinition` instead. This field will be removed in the future.")] - [NonNull] - [EnumType(typeof(ReturnReason))] - public string? returnReason { get; set; } - + [Description("The reason for returning the item.")] + [Obsolete("Use `returnReasonDefinition` instead. This field will be removed in the future.")] + [NonNull] + [EnumType(typeof(ReturnReason))] + public string? returnReason { get; set; } + /// ///Additional information about the reason for the return. Maximum length: 255 characters. /// - [Description("Additional information about the reason for the return. Maximum length: 255 characters.")] - [NonNull] - public string? returnReasonNote { get; set; } - + [Description("Additional information about the reason for the return. Maximum length: 255 characters.")] + [NonNull] + public string? returnReasonNote { get; set; } + /// ///The total weight of the item. /// - [Description("The total weight of the item.")] - public Weight? totalWeight { get; set; } - + [Description("The total weight of the item.")] + public Weight? totalWeight { get; set; } + /// ///The quantity that has't been processed. /// - [Description("The quantity that has't been processed.")] - [NonNull] - public int? unprocessedQuantity { get; set; } - + [Description("The quantity that has't been processed.")] + [NonNull] + public int? unprocessedQuantity { get; set; } + /// ///The total line price after all discounts on the line item, including both line item level discounts and code-based line item discounts, are applied. /// - [Description("The total line price after all discounts on the line item, including both line item level discounts and code-based line item discounts, are applied.")] - [NonNull] - public MoneyBag? withCodeDiscountedTotalPriceSet { get; set; } - } - + [Description("The total line price after all discounts on the line item, including both line item level discounts and code-based line item discounts, are applied.")] + [NonNull] + public MoneyBag? withCodeDiscountedTotalPriceSet { get; set; } + } + /// ///An auto-generated type for paginating through multiple ReturnLineItems. /// - [Description("An auto-generated type for paginating through multiple ReturnLineItems.")] - public class ReturnLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ReturnLineItems.")] + public class ReturnLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReturnLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReturnLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReturnLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ReturnLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one ReturnLineItem and a cursor during pagination.")] - public class ReturnLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ReturnLineItem and a cursor during pagination.")] + public class ReturnLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReturnLineItemEdge. /// - [Description("The item at the end of ReturnLineItemEdge.")] - [NonNull] - public ReturnLineItem? node { get; set; } - } - + [Description("The item at the end of ReturnLineItemEdge.")] + [NonNull] + public ReturnLineItem? node { get; set; } + } + /// ///The input fields for a return line item. /// - [Description("The input fields for a return line item.")] - public class ReturnLineItemInput : GraphQLObject - { + [Description("The input fields for a return line item.")] + public class ReturnLineItemInput : GraphQLObject + { /// ///The quantity of the item to be returned. /// - [Description("The quantity of the item to be returned.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the item to be returned.")] + [NonNull] + public int? quantity { get; set; } + /// ///The reason for the item to be returned. /// - [Description("The reason for the item to be returned.")] - [Obsolete("Use `returnReasonDefinitionId` instead. This field will be removed in the future.")] - [EnumType(typeof(ReturnReason))] - public string? returnReason { get; set; } - + [Description("The reason for the item to be returned.")] + [Obsolete("Use `returnReasonDefinitionId` instead. This field will be removed in the future.")] + [EnumType(typeof(ReturnReason))] + public string? returnReason { get; set; } + /// ///The ID of the return reason definition for the item to be returned. /// - [Description("The ID of the return reason definition for the item to be returned.")] - public string? returnReasonDefinitionId { get; set; } - + [Description("The ID of the return reason definition for the item to be returned.")] + public string? returnReasonDefinitionId { get; set; } + /// ///A note about the reason that the item is being returned. ///Maximum length: 255 characters. /// - [Description("A note about the reason that the item is being returned.\nMaximum length: 255 characters.")] - public string? returnReasonNote { get; set; } - + [Description("A note about the reason that the item is being returned.\nMaximum length: 255 characters.")] + public string? returnReasonNote { get; set; } + /// ///The ID of the fulfillment line item to be returned. ///Specifically, this field expects a `FulfillmentLineItem.id`. /// - [Description("The ID of the fulfillment line item to be returned.\nSpecifically, this field expects a `FulfillmentLineItem.id`.")] - [NonNull] - public string? fulfillmentLineItemId { get; set; } - + [Description("The ID of the fulfillment line item to be returned.\nSpecifically, this field expects a `FulfillmentLineItem.id`.")] + [NonNull] + public string? fulfillmentLineItemId { get; set; } + /// ///The restocking fee to capture. /// - [Description("The restocking fee to capture.")] - public RestockingFeeInput? restockingFee { get; set; } - } - + [Description("The restocking fee to capture.")] + public RestockingFeeInput? restockingFee { get; set; } + } + /// ///The input fields for a removing a return line item from a return. /// - [Description("The input fields for a removing a return line item from a return.")] - public class ReturnLineItemRemoveFromReturnInput : GraphQLObject - { + [Description("The input fields for a removing a return line item from a return.")] + public class ReturnLineItemRemoveFromReturnInput : GraphQLObject + { /// ///The ID of the return line item to remove. /// - [Description("The ID of the return line item to remove.")] - [NonNull] - public string? returnLineItemId { get; set; } - + [Description("The ID of the return line item to remove.")] + [NonNull] + public string? returnLineItemId { get; set; } + /// ///The quantity of the associated return line item to be removed. /// - [Description("The quantity of the associated return line item to be removed.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the associated return line item to be removed.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///Return type for `returnLineItemRemoveFromReturn` mutation. /// - [Description("Return type for `returnLineItemRemoveFromReturn` mutation.")] - public class ReturnLineItemRemoveFromReturnPayload : GraphQLObject - { + [Description("Return type for `returnLineItemRemoveFromReturn` mutation.")] + public class ReturnLineItemRemoveFromReturnPayload : GraphQLObject + { /// ///The modified return. /// - [Description("The modified return.")] - public Return? @return { get; set; } - + [Description("The modified return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A return line item of any type. /// - [Description("A return line item of any type.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(ReturnLineItem), typeDiscriminator: "ReturnLineItem")] - [JsonDerivedType(typeof(UnverifiedReturnLineItem), typeDiscriminator: "UnverifiedReturnLineItem")] - public interface IReturnLineItemType : IGraphQLObject, INode - { + [Description("A return line item of any type.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(ReturnLineItem), typeDiscriminator: "ReturnLineItem")] + [JsonDerivedType(typeof(UnverifiedReturnLineItem), typeDiscriminator: "UnverifiedReturnLineItem")] + public interface IReturnLineItemType : IGraphQLObject, INode + { /// ///A note from the customer that describes the item to be returned. Maximum length: 300 characters. /// - [Description("A note from the customer that describes the item to be returned. Maximum length: 300 characters.")] - public string? customerNote { get; } - + [Description("A note from the customer that describes the item to be returned. Maximum length: 300 characters.")] + public string? customerNote { get; } + /// ///The quantity that can be processed. /// - [Description("The quantity that can be processed.")] - [NonNull] - public int? processableQuantity { get; } - + [Description("The quantity that can be processed.")] + [NonNull] + public int? processableQuantity { get; } + /// ///The quantity that has been processed. /// - [Description("The quantity that has been processed.")] - [NonNull] - public int? processedQuantity { get; } - + [Description("The quantity that has been processed.")] + [NonNull] + public int? processedQuantity { get; } + /// ///The quantity being returned. /// - [Description("The quantity being returned.")] - [NonNull] - public int? quantity { get; } - + [Description("The quantity being returned.")] + [NonNull] + public int? quantity { get; } + /// ///The quantity that can be refunded. /// - [Description("The quantity that can be refunded.")] - [NonNull] - public int? refundableQuantity { get; } - + [Description("The quantity that can be refunded.")] + [NonNull] + public int? refundableQuantity { get; } + /// ///The quantity that was refunded. /// - [Description("The quantity that was refunded.")] - [NonNull] - public int? refundedQuantity { get; } - + [Description("The quantity that was refunded.")] + [NonNull] + public int? refundedQuantity { get; } + /// ///The reason for returning the item. /// - [Description("The reason for returning the item.")] - [Obsolete("Use `returnReasonDefinition` instead. This field will be removed in the future.")] - [NonNull] - [EnumType(typeof(ReturnReason))] - public string? returnReason { get; } - + [Description("The reason for returning the item.")] + [Obsolete("Use `returnReasonDefinition` instead. This field will be removed in the future.")] + [NonNull] + [EnumType(typeof(ReturnReason))] + public string? returnReason { get; } + /// ///Additional information about the reason for the return. Maximum length: 255 characters. /// - [Description("Additional information about the reason for the return. Maximum length: 255 characters.")] - [NonNull] - public string? returnReasonNote { get; } - + [Description("Additional information about the reason for the return. Maximum length: 255 characters.")] + [NonNull] + public string? returnReasonNote { get; } + /// ///The quantity that has't been processed. /// - [Description("The quantity that has't been processed.")] - [NonNull] - public int? unprocessedQuantity { get; } - } - + [Description("The quantity that has't been processed.")] + [NonNull] + public int? unprocessedQuantity { get; } + } + /// ///The financial transfer details for the return outcome. /// - [Description("The financial transfer details for the return outcome.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(InvoiceReturnOutcome), typeDiscriminator: "InvoiceReturnOutcome")] - [JsonDerivedType(typeof(RefundReturnOutcome), typeDiscriminator: "RefundReturnOutcome")] - public interface IReturnOutcomeFinancialTransfer : IGraphQLObject - { - public InvoiceReturnOutcome? AsInvoiceReturnOutcome() => this as InvoiceReturnOutcome; - public RefundReturnOutcome? AsRefundReturnOutcome() => this as RefundReturnOutcome; + [Description("The financial transfer details for the return outcome.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(InvoiceReturnOutcome), typeDiscriminator: "InvoiceReturnOutcome")] + [JsonDerivedType(typeof(RefundReturnOutcome), typeDiscriminator: "RefundReturnOutcome")] + public interface IReturnOutcomeFinancialTransfer : IGraphQLObject + { + public InvoiceReturnOutcome? AsInvoiceReturnOutcome() => this as InvoiceReturnOutcome; + public RefundReturnOutcome? AsRefundReturnOutcome() => this as RefundReturnOutcome; /// ///The total monetary value to be invoiced in shop and presentment currencies. /// - [Description("The total monetary value to be invoiced in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amount { get; set; } - } - + [Description("The total monetary value to be invoiced in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amount { get; set; } + } + /// ///The input fields for an exchange line item. /// - [Description("The input fields for an exchange line item.")] - public class ReturnProcessExchangeLineItemInput : GraphQLObject - { + [Description("The input fields for an exchange line item.")] + public class ReturnProcessExchangeLineItemInput : GraphQLObject + { /// ///The ID of the exchange line item. /// - [Description("The ID of the exchange line item.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the exchange line item.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity of the exchange line item. /// - [Description("The quantity of the exchange line item.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the exchange line item.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields for the financial transfer for the return. /// - [Description("The input fields for the financial transfer for the return.")] - public class ReturnProcessFinancialTransferInput : GraphQLObject - { + [Description("The input fields for the financial transfer for the return.")] + public class ReturnProcessFinancialTransferInput : GraphQLObject + { /// ///Issue a refund for the return. /// - [Description("Issue a refund for the return.")] - public ReturnProcessRefundInput? issueRefund { get; set; } - } - + [Description("Issue a refund for the return.")] + public ReturnProcessRefundInput? issueRefund { get; set; } + } + /// ///The input fields for processing a return. /// - [Description("The input fields for processing a return.")] - public class ReturnProcessInput : GraphQLObject - { + [Description("The input fields for processing a return.")] + public class ReturnProcessInput : GraphQLObject + { /// ///The ID of the return to be processed. /// - [Description("The ID of the return to be processed.")] - [NonNull] - public string? returnId { get; set; } - + [Description("The ID of the return to be processed.")] + [NonNull] + public string? returnId { get; set; } + /// ///The return line items list to be handled. /// - [Description("The return line items list to be handled.")] - public IEnumerable? returnLineItems { get; set; } - + [Description("The return line items list to be handled.")] + public IEnumerable? returnLineItems { get; set; } + /// ///The exchange line items list to be handled. /// - [Description("The exchange line items list to be handled.")] - public IEnumerable? exchangeLineItems { get; set; } - + [Description("The exchange line items list to be handled.")] + public IEnumerable? exchangeLineItems { get; set; } + /// ///The refund duties list to be handled. /// - [Description("The refund duties list to be handled.")] - public IEnumerable? refundDuties { get; set; } - + [Description("The refund duties list to be handled.")] + public IEnumerable? refundDuties { get; set; } + /// ///The shipping cost to refund. /// - [Description("The shipping cost to refund.")] - public RefundShippingInput? refundShipping { get; set; } - + [Description("The shipping cost to refund.")] + public RefundShippingInput? refundShipping { get; set; } + /// ///ID of the tip line item. /// - [Description("ID of the tip line item.")] - public string? tipLineId { get; set; } - + [Description("ID of the tip line item.")] + public string? tipLineId { get; set; } + /// ///The note for the return. /// - [Description("The note for the return.")] - public string? note { get; set; } - + [Description("The note for the return.")] + public string? note { get; set; } + /// ///Whether to notify the customer about the return. /// - [Description("Whether to notify the customer about the return.")] - public bool? notifyCustomer { get; set; } - + [Description("Whether to notify the customer about the return.")] + public bool? notifyCustomer { get; set; } + /// ///The financial transfer for the return. /// - [Description("The financial transfer for the return.")] - public ReturnProcessFinancialTransferInput? financialTransfer { get; set; } - } - + [Description("The financial transfer for the return.")] + public ReturnProcessFinancialTransferInput? financialTransfer { get; set; } + } + /// ///Return type for `returnProcess` mutation. /// - [Description("Return type for `returnProcess` mutation.")] - public class ReturnProcessPayload : GraphQLObject - { + [Description("Return type for `returnProcess` mutation.")] + public class ReturnProcessPayload : GraphQLObject + { /// ///The processed return. /// - [Description("The processed return.")] - public Return? @return { get; set; } - + [Description("The processed return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for the refund for the return. /// - [Description("The input fields for the refund for the return.")] - public class ReturnProcessRefundInput : GraphQLObject - { + [Description("The input fields for the refund for the return.")] + public class ReturnProcessRefundInput : GraphQLObject + { /// ///Whether to allow the total refunded amount to surpass the amount paid for the order. /// - [Description("Whether to allow the total refunded amount to surpass the amount paid for the order.")] - public bool? allowOverRefunding { get; set; } - + [Description("Whether to allow the total refunded amount to surpass the amount paid for the order.")] + public bool? allowOverRefunding { get; set; } + /// ///The order transactions for the refund. /// - [Description("The order transactions for the refund.")] - [NonNull] - public IEnumerable? orderTransactions { get; set; } - + [Description("The order transactions for the refund.")] + [NonNull] + public IEnumerable? orderTransactions { get; set; } + /// ///A list of instructions to process the financial outcome of the refund. /// - [Description("A list of instructions to process the financial outcome of the refund.")] - public IEnumerable? refundMethods { get; set; } - } - + [Description("A list of instructions to process the financial outcome of the refund.")] + public IEnumerable? refundMethods { get; set; } + } + /// ///The input fields for a return line item. /// - [Description("The input fields for a return line item.")] - public class ReturnProcessReturnLineItemInput : GraphQLObject - { + [Description("The input fields for a return line item.")] + public class ReturnProcessReturnLineItemInput : GraphQLObject + { /// ///The ID of the return line item. /// - [Description("The ID of the return line item.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the return line item.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity of the return line item. /// - [Description("The quantity of the return line item.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the return line item.")] + [NonNull] + public int? quantity { get; set; } + /// ///The dispositions for the return line item. /// - [Description("The dispositions for the return line item.")] - public IEnumerable? dispositions { get; set; } - } - + [Description("The dispositions for the return line item.")] + public IEnumerable? dispositions { get; set; } + } + /// ///Filter line items based on processing status. /// - [Description("Filter line items based on processing status.")] - public enum ReturnProcessingStatusFilterInput - { + [Description("Filter line items based on processing status.")] + public enum ReturnProcessingStatusFilterInput + { /// ///Only include line items that have been processed. /// - [Description("Only include line items that have been processed.")] - PROCESSED, + [Description("Only include line items that have been processed.")] + PROCESSED, /// ///Only include line items that have some processable quantity. /// - [Description("Only include line items that have some processable quantity.")] - PROCESSABLE, - } - - public static class ReturnProcessingStatusFilterInputStringValues - { - public const string PROCESSED = @"PROCESSED"; - public const string PROCESSABLE = @"PROCESSABLE"; - } - + [Description("Only include line items that have some processable quantity.")] + PROCESSABLE, + } + + public static class ReturnProcessingStatusFilterInputStringValues + { + public const string PROCESSED = @"PROCESSED"; + public const string PROCESSABLE = @"PROCESSABLE"; + } + /// ///The reason for returning the return line item. /// - [Description("The reason for returning the return line item.")] - public enum ReturnReason - { + [Description("The reason for returning the return line item.")] + public enum ReturnReason + { /// ///The item is returned because the size was too small. Displays as **Size was too small**. /// - [Description("The item is returned because the size was too small. Displays as **Size was too small**.")] - SIZE_TOO_SMALL, + [Description("The item is returned because the size was too small. Displays as **Size was too small**.")] + SIZE_TOO_SMALL, /// ///The item is returned because the size was too large. Displays as **Size was too large**. /// - [Description("The item is returned because the size was too large. Displays as **Size was too large**.")] - SIZE_TOO_LARGE, + [Description("The item is returned because the size was too large. Displays as **Size was too large**.")] + SIZE_TOO_LARGE, /// ///The item is returned because the customer changed their mind. Displays as **Customer changed their mind**. /// - [Description("The item is returned because the customer changed their mind. Displays as **Customer changed their mind**.")] - UNWANTED, + [Description("The item is returned because the customer changed their mind. Displays as **Customer changed their mind**.")] + UNWANTED, /// ///The item is returned because it was not as described. Displays as **Item not as described**. /// - [Description("The item is returned because it was not as described. Displays as **Item not as described**.")] - NOT_AS_DESCRIBED, + [Description("The item is returned because it was not as described. Displays as **Item not as described**.")] + NOT_AS_DESCRIBED, /// ///The item is returned because the customer received the wrong one. Displays as **Received the wrong item**. /// - [Description("The item is returned because the customer received the wrong one. Displays as **Received the wrong item**.")] - WRONG_ITEM, + [Description("The item is returned because the customer received the wrong one. Displays as **Received the wrong item**.")] + WRONG_ITEM, /// ///The item is returned because it is damaged or defective. Displays as **Damaged or defective**. /// - [Description("The item is returned because it is damaged or defective. Displays as **Damaged or defective**.")] - DEFECTIVE, + [Description("The item is returned because it is damaged or defective. Displays as **Damaged or defective**.")] + DEFECTIVE, /// ///The item is returned because the buyer did not like the style. Displays as **Style**. /// - [Description("The item is returned because the buyer did not like the style. Displays as **Style**.")] - STYLE, + [Description("The item is returned because the buyer did not like the style. Displays as **Style**.")] + STYLE, /// ///The item is returned because the buyer did not like the color. Displays as **Color**. /// - [Description("The item is returned because the buyer did not like the color. Displays as **Color**.")] - COLOR, + [Description("The item is returned because the buyer did not like the color. Displays as **Color**.")] + COLOR, /// ///The item is returned for another reason. For this value, a return reason note is also provided. Displays as **Other**. /// - [Description("The item is returned for another reason. For this value, a return reason note is also provided. Displays as **Other**.")] - OTHER, + [Description("The item is returned for another reason. For this value, a return reason note is also provided. Displays as **Other**.")] + OTHER, /// ///The item is returned because of an unknown reason. Displays as **Unknown**. /// - [Description("The item is returned because of an unknown reason. Displays as **Unknown**.")] - UNKNOWN, - } - - public static class ReturnReasonStringValues - { - public const string SIZE_TOO_SMALL = @"SIZE_TOO_SMALL"; - public const string SIZE_TOO_LARGE = @"SIZE_TOO_LARGE"; - public const string UNWANTED = @"UNWANTED"; - public const string NOT_AS_DESCRIBED = @"NOT_AS_DESCRIBED"; - public const string WRONG_ITEM = @"WRONG_ITEM"; - public const string DEFECTIVE = @"DEFECTIVE"; - public const string STYLE = @"STYLE"; - public const string COLOR = @"COLOR"; - public const string OTHER = @"OTHER"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("The item is returned because of an unknown reason. Displays as **Unknown**.")] + UNKNOWN, + } + + public static class ReturnReasonStringValues + { + public const string SIZE_TOO_SMALL = @"SIZE_TOO_SMALL"; + public const string SIZE_TOO_LARGE = @"SIZE_TOO_LARGE"; + public const string UNWANTED = @"UNWANTED"; + public const string NOT_AS_DESCRIBED = @"NOT_AS_DESCRIBED"; + public const string WRONG_ITEM = @"WRONG_ITEM"; + public const string DEFECTIVE = @"DEFECTIVE"; + public const string STYLE = @"STYLE"; + public const string COLOR = @"COLOR"; + public const string OTHER = @"OTHER"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///The input fields to refund a return. /// - [Description("The input fields to refund a return.")] - public class ReturnRefundInput : GraphQLObject - { + [Description("The input fields to refund a return.")] + public class ReturnRefundInput : GraphQLObject + { /// ///The ID of the return. /// - [Description("The ID of the return.")] - [NonNull] - public string? returnId { get; set; } - + [Description("The ID of the return.")] + [NonNull] + public string? returnId { get; set; } + /// ///A list of return line items to refund. /// - [Description("A list of return line items to refund.")] - [NonNull] - public IEnumerable? returnRefundLineItems { get; set; } - + [Description("A list of return line items to refund.")] + [NonNull] + public IEnumerable? returnRefundLineItems { get; set; } + /// ///The shipping amount to refund. /// - [Description("The shipping amount to refund.")] - public RefundShippingInput? refundShipping { get; set; } - + [Description("The shipping amount to refund.")] + public RefundShippingInput? refundShipping { get; set; } + /// ///A list of duties to refund. /// - [Description("A list of duties to refund.")] - public IEnumerable? refundDuties { get; set; } - + [Description("A list of duties to refund.")] + public IEnumerable? refundDuties { get; set; } + /// ///A list of transactions involved in refunding the return. /// - [Description("A list of transactions involved in refunding the return.")] - public IEnumerable? orderTransactions { get; set; } - + [Description("A list of transactions involved in refunding the return.")] + public IEnumerable? orderTransactions { get; set; } + /// ///Whether to send a refund notification to the customer. /// - [Description("Whether to send a refund notification to the customer.")] - public bool? notifyCustomer { get; set; } - + [Description("Whether to send a refund notification to the customer.")] + public bool? notifyCustomer { get; set; } + /// ///An optional note that's attached to the refund. /// - [Description("An optional note that's attached to the refund.")] - public string? note { get; set; } - } - + [Description("An optional note that's attached to the refund.")] + public string? note { get; set; } + } + /// ///The input fields for a return refund line item. /// - [Description("The input fields for a return refund line item.")] - public class ReturnRefundLineItemInput : GraphQLObject - { + [Description("The input fields for a return refund line item.")] + public class ReturnRefundLineItemInput : GraphQLObject + { /// ///The ID of the return line item to be refunded. /// - [Description("The ID of the return line item to be refunded.")] - [NonNull] - public string? returnLineItemId { get; set; } - + [Description("The ID of the return line item to be refunded.")] + [NonNull] + public string? returnLineItemId { get; set; } + /// ///The quantity of the return line item to be refunded. /// - [Description("The quantity of the return line item to be refunded.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the return line item to be refunded.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields to create order transactions when refunding a return. /// - [Description("The input fields to create order transactions when refunding a return.")] - public class ReturnRefundOrderTransactionInput : GraphQLObject - { + [Description("The input fields to create order transactions when refunding a return.")] + public class ReturnRefundOrderTransactionInput : GraphQLObject + { /// ///The amount of money for the transaction in the presentment currency of the order. /// - [Description("The amount of money for the transaction in the presentment currency of the order.")] - [NonNull] - public MoneyInput? transactionAmount { get; set; } - + [Description("The amount of money for the transaction in the presentment currency of the order.")] + [NonNull] + public MoneyInput? transactionAmount { get; set; } + /// ///The ID of the parent order transaction. The transaction must be of kind `CAPTURE` or a `SALE`. /// - [Description("The ID of the parent order transaction. The transaction must be of kind `CAPTURE` or a `SALE`.")] - [NonNull] - public string? parentId { get; set; } - } - + [Description("The ID of the parent order transaction. The transaction must be of kind `CAPTURE` or a `SALE`.")] + [NonNull] + public string? parentId { get; set; } + } + /// ///Return type for `returnRefund` mutation. /// - [Description("Return type for `returnRefund` mutation.")] - public class ReturnRefundPayload : GraphQLObject - { + [Description("Return type for `returnRefund` mutation.")] + public class ReturnRefundPayload : GraphQLObject + { /// ///The created refund. /// - [Description("The created refund.")] - public Refund? refund { get; set; } - + [Description("The created refund.")] + public Refund? refund { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `returnReopen` mutation. /// - [Description("Return type for `returnReopen` mutation.")] - public class ReturnReopenPayload : GraphQLObject - { + [Description("Return type for `returnReopen` mutation.")] + public class ReturnReopenPayload : GraphQLObject + { /// ///The reopened return. /// - [Description("The reopened return.")] - public Return? @return { get; set; } - + [Description("The reopened return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for requesting a return. /// - [Description("The input fields for requesting a return.")] - public class ReturnRequestInput : GraphQLObject - { + [Description("The input fields for requesting a return.")] + public class ReturnRequestInput : GraphQLObject + { /// ///The ID of the order that's being returned. /// - [Description("The ID of the order that's being returned.")] - [NonNull] - public string? orderId { get; set; } - + [Description("The ID of the order that's being returned.")] + [NonNull] + public string? orderId { get; set; } + /// ///The line items that are being handled in the return. /// - [Description("The line items that are being handled in the return.")] - [NonNull] - public IEnumerable? returnLineItems { get; set; } - + [Description("The line items that are being handled in the return.")] + [NonNull] + public IEnumerable? returnLineItems { get; set; } + /// ///The return shipping fee to capture. /// - [Description("The return shipping fee to capture.")] - public ReturnShippingFeeInput? returnShippingFee { get; set; } - } - + [Description("The return shipping fee to capture.")] + public ReturnShippingFeeInput? returnShippingFee { get; set; } + } + /// ///The input fields for a return line item. /// - [Description("The input fields for a return line item.")] - public class ReturnRequestLineItemInput : GraphQLObject - { + [Description("The input fields for a return line item.")] + public class ReturnRequestLineItemInput : GraphQLObject + { /// ///The ID of the fulfillment line item to be returned. ///Specifically, this field expects a `FulfillmentLineItem.id`. /// - [Description("The ID of the fulfillment line item to be returned.\nSpecifically, this field expects a `FulfillmentLineItem.id`.")] - [NonNull] - public string? fulfillmentLineItemId { get; set; } - + [Description("The ID of the fulfillment line item to be returned.\nSpecifically, this field expects a `FulfillmentLineItem.id`.")] + [NonNull] + public string? fulfillmentLineItemId { get; set; } + /// ///The quantity of the item that's being returned. /// - [Description("The quantity of the item that's being returned.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the item that's being returned.")] + [NonNull] + public int? quantity { get; set; } + /// ///The restocking fee to capture. /// - [Description("The restocking fee to capture.")] - public RestockingFeeInput? restockingFee { get; set; } - + [Description("The restocking fee to capture.")] + public RestockingFeeInput? restockingFee { get; set; } + /// ///The reason why the line item is being returned. /// - [Description("The reason why the line item is being returned.")] - [Obsolete("Use `returnReasonDefinitionId` instead. This field will be removed in the future.")] - [EnumType(typeof(ReturnReason))] - public string? returnReason { get; set; } - + [Description("The reason why the line item is being returned.")] + [Obsolete("Use `returnReasonDefinitionId` instead. This field will be removed in the future.")] + [EnumType(typeof(ReturnReason))] + public string? returnReason { get; set; } + /// ///The ID of the return reason definition for the item to be returned. /// - [Description("The ID of the return reason definition for the item to be returned.")] - public string? returnReasonDefinitionId { get; set; } - + [Description("The ID of the return reason definition for the item to be returned.")] + public string? returnReasonDefinitionId { get; set; } + /// ///A note from the customer that describes the item to be returned. ///For example, the note can communicate issues with the item to the merchant. ///Maximum length: 300 characters. /// - [Description("A note from the customer that describes the item to be returned.\nFor example, the note can communicate issues with the item to the merchant.\nMaximum length: 300 characters.")] - public string? customerNote { get; set; } - } - + [Description("A note from the customer that describes the item to be returned.\nFor example, the note can communicate issues with the item to the merchant.\nMaximum length: 300 characters.")] + public string? customerNote { get; set; } + } + /// ///Return type for `returnRequest` mutation. /// - [Description("Return type for `returnRequest` mutation.")] - public class ReturnRequestPayload : GraphQLObject - { + [Description("Return type for `returnRequest` mutation.")] + public class ReturnRequestPayload : GraphQLObject + { /// ///The requested return. /// - [Description("The requested return.")] - public Return? @return { get; set; } - + [Description("The requested return.")] + public Return? @return { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A return shipping fee is a fee captured as part of a return to cover the costs of shipping the return. /// - [Description("A return shipping fee is a fee captured as part of a return to cover the costs of shipping the return.")] - public class ReturnShippingFee : GraphQLObject, IFee - { + [Description("A return shipping fee is a fee captured as part of a return to cover the costs of shipping the return.")] + public class ReturnShippingFee : GraphQLObject, IFee + { /// ///The amount of the return shipping fee, in shop and presentment currencies. /// - [Description("The amount of the return shipping fee, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount of the return shipping fee, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The unique ID for the Fee. /// - [Description("The unique ID for the Fee.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The unique ID for the Fee.")] + [NonNull] + public string? id { get; set; } + } + /// ///The input fields for a return shipping fee. /// - [Description("The input fields for a return shipping fee.")] - public class ReturnShippingFeeInput : GraphQLObject - { + [Description("The input fields for a return shipping fee.")] + public class ReturnShippingFeeInput : GraphQLObject + { /// ///The value of the fee as a fixed amount in the presentment currency of the order. /// - [Description("The value of the fee as a fixed amount in the presentment currency of the order.")] - [NonNull] - public MoneyInput? amount { get; set; } - } - + [Description("The value of the fee as a fixed amount in the presentment currency of the order.")] + [NonNull] + public MoneyInput? amount { get; set; } + } + /// ///The status of a return. /// - [Description("The status of a return.")] - public enum ReturnStatus - { + [Description("The status of a return.")] + public enum ReturnStatus + { /// ///The return has been canceled. /// - [Description("The return has been canceled.")] - CANCELED, + [Description("The return has been canceled.")] + CANCELED, /// ///The return has been completed. /// - [Description("The return has been completed.")] - CLOSED, + [Description("The return has been completed.")] + CLOSED, /// ///The return is in progress. /// - [Description("The return is in progress.")] - OPEN, + [Description("The return is in progress.")] + OPEN, /// ///The return was requested. /// - [Description("The return was requested.")] - REQUESTED, + [Description("The return was requested.")] + REQUESTED, /// ///The return was declined. /// - [Description("The return was declined.")] - DECLINED, - } - - public static class ReturnStatusStringValues - { - public const string CANCELED = @"CANCELED"; - public const string CLOSED = @"CLOSED"; - public const string OPEN = @"OPEN"; - public const string REQUESTED = @"REQUESTED"; - public const string DECLINED = @"DECLINED"; - } - + [Description("The return was declined.")] + DECLINED, + } + + public static class ReturnStatusStringValues + { + public const string CANCELED = @"CANCELED"; + public const string CLOSED = @"CLOSED"; + public const string OPEN = @"OPEN"; + public const string REQUESTED = @"REQUESTED"; + public const string DECLINED = @"DECLINED"; + } + /// ///An error that occurs during the execution of a return mutation. /// - [Description("An error that occurs during the execution of a return mutation.")] - public class ReturnUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a return mutation.")] + public class ReturnUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ReturnErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ReturnErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///A returnable fulfillment, which is an order that has been delivered ///and is eligible to be returned to the merchant. /// - [Description("A returnable fulfillment, which is an order that has been delivered\nand is eligible to be returned to the merchant.")] - public class ReturnableFulfillment : GraphQLObject, INode - { + [Description("A returnable fulfillment, which is an order that has been delivered\nand is eligible to be returned to the merchant.")] + public class ReturnableFulfillment : GraphQLObject, INode + { /// ///The fulfillment that the returnable fulfillment refers to. /// - [Description("The fulfillment that the returnable fulfillment refers to.")] - [NonNull] - public Fulfillment? fulfillment { get; set; } - + [Description("The fulfillment that the returnable fulfillment refers to.")] + [NonNull] + public Fulfillment? fulfillment { get; set; } + /// ///The unique ID of the Returnable Fulfillment. /// - [Description("The unique ID of the Returnable Fulfillment.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID of the Returnable Fulfillment.")] + [NonNull] + public string? id { get; set; } + /// ///The list of returnable fulfillment line items. /// - [Description("The list of returnable fulfillment line items.")] - [NonNull] - public ReturnableFulfillmentLineItemConnection? returnableFulfillmentLineItems { get; set; } - } - + [Description("The list of returnable fulfillment line items.")] + [NonNull] + public ReturnableFulfillmentLineItemConnection? returnableFulfillmentLineItems { get; set; } + } + /// ///An auto-generated type for paginating through multiple ReturnableFulfillments. /// - [Description("An auto-generated type for paginating through multiple ReturnableFulfillments.")] - public class ReturnableFulfillmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ReturnableFulfillments.")] + public class ReturnableFulfillmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReturnableFulfillmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReturnableFulfillmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReturnableFulfillmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ReturnableFulfillment and a cursor during pagination. /// - [Description("An auto-generated type which holds one ReturnableFulfillment and a cursor during pagination.")] - public class ReturnableFulfillmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ReturnableFulfillment and a cursor during pagination.")] + public class ReturnableFulfillmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReturnableFulfillmentEdge. /// - [Description("The item at the end of ReturnableFulfillmentEdge.")] - [NonNull] - public ReturnableFulfillment? node { get; set; } - } - + [Description("The item at the end of ReturnableFulfillmentEdge.")] + [NonNull] + public ReturnableFulfillment? node { get; set; } + } + /// ///A returnable fulfillment line item. /// - [Description("A returnable fulfillment line item.")] - public class ReturnableFulfillmentLineItem : GraphQLObject - { + [Description("A returnable fulfillment line item.")] + public class ReturnableFulfillmentLineItem : GraphQLObject + { /// ///The fulfillment line item that can be returned. /// - [Description("The fulfillment line item that can be returned.")] - [NonNull] - public FulfillmentLineItem? fulfillmentLineItem { get; set; } - + [Description("The fulfillment line item that can be returned.")] + [NonNull] + public FulfillmentLineItem? fulfillmentLineItem { get; set; } + /// ///The quantity available to be returned. /// - [Description("The quantity available to be returned.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity available to be returned.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///An auto-generated type for paginating through multiple ReturnableFulfillmentLineItems. /// - [Description("An auto-generated type for paginating through multiple ReturnableFulfillmentLineItems.")] - public class ReturnableFulfillmentLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ReturnableFulfillmentLineItems.")] + public class ReturnableFulfillmentLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReturnableFulfillmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReturnableFulfillmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReturnableFulfillmentLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ReturnableFulfillmentLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one ReturnableFulfillmentLineItem and a cursor during pagination.")] - public class ReturnableFulfillmentLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ReturnableFulfillmentLineItem and a cursor during pagination.")] + public class ReturnableFulfillmentLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReturnableFulfillmentLineItemEdge. /// - [Description("The item at the end of ReturnableFulfillmentLineItemEdge.")] - [NonNull] - public ReturnableFulfillmentLineItem? node { get; set; } - } - + [Description("The item at the end of ReturnableFulfillmentLineItemEdge.")] + [NonNull] + public ReturnableFulfillmentLineItem? node { get; set; } + } + /// ///A reverse delivery is a post-fulfillment object that represents a buyer sending a package to a merchant. ///For example, a buyer requests a return, and a merchant sends the buyer a shipping label. ///The reverse delivery contains the context of the items sent back, how they're being sent back ///(for example, a shipping label), and the current state of the delivery (tracking information). /// - [Description("A reverse delivery is a post-fulfillment object that represents a buyer sending a package to a merchant.\nFor example, a buyer requests a return, and a merchant sends the buyer a shipping label.\nThe reverse delivery contains the context of the items sent back, how they're being sent back\n(for example, a shipping label), and the current state of the delivery (tracking information).")] - public class ReverseDelivery : GraphQLObject, INode - { + [Description("A reverse delivery is a post-fulfillment object that represents a buyer sending a package to a merchant.\nFor example, a buyer requests a return, and a merchant sends the buyer a shipping label.\nThe reverse delivery contains the context of the items sent back, how they're being sent back\n(for example, a shipping label), and the current state of the delivery (tracking information).")] + public class ReverseDelivery : GraphQLObject, INode + { /// ///The deliverable associated with the reverse delivery. /// - [Description("The deliverable associated with the reverse delivery.")] - public IReverseDeliveryDeliverable? deliverable { get; set; } - + [Description("The deliverable associated with the reverse delivery.")] + public IReverseDeliveryDeliverable? deliverable { get; set; } + /// ///The ID of the reverse delivery. /// - [Description("The ID of the reverse delivery.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the reverse delivery.")] + [NonNull] + public string? id { get; set; } + /// ///The reverse delivery line items attached to the reverse delivery. /// - [Description("The reverse delivery line items attached to the reverse delivery.")] - [NonNull] - public ReverseDeliveryLineItemConnection? reverseDeliveryLineItems { get; set; } - + [Description("The reverse delivery line items attached to the reverse delivery.")] + [NonNull] + public ReverseDeliveryLineItemConnection? reverseDeliveryLineItems { get; set; } + /// ///The `ReverseFulfillmentOrder` associated with the reverse delivery. /// - [Description("The `ReverseFulfillmentOrder` associated with the reverse delivery.")] - [NonNull] - public ReverseFulfillmentOrder? reverseFulfillmentOrder { get; set; } - } - + [Description("The `ReverseFulfillmentOrder` associated with the reverse delivery.")] + [NonNull] + public ReverseFulfillmentOrder? reverseFulfillmentOrder { get; set; } + } + /// ///An auto-generated type for paginating through multiple ReverseDeliveries. /// - [Description("An auto-generated type for paginating through multiple ReverseDeliveries.")] - public class ReverseDeliveryConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ReverseDeliveries.")] + public class ReverseDeliveryConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReverseDeliveryEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReverseDeliveryEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReverseDeliveryEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `reverseDeliveryCreateWithShipping` mutation. /// - [Description("Return type for `reverseDeliveryCreateWithShipping` mutation.")] - public class ReverseDeliveryCreateWithShippingPayload : GraphQLObject - { + [Description("Return type for `reverseDeliveryCreateWithShipping` mutation.")] + public class ReverseDeliveryCreateWithShippingPayload : GraphQLObject + { /// ///The created reverse delivery. /// - [Description("The created reverse delivery.")] - public ReverseDelivery? reverseDelivery { get; set; } - + [Description("The created reverse delivery.")] + public ReverseDelivery? reverseDelivery { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The delivery method and artifacts associated with a reverse delivery. /// - [Description("The delivery method and artifacts associated with a reverse delivery.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(ReverseDeliveryShippingDeliverable), typeDiscriminator: "ReverseDeliveryShippingDeliverable")] - public interface IReverseDeliveryDeliverable : IGraphQLObject - { - public ReverseDeliveryShippingDeliverable? AsReverseDeliveryShippingDeliverable() => this as ReverseDeliveryShippingDeliverable; + [Description("The delivery method and artifacts associated with a reverse delivery.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(ReverseDeliveryShippingDeliverable), typeDiscriminator: "ReverseDeliveryShippingDeliverable")] + public interface IReverseDeliveryDeliverable : IGraphQLObject + { + public ReverseDeliveryShippingDeliverable? AsReverseDeliveryShippingDeliverable() => this as ReverseDeliveryShippingDeliverable; /// ///The return label attached to the reverse delivery. /// - [Description("The return label attached to the reverse delivery.")] - public ReverseDeliveryLabelV2? label { get; set; } - + [Description("The return label attached to the reverse delivery.")] + public ReverseDeliveryLabelV2? label { get; set; } + /// ///The information to track the reverse delivery. /// - [Description("The information to track the reverse delivery.")] - public ReverseDeliveryTrackingV2? tracking { get; set; } - } - + [Description("The information to track the reverse delivery.")] + public ReverseDeliveryTrackingV2? tracking { get; set; } + } + /// ///An auto-generated type which holds one ReverseDelivery and a cursor during pagination. /// - [Description("An auto-generated type which holds one ReverseDelivery and a cursor during pagination.")] - public class ReverseDeliveryEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ReverseDelivery and a cursor during pagination.")] + public class ReverseDeliveryEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReverseDeliveryEdge. /// - [Description("The item at the end of ReverseDeliveryEdge.")] - [NonNull] - public ReverseDelivery? node { get; set; } - } - + [Description("The item at the end of ReverseDeliveryEdge.")] + [NonNull] + public ReverseDelivery? node { get; set; } + } + /// ///The input fields for a reverse label. /// - [Description("The input fields for a reverse label.")] - public class ReverseDeliveryLabelInput : GraphQLObject - { + [Description("The input fields for a reverse label.")] + public class ReverseDeliveryLabelInput : GraphQLObject + { /// ///The URL of the label file. If a label file was uploaded to be attached to the delivery, then provide the temporary staged URL. /// - [Description("The URL of the label file. If a label file was uploaded to be attached to the delivery, then provide the temporary staged URL.")] - [NonNull] - public string? fileUrl { get; set; } - } - + [Description("The URL of the label file. If a label file was uploaded to be attached to the delivery, then provide the temporary staged URL.")] + [NonNull] + public string? fileUrl { get; set; } + } + /// ///The return label file information for a reverse delivery. /// - [Description("The return label file information for a reverse delivery.")] - public class ReverseDeliveryLabelV2 : GraphQLObject - { + [Description("The return label file information for a reverse delivery.")] + public class ReverseDeliveryLabelV2 : GraphQLObject + { /// ///The date and time when the reverse delivery label was created. /// - [Description("The date and time when the reverse delivery label was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the reverse delivery label was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A public link that can be used to download the label image. /// - [Description("A public link that can be used to download the label image.")] - public string? publicFileUrl { get; set; } - + [Description("A public link that can be used to download the label image.")] + public string? publicFileUrl { get; set; } + /// ///The date and time when the reverse delivery label was updated. /// - [Description("The date and time when the reverse delivery label was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the reverse delivery label was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///The details about a reverse delivery line item. /// - [Description("The details about a reverse delivery line item.")] - public class ReverseDeliveryLineItem : GraphQLObject, INode - { + [Description("The details about a reverse delivery line item.")] + public class ReverseDeliveryLineItem : GraphQLObject, INode + { /// ///The dispositions of the item. /// - [Description("The dispositions of the item.")] - [NonNull] - public IEnumerable? dispositions { get; set; } - + [Description("The dispositions of the item.")] + [NonNull] + public IEnumerable? dispositions { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The expected number of units. /// - [Description("The expected number of units.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The expected number of units.")] + [NonNull] + public int? quantity { get; set; } + /// ///The corresponding reverse fulfillment order line item. /// - [Description("The corresponding reverse fulfillment order line item.")] - [NonNull] - public ReverseFulfillmentOrderLineItem? reverseFulfillmentOrderLineItem { get; set; } - } - + [Description("The corresponding reverse fulfillment order line item.")] + [NonNull] + public ReverseFulfillmentOrderLineItem? reverseFulfillmentOrderLineItem { get; set; } + } + /// ///An auto-generated type for paginating through multiple ReverseDeliveryLineItems. /// - [Description("An auto-generated type for paginating through multiple ReverseDeliveryLineItems.")] - public class ReverseDeliveryLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ReverseDeliveryLineItems.")] + public class ReverseDeliveryLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReverseDeliveryLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReverseDeliveryLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReverseDeliveryLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ReverseDeliveryLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one ReverseDeliveryLineItem and a cursor during pagination.")] - public class ReverseDeliveryLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ReverseDeliveryLineItem and a cursor during pagination.")] + public class ReverseDeliveryLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReverseDeliveryLineItemEdge. /// - [Description("The item at the end of ReverseDeliveryLineItemEdge.")] - [NonNull] - public ReverseDeliveryLineItem? node { get; set; } - } - + [Description("The item at the end of ReverseDeliveryLineItemEdge.")] + [NonNull] + public ReverseDeliveryLineItem? node { get; set; } + } + /// ///The input fields for a reverse delivery line item. /// - [Description("The input fields for a reverse delivery line item.")] - public class ReverseDeliveryLineItemInput : GraphQLObject - { + [Description("The input fields for a reverse delivery line item.")] + public class ReverseDeliveryLineItemInput : GraphQLObject + { /// ///The ID of the related reverse fulfillment order line item. /// - [Description("The ID of the related reverse fulfillment order line item.")] - [NonNull] - public string? reverseFulfillmentOrderLineItemId { get; set; } - + [Description("The ID of the related reverse fulfillment order line item.")] + [NonNull] + public string? reverseFulfillmentOrderLineItemId { get; set; } + /// ///The quantity of the item to be included in the delivery. /// - [Description("The quantity of the item to be included in the delivery.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the item to be included in the delivery.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///A reverse shipping deliverable that may include a label and tracking information. /// - [Description("A reverse shipping deliverable that may include a label and tracking information.")] - public class ReverseDeliveryShippingDeliverable : GraphQLObject, IReverseDeliveryDeliverable - { + [Description("A reverse shipping deliverable that may include a label and tracking information.")] + public class ReverseDeliveryShippingDeliverable : GraphQLObject, IReverseDeliveryDeliverable + { /// ///The return label attached to the reverse delivery. /// - [Description("The return label attached to the reverse delivery.")] - public ReverseDeliveryLabelV2? label { get; set; } - + [Description("The return label attached to the reverse delivery.")] + public ReverseDeliveryLabelV2? label { get; set; } + /// ///The information to track the reverse delivery. /// - [Description("The information to track the reverse delivery.")] - public ReverseDeliveryTrackingV2? tracking { get; set; } - } - + [Description("The information to track the reverse delivery.")] + public ReverseDeliveryTrackingV2? tracking { get; set; } + } + /// ///Return type for `reverseDeliveryShippingUpdate` mutation. /// - [Description("Return type for `reverseDeliveryShippingUpdate` mutation.")] - public class ReverseDeliveryShippingUpdatePayload : GraphQLObject - { + [Description("Return type for `reverseDeliveryShippingUpdate` mutation.")] + public class ReverseDeliveryShippingUpdatePayload : GraphQLObject + { /// ///The updated reverse delivery. /// - [Description("The updated reverse delivery.")] - public ReverseDelivery? reverseDelivery { get; set; } - + [Description("The updated reverse delivery.")] + public ReverseDelivery? reverseDelivery { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for tracking information about a return delivery. /// - [Description("The input fields for tracking information about a return delivery.")] - public class ReverseDeliveryTrackingInput : GraphQLObject - { + [Description("The input fields for tracking information about a return delivery.")] + public class ReverseDeliveryTrackingInput : GraphQLObject + { /// ///The tracking number for the label. /// - [Description("The tracking number for the label.")] - public string? number { get; set; } - + [Description("The tracking number for the label.")] + public string? number { get; set; } + /// ///The tracking URL for the carrier. If the carrier isn't supported by Shopify, then provide the tracking URL of the delivery. /// - [Description("The tracking URL for the carrier. If the carrier isn't supported by Shopify, then provide the tracking URL of the delivery.")] - public string? url { get; set; } - } - + [Description("The tracking URL for the carrier. If the carrier isn't supported by Shopify, then provide the tracking URL of the delivery.")] + public string? url { get; set; } + } + /// ///Represents the information used to track a reverse delivery. /// - [Description("Represents the information used to track a reverse delivery.")] - public class ReverseDeliveryTrackingV2 : GraphQLObject - { + [Description("Represents the information used to track a reverse delivery.")] + public class ReverseDeliveryTrackingV2 : GraphQLObject + { /// ///The provider of the tracking information, in a human-readable format for display purposes. /// - [Description("The provider of the tracking information, in a human-readable format for display purposes.")] - public string? carrierName { get; set; } - + [Description("The provider of the tracking information, in a human-readable format for display purposes.")] + public string? carrierName { get; set; } + /// ///The identifier used by the courier to identify the shipment. /// - [Description("The identifier used by the courier to identify the shipment.")] - public string? number { get; set; } - + [Description("The identifier used by the courier to identify the shipment.")] + public string? number { get; set; } + /// ///The URL to track a shipment. /// - [Description("The URL to track a shipment.")] - public string? url { get; set; } - } - + [Description("The URL to track a shipment.")] + public string? url { get; set; } + } + /// ///A group of one or more items in a return that will be processed at a fulfillment service. ///There can be more than one reverse fulfillment order for a return at a given location. /// - [Description("A group of one or more items in a return that will be processed at a fulfillment service.\nThere can be more than one reverse fulfillment order for a return at a given location.")] - public class ReverseFulfillmentOrder : GraphQLObject, INode - { + [Description("A group of one or more items in a return that will be processed at a fulfillment service.\nThere can be more than one reverse fulfillment order for a return at a given location.")] + public class ReverseFulfillmentOrder : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The list of reverse fulfillment order line items for the reverse fulfillment order. /// - [Description("The list of reverse fulfillment order line items for the reverse fulfillment order.")] - [NonNull] - public ReverseFulfillmentOrderLineItemConnection? lineItems { get; set; } - + [Description("The list of reverse fulfillment order line items for the reverse fulfillment order.")] + [NonNull] + public ReverseFulfillmentOrderLineItemConnection? lineItems { get; set; } + /// ///The order associated with the reverse fulfillment order. /// - [Description("The order associated with the reverse fulfillment order.")] - public Order? order { get; set; } - + [Description("The order associated with the reverse fulfillment order.")] + public Order? order { get; set; } + /// ///The list of reverse deliveries for the reverse fulfillment order. /// - [Description("The list of reverse deliveries for the reverse fulfillment order.")] - [NonNull] - public ReverseDeliveryConnection? reverseDeliveries { get; set; } - + [Description("The list of reverse deliveries for the reverse fulfillment order.")] + [NonNull] + public ReverseDeliveryConnection? reverseDeliveries { get; set; } + /// ///The status of the reverse fulfillment order. /// - [Description("The status of the reverse fulfillment order.")] - [NonNull] - [EnumType(typeof(ReverseFulfillmentOrderStatus))] - public string? status { get; set; } - + [Description("The status of the reverse fulfillment order.")] + [NonNull] + [EnumType(typeof(ReverseFulfillmentOrderStatus))] + public string? status { get; set; } + /// ///The current confirmation for the reverse fulfillment order from a third-party logistics service. ///If no third-party service is involved, then this value is `nil`. /// - [Description("The current confirmation for the reverse fulfillment order from a third-party logistics service. \nIf no third-party service is involved, then this value is `nil`.")] - public ReverseFulfillmentOrderThirdPartyConfirmation? thirdPartyConfirmation { get; set; } - } - + [Description("The current confirmation for the reverse fulfillment order from a third-party logistics service. \nIf no third-party service is involved, then this value is `nil`.")] + public ReverseFulfillmentOrderThirdPartyConfirmation? thirdPartyConfirmation { get; set; } + } + /// ///An auto-generated type for paginating through multiple ReverseFulfillmentOrders. /// - [Description("An auto-generated type for paginating through multiple ReverseFulfillmentOrders.")] - public class ReverseFulfillmentOrderConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ReverseFulfillmentOrders.")] + public class ReverseFulfillmentOrderConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReverseFulfillmentOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReverseFulfillmentOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReverseFulfillmentOrderEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to dispose a reverse fulfillment order line item. /// - [Description("The input fields to dispose a reverse fulfillment order line item.")] - public class ReverseFulfillmentOrderDisposeInput : GraphQLObject - { + [Description("The input fields to dispose a reverse fulfillment order line item.")] + public class ReverseFulfillmentOrderDisposeInput : GraphQLObject + { /// ///The ID of the reverse fulfillment order line item. /// - [Description("The ID of the reverse fulfillment order line item.")] - [NonNull] - public string? reverseFulfillmentOrderLineItemId { get; set; } - + [Description("The ID of the reverse fulfillment order line item.")] + [NonNull] + public string? reverseFulfillmentOrderLineItemId { get; set; } + /// ///The quantity of the reverse fulfillment order line item to dispose. /// - [Description("The quantity of the reverse fulfillment order line item to dispose.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the reverse fulfillment order line item to dispose.")] + [NonNull] + public int? quantity { get; set; } + /// ///The ID of the location where the reverse fulfillment order line item is to be disposed. /// This is required when the disposition type is RESTOCKED. /// - [Description("The ID of the location where the reverse fulfillment order line item is to be disposed.\n This is required when the disposition type is RESTOCKED.")] - public string? locationId { get; set; } - + [Description("The ID of the location where the reverse fulfillment order line item is to be disposed.\n This is required when the disposition type is RESTOCKED.")] + public string? locationId { get; set; } + /// ///The final arrangement for the reverse fulfillment order line item. /// - [Description("The final arrangement for the reverse fulfillment order line item.")] - [NonNull] - [EnumType(typeof(ReverseFulfillmentOrderDispositionType))] - public string? dispositionType { get; set; } - } - + [Description("The final arrangement for the reverse fulfillment order line item.")] + [NonNull] + [EnumType(typeof(ReverseFulfillmentOrderDispositionType))] + public string? dispositionType { get; set; } + } + /// ///Return type for `reverseFulfillmentOrderDispose` mutation. /// - [Description("Return type for `reverseFulfillmentOrderDispose` mutation.")] - public class ReverseFulfillmentOrderDisposePayload : GraphQLObject - { + [Description("Return type for `reverseFulfillmentOrderDispose` mutation.")] + public class ReverseFulfillmentOrderDisposePayload : GraphQLObject + { /// ///The disposed reverse fulfillment order line items. /// - [Description("The disposed reverse fulfillment order line items.")] - public IEnumerable? reverseFulfillmentOrderLineItems { get; set; } - + [Description("The disposed reverse fulfillment order line items.")] + public IEnumerable? reverseFulfillmentOrderLineItems { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The details of the arrangement of an item. /// - [Description("The details of the arrangement of an item.")] - public class ReverseFulfillmentOrderDisposition : GraphQLObject, INode - { + [Description("The details of the arrangement of an item.")] + public class ReverseFulfillmentOrderDisposition : GraphQLObject, INode + { /// ///The date and time when the disposition was created. /// - [Description("The date and time when the disposition was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the disposition was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The location where the disposition occurred. /// - [Description("The location where the disposition occurred.")] - public Location? location { get; set; } - + [Description("The location where the disposition occurred.")] + public Location? location { get; set; } + /// ///The number of disposed units. /// - [Description("The number of disposed units.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The number of disposed units.")] + [NonNull] + public int? quantity { get; set; } + /// ///The final arrangement of an item. /// - [Description("The final arrangement of an item.")] - [NonNull] - [EnumType(typeof(ReverseFulfillmentOrderDispositionType))] - public string? type { get; set; } - } - + [Description("The final arrangement of an item.")] + [NonNull] + [EnumType(typeof(ReverseFulfillmentOrderDispositionType))] + public string? type { get; set; } + } + /// ///The final arrangement of an item from a reverse fulfillment order. /// - [Description("The final arrangement of an item from a reverse fulfillment order.")] - public enum ReverseFulfillmentOrderDispositionType - { + [Description("The final arrangement of an item from a reverse fulfillment order.")] + public enum ReverseFulfillmentOrderDispositionType + { /// ///An item that was restocked. /// - [Description("An item that was restocked.")] - RESTOCKED, + [Description("An item that was restocked.")] + RESTOCKED, /// ///An item that requires further processing before being restocked or discarded. /// - [Description("An item that requires further processing before being restocked or discarded.")] - PROCESSING_REQUIRED, + [Description("An item that requires further processing before being restocked or discarded.")] + PROCESSING_REQUIRED, /// ///An item that wasn't restocked. /// - [Description("An item that wasn't restocked.")] - NOT_RESTOCKED, + [Description("An item that wasn't restocked.")] + NOT_RESTOCKED, /// ///An item that was expected but absent. /// - [Description("An item that was expected but absent.")] - MISSING, - } - - public static class ReverseFulfillmentOrderDispositionTypeStringValues - { - public const string RESTOCKED = @"RESTOCKED"; - public const string PROCESSING_REQUIRED = @"PROCESSING_REQUIRED"; - public const string NOT_RESTOCKED = @"NOT_RESTOCKED"; - public const string MISSING = @"MISSING"; - } - + [Description("An item that was expected but absent.")] + MISSING, + } + + public static class ReverseFulfillmentOrderDispositionTypeStringValues + { + public const string RESTOCKED = @"RESTOCKED"; + public const string PROCESSING_REQUIRED = @"PROCESSING_REQUIRED"; + public const string NOT_RESTOCKED = @"NOT_RESTOCKED"; + public const string MISSING = @"MISSING"; + } + /// ///An auto-generated type which holds one ReverseFulfillmentOrder and a cursor during pagination. /// - [Description("An auto-generated type which holds one ReverseFulfillmentOrder and a cursor during pagination.")] - public class ReverseFulfillmentOrderEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ReverseFulfillmentOrder and a cursor during pagination.")] + public class ReverseFulfillmentOrderEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReverseFulfillmentOrderEdge. /// - [Description("The item at the end of ReverseFulfillmentOrderEdge.")] - [NonNull] - public ReverseFulfillmentOrder? node { get; set; } - } - + [Description("The item at the end of ReverseFulfillmentOrderEdge.")] + [NonNull] + public ReverseFulfillmentOrder? node { get; set; } + } + /// ///The details about a reverse fulfillment order line item. /// - [Description("The details about a reverse fulfillment order line item.")] - public class ReverseFulfillmentOrderLineItem : GraphQLObject, INode - { + [Description("The details about a reverse fulfillment order line item.")] + public class ReverseFulfillmentOrderLineItem : GraphQLObject, INode + { /// ///The dispositions of the item. /// - [Description("The dispositions of the item.")] - [NonNull] - public IEnumerable? dispositions { get; set; } - + [Description("The dispositions of the item.")] + [NonNull] + public IEnumerable? dispositions { get; set; } + /// ///The corresponding fulfillment line item for a reverse fulfillment order line item. /// - [Description("The corresponding fulfillment line item for a reverse fulfillment order line item.")] - public FulfillmentLineItem? fulfillmentLineItem { get; set; } - + [Description("The corresponding fulfillment line item for a reverse fulfillment order line item.")] + public FulfillmentLineItem? fulfillmentLineItem { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The total number of units to be processed. /// - [Description("The total number of units to be processed.")] - [NonNull] - public int? totalQuantity { get; set; } - } - + [Description("The total number of units to be processed.")] + [NonNull] + public int? totalQuantity { get; set; } + } + /// ///An auto-generated type for paginating through multiple ReverseFulfillmentOrderLineItems. /// - [Description("An auto-generated type for paginating through multiple ReverseFulfillmentOrderLineItems.")] - public class ReverseFulfillmentOrderLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ReverseFulfillmentOrderLineItems.")] + public class ReverseFulfillmentOrderLineItemConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ReverseFulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ReverseFulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ReverseFulfillmentOrderLineItemEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ReverseFulfillmentOrderLineItem and a cursor during pagination. /// - [Description("An auto-generated type which holds one ReverseFulfillmentOrderLineItem and a cursor during pagination.")] - public class ReverseFulfillmentOrderLineItemEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ReverseFulfillmentOrderLineItem and a cursor during pagination.")] + public class ReverseFulfillmentOrderLineItemEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ReverseFulfillmentOrderLineItemEdge. /// - [Description("The item at the end of ReverseFulfillmentOrderLineItemEdge.")] - [NonNull] - public ReverseFulfillmentOrderLineItem? node { get; set; } - } - + [Description("The item at the end of ReverseFulfillmentOrderLineItemEdge.")] + [NonNull] + public ReverseFulfillmentOrderLineItem? node { get; set; } + } + /// ///The status of a reverse fulfillment order. /// - [Description("The status of a reverse fulfillment order.")] - public enum ReverseFulfillmentOrderStatus - { + [Description("The status of a reverse fulfillment order.")] + public enum ReverseFulfillmentOrderStatus + { /// ///The reverse fulfillment order has been canceled. /// - [Description("The reverse fulfillment order has been canceled.")] - CANCELED, + [Description("The reverse fulfillment order has been canceled.")] + CANCELED, /// ///The reverse fulfillment order has been completed. /// - [Description("The reverse fulfillment order has been completed.")] - CLOSED, + [Description("The reverse fulfillment order has been completed.")] + CLOSED, /// ///The reverse fulfillment order is in progress. /// - [Description("The reverse fulfillment order is in progress.")] - OPEN, - } - - public static class ReverseFulfillmentOrderStatusStringValues - { - public const string CANCELED = @"CANCELED"; - public const string CLOSED = @"CLOSED"; - public const string OPEN = @"OPEN"; - } - + [Description("The reverse fulfillment order is in progress.")] + OPEN, + } + + public static class ReverseFulfillmentOrderStatusStringValues + { + public const string CANCELED = @"CANCELED"; + public const string CLOSED = @"CLOSED"; + public const string OPEN = @"OPEN"; + } + /// ///The third-party confirmation of a reverse fulfillment order. /// - [Description("The third-party confirmation of a reverse fulfillment order.")] - public class ReverseFulfillmentOrderThirdPartyConfirmation : GraphQLObject - { + [Description("The third-party confirmation of a reverse fulfillment order.")] + public class ReverseFulfillmentOrderThirdPartyConfirmation : GraphQLObject + { /// ///The status of the reverse fulfillment order third-party confirmation. /// - [Description("The status of the reverse fulfillment order third-party confirmation.")] - [NonNull] - [EnumType(typeof(ReverseFulfillmentOrderThirdPartyConfirmationStatus))] - public string? status { get; set; } - } - + [Description("The status of the reverse fulfillment order third-party confirmation.")] + [NonNull] + [EnumType(typeof(ReverseFulfillmentOrderThirdPartyConfirmationStatus))] + public string? status { get; set; } + } + /// ///The status of a reverse fulfillment order third-party confirmation. /// - [Description("The status of a reverse fulfillment order third-party confirmation.")] - public enum ReverseFulfillmentOrderThirdPartyConfirmationStatus - { + [Description("The status of a reverse fulfillment order third-party confirmation.")] + public enum ReverseFulfillmentOrderThirdPartyConfirmationStatus + { /// ///The reverse fulfillment order was accepted by the fulfillment service. /// - [Description("The reverse fulfillment order was accepted by the fulfillment service.")] - ACCEPTED, + [Description("The reverse fulfillment order was accepted by the fulfillment service.")] + ACCEPTED, /// ///The reverse fulfillment order cancelation was accepted by the fulfillment service. /// - [Description("The reverse fulfillment order cancelation was accepted by the fulfillment service.")] - CANCEL_ACCEPTED, + [Description("The reverse fulfillment order cancelation was accepted by the fulfillment service.")] + CANCEL_ACCEPTED, /// ///The reverse fulfillment order cancelation was rejected by the fulfillment service. /// - [Description("The reverse fulfillment order cancelation was rejected by the fulfillment service.")] - CANCEL_REJECTED, + [Description("The reverse fulfillment order cancelation was rejected by the fulfillment service.")] + CANCEL_REJECTED, /// ///The reverse fulfillment order is awaiting acceptance by the fulfillment service. /// - [Description("The reverse fulfillment order is awaiting acceptance by the fulfillment service.")] - PENDING_ACCEPTANCE, + [Description("The reverse fulfillment order is awaiting acceptance by the fulfillment service.")] + PENDING_ACCEPTANCE, /// ///The reverse fulfillment order is awaiting cancelation by the fulfillment service. /// - [Description("The reverse fulfillment order is awaiting cancelation by the fulfillment service.")] - PENDING_CANCELATION, + [Description("The reverse fulfillment order is awaiting cancelation by the fulfillment service.")] + PENDING_CANCELATION, /// ///The reverse fulfillment order was rejected by the fulfillment service. /// - [Description("The reverse fulfillment order was rejected by the fulfillment service.")] - REJECTED, - } - - public static class ReverseFulfillmentOrderThirdPartyConfirmationStatusStringValues - { - public const string ACCEPTED = @"ACCEPTED"; - public const string CANCEL_ACCEPTED = @"CANCEL_ACCEPTED"; - public const string CANCEL_REJECTED = @"CANCEL_REJECTED"; - public const string PENDING_ACCEPTANCE = @"PENDING_ACCEPTANCE"; - public const string PENDING_CANCELATION = @"PENDING_CANCELATION"; - public const string REJECTED = @"REJECTED"; - } - + [Description("The reverse fulfillment order was rejected by the fulfillment service.")] + REJECTED, + } + + public static class ReverseFulfillmentOrderThirdPartyConfirmationStatusStringValues + { + public const string ACCEPTED = @"ACCEPTED"; + public const string CANCEL_ACCEPTED = @"CANCEL_ACCEPTED"; + public const string CANCEL_REJECTED = @"CANCEL_REJECTED"; + public const string PENDING_ACCEPTANCE = @"PENDING_ACCEPTANCE"; + public const string PENDING_CANCELATION = @"PENDING_CANCELATION"; + public const string REJECTED = @"REJECTED"; + } + /// ///List of possible values for a RiskAssessment result. /// - [Description("List of possible values for a RiskAssessment result.")] - public enum RiskAssessmentResult - { + [Description("List of possible values for a RiskAssessment result.")] + public enum RiskAssessmentResult + { /// ///Indicates a high likelihood that the order is fraudulent. /// - [Description("Indicates a high likelihood that the order is fraudulent.")] - HIGH, + [Description("Indicates a high likelihood that the order is fraudulent.")] + HIGH, /// ///Indicates a medium likelihood that the order is fraudulent. /// - [Description("Indicates a medium likelihood that the order is fraudulent.")] - MEDIUM, + [Description("Indicates a medium likelihood that the order is fraudulent.")] + MEDIUM, /// ///Indicates a low likelihood that the order is fraudulent. /// - [Description("Indicates a low likelihood that the order is fraudulent.")] - LOW, + [Description("Indicates a low likelihood that the order is fraudulent.")] + LOW, /// ///Indicates that the risk assessment will not provide a recommendation for the order. /// - [Description("Indicates that the risk assessment will not provide a recommendation for the order.")] - NONE, + [Description("Indicates that the risk assessment will not provide a recommendation for the order.")] + NONE, /// ///Indicates that the risk assessment is still pending. /// - [Description("Indicates that the risk assessment is still pending.")] - PENDING, - } - - public static class RiskAssessmentResultStringValues - { - public const string HIGH = @"HIGH"; - public const string MEDIUM = @"MEDIUM"; - public const string LOW = @"LOW"; - public const string NONE = @"NONE"; - public const string PENDING = @"PENDING"; - } - + [Description("Indicates that the risk assessment is still pending.")] + PENDING, + } + + public static class RiskAssessmentResultStringValues + { + public const string HIGH = @"HIGH"; + public const string MEDIUM = @"MEDIUM"; + public const string LOW = @"LOW"; + public const string NONE = @"NONE"; + public const string PENDING = @"PENDING"; + } + /// ///A risk fact belongs to a single risk assessment and serves to provide additional context for an assessment. Risk facts are not necessarily tied to the result of the recommendation. /// - [Description("A risk fact belongs to a single risk assessment and serves to provide additional context for an assessment. Risk facts are not necessarily tied to the result of the recommendation.")] - public class RiskFact : GraphQLObject - { + [Description("A risk fact belongs to a single risk assessment and serves to provide additional context for an assessment. Risk facts are not necessarily tied to the result of the recommendation.")] + public class RiskFact : GraphQLObject + { /// ///A description of the fact. /// - [Description("A description of the fact.")] - [NonNull] - public string? description { get; set; } - + [Description("A description of the fact.")] + [NonNull] + public string? description { get; set; } + /// ///Indicates whether the fact is a negative, neutral or positive contributor with regards to risk. /// - [Description("Indicates whether the fact is a negative, neutral or positive contributor with regards to risk.")] - [NonNull] - [EnumType(typeof(RiskFactSentiment))] - public string? sentiment { get; set; } - } - + [Description("Indicates whether the fact is a negative, neutral or positive contributor with regards to risk.")] + [NonNull] + [EnumType(typeof(RiskFactSentiment))] + public string? sentiment { get; set; } + } + /// ///List of possible values for a RiskFact sentiment. /// - [Description("List of possible values for a RiskFact sentiment.")] - public enum RiskFactSentiment - { + [Description("List of possible values for a RiskFact sentiment.")] + public enum RiskFactSentiment + { /// ///A positive contributor that lowers the risk. /// - [Description("A positive contributor that lowers the risk.")] - POSITIVE, + [Description("A positive contributor that lowers the risk.")] + POSITIVE, /// ///A neutral contributor with regards to risk. /// - [Description("A neutral contributor with regards to risk.")] - NEUTRAL, + [Description("A neutral contributor with regards to risk.")] + NEUTRAL, /// ///A negative contributor that increases the risk. /// - [Description("A negative contributor that increases the risk.")] - NEGATIVE, - } - - public static class RiskFactSentimentStringValues - { - public const string POSITIVE = @"POSITIVE"; - public const string NEUTRAL = @"NEUTRAL"; - public const string NEGATIVE = @"NEGATIVE"; - } - + [Description("A negative contributor that increases the risk.")] + NEGATIVE, + } + + public static class RiskFactSentimentStringValues + { + public const string POSITIVE = @"POSITIVE"; + public const string NEUTRAL = @"NEUTRAL"; + public const string NEGATIVE = @"NEGATIVE"; + } + /// ///A row count represents rows on background operation. /// - [Description("A row count represents rows on background operation.")] - public class RowCount : GraphQLObject - { + [Description("A row count represents rows on background operation.")] + public class RowCount : GraphQLObject + { /// ///Estimated number of rows contained within this background operation. /// - [Description("Estimated number of rows contained within this background operation.")] - [NonNull] - public int? count { get; set; } - + [Description("Estimated number of rows contained within this background operation.")] + [NonNull] + public int? count { get; set; } + /// ///Whether the operation exceeds max number of reportable rows. /// - [Description("Whether the operation exceeds max number of reportable rows.")] - [NonNull] - public bool? exceedsMax { get; set; } - } - + [Description("Whether the operation exceeds max number of reportable rows.")] + [NonNull] + public bool? exceedsMax { get; set; } + } + /// ///SEO information. /// - [Description("SEO information.")] - public class SEO : GraphQLObject - { + [Description("SEO information.")] + public class SEO : GraphQLObject + { /// ///SEO Description. /// - [Description("SEO Description.")] - public string? description { get; set; } - + [Description("SEO Description.")] + public string? description { get; set; } + /// ///SEO Title. /// - [Description("SEO Title.")] - public string? title { get; set; } - } - + [Description("SEO Title.")] + public string? title { get; set; } + } + /// ///The input fields for SEO information. /// - [Description("The input fields for SEO information.")] - public class SEOInput : GraphQLObject - { + [Description("The input fields for SEO information.")] + public class SEOInput : GraphQLObject + { /// ///SEO title of the product. /// - [Description("SEO title of the product.")] - public string? title { get; set; } - + [Description("SEO title of the product.")] + public string? title { get; set; } + /// ///SEO description of the product. /// - [Description("SEO description of the product.")] - public string? description { get; set; } - } - + [Description("SEO description of the product.")] + public string? description { get; set; } + } + /// ///An individual sale record associated with a sales agreement. Every money value in an order's sales data is represented in the currency's smallest unit. When amounts are divided across multiple line items, such as taxes or order discounts, the amounts might not divide evenly across all of the line items on the order. To address this, the remaining currency units that couldn't be divided evenly are allocated one at a time, starting with the first line item, until they are all accounted for. In aggregate, the values sum up correctly. In isolation, one line item might have a different tax or discount amount than another line item of the same price, before taxes and discounts. This is because the amount could not be divided evenly across the items. The allocation of currency units across line items is immutable. After they are allocated, currency units are never reallocated or redistributed among the line items. /// - [Description("An individual sale record associated with a sales agreement. Every money value in an order's sales data is represented in the currency's smallest unit. When amounts are divided across multiple line items, such as taxes or order discounts, the amounts might not divide evenly across all of the line items on the order. To address this, the remaining currency units that couldn't be divided evenly are allocated one at a time, starting with the first line item, until they are all accounted for. In aggregate, the values sum up correctly. In isolation, one line item might have a different tax or discount amount than another line item of the same price, before taxes and discounts. This is because the amount could not be divided evenly across the items. The allocation of currency units across line items is immutable. After they are allocated, currency units are never reallocated or redistributed among the line items.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(AdditionalFeeSale), typeDiscriminator: "AdditionalFeeSale")] - [JsonDerivedType(typeof(AdjustmentSale), typeDiscriminator: "AdjustmentSale")] - [JsonDerivedType(typeof(DutySale), typeDiscriminator: "DutySale")] - [JsonDerivedType(typeof(FeeSale), typeDiscriminator: "FeeSale")] - [JsonDerivedType(typeof(GiftCardSale), typeDiscriminator: "GiftCardSale")] - [JsonDerivedType(typeof(ProductSale), typeDiscriminator: "ProductSale")] - [JsonDerivedType(typeof(ShippingLineSale), typeDiscriminator: "ShippingLineSale")] - [JsonDerivedType(typeof(TipSale), typeDiscriminator: "TipSale")] - [JsonDerivedType(typeof(UnknownSale), typeDiscriminator: "UnknownSale")] - public interface ISale : IGraphQLObject - { - public AdditionalFeeSale? AsAdditionalFeeSale() => this as AdditionalFeeSale; - public AdjustmentSale? AsAdjustmentSale() => this as AdjustmentSale; - public DutySale? AsDutySale() => this as DutySale; - public FeeSale? AsFeeSale() => this as FeeSale; - public GiftCardSale? AsGiftCardSale() => this as GiftCardSale; - public ProductSale? AsProductSale() => this as ProductSale; - public ShippingLineSale? AsShippingLineSale() => this as ShippingLineSale; - public TipSale? AsTipSale() => this as TipSale; - public UnknownSale? AsUnknownSale() => this as UnknownSale; + [Description("An individual sale record associated with a sales agreement. Every money value in an order's sales data is represented in the currency's smallest unit. When amounts are divided across multiple line items, such as taxes or order discounts, the amounts might not divide evenly across all of the line items on the order. To address this, the remaining currency units that couldn't be divided evenly are allocated one at a time, starting with the first line item, until they are all accounted for. In aggregate, the values sum up correctly. In isolation, one line item might have a different tax or discount amount than another line item of the same price, before taxes and discounts. This is because the amount could not be divided evenly across the items. The allocation of currency units across line items is immutable. After they are allocated, currency units are never reallocated or redistributed among the line items.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(AdditionalFeeSale), typeDiscriminator: "AdditionalFeeSale")] + [JsonDerivedType(typeof(AdjustmentSale), typeDiscriminator: "AdjustmentSale")] + [JsonDerivedType(typeof(DutySale), typeDiscriminator: "DutySale")] + [JsonDerivedType(typeof(FeeSale), typeDiscriminator: "FeeSale")] + [JsonDerivedType(typeof(GiftCardSale), typeDiscriminator: "GiftCardSale")] + [JsonDerivedType(typeof(ProductSale), typeDiscriminator: "ProductSale")] + [JsonDerivedType(typeof(ShippingLineSale), typeDiscriminator: "ShippingLineSale")] + [JsonDerivedType(typeof(TipSale), typeDiscriminator: "TipSale")] + [JsonDerivedType(typeof(UnknownSale), typeDiscriminator: "UnknownSale")] + public interface ISale : IGraphQLObject + { + public AdditionalFeeSale? AsAdditionalFeeSale() => this as AdditionalFeeSale; + public AdjustmentSale? AsAdjustmentSale() => this as AdjustmentSale; + public DutySale? AsDutySale() => this as DutySale; + public FeeSale? AsFeeSale() => this as FeeSale; + public GiftCardSale? AsGiftCardSale() => this as GiftCardSale; + public ProductSale? AsProductSale() => this as ProductSale; + public ShippingLineSale? AsShippingLineSale() => this as ShippingLineSale; + public TipSale? AsTipSale() => this as TipSale; + public UnknownSale? AsUnknownSale() => this as UnknownSale; /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; } + } + /// ///The possible order action types for a sale. /// - [Description("The possible order action types for a sale.")] - public enum SaleActionType - { + [Description("The possible order action types for a sale.")] + public enum SaleActionType + { /// ///A purchase or charge. /// - [Description("A purchase or charge.")] - ORDER, + [Description("A purchase or charge.")] + ORDER, /// ///A removal or return. /// - [Description("A removal or return.")] - RETURN, + [Description("A removal or return.")] + RETURN, /// ///A change to the price, taxes, or discounts for a prior purchase. /// - [Description("A change to the price, taxes, or discounts for a prior purchase.")] - UPDATE, + [Description("A change to the price, taxes, or discounts for a prior purchase.")] + UPDATE, /// ///An unknown order action. Represents new actions that may be added in future versions. /// - [Description("An unknown order action. Represents new actions that may be added in future versions.")] - UNKNOWN, - } - - public static class SaleActionTypeStringValues - { - public const string ORDER = @"ORDER"; - public const string RETURN = @"RETURN"; - public const string UPDATE = @"UPDATE"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("An unknown order action. Represents new actions that may be added in future versions.")] + UNKNOWN, + } + + public static class SaleActionTypeStringValues + { + public const string ORDER = @"ORDER"; + public const string RETURN = @"RETURN"; + public const string UPDATE = @"UPDATE"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///The additional fee details for a line item. /// - [Description("The additional fee details for a line item.")] - public class SaleAdditionalFee : GraphQLObject, INode - { + [Description("The additional fee details for a line item.")] + public class SaleAdditionalFee : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the additional fee. /// - [Description("The name of the additional fee.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the additional fee.")] + [NonNull] + public string? name { get; set; } + /// ///The price of the additional fee. /// - [Description("The price of the additional fee.")] - [NonNull] - public MoneyBag? price { get; set; } - + [Description("The price of the additional fee.")] + [NonNull] + public MoneyBag? price { get; set; } + /// ///A list of taxes charged on the additional fee. /// - [Description("A list of taxes charged on the additional fee.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - } - + [Description("A list of taxes charged on the additional fee.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + } + /// ///An auto-generated type for paginating through multiple Sales. /// - [Description("An auto-generated type for paginating through multiple Sales.")] - public class SaleConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Sales.")] + public class SaleConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SaleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SaleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SaleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one Sale and a cursor during pagination. /// - [Description("An auto-generated type which holds one Sale and a cursor during pagination.")] - public class SaleEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Sale and a cursor during pagination.")] + public class SaleEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SaleEdge. /// - [Description("The item at the end of SaleEdge.")] - [NonNull] - public ISale? node { get; set; } - } - + [Description("The item at the end of SaleEdge.")] + [NonNull] + public ISale? node { get; set; } + } + /// ///The possible line types for a sale record. One of the possible order line types for a sale is an adjustment. Sales adjustments occur when a refund is issued for a line item that is either more or less than the total value of the line item. Examples are restocking fees and goodwill payments. When this happens, Shopify produces a sales agreement with sale records for each line item that is returned or refunded and an additional sale record for the adjustment (for example, a restocking fee). The sales records for the returned or refunded items represent the reversal of the original line item sale value. The additional adjustment sale record represents the difference between the original total value of all line items that were refunded, and the actual amount refunded. /// - [Description("The possible line types for a sale record. One of the possible order line types for a sale is an adjustment. Sales adjustments occur when a refund is issued for a line item that is either more or less than the total value of the line item. Examples are restocking fees and goodwill payments. When this happens, Shopify produces a sales agreement with sale records for each line item that is returned or refunded and an additional sale record for the adjustment (for example, a restocking fee). The sales records for the returned or refunded items represent the reversal of the original line item sale value. The additional adjustment sale record represents the difference between the original total value of all line items that were refunded, and the actual amount refunded.")] - public enum SaleLineType - { + [Description("The possible line types for a sale record. One of the possible order line types for a sale is an adjustment. Sales adjustments occur when a refund is issued for a line item that is either more or less than the total value of the line item. Examples are restocking fees and goodwill payments. When this happens, Shopify produces a sales agreement with sale records for each line item that is returned or refunded and an additional sale record for the adjustment (for example, a restocking fee). The sales records for the returned or refunded items represent the reversal of the original line item sale value. The additional adjustment sale record represents the difference between the original total value of all line items that were refunded, and the actual amount refunded.")] + public enum SaleLineType + { /// ///A product purchased, returned or exchanged. /// - [Description("A product purchased, returned or exchanged.")] - PRODUCT, + [Description("A product purchased, returned or exchanged.")] + PRODUCT, /// ///A tip added by the customer. /// - [Description("A tip added by the customer.")] - TIP, + [Description("A tip added by the customer.")] + TIP, /// ///A gift card. /// - [Description("A gift card.")] - GIFT_CARD, + [Description("A gift card.")] + GIFT_CARD, /// ///A shipping cost. /// - [Description("A shipping cost.")] - SHIPPING, + [Description("A shipping cost.")] + SHIPPING, /// ///A duty charge. /// - [Description("A duty charge.")] - DUTY, + [Description("A duty charge.")] + DUTY, /// ///An additional fee. /// - [Description("An additional fee.")] - ADDITIONAL_FEE, + [Description("An additional fee.")] + ADDITIONAL_FEE, /// ///A fee charge. /// - [Description("A fee charge.")] - FEE, + [Description("A fee charge.")] + FEE, /// ///An unknown sale line. Represents new types that may be added in future versions. /// - [Description("An unknown sale line. Represents new types that may be added in future versions.")] - UNKNOWN, + [Description("An unknown sale line. Represents new types that may be added in future versions.")] + UNKNOWN, /// ///A sale adjustment. /// - [Description("A sale adjustment.")] - ADJUSTMENT, - } - - public static class SaleLineTypeStringValues - { - public const string PRODUCT = @"PRODUCT"; - public const string TIP = @"TIP"; - public const string GIFT_CARD = @"GIFT_CARD"; - public const string SHIPPING = @"SHIPPING"; - public const string DUTY = @"DUTY"; - public const string ADDITIONAL_FEE = @"ADDITIONAL_FEE"; - public const string FEE = @"FEE"; - public const string UNKNOWN = @"UNKNOWN"; - public const string ADJUSTMENT = @"ADJUSTMENT"; - } - + [Description("A sale adjustment.")] + ADJUSTMENT, + } + + public static class SaleLineTypeStringValues + { + public const string PRODUCT = @"PRODUCT"; + public const string TIP = @"TIP"; + public const string GIFT_CARD = @"GIFT_CARD"; + public const string SHIPPING = @"SHIPPING"; + public const string DUTY = @"DUTY"; + public const string ADDITIONAL_FEE = @"ADDITIONAL_FEE"; + public const string FEE = @"FEE"; + public const string UNKNOWN = @"UNKNOWN"; + public const string ADJUSTMENT = @"ADJUSTMENT"; + } + /// ///The tax allocated to a sale from a single tax line. /// - [Description("The tax allocated to a sale from a single tax line.")] - public class SaleTax : GraphQLObject - { + [Description("The tax allocated to a sale from a single tax line.")] + public class SaleTax : GraphQLObject + { /// ///The portion of the total tax amount on the related sale that comes from the associated tax line. /// - [Description("The portion of the total tax amount on the related sale that comes from the associated tax line.")] - [NonNull] - public MoneyBag? amount { get; set; } - + [Description("The portion of the total tax amount on the related sale that comes from the associated tax line.")] + [NonNull] + public MoneyBag? amount { get; set; } + /// ///The unique ID for the sale tax. /// - [Description("The unique ID for the sale tax.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale tax.")] + [NonNull] + public string? id { get; set; } + /// ///The tax line associated with the sale. /// - [Description("The tax line associated with the sale.")] - [NonNull] - public TaxLine? taxLine { get; set; } - } - + [Description("The tax line associated with the sale.")] + [NonNull] + public TaxLine? taxLine { get; set; } + } + /// ///A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more. /// - [Description("A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(OrderAgreement), typeDiscriminator: "OrderAgreement")] - [JsonDerivedType(typeof(OrderEditAgreement), typeDiscriminator: "OrderEditAgreement")] - [JsonDerivedType(typeof(RefundAgreement), typeDiscriminator: "RefundAgreement")] - [JsonDerivedType(typeof(ReturnAgreement), typeDiscriminator: "ReturnAgreement")] - public interface ISalesAgreement : IGraphQLObject - { - public OrderAgreement? AsOrderAgreement() => this as OrderAgreement; - public OrderEditAgreement? AsOrderEditAgreement() => this as OrderEditAgreement; - public RefundAgreement? AsRefundAgreement() => this as RefundAgreement; - public ReturnAgreement? AsReturnAgreement() => this as ReturnAgreement; + [Description("A contract between a merchant and a customer to do business. Shopify creates a sales agreement whenever an order is placed, edited, or refunded. A sales agreement has one or more sales records, which provide itemized details about the initial agreement or subsequent changes made to the order. For example, when a customer places an order, Shopify creates the order, generates a sales agreement, and records a sale for each line item purchased in the order. A sale record is specific to a type of order line. Order lines can represent different things such as a purchased product, a tip added by a customer, shipping costs collected at checkout, and more.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(OrderAgreement), typeDiscriminator: "OrderAgreement")] + [JsonDerivedType(typeof(OrderEditAgreement), typeDiscriminator: "OrderEditAgreement")] + [JsonDerivedType(typeof(RefundAgreement), typeDiscriminator: "RefundAgreement")] + [JsonDerivedType(typeof(ReturnAgreement), typeDiscriminator: "ReturnAgreement")] + public interface ISalesAgreement : IGraphQLObject + { + public OrderAgreement? AsOrderAgreement() => this as OrderAgreement; + public OrderEditAgreement? AsOrderEditAgreement() => this as OrderEditAgreement; + public RefundAgreement? AsRefundAgreement() => this as RefundAgreement; + public ReturnAgreement? AsReturnAgreement() => this as ReturnAgreement; /// ///The application that created the agreement. /// - [Description("The application that created the agreement.")] - public App? app { get; } - + [Description("The application that created the agreement.")] + public App? app { get; } + /// ///The date and time at which the agreement occured. /// - [Description("The date and time at which the agreement occured.")] - [NonNull] - public DateTime? happenedAt { get; } - + [Description("The date and time at which the agreement occured.")] + [NonNull] + public DateTime? happenedAt { get; } + /// ///The unique ID for the agreement. /// - [Description("The unique ID for the agreement.")] - [NonNull] - public string? id { get; } - + [Description("The unique ID for the agreement.")] + [NonNull] + public string? id { get; } + /// ///The reason the agremeent was created. /// - [Description("The reason the agremeent was created.")] - [NonNull] - [EnumType(typeof(OrderActionType))] - public string? reason { get; } - + [Description("The reason the agremeent was created.")] + [NonNull] + [EnumType(typeof(OrderActionType))] + public string? reason { get; } + /// ///The sales associated with the agreement. /// - [Description("The sales associated with the agreement.")] - [NonNull] - public SaleConnection? sales { get; } - + [Description("The sales associated with the agreement.")] + [NonNull] + public SaleConnection? sales { get; } + /// ///The staff member associated with the agreement. /// - [Description("The staff member associated with the agreement.")] - public StaffMember? user { get; } - } - + [Description("The staff member associated with the agreement.")] + public StaffMember? user { get; } + } + /// ///An auto-generated type for paginating through multiple SalesAgreements. /// - [Description("An auto-generated type for paginating through multiple SalesAgreements.")] - public class SalesAgreementConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SalesAgreements.")] + public class SalesAgreementConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SalesAgreementEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SalesAgreementEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SalesAgreementEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one SalesAgreement and a cursor during pagination. /// - [Description("An auto-generated type which holds one SalesAgreement and a cursor during pagination.")] - public class SalesAgreementEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SalesAgreement and a cursor during pagination.")] + public class SalesAgreementEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SalesAgreementEdge. /// - [Description("The item at the end of SalesAgreementEdge.")] - [NonNull] - public ISalesAgreement? node { get; set; } - } - + [Description("The item at the end of SalesAgreementEdge.")] + [NonNull] + public ISalesAgreement? node { get; set; } + } + /// ///A saved search is a representation of a search query saved in the admin. /// - [Description("A saved search is a representation of a search query saved in the admin.")] - public class SavedSearch : GraphQLObject, ILegacyInteroperability, INode - { + [Description("A saved search is a representation of a search query saved in the admin.")] + public class SavedSearch : GraphQLObject, ILegacyInteroperability, INode + { /// ///The filters of a saved search. /// - [Description("The filters of a saved search.")] - [NonNull] - public IEnumerable? filters { get; set; } - + [Description("The filters of a saved search.")] + [NonNull] + public IEnumerable? filters { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The name of a saved search. /// - [Description("The name of a saved search.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of a saved search.")] + [NonNull] + public string? name { get; set; } + /// ///The query string of a saved search. This includes search terms and filters. /// - [Description("The query string of a saved search. This includes search terms and filters.")] - [NonNull] - public string? query { get; set; } - + [Description("The query string of a saved search. This includes search terms and filters.")] + [NonNull] + public string? query { get; set; } + /// ///The type of resource this saved search is searching in. /// - [Description("The type of resource this saved search is searching in.")] - [NonNull] - [EnumType(typeof(SearchResultType))] - public string? resourceType { get; set; } - + [Description("The type of resource this saved search is searching in.")] + [NonNull] + [EnumType(typeof(SearchResultType))] + public string? resourceType { get; set; } + /// ///The search terms of a saved search. /// - [Description("The search terms of a saved search.")] - [NonNull] - public string? searchTerms { get; set; } - } - + [Description("The search terms of a saved search.")] + [NonNull] + public string? searchTerms { get; set; } + } + /// ///An auto-generated type for paginating through multiple SavedSearches. /// - [Description("An auto-generated type for paginating through multiple SavedSearches.")] - public class SavedSearchConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SavedSearches.")] + public class SavedSearchConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SavedSearchEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SavedSearchEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SavedSearchEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields to create a saved search. /// - [Description("The input fields to create a saved search.")] - public class SavedSearchCreateInput : GraphQLObject - { + [Description("The input fields to create a saved search.")] + public class SavedSearchCreateInput : GraphQLObject + { /// ///The type of resource this saved search is searching in. /// - [Description("The type of resource this saved search is searching in.")] - [NonNull] - [EnumType(typeof(SearchResultType))] - public string? resourceType { get; set; } - + [Description("The type of resource this saved search is searching in.")] + [NonNull] + [EnumType(typeof(SearchResultType))] + public string? resourceType { get; set; } + /// ///A descriptive name of the saved search. /// - [Description("A descriptive name of the saved search.")] - [NonNull] - public string? name { get; set; } - + [Description("A descriptive name of the saved search.")] + [NonNull] + public string? name { get; set; } + /// ///The query string of a saved search. This includes search terms and filters. /// - [Description("The query string of a saved search. This includes search terms and filters.")] - [NonNull] - public string? query { get; set; } - } - + [Description("The query string of a saved search. This includes search terms and filters.")] + [NonNull] + public string? query { get; set; } + } + /// ///Return type for `savedSearchCreate` mutation. /// - [Description("Return type for `savedSearchCreate` mutation.")] - public class SavedSearchCreatePayload : GraphQLObject - { + [Description("Return type for `savedSearchCreate` mutation.")] + public class SavedSearchCreatePayload : GraphQLObject + { /// ///The saved search that was created. /// - [Description("The saved search that was created.")] - public SavedSearch? savedSearch { get; set; } - + [Description("The saved search that was created.")] + public SavedSearch? savedSearch { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields to delete a saved search. /// - [Description("The input fields to delete a saved search.")] - public class SavedSearchDeleteInput : GraphQLObject - { + [Description("The input fields to delete a saved search.")] + public class SavedSearchDeleteInput : GraphQLObject + { /// ///ID of the saved search to delete. /// - [Description("ID of the saved search to delete.")] - [NonNull] - public string? id { get; set; } - } - + [Description("ID of the saved search to delete.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `savedSearchDelete` mutation. /// - [Description("Return type for `savedSearchDelete` mutation.")] - public class SavedSearchDeletePayload : GraphQLObject - { + [Description("Return type for `savedSearchDelete` mutation.")] + public class SavedSearchDeletePayload : GraphQLObject + { /// ///The ID of the saved search that was deleted. /// - [Description("The ID of the saved search that was deleted.")] - public string? deletedSavedSearchId { get; set; } - + [Description("The ID of the saved search that was deleted.")] + public string? deletedSavedSearchId { get; set; } + /// ///The shop of the saved search that was deleted. /// - [Description("The shop of the saved search that was deleted.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The shop of the saved search that was deleted.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one SavedSearch and a cursor during pagination. /// - [Description("An auto-generated type which holds one SavedSearch and a cursor during pagination.")] - public class SavedSearchEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SavedSearch and a cursor during pagination.")] + public class SavedSearchEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SavedSearchEdge. /// - [Description("The item at the end of SavedSearchEdge.")] - [NonNull] - public SavedSearch? node { get; set; } - } - + [Description("The item at the end of SavedSearchEdge.")] + [NonNull] + public SavedSearch? node { get; set; } + } + /// ///The input fields to update a saved search. /// - [Description("The input fields to update a saved search.")] - public class SavedSearchUpdateInput : GraphQLObject - { + [Description("The input fields to update a saved search.")] + public class SavedSearchUpdateInput : GraphQLObject + { /// ///ID of the saved search to update. /// - [Description("ID of the saved search to update.")] - [NonNull] - public string? id { get; set; } - + [Description("ID of the saved search to update.")] + [NonNull] + public string? id { get; set; } + /// ///A descriptive name of the saved search. /// - [Description("A descriptive name of the saved search.")] - public string? name { get; set; } - + [Description("A descriptive name of the saved search.")] + public string? name { get; set; } + /// ///The query string of a saved search. This included search terms and filters. /// - [Description("The query string of a saved search. This included search terms and filters.")] - public string? query { get; set; } - } - + [Description("The query string of a saved search. This included search terms and filters.")] + public string? query { get; set; } + } + /// ///Return type for `savedSearchUpdate` mutation. /// - [Description("Return type for `savedSearchUpdate` mutation.")] - public class SavedSearchUpdatePayload : GraphQLObject - { + [Description("Return type for `savedSearchUpdate` mutation.")] + public class SavedSearchUpdatePayload : GraphQLObject + { /// ///The saved search that was updated. /// - [Description("The saved search that was updated.")] - public SavedSearch? savedSearch { get; set; } - + [Description("The saved search that was updated.")] + public SavedSearch? savedSearch { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The set of valid sort keys for the ScheduledChange query. /// - [Description("The set of valid sort keys for the ScheduledChange query.")] - public enum ScheduledChangeSortKeys - { + [Description("The set of valid sort keys for the ScheduledChange query.")] + public enum ScheduledChangeSortKeys + { /// ///Sort by the `expected_at` value. /// - [Description("Sort by the `expected_at` value.")] - EXPECTED_AT, + [Description("Sort by the `expected_at` value.")] + EXPECTED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class ScheduledChangeSortKeysStringValues - { - public const string EXPECTED_AT = @"EXPECTED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class ScheduledChangeSortKeysStringValues + { + public const string EXPECTED_AT = @"EXPECTED_AT"; + public const string ID = @"ID"; + } + /// ///Script discount applications capture the intentions of a discount that ///was created by a Shopify Script for an order's line item or shipping line. /// ///Discount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object. /// - [Description("Script discount applications capture the intentions of a discount that\nwas created by a Shopify Script for an order's line item or shipping line.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] - public class ScriptDiscountApplication : GraphQLObject, IDiscountApplication - { + [Description("Script discount applications capture the intentions of a discount that\nwas created by a Shopify Script for an order's line item or shipping line.\n\nDiscount applications don't represent the actual final amount discounted on a line (line item or shipping line). The actual amount discounted on a line is represented by the [DiscountAllocation](https://shopify.dev/api/admin-graphql/latest/objects/discountallocation) object.")] + public class ScriptDiscountApplication : GraphQLObject, IDiscountApplication + { /// ///The method by which the discount's value is applied to its entitled items. /// - [Description("The method by which the discount's value is applied to its entitled items.")] - [NonNull] - [EnumType(typeof(DiscountApplicationAllocationMethod))] - public string? allocationMethod { get; set; } - + [Description("The method by which the discount's value is applied to its entitled items.")] + [NonNull] + [EnumType(typeof(DiscountApplicationAllocationMethod))] + public string? allocationMethod { get; set; } + /// ///The description of the application as defined by the Script. /// - [Description("The description of the application as defined by the Script.")] - [Obsolete("Use `title` instead.")] - [NonNull] - public string? description { get; set; } - + [Description("The description of the application as defined by the Script.")] + [Obsolete("Use `title` instead.")] + [NonNull] + public string? description { get; set; } + /// ///An ordered index that can be used to identify the discount application and indicate the precedence ///of the discount application for calculations. /// - [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] - [NonNull] - public int? index { get; set; } - + [Description("An ordered index that can be used to identify the discount application and indicate the precedence\nof the discount application for calculations.")] + [NonNull] + public int? index { get; set; } + /// ///How the discount amount is distributed on the discounted lines. /// - [Description("How the discount amount is distributed on the discounted lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetSelection))] - public string? targetSelection { get; set; } - + [Description("How the discount amount is distributed on the discounted lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetSelection))] + public string? targetSelection { get; set; } + /// ///Whether the discount is applied on line items or shipping lines. /// - [Description("Whether the discount is applied on line items or shipping lines.")] - [NonNull] - [EnumType(typeof(DiscountApplicationTargetType))] - public string? targetType { get; set; } - + [Description("Whether the discount is applied on line items or shipping lines.")] + [NonNull] + [EnumType(typeof(DiscountApplicationTargetType))] + public string? targetType { get; set; } + /// ///The title of the application as defined by the Script. /// - [Description("The title of the application as defined by the Script.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the application as defined by the Script.")] + [NonNull] + public string? title { get; set; } + /// ///The value of the discount application. /// - [Description("The value of the discount application.")] - [NonNull] - public IPricingValue? value { get; set; } - } - + [Description("The value of the discount application.")] + [NonNull] + public IPricingValue? value { get; set; } + } + /// ///<div class="note" > <h4>Theme app extensions</h4> /// <p>If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. <a href="/apps/online-store#what-integration-method-should-i-use" target="_blank" >Learn more</a>.</p> </div> @@ -109033,206 +109033,206 @@ public class ScriptDiscountApplication : GraphQLObject - [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nA script tag represents remote JavaScript code that is loaded into the pages of a shop's storefront or the **Order status** page of checkout.")] - public class ScriptTag : GraphQLObject, ILegacyInteroperability, INode - { + [Description("

Theme app extensions

\n

If your app integrates with a Shopify theme and you plan to submit it to the Shopify App Store, you must use theme app extensions instead of Script tags. Script tags can only be used with vintage themes. Learn more.

\n\n

Script tag deprecation

\n

Script tags will be sunset for the Order status page on August 28, 2025. Upgrade to Checkout Extensibility before this date. Shopify Scripts will continue to work alongside Checkout Extensibility until August 28, 2025.

\n\n\nA script tag represents remote JavaScript code that is loaded into the pages of a shop's storefront or the **Order status** page of checkout.")] + public class ScriptTag : GraphQLObject, ILegacyInteroperability, INode + { /// ///Whether the Shopify CDN can cache and serve the script tag. ///If `true`, then the script will be cached and served by the CDN. ///The cache expires 15 minutes after the script tag is successfully returned. ///If `false`, then the script will be served as is. /// - [Description("Whether the Shopify CDN can cache and serve the script tag.\nIf `true`, then the script will be cached and served by the CDN.\nThe cache expires 15 minutes after the script tag is successfully returned.\nIf `false`, then the script will be served as is.")] - [NonNull] - public bool? cache { get; set; } - + [Description("Whether the Shopify CDN can cache and serve the script tag.\nIf `true`, then the script will be cached and served by the CDN.\nThe cache expires 15 minutes after the script tag is successfully returned.\nIf `false`, then the script will be served as is.")] + [NonNull] + public bool? cache { get; set; } + /// ///The date and time when the script tag was created. /// - [Description("The date and time when the script tag was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the script tag was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The page or pages on the online store that the script should be included. /// - [Description("The page or pages on the online store that the script should be included.")] - [NonNull] - [EnumType(typeof(ScriptTagDisplayScope))] - public string? displayScope { get; set; } - + [Description("The page or pages on the online store that the script should be included.")] + [NonNull] + [EnumType(typeof(ScriptTagDisplayScope))] + public string? displayScope { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The URL to the remote script. /// - [Description("The URL to the remote script.")] - [NonNull] - public string? src { get; set; } - + [Description("The URL to the remote script.")] + [NonNull] + public string? src { get; set; } + /// ///The date and time when the script tag was last updated. /// - [Description("The date and time when the script tag was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the script tag was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple ScriptTags. /// - [Description("An auto-generated type for paginating through multiple ScriptTags.")] - public class ScriptTagConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ScriptTags.")] + public class ScriptTagConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ScriptTagEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ScriptTagEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ScriptTagEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `scriptTagCreate` mutation. /// - [Description("Return type for `scriptTagCreate` mutation.")] - public class ScriptTagCreatePayload : GraphQLObject - { + [Description("Return type for `scriptTagCreate` mutation.")] + public class ScriptTagCreatePayload : GraphQLObject + { /// ///The script tag that was created. /// - [Description("The script tag that was created.")] - public ScriptTag? scriptTag { get; set; } - + [Description("The script tag that was created.")] + public ScriptTag? scriptTag { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `scriptTagDelete` mutation. /// - [Description("Return type for `scriptTagDelete` mutation.")] - public class ScriptTagDeletePayload : GraphQLObject - { + [Description("Return type for `scriptTagDelete` mutation.")] + public class ScriptTagDeletePayload : GraphQLObject + { /// ///The ID of the deleted script tag. /// - [Description("The ID of the deleted script tag.")] - public string? deletedScriptTagId { get; set; } - + [Description("The ID of the deleted script tag.")] + public string? deletedScriptTagId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The page or pages on the online store where the script should be included. /// - [Description("The page or pages on the online store where the script should be included.")] - public enum ScriptTagDisplayScope - { + [Description("The page or pages on the online store where the script should be included.")] + public enum ScriptTagDisplayScope + { /// ///Include the script on both the web storefront and the <b>Order status</b> page. /// - [Description("Include the script on both the web storefront and the Order status page.")] - [Obsolete("`ALL` is deprecated. Use `ONLINE_STORE` instead.")] - ALL, + [Description("Include the script on both the web storefront and the Order status page.")] + [Obsolete("`ALL` is deprecated. Use `ONLINE_STORE` instead.")] + ALL, /// ///Include the script only on the <b>Order status</b> page. /// - [Description("Include the script only on the Order status page.")] - [Obsolete("`ORDER_STATUS` is deprecated and unavailable as a mutation input.")] - ORDER_STATUS, + [Description("Include the script only on the Order status page.")] + [Obsolete("`ORDER_STATUS` is deprecated and unavailable as a mutation input.")] + ORDER_STATUS, /// ///Include the script only on the web storefront. /// - [Description("Include the script only on the web storefront.")] - ONLINE_STORE, - } - - public static class ScriptTagDisplayScopeStringValues - { - [Obsolete("`ALL` is deprecated. Use `ONLINE_STORE` instead.")] - public const string ALL = @"ALL"; - [Obsolete("`ORDER_STATUS` is deprecated and unavailable as a mutation input.")] - public const string ORDER_STATUS = @"ORDER_STATUS"; - public const string ONLINE_STORE = @"ONLINE_STORE"; - } - + [Description("Include the script only on the web storefront.")] + ONLINE_STORE, + } + + public static class ScriptTagDisplayScopeStringValues + { + [Obsolete("`ALL` is deprecated. Use `ONLINE_STORE` instead.")] + public const string ALL = @"ALL"; + [Obsolete("`ORDER_STATUS` is deprecated and unavailable as a mutation input.")] + public const string ORDER_STATUS = @"ORDER_STATUS"; + public const string ONLINE_STORE = @"ONLINE_STORE"; + } + /// ///An auto-generated type which holds one ScriptTag and a cursor during pagination. /// - [Description("An auto-generated type which holds one ScriptTag and a cursor during pagination.")] - public class ScriptTagEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ScriptTag and a cursor during pagination.")] + public class ScriptTagEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ScriptTagEdge. /// - [Description("The item at the end of ScriptTagEdge.")] - [NonNull] - public ScriptTag? node { get; set; } - } - + [Description("The item at the end of ScriptTagEdge.")] + [NonNull] + public ScriptTag? node { get; set; } + } + /// ///The input fields for a script tag. This input object is used when creating or updating ///a script tag to specify its URL, where it should be included, and how it will be cached. /// - [Description("The input fields for a script tag. This input object is used when creating or updating\na script tag to specify its URL, where it should be included, and how it will be cached.")] - public class ScriptTagInput : GraphQLObject - { + [Description("The input fields for a script tag. This input object is used when creating or updating\na script tag to specify its URL, where it should be included, and how it will be cached.")] + public class ScriptTagInput : GraphQLObject + { /// ///The URL of the remote script. For example: `https://example.com/path/to/script.js`. /// - [Description("The URL of the remote script. For example: `https://example.com/path/to/script.js`.")] - public string? src { get; set; } - + [Description("The URL of the remote script. For example: `https://example.com/path/to/script.js`.")] + public string? src { get; set; } + /// ///The page or pages on the online store where the script should be included. /// - [Description("The page or pages on the online store where the script should be included.")] - [EnumType(typeof(ScriptTagDisplayScope))] - public string? displayScope { get; set; } - + [Description("The page or pages on the online store where the script should be included.")] + [EnumType(typeof(ScriptTagDisplayScope))] + public string? displayScope { get; set; } + /// ///Whether the Shopify CDN can cache and serve the script tag. ///If `true`, then the script will be cached and served by the CDN. @@ -109240,457 +109240,457 @@ public class ScriptTagInput : GraphQLObject ///If `false`, then the script is served as is. ///The default value is `false`. /// - [Description("Whether the Shopify CDN can cache and serve the script tag.\nIf `true`, then the script will be cached and served by the CDN.\nThe cache expires 15 minutes after the script tag is successfully returned.\nIf `false`, then the script is served as is.\nThe default value is `false`.")] - public bool? cache { get; set; } - } - + [Description("Whether the Shopify CDN can cache and serve the script tag.\nIf `true`, then the script will be cached and served by the CDN.\nThe cache expires 15 minutes after the script tag is successfully returned.\nIf `false`, then the script is served as is.\nThe default value is `false`.")] + public bool? cache { get; set; } + } + /// ///Return type for `scriptTagUpdate` mutation. /// - [Description("Return type for `scriptTagUpdate` mutation.")] - public class ScriptTagUpdatePayload : GraphQLObject - { + [Description("Return type for `scriptTagUpdate` mutation.")] + public class ScriptTagUpdatePayload : GraphQLObject + { /// ///The script tag that was updated. /// - [Description("The script tag that was updated.")] - public ScriptTag? scriptTag { get; set; } - + [Description("The script tag that was updated.")] + public ScriptTag? scriptTag { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A filter in a search query represented by a key value pair. /// - [Description("A filter in a search query represented by a key value pair.")] - public class SearchFilter : GraphQLObject - { + [Description("A filter in a search query represented by a key value pair.")] + public class SearchFilter : GraphQLObject + { /// ///The key of the search filter. /// - [Description("The key of the search filter.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the search filter.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the search filter. /// - [Description("The value of the search filter.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the search filter.")] + [NonNull] + public string? value { get; set; } + } + /// ///A list of search filters along with their specific options in value and label pair for filtering. /// - [Description("A list of search filters along with their specific options in value and label pair for filtering.")] - public class SearchFilterOptions : GraphQLObject - { + [Description("A list of search filters along with their specific options in value and label pair for filtering.")] + public class SearchFilterOptions : GraphQLObject + { /// ///A list of options that can be use to filter product availability. /// - [Description("A list of options that can be use to filter product availability.")] - [NonNull] - public IEnumerable? productAvailability { get; set; } - } - + [Description("A list of options that can be use to filter product availability.")] + [NonNull] + public IEnumerable? productAvailability { get; set; } + } + /// ///Represents an individual result returned from a search. /// - [Description("Represents an individual result returned from a search.")] - public class SearchResult : GraphQLObject - { + [Description("Represents an individual result returned from a search.")] + public class SearchResult : GraphQLObject + { /// ///Returns the search result description text. /// - [Description("Returns the search result description text.")] - public string? description { get; set; } - + [Description("Returns the search result description text.")] + public string? description { get; set; } + /// ///Returns the Image resource presented to accompany a search result. /// - [Description("Returns the Image resource presented to accompany a search result.")] - public Image? image { get; set; } - + [Description("Returns the Image resource presented to accompany a search result.")] + public Image? image { get; set; } + /// ///Returns the resource represented by the search result. /// - [Description("Returns the resource represented by the search result.")] - [NonNull] - public INode? reference { get; set; } - + [Description("Returns the resource represented by the search result.")] + [NonNull] + public INode? reference { get; set; } + /// ///Returns the resource title. /// - [Description("Returns the resource title.")] - [NonNull] - public string? title { get; set; } - + [Description("Returns the resource title.")] + [NonNull] + public string? title { get; set; } + /// ///Returns the absolute URL to the resource in the search result. /// - [Description("Returns the absolute URL to the resource in the search result.")] - [NonNull] - public string? url { get; set; } - } - + [Description("Returns the absolute URL to the resource in the search result.")] + [NonNull] + public string? url { get; set; } + } + /// ///The connection type for SearchResult. /// - [Description("The connection type for SearchResult.")] - public class SearchResultConnection : GraphQLObject, IConnectionWithEdges - { + [Description("The connection type for SearchResult.")] + public class SearchResultConnection : GraphQLObject, IConnectionWithEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [Obsolete("The provided information is not accurate.")] - [NonNull] - public int? resultsAfterCount { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [Obsolete("The provided information is not accurate.")] + [NonNull] + public int? resultsAfterCount { get; set; } + } + /// ///An auto-generated type which holds one SearchResult and a cursor during pagination. /// - [Description("An auto-generated type which holds one SearchResult and a cursor during pagination.")] - public class SearchResultEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SearchResult and a cursor during pagination.")] + public class SearchResultEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SearchResultEdge. /// - [Description("The item at the end of SearchResultEdge.")] - [NonNull] - public SearchResult? node { get; set; } - } - + [Description("The item at the end of SearchResultEdge.")] + [NonNull] + public SearchResult? node { get; set; } + } + /// ///Specifies the type of resources to be returned from a search. /// - [Description("Specifies the type of resources to be returned from a search.")] - public enum SearchResultType - { - CUSTOMER, - DRAFT_ORDER, - PRODUCT, - COLLECTION, + [Description("Specifies the type of resources to be returned from a search.")] + public enum SearchResultType + { + CUSTOMER, + DRAFT_ORDER, + PRODUCT, + COLLECTION, /// ///A file. /// - [Description("A file.")] - FILE, + [Description("A file.")] + FILE, /// ///A page. /// - [Description("A page.")] - PAGE, + [Description("A page.")] + PAGE, /// ///A blog. /// - [Description("A blog.")] - BLOG, + [Description("A blog.")] + BLOG, /// ///An article. /// - [Description("An article.")] - ARTICLE, + [Description("An article.")] + ARTICLE, /// ///A URL redirect. /// - [Description("A URL redirect.")] - URL_REDIRECT, - PRICE_RULE, + [Description("A URL redirect.")] + URL_REDIRECT, + PRICE_RULE, /// ///A code discount redeem code. /// - [Description("A code discount redeem code.")] - DISCOUNT_REDEEM_CODE, - ORDER, + [Description("A code discount redeem code.")] + DISCOUNT_REDEEM_CODE, + ORDER, /// ///A balance transaction. /// - [Description("A balance transaction.")] - BALANCE_TRANSACTION, - } - - public static class SearchResultTypeStringValues - { - public const string CUSTOMER = @"CUSTOMER"; - public const string DRAFT_ORDER = @"DRAFT_ORDER"; - public const string PRODUCT = @"PRODUCT"; - public const string COLLECTION = @"COLLECTION"; - public const string FILE = @"FILE"; - public const string PAGE = @"PAGE"; - public const string BLOG = @"BLOG"; - public const string ARTICLE = @"ARTICLE"; - public const string URL_REDIRECT = @"URL_REDIRECT"; - public const string PRICE_RULE = @"PRICE_RULE"; - public const string DISCOUNT_REDEEM_CODE = @"DISCOUNT_REDEEM_CODE"; - public const string ORDER = @"ORDER"; - public const string BALANCE_TRANSACTION = @"BALANCE_TRANSACTION"; - } - + [Description("A balance transaction.")] + BALANCE_TRANSACTION, + } + + public static class SearchResultTypeStringValues + { + public const string CUSTOMER = @"CUSTOMER"; + public const string DRAFT_ORDER = @"DRAFT_ORDER"; + public const string PRODUCT = @"PRODUCT"; + public const string COLLECTION = @"COLLECTION"; + public const string FILE = @"FILE"; + public const string PAGE = @"PAGE"; + public const string BLOG = @"BLOG"; + public const string ARTICLE = @"ARTICLE"; + public const string URL_REDIRECT = @"URL_REDIRECT"; + public const string PRICE_RULE = @"PRICE_RULE"; + public const string DISCOUNT_REDEEM_CODE = @"DISCOUNT_REDEEM_CODE"; + public const string ORDER = @"ORDER"; + public const string BALANCE_TRANSACTION = @"BALANCE_TRANSACTION"; + } + /// ///A dynamic collection of customers based on specific criteria. /// - [Description("A dynamic collection of customers based on specific criteria.")] - public class Segment : GraphQLObject, INode - { + [Description("A dynamic collection of customers based on specific criteria.")] + public class Segment : GraphQLObject, INode + { /// ///The date and time when the segment was added to the store. /// - [Description("The date and time when the segment was added to the store.")] - [NonNull] - public DateTime? creationDate { get; set; } - + [Description("The date and time when the segment was added to the store.")] + [NonNull] + public DateTime? creationDate { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The date and time when the segment was last updated. /// - [Description("The date and time when the segment was last updated.")] - [NonNull] - public DateTime? lastEditDate { get; set; } - + [Description("The date and time when the segment was last updated.")] + [NonNull] + public DateTime? lastEditDate { get; set; } + /// ///The name of the segment. /// - [Description("The name of the segment.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the segment.")] + [NonNull] + public string? name { get; set; } + /// ///A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers. /// - [Description("A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers.")] - [NonNull] - public string? query { get; set; } - } - + [Description("A precise definition of the segment. The definition is composed of a combination of conditions on facts about customers.")] + [NonNull] + public string? query { get; set; } + } + /// ///A filter that takes a value that's associated with an object. For example, the `tags` field is associated with the [`Customer`](/api/admin-graphql/latest/objects/Customer) object. /// - [Description("A filter that takes a value that's associated with an object. For example, the `tags` field is associated with the [`Customer`](/api/admin-graphql/latest/objects/Customer) object.")] - public class SegmentAssociationFilter : GraphQLObject, ISegmentFilter - { + [Description("A filter that takes a value that's associated with an object. For example, the `tags` field is associated with the [`Customer`](/api/admin-graphql/latest/objects/Customer) object.")] + public class SegmentAssociationFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///The statistics of a given attribute. /// - [Description("The statistics of a given attribute.")] - public class SegmentAttributeStatistics : GraphQLObject - { + [Description("The statistics of a given attribute.")] + public class SegmentAttributeStatistics : GraphQLObject + { /// ///The average of a given attribute. /// - [Description("The average of a given attribute.")] - [NonNull] - public decimal? average { get; set; } - + [Description("The average of a given attribute.")] + [NonNull] + public decimal? average { get; set; } + /// ///The sum of a given attribute. /// - [Description("The sum of a given attribute.")] - [NonNull] - public decimal? sum { get; set; } - } - + [Description("The sum of a given attribute.")] + [NonNull] + public decimal? sum { get; set; } + } + /// ///A filter with a Boolean value that's been added to a segment query. /// - [Description("A filter with a Boolean value that's been added to a segment query.")] - public class SegmentBooleanFilter : GraphQLObject, ISegmentFilter - { + [Description("A filter with a Boolean value that's been added to a segment query.")] + public class SegmentBooleanFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///An auto-generated type for paginating through multiple Segments. /// - [Description("An auto-generated type for paginating through multiple Segments.")] - public class SegmentConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Segments.")] + public class SegmentConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SegmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SegmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SegmentEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `segmentCreate` mutation. /// - [Description("Return type for `segmentCreate` mutation.")] - public class SegmentCreatePayload : GraphQLObject - { + [Description("Return type for `segmentCreate` mutation.")] + public class SegmentCreatePayload : GraphQLObject + { /// ///The newly created segment. /// - [Description("The newly created segment.")] - public Segment? segment { get; set; } - + [Description("The newly created segment.")] + public Segment? segment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A filter with a date value that's been added to a segment query. /// - [Description("A filter with a date value that's been added to a segment query.")] - public class SegmentDateFilter : GraphQLObject, ISegmentFilter - { + [Description("A filter with a date value that's been added to a segment query.")] + public class SegmentDateFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///Return type for `segmentDelete` mutation. /// - [Description("Return type for `segmentDelete` mutation.")] - public class SegmentDeletePayload : GraphQLObject - { + [Description("Return type for `segmentDelete` mutation.")] + public class SegmentDeletePayload : GraphQLObject + { /// ///ID of the deleted segment. /// - [Description("ID of the deleted segment.")] - public string? deletedSegmentId { get; set; } - + [Description("ID of the deleted segment.")] + public string? deletedSegmentId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Segment and a cursor during pagination. /// - [Description("An auto-generated type which holds one Segment and a cursor during pagination.")] - public class SegmentEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Segment and a cursor during pagination.")] + public class SegmentEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SegmentEdge. /// - [Description("The item at the end of SegmentEdge.")] - [NonNull] - public Segment? node { get; set; } - } - + [Description("The item at the end of SegmentEdge.")] + [NonNull] + public Segment? node { get; set; } + } + /// ///Categorical filter options for building customer segments using predefined value sets like countries, subscription statuses, or order frequencies. /// @@ -109703,654 +109703,654 @@ public class SegmentEdge : GraphQLObject, IEdge /// ///Includes localized display names, indicates whether multiple values can be selected, and provides technical query names for API operations. /// - [Description("Categorical filter options for building customer segments using predefined value sets like countries, subscription statuses, or order frequencies.\n\nFor example, a \"Customer Location\" enum filter provides options like \"United States,\" \"Canada,\" and \"United Kingdom.\"\n\nUse this object to:\n- Access available categorical filter options\n- Understand filter capabilities and constraints\n- Build user interfaces for segment creation\n\nIncludes localized display names, indicates whether multiple values can be selected, and provides technical query names for API operations.")] - public class SegmentEnumFilter : GraphQLObject, ISegmentFilter - { + [Description("Categorical filter options for building customer segments using predefined value sets like countries, subscription statuses, or order frequencies.\n\nFor example, a \"Customer Location\" enum filter provides options like \"United States,\" \"Canada,\" and \"United Kingdom.\"\n\nUse this object to:\n- Access available categorical filter options\n- Understand filter capabilities and constraints\n- Build user interfaces for segment creation\n\nIncludes localized display names, indicates whether multiple values can be selected, and provides technical query names for API operations.")] + public class SegmentEnumFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///A filter that's used to segment customers based on the date that an event occured. For example, the `product_bought` event filter allows you to segment customers based on what products they've bought. /// - [Description("A filter that's used to segment customers based on the date that an event occured. For example, the `product_bought` event filter allows you to segment customers based on what products they've bought.")] - public class SegmentEventFilter : GraphQLObject, ISegmentFilter - { + [Description("A filter that's used to segment customers based on the date that an event occured. For example, the `product_bought` event filter allows you to segment customers based on what products they've bought.")] + public class SegmentEventFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The parameters for an event segment filter. /// - [Description("The parameters for an event segment filter.")] - [NonNull] - public IEnumerable? parameters { get; set; } - + [Description("The parameters for an event segment filter.")] + [NonNull] + public IEnumerable? parameters { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + /// ///The return value type for an event segment filter. /// - [Description("The return value type for an event segment filter.")] - [NonNull] - public string? returnValueType { get; set; } - } - + [Description("The return value type for an event segment filter.")] + [NonNull] + public string? returnValueType { get; set; } + } + /// ///The parameters for an event segment filter. /// - [Description("The parameters for an event segment filter.")] - public class SegmentEventFilterParameter : GraphQLObject - { + [Description("The parameters for an event segment filter.")] + public class SegmentEventFilterParameter : GraphQLObject + { /// ///Whether the parameter accepts a list of values. /// - [Description("Whether the parameter accepts a list of values.")] - [NonNull] - public bool? acceptsMultipleValues { get; set; } - + [Description("Whether the parameter accepts a list of values.")] + [NonNull] + public bool? acceptsMultipleValues { get; set; } + /// ///The localized description of the parameter. /// - [Description("The localized description of the parameter.")] - [NonNull] - public string? localizedDescription { get; set; } - + [Description("The localized description of the parameter.")] + [NonNull] + public string? localizedDescription { get; set; } + /// ///The localized name of the parameter. /// - [Description("The localized name of the parameter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the parameter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///The parameter maximum value range. /// - [Description("The parameter maximum value range.")] - public decimal? maxRange { get; set; } - + [Description("The parameter maximum value range.")] + public decimal? maxRange { get; set; } + /// ///The parameter minimum value range. /// - [Description("The parameter minimum value range.")] - public decimal? minRange { get; set; } - + [Description("The parameter minimum value range.")] + public decimal? minRange { get; set; } + /// ///A list of parameters that are mutually exclusive with the parameter. /// - [Description("A list of parameters that are mutually exclusive with the parameter.")] - [NonNull] - public IEnumerable? mutuallyExclusiveWith { get; set; } - + [Description("A list of parameters that are mutually exclusive with the parameter.")] + [NonNull] + public IEnumerable? mutuallyExclusiveWith { get; set; } + /// ///Whether the parameter is optional. /// - [Description("Whether the parameter is optional.")] - [NonNull] - public bool? optional { get; set; } - + [Description("Whether the parameter is optional.")] + [NonNull] + public bool? optional { get; set; } + /// ///The type of the parameter. /// - [Description("The type of the parameter.")] - [NonNull] - public string? parameterType { get; set; } - + [Description("The type of the parameter.")] + [NonNull] + public string? parameterType { get; set; } + /// ///The query name of the parameter. /// - [Description("The query name of the parameter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the parameter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///The filters used in segment queries associated with a shop. /// - [Description("The filters used in segment queries associated with a shop.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SegmentAssociationFilter), typeDiscriminator: "SegmentAssociationFilter")] - [JsonDerivedType(typeof(SegmentBooleanFilter), typeDiscriminator: "SegmentBooleanFilter")] - [JsonDerivedType(typeof(SegmentDateFilter), typeDiscriminator: "SegmentDateFilter")] - [JsonDerivedType(typeof(SegmentEnumFilter), typeDiscriminator: "SegmentEnumFilter")] - [JsonDerivedType(typeof(SegmentEventFilter), typeDiscriminator: "SegmentEventFilter")] - [JsonDerivedType(typeof(SegmentFloatFilter), typeDiscriminator: "SegmentFloatFilter")] - [JsonDerivedType(typeof(SegmentIntegerFilter), typeDiscriminator: "SegmentIntegerFilter")] - [JsonDerivedType(typeof(SegmentStringFilter), typeDiscriminator: "SegmentStringFilter")] - public interface ISegmentFilter : IGraphQLObject - { - public SegmentAssociationFilter? AsSegmentAssociationFilter() => this as SegmentAssociationFilter; - public SegmentBooleanFilter? AsSegmentBooleanFilter() => this as SegmentBooleanFilter; - public SegmentDateFilter? AsSegmentDateFilter() => this as SegmentDateFilter; - public SegmentEnumFilter? AsSegmentEnumFilter() => this as SegmentEnumFilter; - public SegmentEventFilter? AsSegmentEventFilter() => this as SegmentEventFilter; - public SegmentFloatFilter? AsSegmentFloatFilter() => this as SegmentFloatFilter; - public SegmentIntegerFilter? AsSegmentIntegerFilter() => this as SegmentIntegerFilter; - public SegmentStringFilter? AsSegmentStringFilter() => this as SegmentStringFilter; + [Description("The filters used in segment queries associated with a shop.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SegmentAssociationFilter), typeDiscriminator: "SegmentAssociationFilter")] + [JsonDerivedType(typeof(SegmentBooleanFilter), typeDiscriminator: "SegmentBooleanFilter")] + [JsonDerivedType(typeof(SegmentDateFilter), typeDiscriminator: "SegmentDateFilter")] + [JsonDerivedType(typeof(SegmentEnumFilter), typeDiscriminator: "SegmentEnumFilter")] + [JsonDerivedType(typeof(SegmentEventFilter), typeDiscriminator: "SegmentEventFilter")] + [JsonDerivedType(typeof(SegmentFloatFilter), typeDiscriminator: "SegmentFloatFilter")] + [JsonDerivedType(typeof(SegmentIntegerFilter), typeDiscriminator: "SegmentIntegerFilter")] + [JsonDerivedType(typeof(SegmentStringFilter), typeDiscriminator: "SegmentStringFilter")] + public interface ISegmentFilter : IGraphQLObject + { + public SegmentAssociationFilter? AsSegmentAssociationFilter() => this as SegmentAssociationFilter; + public SegmentBooleanFilter? AsSegmentBooleanFilter() => this as SegmentBooleanFilter; + public SegmentDateFilter? AsSegmentDateFilter() => this as SegmentDateFilter; + public SegmentEnumFilter? AsSegmentEnumFilter() => this as SegmentEnumFilter; + public SegmentEventFilter? AsSegmentEventFilter() => this as SegmentEventFilter; + public SegmentFloatFilter? AsSegmentFloatFilter() => this as SegmentFloatFilter; + public SegmentIntegerFilter? AsSegmentIntegerFilter() => this as SegmentIntegerFilter; + public SegmentStringFilter? AsSegmentStringFilter() => this as SegmentStringFilter; /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; } + } + /// ///An auto-generated type for paginating through multiple SegmentFilters. /// - [Description("An auto-generated type for paginating through multiple SegmentFilters.")] - public class SegmentFilterConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SegmentFilters.")] + public class SegmentFilterConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SegmentFilterEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SegmentFilterEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SegmentFilterEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one SegmentFilter and a cursor during pagination. /// - [Description("An auto-generated type which holds one SegmentFilter and a cursor during pagination.")] - public class SegmentFilterEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SegmentFilter and a cursor during pagination.")] + public class SegmentFilterEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SegmentFilterEdge. /// - [Description("The item at the end of SegmentFilterEdge.")] - [NonNull] - public ISegmentFilter? node { get; set; } - } - + [Description("The item at the end of SegmentFilterEdge.")] + [NonNull] + public ISegmentFilter? node { get; set; } + } + /// ///A filter with a double-precision, floating-point value that's been added to a segment query. /// - [Description("A filter with a double-precision, floating-point value that's been added to a segment query.")] - public class SegmentFloatFilter : GraphQLObject, ISegmentFilter - { + [Description("A filter with a double-precision, floating-point value that's been added to a segment query.")] + public class SegmentFloatFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///The maximum range a filter can have. /// - [Description("The maximum range a filter can have.")] - public decimal? maxRange { get; set; } - + [Description("The maximum range a filter can have.")] + public decimal? maxRange { get; set; } + /// ///The minimum range a filter can have. /// - [Description("The minimum range a filter can have.")] - public decimal? minRange { get; set; } - + [Description("The minimum range a filter can have.")] + public decimal? minRange { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///A filter with an integer that's been added to a segment query. /// - [Description("A filter with an integer that's been added to a segment query.")] - public class SegmentIntegerFilter : GraphQLObject, ISegmentFilter - { + [Description("A filter with an integer that's been added to a segment query.")] + public class SegmentIntegerFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///The maximum range a filter can have. /// - [Description("The maximum range a filter can have.")] - public decimal? maxRange { get; set; } - + [Description("The maximum range a filter can have.")] + public decimal? maxRange { get; set; } + /// ///The minimum range a filter can have. /// - [Description("The minimum range a filter can have.")] - public decimal? minRange { get; set; } - + [Description("The minimum range a filter can have.")] + public decimal? minRange { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///The response type for the `segmentMembership` object. /// - [Description("The response type for the `segmentMembership` object.")] - public class SegmentMembership : GraphQLObject - { + [Description("The response type for the `segmentMembership` object.")] + public class SegmentMembership : GraphQLObject + { /// ///A Boolean that indicates whether or not the customer in the query is a member of the segment, which is identified using the `segmentId`. /// - [Description("A Boolean that indicates whether or not the customer in the query is a member of the segment, which is identified using the `segmentId`.")] - [NonNull] - public bool? isMember { get; set; } - + [Description("A Boolean that indicates whether or not the customer in the query is a member of the segment, which is identified using the `segmentId`.")] + [NonNull] + public bool? isMember { get; set; } + /// ///A `segmentId` that's used for testing membership. /// - [Description("A `segmentId` that's used for testing membership.")] - [NonNull] - public string? segmentId { get; set; } - } - + [Description("A `segmentId` that's used for testing membership.")] + [NonNull] + public string? segmentId { get; set; } + } + /// ///A list of maps that contain `segmentId` IDs and `isMember` Booleans. The maps represent segment memberships. /// - [Description("A list of maps that contain `segmentId` IDs and `isMember` Booleans. The maps represent segment memberships.")] - public class SegmentMembershipResponse : GraphQLObject - { + [Description("A list of maps that contain `segmentId` IDs and `isMember` Booleans. The maps represent segment memberships.")] + public class SegmentMembershipResponse : GraphQLObject + { /// ///The membership status for the given list of segments. /// - [Description("The membership status for the given list of segments.")] - [NonNull] - public IEnumerable? memberships { get; set; } - } - + [Description("The membership status for the given list of segments.")] + [NonNull] + public IEnumerable? memberships { get; set; } + } + /// ///A segment and its corresponding saved search. ///For example, you can use `SegmentMigration` to retrieve the segment ID that corresponds to a saved search ID. /// - [Description("A segment and its corresponding saved search. \nFor example, you can use `SegmentMigration` to retrieve the segment ID that corresponds to a saved search ID.")] - public class SegmentMigration : GraphQLObject - { + [Description("A segment and its corresponding saved search. \nFor example, you can use `SegmentMigration` to retrieve the segment ID that corresponds to a saved search ID.")] + public class SegmentMigration : GraphQLObject + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The ID of the saved search. /// - [Description("The ID of the saved search.")] - [NonNull] - public string? savedSearchId { get; set; } - + [Description("The ID of the saved search.")] + [NonNull] + public string? savedSearchId { get; set; } + /// ///The ID of the segment. /// - [Description("The ID of the segment.")] - public string? segmentId { get; set; } - } - + [Description("The ID of the segment.")] + public string? segmentId { get; set; } + } + /// ///An auto-generated type for paginating through multiple SegmentMigrations. /// - [Description("An auto-generated type for paginating through multiple SegmentMigrations.")] - public class SegmentMigrationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SegmentMigrations.")] + public class SegmentMigrationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SegmentMigrationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SegmentMigrationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SegmentMigrationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one SegmentMigration and a cursor during pagination. /// - [Description("An auto-generated type which holds one SegmentMigration and a cursor during pagination.")] - public class SegmentMigrationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SegmentMigration and a cursor during pagination.")] + public class SegmentMigrationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SegmentMigrationEdge. /// - [Description("The item at the end of SegmentMigrationEdge.")] - [NonNull] - public SegmentMigration? node { get; set; } - } - + [Description("The item at the end of SegmentMigrationEdge.")] + [NonNull] + public SegmentMigration? node { get; set; } + } + /// ///The set of valid sort keys for the Segment query. /// - [Description("The set of valid sort keys for the Segment query.")] - public enum SegmentSortKeys - { + [Description("The set of valid sort keys for the Segment query.")] + public enum SegmentSortKeys + { /// ///Sort by the `creation_date` value. /// - [Description("Sort by the `creation_date` value.")] - CREATION_DATE, + [Description("Sort by the `creation_date` value.")] + CREATION_DATE, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `last_edit_date` value. /// - [Description("Sort by the `last_edit_date` value.")] - LAST_EDIT_DATE, + [Description("Sort by the `last_edit_date` value.")] + LAST_EDIT_DATE, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, - } - - public static class SegmentSortKeysStringValues - { - public const string CREATION_DATE = @"CREATION_DATE"; - public const string ID = @"ID"; - public const string LAST_EDIT_DATE = @"LAST_EDIT_DATE"; - public const string RELEVANCE = @"RELEVANCE"; - } - + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, + } + + public static class SegmentSortKeysStringValues + { + public const string CREATION_DATE = @"CREATION_DATE"; + public const string ID = @"ID"; + public const string LAST_EDIT_DATE = @"LAST_EDIT_DATE"; + public const string RELEVANCE = @"RELEVANCE"; + } + /// ///The statistics of a given segment. /// - [Description("The statistics of a given segment.")] - public class SegmentStatistics : GraphQLObject - { + [Description("The statistics of a given segment.")] + public class SegmentStatistics : GraphQLObject + { /// ///The statistics of a given attribute. /// - [Description("The statistics of a given attribute.")] - [NonNull] - public SegmentAttributeStatistics? attributeStatistics { get; set; } - } - + [Description("The statistics of a given attribute.")] + [NonNull] + public SegmentAttributeStatistics? attributeStatistics { get; set; } + } + /// ///A filter with a string that's been added to a segment query. /// - [Description("A filter with a string that's been added to a segment query.")] - public class SegmentStringFilter : GraphQLObject, ISegmentFilter - { + [Description("A filter with a string that's been added to a segment query.")] + public class SegmentStringFilter : GraphQLObject, ISegmentFilter + { /// ///The localized name of the filter. /// - [Description("The localized name of the filter.")] - [NonNull] - public string? localizedName { get; set; } - + [Description("The localized name of the filter.")] + [NonNull] + public string? localizedName { get; set; } + /// ///Whether a file can have multiple values for a single customer. /// - [Description("Whether a file can have multiple values for a single customer.")] - [NonNull] - public bool? multiValue { get; set; } - + [Description("Whether a file can have multiple values for a single customer.")] + [NonNull] + public bool? multiValue { get; set; } + /// ///The query name of the filter. /// - [Description("The query name of the filter.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The query name of the filter.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///Return type for `segmentUpdate` mutation. /// - [Description("Return type for `segmentUpdate` mutation.")] - public class SegmentUpdatePayload : GraphQLObject - { + [Description("Return type for `segmentUpdate` mutation.")] + public class SegmentUpdatePayload : GraphQLObject + { /// ///The updated segment. /// - [Description("The updated segment.")] - public Segment? segment { get; set; } - + [Description("The updated segment.")] + public Segment? segment { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A list of suggested values associated with an individual segment. A ///segment is a group of members, such as customers, that meet specific ///criteria. /// - [Description("A list of suggested values associated with an individual segment. A\nsegment is a group of members, such as customers, that meet specific\ncriteria.")] - public class SegmentValue : GraphQLObject - { + [Description("A list of suggested values associated with an individual segment. A\nsegment is a group of members, such as customers, that meet specific\ncriteria.")] + public class SegmentValue : GraphQLObject + { /// ///The localized version of the value's name. This name is displayed to the merchant. /// - [Description("The localized version of the value's name. This name is displayed to the merchant.")] - [NonNull] - public string? localizedValue { get; set; } - + [Description("The localized version of the value's name. This name is displayed to the merchant.")] + [NonNull] + public string? localizedValue { get; set; } + /// ///The name of the query associated with the suggestion. /// - [Description("The name of the query associated with the suggestion.")] - [NonNull] - public string? queryName { get; set; } - } - + [Description("The name of the query associated with the suggestion.")] + [NonNull] + public string? queryName { get; set; } + } + /// ///An auto-generated type for paginating through multiple SegmentValues. /// - [Description("An auto-generated type for paginating through multiple SegmentValues.")] - public class SegmentValueConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SegmentValues.")] + public class SegmentValueConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SegmentValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SegmentValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SegmentValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one SegmentValue and a cursor during pagination. /// - [Description("An auto-generated type which holds one SegmentValue and a cursor during pagination.")] - public class SegmentValueEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SegmentValue and a cursor during pagination.")] + public class SegmentValueEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SegmentValueEdge. /// - [Description("The item at the end of SegmentValueEdge.")] - [NonNull] - public SegmentValue? node { get; set; } - } - + [Description("The item at the end of SegmentValueEdge.")] + [NonNull] + public SegmentValue? node { get; set; } + } + /// ///Properties used by customers to select a product variant. ///Products can have multiple options, like different sizes or colors. /// - [Description("Properties used by customers to select a product variant.\nProducts can have multiple options, like different sizes or colors.")] - public class SelectedOption : GraphQLObject - { + [Description("Properties used by customers to select a product variant.\nProducts can have multiple options, like different sizes or colors.")] + public class SelectedOption : GraphQLObject + { /// ///The product option’s name. /// - [Description("The product option’s name.")] - [NonNull] - public string? name { get; set; } - + [Description("The product option’s name.")] + [NonNull] + public string? name { get; set; } + /// ///The product option’s value object. /// - [Description("The product option’s value object.")] - [NonNull] - public ProductOptionValue? optionValue { get; set; } - + [Description("The product option’s value object.")] + [NonNull] + public ProductOptionValue? optionValue { get; set; } + /// ///The product option’s value. /// - [Description("The product option’s value.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The product option’s value.")] + [NonNull] + public string? value { get; set; } + } + /// ///The input fields for the selected variant option of the combined listing. /// - [Description("The input fields for the selected variant option of the combined listing.")] - public class SelectedVariantOptionInput : GraphQLObject - { + [Description("The input fields for the selected variant option of the combined listing.")] + public class SelectedVariantOptionInput : GraphQLObject + { /// ///The name of the parent product's option. /// - [Description("The name of the parent product's option.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the parent product's option.")] + [NonNull] + public string? name { get; set; } + /// ///The selected option value of the parent product's option. /// - [Description("The selected option value of the parent product's option.")] - [NonNull] - public string? value { get; set; } - + [Description("The selected option value of the parent product's option.")] + [NonNull] + public string? value { get; set; } + /// ///The metaobject value of the linked metafield. /// - [Description("The metaobject value of the linked metafield.")] - public string? linkedMetafieldValue { get; set; } - } - + [Description("The metaobject value of the linked metafield.")] + public string? linkedMetafieldValue { get; set; } + } + /// ///Represents how a product can be sold and purchased. Selling plans and associated records (selling plan groups ///and policies) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing @@ -110359,124 +110359,124 @@ public class SelectedVariantOptionInput : GraphQLObject - [Description("Represents how a product can be sold and purchased. Selling plans and associated records (selling plan groups\nand policies) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing\nup these records if you need to restore them later.\n\nFor more information on selling plans, refer to\n[*Creating and managing selling plans*](https://shopify.dev/docs/apps/selling-strategies/subscriptions/selling-plans).")] - public class SellingPlan : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode - { + [Description("Represents how a product can be sold and purchased. Selling plans and associated records (selling plan groups\nand policies) are deleted 48 hours after a merchant uninstalls their subscriptions app. We recommend backing\nup these records if you need to restore them later.\n\nFor more information on selling plans, refer to\n[*Creating and managing selling plans*](https://shopify.dev/docs/apps/selling-strategies/subscriptions/selling-plans).")] + public class SellingPlan : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode + { /// ///A selling plan policy which describes the recurring billing details. /// - [Description("A selling plan policy which describes the recurring billing details.")] - [NonNull] - public ISellingPlanBillingPolicy? billingPolicy { get; set; } - + [Description("A selling plan policy which describes the recurring billing details.")] + [NonNull] + public ISellingPlanBillingPolicy? billingPolicy { get; set; } + /// ///The category used to classify the selling plan for reporting purposes. /// - [Description("The category used to classify the selling plan for reporting purposes.")] - [EnumType(typeof(SellingPlanCategory))] - public string? category { get; set; } - + [Description("The category used to classify the selling plan for reporting purposes.")] + [EnumType(typeof(SellingPlanCategory))] + public string? category { get; set; } + /// ///The date and time when the selling plan was created. /// - [Description("The date and time when the selling plan was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the selling plan was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A selling plan policy which describes the delivery details. /// - [Description("A selling plan policy which describes the delivery details.")] - [NonNull] - public ISellingPlanDeliveryPolicy? deliveryPolicy { get; set; } - + [Description("A selling plan policy which describes the delivery details.")] + [NonNull] + public ISellingPlanDeliveryPolicy? deliveryPolicy { get; set; } + /// ///Buyer facing string which describes the selling plan commitment. /// - [Description("Buyer facing string which describes the selling plan commitment.")] - public string? description { get; set; } - + [Description("Buyer facing string which describes the selling plan commitment.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///When to reserve inventory for a selling plan. /// - [Description("When to reserve inventory for a selling plan.")] - public SellingPlanInventoryPolicy? inventoryPolicy { get; set; } - + [Description("When to reserve inventory for a selling plan.")] + public SellingPlanInventoryPolicy? inventoryPolicy { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///A customer-facing description of the selling plan. /// ///If your store supports multiple currencies, then don't include country-specific pricing content, such as "Buy monthly, get 10$ CAD off". This field won't be converted to reflect different currencies. /// - [Description("A customer-facing description of the selling plan.\n\nIf your store supports multiple currencies, then don't include country-specific pricing content, such as \"Buy monthly, get 10$ CAD off\". This field won't be converted to reflect different currencies.")] - [NonNull] - public string? name { get; set; } - + [Description("A customer-facing description of the selling plan.\n\nIf your store supports multiple currencies, then don't include country-specific pricing content, such as \"Buy monthly, get 10$ CAD off\". This field won't be converted to reflect different currencies.")] + [NonNull] + public string? name { get; set; } + /// ///The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values. /// - [Description("The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] - [NonNull] - public IEnumerable? options { get; set; } - + [Description("The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] + [NonNull] + public IEnumerable? options { get; set; } + /// ///Relative position of the selling plan for display. A lower position will be displayed before a higher position. /// - [Description("Relative position of the selling plan for display. A lower position will be displayed before a higher position.")] - public int? position { get; set; } - + [Description("Relative position of the selling plan for display. A lower position will be displayed before a higher position.")] + public int? position { get; set; } + /// ///Selling plan pricing details. /// - [Description("Selling plan pricing details.")] - [NonNull] - public IEnumerable? pricingPolicies { get; set; } - + [Description("Selling plan pricing details.")] + [NonNull] + public IEnumerable? pricingPolicies { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + } + /// ///Specifies the date when delivery or fulfillment is completed by a merchant for a given time cycle. You can also ///define a cutoff for which customers are eligible to enter this cycle and the desired behavior for customers who @@ -110489,9 +110489,9 @@ public class SellingPlan : GraphQLObject, IHasMetafieldDefinitions, /// ///For more details, see [About Selling Plans](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans#anchors). /// - [Description("Specifies the date when delivery or fulfillment is completed by a merchant for a given time cycle. You can also\ndefine a cutoff for which customers are eligible to enter this cycle and the desired behavior for customers who\nstart their subscription inside the cutoff period.\n\nSome example scenarios where anchors can be useful to implement advanced delivery behavior:\n- A merchant starts fulfillment on a specific date every month.\n- A merchant wants to bill the 1st of every quarter.\n- A customer expects their delivery every Tuesday.\n\nFor more details, see [About Selling Plans](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans#anchors).")] - public class SellingPlanAnchor : GraphQLObject - { + [Description("Specifies the date when delivery or fulfillment is completed by a merchant for a given time cycle. You can also\ndefine a cutoff for which customers are eligible to enter this cycle and the desired behavior for customers who\nstart their subscription inside the cutoff period.\n\nSome example scenarios where anchors can be useful to implement advanced delivery behavior:\n- A merchant starts fulfillment on a specific date every month.\n- A merchant wants to bill the 1st of every quarter.\n- A customer expects their delivery every Tuesday.\n\nFor more details, see [About Selling Plans](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/selling-plans#anchors).")] + public class SellingPlanAnchor : GraphQLObject + { /// ///The cutoff day for the anchor. Specifies a buffer period before the anchor date for orders to be included in a ///delivery or fulfillment cycle. @@ -110503,9 +110503,9 @@ public class SellingPlanAnchor : GraphQLObject /// ///If `type` is YEARDAY, then the value must be `null`. /// - [Description("The cutoff day for the anchor. Specifies a buffer period before the anchor date for orders to be included in a\ndelivery or fulfillment cycle.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is MONTHDAY, then the value must be between 1-31.\n\nIf `type` is YEARDAY, then the value must be `null`.")] - public int? cutoffDay { get; set; } - + [Description("The cutoff day for the anchor. Specifies a buffer period before the anchor date for orders to be included in a\ndelivery or fulfillment cycle.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is MONTHDAY, then the value must be between 1-31.\n\nIf `type` is YEARDAY, then the value must be `null`.")] + public int? cutoffDay { get; set; } + /// ///The day of the anchor. /// @@ -110514,39 +110514,39 @@ public class SellingPlanAnchor : GraphQLObject /// ///If `type` isn't WEEKDAY, then the value must be between 1-31. /// - [Description("The day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` isn't WEEKDAY, then the value must be between 1-31.")] - [NonNull] - public int? day { get; set; } - + [Description("The day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` isn't WEEKDAY, then the value must be between 1-31.")] + [NonNull] + public int? day { get; set; } + /// ///The month of the anchor. If type is different than YEARDAY, then the value must ///be `null` or between 1-12. /// - [Description("The month of the anchor. If type is different than YEARDAY, then the value must\nbe `null` or between 1-12.")] - public int? month { get; set; } - + [Description("The month of the anchor. If type is different than YEARDAY, then the value must\nbe `null` or between 1-12.")] + public int? month { get; set; } + /// ///Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY. /// - [Description("Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.")] - [NonNull] - [EnumType(typeof(SellingPlanAnchorType))] - public string? type { get; set; } - } - + [Description("Represents the anchor type, it can be one one of WEEKDAY, MONTHDAY, YEARDAY.")] + [NonNull] + [EnumType(typeof(SellingPlanAnchorType))] + public string? type { get; set; } + } + /// ///The input fields required to create or update a selling plan anchor. /// - [Description("The input fields required to create or update a selling plan anchor.")] - public class SellingPlanAnchorInput : GraphQLObject - { + [Description("The input fields required to create or update a selling plan anchor.")] + public class SellingPlanAnchorInput : GraphQLObject + { /// ///Represents the anchor type, must be one of WEEKDAY, MONTHDAY, YEARDAY. /// - [Description("Represents the anchor type, must be one of WEEKDAY, MONTHDAY, YEARDAY.")] - [EnumType(typeof(SellingPlanAnchorType))] - public string? type { get; set; } - + [Description("Represents the anchor type, must be one of WEEKDAY, MONTHDAY, YEARDAY.")] + [EnumType(typeof(SellingPlanAnchorType))] + public string? type { get; set; } + /// ///The day of the anchor. /// @@ -110555,16 +110555,16 @@ public class SellingPlanAnchorInput : GraphQLObject /// ///If `type` isn't WEEKDAY, then the value must be between 1-31. /// - [Description("The day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` isn't WEEKDAY, then the value must be between 1-31.")] - public int? day { get; set; } - + [Description("The day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` isn't WEEKDAY, then the value must be between 1-31.")] + public int? day { get; set; } + /// ///The month of the anchor. If type is different than YEARDAY, then the value must ///be `null` or between 1-12. /// - [Description("The month of the anchor. If type is different than YEARDAY, then the value must\nbe `null` or between 1-12.")] - public int? month { get; set; } - + [Description("The month of the anchor. If type is different than YEARDAY, then the value must\nbe `null` or between 1-12.")] + public int? month { get; set; } + /// ///The cutoff day of the anchor. /// @@ -110577,550 +110577,550 @@ public class SellingPlanAnchorInput : GraphQLObject /// ///This field should only be set if the cutoff field for the delivery policy is `null`. /// - [Description("The cutoff day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is MONTHDAY, then the value must be between 1-31.\n\nIf `type` is YEARDAY, then the value must be `null`.\n\nThis field should only be set if the cutoff field for the delivery policy is `null`.")] - public int? cutoffDay { get; set; } - } - + [Description("The cutoff day of the anchor.\n\nIf `type` is WEEKDAY, then the value must be between 1-7. Shopify interprets\nthe days of the week according to ISO 8601, where 1 is Monday.\n\nIf `type` is MONTHDAY, then the value must be between 1-31.\n\nIf `type` is YEARDAY, then the value must be `null`.\n\nThis field should only be set if the cutoff field for the delivery policy is `null`.")] + public int? cutoffDay { get; set; } + } + /// ///Represents the anchor type. /// - [Description("Represents the anchor type.")] - public enum SellingPlanAnchorType - { + [Description("Represents the anchor type.")] + public enum SellingPlanAnchorType + { /// ///Which day of the week, between 1-7. /// - [Description("Which day of the week, between 1-7.")] - WEEKDAY, + [Description("Which day of the week, between 1-7.")] + WEEKDAY, /// ///Which day of the month, between 1-31. /// - [Description("Which day of the month, between 1-31.")] - MONTHDAY, + [Description("Which day of the month, between 1-31.")] + MONTHDAY, /// ///Which days of the month and year, month between 1-12, and day between 1-31. /// - [Description("Which days of the month and year, month between 1-12, and day between 1-31.")] - YEARDAY, - } - - public static class SellingPlanAnchorTypeStringValues - { - public const string WEEKDAY = @"WEEKDAY"; - public const string MONTHDAY = @"MONTHDAY"; - public const string YEARDAY = @"YEARDAY"; - } - + [Description("Which days of the month and year, month between 1-12, and day between 1-31.")] + YEARDAY, + } + + public static class SellingPlanAnchorTypeStringValues + { + public const string WEEKDAY = @"WEEKDAY"; + public const string MONTHDAY = @"MONTHDAY"; + public const string YEARDAY = @"YEARDAY"; + } + /// ///Represents the billing frequency associated to the selling plan (for example, bill every week, or bill every ///three months). The selling plan billing policy and associated records (selling plan groups, selling plans, pricing ///policies, and delivery policy) are deleted 48 hours after a merchant uninstalls their subscriptions app. ///We recommend backing up these records if you need to restore them later. /// - [Description("Represents the billing frequency associated to the selling plan (for example, bill every week, or bill every\nthree months). The selling plan billing policy and associated records (selling plan groups, selling plans, pricing\npolicies, and delivery policy) are deleted 48 hours after a merchant uninstalls their subscriptions app.\nWe recommend backing up these records if you need to restore them later.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SellingPlanFixedBillingPolicy), typeDiscriminator: "SellingPlanFixedBillingPolicy")] - [JsonDerivedType(typeof(SellingPlanRecurringBillingPolicy), typeDiscriminator: "SellingPlanRecurringBillingPolicy")] - public interface ISellingPlanBillingPolicy : IGraphQLObject - { - public SellingPlanFixedBillingPolicy? AsSellingPlanFixedBillingPolicy() => this as SellingPlanFixedBillingPolicy; - public SellingPlanRecurringBillingPolicy? AsSellingPlanRecurringBillingPolicy() => this as SellingPlanRecurringBillingPolicy; - } - + [Description("Represents the billing frequency associated to the selling plan (for example, bill every week, or bill every\nthree months). The selling plan billing policy and associated records (selling plan groups, selling plans, pricing\npolicies, and delivery policy) are deleted 48 hours after a merchant uninstalls their subscriptions app.\nWe recommend backing up these records if you need to restore them later.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SellingPlanFixedBillingPolicy), typeDiscriminator: "SellingPlanFixedBillingPolicy")] + [JsonDerivedType(typeof(SellingPlanRecurringBillingPolicy), typeDiscriminator: "SellingPlanRecurringBillingPolicy")] + public interface ISellingPlanBillingPolicy : IGraphQLObject + { + public SellingPlanFixedBillingPolicy? AsSellingPlanFixedBillingPolicy() => this as SellingPlanFixedBillingPolicy; + public SellingPlanRecurringBillingPolicy? AsSellingPlanRecurringBillingPolicy() => this as SellingPlanRecurringBillingPolicy; + } + /// ///The input fields that are required to create or update a billing policy type. /// - [Description("The input fields that are required to create or update a billing policy type.")] - public class SellingPlanBillingPolicyInput : GraphQLObject - { + [Description("The input fields that are required to create or update a billing policy type.")] + public class SellingPlanBillingPolicyInput : GraphQLObject + { /// ///The fixed billing policy details. /// - [Description("The fixed billing policy details.")] - public SellingPlanFixedBillingPolicyInput? @fixed { get; set; } - + [Description("The fixed billing policy details.")] + public SellingPlanFixedBillingPolicyInput? @fixed { get; set; } + /// ///The recurring billing policy details. /// - [Description("The recurring billing policy details.")] - public SellingPlanRecurringBillingPolicyInput? recurring { get; set; } - } - + [Description("The recurring billing policy details.")] + public SellingPlanRecurringBillingPolicyInput? recurring { get; set; } + } + /// ///The category of the selling plan. For the `OTHER` category, /// you must fill out our [request form](https://docs.google.com/forms/d/e/1FAIpQLSeU18Xmw0Q61V8wdH-dfGafFqIBfRchQKUO8WAF3yJTvgyyZQ/viewform), /// where we'll review your request for a new purchase option. /// - [Description("The category of the selling plan. For the `OTHER` category,\n you must fill out our [request form](https://docs.google.com/forms/d/e/1FAIpQLSeU18Xmw0Q61V8wdH-dfGafFqIBfRchQKUO8WAF3yJTvgyyZQ/viewform),\n where we'll review your request for a new purchase option.")] - public enum SellingPlanCategory - { + [Description("The category of the selling plan. For the `OTHER` category,\n you must fill out our [request form](https://docs.google.com/forms/d/e/1FAIpQLSeU18Xmw0Q61V8wdH-dfGafFqIBfRchQKUO8WAF3yJTvgyyZQ/viewform),\n where we'll review your request for a new purchase option.")] + public enum SellingPlanCategory + { /// ///The selling plan is for anything not in one of the other categories. /// - [Description("The selling plan is for anything not in one of the other categories.")] - OTHER, + [Description("The selling plan is for anything not in one of the other categories.")] + OTHER, /// ///The selling plan is for pre-orders. /// - [Description("The selling plan is for pre-orders.")] - PRE_ORDER, + [Description("The selling plan is for pre-orders.")] + PRE_ORDER, /// ///The selling plan is for subscriptions. /// - [Description("The selling plan is for subscriptions.")] - SUBSCRIPTION, + [Description("The selling plan is for subscriptions.")] + SUBSCRIPTION, /// ///The selling plan is for try before you buy purchases. /// - [Description("The selling plan is for try before you buy purchases.")] - TRY_BEFORE_YOU_BUY, - } - - public static class SellingPlanCategoryStringValues - { - public const string OTHER = @"OTHER"; - public const string PRE_ORDER = @"PRE_ORDER"; - public const string SUBSCRIPTION = @"SUBSCRIPTION"; - public const string TRY_BEFORE_YOU_BUY = @"TRY_BEFORE_YOU_BUY"; - } - + [Description("The selling plan is for try before you buy purchases.")] + TRY_BEFORE_YOU_BUY, + } + + public static class SellingPlanCategoryStringValues + { + public const string OTHER = @"OTHER"; + public const string PRE_ORDER = @"PRE_ORDER"; + public const string SUBSCRIPTION = @"SUBSCRIPTION"; + public const string TRY_BEFORE_YOU_BUY = @"TRY_BEFORE_YOU_BUY"; + } + /// ///The amount charged at checkout when the full amount isn't charged at checkout. /// - [Description("The amount charged at checkout when the full amount isn't charged at checkout.")] - public class SellingPlanCheckoutCharge : GraphQLObject - { + [Description("The amount charged at checkout when the full amount isn't charged at checkout.")] + public class SellingPlanCheckoutCharge : GraphQLObject + { /// ///The charge type for the checkout charge. /// - [Description("The charge type for the checkout charge.")] - [NonNull] - [EnumType(typeof(SellingPlanCheckoutChargeType))] - public string? type { get; set; } - + [Description("The charge type for the checkout charge.")] + [NonNull] + [EnumType(typeof(SellingPlanCheckoutChargeType))] + public string? type { get; set; } + /// ///The charge value for the checkout charge. /// - [Description("The charge value for the checkout charge.")] - [NonNull] - public ISellingPlanCheckoutChargeValue? value { get; set; } - } - + [Description("The charge value for the checkout charge.")] + [NonNull] + public ISellingPlanCheckoutChargeValue? value { get; set; } + } + /// ///The input fields that are required to create or update a checkout charge. /// - [Description("The input fields that are required to create or update a checkout charge.")] - public class SellingPlanCheckoutChargeInput : GraphQLObject - { + [Description("The input fields that are required to create or update a checkout charge.")] + public class SellingPlanCheckoutChargeInput : GraphQLObject + { /// ///The checkout charge type defined by the policy. /// - [Description("The checkout charge type defined by the policy.")] - [EnumType(typeof(SellingPlanCheckoutChargeType))] - public string? type { get; set; } - + [Description("The checkout charge type defined by the policy.")] + [EnumType(typeof(SellingPlanCheckoutChargeType))] + public string? type { get; set; } + /// ///The checkout charge value defined by the policy. /// - [Description("The checkout charge value defined by the policy.")] - public SellingPlanCheckoutChargeValueInput? value { get; set; } - } - + [Description("The checkout charge value defined by the policy.")] + public SellingPlanCheckoutChargeValueInput? value { get; set; } + } + /// ///The percentage value of the price used for checkout charge. /// - [Description("The percentage value of the price used for checkout charge.")] - public class SellingPlanCheckoutChargePercentageValue : GraphQLObject, ISellingPlanCheckoutChargeValue - { + [Description("The percentage value of the price used for checkout charge.")] + public class SellingPlanCheckoutChargePercentageValue : GraphQLObject, ISellingPlanCheckoutChargeValue + { /// ///The percentage value of the price used for checkout charge. /// - [Description("The percentage value of the price used for checkout charge.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage value of the price used for checkout charge.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///The checkout charge when the full amount isn't charged at checkout. /// - [Description("The checkout charge when the full amount isn't charged at checkout.")] - public enum SellingPlanCheckoutChargeType - { + [Description("The checkout charge when the full amount isn't charged at checkout.")] + public enum SellingPlanCheckoutChargeType + { /// ///The checkout charge is a percentage of the product or variant price. /// - [Description("The checkout charge is a percentage of the product or variant price.")] - PERCENTAGE, + [Description("The checkout charge is a percentage of the product or variant price.")] + PERCENTAGE, /// ///The checkout charge is a fixed price amount. /// - [Description("The checkout charge is a fixed price amount.")] - PRICE, - } - - public static class SellingPlanCheckoutChargeTypeStringValues - { - public const string PERCENTAGE = @"PERCENTAGE"; - public const string PRICE = @"PRICE"; - } - + [Description("The checkout charge is a fixed price amount.")] + PRICE, + } + + public static class SellingPlanCheckoutChargeTypeStringValues + { + public const string PERCENTAGE = @"PERCENTAGE"; + public const string PRICE = @"PRICE"; + } + /// ///The portion of the price to be charged at checkout. /// - [Description("The portion of the price to be charged at checkout.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] - [JsonDerivedType(typeof(SellingPlanCheckoutChargePercentageValue), typeDiscriminator: "SellingPlanCheckoutChargePercentageValue")] - public interface ISellingPlanCheckoutChargeValue : IGraphQLObject - { - public MoneyV2? AsMoneyV2() => this as MoneyV2; - public SellingPlanCheckoutChargePercentageValue? AsSellingPlanCheckoutChargePercentageValue() => this as SellingPlanCheckoutChargePercentageValue; - } - + [Description("The portion of the price to be charged at checkout.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] + [JsonDerivedType(typeof(SellingPlanCheckoutChargePercentageValue), typeDiscriminator: "SellingPlanCheckoutChargePercentageValue")] + public interface ISellingPlanCheckoutChargeValue : IGraphQLObject + { + public MoneyV2? AsMoneyV2() => this as MoneyV2; + public SellingPlanCheckoutChargePercentageValue? AsSellingPlanCheckoutChargePercentageValue() => this as SellingPlanCheckoutChargePercentageValue; + } + /// ///The input fields required to create or update an checkout charge value. /// - [Description("The input fields required to create or update an checkout charge value.")] - public class SellingPlanCheckoutChargeValueInput : GraphQLObject - { + [Description("The input fields required to create or update an checkout charge value.")] + public class SellingPlanCheckoutChargeValueInput : GraphQLObject + { /// ///The percentage value. /// - [Description("The percentage value.")] - public decimal? percentage { get; set; } - + [Description("The percentage value.")] + public decimal? percentage { get; set; } + /// ///The fixed value for an checkout charge. /// - [Description("The fixed value for an checkout charge.")] - public decimal? fixedValue { get; set; } - } - + [Description("The fixed value for an checkout charge.")] + public decimal? fixedValue { get; set; } + } + /// ///An auto-generated type for paginating through multiple SellingPlans. /// - [Description("An auto-generated type for paginating through multiple SellingPlans.")] - public class SellingPlanConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SellingPlans.")] + public class SellingPlanConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SellingPlanEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SellingPlanEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SellingPlanEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Represents the delivery frequency associated to the selling plan (for example, deliver every month, or deliver ///every other week). The selling plan delivery policy and associated records (selling plan groups, selling plans, ///pricing policies, and billing policy) are deleted 48 hours after a merchant uninstalls their subscriptions app. ///We recommend backing up these records if you need to restore them later. /// - [Description("Represents the delivery frequency associated to the selling plan (for example, deliver every month, or deliver\nevery other week). The selling plan delivery policy and associated records (selling plan groups, selling plans,\npricing policies, and billing policy) are deleted 48 hours after a merchant uninstalls their subscriptions app.\nWe recommend backing up these records if you need to restore them later.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SellingPlanFixedDeliveryPolicy), typeDiscriminator: "SellingPlanFixedDeliveryPolicy")] - [JsonDerivedType(typeof(SellingPlanRecurringDeliveryPolicy), typeDiscriminator: "SellingPlanRecurringDeliveryPolicy")] - public interface ISellingPlanDeliveryPolicy : IGraphQLObject - { - public SellingPlanFixedDeliveryPolicy? AsSellingPlanFixedDeliveryPolicy() => this as SellingPlanFixedDeliveryPolicy; - public SellingPlanRecurringDeliveryPolicy? AsSellingPlanRecurringDeliveryPolicy() => this as SellingPlanRecurringDeliveryPolicy; + [Description("Represents the delivery frequency associated to the selling plan (for example, deliver every month, or deliver\nevery other week). The selling plan delivery policy and associated records (selling plan groups, selling plans,\npricing policies, and billing policy) are deleted 48 hours after a merchant uninstalls their subscriptions app.\nWe recommend backing up these records if you need to restore them later.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SellingPlanFixedDeliveryPolicy), typeDiscriminator: "SellingPlanFixedDeliveryPolicy")] + [JsonDerivedType(typeof(SellingPlanRecurringDeliveryPolicy), typeDiscriminator: "SellingPlanRecurringDeliveryPolicy")] + public interface ISellingPlanDeliveryPolicy : IGraphQLObject + { + public SellingPlanFixedDeliveryPolicy? AsSellingPlanFixedDeliveryPolicy() => this as SellingPlanFixedDeliveryPolicy; + public SellingPlanRecurringDeliveryPolicy? AsSellingPlanRecurringDeliveryPolicy() => this as SellingPlanRecurringDeliveryPolicy; /// ///The specific anchor dates upon which the delivery interval calculations should be made. /// - [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] - [NonNull] - public IEnumerable? anchors { get; set; } - + [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] + [NonNull] + public IEnumerable? anchors { get; set; } + /// ///A buffer period for orders to be included in next fulfillment anchor. /// - [Description("A buffer period for orders to be included in next fulfillment anchor.")] - public int? cutoff { get; set; } - + [Description("A buffer period for orders to be included in next fulfillment anchor.")] + public int? cutoff { get; set; } + /// ///Whether the delivery policy is merchant or buyer-centric. ///Buyer-centric delivery policies state the time when the buyer will receive the goods. ///Merchant-centric delivery policies state the time when the fulfillment should be started. ///Currently, only merchant-centric delivery policies are supported. /// - [Description("Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.")] - [NonNull] - [EnumType(typeof(SellingPlanFixedDeliveryPolicyIntent))] - public string? intent { get; set; } - + [Description("Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.")] + [NonNull] + [EnumType(typeof(SellingPlanFixedDeliveryPolicyIntent))] + public string? intent { get; set; } + /// ///The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`. /// - [Description("The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.")] - [NonNull] - [EnumType(typeof(SellingPlanFixedDeliveryPolicyPreAnchorBehavior))] - public string? preAnchorBehavior { get; set; } - } - + [Description("The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.")] + [NonNull] + [EnumType(typeof(SellingPlanFixedDeliveryPolicyPreAnchorBehavior))] + public string? preAnchorBehavior { get; set; } + } + /// ///The input fields that are required to create or update a delivery policy. /// - [Description("The input fields that are required to create or update a delivery policy.")] - public class SellingPlanDeliveryPolicyInput : GraphQLObject - { + [Description("The input fields that are required to create or update a delivery policy.")] + public class SellingPlanDeliveryPolicyInput : GraphQLObject + { /// ///The fixed delivery policy details. /// - [Description("The fixed delivery policy details.")] - public SellingPlanFixedDeliveryPolicyInput? @fixed { get; set; } - + [Description("The fixed delivery policy details.")] + public SellingPlanFixedDeliveryPolicyInput? @fixed { get; set; } + /// ///The recurring delivery policy details. /// - [Description("The recurring delivery policy details.")] - public SellingPlanRecurringDeliveryPolicyInput? recurring { get; set; } - } - + [Description("The recurring delivery policy details.")] + public SellingPlanRecurringDeliveryPolicyInput? recurring { get; set; } + } + /// ///An auto-generated type which holds one SellingPlan and a cursor during pagination. /// - [Description("An auto-generated type which holds one SellingPlan and a cursor during pagination.")] - public class SellingPlanEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SellingPlan and a cursor during pagination.")] + public class SellingPlanEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SellingPlanEdge. /// - [Description("The item at the end of SellingPlanEdge.")] - [NonNull] - public SellingPlan? node { get; set; } - } - + [Description("The item at the end of SellingPlanEdge.")] + [NonNull] + public SellingPlan? node { get; set; } + } + /// ///The fixed selling plan billing policy defines how much of the price of the product will be billed to customer ///at checkout. If there is an outstanding balance, it determines when it will be paid. /// - [Description("The fixed selling plan billing policy defines how much of the price of the product will be billed to customer\nat checkout. If there is an outstanding balance, it determines when it will be paid.")] - public class SellingPlanFixedBillingPolicy : GraphQLObject, ISellingPlanBillingPolicy - { + [Description("The fixed selling plan billing policy defines how much of the price of the product will be billed to customer\nat checkout. If there is an outstanding balance, it determines when it will be paid.")] + public class SellingPlanFixedBillingPolicy : GraphQLObject, ISellingPlanBillingPolicy + { /// ///The checkout charge when the full amount isn't charged at checkout. /// - [Description("The checkout charge when the full amount isn't charged at checkout.")] - [NonNull] - public SellingPlanCheckoutCharge? checkoutCharge { get; set; } - + [Description("The checkout charge when the full amount isn't charged at checkout.")] + [NonNull] + public SellingPlanCheckoutCharge? checkoutCharge { get; set; } + /// ///The exact time when to capture the full payment. /// - [Description("The exact time when to capture the full payment.")] - public DateTime? remainingBalanceChargeExactTime { get; set; } - + [Description("The exact time when to capture the full payment.")] + public DateTime? remainingBalanceChargeExactTime { get; set; } + /// ///The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration. /// - [Description("The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.")] - public string? remainingBalanceChargeTimeAfterCheckout { get; set; } - + [Description("The period after remaining_balance_charge_trigger, before capturing the full payment. Expressed as an ISO8601 duration.")] + public string? remainingBalanceChargeTimeAfterCheckout { get; set; } + /// ///When to capture payment for amount due. /// - [Description("When to capture payment for amount due.")] - [NonNull] - [EnumType(typeof(SellingPlanRemainingBalanceChargeTrigger))] - public string? remainingBalanceChargeTrigger { get; set; } - } - + [Description("When to capture payment for amount due.")] + [NonNull] + [EnumType(typeof(SellingPlanRemainingBalanceChargeTrigger))] + public string? remainingBalanceChargeTrigger { get; set; } + } + /// ///The input fields required to create or update a fixed billing policy. /// - [Description("The input fields required to create or update a fixed billing policy.")] - public class SellingPlanFixedBillingPolicyInput : GraphQLObject - { + [Description("The input fields required to create or update a fixed billing policy.")] + public class SellingPlanFixedBillingPolicyInput : GraphQLObject + { /// ///When to capture the payment for the amount due. /// - [Description("When to capture the payment for the amount due.")] - [EnumType(typeof(SellingPlanRemainingBalanceChargeTrigger))] - public string? remainingBalanceChargeTrigger { get; set; } - + [Description("When to capture the payment for the amount due.")] + [EnumType(typeof(SellingPlanRemainingBalanceChargeTrigger))] + public string? remainingBalanceChargeTrigger { get; set; } + /// ///The date and time to capture the full payment. /// - [Description("The date and time to capture the full payment.")] - public DateTime? remainingBalanceChargeExactTime { get; set; } - + [Description("The date and time to capture the full payment.")] + public DateTime? remainingBalanceChargeExactTime { get; set; } + /// ///The period after capturing the payment for the amount due (`remainingBalanceChargeTrigger`), and before capturing the full payment. Expressed as an ISO8601 duration. /// - [Description("The period after capturing the payment for the amount due (`remainingBalanceChargeTrigger`), and before capturing the full payment. Expressed as an ISO8601 duration.")] - public string? remainingBalanceChargeTimeAfterCheckout { get; set; } - + [Description("The period after capturing the payment for the amount due (`remainingBalanceChargeTrigger`), and before capturing the full payment. Expressed as an ISO8601 duration.")] + public string? remainingBalanceChargeTimeAfterCheckout { get; set; } + /// ///The checkout charge policy for the selling plan. /// - [Description("The checkout charge policy for the selling plan.")] - public SellingPlanCheckoutChargeInput? checkoutCharge { get; set; } - } - + [Description("The checkout charge policy for the selling plan.")] + public SellingPlanCheckoutChargeInput? checkoutCharge { get; set; } + } + /// ///Represents a fixed selling plan delivery policy. /// - [Description("Represents a fixed selling plan delivery policy.")] - public class SellingPlanFixedDeliveryPolicy : GraphQLObject, ISellingPlanDeliveryPolicy - { + [Description("Represents a fixed selling plan delivery policy.")] + public class SellingPlanFixedDeliveryPolicy : GraphQLObject, ISellingPlanDeliveryPolicy + { /// ///The specific anchor dates upon which the delivery interval calculations should be made. /// - [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] - [NonNull] - public IEnumerable? anchors { get; set; } - + [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] + [NonNull] + public IEnumerable? anchors { get; set; } + /// ///A buffer period for orders to be included in next fulfillment anchor. /// - [Description("A buffer period for orders to be included in next fulfillment anchor.")] - public int? cutoff { get; set; } - + [Description("A buffer period for orders to be included in next fulfillment anchor.")] + public int? cutoff { get; set; } + /// ///The date and time when the fulfillment should trigger. /// - [Description("The date and time when the fulfillment should trigger.")] - public DateTime? fulfillmentExactTime { get; set; } - + [Description("The date and time when the fulfillment should trigger.")] + public DateTime? fulfillmentExactTime { get; set; } + /// ///What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN. /// - [Description("What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.")] - [NonNull] - [EnumType(typeof(SellingPlanFulfillmentTrigger))] - public string? fulfillmentTrigger { get; set; } - + [Description("What triggers the fulfillment. The value must be one of ANCHOR, ASAP, EXACT_TIME, or UNKNOWN.")] + [NonNull] + [EnumType(typeof(SellingPlanFulfillmentTrigger))] + public string? fulfillmentTrigger { get; set; } + /// ///Whether the delivery policy is merchant or buyer-centric. ///Buyer-centric delivery policies state the time when the buyer will receive the goods. ///Merchant-centric delivery policies state the time when the fulfillment should be started. ///Currently, only merchant-centric delivery policies are supported. /// - [Description("Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.")] - [NonNull] - [EnumType(typeof(SellingPlanFixedDeliveryPolicyIntent))] - public string? intent { get; set; } - + [Description("Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.")] + [NonNull] + [EnumType(typeof(SellingPlanFixedDeliveryPolicyIntent))] + public string? intent { get; set; } + /// ///The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`. /// - [Description("The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.")] - [NonNull] - [EnumType(typeof(SellingPlanFixedDeliveryPolicyPreAnchorBehavior))] - public string? preAnchorBehavior { get; set; } - } - + [Description("The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.")] + [NonNull] + [EnumType(typeof(SellingPlanFixedDeliveryPolicyPreAnchorBehavior))] + public string? preAnchorBehavior { get; set; } + } + /// ///The input fields required to create or update a fixed delivery policy. /// - [Description("The input fields required to create or update a fixed delivery policy.")] - public class SellingPlanFixedDeliveryPolicyInput : GraphQLObject - { + [Description("The input fields required to create or update a fixed delivery policy.")] + public class SellingPlanFixedDeliveryPolicyInput : GraphQLObject + { /// ///The specific anchor dates upon which the delivery interval calculations should be made. /// - [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] - public IEnumerable? anchors { get; set; } - + [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] + public IEnumerable? anchors { get; set; } + /// ///What triggers the fulfillment. /// - [Description("What triggers the fulfillment.")] - [EnumType(typeof(SellingPlanFulfillmentTrigger))] - public string? fulfillmentTrigger { get; set; } - + [Description("What triggers the fulfillment.")] + [EnumType(typeof(SellingPlanFulfillmentTrigger))] + public string? fulfillmentTrigger { get; set; } + /// ///The date and time when the fulfillment should trigger. /// - [Description("The date and time when the fulfillment should trigger.")] - public DateTime? fulfillmentExactTime { get; set; } - + [Description("The date and time when the fulfillment should trigger.")] + public DateTime? fulfillmentExactTime { get; set; } + /// ///A buffer period for orders to be included in a cycle. /// - [Description("A buffer period for orders to be included in a cycle.")] - public int? cutoff { get; set; } - + [Description("A buffer period for orders to be included in a cycle.")] + public int? cutoff { get; set; } + /// ///Whether the delivery policy is merchant or buyer-centric. /// - [Description("Whether the delivery policy is merchant or buyer-centric.")] - [EnumType(typeof(SellingPlanFixedDeliveryPolicyIntent))] - public string? intent { get; set; } - + [Description("Whether the delivery policy is merchant or buyer-centric.")] + [EnumType(typeof(SellingPlanFixedDeliveryPolicyIntent))] + public string? intent { get; set; } + /// ///The pre-anchor behavior. /// - [Description("The pre-anchor behavior.")] - [EnumType(typeof(SellingPlanFixedDeliveryPolicyPreAnchorBehavior))] - public string? preAnchorBehavior { get; set; } - } - + [Description("The pre-anchor behavior.")] + [EnumType(typeof(SellingPlanFixedDeliveryPolicyPreAnchorBehavior))] + public string? preAnchorBehavior { get; set; } + } + /// ///Possible intentions of a Delivery Policy. /// - [Description("Possible intentions of a Delivery Policy.")] - public enum SellingPlanFixedDeliveryPolicyIntent - { + [Description("Possible intentions of a Delivery Policy.")] + public enum SellingPlanFixedDeliveryPolicyIntent + { /// ///A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment. /// - [Description("A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment.")] - FULFILLMENT_BEGIN, - } - - public static class SellingPlanFixedDeliveryPolicyIntentStringValues - { - public const string FULFILLMENT_BEGIN = @"FULFILLMENT_BEGIN"; - } - + [Description("A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment.")] + FULFILLMENT_BEGIN, + } + + public static class SellingPlanFixedDeliveryPolicyIntentStringValues + { + public const string FULFILLMENT_BEGIN = @"FULFILLMENT_BEGIN"; + } + /// ///The fulfillment or delivery behavior of the first fulfillment when the orderis placed before the anchor. /// - [Description("The fulfillment or delivery behavior of the first fulfillment when the orderis placed before the anchor.")] - public enum SellingPlanFixedDeliveryPolicyPreAnchorBehavior - { + [Description("The fulfillment or delivery behavior of the first fulfillment when the orderis placed before the anchor.")] + public enum SellingPlanFixedDeliveryPolicyPreAnchorBehavior + { /// ///Orders placed can be fulfilled / delivered immediately. Orders placed inside a cutoff can be fulfilled / delivered at the next anchor. /// - [Description("Orders placed can be fulfilled / delivered immediately. Orders placed inside a cutoff can be fulfilled / delivered at the next anchor.")] - ASAP, + [Description("Orders placed can be fulfilled / delivered immediately. Orders placed inside a cutoff can be fulfilled / delivered at the next anchor.")] + ASAP, /// ///Orders placed can be fulfilled / delivered at the next anchor date. ///Orders placed inside a cutoff will skip the next anchor and can be fulfilled / ///delivered at the following anchor. /// - [Description("Orders placed can be fulfilled / delivered at the next anchor date.\nOrders placed inside a cutoff will skip the next anchor and can be fulfilled /\ndelivered at the following anchor.")] - NEXT, - } - - public static class SellingPlanFixedDeliveryPolicyPreAnchorBehaviorStringValues - { - public const string ASAP = @"ASAP"; - public const string NEXT = @"NEXT"; - } - + [Description("Orders placed can be fulfilled / delivered at the next anchor date.\nOrders placed inside a cutoff will skip the next anchor and can be fulfilled /\ndelivered at the following anchor.")] + NEXT, + } + + public static class SellingPlanFixedDeliveryPolicyPreAnchorBehaviorStringValues + { + public const string ASAP = @"ASAP"; + public const string NEXT = @"NEXT"; + } + /// ///Represents the pricing policy of a subscription or deferred purchase option selling plan. ///The selling plan fixed pricing policy works with the billing and delivery policy @@ -111128,1091 +111128,1091 @@ public static class SellingPlanFixedDeliveryPolicyPreAnchorBehaviorStringValues ///For example, a subscription with a $10 discount and two deliveries will have a $5 ///discount applied to each delivery. /// - [Description("Represents the pricing policy of a subscription or deferred purchase option selling plan.\nThe selling plan fixed pricing policy works with the billing and delivery policy\nto determine the final price. Discounts are divided among fulfillments.\nFor example, a subscription with a $10 discount and two deliveries will have a $5\ndiscount applied to each delivery.")] - public class SellingPlanFixedPricingPolicy : GraphQLObject, ISellingPlanPricingPolicyBase, ISellingPlanPricingPolicy - { + [Description("Represents the pricing policy of a subscription or deferred purchase option selling plan.\nThe selling plan fixed pricing policy works with the billing and delivery policy\nto determine the final price. Discounts are divided among fulfillments.\nFor example, a subscription with a $10 discount and two deliveries will have a $5\ndiscount applied to each delivery.")] + public class SellingPlanFixedPricingPolicy : GraphQLObject, ISellingPlanPricingPolicyBase, ISellingPlanPricingPolicy + { /// ///The price adjustment type. /// - [Description("The price adjustment type.")] - [NonNull] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; set; } - + [Description("The price adjustment type.")] + [NonNull] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; set; } + /// ///The price adjustment value. /// - [Description("The price adjustment value.")] - [NonNull] - public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } - + [Description("The price adjustment value.")] + [NonNull] + public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } + /// ///The date and time when the fixed selling plan pricing policy was created. /// - [Description("The date and time when the fixed selling plan pricing policy was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - } - + [Description("The date and time when the fixed selling plan pricing policy was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + } + /// ///The input fields required to create or update a fixed selling plan pricing policy. /// - [Description("The input fields required to create or update a fixed selling plan pricing policy.")] - public class SellingPlanFixedPricingPolicyInput : GraphQLObject - { + [Description("The input fields required to create or update a fixed selling plan pricing policy.")] + public class SellingPlanFixedPricingPolicyInput : GraphQLObject + { /// ///ID of the pricing policy. /// - [Description("ID of the pricing policy.")] - public string? id { get; set; } - + [Description("ID of the pricing policy.")] + public string? id { get; set; } + /// ///Price adjustment type defined by the policy. /// - [Description("Price adjustment type defined by the policy.")] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; set; } - + [Description("Price adjustment type defined by the policy.")] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; set; } + /// ///Price adjustment value defined by the policy. /// - [Description("Price adjustment value defined by the policy.")] - public SellingPlanPricingPolicyValueInput? adjustmentValue { get; set; } - } - + [Description("Price adjustment value defined by the policy.")] + public SellingPlanPricingPolicyValueInput? adjustmentValue { get; set; } + } + /// ///Describes what triggers fulfillment. /// - [Description("Describes what triggers fulfillment.")] - public enum SellingPlanFulfillmentTrigger - { + [Description("Describes what triggers fulfillment.")] + public enum SellingPlanFulfillmentTrigger + { /// ///Use the anchor values to calculate fulfillment date. /// - [Description("Use the anchor values to calculate fulfillment date.")] - ANCHOR, + [Description("Use the anchor values to calculate fulfillment date.")] + ANCHOR, /// ///As soon as possible. /// - [Description("As soon as possible.")] - ASAP, + [Description("As soon as possible.")] + ASAP, /// ///At an exact time defined by the fulfillment_exact_time field. /// - [Description("At an exact time defined by the fulfillment_exact_time field.")] - EXACT_TIME, + [Description("At an exact time defined by the fulfillment_exact_time field.")] + EXACT_TIME, /// ///Unknown. Usually to be determined in the future. /// - [Description("Unknown. Usually to be determined in the future.")] - UNKNOWN, - } - - public static class SellingPlanFulfillmentTriggerStringValues - { - public const string ANCHOR = @"ANCHOR"; - public const string ASAP = @"ASAP"; - public const string EXACT_TIME = @"EXACT_TIME"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("Unknown. Usually to be determined in the future.")] + UNKNOWN, + } + + public static class SellingPlanFulfillmentTriggerStringValues + { + public const string ANCHOR = @"ANCHOR"; + public const string ASAP = @"ASAP"; + public const string EXACT_TIME = @"EXACT_TIME"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///Represents a selling method (for example, "Subscribe and save" or "Pre-paid"). Selling plan groups ///and associated records (selling plans and policies) are deleted 48 hours after a merchant ///uninstalls their subscriptions app. We recommend backing up these records if you need to restore them later. /// - [Description("Represents a selling method (for example, \"Subscribe and save\" or \"Pre-paid\"). Selling plan groups\nand associated records (selling plans and policies) are deleted 48 hours after a merchant\nuninstalls their subscriptions app. We recommend backing up these records if you need to restore them later.")] - public class SellingPlanGroup : GraphQLObject, IHasPublishedTranslations, INode - { + [Description("Represents a selling method (for example, \"Subscribe and save\" or \"Pre-paid\"). Selling plan groups\nand associated records (selling plans and policies) are deleted 48 hours after a merchant\nuninstalls their subscriptions app. We recommend backing up these records if you need to restore them later.")] + public class SellingPlanGroup : GraphQLObject, IHasPublishedTranslations, INode + { /// ///The ID for app, exposed in Liquid and product JSON. /// - [Description("The ID for app, exposed in Liquid and product JSON.")] - public string? appId { get; set; } - + [Description("The ID for app, exposed in Liquid and product JSON.")] + public string? appId { get; set; } + /// ///Whether the given product is directly associated to the selling plan group. /// - [Description("Whether the given product is directly associated to the selling plan group.")] - [NonNull] - public bool? appliesToProduct { get; set; } - + [Description("Whether the given product is directly associated to the selling plan group.")] + [NonNull] + public bool? appliesToProduct { get; set; } + /// ///Whether the given product variant is directly associated to the selling plan group. /// - [Description("Whether the given product variant is directly associated to the selling plan group.")] - [NonNull] - public bool? appliesToProductVariant { get; set; } - + [Description("Whether the given product variant is directly associated to the selling plan group.")] + [NonNull] + public bool? appliesToProductVariant { get; set; } + /// ///Whether any of the product variants of the given product are associated to the selling plan group. /// - [Description("Whether any of the product variants of the given product are associated to the selling plan group.")] - [NonNull] - public bool? appliesToProductVariants { get; set; } - + [Description("Whether any of the product variants of the given product are associated to the selling plan group.")] + [NonNull] + public bool? appliesToProductVariants { get; set; } + /// ///The date and time when the selling plan group was created. /// - [Description("The date and time when the selling plan group was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the selling plan group was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The merchant-facing description of the selling plan group. /// - [Description("The merchant-facing description of the selling plan group.")] - public string? description { get; set; } - + [Description("The merchant-facing description of the selling plan group.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The merchant-facing label of the selling plan group. /// - [Description("The merchant-facing label of the selling plan group.")] - [NonNull] - public string? merchantCode { get; set; } - + [Description("The merchant-facing label of the selling plan group.")] + [NonNull] + public string? merchantCode { get; set; } + /// ///The buyer-facing label of the selling plan group. /// - [Description("The buyer-facing label of the selling plan group.")] - [NonNull] - public string? name { get; set; } - + [Description("The buyer-facing label of the selling plan group.")] + [NonNull] + public string? name { get; set; } + /// ///The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values. /// - [Description("The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] - [NonNull] - public IEnumerable? options { get; set; } - + [Description("The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] + [NonNull] + public IEnumerable? options { get; set; } + /// ///The relative position of the selling plan group for display. /// - [Description("The relative position of the selling plan group for display.")] - public int? position { get; set; } - + [Description("The relative position of the selling plan group for display.")] + public int? position { get; set; } + /// ///Product variants associated to the selling plan group. /// - [Description("Product variants associated to the selling plan group.")] - [NonNull] - public ProductVariantConnection? productVariants { get; set; } - + [Description("Product variants associated to the selling plan group.")] + [NonNull] + public ProductVariantConnection? productVariants { get; set; } + /// ///A count of product variants associated to the selling plan group. /// - [Description("A count of product variants associated to the selling plan group.")] - public Count? productVariantsCount { get; set; } - + [Description("A count of product variants associated to the selling plan group.")] + public Count? productVariantsCount { get; set; } + /// ///Products associated to the selling plan group. /// - [Description("Products associated to the selling plan group.")] - [NonNull] - public ProductConnection? products { get; set; } - + [Description("Products associated to the selling plan group.")] + [NonNull] + public ProductConnection? products { get; set; } + /// ///A count of products associated to the selling plan group. /// - [Description("A count of products associated to the selling plan group.")] - public Count? productsCount { get; set; } - + [Description("A count of products associated to the selling plan group.")] + public Count? productsCount { get; set; } + /// ///Selling plans associated to the selling plan group. /// - [Description("Selling plans associated to the selling plan group.")] - [NonNull] - public SellingPlanConnection? sellingPlans { get; set; } - + [Description("Selling plans associated to the selling plan group.")] + [NonNull] + public SellingPlanConnection? sellingPlans { get; set; } + /// ///A summary of the policies associated to the selling plan group. /// - [Description("A summary of the policies associated to the selling plan group.")] - public string? summary { get; set; } - + [Description("A summary of the policies associated to the selling plan group.")] + public string? summary { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + } + /// ///Return type for `sellingPlanGroupAddProductVariants` mutation. /// - [Description("Return type for `sellingPlanGroupAddProductVariants` mutation.")] - public class SellingPlanGroupAddProductVariantsPayload : GraphQLObject - { + [Description("Return type for `sellingPlanGroupAddProductVariants` mutation.")] + public class SellingPlanGroupAddProductVariantsPayload : GraphQLObject + { /// ///The updated selling plan group. /// - [Description("The updated selling plan group.")] - public SellingPlanGroup? sellingPlanGroup { get; set; } - + [Description("The updated selling plan group.")] + public SellingPlanGroup? sellingPlanGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `sellingPlanGroupAddProducts` mutation. /// - [Description("Return type for `sellingPlanGroupAddProducts` mutation.")] - public class SellingPlanGroupAddProductsPayload : GraphQLObject - { + [Description("Return type for `sellingPlanGroupAddProducts` mutation.")] + public class SellingPlanGroupAddProductsPayload : GraphQLObject + { /// ///The updated selling plan group. /// - [Description("The updated selling plan group.")] - public SellingPlanGroup? sellingPlanGroup { get; set; } - + [Description("The updated selling plan group.")] + public SellingPlanGroup? sellingPlanGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple SellingPlanGroups. /// - [Description("An auto-generated type for paginating through multiple SellingPlanGroups.")] - public class SellingPlanGroupConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SellingPlanGroups.")] + public class SellingPlanGroupConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SellingPlanGroupEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SellingPlanGroupEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SellingPlanGroupEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `sellingPlanGroupCreate` mutation. /// - [Description("Return type for `sellingPlanGroupCreate` mutation.")] - public class SellingPlanGroupCreatePayload : GraphQLObject - { + [Description("Return type for `sellingPlanGroupCreate` mutation.")] + public class SellingPlanGroupCreatePayload : GraphQLObject + { /// ///The created selling plan group object. /// - [Description("The created selling plan group object.")] - public SellingPlanGroup? sellingPlanGroup { get; set; } - + [Description("The created selling plan group object.")] + public SellingPlanGroup? sellingPlanGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `sellingPlanGroupDelete` mutation. /// - [Description("Return type for `sellingPlanGroupDelete` mutation.")] - public class SellingPlanGroupDeletePayload : GraphQLObject - { + [Description("Return type for `sellingPlanGroupDelete` mutation.")] + public class SellingPlanGroupDeletePayload : GraphQLObject + { /// ///The ID of the deleted selling plan group object. /// - [Description("The ID of the deleted selling plan group object.")] - public string? deletedSellingPlanGroupId { get; set; } - + [Description("The ID of the deleted selling plan group object.")] + public string? deletedSellingPlanGroupId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one SellingPlanGroup and a cursor during pagination. /// - [Description("An auto-generated type which holds one SellingPlanGroup and a cursor during pagination.")] - public class SellingPlanGroupEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SellingPlanGroup and a cursor during pagination.")] + public class SellingPlanGroupEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SellingPlanGroupEdge. /// - [Description("The item at the end of SellingPlanGroupEdge.")] - [NonNull] - public SellingPlanGroup? node { get; set; } - } - + [Description("The item at the end of SellingPlanGroupEdge.")] + [NonNull] + public SellingPlanGroup? node { get; set; } + } + /// ///The input fields required to create or update a selling plan group. /// - [Description("The input fields required to create or update a selling plan group.")] - public class SellingPlanGroupInput : GraphQLObject - { + [Description("The input fields required to create or update a selling plan group.")] + public class SellingPlanGroupInput : GraphQLObject + { /// ///Buyer facing label of the selling plan group. /// - [Description("Buyer facing label of the selling plan group.")] - public string? name { get; set; } - + [Description("Buyer facing label of the selling plan group.")] + public string? name { get; set; } + /// ///ID for app, exposed in Liquid and product JSON. /// - [Description("ID for app, exposed in Liquid and product JSON.")] - public string? appId { get; set; } - + [Description("ID for app, exposed in Liquid and product JSON.")] + public string? appId { get; set; } + /// ///Merchant facing label of the selling plan group. /// - [Description("Merchant facing label of the selling plan group.")] - public string? merchantCode { get; set; } - + [Description("Merchant facing label of the selling plan group.")] + public string? merchantCode { get; set; } + /// ///Merchant facing description of the selling plan group. /// - [Description("Merchant facing description of the selling plan group.")] - public string? description { get; set; } - + [Description("Merchant facing description of the selling plan group.")] + public string? description { get; set; } + /// ///List of selling plans to create. /// - [Description("List of selling plans to create.")] - public IEnumerable? sellingPlansToCreate { get; set; } - + [Description("List of selling plans to create.")] + public IEnumerable? sellingPlansToCreate { get; set; } + /// ///List of selling plans to update. /// - [Description("List of selling plans to update.")] - public IEnumerable? sellingPlansToUpdate { get; set; } - + [Description("List of selling plans to update.")] + public IEnumerable? sellingPlansToUpdate { get; set; } + /// ///List of selling plans ids to delete. /// - [Description("List of selling plans ids to delete.")] - public IEnumerable? sellingPlansToDelete { get; set; } - + [Description("List of selling plans ids to delete.")] + public IEnumerable? sellingPlansToDelete { get; set; } + /// ///The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values. /// - [Description("The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] - public IEnumerable? options { get; set; } - + [Description("The values of all options available on the selling plan group. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] + public IEnumerable? options { get; set; } + /// ///Relative value for display purposes of the selling plan group. A lower position will be displayed before a higher one. /// - [Description("Relative value for display purposes of the selling plan group. A lower position will be displayed before a higher one.")] - public int? position { get; set; } - } - + [Description("Relative value for display purposes of the selling plan group. A lower position will be displayed before a higher one.")] + public int? position { get; set; } + } + /// ///Return type for `sellingPlanGroupRemoveProductVariants` mutation. /// - [Description("Return type for `sellingPlanGroupRemoveProductVariants` mutation.")] - public class SellingPlanGroupRemoveProductVariantsPayload : GraphQLObject - { + [Description("Return type for `sellingPlanGroupRemoveProductVariants` mutation.")] + public class SellingPlanGroupRemoveProductVariantsPayload : GraphQLObject + { /// ///The removed product variant ids. /// - [Description("The removed product variant ids.")] - public IEnumerable? removedProductVariantIds { get; set; } - + [Description("The removed product variant ids.")] + public IEnumerable? removedProductVariantIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `sellingPlanGroupRemoveProducts` mutation. /// - [Description("Return type for `sellingPlanGroupRemoveProducts` mutation.")] - public class SellingPlanGroupRemoveProductsPayload : GraphQLObject - { + [Description("Return type for `sellingPlanGroupRemoveProducts` mutation.")] + public class SellingPlanGroupRemoveProductsPayload : GraphQLObject + { /// ///The removed product ids. /// - [Description("The removed product ids.")] - public IEnumerable? removedProductIds { get; set; } - + [Description("The removed product ids.")] + public IEnumerable? removedProductIds { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for resource association with a Selling Plan Group. /// - [Description("The input fields for resource association with a Selling Plan Group.")] - public class SellingPlanGroupResourceInput : GraphQLObject - { + [Description("The input fields for resource association with a Selling Plan Group.")] + public class SellingPlanGroupResourceInput : GraphQLObject + { /// ///The IDs of the Variants to add to the Selling Plan Group. /// - [Description("The IDs of the Variants to add to the Selling Plan Group.")] - public IEnumerable? productVariantIds { get; set; } - + [Description("The IDs of the Variants to add to the Selling Plan Group.")] + public IEnumerable? productVariantIds { get; set; } + /// ///The IDs of the Products to add to the Selling Plan Group. /// - [Description("The IDs of the Products to add to the Selling Plan Group.")] - public IEnumerable? productIds { get; set; } - } - + [Description("The IDs of the Products to add to the Selling Plan Group.")] + public IEnumerable? productIds { get; set; } + } + /// ///The set of valid sort keys for the SellingPlanGroup query. /// - [Description("The set of valid sort keys for the SellingPlanGroup query.")] - public enum SellingPlanGroupSortKeys - { + [Description("The set of valid sort keys for the SellingPlanGroup query.")] + public enum SellingPlanGroupSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class SellingPlanGroupSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class SellingPlanGroupSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Return type for `sellingPlanGroupUpdate` mutation. /// - [Description("Return type for `sellingPlanGroupUpdate` mutation.")] - public class SellingPlanGroupUpdatePayload : GraphQLObject - { + [Description("Return type for `sellingPlanGroupUpdate` mutation.")] + public class SellingPlanGroupUpdatePayload : GraphQLObject + { /// ///The IDs of the deleted Subscription Plans. /// - [Description("The IDs of the deleted Subscription Plans.")] - public IEnumerable? deletedSellingPlanIds { get; set; } - + [Description("The IDs of the deleted Subscription Plans.")] + public IEnumerable? deletedSellingPlanIds { get; set; } + /// ///The updated Selling Plan Group. /// - [Description("The updated Selling Plan Group.")] - public SellingPlanGroup? sellingPlanGroup { get; set; } - + [Description("The updated Selling Plan Group.")] + public SellingPlanGroup? sellingPlanGroup { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a selling plan group custom error. /// - [Description("Represents a selling plan group custom error.")] - public class SellingPlanGroupUserError : GraphQLObject, IDisplayableError - { + [Description("Represents a selling plan group custom error.")] + public class SellingPlanGroupUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SellingPlanGroupUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SellingPlanGroupUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `SellingPlanGroupUserError`. /// - [Description("Possible error codes that can be returned by `SellingPlanGroupUserError`.")] - public enum SellingPlanGroupUserErrorCode - { + [Description("Possible error codes that can be returned by `SellingPlanGroupUserError`.")] + public enum SellingPlanGroupUserErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value should be equal to the value allowed. /// - [Description("The input value should be equal to the value allowed.")] - EQUAL_TO, + [Description("The input value should be equal to the value allowed.")] + EQUAL_TO, /// ///The input value should be greater than the minimum allowed value. /// - [Description("The input value should be greater than the minimum allowed value.")] - GREATER_THAN, + [Description("The input value should be greater than the minimum allowed value.")] + GREATER_THAN, /// ///The input value should be greater than or equal to the minimum value allowed. /// - [Description("The input value should be greater than or equal to the minimum value allowed.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("The input value should be greater than or equal to the minimum value allowed.")] + GREATER_THAN_OR_EQUAL_TO, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value should be less than the maximum value allowed. /// - [Description("The input value should be less than the maximum value allowed.")] - LESS_THAN, + [Description("The input value should be less than the maximum value allowed.")] + LESS_THAN, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, /// ///The input value is not a number. /// - [Description("The input value is not a number.")] - NOT_A_NUMBER, + [Description("The input value is not a number.")] + NOT_A_NUMBER, /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value is too big. /// - [Description("The input value is too big.")] - TOO_BIG, + [Description("The input value is too big.")] + TOO_BIG, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is the wrong length. /// - [Description("The input value is the wrong length.")] - WRONG_LENGTH, + [Description("The input value is the wrong length.")] + WRONG_LENGTH, /// ///Exceeded the selling plan limit (31). /// - [Description("Exceeded the selling plan limit (31).")] - SELLING_PLAN_COUNT_UPPER_BOUND, + [Description("Exceeded the selling plan limit (31).")] + SELLING_PLAN_COUNT_UPPER_BOUND, /// ///Must include at least one selling plan. /// - [Description("Must include at least one selling plan.")] - SELLING_PLAN_COUNT_LOWER_BOUND, + [Description("Must include at least one selling plan.")] + SELLING_PLAN_COUNT_LOWER_BOUND, /// ///Selling plan's billing policy max cycles must be greater than min cycles. /// - [Description("Selling plan's billing policy max cycles must be greater than min cycles.")] - SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES, + [Description("Selling plan's billing policy max cycles must be greater than min cycles.")] + SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES, /// ///Selling plan's billing and delivery policies anchors must be equal. /// - [Description("Selling plan's billing and delivery policies anchors must be equal.")] - SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL, + [Description("Selling plan's billing and delivery policies anchors must be equal.")] + SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL, /// ///Selling plan's billing cycle must be a multiple of delivery cycle. /// - [Description("Selling plan's billing cycle must be a multiple of delivery cycle.")] - SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE, + [Description("Selling plan's billing cycle must be a multiple of delivery cycle.")] + SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE, /// ///Selling plan's pricing policies must contain one fixed pricing policy. /// - [Description("Selling plan's pricing policies must contain one fixed pricing policy.")] - SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY, + [Description("Selling plan's pricing policies must contain one fixed pricing policy.")] + SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY, /// ///Cannot define option2 on this selling plan as there's no label on the parent selling plan group. /// - [Description("Cannot define option2 on this selling plan as there's no label on the parent selling plan group.")] - SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP, + [Description("Cannot define option2 on this selling plan as there's no label on the parent selling plan group.")] + SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP, /// ///Cannot define option3 on this selling plan as there's no label on the parent selling plan group. /// - [Description("Cannot define option3 on this selling plan as there's no label on the parent selling plan group.")] - SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP, + [Description("Cannot define option3 on this selling plan as there's no label on the parent selling plan group.")] + SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP, /// ///Selling plan's option2 is required because option2 exists. /// - [Description("Selling plan's option2 is required because option2 exists.")] - SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP, + [Description("Selling plan's option2 is required because option2 exists.")] + SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP, /// ///Selling plan's option3 is required because option3 exists. /// - [Description("Selling plan's option3 is required because option3 exists.")] - SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP, + [Description("Selling plan's option3 is required because option3 exists.")] + SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP, /// ///Selling plans can't have more than 2 pricing policies. /// - [Description("Selling plans can't have more than 2 pricing policies.")] - SELLING_PLAN_PRICING_POLICIES_LIMIT, + [Description("Selling plans can't have more than 2 pricing policies.")] + SELLING_PLAN_PRICING_POLICIES_LIMIT, /// ///The selling plan list provided contains 1 or more invalid IDs. /// - [Description("The selling plan list provided contains 1 or more invalid IDs.")] - RESOURCE_LIST_CONTAINS_INVALID_IDS, + [Description("The selling plan list provided contains 1 or more invalid IDs.")] + RESOURCE_LIST_CONTAINS_INVALID_IDS, /// ///Product variant does not exist. /// - [Description("Product variant does not exist.")] - PRODUCT_VARIANT_DOES_NOT_EXIST, + [Description("Product variant does not exist.")] + PRODUCT_VARIANT_DOES_NOT_EXIST, /// ///Product does not exist. /// - [Description("Product does not exist.")] - PRODUCT_DOES_NOT_EXIST, + [Description("Product does not exist.")] + PRODUCT_DOES_NOT_EXIST, /// ///Selling plan group does not exist. /// - [Description("Selling plan group does not exist.")] - GROUP_DOES_NOT_EXIST, + [Description("Selling plan group does not exist.")] + GROUP_DOES_NOT_EXIST, /// ///Selling plan group could not be deleted. /// - [Description("Selling plan group could not be deleted.")] - GROUP_COULD_NOT_BE_DELETED, + [Description("Selling plan group could not be deleted.")] + GROUP_COULD_NOT_BE_DELETED, /// ///Could not add the resource to the selling plan group. /// - [Description("Could not add the resource to the selling plan group.")] - ERROR_ADDING_RESOURCE_TO_GROUP, + [Description("Could not add the resource to the selling plan group.")] + ERROR_ADDING_RESOURCE_TO_GROUP, /// ///Missing delivery policy. /// - [Description("Missing delivery policy.")] - SELLING_PLAN_DELIVERY_POLICY_MISSING, + [Description("Missing delivery policy.")] + SELLING_PLAN_DELIVERY_POLICY_MISSING, /// ///Missing billing policy. /// - [Description("Missing billing policy.")] - SELLING_PLAN_BILLING_POLICY_MISSING, + [Description("Missing billing policy.")] + SELLING_PLAN_BILLING_POLICY_MISSING, /// ///Selling plan does not exist. /// - [Description("Selling plan does not exist.")] - PLAN_DOES_NOT_EXIST, + [Description("Selling plan does not exist.")] + PLAN_DOES_NOT_EXIST, /// ///Selling plan ID must be specified to update. /// - [Description("Selling plan ID must be specified to update.")] - PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE, + [Description("Selling plan ID must be specified to update.")] + PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE, /// ///Only one billing policy type can be defined. /// - [Description("Only one billing policy type can be defined.")] - ONLY_NEED_ONE_BILLING_POLICY_TYPE, + [Description("Only one billing policy type can be defined.")] + ONLY_NEED_ONE_BILLING_POLICY_TYPE, /// ///Only one delivery policy type can be defined. /// - [Description("Only one delivery policy type can be defined.")] - ONLY_NEED_ONE_DELIVERY_POLICY_TYPE, + [Description("Only one delivery policy type can be defined.")] + ONLY_NEED_ONE_DELIVERY_POLICY_TYPE, /// ///Only one pricing policy type can be defined. /// - [Description("Only one pricing policy type can be defined.")] - ONLY_NEED_ONE_PRICING_POLICY_TYPE, + [Description("Only one pricing policy type can be defined.")] + ONLY_NEED_ONE_PRICING_POLICY_TYPE, /// ///Billing and delivery policy types must be the same. /// - [Description("Billing and delivery policy types must be the same.")] - BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME, + [Description("Billing and delivery policy types must be the same.")] + BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME, /// ///Only one pricing policy adjustment value type can be defined. /// - [Description("Only one pricing policy adjustment value type can be defined.")] - ONLY_NEED_ONE_PRICING_POLICY_VALUE, + [Description("Only one pricing policy adjustment value type can be defined.")] + ONLY_NEED_ONE_PRICING_POLICY_VALUE, /// ///Pricing policy's adjustment value and adjustment type must match. /// - [Description("Pricing policy's adjustment value and adjustment type must match.")] - PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH, + [Description("Pricing policy's adjustment value and adjustment type must match.")] + PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH, /// ///Cannot have multiple selling plans with the same name. /// - [Description("Cannot have multiple selling plans with the same name.")] - SELLING_PLAN_DUPLICATE_NAME, + [Description("Cannot have multiple selling plans with the same name.")] + SELLING_PLAN_DUPLICATE_NAME, /// ///Cannot have multiple selling plans with the same options. /// - [Description("Cannot have multiple selling plans with the same options.")] - SELLING_PLAN_DUPLICATE_OPTIONS, + [Description("Cannot have multiple selling plans with the same options.")] + SELLING_PLAN_DUPLICATE_OPTIONS, /// ///A fixed selling plan can have at most one pricing policy. /// - [Description("A fixed selling plan can have at most one pricing policy.")] - SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT, + [Description("A fixed selling plan can have at most one pricing policy.")] + SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT, /// ///A fixed billing policy's remaining_balance_charge_exact_time can't be blank when the remaining_balance_charge_trigger is EXACT_TIME. /// - [Description("A fixed billing policy's remaining_balance_charge_exact_time can't be blank when the remaining_balance_charge_trigger is EXACT_TIME.")] - REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED, + [Description("A fixed billing policy's remaining_balance_charge_exact_time can't be blank when the remaining_balance_charge_trigger is EXACT_TIME.")] + REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED, /// ///A fixed billing policy's checkout charge value and type must match. /// - [Description("A fixed billing policy's checkout charge value and type must match.")] - CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH, + [Description("A fixed billing policy's checkout charge value and type must match.")] + CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH, /// ///A fixed billing policy's checkout charge can have at most one value. /// - [Description("A fixed billing policy's checkout charge can have at most one value.")] - ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE, + [Description("A fixed billing policy's checkout charge can have at most one value.")] + ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE, /// ///A fixed billing policy's remaining_balance_charge_exact_time must not be present when the remaining_balance_charge_trigger isn't EXACT_TIME. /// - [Description("A fixed billing policy's remaining_balance_charge_exact_time must not be present when the remaining_balance_charge_trigger isn't EXACT_TIME.")] - REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED, + [Description("A fixed billing policy's remaining_balance_charge_exact_time must not be present when the remaining_balance_charge_trigger isn't EXACT_TIME.")] + REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED, /// ///A fixed billing policy's remaining_balance_charge_time_after_checkout must be present and greater than zero when the remaining_balance_charge_trigger is TIME_AFTER_CHECKOUT. /// - [Description("A fixed billing policy's remaining_balance_charge_time_after_checkout must be present and greater than zero when the remaining_balance_charge_trigger is TIME_AFTER_CHECKOUT.")] - REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO, + [Description("A fixed billing policy's remaining_balance_charge_time_after_checkout must be present and greater than zero when the remaining_balance_charge_trigger is TIME_AFTER_CHECKOUT.")] + REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO, /// ///A fixed billing policy's remaining_balance_charge_trigger must be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is 100. /// - [Description("A fixed billing policy's remaining_balance_charge_trigger must be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is 100.")] - REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT, + [Description("A fixed billing policy's remaining_balance_charge_trigger must be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is 100.")] + REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT, /// ///A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is less than 100. /// - [Description("A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is less than 100.")] - REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE, + [Description("A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PERCENTAGE and checkout_charge_value is less than 100.")] + REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE, /// ///A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PRICE. /// - [Description("A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PRICE.")] - REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE, + [Description("A fixed billing policy's remaining_balance_charge_trigger can't be NO_REMAINING_BALANCE when the checkout_charge_type is PRICE.")] + REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE, /// ///A fixed billing policy's fulfillment_exact_time can't be blank when the fulfillment_trigger is EXACT_TIME. /// - [Description("A fixed billing policy's fulfillment_exact_time can't be blank when the fulfillment_trigger is EXACT_TIME.")] - FULFILLMENT_EXACT_TIME_REQUIRED, + [Description("A fixed billing policy's fulfillment_exact_time can't be blank when the fulfillment_trigger is EXACT_TIME.")] + FULFILLMENT_EXACT_TIME_REQUIRED, /// ///A fixed billing policy's fulfillment_exact_time must not be present when the fulfillment_trigger isn't EXACT_TIME. /// - [Description("A fixed billing policy's fulfillment_exact_time must not be present when the fulfillment_trigger isn't EXACT_TIME.")] - FULFILLMENT_EXACT_TIME_NOT_ALLOWED, + [Description("A fixed billing policy's fulfillment_exact_time must not be present when the fulfillment_trigger isn't EXACT_TIME.")] + FULFILLMENT_EXACT_TIME_NOT_ALLOWED, /// ///A fixed delivery policy's anchors must not be present when the fulfillment_trigger isn't ANCHOR. /// - [Description("A fixed delivery policy's anchors must not be present when the fulfillment_trigger isn't ANCHOR.")] - SELLING_PLAN_ANCHORS_NOT_ALLOWED, + [Description("A fixed delivery policy's anchors must not be present when the fulfillment_trigger isn't ANCHOR.")] + SELLING_PLAN_ANCHORS_NOT_ALLOWED, /// ///A fixed delivery policy's anchors must be present when the fulfillment_trigger is ANCHOR. /// - [Description("A fixed delivery policy's anchors must be present when the fulfillment_trigger is ANCHOR.")] - SELLING_PLAN_ANCHORS_REQUIRED, + [Description("A fixed delivery policy's anchors must be present when the fulfillment_trigger is ANCHOR.")] + SELLING_PLAN_ANCHORS_REQUIRED, /// ///A selling plan can't have both fixed and recurring billing policies. /// - [Description("A selling plan can't have both fixed and recurring billing policies.")] - ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING, + [Description("A selling plan can't have both fixed and recurring billing policies.")] + ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING, /// ///A selling plan can't have both fixed and recurring delivery policies. /// - [Description("A selling plan can't have both fixed and recurring delivery policies.")] - ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY, + [Description("A selling plan can't have both fixed and recurring delivery policies.")] + ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY, /// ///Billing policy's interval is too large. /// - [Description("Billing policy's interval is too large.")] - BILLING_POLICY_INTERVAL_TOO_LARGE, + [Description("Billing policy's interval is too large.")] + BILLING_POLICY_INTERVAL_TOO_LARGE, /// ///Delivery policy's interval is too large. /// - [Description("Delivery policy's interval is too large.")] - DELIVERY_POLICY_INTERVAL_TOO_LARGE, + [Description("Delivery policy's interval is too large.")] + DELIVERY_POLICY_INTERVAL_TOO_LARGE, /// ///The input submitted is invalid. /// - [Description("The input submitted is invalid.")] - INVALID_INPUT, - } - - public static class SellingPlanGroupUserErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string EQUAL_TO = @"EQUAL_TO"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string INCLUSION = @"INCLUSION"; - public const string INVALID = @"INVALID"; - public const string LESS_THAN = @"LESS_THAN"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - public const string NOT_A_NUMBER = @"NOT_A_NUMBER"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string PRESENT = @"PRESENT"; - public const string TAKEN = @"TAKEN"; - public const string TOO_BIG = @"TOO_BIG"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string WRONG_LENGTH = @"WRONG_LENGTH"; - public const string SELLING_PLAN_COUNT_UPPER_BOUND = @"SELLING_PLAN_COUNT_UPPER_BOUND"; - public const string SELLING_PLAN_COUNT_LOWER_BOUND = @"SELLING_PLAN_COUNT_LOWER_BOUND"; - public const string SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES = @"SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES"; - public const string SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL = @"SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL"; - public const string SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE = @"SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE"; - public const string SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY = @"SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY"; - public const string SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP = @"SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP"; - public const string SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP = @"SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP"; - public const string SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP = @"SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP"; - public const string SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP = @"SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP"; - public const string SELLING_PLAN_PRICING_POLICIES_LIMIT = @"SELLING_PLAN_PRICING_POLICIES_LIMIT"; - public const string RESOURCE_LIST_CONTAINS_INVALID_IDS = @"RESOURCE_LIST_CONTAINS_INVALID_IDS"; - public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; - public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; - public const string GROUP_DOES_NOT_EXIST = @"GROUP_DOES_NOT_EXIST"; - public const string GROUP_COULD_NOT_BE_DELETED = @"GROUP_COULD_NOT_BE_DELETED"; - public const string ERROR_ADDING_RESOURCE_TO_GROUP = @"ERROR_ADDING_RESOURCE_TO_GROUP"; - public const string SELLING_PLAN_DELIVERY_POLICY_MISSING = @"SELLING_PLAN_DELIVERY_POLICY_MISSING"; - public const string SELLING_PLAN_BILLING_POLICY_MISSING = @"SELLING_PLAN_BILLING_POLICY_MISSING"; - public const string PLAN_DOES_NOT_EXIST = @"PLAN_DOES_NOT_EXIST"; - public const string PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE = @"PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE"; - public const string ONLY_NEED_ONE_BILLING_POLICY_TYPE = @"ONLY_NEED_ONE_BILLING_POLICY_TYPE"; - public const string ONLY_NEED_ONE_DELIVERY_POLICY_TYPE = @"ONLY_NEED_ONE_DELIVERY_POLICY_TYPE"; - public const string ONLY_NEED_ONE_PRICING_POLICY_TYPE = @"ONLY_NEED_ONE_PRICING_POLICY_TYPE"; - public const string BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME = @"BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME"; - public const string ONLY_NEED_ONE_PRICING_POLICY_VALUE = @"ONLY_NEED_ONE_PRICING_POLICY_VALUE"; - public const string PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH = @"PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH"; - public const string SELLING_PLAN_DUPLICATE_NAME = @"SELLING_PLAN_DUPLICATE_NAME"; - public const string SELLING_PLAN_DUPLICATE_OPTIONS = @"SELLING_PLAN_DUPLICATE_OPTIONS"; - public const string SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT = @"SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT"; - public const string REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED = @"REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED"; - public const string CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH = @"CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH"; - public const string ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE = @"ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE"; - public const string REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED = @"REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED"; - public const string REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO = @"REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO"; - public const string REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT = @"REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT"; - public const string REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE = @"REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE"; - public const string REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE = @"REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE"; - public const string FULFILLMENT_EXACT_TIME_REQUIRED = @"FULFILLMENT_EXACT_TIME_REQUIRED"; - public const string FULFILLMENT_EXACT_TIME_NOT_ALLOWED = @"FULFILLMENT_EXACT_TIME_NOT_ALLOWED"; - public const string SELLING_PLAN_ANCHORS_NOT_ALLOWED = @"SELLING_PLAN_ANCHORS_NOT_ALLOWED"; - public const string SELLING_PLAN_ANCHORS_REQUIRED = @"SELLING_PLAN_ANCHORS_REQUIRED"; - public const string ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING = @"ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING"; - public const string ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY = @"ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY"; - public const string BILLING_POLICY_INTERVAL_TOO_LARGE = @"BILLING_POLICY_INTERVAL_TOO_LARGE"; - public const string DELIVERY_POLICY_INTERVAL_TOO_LARGE = @"DELIVERY_POLICY_INTERVAL_TOO_LARGE"; - public const string INVALID_INPUT = @"INVALID_INPUT"; - } - + [Description("The input submitted is invalid.")] + INVALID_INPUT, + } + + public static class SellingPlanGroupUserErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string EQUAL_TO = @"EQUAL_TO"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string INCLUSION = @"INCLUSION"; + public const string INVALID = @"INVALID"; + public const string LESS_THAN = @"LESS_THAN"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + public const string NOT_A_NUMBER = @"NOT_A_NUMBER"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string PRESENT = @"PRESENT"; + public const string TAKEN = @"TAKEN"; + public const string TOO_BIG = @"TOO_BIG"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string WRONG_LENGTH = @"WRONG_LENGTH"; + public const string SELLING_PLAN_COUNT_UPPER_BOUND = @"SELLING_PLAN_COUNT_UPPER_BOUND"; + public const string SELLING_PLAN_COUNT_LOWER_BOUND = @"SELLING_PLAN_COUNT_LOWER_BOUND"; + public const string SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES = @"SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES"; + public const string SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL = @"SELLING_PLAN_BILLING_AND_DELIVERY_POLICY_ANCHORS_MUST_BE_EQUAL"; + public const string SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE = @"SELLING_PLAN_BILLING_CYCLE_MUST_BE_A_MULTIPLE_OF_DELIVERY_CYCLE"; + public const string SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY = @"SELLING_PLAN_PRICING_POLICIES_MUST_CONTAIN_A_FIXED_PRICING_POLICY"; + public const string SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP = @"SELLING_PLAN_MISSING_OPTION2_LABEL_ON_PARENT_GROUP"; + public const string SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP = @"SELLING_PLAN_MISSING_OPTION3_LABEL_ON_PARENT_GROUP"; + public const string SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP = @"SELLING_PLAN_OPTION2_REQUIRED_AS_DEFINED_ON_PARENT_GROUP"; + public const string SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP = @"SELLING_PLAN_OPTION3_REQUIRED_AS_DEFINED_ON_PARENT_GROUP"; + public const string SELLING_PLAN_PRICING_POLICIES_LIMIT = @"SELLING_PLAN_PRICING_POLICIES_LIMIT"; + public const string RESOURCE_LIST_CONTAINS_INVALID_IDS = @"RESOURCE_LIST_CONTAINS_INVALID_IDS"; + public const string PRODUCT_VARIANT_DOES_NOT_EXIST = @"PRODUCT_VARIANT_DOES_NOT_EXIST"; + public const string PRODUCT_DOES_NOT_EXIST = @"PRODUCT_DOES_NOT_EXIST"; + public const string GROUP_DOES_NOT_EXIST = @"GROUP_DOES_NOT_EXIST"; + public const string GROUP_COULD_NOT_BE_DELETED = @"GROUP_COULD_NOT_BE_DELETED"; + public const string ERROR_ADDING_RESOURCE_TO_GROUP = @"ERROR_ADDING_RESOURCE_TO_GROUP"; + public const string SELLING_PLAN_DELIVERY_POLICY_MISSING = @"SELLING_PLAN_DELIVERY_POLICY_MISSING"; + public const string SELLING_PLAN_BILLING_POLICY_MISSING = @"SELLING_PLAN_BILLING_POLICY_MISSING"; + public const string PLAN_DOES_NOT_EXIST = @"PLAN_DOES_NOT_EXIST"; + public const string PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE = @"PLAN_ID_MUST_BE_SPECIFIED_TO_UPDATE"; + public const string ONLY_NEED_ONE_BILLING_POLICY_TYPE = @"ONLY_NEED_ONE_BILLING_POLICY_TYPE"; + public const string ONLY_NEED_ONE_DELIVERY_POLICY_TYPE = @"ONLY_NEED_ONE_DELIVERY_POLICY_TYPE"; + public const string ONLY_NEED_ONE_PRICING_POLICY_TYPE = @"ONLY_NEED_ONE_PRICING_POLICY_TYPE"; + public const string BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME = @"BILLING_AND_DELIVERY_POLICY_TYPES_MUST_BE_THE_SAME"; + public const string ONLY_NEED_ONE_PRICING_POLICY_VALUE = @"ONLY_NEED_ONE_PRICING_POLICY_VALUE"; + public const string PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH = @"PRICING_POLICY_ADJUSTMENT_VALUE_AND_TYPE_MUST_MATCH"; + public const string SELLING_PLAN_DUPLICATE_NAME = @"SELLING_PLAN_DUPLICATE_NAME"; + public const string SELLING_PLAN_DUPLICATE_OPTIONS = @"SELLING_PLAN_DUPLICATE_OPTIONS"; + public const string SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT = @"SELLING_PLAN_FIXED_PRICING_POLICIES_LIMIT"; + public const string REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED = @"REMAINING_BALANCE_CHARGE_EXACT_TIME_REQUIRED"; + public const string CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH = @"CHECKOUT_CHARGE_VALUE_AND_TYPE_MUST_MATCH"; + public const string ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE = @"ONLY_NEED_ONE_CHECKOUT_CHARGE_VALUE"; + public const string REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED = @"REMAINING_BALANCE_CHARGE_EXACT_TIME_NOT_ALLOWED"; + public const string REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO = @"REMAINING_BALANCE_CHARGE_TIME_AFTER_CHECKOUT_MUST_BE_GREATER_THAN_ZERO"; + public const string REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT = @"REMAINING_BALANCE_CHARGE_TRIGGER_ON_FULL_CHECKOUT"; + public const string REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE = @"REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PARTIAL_PERCENTAGE_CHECKOUT_CHARGE"; + public const string REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE = @"REMAINING_BALANCE_CHARGE_TRIGGER_NO_REMAINING_BALANCE_ON_PRICE_CHECKOUT_CHARGE"; + public const string FULFILLMENT_EXACT_TIME_REQUIRED = @"FULFILLMENT_EXACT_TIME_REQUIRED"; + public const string FULFILLMENT_EXACT_TIME_NOT_ALLOWED = @"FULFILLMENT_EXACT_TIME_NOT_ALLOWED"; + public const string SELLING_PLAN_ANCHORS_NOT_ALLOWED = @"SELLING_PLAN_ANCHORS_NOT_ALLOWED"; + public const string SELLING_PLAN_ANCHORS_REQUIRED = @"SELLING_PLAN_ANCHORS_REQUIRED"; + public const string ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING = @"ONLY_ONE_OF_FIXED_OR_RECURRING_BILLING"; + public const string ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY = @"ONLY_ONE_OF_FIXED_OR_RECURRING_DELIVERY"; + public const string BILLING_POLICY_INTERVAL_TOO_LARGE = @"BILLING_POLICY_INTERVAL_TOO_LARGE"; + public const string DELIVERY_POLICY_INTERVAL_TOO_LARGE = @"DELIVERY_POLICY_INTERVAL_TOO_LARGE"; + public const string INVALID_INPUT = @"INVALID_INPUT"; + } + /// ///The input fields to create or update a selling plan. /// - [Description("The input fields to create or update a selling plan.")] - public class SellingPlanInput : GraphQLObject - { + [Description("The input fields to create or update a selling plan.")] + public class SellingPlanInput : GraphQLObject + { /// ///ID of the selling plan. /// - [Description("ID of the selling plan.")] - public string? id { get; set; } - + [Description("ID of the selling plan.")] + public string? id { get; set; } + /// ///Buyer facing string which describes the selling plan content. /// - [Description("Buyer facing string which describes the selling plan content.")] - public string? name { get; set; } - + [Description("Buyer facing string which describes the selling plan content.")] + public string? name { get; set; } + /// ///Buyer facing string which describes the selling plan commitment. /// - [Description("Buyer facing string which describes the selling plan commitment.")] - public string? description { get; set; } - + [Description("Buyer facing string which describes the selling plan commitment.")] + public string? description { get; set; } + /// ///Selling plan policy which describes the billing details. /// - [Description("Selling plan policy which describes the billing details.")] - public SellingPlanBillingPolicyInput? billingPolicy { get; set; } - + [Description("Selling plan policy which describes the billing details.")] + public SellingPlanBillingPolicyInput? billingPolicy { get; set; } + /// ///A selling plan policy which describes the delivery details. /// - [Description("A selling plan policy which describes the delivery details.")] - public SellingPlanDeliveryPolicyInput? deliveryPolicy { get; set; } - + [Description("A selling plan policy which describes the delivery details.")] + public SellingPlanDeliveryPolicyInput? deliveryPolicy { get; set; } + /// ///A selling plan policy which describes the inventory details. /// - [Description("A selling plan policy which describes the inventory details.")] - public SellingPlanInventoryPolicyInput? inventoryPolicy { get; set; } - + [Description("A selling plan policy which describes the inventory details.")] + public SellingPlanInventoryPolicyInput? inventoryPolicy { get; set; } + /// ///Additional customizable information to associate with the SellingPlan. /// - [Description("Additional customizable information to associate with the SellingPlan.")] - public IEnumerable? metafields { get; set; } - + [Description("Additional customizable information to associate with the SellingPlan.")] + public IEnumerable? metafields { get; set; } + /// ///The pricing policies which describe the pricing details. Each selling plan ///can only contain a maximum of 2 pricing policies. /// - [Description("The pricing policies which describe the pricing details. Each selling plan\ncan only contain a maximum of 2 pricing policies.")] - public IEnumerable? pricingPolicies { get; set; } - + [Description("The pricing policies which describe the pricing details. Each selling plan\ncan only contain a maximum of 2 pricing policies.")] + public IEnumerable? pricingPolicies { get; set; } + /// ///The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values. /// - [Description("The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] - public IEnumerable? options { get; set; } - + [Description("The values of all options available on the selling plan. Selling plans are grouped together in Liquid when they're created by the same app, and have the same `selling_plan_group.name` and `selling_plan_group.options` values.")] + public IEnumerable? options { get; set; } + /// ///Relative value for display purposes of this plan. A lower position will be displayed before a higher one. /// - [Description("Relative value for display purposes of this plan. A lower position will be displayed before a higher one.")] - public int? position { get; set; } - + [Description("Relative value for display purposes of this plan. A lower position will be displayed before a higher one.")] + public int? position { get; set; } + /// ///The category used to classify this selling plan for reporting purposes. /// - [Description("The category used to classify this selling plan for reporting purposes.")] - [EnumType(typeof(SellingPlanCategory))] - public string? category { get; set; } - } - + [Description("The category used to classify this selling plan for reporting purposes.")] + [EnumType(typeof(SellingPlanCategory))] + public string? category { get; set; } + } + /// ///Represents valid selling plan interval. /// - [Description("Represents valid selling plan interval.")] - public enum SellingPlanInterval - { + [Description("Represents valid selling plan interval.")] + public enum SellingPlanInterval + { /// ///Day interval. /// - [Description("Day interval.")] - DAY, + [Description("Day interval.")] + DAY, /// ///Week interval. /// - [Description("Week interval.")] - WEEK, + [Description("Week interval.")] + WEEK, /// ///Month interval. /// - [Description("Month interval.")] - MONTH, + [Description("Month interval.")] + MONTH, /// ///Year interval. /// - [Description("Year interval.")] - YEAR, - } - - public static class SellingPlanIntervalStringValues - { - public const string DAY = @"DAY"; - public const string WEEK = @"WEEK"; - public const string MONTH = @"MONTH"; - public const string YEAR = @"YEAR"; - } - + [Description("Year interval.")] + YEAR, + } + + public static class SellingPlanIntervalStringValues + { + public const string DAY = @"DAY"; + public const string WEEK = @"WEEK"; + public const string MONTH = @"MONTH"; + public const string YEAR = @"YEAR"; + } + /// ///The selling plan inventory policy. /// - [Description("The selling plan inventory policy.")] - public class SellingPlanInventoryPolicy : GraphQLObject - { + [Description("The selling plan inventory policy.")] + public class SellingPlanInventoryPolicy : GraphQLObject + { /// ///When to reserve inventory for the order. /// - [Description("When to reserve inventory for the order.")] - [NonNull] - [EnumType(typeof(SellingPlanReserve))] - public string? reserve { get; set; } - } - + [Description("When to reserve inventory for the order.")] + [NonNull] + [EnumType(typeof(SellingPlanReserve))] + public string? reserve { get; set; } + } + /// ///The input fields required to create or update an inventory policy. /// - [Description("The input fields required to create or update an inventory policy.")] - public class SellingPlanInventoryPolicyInput : GraphQLObject - { + [Description("The input fields required to create or update an inventory policy.")] + public class SellingPlanInventoryPolicyInput : GraphQLObject + { /// ///When to reserve inventory for the order. The value must be ON_FULFILLMENT or ON_SALE. /// - [Description("When to reserve inventory for the order. The value must be ON_FULFILLMENT or ON_SALE.")] - [EnumType(typeof(SellingPlanReserve))] - public string? reserve { get; set; } - } - + [Description("When to reserve inventory for the order. The value must be ON_FULFILLMENT or ON_SALE.")] + [EnumType(typeof(SellingPlanReserve))] + public string? reserve { get; set; } + } + /// ///Represents the type of pricing associated to the selling plan (for example, a $10 or 20% discount that is set ///for a limited period or that is fixed for the duration of the subscription). Selling plan pricing policies and @@ -112220,1184 +112220,1184 @@ public class SellingPlanInventoryPolicyInput : GraphQLObject - [Description("Represents the type of pricing associated to the selling plan (for example, a $10 or 20% discount that is set\nfor a limited period or that is fixed for the duration of the subscription). Selling plan pricing policies and\nassociated records (selling plan groups, selling plans, billing policy, and delivery policy) are deleted 48\nhours after a merchant uninstalls their subscriptions app. We recommend backing up these records if you need\nto restore them later.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SellingPlanFixedPricingPolicy), typeDiscriminator: "SellingPlanFixedPricingPolicy")] - [JsonDerivedType(typeof(SellingPlanRecurringPricingPolicy), typeDiscriminator: "SellingPlanRecurringPricingPolicy")] - public interface ISellingPlanPricingPolicy : IGraphQLObject - { - public SellingPlanFixedPricingPolicy? AsSellingPlanFixedPricingPolicy() => this as SellingPlanFixedPricingPolicy; - public SellingPlanRecurringPricingPolicy? AsSellingPlanRecurringPricingPolicy() => this as SellingPlanRecurringPricingPolicy; + [Description("Represents the type of pricing associated to the selling plan (for example, a $10 or 20% discount that is set\nfor a limited period or that is fixed for the duration of the subscription). Selling plan pricing policies and\nassociated records (selling plan groups, selling plans, billing policy, and delivery policy) are deleted 48\nhours after a merchant uninstalls their subscriptions app. We recommend backing up these records if you need\nto restore them later.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SellingPlanFixedPricingPolicy), typeDiscriminator: "SellingPlanFixedPricingPolicy")] + [JsonDerivedType(typeof(SellingPlanRecurringPricingPolicy), typeDiscriminator: "SellingPlanRecurringPricingPolicy")] + public interface ISellingPlanPricingPolicy : IGraphQLObject + { + public SellingPlanFixedPricingPolicy? AsSellingPlanFixedPricingPolicy() => this as SellingPlanFixedPricingPolicy; + public SellingPlanRecurringPricingPolicy? AsSellingPlanRecurringPricingPolicy() => this as SellingPlanRecurringPricingPolicy; /// ///The price adjustment type. /// - [Description("The price adjustment type.")] - [NonNull] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; set; } - + [Description("The price adjustment type.")] + [NonNull] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; set; } + /// ///The price adjustment value. /// - [Description("The price adjustment value.")] - [NonNull] - public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } - + [Description("The price adjustment value.")] + [NonNull] + public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } + /// ///The date and time when the fixed selling plan pricing policy was created. /// - [Description("The date and time when the fixed selling plan pricing policy was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - } - + [Description("The date and time when the fixed selling plan pricing policy was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + } + /// ///Represents a selling plan pricing policy adjustment type. /// - [Description("Represents a selling plan pricing policy adjustment type.")] - public enum SellingPlanPricingPolicyAdjustmentType - { + [Description("Represents a selling plan pricing policy adjustment type.")] + public enum SellingPlanPricingPolicyAdjustmentType + { /// ///Percentage off adjustment. /// - [Description("Percentage off adjustment.")] - PERCENTAGE, + [Description("Percentage off adjustment.")] + PERCENTAGE, /// ///Fixed amount off adjustment. /// - [Description("Fixed amount off adjustment.")] - FIXED_AMOUNT, + [Description("Fixed amount off adjustment.")] + FIXED_AMOUNT, /// ///Price of the policy. /// - [Description("Price of the policy.")] - PRICE, - } - - public static class SellingPlanPricingPolicyAdjustmentTypeStringValues - { - public const string PERCENTAGE = @"PERCENTAGE"; - public const string FIXED_AMOUNT = @"FIXED_AMOUNT"; - public const string PRICE = @"PRICE"; - } - + [Description("Price of the policy.")] + PRICE, + } + + public static class SellingPlanPricingPolicyAdjustmentTypeStringValues + { + public const string PERCENTAGE = @"PERCENTAGE"; + public const string FIXED_AMOUNT = @"FIXED_AMOUNT"; + public const string PRICE = @"PRICE"; + } + /// ///Represents a selling plan pricing policy adjustment value type. /// - [Description("Represents a selling plan pricing policy adjustment value type.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] - [JsonDerivedType(typeof(SellingPlanPricingPolicyPercentageValue), typeDiscriminator: "SellingPlanPricingPolicyPercentageValue")] - public interface ISellingPlanPricingPolicyAdjustmentValue : IGraphQLObject - { - public MoneyV2? AsMoneyV2() => this as MoneyV2; - public SellingPlanPricingPolicyPercentageValue? AsSellingPlanPricingPolicyPercentageValue() => this as SellingPlanPricingPolicyPercentageValue; - } - + [Description("Represents a selling plan pricing policy adjustment value type.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(MoneyV2), typeDiscriminator: "MoneyV2")] + [JsonDerivedType(typeof(SellingPlanPricingPolicyPercentageValue), typeDiscriminator: "SellingPlanPricingPolicyPercentageValue")] + public interface ISellingPlanPricingPolicyAdjustmentValue : IGraphQLObject + { + public MoneyV2? AsMoneyV2() => this as MoneyV2; + public SellingPlanPricingPolicyPercentageValue? AsSellingPlanPricingPolicyPercentageValue() => this as SellingPlanPricingPolicyPercentageValue; + } + /// ///Represents selling plan pricing policy common fields. /// - [Description("Represents selling plan pricing policy common fields.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SellingPlanFixedPricingPolicy), typeDiscriminator: "SellingPlanFixedPricingPolicy")] - [JsonDerivedType(typeof(SellingPlanRecurringPricingPolicy), typeDiscriminator: "SellingPlanRecurringPricingPolicy")] - public interface ISellingPlanPricingPolicyBase : IGraphQLObject - { - public SellingPlanFixedPricingPolicy? AsSellingPlanFixedPricingPolicy() => this as SellingPlanFixedPricingPolicy; - public SellingPlanRecurringPricingPolicy? AsSellingPlanRecurringPricingPolicy() => this as SellingPlanRecurringPricingPolicy; + [Description("Represents selling plan pricing policy common fields.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SellingPlanFixedPricingPolicy), typeDiscriminator: "SellingPlanFixedPricingPolicy")] + [JsonDerivedType(typeof(SellingPlanRecurringPricingPolicy), typeDiscriminator: "SellingPlanRecurringPricingPolicy")] + public interface ISellingPlanPricingPolicyBase : IGraphQLObject + { + public SellingPlanFixedPricingPolicy? AsSellingPlanFixedPricingPolicy() => this as SellingPlanFixedPricingPolicy; + public SellingPlanRecurringPricingPolicy? AsSellingPlanRecurringPricingPolicy() => this as SellingPlanRecurringPricingPolicy; /// ///The price adjustment type. /// - [Description("The price adjustment type.")] - [NonNull] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; } - + [Description("The price adjustment type.")] + [NonNull] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; } + /// ///The price adjustment value. /// - [Description("The price adjustment value.")] - [NonNull] - public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; } - } - + [Description("The price adjustment value.")] + [NonNull] + public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; } + } + /// ///The input fields required to create or update a selling plan pricing policy. /// - [Description("The input fields required to create or update a selling plan pricing policy.")] - public class SellingPlanPricingPolicyInput : GraphQLObject - { + [Description("The input fields required to create or update a selling plan pricing policy.")] + public class SellingPlanPricingPolicyInput : GraphQLObject + { /// ///Recurring pricing policy details. /// - [Description("Recurring pricing policy details.")] - public SellingPlanRecurringPricingPolicyInput? recurring { get; set; } - + [Description("Recurring pricing policy details.")] + public SellingPlanRecurringPricingPolicyInput? recurring { get; set; } + /// ///Fixed pricing policy details. /// - [Description("Fixed pricing policy details.")] - public SellingPlanFixedPricingPolicyInput? @fixed { get; set; } - } - + [Description("Fixed pricing policy details.")] + public SellingPlanFixedPricingPolicyInput? @fixed { get; set; } + } + /// ///The percentage value of a selling plan pricing policy percentage type. /// - [Description("The percentage value of a selling plan pricing policy percentage type.")] - public class SellingPlanPricingPolicyPercentageValue : GraphQLObject, ISellingPlanPricingPolicyAdjustmentValue - { + [Description("The percentage value of a selling plan pricing policy percentage type.")] + public class SellingPlanPricingPolicyPercentageValue : GraphQLObject, ISellingPlanPricingPolicyAdjustmentValue + { /// ///The percentage value. /// - [Description("The percentage value.")] - [NonNull] - public decimal? percentage { get; set; } - } - + [Description("The percentage value.")] + [NonNull] + public decimal? percentage { get; set; } + } + /// ///The input fields required to create or update a pricing policy adjustment value. /// - [Description("The input fields required to create or update a pricing policy adjustment value.")] - public class SellingPlanPricingPolicyValueInput : GraphQLObject - { + [Description("The input fields required to create or update a pricing policy adjustment value.")] + public class SellingPlanPricingPolicyValueInput : GraphQLObject + { /// ///The percentage value. /// - [Description("The percentage value.")] - public decimal? percentage { get; set; } - + [Description("The percentage value.")] + public decimal? percentage { get; set; } + /// ///The fixed value for an fixed amount off or a new policy price. /// - [Description("The fixed value for an fixed amount off or a new policy price.")] - public decimal? fixedValue { get; set; } - } - + [Description("The fixed value for an fixed amount off or a new policy price.")] + public decimal? fixedValue { get; set; } + } + /// ///Represents a recurring selling plan billing policy. /// - [Description("Represents a recurring selling plan billing policy.")] - public class SellingPlanRecurringBillingPolicy : GraphQLObject, ISellingPlanBillingPolicy - { + [Description("Represents a recurring selling plan billing policy.")] + public class SellingPlanRecurringBillingPolicy : GraphQLObject, ISellingPlanBillingPolicy + { /// ///Specific anchor dates upon which the billing interval calculations should be made. /// - [Description("Specific anchor dates upon which the billing interval calculations should be made.")] - [NonNull] - public IEnumerable? anchors { get; set; } - + [Description("Specific anchor dates upon which the billing interval calculations should be made.")] + [NonNull] + public IEnumerable? anchors { get; set; } + /// ///The date and time when the selling plan billing policy was created. /// - [Description("The date and time when the selling plan billing policy was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the selling plan billing policy was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The billing frequency, it can be either: day, week, month or year. /// - [Description("The billing frequency, it can be either: day, week, month or year.")] - [NonNull] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The billing frequency, it can be either: day, week, month or year.")] + [NonNull] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of intervals between billings. /// - [Description("The number of intervals between billings.")] - [NonNull] - public int? intervalCount { get; set; } - + [Description("The number of intervals between billings.")] + [NonNull] + public int? intervalCount { get; set; } + /// ///Maximum number of billing iterations. /// - [Description("Maximum number of billing iterations.")] - public int? maxCycles { get; set; } - + [Description("Maximum number of billing iterations.")] + public int? maxCycles { get; set; } + /// ///Minimum number of billing iterations. /// - [Description("Minimum number of billing iterations.")] - public int? minCycles { get; set; } - } - + [Description("Minimum number of billing iterations.")] + public int? minCycles { get; set; } + } + /// ///The input fields required to create or update a recurring billing policy. /// - [Description("The input fields required to create or update a recurring billing policy.")] - public class SellingPlanRecurringBillingPolicyInput : GraphQLObject - { + [Description("The input fields required to create or update a recurring billing policy.")] + public class SellingPlanRecurringBillingPolicyInput : GraphQLObject + { /// ///The billing frequency, it can be either: day, week, month or year. /// - [Description("The billing frequency, it can be either: day, week, month or year.")] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The billing frequency, it can be either: day, week, month or year.")] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of intervals between billings. /// - [Description("The number of intervals between billings.")] - public int? intervalCount { get; set; } - + [Description("The number of intervals between billings.")] + public int? intervalCount { get; set; } + /// ///Specific anchor dates upon which the billing interval calculations should be made. /// - [Description("Specific anchor dates upon which the billing interval calculations should be made.")] - public IEnumerable? anchors { get; set; } - + [Description("Specific anchor dates upon which the billing interval calculations should be made.")] + public IEnumerable? anchors { get; set; } + /// ///Minimum number of billing iterations. /// - [Description("Minimum number of billing iterations.")] - public int? minCycles { get; set; } - + [Description("Minimum number of billing iterations.")] + public int? minCycles { get; set; } + /// ///Maximum number of billing iterations. /// - [Description("Maximum number of billing iterations.")] - public int? maxCycles { get; set; } - } - + [Description("Maximum number of billing iterations.")] + public int? maxCycles { get; set; } + } + /// ///Represents a recurring selling plan delivery policy. /// - [Description("Represents a recurring selling plan delivery policy.")] - public class SellingPlanRecurringDeliveryPolicy : GraphQLObject, ISellingPlanDeliveryPolicy - { + [Description("Represents a recurring selling plan delivery policy.")] + public class SellingPlanRecurringDeliveryPolicy : GraphQLObject, ISellingPlanDeliveryPolicy + { /// ///The specific anchor dates upon which the delivery interval calculations should be made. /// - [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] - [NonNull] - public IEnumerable? anchors { get; set; } - + [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] + [NonNull] + public IEnumerable? anchors { get; set; } + /// ///The date and time when the selling plan delivery policy was created. /// - [Description("The date and time when the selling plan delivery policy was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the selling plan delivery policy was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Number of days which represent a buffer period for orders to be included in a cycle. /// - [Description("Number of days which represent a buffer period for orders to be included in a cycle.")] - public int? cutoff { get; set; } - + [Description("Number of days which represent a buffer period for orders to be included in a cycle.")] + public int? cutoff { get; set; } + /// ///Whether the delivery policy is merchant or buyer-centric. ///Buyer-centric delivery policies state the time when the buyer will receive the goods. ///Merchant-centric delivery policies state the time when the fulfillment should be started. ///Currently, only merchant-centric delivery policies are supported. /// - [Description("Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.")] - [NonNull] - [EnumType(typeof(SellingPlanRecurringDeliveryPolicyIntent))] - public string? intent { get; set; } - + [Description("Whether the delivery policy is merchant or buyer-centric.\nBuyer-centric delivery policies state the time when the buyer will receive the goods.\nMerchant-centric delivery policies state the time when the fulfillment should be started.\nCurrently, only merchant-centric delivery policies are supported.")] + [NonNull] + [EnumType(typeof(SellingPlanRecurringDeliveryPolicyIntent))] + public string? intent { get; set; } + /// ///The delivery frequency, it can be either: day, week, month or year. /// - [Description("The delivery frequency, it can be either: day, week, month or year.")] - [NonNull] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The delivery frequency, it can be either: day, week, month or year.")] + [NonNull] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of intervals between deliveries. /// - [Description("The number of intervals between deliveries.")] - [NonNull] - public int? intervalCount { get; set; } - + [Description("The number of intervals between deliveries.")] + [NonNull] + public int? intervalCount { get; set; } + /// ///The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`. /// - [Description("The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.")] - [NonNull] - [EnumType(typeof(SellingPlanRecurringDeliveryPolicyPreAnchorBehavior))] - public string? preAnchorBehavior { get; set; } - } - + [Description("The fulfillment or delivery behavior of the first fulfillment when the order is placed before the anchor. The default value for this field is `ASAP`.")] + [NonNull] + [EnumType(typeof(SellingPlanRecurringDeliveryPolicyPreAnchorBehavior))] + public string? preAnchorBehavior { get; set; } + } + /// ///The input fields to create or update a recurring delivery policy. /// - [Description("The input fields to create or update a recurring delivery policy.")] - public class SellingPlanRecurringDeliveryPolicyInput : GraphQLObject - { + [Description("The input fields to create or update a recurring delivery policy.")] + public class SellingPlanRecurringDeliveryPolicyInput : GraphQLObject + { /// ///The delivery frequency, it can be either: day, week, month or year. /// - [Description("The delivery frequency, it can be either: day, week, month or year.")] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The delivery frequency, it can be either: day, week, month or year.")] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of intervals between deliveries. /// - [Description("The number of intervals between deliveries.")] - public int? intervalCount { get; set; } - + [Description("The number of intervals between deliveries.")] + public int? intervalCount { get; set; } + /// ///The specific anchor dates upon which the delivery interval calculations should be made. /// - [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] - public IEnumerable? anchors { get; set; } - + [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] + public IEnumerable? anchors { get; set; } + /// ///A buffer period for orders to be included in a cycle. /// - [Description("A buffer period for orders to be included in a cycle.")] - public int? cutoff { get; set; } - + [Description("A buffer period for orders to be included in a cycle.")] + public int? cutoff { get; set; } + /// ///Intention of this delivery policy, it can be either: delivery or fulfillment. /// - [Description("Intention of this delivery policy, it can be either: delivery or fulfillment.")] - [EnumType(typeof(SellingPlanRecurringDeliveryPolicyIntent))] - public string? intent { get; set; } - + [Description("Intention of this delivery policy, it can be either: delivery or fulfillment.")] + [EnumType(typeof(SellingPlanRecurringDeliveryPolicyIntent))] + public string? intent { get; set; } + /// ///The pre-anchor behavior. It can be either: asap or next. /// - [Description("The pre-anchor behavior. It can be either: asap or next.")] - [EnumType(typeof(SellingPlanRecurringDeliveryPolicyPreAnchorBehavior))] - public string? preAnchorBehavior { get; set; } - } - + [Description("The pre-anchor behavior. It can be either: asap or next.")] + [EnumType(typeof(SellingPlanRecurringDeliveryPolicyPreAnchorBehavior))] + public string? preAnchorBehavior { get; set; } + } + /// ///Whether the delivery policy is merchant or buyer-centric. /// - [Description("Whether the delivery policy is merchant or buyer-centric.")] - public enum SellingPlanRecurringDeliveryPolicyIntent - { + [Description("Whether the delivery policy is merchant or buyer-centric.")] + public enum SellingPlanRecurringDeliveryPolicyIntent + { /// ///A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment. /// - [Description("A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment.")] - FULFILLMENT_BEGIN, - } - - public static class SellingPlanRecurringDeliveryPolicyIntentStringValues - { - public const string FULFILLMENT_BEGIN = @"FULFILLMENT_BEGIN"; - } - + [Description("A merchant-centric delivery policy. Mark this delivery policy to define when the merchant should start fulfillment.")] + FULFILLMENT_BEGIN, + } + + public static class SellingPlanRecurringDeliveryPolicyIntentStringValues + { + public const string FULFILLMENT_BEGIN = @"FULFILLMENT_BEGIN"; + } + /// ///The fulfillment or delivery behaviors of the first fulfillment when the orderis placed before the anchor. /// - [Description("The fulfillment or delivery behaviors of the first fulfillment when the orderis placed before the anchor.")] - public enum SellingPlanRecurringDeliveryPolicyPreAnchorBehavior - { + [Description("The fulfillment or delivery behaviors of the first fulfillment when the orderis placed before the anchor.")] + public enum SellingPlanRecurringDeliveryPolicyPreAnchorBehavior + { /// ///The orders placed can be fulfilled or delivered immediately. The orders placed inside a cutoff can be fulfilled or delivered at the next anchor. /// - [Description("The orders placed can be fulfilled or delivered immediately. The orders placed inside a cutoff can be fulfilled or delivered at the next anchor.")] - ASAP, + [Description("The orders placed can be fulfilled or delivered immediately. The orders placed inside a cutoff can be fulfilled or delivered at the next anchor.")] + ASAP, /// ///The orders placed can be fulfilled or delivered at the next anchor date. ///The orders placed inside a cutoff will skip the next anchor and can be fulfilled or ///delivered at the following anchor. /// - [Description("The orders placed can be fulfilled or delivered at the next anchor date.\nThe orders placed inside a cutoff will skip the next anchor and can be fulfilled or\ndelivered at the following anchor.")] - NEXT, - } - - public static class SellingPlanRecurringDeliveryPolicyPreAnchorBehaviorStringValues - { - public const string ASAP = @"ASAP"; - public const string NEXT = @"NEXT"; - } - + [Description("The orders placed can be fulfilled or delivered at the next anchor date.\nThe orders placed inside a cutoff will skip the next anchor and can be fulfilled or\ndelivered at the following anchor.")] + NEXT, + } + + public static class SellingPlanRecurringDeliveryPolicyPreAnchorBehaviorStringValues + { + public const string ASAP = @"ASAP"; + public const string NEXT = @"NEXT"; + } + /// ///Represents a recurring selling plan pricing policy. It applies after the fixed pricing policy. By using the afterCycle parameter, you can specify the cycle when the recurring pricing policy comes into effect. Recurring pricing policies are not available for deferred purchase options. /// - [Description("Represents a recurring selling plan pricing policy. It applies after the fixed pricing policy. By using the afterCycle parameter, you can specify the cycle when the recurring pricing policy comes into effect. Recurring pricing policies are not available for deferred purchase options.")] - public class SellingPlanRecurringPricingPolicy : GraphQLObject, ISellingPlanPricingPolicyBase, ISellingPlanPricingPolicy - { + [Description("Represents a recurring selling plan pricing policy. It applies after the fixed pricing policy. By using the afterCycle parameter, you can specify the cycle when the recurring pricing policy comes into effect. Recurring pricing policies are not available for deferred purchase options.")] + public class SellingPlanRecurringPricingPolicy : GraphQLObject, ISellingPlanPricingPolicyBase, ISellingPlanPricingPolicy + { /// ///The price adjustment type. /// - [Description("The price adjustment type.")] - [NonNull] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; set; } - + [Description("The price adjustment type.")] + [NonNull] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; set; } + /// ///The price adjustment value. /// - [Description("The price adjustment value.")] - [NonNull] - public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } - + [Description("The price adjustment value.")] + [NonNull] + public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } + /// ///Cycle after which this pricing policy applies. /// - [Description("Cycle after which this pricing policy applies.")] - public int? afterCycle { get; set; } - + [Description("Cycle after which this pricing policy applies.")] + public int? afterCycle { get; set; } + /// ///The date and time when the recurring selling plan pricing policy was created. /// - [Description("The date and time when the recurring selling plan pricing policy was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - } - + [Description("The date and time when the recurring selling plan pricing policy was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + } + /// ///The input fields required to create or update a recurring selling plan pricing policy. /// - [Description("The input fields required to create or update a recurring selling plan pricing policy.")] - public class SellingPlanRecurringPricingPolicyInput : GraphQLObject - { + [Description("The input fields required to create or update a recurring selling plan pricing policy.")] + public class SellingPlanRecurringPricingPolicyInput : GraphQLObject + { /// ///ID of the pricing policy. /// - [Description("ID of the pricing policy.")] - public string? id { get; set; } - + [Description("ID of the pricing policy.")] + public string? id { get; set; } + /// ///Price adjustment type defined by the policy. /// - [Description("Price adjustment type defined by the policy.")] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; set; } - + [Description("Price adjustment type defined by the policy.")] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; set; } + /// ///Price adjustment value defined by the policy. /// - [Description("Price adjustment value defined by the policy.")] - public SellingPlanPricingPolicyValueInput? adjustmentValue { get; set; } - + [Description("Price adjustment value defined by the policy.")] + public SellingPlanPricingPolicyValueInput? adjustmentValue { get; set; } + /// ///Cycle after which the pricing policy applies. /// - [Description("Cycle after which the pricing policy applies.")] - [NonNull] - public int? afterCycle { get; set; } - } - + [Description("Cycle after which the pricing policy applies.")] + [NonNull] + public int? afterCycle { get; set; } + } + /// ///When to capture the payment for the remaining amount due. /// - [Description("When to capture the payment for the remaining amount due.")] - public enum SellingPlanRemainingBalanceChargeTrigger - { + [Description("When to capture the payment for the remaining amount due.")] + public enum SellingPlanRemainingBalanceChargeTrigger + { /// ///When there's no remaining balance to be charged after checkout. /// - [Description("When there's no remaining balance to be charged after checkout.")] - NO_REMAINING_BALANCE, + [Description("When there's no remaining balance to be charged after checkout.")] + NO_REMAINING_BALANCE, /// ///At an exact time defined by the remaining_balance_charge_exact_time field. /// - [Description("At an exact time defined by the remaining_balance_charge_exact_time field.")] - EXACT_TIME, + [Description("At an exact time defined by the remaining_balance_charge_exact_time field.")] + EXACT_TIME, /// ///After the duration defined by the remaining_balance_charge_time_after_checkout field. /// - [Description("After the duration defined by the remaining_balance_charge_time_after_checkout field.")] - TIME_AFTER_CHECKOUT, + [Description("After the duration defined by the remaining_balance_charge_time_after_checkout field.")] + TIME_AFTER_CHECKOUT, /// ///When the order is fulfilled. /// - [Description("When the order is fulfilled.")] - ON_FULFILLMENT, - } - - public static class SellingPlanRemainingBalanceChargeTriggerStringValues - { - public const string NO_REMAINING_BALANCE = @"NO_REMAINING_BALANCE"; - public const string EXACT_TIME = @"EXACT_TIME"; - public const string TIME_AFTER_CHECKOUT = @"TIME_AFTER_CHECKOUT"; - public const string ON_FULFILLMENT = @"ON_FULFILLMENT"; - } - + [Description("When the order is fulfilled.")] + ON_FULFILLMENT, + } + + public static class SellingPlanRemainingBalanceChargeTriggerStringValues + { + public const string NO_REMAINING_BALANCE = @"NO_REMAINING_BALANCE"; + public const string EXACT_TIME = @"EXACT_TIME"; + public const string TIME_AFTER_CHECKOUT = @"TIME_AFTER_CHECKOUT"; + public const string ON_FULFILLMENT = @"ON_FULFILLMENT"; + } + /// ///When to reserve inventory for a selling plan. /// - [Description("When to reserve inventory for a selling plan.")] - public enum SellingPlanReserve - { + [Description("When to reserve inventory for a selling plan.")] + public enum SellingPlanReserve + { /// ///Reserve inventory when order is fulfilled. /// - [Description("Reserve inventory when order is fulfilled.")] - ON_FULFILLMENT, + [Description("Reserve inventory when order is fulfilled.")] + ON_FULFILLMENT, /// ///Reserve inventory at time of sale. /// - [Description("Reserve inventory at time of sale.")] - ON_SALE, - } - - public static class SellingPlanReserveStringValues - { - public const string ON_FULFILLMENT = @"ON_FULFILLMENT"; - public const string ON_SALE = @"ON_SALE"; - } - + [Description("Reserve inventory at time of sale.")] + ON_SALE, + } + + public static class SellingPlanReserveStringValues + { + public const string ON_FULFILLMENT = @"ON_FULFILLMENT"; + public const string ON_SALE = @"ON_SALE"; + } + /// ///A server pixel stores configuration for streaming customer interactions to an EventBridge or PubSub endpoint. /// - [Description("A server pixel stores configuration for streaming customer interactions to an EventBridge or PubSub endpoint.")] - public class ServerPixel : GraphQLObject, INode - { + [Description("A server pixel stores configuration for streaming customer interactions to an EventBridge or PubSub endpoint.")] + public class ServerPixel : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The current state of this server pixel. /// - [Description("The current state of this server pixel.")] - [EnumType(typeof(ServerPixelStatus))] - public string? status { get; set; } - + [Description("The current state of this server pixel.")] + [EnumType(typeof(ServerPixelStatus))] + public string? status { get; set; } + /// ///Address of the EventBridge or PubSub endpoint. /// - [Description("Address of the EventBridge or PubSub endpoint.")] - public string? webhookEndpointAddress { get; set; } - } - + [Description("Address of the EventBridge or PubSub endpoint.")] + public string? webhookEndpointAddress { get; set; } + } + /// ///Return type for `serverPixelCreate` mutation. /// - [Description("Return type for `serverPixelCreate` mutation.")] - public class ServerPixelCreatePayload : GraphQLObject - { + [Description("Return type for `serverPixelCreate` mutation.")] + public class ServerPixelCreatePayload : GraphQLObject + { /// ///The new server pixel. /// - [Description("The new server pixel.")] - public ServerPixel? serverPixel { get; set; } - + [Description("The new server pixel.")] + public ServerPixel? serverPixel { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `serverPixelDelete` mutation. /// - [Description("Return type for `serverPixelDelete` mutation.")] - public class ServerPixelDeletePayload : GraphQLObject - { + [Description("Return type for `serverPixelDelete` mutation.")] + public class ServerPixelDeletePayload : GraphQLObject + { /// ///The ID of the server pixel that was deleted, if one was deleted. /// - [Description("The ID of the server pixel that was deleted, if one was deleted.")] - public string? deletedServerPixelId { get; set; } - + [Description("The ID of the server pixel that was deleted, if one was deleted.")] + public string? deletedServerPixelId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The current state of a server pixel. /// - [Description("The current state of a server pixel.")] - public enum ServerPixelStatus - { + [Description("The current state of a server pixel.")] + public enum ServerPixelStatus + { /// ///This server pixel is connected: it will stream customer events to the endpoint if it is configured properly. /// - [Description("This server pixel is connected: it will stream customer events to the endpoint if it is configured properly.")] - CONNECTED, + [Description("This server pixel is connected: it will stream customer events to the endpoint if it is configured properly.")] + CONNECTED, /// ///This server pixel is disconnected and unconfigured: it does not stream events to the endpoint and no endpoint address had been added to the server pixel. /// - [Description("This server pixel is disconnected and unconfigured: it does not stream events to the endpoint and no endpoint address had been added to the server pixel.")] - DISCONNECTED_UNCONFIGURED, + [Description("This server pixel is disconnected and unconfigured: it does not stream events to the endpoint and no endpoint address had been added to the server pixel.")] + DISCONNECTED_UNCONFIGURED, /// ///This server pixel is disconnected: it does not stream events to the endpoint and an endpoint address has been added to the server pixel. /// - [Description("This server pixel is disconnected: it does not stream events to the endpoint and an endpoint address has been added to the server pixel.")] - DISCONNECTED_CONFIGURED, - } - - public static class ServerPixelStatusStringValues - { - public const string CONNECTED = @"CONNECTED"; - public const string DISCONNECTED_UNCONFIGURED = @"DISCONNECTED_UNCONFIGURED"; - public const string DISCONNECTED_CONFIGURED = @"DISCONNECTED_CONFIGURED"; - } - + [Description("This server pixel is disconnected: it does not stream events to the endpoint and an endpoint address has been added to the server pixel.")] + DISCONNECTED_CONFIGURED, + } + + public static class ServerPixelStatusStringValues + { + public const string CONNECTED = @"CONNECTED"; + public const string DISCONNECTED_UNCONFIGURED = @"DISCONNECTED_UNCONFIGURED"; + public const string DISCONNECTED_CONFIGURED = @"DISCONNECTED_CONFIGURED"; + } + /// ///The set of valid sort keys for the ShipmentLineItem query. /// - [Description("The set of valid sort keys for the ShipmentLineItem query.")] - public enum ShipmentLineItemSortKeys - { + [Description("The set of valid sort keys for the ShipmentLineItem query.")] + public enum ShipmentLineItemSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class ShipmentLineItemSortKeysStringValues - { - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class ShipmentLineItemSortKeysStringValues + { + public const string ID = @"ID"; + } + /// ///The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations) ///that's used to control how discounts can be combined. /// - [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] - public enum ShippingDiscountClass - { + [Description("The [discount class](https://help.shopify.com/manual/discounts/combining-discounts/discount-combinations)\nthat's used to control how discounts can be combined.")] + public enum ShippingDiscountClass + { /// ///Combined as a shipping discount. /// - [Description("Combined as a shipping discount.")] - SHIPPING, - } - - public static class ShippingDiscountClassStringValues - { - public const string SHIPPING = @"SHIPPING"; - } - + [Description("Combined as a shipping discount.")] + SHIPPING, + } + + public static class ShippingDiscountClassStringValues + { + public const string SHIPPING = @"SHIPPING"; + } + /// ///Represents the shipping details that the customer chose for their order. /// - [Description("Represents the shipping details that the customer chose for their order.")] - public class ShippingLine : GraphQLObject, IDraftOrderPlatformDiscountAllocationTarget - { + [Description("Represents the shipping details that the customer chose for their order.")] + public class ShippingLine : GraphQLObject, IDraftOrderPlatformDiscountAllocationTarget + { /// ///A reference to the carrier service that provided the rate. ///Present when the rate was computed by a third-party carrier service. /// - [Description("A reference to the carrier service that provided the rate.\nPresent when the rate was computed by a third-party carrier service.")] - public string? carrierIdentifier { get; set; } - + [Description("A reference to the carrier service that provided the rate.\nPresent when the rate was computed by a third-party carrier service.")] + public string? carrierIdentifier { get; set; } + /// ///A reference to the shipping method. /// - [Description("A reference to the shipping method.")] - public string? code { get; set; } - + [Description("A reference to the shipping method.")] + public string? code { get; set; } + /// ///The current shipping price after applying refunds, after applying discounts. If the parent `order.taxesIncluded`` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price. /// - [Description("The current shipping price after applying refunds, after applying discounts. If the parent `order.taxesIncluded`` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.")] - [NonNull] - public MoneyBag? currentDiscountedPriceSet { get; set; } - + [Description("The current shipping price after applying refunds, after applying discounts. If the parent `order.taxesIncluded`` field is true, then this price includes taxes. Otherwise, this field is the pre-tax price.")] + [NonNull] + public MoneyBag? currentDiscountedPriceSet { get; set; } + /// ///Whether the shipping line is custom or not. /// - [Description("Whether the shipping line is custom or not.")] - [NonNull] - public bool? custom { get; set; } - + [Description("Whether the shipping line is custom or not.")] + [NonNull] + public bool? custom { get; set; } + /// ///The general classification of the delivery method. /// - [Description("The general classification of the delivery method.")] - public string? deliveryCategory { get; set; } - + [Description("The general classification of the delivery method.")] + public string? deliveryCategory { get; set; } + /// ///The discounts that have been allocated to the shipping line. /// - [Description("The discounts that have been allocated to the shipping line.")] - [NonNull] - public IEnumerable? discountAllocations { get; set; } - + [Description("The discounts that have been allocated to the shipping line.")] + [NonNull] + public IEnumerable? discountAllocations { get; set; } + /// ///The pre-tax shipping price with discounts applied. ///As of API version 2024-07, this will be calculated including cart level discounts, such as the free shipping discount. /// - [Description("The pre-tax shipping price with discounts applied.\nAs of API version 2024-07, this will be calculated including cart level discounts, such as the free shipping discount.")] - [Obsolete("Use `discountedPriceSet` instead.")] - [NonNull] - public MoneyV2? discountedPrice { get; set; } - + [Description("The pre-tax shipping price with discounts applied.\nAs of API version 2024-07, this will be calculated including cart level discounts, such as the free shipping discount.")] + [Obsolete("Use `discountedPriceSet` instead.")] + [NonNull] + public MoneyV2? discountedPrice { get; set; } + /// ///The shipping price after applying discounts. If the parent order.taxesIncluded field is true, then this price includes taxes. If not, it's the pre-tax price. ///As of API version 2024-07, this will be calculated including cart level discounts, such as the free shipping discount. /// - [Description("The shipping price after applying discounts. If the parent order.taxesIncluded field is true, then this price includes taxes. If not, it's the pre-tax price.\nAs of API version 2024-07, this will be calculated including cart level discounts, such as the free shipping discount.")] - [NonNull] - public MoneyBag? discountedPriceSet { get; set; } - + [Description("The shipping price after applying discounts. If the parent order.taxesIncluded field is true, then this price includes taxes. If not, it's the pre-tax price.\nAs of API version 2024-07, this will be calculated including cart level discounts, such as the free shipping discount.")] + [NonNull] + public MoneyBag? discountedPriceSet { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + public string? id { get; set; } + /// ///Whether the shipping line has been removed. /// - [Description("Whether the shipping line has been removed.")] - [NonNull] - public bool? isRemoved { get; set; } - + [Description("Whether the shipping line has been removed.")] + [NonNull] + public bool? isRemoved { get; set; } + /// ///The pre-tax shipping price without any discounts applied. /// - [Description("The pre-tax shipping price without any discounts applied.")] - [Obsolete("Use `originalPriceSet` instead.")] - [NonNull] - public MoneyV2? originalPrice { get; set; } - + [Description("The pre-tax shipping price without any discounts applied.")] + [Obsolete("Use `originalPriceSet` instead.")] + [NonNull] + public MoneyV2? originalPrice { get; set; } + /// ///The pre-tax shipping price without any discounts applied. /// - [Description("The pre-tax shipping price without any discounts applied.")] - [NonNull] - public MoneyBag? originalPriceSet { get; set; } - + [Description("The pre-tax shipping price without any discounts applied.")] + [NonNull] + public MoneyBag? originalPriceSet { get; set; } + /// ///The phone number at the shipping address. /// - [Description("The phone number at the shipping address.")] - public string? phone { get; set; } - + [Description("The phone number at the shipping address.")] + public string? phone { get; set; } + /// ///Returns the price of the shipping line. /// - [Description("Returns the price of the shipping line.")] - [Obsolete("Use `originalPriceSet` instead.")] - [NonNull] - public decimal? price { get; set; } - + [Description("Returns the price of the shipping line.")] + [Obsolete("Use `originalPriceSet` instead.")] + [NonNull] + public decimal? price { get; set; } + /// ///A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users. /// - [Description("A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.")] - public string? shippingRateHandle { get; set; } - + [Description("A unique identifier for the shipping rate. The format can change without notice and isn't meant to be shown to users.")] + public string? shippingRateHandle { get; set; } + /// ///Returns the rate source for the shipping line. /// - [Description("Returns the rate source for the shipping line.")] - public string? source { get; set; } - + [Description("Returns the rate source for the shipping line.")] + public string? source { get; set; } + /// ///The TaxLine objects connected to this shipping line. /// - [Description("The TaxLine objects connected to this shipping line.")] - [NonNull] - public IEnumerable? taxLines { get; set; } - + [Description("The TaxLine objects connected to this shipping line.")] + [NonNull] + public IEnumerable? taxLines { get; set; } + /// ///Returns the title of the shipping line. /// - [Description("Returns the title of the shipping line.")] - [NonNull] - public string? title { get; set; } - } - + [Description("Returns the title of the shipping line.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple ShippingLines. /// - [Description("An auto-generated type for paginating through multiple ShippingLines.")] - public class ShippingLineConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ShippingLines.")] + public class ShippingLineConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ShippingLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ShippingLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ShippingLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ShippingLine and a cursor during pagination. /// - [Description("An auto-generated type which holds one ShippingLine and a cursor during pagination.")] - public class ShippingLineEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ShippingLine and a cursor during pagination.")] + public class ShippingLineEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ShippingLineEdge. /// - [Description("The item at the end of ShippingLineEdge.")] - [NonNull] - public ShippingLine? node { get; set; } - } - + [Description("The item at the end of ShippingLineEdge.")] + [NonNull] + public ShippingLine? node { get; set; } + } + /// ///The input fields for specifying the shipping details for the draft order. /// ///> Note: ///> A custom shipping line includes a title and price with `shippingRateHandle` set to `nil`. A shipping line with a carrier-provided shipping rate (currently set via the Shopify admin) includes the shipping rate handle. /// - [Description("The input fields for specifying the shipping details for the draft order.\n\n> Note:\n> A custom shipping line includes a title and price with `shippingRateHandle` set to `nil`. A shipping line with a carrier-provided shipping rate (currently set via the Shopify admin) includes the shipping rate handle.")] - public class ShippingLineInput : GraphQLObject - { + [Description("The input fields for specifying the shipping details for the draft order.\n\n> Note:\n> A custom shipping line includes a title and price with `shippingRateHandle` set to `nil`. A shipping line with a carrier-provided shipping rate (currently set via the Shopify admin) includes the shipping rate handle.")] + public class ShippingLineInput : GraphQLObject + { /// ///Price of the shipping rate in shop currency. /// - [Description("Price of the shipping rate in shop currency.")] - [Obsolete("`priceWithCurrency` should be used instead, where currencies can be specified.")] - public decimal? price { get; set; } - + [Description("Price of the shipping rate in shop currency.")] + [Obsolete("`priceWithCurrency` should be used instead, where currencies can be specified.")] + public decimal? price { get; set; } + /// ///Price of the shipping rate with currency. If provided, `price` will be ignored. /// - [Description("Price of the shipping rate with currency. If provided, `price` will be ignored.")] - public MoneyInput? priceWithCurrency { get; set; } - + [Description("Price of the shipping rate with currency. If provided, `price` will be ignored.")] + public MoneyInput? priceWithCurrency { get; set; } + /// ///A unique identifier for the shipping rate. /// - [Description("A unique identifier for the shipping rate.")] - public string? shippingRateHandle { get; set; } - + [Description("A unique identifier for the shipping rate.")] + public string? shippingRateHandle { get; set; } + /// ///Title of the shipping rate. /// - [Description("Title of the shipping rate.")] - public string? title { get; set; } - } - + [Description("Title of the shipping rate.")] + public string? title { get; set; } + } + /// ///A sale associated with a shipping charge. /// - [Description("A sale associated with a shipping charge.")] - public class ShippingLineSale : GraphQLObject, ISale - { + [Description("A sale associated with a shipping charge.")] + public class ShippingLineSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///The shipping line item for the associated sale. `shippingLine` is not available if the `SaleActionType` is a return. /// - [Description("The shipping line item for the associated sale. `shippingLine` is not available if the `SaleActionType` is a return.")] - public ShippingLine? shippingLine { get; set; } - + [Description("The shipping line item for the associated sale. `shippingLine` is not available if the `SaleActionType` is a return.")] + public ShippingLine? shippingLine { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///Return type for `shippingPackageDelete` mutation. /// - [Description("Return type for `shippingPackageDelete` mutation.")] - public class ShippingPackageDeletePayload : GraphQLObject - { + [Description("Return type for `shippingPackageDelete` mutation.")] + public class ShippingPackageDeletePayload : GraphQLObject + { /// ///The ID of the deleted shipping package. /// - [Description("The ID of the deleted shipping package.")] - public string? deletedId { get; set; } - + [Description("The ID of the deleted shipping package.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `shippingPackageMakeDefault` mutation. /// - [Description("Return type for `shippingPackageMakeDefault` mutation.")] - public class ShippingPackageMakeDefaultPayload : GraphQLObject - { + [Description("Return type for `shippingPackageMakeDefault` mutation.")] + public class ShippingPackageMakeDefaultPayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Type of a shipping package. /// - [Description("Type of a shipping package.")] - public enum ShippingPackageType - { + [Description("Type of a shipping package.")] + public enum ShippingPackageType + { /// ///A shipping box. /// - [Description("A shipping box.")] - BOX, + [Description("A shipping box.")] + BOX, /// ///A flat rate packaging supplied by a carrier. /// - [Description("A flat rate packaging supplied by a carrier.")] - FLAT_RATE, + [Description("A flat rate packaging supplied by a carrier.")] + FLAT_RATE, /// ///An envelope. /// - [Description("An envelope.")] - ENVELOPE, + [Description("An envelope.")] + ENVELOPE, /// ///A soft-pack, bubble-wrap or vinyl envelope. /// - [Description("A soft-pack, bubble-wrap or vinyl envelope.")] - SOFT_PACK, - } - - public static class ShippingPackageTypeStringValues - { - public const string BOX = @"BOX"; - public const string FLAT_RATE = @"FLAT_RATE"; - public const string ENVELOPE = @"ENVELOPE"; - public const string SOFT_PACK = @"SOFT_PACK"; - } - + [Description("A soft-pack, bubble-wrap or vinyl envelope.")] + SOFT_PACK, + } + + public static class ShippingPackageTypeStringValues + { + public const string BOX = @"BOX"; + public const string FLAT_RATE = @"FLAT_RATE"; + public const string ENVELOPE = @"ENVELOPE"; + public const string SOFT_PACK = @"SOFT_PACK"; + } + /// ///Return type for `shippingPackageUpdate` mutation. /// - [Description("Return type for `shippingPackageUpdate` mutation.")] - public class ShippingPackageUpdatePayload : GraphQLObject - { + [Description("Return type for `shippingPackageUpdate` mutation.")] + public class ShippingPackageUpdatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A shipping rate is an additional cost added to the cost of the products that were ordered. /// - [Description("A shipping rate is an additional cost added to the cost of the products that were ordered.")] - public class ShippingRate : GraphQLObject - { + [Description("A shipping rate is an additional cost added to the cost of the products that were ordered.")] + public class ShippingRate : GraphQLObject + { /// ///Human-readable unique identifier for this shipping rate. /// - [Description("Human-readable unique identifier for this shipping rate.")] - [NonNull] - public string? handle { get; set; } - + [Description("Human-readable unique identifier for this shipping rate.")] + [NonNull] + public string? handle { get; set; } + /// ///The cost associated with the shipping rate. /// - [Description("The cost associated with the shipping rate.")] - [NonNull] - public MoneyV2? price { get; set; } - + [Description("The cost associated with the shipping rate.")] + [NonNull] + public MoneyV2? price { get; set; } + /// ///The name of the shipping rate. /// - [Description("The name of the shipping rate.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the shipping rate.")] + [NonNull] + public string? title { get; set; } + } + /// ///Represents the shipping costs refunded on the Refund. /// - [Description("Represents the shipping costs refunded on the Refund.")] - public class ShippingRefund : GraphQLObject - { + [Description("Represents the shipping costs refunded on the Refund.")] + public class ShippingRefund : GraphQLObject + { /// ///The monetary value of the shipping fees to be refunded. /// - [Description("The monetary value of the shipping fees to be refunded.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("The monetary value of the shipping fees to be refunded.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The monetary value of the shipping fees to be refunded in shop and presentment currencies. /// - [Description("The monetary value of the shipping fees to be refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The monetary value of the shipping fees to be refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The maximum amount of shipping fees currently refundable. /// - [Description("The maximum amount of shipping fees currently refundable.")] - [Obsolete("Use `maximumRefundableSet` instead.")] - [NonNull] - public decimal? maximumRefundable { get; set; } - + [Description("The maximum amount of shipping fees currently refundable.")] + [Obsolete("Use `maximumRefundableSet` instead.")] + [NonNull] + public decimal? maximumRefundable { get; set; } + /// ///The maximum amount of shipping fees currently refundable in shop and presentment currencies. /// - [Description("The maximum amount of shipping fees currently refundable in shop and presentment currencies.")] - [NonNull] - public MoneyBag? maximumRefundableSet { get; set; } - + [Description("The maximum amount of shipping fees currently refundable in shop and presentment currencies.")] + [NonNull] + public MoneyBag? maximumRefundableSet { get; set; } + /// ///The monetary value of the tax allocated to shipping fees to be refunded. /// - [Description("The monetary value of the tax allocated to shipping fees to be refunded.")] - [Obsolete("Use `taxSet` instead.")] - [NonNull] - public decimal? tax { get; set; } - + [Description("The monetary value of the tax allocated to shipping fees to be refunded.")] + [Obsolete("Use `taxSet` instead.")] + [NonNull] + public decimal? tax { get; set; } + /// ///The monetary value of the tax allocated to shipping fees to be refunded in shop and presentment currencies. /// - [Description("The monetary value of the tax allocated to shipping fees to be refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? taxSet { get; set; } - } - + [Description("The monetary value of the tax allocated to shipping fees to be refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? taxSet { get; set; } + } + /// ///The input fields that are required to reimburse shipping costs. /// - [Description("The input fields that are required to reimburse shipping costs.")] - public class ShippingRefundInput : GraphQLObject - { + [Description("The input fields that are required to reimburse shipping costs.")] + public class ShippingRefundInput : GraphQLObject + { /// ///The monetary value of the shipping fees to be reimbursed. /// - [Description("The monetary value of the shipping fees to be reimbursed.")] - public decimal? amount { get; set; } - + [Description("The monetary value of the shipping fees to be reimbursed.")] + public decimal? amount { get; set; } + /// ///Whether a full refund is provided. /// - [Description("Whether a full refund is provided.")] - public bool? fullRefund { get; set; } - } - + [Description("Whether a full refund is provided.")] + public bool? fullRefund { get; set; } + } + /// ///Represents a collection of general settings and information about the shop. /// - [Description("Represents a collection of general settings and information about the shop.")] - public class Shop : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode, IMetafieldReferencer - { + [Description("Represents a collection of general settings and information about the shop.")] + public class Shop : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, IHasPublishedTranslations, INode, IMetafieldReferencer + { /// ///Account owner information. /// - [Description("Account owner information.")] - [NonNull] - public StaffMember? accountOwner { get; set; } - + [Description("Account owner information.")] + [NonNull] + public StaffMember? accountOwner { get; set; } + /// ///A list of the shop's active alert messages that appear in the Shopify admin. /// - [Description("A list of the shop's active alert messages that appear in the Shopify admin.")] - [NonNull] - public IEnumerable? alerts { get; set; } - + [Description("A list of the shop's active alert messages that appear in the Shopify admin.")] + [NonNull] + public IEnumerable? alerts { get; set; } + /// ///A list of the shop's product categories. Limit: 1000 product categories. /// - [Description("A list of the shop's product categories. Limit: 1000 product categories.")] - [Obsolete("Use `allProductCategoriesList` instead.")] - [NonNull] - public IEnumerable? allProductCategories { get; set; } - + [Description("A list of the shop's product categories. Limit: 1000 product categories.")] + [Obsolete("Use `allProductCategoriesList` instead.")] + [NonNull] + public IEnumerable? allProductCategories { get; set; } + /// ///A list of the shop's product categories. Limit: 1000 product categories. /// - [Description("A list of the shop's product categories. Limit: 1000 product categories.")] - [NonNull] - public IEnumerable? allProductCategoriesList { get; set; } - + [Description("A list of the shop's product categories. Limit: 1000 product categories.")] + [NonNull] + public IEnumerable? allProductCategoriesList { get; set; } + /// ///The token required to query the shop's reports or dashboards. /// - [Description("The token required to query the shop's reports or dashboards.")] - [Obsolete("Not supported anymore.")] - [NonNull] - public string? analyticsToken { get; set; } - + [Description("The token required to query the shop's reports or dashboards.")] + [Obsolete("Not supported anymore.")] + [NonNull] + public string? analyticsToken { get; set; } + /// ///Whether the shop is eligible for app trials offered by third-party apps. /// - [Description("Whether the shop is eligible for app trials offered by third-party apps.")] - [NonNull] - public bool? appTrialEligible { get; set; } - + [Description("Whether the shop is eligible for app trials offered by third-party apps.")] + [NonNull] + public bool? appTrialEligible { get; set; } + /// ///The paginated list of fulfillment orders assigned to the shop locations owned by the app. /// @@ -113419,4312 +113419,4312 @@ public class Shop : GraphQLObject, IHasMetafieldDefinitions, IHasMetafield ///Perform filtering with the `assignmentStatus` argument ///to receive only fulfillment orders that have been requested to be fulfilled. /// - [Description("The paginated list of fulfillment orders assigned to the shop locations owned by the app.\n\nAssigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations\nmanaged by\n[fulfillment services](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\nthat are registered by the app.\nOne app (api_client) can host multiple fulfillment services on a shop.\nEach fulfillment service manages a dedicated location on a shop.\nAssigned fulfillment orders can have associated\n[fulfillment requests](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus),\nor might currently not be requested to be fulfilled.\n\nThe app must have `read_assigned_fulfillment_orders`\n[access scope](https://shopify.dev/docs/api/usage/access-scopes)\nto be able to retrieve fulfillment orders assigned to its locations.\n\nAll assigned fulfillment orders (except those with the `CLOSED` status) will be returned by default.\nPerform filtering with the `assignmentStatus` argument\nto receive only fulfillment orders that have been requested to be fulfilled.")] - [Obsolete("Use `QueryRoot.assignedFulfillmentOrders` instead. Details: https://shopify.dev/changelog/moving-the-shop-assignedfulfillmentorders-connection-to-queryroot")] - [NonNull] - public FulfillmentOrderConnection? assignedFulfillmentOrders { get; set; } - + [Description("The paginated list of fulfillment orders assigned to the shop locations owned by the app.\n\nAssigned fulfillment orders are fulfillment orders that are set to be fulfilled from locations\nmanaged by\n[fulfillment services](https://shopify.dev/api/admin-graphql/latest/objects/FulfillmentService)\nthat are registered by the app.\nOne app (api_client) can host multiple fulfillment services on a shop.\nEach fulfillment service manages a dedicated location on a shop.\nAssigned fulfillment orders can have associated\n[fulfillment requests](https://shopify.dev/api/admin-graphql/latest/enums/FulfillmentOrderRequestStatus),\nor might currently not be requested to be fulfilled.\n\nThe app must have `read_assigned_fulfillment_orders`\n[access scope](https://shopify.dev/docs/api/usage/access-scopes)\nto be able to retrieve fulfillment orders assigned to its locations.\n\nAll assigned fulfillment orders (except those with the `CLOSED` status) will be returned by default.\nPerform filtering with the `assignmentStatus` argument\nto receive only fulfillment orders that have been requested to be fulfilled.")] + [Obsolete("Use `QueryRoot.assignedFulfillmentOrders` instead. Details: https://shopify.dev/changelog/moving-the-shop-assignedfulfillmentorders-connection-to-queryroot")] + [NonNull] + public FulfillmentOrderConnection? assignedFulfillmentOrders { get; set; } + /// ///The list of sales channels not currently installed on the shop. /// - [Description("The list of sales channels not currently installed on the shop.")] - [NonNull] - public AppConnection? availableChannelApps { get; set; } - + [Description("The list of sales channels not currently installed on the shop.")] + [NonNull] + public AppConnection? availableChannelApps { get; set; } + /// ///The shop's billing address information. /// - [Description("The shop's billing address information.")] - [NonNull] - public ShopAddress? billingAddress { get; set; } - + [Description("The shop's billing address information.")] + [NonNull] + public ShopAddress? billingAddress { get; set; } + /// ///List of all channel definitions associated with a shop. /// - [Description("List of all channel definitions associated with a shop.")] - [NonNull] - public IEnumerable? channelDefinitionsForInstalledChannels { get; set; } - + [Description("List of all channel definitions associated with a shop.")] + [NonNull] + public IEnumerable? channelDefinitionsForInstalledChannels { get; set; } + /// ///List of the shop's active sales channels. /// - [Description("List of the shop's active sales channels.")] - [Obsolete("Use `QueryRoot.channels` instead.")] - [NonNull] - public ChannelConnection? channels { get; set; } - + [Description("List of the shop's active sales channels.")] + [Obsolete("Use `QueryRoot.channels` instead.")] + [NonNull] + public ChannelConnection? channels { get; set; } + /// ///Specifies whether the shop supports checkouts via Checkout API. /// - [Description("Specifies whether the shop supports checkouts via Checkout API.")] - [NonNull] - public bool? checkoutApiSupported { get; set; } - + [Description("Specifies whether the shop supports checkouts via Checkout API.")] + [NonNull] + public bool? checkoutApiSupported { get; set; } + /// ///List of the shop's collections. /// - [Description("List of the shop's collections.")] - [Obsolete("Use `QueryRoot.collections` instead.")] - [NonNull] - public CollectionConnection? collections { get; set; } - + [Description("List of the shop's collections.")] + [Obsolete("Use `QueryRoot.collections` instead.")] + [NonNull] + public CollectionConnection? collections { get; set; } + /// ///The public-facing contact email address for the shop. ///Customers will use this email to communicate with the shop owner. /// - [Description("The public-facing contact email address for the shop.\nCustomers will use this email to communicate with the shop owner.")] - [NonNull] - public string? contactEmail { get; set; } - + [Description("The public-facing contact email address for the shop.\nCustomers will use this email to communicate with the shop owner.")] + [NonNull] + public string? contactEmail { get; set; } + /// ///Countries that have been defined in shipping zones for the shop. /// - [Description("Countries that have been defined in shipping zones for the shop.")] - [NonNull] - public CountriesInShippingZones? countriesInShippingZones { get; set; } - + [Description("Countries that have been defined in shipping zones for the shop.")] + [NonNull] + public CountriesInShippingZones? countriesInShippingZones { get; set; } + /// ///The date and time when the shop was created. /// - [Description("The date and time when the shop was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the shop was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The three letter code for the currency that the shop sells in. /// - [Description("The three letter code for the currency that the shop sells in.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The three letter code for the currency that the shop sells in.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///How currencies are displayed on your store. /// - [Description("How currencies are displayed on your store.")] - [NonNull] - public CurrencyFormats? currencyFormats { get; set; } - + [Description("How currencies are displayed on your store.")] + [NonNull] + public CurrencyFormats? currencyFormats { get; set; } + /// ///The presentment currency settings for the shop excluding the shop's own currency. /// - [Description("The presentment currency settings for the shop excluding the shop's own currency.")] - [NonNull] - public CurrencySettingConnection? currencySettings { get; set; } - + [Description("The presentment currency settings for the shop excluding the shop's own currency.")] + [NonNull] + public CurrencySettingConnection? currencySettings { get; set; } + /// ///Whether customer accounts are required, optional, or disabled for the shop. /// - [Description("Whether customer accounts are required, optional, or disabled for the shop.")] - [NonNull] - [EnumType(typeof(ShopCustomerAccountsSetting))] - public string? customerAccounts { get; set; } - + [Description("Whether customer accounts are required, optional, or disabled for the shop.")] + [NonNull] + [EnumType(typeof(ShopCustomerAccountsSetting))] + public string? customerAccounts { get; set; } + /// ///Information about the shop's customer accounts. /// - [Description("Information about the shop's customer accounts.")] - [NonNull] - public CustomerAccountsV2? customerAccountsV2 { get; set; } - + [Description("Information about the shop's customer accounts.")] + [NonNull] + public CustomerAccountsV2? customerAccountsV2 { get; set; } + /// ///A list of tags that have been added to customer accounts. /// - [Description("A list of tags that have been added to customer accounts.")] - [NonNull] - public StringConnection? customerTags { get; set; } - + [Description("A list of tags that have been added to customer accounts.")] + [NonNull] + public StringConnection? customerTags { get; set; } + /// ///Customer accounts associated to the shop. /// - [Description("Customer accounts associated to the shop.")] - [Obsolete("Use `QueryRoot.customers` instead.")] - [NonNull] - public CustomerConnection? customers { get; set; } - + [Description("Customer accounts associated to the shop.")] + [Obsolete("Use `QueryRoot.customers` instead.")] + [NonNull] + public CustomerConnection? customers { get; set; } + /// ///The shop's meta description used in search engine results. /// - [Description("The shop's meta description used in search engine results.")] - public string? description { get; set; } - + [Description("The shop's meta description used in search engine results.")] + public string? description { get; set; } + /// ///The domains configured for the shop. /// - [Description("The domains configured for the shop.")] - [Obsolete("Use `domainsPaginated` instead.")] - [NonNull] - public IEnumerable? domains { get; set; } - + [Description("The domains configured for the shop.")] + [Obsolete("Use `domainsPaginated` instead.")] + [NonNull] + public IEnumerable? domains { get; set; } + /// ///The domains configured for the shop. /// - [Description("The domains configured for the shop.")] - [NonNull] - public DomainConnection? domainsPaginated { get; set; } - + [Description("The domains configured for the shop.")] + [NonNull] + public DomainConnection? domainsPaginated { get; set; } + /// ///A list of tags that have been added to draft orders. /// - [Description("A list of tags that have been added to draft orders.")] - [NonNull] - public StringConnection? draftOrderTags { get; set; } - + [Description("A list of tags that have been added to draft orders.")] + [NonNull] + public StringConnection? draftOrderTags { get; set; } + /// ///The shop owner's email address. ///Shopify will use this email address to communicate with the shop owner. /// - [Description("The shop owner's email address.\nShopify will use this email address to communicate with the shop owner.")] - [NonNull] - public string? email { get; set; } - + [Description("The shop owner's email address.\nShopify will use this email address to communicate with the shop owner.")] + [NonNull] + public string? email { get; set; } + /// ///The configuration for the shop email sender. /// - [Description("The configuration for the shop email sender.")] - [NonNull] - public EmailSenderConfiguration? emailSenderConfiguration { get; set; } - + [Description("The configuration for the shop email sender.")] + [NonNull] + public EmailSenderConfiguration? emailSenderConfiguration { get; set; } + /// ///The presentment currencies enabled for the shop. /// - [Description("The presentment currencies enabled for the shop.")] - [NonNull] - public IEnumerable? enabledPresentmentCurrencies { get; set; } - + [Description("The presentment currencies enabled for the shop.")] + [NonNull] + public IEnumerable? enabledPresentmentCurrencies { get; set; } + /// ///The entitlements for a shop. /// - [Description("The entitlements for a shop.")] - [NonNull] - public EntitlementsType? entitlements { get; set; } - + [Description("The entitlements for a shop.")] + [NonNull] + public EntitlementsType? entitlements { get; set; } + /// ///The set of features enabled for the shop. /// - [Description("The set of features enabled for the shop.")] - [NonNull] - public ShopFeatures? features { get; set; } - + [Description("The set of features enabled for the shop.")] + [NonNull] + public ShopFeatures? features { get; set; } + /// ///The paginated list of merchant-managed and third-party fulfillment orders. /// - [Description("The paginated list of merchant-managed and third-party fulfillment orders.")] - [Obsolete("Use `QueryRoot.fulfillmentOrders` instead.")] - [NonNull] - public FulfillmentOrderConnection? fulfillmentOrders { get; set; } - + [Description("The paginated list of merchant-managed and third-party fulfillment orders.")] + [Obsolete("Use `QueryRoot.fulfillmentOrders` instead.")] + [NonNull] + public FulfillmentOrderConnection? fulfillmentOrders { get; set; } + /// ///List of the shop's installed fulfillment services. /// - [Description("List of the shop's installed fulfillment services.")] - [NonNull] - public IEnumerable? fulfillmentServices { get; set; } - + [Description("List of the shop's installed fulfillment services.")] + [NonNull] + public IEnumerable? fulfillmentServices { get; set; } + /// ///The shop's time zone as defined by the IANA. /// - [Description("The shop's time zone as defined by the IANA.")] - [NonNull] - public string? ianaTimezone { get; set; } - + [Description("The shop's time zone as defined by the IANA.")] + [NonNull] + public string? ianaTimezone { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///List of the shop's inventory items. /// - [Description("List of the shop's inventory items.")] - [Obsolete("Use `QueryRoot.inventoryItems` instead.")] - [NonNull] - public InventoryItemConnection? inventoryItems { get; set; } - + [Description("List of the shop's inventory items.")] + [Obsolete("Use `QueryRoot.inventoryItems` instead.")] + [NonNull] + public InventoryItemConnection? inventoryItems { get; set; } + /// ///The number of pendings orders on the shop. ///Limited to a maximum of 10000. /// - [Description("The number of pendings orders on the shop.\nLimited to a maximum of 10000.")] - [Obsolete("Use `QueryRoot.pendingOrdersCount` instead.")] - [NonNull] - public LimitedPendingOrderCount? limitedPendingOrderCount { get; set; } - + [Description("The number of pendings orders on the shop.\nLimited to a maximum of 10000.")] + [Obsolete("Use `QueryRoot.pendingOrdersCount` instead.")] + [NonNull] + public LimitedPendingOrderCount? limitedPendingOrderCount { get; set; } + /// ///List of active locations of the shop. /// - [Description("List of active locations of the shop.")] - [Obsolete("Use `QueryRoot.locations` instead.")] - [NonNull] - public LocationConnection? locations { get; set; } - + [Description("List of active locations of the shop.")] + [Obsolete("Use `QueryRoot.locations` instead.")] + [NonNull] + public LocationConnection? locations { get; set; } + /// ///Whether SMS marketing has been enabled on the shop's checkout configuration settings. /// - [Description("Whether SMS marketing has been enabled on the shop's checkout configuration settings.")] - [NonNull] - public bool? marketingSmsConsentEnabledAtCheckout { get; set; } - + [Description("Whether SMS marketing has been enabled on the shop's checkout configuration settings.")] + [NonNull] + public bool? marketingSmsConsentEnabledAtCheckout { get; set; } + /// ///Merchant signals for apps. /// - [Description("Merchant signals for apps.")] - public MerchantAppSignals? merchantAppSignals { get; set; } - + [Description("Merchant signals for apps.")] + public MerchantAppSignals? merchantAppSignals { get; set; } + /// ///The approval signals for a shop to support onboarding to channel apps. /// - [Description("The approval signals for a shop to support onboarding to channel apps.")] - public MerchantApprovalSignals? merchantApprovalSignals { get; set; } - + [Description("The approval signals for a shop to support onboarding to channel apps.")] + public MerchantApprovalSignals? merchantApprovalSignals { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The shop's .myshopify.com domain name. /// - [Description("The shop's .myshopify.com domain name.")] - [NonNull] - public string? myshopifyDomain { get; set; } - + [Description("The shop's .myshopify.com domain name.")] + [NonNull] + public string? myshopifyDomain { get; set; } + /// ///The shop's name. /// - [Description("The shop's name.")] - [NonNull] - public string? name { get; set; } - + [Description("The shop's name.")] + [NonNull] + public string? name { get; set; } + /// ///The shop's settings related to navigation. /// - [Description("The shop's settings related to navigation.")] - [NonNull] - public IEnumerable? navigationSettings { get; set; } - + [Description("The shop's settings related to navigation.")] + [NonNull] + public IEnumerable? navigationSettings { get; set; } + /// ///The prefix that appears before order numbers. /// - [Description("The prefix that appears before order numbers.")] - [NonNull] - public string? orderNumberFormatPrefix { get; set; } - + [Description("The prefix that appears before order numbers.")] + [NonNull] + public string? orderNumberFormatPrefix { get; set; } + /// ///The suffix that appears after order numbers. /// - [Description("The suffix that appears after order numbers.")] - [NonNull] - public string? orderNumberFormatSuffix { get; set; } - + [Description("The suffix that appears after order numbers.")] + [NonNull] + public string? orderNumberFormatSuffix { get; set; } + /// ///A list of tags that have been added to orders. /// - [Description("A list of tags that have been added to orders.")] - [NonNull] - public StringConnection? orderTags { get; set; } - + [Description("A list of tags that have been added to orders.")] + [NonNull] + public StringConnection? orderTags { get; set; } + /// ///A list of the shop's orders. /// - [Description("A list of the shop's orders.")] - [Obsolete("Use `QueryRoot.orders` instead.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("A list of the shop's orders.")] + [Obsolete("Use `QueryRoot.orders` instead.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///The shop's settings related to payments. /// - [Description("The shop's settings related to payments.")] - [NonNull] - public PaymentSettings? paymentSettings { get; set; } - + [Description("The shop's settings related to payments.")] + [NonNull] + public PaymentSettings? paymentSettings { get; set; } + /// ///The shop's billing plan. /// - [Description("The shop's billing plan.")] - [NonNull] - public ShopPlan? plan { get; set; } - + [Description("The shop's billing plan.")] + [NonNull] + public ShopPlan? plan { get; set; } + /// ///The primary domain of the shop's online store. /// - [Description("The primary domain of the shop's online store.")] - [NonNull] - public Domain? primaryDomain { get; set; } - + [Description("The primary domain of the shop's online store.")] + [NonNull] + public Domain? primaryDomain { get; set; } + /// ///The list of all images of all products for the shop. /// - [Description("The list of all images of all products for the shop.")] - [Obsolete("Use `files` instead. See [filesQuery](https://shopify.dev/docs/api/admin-graphql/latest/queries/files) and its [query](https://shopify.dev/docs/api/admin-graphql/latest/queries/files#argument-query) argument for more information.")] - [NonNull] - public ImageConnection? productImages { get; set; } - + [Description("The list of all images of all products for the shop.")] + [Obsolete("Use `files` instead. See [filesQuery](https://shopify.dev/docs/api/admin-graphql/latest/queries/files) and its [query](https://shopify.dev/docs/api/admin-graphql/latest/queries/files#argument-query) argument for more information.")] + [NonNull] + public ImageConnection? productImages { get; set; } + /// ///A list of tags that have been added to products. /// - [Description("A list of tags that have been added to products.")] - [Obsolete("Use `QueryRoot.productTags` instead.")] - [NonNull] - public StringConnection? productTags { get; set; } - + [Description("A list of tags that have been added to products.")] + [Obsolete("Use `QueryRoot.productTags` instead.")] + [NonNull] + public StringConnection? productTags { get; set; } + /// ///The list of types added to products. /// - [Description("The list of types added to products.")] - [Obsolete("Use `QueryRoot.productTypes` instead.")] - [NonNull] - public StringConnection? productTypes { get; set; } - + [Description("The list of types added to products.")] + [Obsolete("Use `QueryRoot.productTypes` instead.")] + [NonNull] + public StringConnection? productTypes { get; set; } + /// ///List of the shop's product variants. /// - [Description("List of the shop's product variants.")] - [Obsolete("Use `QueryRoot.productVariants` instead.")] - [NonNull] - public ProductVariantConnection? productVariants { get; set; } - + [Description("List of the shop's product variants.")] + [Obsolete("Use `QueryRoot.productVariants` instead.")] + [NonNull] + public ProductVariantConnection? productVariants { get; set; } + /// ///The list of vendors added to products. /// - [Description("The list of vendors added to products.")] - [Obsolete("Use `QueryRoot.productVendors` instead.")] - [NonNull] - public StringConnection? productVendors { get; set; } - + [Description("The list of vendors added to products.")] + [Obsolete("Use `QueryRoot.productVendors` instead.")] + [NonNull] + public StringConnection? productVendors { get; set; } + /// ///List of the shop's products. /// - [Description("List of the shop's products.")] - [Obsolete("Use `QueryRoot.products`.")] - [NonNull] - public ProductConnection? products { get; set; } - + [Description("List of the shop's products.")] + [Obsolete("Use `QueryRoot.products`.")] + [NonNull] + public ProductConnection? products { get; set; } + /// ///The number of publications for the shop. /// - [Description("The number of publications for the shop.")] - [Obsolete("Use `QueryRoot.publicationsCount` instead.")] - [NonNull] - public int? publicationCount { get; set; } - + [Description("The number of publications for the shop.")] + [Obsolete("Use `QueryRoot.publicationsCount` instead.")] + [NonNull] + public int? publicationCount { get; set; } + /// ///The shop's limits for specific resources. For example, the maximum number ofvariants allowed per product, or the maximum number of locations allowed. /// - [Description("The shop's limits for specific resources. For example, the maximum number ofvariants allowed per product, or the maximum number of locations allowed.")] - [NonNull] - public ShopResourceLimits? resourceLimits { get; set; } - + [Description("The shop's limits for specific resources. For example, the maximum number ofvariants allowed per product, or the maximum number of locations allowed.")] + [NonNull] + public ShopResourceLimits? resourceLimits { get; set; } + /// ///The URL of the rich text editor that can be used for mobile devices. /// - [Description("The URL of the rich text editor that can be used for mobile devices.")] - [NonNull] - public string? richTextEditorUrl { get; set; } - + [Description("The URL of the rich text editor that can be used for mobile devices.")] + [NonNull] + public string? richTextEditorUrl { get; set; } + /// ///Fetches a list of admin search results by a specified query. /// - [Description("Fetches a list of admin search results by a specified query.")] - [NonNull] - public SearchResultConnection? search { get; set; } - + [Description("Fetches a list of admin search results by a specified query.")] + [NonNull] + public SearchResultConnection? search { get; set; } + /// ///The list of search filter options for the shop. These can be used to filter productvisibility for the shop. /// - [Description("The list of search filter options for the shop. These can be used to filter productvisibility for the shop.")] - [NonNull] - public SearchFilterOptions? searchFilters { get; set; } - + [Description("The list of search filter options for the shop. These can be used to filter productvisibility for the shop.")] + [NonNull] + public SearchFilterOptions? searchFilters { get; set; } + /// ///Whether the shop has outstanding setup steps. /// - [Description("Whether the shop has outstanding setup steps.")] - [NonNull] - public bool? setupRequired { get; set; } - + [Description("Whether the shop has outstanding setup steps.")] + [NonNull] + public bool? setupRequired { get; set; } + /// ///The list of countries that the shop ships to. /// - [Description("The list of countries that the shop ships to.")] - [NonNull] - public IEnumerable? shipsToCountries { get; set; } - + [Description("The list of countries that the shop ships to.")] + [NonNull] + public IEnumerable? shipsToCountries { get; set; } + /// ///The name of the shop owner. /// - [Description("The name of the shop owner.")] - [NonNull] - public string? shopOwnerName { get; set; } - + [Description("The name of the shop owner.")] + [NonNull] + public string? shopOwnerName { get; set; } + /// ///The list of all legal policies associated with a shop. /// - [Description("The list of all legal policies associated with a shop.")] - [NonNull] - public IEnumerable? shopPolicies { get; set; } - + [Description("The list of all legal policies associated with a shop.")] + [NonNull] + public IEnumerable? shopPolicies { get; set; } + /// ///The paginated list of the shop's staff members. /// - [Description("The paginated list of the shop's staff members.")] - [Obsolete("Use `QueryRoot.staffMembers` instead.")] - [NonNull] - public StaffMemberConnection? staffMembers { get; set; } - + [Description("The paginated list of the shop's staff members.")] + [Obsolete("Use `QueryRoot.staffMembers` instead.")] + [NonNull] + public StaffMemberConnection? staffMembers { get; set; } + /// ///The storefront access token of a private application. These are scoped per-application. /// - [Description("The storefront access token of a private application. These are scoped per-application.")] - [NonNull] - public StorefrontAccessTokenConnection? storefrontAccessTokens { get; set; } - + [Description("The storefront access token of a private application. These are scoped per-application.")] + [NonNull] + public StorefrontAccessTokenConnection? storefrontAccessTokens { get; set; } + /// ///The URL of the shop's storefront. /// - [Description("The URL of the shop's storefront.")] - [Obsolete("Use `url` instead.")] - [NonNull] - public string? storefrontUrl { get; set; } - + [Description("The URL of the shop's storefront.")] + [Obsolete("Use `url` instead.")] + [NonNull] + public string? storefrontUrl { get; set; } + /// ///Whether the shop charges taxes for shipping. /// - [Description("Whether the shop charges taxes for shipping.")] - [NonNull] - public bool? taxShipping { get; set; } - + [Description("Whether the shop charges taxes for shipping.")] + [NonNull] + public bool? taxShipping { get; set; } + /// ///Whether applicable taxes are included in the shop's product prices. /// - [Description("Whether applicable taxes are included in the shop's product prices.")] - [NonNull] - public bool? taxesIncluded { get; set; } - + [Description("Whether applicable taxes are included in the shop's product prices.")] + [NonNull] + public bool? taxesIncluded { get; set; } + /// ///All third party app subscription overrides for the shop. /// - [Description("All third party app subscription overrides for the shop.")] - [NonNull] - public ThirdPartyAppSubscriptionOverrideType? thirdPartyAppSubscriptionOverride { get; set; } - + [Description("All third party app subscription overrides for the shop.")] + [NonNull] + public ThirdPartyAppSubscriptionOverrideType? thirdPartyAppSubscriptionOverride { get; set; } + /// ///The shop's time zone abbreviation. /// - [Description("The shop's time zone abbreviation.")] - [NonNull] - public string? timezoneAbbreviation { get; set; } - + [Description("The shop's time zone abbreviation.")] + [NonNull] + public string? timezoneAbbreviation { get; set; } + /// ///The shop's time zone offset. /// - [Description("The shop's time zone offset.")] - [NonNull] - public string? timezoneOffset { get; set; } - + [Description("The shop's time zone offset.")] + [NonNull] + public string? timezoneOffset { get; set; } + /// ///The shop's time zone offset expressed as a number of minutes. /// - [Description("The shop's time zone offset expressed as a number of minutes.")] - [NonNull] - public int? timezoneOffsetMinutes { get; set; } - + [Description("The shop's time zone offset expressed as a number of minutes.")] + [NonNull] + public int? timezoneOffsetMinutes { get; set; } + /// ///Whether transactional SMS sent by Shopify have been disabled for a shop. /// - [Description("Whether transactional SMS sent by Shopify have been disabled for a shop.")] - [NonNull] - public bool? transactionalSmsDisabled { get; set; } - + [Description("Whether transactional SMS sent by Shopify have been disabled for a shop.")] + [NonNull] + public bool? transactionalSmsDisabled { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The shop's unit system for weights and measures. /// - [Description("The shop's unit system for weights and measures.")] - [NonNull] - [EnumType(typeof(UnitSystem))] - public string? unitSystem { get; set; } - + [Description("The shop's unit system for weights and measures.")] + [NonNull] + [EnumType(typeof(UnitSystem))] + public string? unitSystem { get; set; } + /// ///The date and time when the shop was last updated. /// - [Description("The date and time when the shop was last updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the shop was last updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + /// ///The URL of the shop's online store. /// - [Description("The URL of the shop's online store.")] - [NonNull] - public string? url { get; set; } - + [Description("The URL of the shop's online store.")] + [NonNull] + public string? url { get; set; } + /// ///The shop's primary unit of weight for products and shipping. /// - [Description("The shop's primary unit of weight for products and shipping.")] - [NonNull] - [EnumType(typeof(WeightUnit))] - public string? weightUnit { get; set; } - } - + [Description("The shop's primary unit of weight for products and shipping.")] + [NonNull] + [EnumType(typeof(WeightUnit))] + public string? weightUnit { get; set; } + } + /// ///An address for a shop. /// - [Description("An address for a shop.")] - public class ShopAddress : GraphQLObject, INode - { + [Description("An address for a shop.")] + public class ShopAddress : GraphQLObject, INode + { /// ///The first line of the address. Typically the street address or PO Box number. /// - [Description("The first line of the address. Typically the street address or PO Box number.")] - public string? address1 { get; set; } - + [Description("The first line of the address. Typically the street address or PO Box number.")] + public string? address1 { get; set; } + /// ///The second line of the address. Typically the number of the apartment, suite, or unit. /// - [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] - public string? address2 { get; set; } - + [Description("The second line of the address. Typically the number of the apartment, suite, or unit.")] + public string? address2 { get; set; } + /// ///The name of the city, district, village, or town. /// - [Description("The name of the city, district, village, or town.")] - public string? city { get; set; } - + [Description("The name of the city, district, village, or town.")] + public string? city { get; set; } + /// ///The name of the company or organization. /// - [Description("The name of the company or organization.")] - public string? company { get; set; } - + [Description("The name of the company or organization.")] + public string? company { get; set; } + /// ///Whether the address coordinates are valid. /// - [Description("Whether the address coordinates are valid.")] - [NonNull] - public bool? coordinatesValidated { get; set; } - + [Description("Whether the address coordinates are valid.")] + [NonNull] + public bool? coordinatesValidated { get; set; } + /// ///The name of the country. /// - [Description("The name of the country.")] - public string? country { get; set; } - + [Description("The name of the country.")] + public string? country { get; set; } + /// ///The two-letter code for the country of the address. /// ///For example, US. /// - [Description("The two-letter code for the country of the address.\n\nFor example, US.")] - [Obsolete("Use `countryCodeV2` instead.")] - public string? countryCode { get; set; } - + [Description("The two-letter code for the country of the address.\n\nFor example, US.")] + [Obsolete("Use `countryCodeV2` instead.")] + public string? countryCode { get; set; } + /// ///The two-letter code for the country of the address. /// ///For example, US. /// - [Description("The two-letter code for the country of the address.\n\nFor example, US.")] - [EnumType(typeof(CountryCode))] - public string? countryCodeV2 { get; set; } - + [Description("The two-letter code for the country of the address.\n\nFor example, US.")] + [EnumType(typeof(CountryCode))] + public string? countryCodeV2 { get; set; } + /// ///The first name. /// - [Description("The first name.")] - [Obsolete("Always null in this context.")] - public string? firstName { get; set; } - + [Description("The first name.")] + [Obsolete("Always null in this context.")] + public string? firstName { get; set; } + /// ///A formatted version of the address, customized by the provided arguments. /// - [Description("A formatted version of the address, customized by the provided arguments.")] - [NonNull] - public IEnumerable? formatted { get; set; } - + [Description("A formatted version of the address, customized by the provided arguments.")] + [NonNull] + public IEnumerable? formatted { get; set; } + /// ///A comma-separated list of the values for city, province, and country. /// - [Description("A comma-separated list of the values for city, province, and country.")] - public string? formattedArea { get; set; } - + [Description("A comma-separated list of the values for city, province, and country.")] + public string? formattedArea { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The last name. /// - [Description("The last name.")] - [Obsolete("Always null in this context.")] - public string? lastName { get; set; } - + [Description("The last name.")] + [Obsolete("Always null in this context.")] + public string? lastName { get; set; } + /// ///The latitude coordinate of the address. /// - [Description("The latitude coordinate of the address.")] - public decimal? latitude { get; set; } - + [Description("The latitude coordinate of the address.")] + public decimal? latitude { get; set; } + /// ///The longitude coordinate of the address. /// - [Description("The longitude coordinate of the address.")] - public decimal? longitude { get; set; } - + [Description("The longitude coordinate of the address.")] + public decimal? longitude { get; set; } + /// ///The full name, based on firstName and lastName. /// - [Description("The full name, based on firstName and lastName.")] - [Obsolete("Always null in this context.")] - public string? name { get; set; } - + [Description("The full name, based on firstName and lastName.")] + [Obsolete("Always null in this context.")] + public string? name { get; set; } + /// ///A phone number associated with the address. /// ///Formatted using E.164 standard. For example, _+16135551111_. /// - [Description("A phone number associated with the address.\n\nFormatted using E.164 standard. For example, _+16135551111_.")] - public string? phone { get; set; } - + [Description("A phone number associated with the address.\n\nFormatted using E.164 standard. For example, _+16135551111_.")] + public string? phone { get; set; } + /// ///The region of the address, such as the province, state, or district. /// - [Description("The region of the address, such as the province, state, or district.")] - public string? province { get; set; } - + [Description("The region of the address, such as the province, state, or district.")] + public string? province { get; set; } + /// ///The alphanumeric code for the region. /// ///For example, ON. /// - [Description("The alphanumeric code for the region.\n\nFor example, ON.")] - public string? provinceCode { get; set; } - + [Description("The alphanumeric code for the region.\n\nFor example, ON.")] + public string? provinceCode { get; set; } + /// ///The zip or postal code of the address. /// - [Description("The zip or postal code of the address.")] - public string? zip { get; set; } - } - + [Description("The zip or postal code of the address.")] + public string? zip { get; set; } + } + /// ///An alert message that appears in the Shopify admin about a problem with a store setting, with an action to take. For example, you could show an alert to ask the merchant to enter their billing information to activate Shopify Plus. /// - [Description("An alert message that appears in the Shopify admin about a problem with a store setting, with an action to take. For example, you could show an alert to ask the merchant to enter their billing information to activate Shopify Plus.")] - public class ShopAlert : GraphQLObject - { + [Description("An alert message that appears in the Shopify admin about a problem with a store setting, with an action to take. For example, you could show an alert to ask the merchant to enter their billing information to activate Shopify Plus.")] + public class ShopAlert : GraphQLObject + { /// ///The text for the button in the alert that links to related information. For example, _Add credit card_. /// - [Description("The text for the button in the alert that links to related information. For example, _Add credit card_.")] - [NonNull] - public ShopAlertAction? action { get; set; } - + [Description("The text for the button in the alert that links to related information. For example, _Add credit card_.")] + [NonNull] + public ShopAlertAction? action { get; set; } + /// ///A description of the alert and further information, such as whether the merchant will be charged. /// - [Description("A description of the alert and further information, such as whether the merchant will be charged.")] - [NonNull] - public string? description { get; set; } - } - + [Description("A description of the alert and further information, such as whether the merchant will be charged.")] + [NonNull] + public string? description { get; set; } + } + /// ///An action associated to a shop alert, such as adding a credit card. /// - [Description("An action associated to a shop alert, such as adding a credit card.")] - public class ShopAlertAction : GraphQLObject - { + [Description("An action associated to a shop alert, such as adding a credit card.")] + public class ShopAlertAction : GraphQLObject + { /// ///The text for the button in the alert. For example, _Add credit card_. /// - [Description("The text for the button in the alert. For example, _Add credit card_.")] - [NonNull] - public string? title { get; set; } - + [Description("The text for the button in the alert. For example, _Add credit card_.")] + [NonNull] + public string? title { get; set; } + /// ///The target URL that the button links to. /// - [Description("The target URL that the button links to.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The target URL that the button links to.")] + [NonNull] + public string? url { get; set; } + } + /// ///Billing preferences for the shop. /// - [Description("Billing preferences for the shop.")] - public class ShopBillingPreferences : GraphQLObject - { + [Description("Billing preferences for the shop.")] + public class ShopBillingPreferences : GraphQLObject + { /// ///The currency the shop uses to pay for apps and services. /// - [Description("The currency the shop uses to pay for apps and services.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - } - + [Description("The currency the shop uses to pay for apps and services.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + } + /// ///Possible branding of a shop. ///Branding can be used to define the look of a shop including its styling and logo in the Shopify Admin. /// - [Description("Possible branding of a shop.\nBranding can be used to define the look of a shop including its styling and logo in the Shopify Admin.")] - public enum ShopBranding - { + [Description("Possible branding of a shop.\nBranding can be used to define the look of a shop including its styling and logo in the Shopify Admin.")] + public enum ShopBranding + { /// ///Shop has Shopify Gold branding. /// - [Description("Shop has Shopify Gold branding.")] - SHOPIFY_GOLD, + [Description("Shop has Shopify Gold branding.")] + SHOPIFY_GOLD, /// ///Shop has Shopify Plus branding. /// - [Description("Shop has Shopify Plus branding.")] - SHOPIFY_PLUS, + [Description("Shop has Shopify Plus branding.")] + SHOPIFY_PLUS, /// ///Shop has Rogers branding. /// - [Description("Shop has Rogers branding.")] - ROGERS, + [Description("Shop has Rogers branding.")] + ROGERS, /// ///Shop has Shopify branding. /// - [Description("Shop has Shopify branding.")] - SHOPIFY, - } - - public static class ShopBrandingStringValues - { - public const string SHOPIFY_GOLD = @"SHOPIFY_GOLD"; - public const string SHOPIFY_PLUS = @"SHOPIFY_PLUS"; - public const string ROGERS = @"ROGERS"; - public const string SHOPIFY = @"SHOPIFY"; - } - + [Description("Shop has Shopify branding.")] + SHOPIFY, + } + + public static class ShopBrandingStringValues + { + public const string SHOPIFY_GOLD = @"SHOPIFY_GOLD"; + public const string SHOPIFY_PLUS = @"SHOPIFY_PLUS"; + public const string ROGERS = @"ROGERS"; + public const string SHOPIFY = @"SHOPIFY"; + } + /// ///Represents the shop's customer account requirement preference. /// - [Description("Represents the shop's customer account requirement preference.")] - public enum ShopCustomerAccountsSetting - { - REQUIRED, - OPTIONAL, - DISABLED, - } - - public static class ShopCustomerAccountsSettingStringValues - { - public const string REQUIRED = @"REQUIRED"; - public const string OPTIONAL = @"OPTIONAL"; - public const string DISABLED = @"DISABLED"; - } - + [Description("Represents the shop's customer account requirement preference.")] + public enum ShopCustomerAccountsSetting + { + REQUIRED, + OPTIONAL, + DISABLED, + } + + public static class ShopCustomerAccountsSettingStringValues + { + public const string REQUIRED = @"REQUIRED"; + public const string OPTIONAL = @"OPTIONAL"; + public const string DISABLED = @"DISABLED"; + } + /// ///Represents the feature set available to the shop. ///Most fields specify whether a feature is enabled for a shop, and some fields return information ///related to specific features. /// - [Description("Represents the feature set available to the shop.\nMost fields specify whether a feature is enabled for a shop, and some fields return information\nrelated to specific features.")] - public class ShopFeatures : GraphQLObject - { + [Description("Represents the feature set available to the shop.\nMost fields specify whether a feature is enabled for a shop, and some fields return information\nrelated to specific features.")] + public class ShopFeatures : GraphQLObject + { /// ///Whether a shop has access to Avalara AvaTax. /// - [Description("Whether a shop has access to Avalara AvaTax.")] - [NonNull] - public bool? avalaraAvatax { get; set; } - + [Description("Whether a shop has access to Avalara AvaTax.")] + [NonNull] + public bool? avalaraAvatax { get; set; } + /// ///The branding of the shop, which influences its look and feel in the Shopify admin. /// - [Description("The branding of the shop, which influences its look and feel in the Shopify admin.")] - [NonNull] - [EnumType(typeof(ShopBranding))] - public string? branding { get; set; } - + [Description("The branding of the shop, which influences its look and feel in the Shopify admin.")] + [NonNull] + [EnumType(typeof(ShopBranding))] + public string? branding { get; set; } + /// ///Represents the Bundles feature configuration for the shop. /// - [Description("Represents the Bundles feature configuration for the shop.")] - [NonNull] - public BundlesFeature? bundles { get; set; } - + [Description("Represents the Bundles feature configuration for the shop.")] + [NonNull] + public BundlesFeature? bundles { get; set; } + /// ///Whether a shop's online store can have CAPTCHA protection. /// - [Description("Whether a shop's online store can have CAPTCHA protection.")] - [NonNull] - public bool? captcha { get; set; } - + [Description("Whether a shop's online store can have CAPTCHA protection.")] + [NonNull] + public bool? captcha { get; set; } + /// ///Whether a shop's online store can have CAPTCHA protection for domains not managed by Shopify. /// - [Description("Whether a shop's online store can have CAPTCHA protection for domains not managed by Shopify.")] - [Obsolete("No longer required for external domains")] - [NonNull] - public bool? captchaExternalDomains { get; set; } - + [Description("Whether a shop's online store can have CAPTCHA protection for domains not managed by Shopify.")] + [Obsolete("No longer required for external domains")] + [NonNull] + public bool? captchaExternalDomains { get; set; } + /// ///Represents the cart transform feature configuration for the shop. /// - [Description("Represents the cart transform feature configuration for the shop.")] - [NonNull] - public CartTransformFeature? cartTransform { get; set; } - + [Description("Represents the cart transform feature configuration for the shop.")] + [NonNull] + public CartTransformFeature? cartTransform { get; set; } + /// ///Whether the delivery profiles functionality is enabled for this shop. /// - [Description("Whether the delivery profiles functionality is enabled for this shop.")] - [Obsolete("Delivery profiles are now 100% enabled across Shopify.")] - [NonNull] - public bool? deliveryProfiles { get; set; } - + [Description("Whether the delivery profiles functionality is enabled for this shop.")] + [Obsolete("Delivery profiles are now 100% enabled across Shopify.")] + [NonNull] + public bool? deliveryProfiles { get; set; } + /// ///Whether a shop has access to the Google Analytics dynamic remarketing feature. /// - [Description("Whether a shop has access to the Google Analytics dynamic remarketing feature.")] - [NonNull] - public bool? dynamicRemarketing { get; set; } - + [Description("Whether a shop has access to the Google Analytics dynamic remarketing feature.")] + [NonNull] + public bool? dynamicRemarketing { get; set; } + /// ///Whether the shop and app can use the Login With Shop feature. /// - [Description("Whether the shop and app can use the Login With Shop feature.")] - [NonNull] - public bool? eligibleForLoginWithShop { get; set; } - + [Description("Whether the shop and app can use the Login With Shop feature.")] + [NonNull] + public bool? eligibleForLoginWithShop { get; set; } + /// ///Whether a shop can be migrated to use Shopify subscriptions. /// - [Description("Whether a shop can be migrated to use Shopify subscriptions.")] - [NonNull] - public bool? eligibleForSubscriptionMigration { get; set; } - + [Description("Whether a shop can be migrated to use Shopify subscriptions.")] + [NonNull] + public bool? eligibleForSubscriptionMigration { get; set; } + /// ///Whether a shop is configured properly to sell subscriptions. /// - [Description("Whether a shop is configured properly to sell subscriptions.")] - [NonNull] - public bool? eligibleForSubscriptions { get; set; } - + [Description("Whether a shop is configured properly to sell subscriptions.")] + [NonNull] + public bool? eligibleForSubscriptions { get; set; } + /// ///Whether a shop can create gift cards. /// - [Description("Whether a shop can create gift cards.")] - [NonNull] - public bool? giftCards { get; set; } - + [Description("Whether a shop can create gift cards.")] + [NonNull] + public bool? giftCards { get; set; } + /// ///Whether a shop displays Harmonized System codes on products. This is used for customs when shipping ///internationally. /// - [Description("Whether a shop displays Harmonized System codes on products. This is used for customs when shipping\ninternationally.")] - [NonNull] - public bool? harmonizedSystemCode { get; set; } - + [Description("Whether a shop displays Harmonized System codes on products. This is used for customs when shipping\ninternationally.")] + [NonNull] + public bool? harmonizedSystemCode { get; set; } + /// ///Whether a shop can enable international domains. /// - [Description("Whether a shop can enable international domains.")] - [Obsolete("All shops have international domains through Shopify Markets.")] - [NonNull] - public bool? internationalDomains { get; set; } - + [Description("Whether a shop can enable international domains.")] + [Obsolete("All shops have international domains through Shopify Markets.")] + [NonNull] + public bool? internationalDomains { get; set; } + /// ///Whether a shop can enable international price overrides. /// - [Description("Whether a shop can enable international price overrides.")] - [Obsolete("Use the `markets` field on `EntitlementsType`.\nEach market entitlement has a `catalogs` field that indicates\nwhether the shop's markets have access to catalogs and price overrides.")] - [NonNull] - public bool? internationalPriceOverrides { get; set; } - + [Description("Whether a shop can enable international price overrides.")] + [Obsolete("Use the `markets` field on `EntitlementsType`.\nEach market entitlement has a `catalogs` field that indicates\nwhether the shop's markets have access to catalogs and price overrides.")] + [NonNull] + public bool? internationalPriceOverrides { get; set; } + /// ///Whether a shop can enable international price rules. /// - [Description("Whether a shop can enable international price rules.")] - [Obsolete("Use the `markets` field on `EntitlementsType`.\nEach market entitlement has a `catalogs` field that indicates\nwhether the shop's markets have access to catalogs and price overrides.")] - [NonNull] - public bool? internationalPriceRules { get; set; } - + [Description("Whether a shop can enable international price rules.")] + [Obsolete("Use the `markets` field on `EntitlementsType`.\nEach market entitlement has a `catalogs` field that indicates\nwhether the shop's markets have access to catalogs and price overrides.")] + [NonNull] + public bool? internationalPriceRules { get; set; } + /// ///Whether a shop has enabled a legacy subscription gateway to handle older subscriptions. /// - [Description("Whether a shop has enabled a legacy subscription gateway to handle older subscriptions.")] - [NonNull] - public bool? legacySubscriptionGatewayEnabled { get; set; } - + [Description("Whether a shop has enabled a legacy subscription gateway to handle older subscriptions.")] + [NonNull] + public bool? legacySubscriptionGatewayEnabled { get; set; } + /// ///Whether to show the Live View metrics in the Shopify admin. Live view is hidden from merchants that are on a trial ///or don't have a storefront. /// - [Description("Whether to show the Live View metrics in the Shopify admin. Live view is hidden from merchants that are on a trial\nor don't have a storefront.")] - [NonNull] - public bool? liveView { get; set; } - + [Description("Whether to show the Live View metrics in the Shopify admin. Live view is hidden from merchants that are on a trial\nor don't have a storefront.")] + [NonNull] + public bool? liveView { get; set; } + /// ///Whether a shop has access to the onboarding visual. /// - [Description("Whether a shop has access to the onboarding visual.")] - [Obsolete("No longer supported.")] - [NonNull] - public bool? onboardingVisual { get; set; } - + [Description("Whether a shop has access to the onboarding visual.")] + [Obsolete("No longer supported.")] + [NonNull] + public bool? onboardingVisual { get; set; } + /// ///Whether a shop is configured to sell subscriptions with PayPal Express. /// - [Description("Whether a shop is configured to sell subscriptions with PayPal Express.")] - [NonNull] - [EnumType(typeof(PaypalExpressSubscriptionsGatewayStatus))] - public string? paypalExpressSubscriptionGatewayStatus { get; set; } - + [Description("Whether a shop is configured to sell subscriptions with PayPal Express.")] + [NonNull] + [EnumType(typeof(PaypalExpressSubscriptionsGatewayStatus))] + public string? paypalExpressSubscriptionGatewayStatus { get; set; } + /// ///Whether a shop has access to all reporting features. /// - [Description("Whether a shop has access to all reporting features.")] - [NonNull] - public bool? reports { get; set; } - + [Description("Whether a shop has access to all reporting features.")] + [NonNull] + public bool? reports { get; set; } + /// ///Whether a shop has ever had subscription products. /// - [Description("Whether a shop has ever had subscription products.")] - [NonNull] - public bool? sellsSubscriptions { get; set; } - + [Description("Whether a shop has ever had subscription products.")] + [NonNull] + public bool? sellsSubscriptions { get; set; } + /// ///Whether the shop has a Shopify Plus subscription. /// - [Description("Whether the shop has a Shopify Plus subscription.")] - [Obsolete("Use Shop.plan.shopifyPlus instead.")] - [NonNull] - public bool? shopifyPlus { get; set; } - + [Description("Whether the shop has a Shopify Plus subscription.")] + [Obsolete("Use Shop.plan.shopifyPlus instead.")] + [NonNull] + public bool? shopifyPlus { get; set; } + /// ///Whether to show metrics in the Shopify admin. Metrics are hidden for new merchants until they become meaningful. /// - [Description("Whether to show metrics in the Shopify admin. Metrics are hidden for new merchants until they become meaningful.")] - [NonNull] - public bool? showMetrics { get; set; } - + [Description("Whether to show metrics in the Shopify admin. Metrics are hidden for new merchants until they become meaningful.")] + [NonNull] + public bool? showMetrics { get; set; } + /// ///Whether a shop has an online store. /// - [Description("Whether a shop has an online store.")] - [NonNull] - public bool? storefront { get; set; } - + [Description("Whether a shop has an online store.")] + [NonNull] + public bool? storefront { get; set; } + /// ///Whether a shop is eligible for Sub Country Markets. /// - [Description("Whether a shop is eligible for Sub Country Markets.")] - [NonNull] - public bool? subCountryMarketsEnabled { get; set; } - + [Description("Whether a shop is eligible for Sub Country Markets.")] + [NonNull] + public bool? subCountryMarketsEnabled { get; set; } + /// ///Whether a shop is eligible for Unified Markets. /// - [Description("Whether a shop is eligible for Unified Markets.")] - [NonNull] - public bool? unifiedMarkets { get; set; } - + [Description("Whether a shop is eligible for Unified Markets.")] + [NonNull] + public bool? unifiedMarkets { get; set; } + /// ///Whether a shop is using Shopify Balance. /// - [Description("Whether a shop is using Shopify Balance.")] - [NonNull] - public bool? usingShopifyBalance { get; set; } - } - + [Description("Whether a shop is using Shopify Balance.")] + [NonNull] + public bool? usingShopifyBalance { get; set; } + } + /// ///A locale that's been enabled on a shop. /// - [Description("A locale that's been enabled on a shop.")] - public class ShopLocale : GraphQLObject - { + [Description("A locale that's been enabled on a shop.")] + public class ShopLocale : GraphQLObject + { /// ///The locale ISO code. /// - [Description("The locale ISO code.")] - [NonNull] - public string? locale { get; set; } - + [Description("The locale ISO code.")] + [NonNull] + public string? locale { get; set; } + /// ///The market web presences that use the locale. /// - [Description("The market web presences that use the locale.")] - [NonNull] - public IEnumerable? marketWebPresences { get; set; } - + [Description("The market web presences that use the locale.")] + [NonNull] + public IEnumerable? marketWebPresences { get; set; } + /// ///The human-readable locale name. /// - [Description("The human-readable locale name.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable locale name.")] + [NonNull] + public string? name { get; set; } + /// ///Whether the locale is the default locale for the shop. /// - [Description("Whether the locale is the default locale for the shop.")] - [NonNull] - public bool? primary { get; set; } - + [Description("Whether the locale is the default locale for the shop.")] + [NonNull] + public bool? primary { get; set; } + /// ///Whether the locale is visible to buyers. /// - [Description("Whether the locale is visible to buyers.")] - [NonNull] - public bool? published { get; set; } - } - + [Description("Whether the locale is visible to buyers.")] + [NonNull] + public bool? published { get; set; } + } + /// ///Return type for `shopLocaleDisable` mutation. /// - [Description("Return type for `shopLocaleDisable` mutation.")] - public class ShopLocaleDisablePayload : GraphQLObject - { + [Description("Return type for `shopLocaleDisable` mutation.")] + public class ShopLocaleDisablePayload : GraphQLObject + { /// ///ISO code of the locale that was deleted. /// - [Description("ISO code of the locale that was deleted.")] - public string? locale { get; set; } - + [Description("ISO code of the locale that was deleted.")] + public string? locale { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `shopLocaleEnable` mutation. /// - [Description("Return type for `shopLocaleEnable` mutation.")] - public class ShopLocaleEnablePayload : GraphQLObject - { + [Description("Return type for `shopLocaleEnable` mutation.")] + public class ShopLocaleEnablePayload : GraphQLObject + { /// ///ISO code of the locale that was enabled. /// - [Description("ISO code of the locale that was enabled.")] - public ShopLocale? shopLocale { get; set; } - + [Description("ISO code of the locale that was enabled.")] + public ShopLocale? shopLocale { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for a shop locale. /// - [Description("The input fields for a shop locale.")] - public class ShopLocaleInput : GraphQLObject - { + [Description("The input fields for a shop locale.")] + public class ShopLocaleInput : GraphQLObject + { /// ///Whether the locale is published. Only published locales are visible to the buyer. /// - [Description("Whether the locale is published. Only published locales are visible to the buyer.")] - public bool? published { get; set; } - + [Description("Whether the locale is published. Only published locales are visible to the buyer.")] + public bool? published { get; set; } + /// ///The market web presences on which the locale should be enabled. Pass in an empty array to remove the locale across all market web presences. /// - [Description("The market web presences on which the locale should be enabled. Pass in an empty array to remove the locale across all market web presences.")] - public IEnumerable? marketWebPresenceIds { get; set; } - } - + [Description("The market web presences on which the locale should be enabled. Pass in an empty array to remove the locale across all market web presences.")] + public IEnumerable? marketWebPresenceIds { get; set; } + } + /// ///Return type for `shopLocaleUpdate` mutation. /// - [Description("Return type for `shopLocaleUpdate` mutation.")] - public class ShopLocaleUpdatePayload : GraphQLObject - { + [Description("Return type for `shopLocaleUpdate` mutation.")] + public class ShopLocaleUpdatePayload : GraphQLObject + { /// ///The locale that was updated. /// - [Description("The locale that was updated.")] - public ShopLocale? shopLocale { get; set; } - + [Description("The locale that was updated.")] + public ShopLocale? shopLocale { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Shop Pay Installments payment details related to a transaction. /// - [Description("Shop Pay Installments payment details related to a transaction.")] - public class ShopPayInstallmentsPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails - { + [Description("Shop Pay Installments payment details related to a transaction.")] + public class ShopPayInstallmentsPaymentDetails : GraphQLObject, IBasePaymentDetails, IPaymentDetails + { /// ///The name of payment method used by the buyer. /// - [Description("The name of payment method used by the buyer.")] - public string? paymentMethodName { get; set; } - } - + [Description("The name of payment method used by the buyer.")] + public string? paymentMethodName { get; set; } + } + /// ///Represents a Shop Pay payment request. /// - [Description("Represents a Shop Pay payment request.")] - public class ShopPayPaymentRequest : GraphQLObject - { + [Description("Represents a Shop Pay payment request.")] + public class ShopPayPaymentRequest : GraphQLObject + { /// ///The discounts for the payment request order. /// - [Description("The discounts for the payment request order.")] - public IEnumerable? discounts { get; set; } - + [Description("The discounts for the payment request order.")] + public IEnumerable? discounts { get; set; } + /// ///The line items for the payment request. /// - [Description("The line items for the payment request.")] - [NonNull] - public IEnumerable? lineItems { get; set; } - + [Description("The line items for the payment request.")] + [NonNull] + public IEnumerable? lineItems { get; set; } + /// ///The presentment currency for the payment request. /// - [Description("The presentment currency for the payment request.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? presentmentCurrency { get; set; } - + [Description("The presentment currency for the payment request.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? presentmentCurrency { get; set; } + /// ///The delivery method type for the payment request. /// - [Description("The delivery method type for the payment request.")] - [NonNull] - [EnumType(typeof(ShopPayPaymentRequestDeliveryMethodType))] - public string? selectedDeliveryMethodType { get; set; } - + [Description("The delivery method type for the payment request.")] + [NonNull] + [EnumType(typeof(ShopPayPaymentRequestDeliveryMethodType))] + public string? selectedDeliveryMethodType { get; set; } + /// ///The shipping address for the payment request. /// - [Description("The shipping address for the payment request.")] - public ShopPayPaymentRequestContactField? shippingAddress { get; set; } - + [Description("The shipping address for the payment request.")] + public ShopPayPaymentRequestContactField? shippingAddress { get; set; } + /// ///The shipping lines for the payment request. /// - [Description("The shipping lines for the payment request.")] - [NonNull] - public IEnumerable? shippingLines { get; set; } - + [Description("The shipping lines for the payment request.")] + [NonNull] + public IEnumerable? shippingLines { get; set; } + /// ///The subtotal amount for the payment request. /// - [Description("The subtotal amount for the payment request.")] - [NonNull] - public MoneyV2? subtotal { get; set; } - + [Description("The subtotal amount for the payment request.")] + [NonNull] + public MoneyV2? subtotal { get; set; } + /// ///The total amount for the payment request. /// - [Description("The total amount for the payment request.")] - [NonNull] - public MoneyV2? total { get; set; } - + [Description("The total amount for the payment request.")] + [NonNull] + public MoneyV2? total { get; set; } + /// ///The total shipping price for the payment request. /// - [Description("The total shipping price for the payment request.")] - public ShopPayPaymentRequestTotalShippingPrice? totalShippingPrice { get; set; } - + [Description("The total shipping price for the payment request.")] + public ShopPayPaymentRequestTotalShippingPrice? totalShippingPrice { get; set; } + /// ///The total tax for the payment request. /// - [Description("The total tax for the payment request.")] - public MoneyV2? totalTax { get; set; } - } - + [Description("The total tax for the payment request.")] + public MoneyV2? totalTax { get; set; } + } + /// ///Represents a contact field for a Shop Pay payment request. /// - [Description("Represents a contact field for a Shop Pay payment request.")] - public class ShopPayPaymentRequestContactField : GraphQLObject - { + [Description("Represents a contact field for a Shop Pay payment request.")] + public class ShopPayPaymentRequestContactField : GraphQLObject + { /// ///The first address line of the contact field. /// - [Description("The first address line of the contact field.")] - [NonNull] - public string? address1 { get; set; } - + [Description("The first address line of the contact field.")] + [NonNull] + public string? address1 { get; set; } + /// ///The second address line of the contact field. /// - [Description("The second address line of the contact field.")] - public string? address2 { get; set; } - + [Description("The second address line of the contact field.")] + public string? address2 { get; set; } + /// ///The city of the contact field. /// - [Description("The city of the contact field.")] - [NonNull] - public string? city { get; set; } - + [Description("The city of the contact field.")] + [NonNull] + public string? city { get; set; } + /// ///The company name of the contact field. /// - [Description("The company name of the contact field.")] - public string? companyName { get; set; } - + [Description("The company name of the contact field.")] + public string? companyName { get; set; } + /// ///The country of the contact field. /// - [Description("The country of the contact field.")] - [NonNull] - public string? countryCode { get; set; } - + [Description("The country of the contact field.")] + [NonNull] + public string? countryCode { get; set; } + /// ///The email of the contact field. /// - [Description("The email of the contact field.")] - public string? email { get; set; } - + [Description("The email of the contact field.")] + public string? email { get; set; } + /// ///The first name of the contact field. /// - [Description("The first name of the contact field.")] - [NonNull] - public string? firstName { get; set; } - + [Description("The first name of the contact field.")] + [NonNull] + public string? firstName { get; set; } + /// ///The last name of the contact field. /// - [Description("The last name of the contact field.")] - [NonNull] - public string? lastName { get; set; } - + [Description("The last name of the contact field.")] + [NonNull] + public string? lastName { get; set; } + /// ///The phone number of the contact field. /// - [Description("The phone number of the contact field.")] - public string? phone { get; set; } - + [Description("The phone number of the contact field.")] + public string? phone { get; set; } + /// ///The postal code of the contact field. /// - [Description("The postal code of the contact field.")] - public string? postalCode { get; set; } - + [Description("The postal code of the contact field.")] + public string? postalCode { get; set; } + /// ///The province of the contact field. /// - [Description("The province of the contact field.")] - public string? provinceCode { get; set; } - } - + [Description("The province of the contact field.")] + public string? provinceCode { get; set; } + } + /// ///Represents the delivery method type for a Shop Pay payment request. /// - [Description("Represents the delivery method type for a Shop Pay payment request.")] - public enum ShopPayPaymentRequestDeliveryMethodType - { + [Description("Represents the delivery method type for a Shop Pay payment request.")] + public enum ShopPayPaymentRequestDeliveryMethodType + { /// ///The delivery method type is shipping. /// - [Description("The delivery method type is shipping.")] - SHIPPING, + [Description("The delivery method type is shipping.")] + SHIPPING, /// ///The delivery method type is pickup. /// - [Description("The delivery method type is pickup.")] - PICKUP, - } - - public static class ShopPayPaymentRequestDeliveryMethodTypeStringValues - { - public const string SHIPPING = @"SHIPPING"; - public const string PICKUP = @"PICKUP"; - } - + [Description("The delivery method type is pickup.")] + PICKUP, + } + + public static class ShopPayPaymentRequestDeliveryMethodTypeStringValues + { + public const string SHIPPING = @"SHIPPING"; + public const string PICKUP = @"PICKUP"; + } + /// ///Represents a discount for a Shop Pay payment request. /// - [Description("Represents a discount for a Shop Pay payment request.")] - public class ShopPayPaymentRequestDiscount : GraphQLObject - { + [Description("Represents a discount for a Shop Pay payment request.")] + public class ShopPayPaymentRequestDiscount : GraphQLObject + { /// ///The amount of the discount. /// - [Description("The amount of the discount.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the discount.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The label of the discount. /// - [Description("The label of the discount.")] - [NonNull] - public string? label { get; set; } - } - + [Description("The label of the discount.")] + [NonNull] + public string? label { get; set; } + } + /// ///Represents an image for a Shop Pay payment request line item. /// - [Description("Represents an image for a Shop Pay payment request line item.")] - public class ShopPayPaymentRequestImage : GraphQLObject - { + [Description("Represents an image for a Shop Pay payment request line item.")] + public class ShopPayPaymentRequestImage : GraphQLObject + { /// ///The alt text of the image. /// - [Description("The alt text of the image.")] - public string? alt { get; set; } - + [Description("The alt text of the image.")] + public string? alt { get; set; } + /// ///The source URL of the image. /// - [Description("The source URL of the image.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The source URL of the image.")] + [NonNull] + public string? url { get; set; } + } + /// ///Represents a line item for a Shop Pay payment request. /// - [Description("Represents a line item for a Shop Pay payment request.")] - public class ShopPayPaymentRequestLineItem : GraphQLObject - { + [Description("Represents a line item for a Shop Pay payment request.")] + public class ShopPayPaymentRequestLineItem : GraphQLObject + { /// ///The final item price for the line item. /// - [Description("The final item price for the line item.")] - [NonNull] - public MoneyV2? finalItemPrice { get; set; } - + [Description("The final item price for the line item.")] + [NonNull] + public MoneyV2? finalItemPrice { get; set; } + /// ///The final line price for the line item. /// - [Description("The final line price for the line item.")] - [NonNull] - public MoneyV2? finalLinePrice { get; set; } - + [Description("The final line price for the line item.")] + [NonNull] + public MoneyV2? finalLinePrice { get; set; } + /// ///The image of the line item. /// - [Description("The image of the line item.")] - public ShopPayPaymentRequestImage? image { get; set; } - + [Description("The image of the line item.")] + public ShopPayPaymentRequestImage? image { get; set; } + /// ///The item discounts for the line item. /// - [Description("The item discounts for the line item.")] - public IEnumerable? itemDiscounts { get; set; } - + [Description("The item discounts for the line item.")] + public IEnumerable? itemDiscounts { get; set; } + /// ///The label of the line item. /// - [Description("The label of the line item.")] - [NonNull] - public string? label { get; set; } - + [Description("The label of the line item.")] + [NonNull] + public string? label { get; set; } + /// ///The line discounts for the line item. /// - [Description("The line discounts for the line item.")] - public IEnumerable? lineDiscounts { get; set; } - + [Description("The line discounts for the line item.")] + public IEnumerable? lineDiscounts { get; set; } + /// ///The original item price for the line item. /// - [Description("The original item price for the line item.")] - public MoneyV2? originalItemPrice { get; set; } - + [Description("The original item price for the line item.")] + public MoneyV2? originalItemPrice { get; set; } + /// ///The original line price for the line item. /// - [Description("The original line price for the line item.")] - public MoneyV2? originalLinePrice { get; set; } - + [Description("The original line price for the line item.")] + public MoneyV2? originalLinePrice { get; set; } + /// ///The quantity of the line item. /// - [Description("The quantity of the line item.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the line item.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether the line item requires shipping. /// - [Description("Whether the line item requires shipping.")] - public bool? requiresShipping { get; set; } - + [Description("Whether the line item requires shipping.")] + public bool? requiresShipping { get; set; } + /// ///The SKU of the line item. /// - [Description("The SKU of the line item.")] - public string? sku { get; set; } - } - + [Description("The SKU of the line item.")] + public string? sku { get; set; } + } + /// ///The receipt of Shop Pay payment request session submission. /// - [Description("The receipt of Shop Pay payment request session submission.")] - public class ShopPayPaymentRequestReceipt : GraphQLObject - { + [Description("The receipt of Shop Pay payment request session submission.")] + public class ShopPayPaymentRequestReceipt : GraphQLObject + { /// ///The date and time when the payment request receipt was created. /// - [Description("The date and time when the payment request receipt was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the payment request receipt was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The order that's associated with the payment request receipt. /// - [Description("The order that's associated with the payment request receipt.")] - public Order? order { get; set; } - + [Description("The order that's associated with the payment request receipt.")] + public Order? order { get; set; } + /// ///The shop pay payment request object. /// - [Description("The shop pay payment request object.")] - [NonNull] - public ShopPayPaymentRequest? paymentRequest { get; set; } - + [Description("The shop pay payment request object.")] + [NonNull] + public ShopPayPaymentRequest? paymentRequest { get; set; } + /// ///The status of the payment request session submission. /// - [Description("The status of the payment request session submission.")] - [NonNull] - public ShopPayPaymentRequestReceiptProcessingStatus? processingStatus { get; set; } - + [Description("The status of the payment request session submission.")] + [NonNull] + public ShopPayPaymentRequestReceiptProcessingStatus? processingStatus { get; set; } + /// ///The source identifier provided in the `ShopPayPaymentRequestSessionCreate` mutation. /// - [Description("The source identifier provided in the `ShopPayPaymentRequestSessionCreate` mutation.")] - [NonNull] - public string? sourceIdentifier { get; set; } - + [Description("The source identifier provided in the `ShopPayPaymentRequestSessionCreate` mutation.")] + [NonNull] + public string? sourceIdentifier { get; set; } + /// ///The token of the receipt, initially returned by an `ShopPayPaymentRequestSessionSubmit` mutation. /// - [Description("The token of the receipt, initially returned by an `ShopPayPaymentRequestSessionSubmit` mutation.")] - [NonNull] - public string? token { get; set; } - } - + [Description("The token of the receipt, initially returned by an `ShopPayPaymentRequestSessionSubmit` mutation.")] + [NonNull] + public string? token { get; set; } + } + /// ///An auto-generated type for paginating through multiple ShopPayPaymentRequestReceipts. /// - [Description("An auto-generated type for paginating through multiple ShopPayPaymentRequestReceipts.")] - public class ShopPayPaymentRequestReceiptConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ShopPayPaymentRequestReceipts.")] + public class ShopPayPaymentRequestReceiptConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ShopPayPaymentRequestReceiptEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ShopPayPaymentRequestReceiptEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ShopPayPaymentRequestReceiptEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ShopPayPaymentRequestReceipt and a cursor during pagination. /// - [Description("An auto-generated type which holds one ShopPayPaymentRequestReceipt and a cursor during pagination.")] - public class ShopPayPaymentRequestReceiptEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ShopPayPaymentRequestReceipt and a cursor during pagination.")] + public class ShopPayPaymentRequestReceiptEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ShopPayPaymentRequestReceiptEdge. /// - [Description("The item at the end of ShopPayPaymentRequestReceiptEdge.")] - [NonNull] - public ShopPayPaymentRequestReceipt? node { get; set; } - } - + [Description("The item at the end of ShopPayPaymentRequestReceiptEdge.")] + [NonNull] + public ShopPayPaymentRequestReceipt? node { get; set; } + } + /// ///The processing status of a Shop Pay payment request. ///Represents the different states a payment request can be in during its lifecycle, ///from initial creation through to completion or failure. /// - [Description("The processing status of a Shop Pay payment request.\nRepresents the different states a payment request can be in during its lifecycle,\nfrom initial creation through to completion or failure.")] - public class ShopPayPaymentRequestReceiptProcessingStatus : GraphQLObject - { + [Description("The processing status of a Shop Pay payment request.\nRepresents the different states a payment request can be in during its lifecycle,\nfrom initial creation through to completion or failure.")] + public class ShopPayPaymentRequestReceiptProcessingStatus : GraphQLObject + { /// ///A standardized error code, independent of the payment provider. /// - [Description("A standardized error code, independent of the payment provider.")] - [EnumType(typeof(ShopPayPaymentRequestReceiptProcessingStatusErrorCode))] - public string? errorCode { get; set; } - + [Description("A standardized error code, independent of the payment provider.")] + [EnumType(typeof(ShopPayPaymentRequestReceiptProcessingStatusErrorCode))] + public string? errorCode { get; set; } + /// ///The message of the payment request receipt. /// - [Description("The message of the payment request receipt.")] - public string? message { get; set; } - + [Description("The message of the payment request receipt.")] + public string? message { get; set; } + /// ///The state of the payment request receipt. /// - [Description("The state of the payment request receipt.")] - [NonNull] - [EnumType(typeof(ShopPayPaymentRequestReceiptProcessingStatusState))] - public string? state { get; set; } - } - + [Description("The state of the payment request receipt.")] + [NonNull] + [EnumType(typeof(ShopPayPaymentRequestReceiptProcessingStatusState))] + public string? state { get; set; } + } + /// ///A standardized error code, independent of the payment provider. /// - [Description("A standardized error code, independent of the payment provider.")] - public enum ShopPayPaymentRequestReceiptProcessingStatusErrorCode - { + [Description("A standardized error code, independent of the payment provider.")] + public enum ShopPayPaymentRequestReceiptProcessingStatusErrorCode + { /// ///The card number is incorrect. /// - [Description("The card number is incorrect.")] - INCORRECT_NUMBER, + [Description("The card number is incorrect.")] + INCORRECT_NUMBER, /// ///The format of the card number is incorrect. /// - [Description("The format of the card number is incorrect.")] - INVALID_NUMBER, + [Description("The format of the card number is incorrect.")] + INVALID_NUMBER, /// ///The format of the expiry date is incorrect. /// - [Description("The format of the expiry date is incorrect.")] - INVALID_EXPIRY_DATE, + [Description("The format of the expiry date is incorrect.")] + INVALID_EXPIRY_DATE, /// ///The format of the CVC is incorrect. /// - [Description("The format of the CVC is incorrect.")] - INVALID_CVC, + [Description("The format of the CVC is incorrect.")] + INVALID_CVC, /// ///The card is expired. /// - [Description("The card is expired.")] - EXPIRED_CARD, + [Description("The card is expired.")] + EXPIRED_CARD, /// ///The CVC does not match the card number. /// - [Description("The CVC does not match the card number.")] - INCORRECT_CVC, + [Description("The CVC does not match the card number.")] + INCORRECT_CVC, /// ///The ZIP or postal code does not match the card number. /// - [Description("The ZIP or postal code does not match the card number.")] - INCORRECT_ZIP, + [Description("The ZIP or postal code does not match the card number.")] + INCORRECT_ZIP, /// ///The address does not match the card number. /// - [Description("The address does not match the card number.")] - INCORRECT_ADDRESS, + [Description("The address does not match the card number.")] + INCORRECT_ADDRESS, /// ///The entered PIN is incorrect. /// - [Description("The entered PIN is incorrect.")] - INCORRECT_PIN, + [Description("The entered PIN is incorrect.")] + INCORRECT_PIN, /// ///The amount is too small. /// - [Description("The amount is too small.")] - AMOUNT_TOO_SMALL, + [Description("The amount is too small.")] + AMOUNT_TOO_SMALL, /// ///The card was declined. /// - [Description("The card was declined.")] - CARD_DECLINED, + [Description("The card was declined.")] + CARD_DECLINED, /// ///There was an error while processing the payment. /// - [Description("There was an error while processing the payment.")] - PROCESSING_ERROR, + [Description("There was an error while processing the payment.")] + PROCESSING_ERROR, /// ///Call the card issuer. /// - [Description("Call the card issuer.")] - CALL_ISSUER, + [Description("Call the card issuer.")] + CALL_ISSUER, /// ///The 3D Secure check failed. /// - [Description("The 3D Secure check failed.")] - THREE_D_SECURE_FAILED, + [Description("The 3D Secure check failed.")] + THREE_D_SECURE_FAILED, /// ///The card issuer has flagged the transaction as potentially fraudulent. /// - [Description("The card issuer has flagged the transaction as potentially fraudulent.")] - FRAUD_SUSPECTED, + [Description("The card issuer has flagged the transaction as potentially fraudulent.")] + FRAUD_SUSPECTED, /// ///The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back. /// - [Description("The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back.")] - PICK_UP_CARD, + [Description("The card has been reported as lost or stolen, and the card issuer has requested that the merchant keep the card and call the number on the back.")] + PICK_UP_CARD, /// ///There is an error in the gateway or merchant configuration. /// - [Description("There is an error in the gateway or merchant configuration.")] - CONFIG_ERROR, + [Description("There is an error in the gateway or merchant configuration.")] + CONFIG_ERROR, /// ///A real card was used but the gateway was in test mode. /// - [Description("A real card was used but the gateway was in test mode.")] - TEST_MODE_LIVE_CARD, + [Description("A real card was used but the gateway was in test mode.")] + TEST_MODE_LIVE_CARD, /// ///The gateway or merchant configuration doesn't support a feature, such as network tokenization. /// - [Description("The gateway or merchant configuration doesn't support a feature, such as network tokenization.")] - UNSUPPORTED_FEATURE, + [Description("The gateway or merchant configuration doesn't support a feature, such as network tokenization.")] + UNSUPPORTED_FEATURE, /// ///There was an unknown error with processing the payment. /// - [Description("There was an unknown error with processing the payment.")] - GENERIC_ERROR, + [Description("There was an unknown error with processing the payment.")] + GENERIC_ERROR, /// ///The payment method is not available in the customer's country. /// - [Description("The payment method is not available in the customer's country.")] - INVALID_COUNTRY, + [Description("The payment method is not available in the customer's country.")] + INVALID_COUNTRY, /// ///The amount is either too high or too low for the provider. /// - [Description("The amount is either too high or too low for the provider.")] - INVALID_AMOUNT, + [Description("The amount is either too high or too low for the provider.")] + INVALID_AMOUNT, /// ///The payment method is momentarily unavailable. /// - [Description("The payment method is momentarily unavailable.")] - PAYMENT_METHOD_UNAVAILABLE, - } - - public static class ShopPayPaymentRequestReceiptProcessingStatusErrorCodeStringValues - { - public const string INCORRECT_NUMBER = @"INCORRECT_NUMBER"; - public const string INVALID_NUMBER = @"INVALID_NUMBER"; - public const string INVALID_EXPIRY_DATE = @"INVALID_EXPIRY_DATE"; - public const string INVALID_CVC = @"INVALID_CVC"; - public const string EXPIRED_CARD = @"EXPIRED_CARD"; - public const string INCORRECT_CVC = @"INCORRECT_CVC"; - public const string INCORRECT_ZIP = @"INCORRECT_ZIP"; - public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; - public const string INCORRECT_PIN = @"INCORRECT_PIN"; - public const string AMOUNT_TOO_SMALL = @"AMOUNT_TOO_SMALL"; - public const string CARD_DECLINED = @"CARD_DECLINED"; - public const string PROCESSING_ERROR = @"PROCESSING_ERROR"; - public const string CALL_ISSUER = @"CALL_ISSUER"; - public const string THREE_D_SECURE_FAILED = @"THREE_D_SECURE_FAILED"; - public const string FRAUD_SUSPECTED = @"FRAUD_SUSPECTED"; - public const string PICK_UP_CARD = @"PICK_UP_CARD"; - public const string CONFIG_ERROR = @"CONFIG_ERROR"; - public const string TEST_MODE_LIVE_CARD = @"TEST_MODE_LIVE_CARD"; - public const string UNSUPPORTED_FEATURE = @"UNSUPPORTED_FEATURE"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - public const string INVALID_COUNTRY = @"INVALID_COUNTRY"; - public const string INVALID_AMOUNT = @"INVALID_AMOUNT"; - public const string PAYMENT_METHOD_UNAVAILABLE = @"PAYMENT_METHOD_UNAVAILABLE"; - } - + [Description("The payment method is momentarily unavailable.")] + PAYMENT_METHOD_UNAVAILABLE, + } + + public static class ShopPayPaymentRequestReceiptProcessingStatusErrorCodeStringValues + { + public const string INCORRECT_NUMBER = @"INCORRECT_NUMBER"; + public const string INVALID_NUMBER = @"INVALID_NUMBER"; + public const string INVALID_EXPIRY_DATE = @"INVALID_EXPIRY_DATE"; + public const string INVALID_CVC = @"INVALID_CVC"; + public const string EXPIRED_CARD = @"EXPIRED_CARD"; + public const string INCORRECT_CVC = @"INCORRECT_CVC"; + public const string INCORRECT_ZIP = @"INCORRECT_ZIP"; + public const string INCORRECT_ADDRESS = @"INCORRECT_ADDRESS"; + public const string INCORRECT_PIN = @"INCORRECT_PIN"; + public const string AMOUNT_TOO_SMALL = @"AMOUNT_TOO_SMALL"; + public const string CARD_DECLINED = @"CARD_DECLINED"; + public const string PROCESSING_ERROR = @"PROCESSING_ERROR"; + public const string CALL_ISSUER = @"CALL_ISSUER"; + public const string THREE_D_SECURE_FAILED = @"THREE_D_SECURE_FAILED"; + public const string FRAUD_SUSPECTED = @"FRAUD_SUSPECTED"; + public const string PICK_UP_CARD = @"PICK_UP_CARD"; + public const string CONFIG_ERROR = @"CONFIG_ERROR"; + public const string TEST_MODE_LIVE_CARD = @"TEST_MODE_LIVE_CARD"; + public const string UNSUPPORTED_FEATURE = @"UNSUPPORTED_FEATURE"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + public const string INVALID_COUNTRY = @"INVALID_COUNTRY"; + public const string INVALID_AMOUNT = @"INVALID_AMOUNT"; + public const string PAYMENT_METHOD_UNAVAILABLE = @"PAYMENT_METHOD_UNAVAILABLE"; + } + /// ///The state of the payment request receipt. /// - [Description("The state of the payment request receipt.")] - public enum ShopPayPaymentRequestReceiptProcessingStatusState - { + [Description("The state of the payment request receipt.")] + public enum ShopPayPaymentRequestReceiptProcessingStatusState + { /// ///The payment request is ready and queued to be processed. /// - [Description("The payment request is ready and queued to be processed.")] - READY, + [Description("The payment request is ready and queued to be processed.")] + READY, /// ///The payment request currently being processed. /// - [Description("The payment request currently being processed.")] - PROCESSING, + [Description("The payment request currently being processed.")] + PROCESSING, /// ///The payment request processing failed. /// - [Description("The payment request processing failed.")] - FAILED, + [Description("The payment request processing failed.")] + FAILED, /// ///The payment request processing completed successfully. /// - [Description("The payment request processing completed successfully.")] - COMPLETED, + [Description("The payment request processing completed successfully.")] + COMPLETED, /// ///The payment request requires action from the buyer. /// - [Description("The payment request requires action from the buyer.")] - ACTION_REQUIRED, - } - - public static class ShopPayPaymentRequestReceiptProcessingStatusStateStringValues - { - public const string READY = @"READY"; - public const string PROCESSING = @"PROCESSING"; - public const string FAILED = @"FAILED"; - public const string COMPLETED = @"COMPLETED"; - public const string ACTION_REQUIRED = @"ACTION_REQUIRED"; - } - + [Description("The payment request requires action from the buyer.")] + ACTION_REQUIRED, + } + + public static class ShopPayPaymentRequestReceiptProcessingStatusStateStringValues + { + public const string READY = @"READY"; + public const string PROCESSING = @"PROCESSING"; + public const string FAILED = @"FAILED"; + public const string COMPLETED = @"COMPLETED"; + public const string ACTION_REQUIRED = @"ACTION_REQUIRED"; + } + /// ///The set of valid sort keys for the ShopPayPaymentRequestReceipts query. /// - [Description("The set of valid sort keys for the ShopPayPaymentRequestReceipts query.")] - public enum ShopPayPaymentRequestReceiptsSortKeys - { + [Description("The set of valid sort keys for the ShopPayPaymentRequestReceipts query.")] + public enum ShopPayPaymentRequestReceiptsSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class ShopPayPaymentRequestReceiptsSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class ShopPayPaymentRequestReceiptsSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///Represents a shipping line for a Shop Pay payment request. /// - [Description("Represents a shipping line for a Shop Pay payment request.")] - public class ShopPayPaymentRequestShippingLine : GraphQLObject - { + [Description("Represents a shipping line for a Shop Pay payment request.")] + public class ShopPayPaymentRequestShippingLine : GraphQLObject + { /// ///The amount for the shipping line. /// - [Description("The amount for the shipping line.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount for the shipping line.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The code of the shipping line. /// - [Description("The code of the shipping line.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the shipping line.")] + [NonNull] + public string? code { get; set; } + /// ///The label of the shipping line. /// - [Description("The label of the shipping line.")] - [NonNull] - public string? label { get; set; } - } - + [Description("The label of the shipping line.")] + [NonNull] + public string? label { get; set; } + } + /// ///Represents a shipping total for a Shop Pay payment request. /// - [Description("Represents a shipping total for a Shop Pay payment request.")] - public class ShopPayPaymentRequestTotalShippingPrice : GraphQLObject - { + [Description("Represents a shipping total for a Shop Pay payment request.")] + public class ShopPayPaymentRequestTotalShippingPrice : GraphQLObject + { /// ///The discounts for the shipping total. /// - [Description("The discounts for the shipping total.")] - [NonNull] - public IEnumerable? discounts { get; set; } - + [Description("The discounts for the shipping total.")] + [NonNull] + public IEnumerable? discounts { get; set; } + /// ///The final total for the shipping line. /// - [Description("The final total for the shipping line.")] - [NonNull] - public MoneyV2? finalTotal { get; set; } - + [Description("The final total for the shipping line.")] + [NonNull] + public MoneyV2? finalTotal { get; set; } + /// ///The original total for the shipping line. /// - [Description("The original total for the shipping line.")] - public MoneyV2? originalTotal { get; set; } - } - + [Description("The original total for the shipping line.")] + public MoneyV2? originalTotal { get; set; } + } + /// ///The billing plan of the shop. /// - [Description("The billing plan of the shop.")] - public class ShopPlan : GraphQLObject - { + [Description("The billing plan of the shop.")] + public class ShopPlan : GraphQLObject + { /// ///The name of the shop's billing plan. /// - [Description("The name of the shop's billing plan.")] - [Obsolete("Use `publicDisplayName` instead.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The name of the shop's billing plan.")] + [Obsolete("Use `publicDisplayName` instead.")] + [NonNull] + public string? displayName { get; set; } + /// ///Whether the shop is a partner development shop for testing purposes. /// - [Description("Whether the shop is a partner development shop for testing purposes.")] - [NonNull] - public bool? partnerDevelopment { get; set; } - + [Description("Whether the shop is a partner development shop for testing purposes.")] + [NonNull] + public bool? partnerDevelopment { get; set; } + /// ///The public display name of the shop's billing plan. Possible values are: Advanced, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial. /// - [Description("The public display name of the shop's billing plan. Possible values are: Advanced, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial.")] - [NonNull] - public string? publicDisplayName { get; set; } - + [Description("The public display name of the shop's billing plan. Possible values are: Advanced, Basic, Development, Grow, Inactive, Lite, Other, Paused, Plus, Plus Trial, Retail, Shop Component, Shopify Finance, Staff Business, Starter, and Trial.")] + [NonNull] + public string? publicDisplayName { get; set; } + /// ///Whether the shop has a Shopify Plus subscription. /// - [Description("Whether the shop has a Shopify Plus subscription.")] - [NonNull] - public bool? shopifyPlus { get; set; } - } - + [Description("Whether the shop has a Shopify Plus subscription.")] + [NonNull] + public bool? shopifyPlus { get; set; } + } + /// ///Policy that a merchant has configured for their store, such as their refund or privacy policy. /// - [Description("Policy that a merchant has configured for their store, such as their refund or privacy policy.")] - public class ShopPolicy : GraphQLObject, IHasPublishedTranslations, INode - { + [Description("Policy that a merchant has configured for their store, such as their refund or privacy policy.")] + public class ShopPolicy : GraphQLObject, IHasPublishedTranslations, INode + { /// ///The text of the policy. The maximum size is 512kb. /// - [Description("The text of the policy. The maximum size is 512kb.")] - [NonNull] - public string? body { get; set; } - + [Description("The text of the policy. The maximum size is 512kb.")] + [NonNull] + public string? body { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the policy was created. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the policy was created.")] - [NonNull] - public DateOnly? createdAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the policy was created.")] + [NonNull] + public DateOnly? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The translated title of the policy. For example, Refund Policy or Politique de remboursement. /// - [Description("The translated title of the policy. For example, Refund Policy or Politique de remboursement.")] - [NonNull] - public string? title { get; set; } - + [Description("The translated title of the policy. For example, Refund Policy or Politique de remboursement.")] + [NonNull] + public string? title { get; set; } + /// ///The published translations associated with the resource. /// - [Description("The published translations associated with the resource.")] - [NonNull] - public IEnumerable? translations { get; set; } - + [Description("The published translations associated with the resource.")] + [NonNull] + public IEnumerable? translations { get; set; } + /// ///The shop policy type. /// - [Description("The shop policy type.")] - [NonNull] - [EnumType(typeof(ShopPolicyType))] - public string? type { get; set; } - + [Description("The shop policy type.")] + [NonNull] + [EnumType(typeof(ShopPolicyType))] + public string? type { get; set; } + /// ///The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the policy was last modified. /// - [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the policy was last modified.")] - [NonNull] - public DateOnly? updatedAt { get; set; } - + [Description("The date and time ([ISO 8601 format](http://en.wikipedia.org/wiki/ISO_8601)) when the policy was last modified.")] + [NonNull] + public DateOnly? updatedAt { get; set; } + /// ///The public URL of the policy. /// - [Description("The public URL of the policy.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The public URL of the policy.")] + [NonNull] + public string? url { get; set; } + } + /// ///Possible error codes that can be returned by `ShopPolicyUserError`. /// - [Description("Possible error codes that can be returned by `ShopPolicyUserError`.")] - public enum ShopPolicyErrorCode - { + [Description("Possible error codes that can be returned by `ShopPolicyUserError`.")] + public enum ShopPolicyErrorCode + { /// ///The input value is too big. /// - [Description("The input value is too big.")] - TOO_BIG, - } - - public static class ShopPolicyErrorCodeStringValues - { - public const string TOO_BIG = @"TOO_BIG"; - } - + [Description("The input value is too big.")] + TOO_BIG, + } + + public static class ShopPolicyErrorCodeStringValues + { + public const string TOO_BIG = @"TOO_BIG"; + } + /// ///The input fields required to update a policy. /// - [Description("The input fields required to update a policy.")] - public class ShopPolicyInput : GraphQLObject - { + [Description("The input fields required to update a policy.")] + public class ShopPolicyInput : GraphQLObject + { /// ///The shop policy type. /// - [Description("The shop policy type.")] - [NonNull] - [EnumType(typeof(ShopPolicyType))] - public string? type { get; set; } - + [Description("The shop policy type.")] + [NonNull] + [EnumType(typeof(ShopPolicyType))] + public string? type { get; set; } + /// ///Policy text, maximum size of 512kb. /// - [Description("Policy text, maximum size of 512kb.")] - [NonNull] - public string? body { get; set; } - } - + [Description("Policy text, maximum size of 512kb.")] + [NonNull] + public string? body { get; set; } + } + /// ///Available shop policy types. /// - [Description("Available shop policy types.")] - public enum ShopPolicyType - { + [Description("Available shop policy types.")] + public enum ShopPolicyType + { /// ///The refund policy. /// - [Description("The refund policy.")] - REFUND_POLICY, + [Description("The refund policy.")] + REFUND_POLICY, /// ///The shipping policy. /// - [Description("The shipping policy.")] - SHIPPING_POLICY, + [Description("The shipping policy.")] + SHIPPING_POLICY, /// ///The privacy policy. /// - [Description("The privacy policy.")] - PRIVACY_POLICY, + [Description("The privacy policy.")] + PRIVACY_POLICY, /// ///The terms of service. /// - [Description("The terms of service.")] - TERMS_OF_SERVICE, + [Description("The terms of service.")] + TERMS_OF_SERVICE, /// ///The terms of sale. /// - [Description("The terms of sale.")] - TERMS_OF_SALE, + [Description("The terms of sale.")] + TERMS_OF_SALE, /// ///The legal notice. /// - [Description("The legal notice.")] - LEGAL_NOTICE, + [Description("The legal notice.")] + LEGAL_NOTICE, /// ///The cancellation policy. /// - [Description("The cancellation policy.")] - SUBSCRIPTION_POLICY, + [Description("The cancellation policy.")] + SUBSCRIPTION_POLICY, /// ///The contact information. /// - [Description("The contact information.")] - CONTACT_INFORMATION, - } - - public static class ShopPolicyTypeStringValues - { - public const string REFUND_POLICY = @"REFUND_POLICY"; - public const string SHIPPING_POLICY = @"SHIPPING_POLICY"; - public const string PRIVACY_POLICY = @"PRIVACY_POLICY"; - public const string TERMS_OF_SERVICE = @"TERMS_OF_SERVICE"; - public const string TERMS_OF_SALE = @"TERMS_OF_SALE"; - public const string LEGAL_NOTICE = @"LEGAL_NOTICE"; - public const string SUBSCRIPTION_POLICY = @"SUBSCRIPTION_POLICY"; - public const string CONTACT_INFORMATION = @"CONTACT_INFORMATION"; - } - + [Description("The contact information.")] + CONTACT_INFORMATION, + } + + public static class ShopPolicyTypeStringValues + { + public const string REFUND_POLICY = @"REFUND_POLICY"; + public const string SHIPPING_POLICY = @"SHIPPING_POLICY"; + public const string PRIVACY_POLICY = @"PRIVACY_POLICY"; + public const string TERMS_OF_SERVICE = @"TERMS_OF_SERVICE"; + public const string TERMS_OF_SALE = @"TERMS_OF_SALE"; + public const string LEGAL_NOTICE = @"LEGAL_NOTICE"; + public const string SUBSCRIPTION_POLICY = @"SUBSCRIPTION_POLICY"; + public const string CONTACT_INFORMATION = @"CONTACT_INFORMATION"; + } + /// ///Return type for `shopPolicyUpdate` mutation. /// - [Description("Return type for `shopPolicyUpdate` mutation.")] - public class ShopPolicyUpdatePayload : GraphQLObject - { + [Description("Return type for `shopPolicyUpdate` mutation.")] + public class ShopPolicyUpdatePayload : GraphQLObject + { /// ///The shop policy that has been updated. /// - [Description("The shop policy that has been updated.")] - public ShopPolicy? shopPolicy { get; set; } - + [Description("The shop policy that has been updated.")] + public ShopPolicy? shopPolicy { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of a shop policy mutation. /// - [Description("An error that occurs during the execution of a shop policy mutation.")] - public class ShopPolicyUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a shop policy mutation.")] + public class ShopPolicyUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ShopPolicyErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ShopPolicyErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Return type for `shopResourceFeedbackCreate` mutation. /// - [Description("Return type for `shopResourceFeedbackCreate` mutation.")] - public class ShopResourceFeedbackCreatePayload : GraphQLObject - { + [Description("Return type for `shopResourceFeedbackCreate` mutation.")] + public class ShopResourceFeedbackCreatePayload : GraphQLObject + { /// ///The shop feedback that's created. /// - [Description("The shop feedback that's created.")] - public AppFeedback? feedback { get; set; } - + [Description("The shop feedback that's created.")] + public AppFeedback? feedback { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ShopResourceFeedbackCreate`. /// - [Description("An error that occurs during the execution of `ShopResourceFeedbackCreate`.")] - public class ShopResourceFeedbackCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ShopResourceFeedbackCreate`.")] + public class ShopResourceFeedbackCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ShopResourceFeedbackCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ShopResourceFeedbackCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ShopResourceFeedbackCreateUserError`. /// - [Description("Possible error codes that can be returned by `ShopResourceFeedbackCreateUserError`.")] - public enum ShopResourceFeedbackCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `ShopResourceFeedbackCreateUserError`.")] + public enum ShopResourceFeedbackCreateUserErrorCode + { /// ///The feedback for a later version of the resource was already accepted. /// - [Description("The feedback for a later version of the resource was already accepted.")] - OUTDATED_FEEDBACK, + [Description("The feedback for a later version of the resource was already accepted.")] + OUTDATED_FEEDBACK, /// ///The feedback date cannot be set in the future. /// - [Description("The feedback date cannot be set in the future.")] - FEEDBACK_DATE_IN_FUTURE, + [Description("The feedback date cannot be set in the future.")] + FEEDBACK_DATE_IN_FUTURE, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, - } - - public static class ShopResourceFeedbackCreateUserErrorCodeStringValues - { - public const string OUTDATED_FEEDBACK = @"OUTDATED_FEEDBACK"; - public const string FEEDBACK_DATE_IN_FUTURE = @"FEEDBACK_DATE_IN_FUTURE"; - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string PRESENT = @"PRESENT"; - } - + [Description("The input value needs to be blank.")] + PRESENT, + } + + public static class ShopResourceFeedbackCreateUserErrorCodeStringValues + { + public const string OUTDATED_FEEDBACK = @"OUTDATED_FEEDBACK"; + public const string FEEDBACK_DATE_IN_FUTURE = @"FEEDBACK_DATE_IN_FUTURE"; + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string PRESENT = @"PRESENT"; + } + /// ///Resource limits of a shop. /// - [Description("Resource limits of a shop.")] - public class ShopResourceLimits : GraphQLObject - { + [Description("Resource limits of a shop.")] + public class ShopResourceLimits : GraphQLObject + { /// ///Maximum number of locations allowed. /// - [Description("Maximum number of locations allowed.")] - [NonNull] - public int? locationLimit { get; set; } - + [Description("Maximum number of locations allowed.")] + [NonNull] + public int? locationLimit { get; set; } + /// ///Maximum number of product options allowed. /// - [Description("Maximum number of product options allowed.")] - [NonNull] - public int? maxProductOptions { get; set; } - + [Description("Maximum number of product options allowed.")] + [NonNull] + public int? maxProductOptions { get; set; } + /// ///The maximum number of variants allowed per product. /// - [Description("The maximum number of variants allowed per product.")] - [NonNull] - public int? maxProductVariants { get; set; } - + [Description("The maximum number of variants allowed per product.")] + [NonNull] + public int? maxProductVariants { get; set; } + /// ///Whether the shop has reached the limit of the number of URL redirects it can make for resources. /// - [Description("Whether the shop has reached the limit of the number of URL redirects it can make for resources.")] - [NonNull] - public bool? redirectLimitReached { get; set; } - } - + [Description("Whether the shop has reached the limit of the number of URL redirects it can make for resources.")] + [NonNull] + public bool? redirectLimitReached { get; set; } + } + /// ///Possible sort of tags. /// - [Description("Possible sort of tags.")] - public enum ShopTagSort - { + [Description("Possible sort of tags.")] + public enum ShopTagSort + { /// ///Alphabetical sort. /// - [Description("Alphabetical sort.")] - ALPHABETICAL, + [Description("Alphabetical sort.")] + ALPHABETICAL, /// ///Popularity sort. /// - [Description("Popularity sort.")] - POPULAR, - } - - public static class ShopTagSortStringValues - { - public const string ALPHABETICAL = @"ALPHABETICAL"; - public const string POPULAR = @"POPULAR"; - } - + [Description("Popularity sort.")] + POPULAR, + } + + public static class ShopTagSortStringValues + { + public const string ALPHABETICAL = @"ALPHABETICAL"; + public const string POPULAR = @"POPULAR"; + } + /// ///A Shopify Function. /// - [Description("A Shopify Function.")] - public class ShopifyFunction : GraphQLObject - { + [Description("A Shopify Function.")] + public class ShopifyFunction : GraphQLObject + { /// ///The API type of the Shopify Function. /// - [Description("The API type of the Shopify Function.")] - [NonNull] - public string? apiType { get; set; } - + [Description("The API type of the Shopify Function.")] + [NonNull] + public string? apiType { get; set; } + /// ///The API version of the Shopify Function. /// - [Description("The API version of the Shopify Function.")] - [NonNull] - public string? apiVersion { get; set; } - + [Description("The API version of the Shopify Function.")] + [NonNull] + public string? apiVersion { get; set; } + /// ///The app that owns the Shopify Function. /// - [Description("The app that owns the Shopify Function.")] - [NonNull] - public App? app { get; set; } - + [Description("The app that owns the Shopify Function.")] + [NonNull] + public App? app { get; set; } + /// ///The App Bridge information for the Shopify Function. /// - [Description("The App Bridge information for the Shopify Function.")] - [NonNull] - public FunctionsAppBridge? appBridge { get; set; } - + [Description("The App Bridge information for the Shopify Function.")] + [NonNull] + public FunctionsAppBridge? appBridge { get; set; } + /// ///The client ID of the app that owns the Shopify Function. /// - [Description("The client ID of the app that owns the Shopify Function.")] - [NonNull] - public string? appKey { get; set; } - + [Description("The client ID of the app that owns the Shopify Function.")] + [NonNull] + public string? appKey { get; set; } + /// ///The description of the Shopify Function. /// - [Description("The description of the Shopify Function.")] - public string? description { get; set; } - + [Description("The description of the Shopify Function.")] + public string? description { get; set; } + /// ///The handle of the Shopify Function. /// - [Description("The handle of the Shopify Function.")] - [NonNull] - public string? handle { get; set; } - + [Description("The handle of the Shopify Function.")] + [NonNull] + public string? handle { get; set; } + /// ///The ID of the Shopify Function. /// - [Description("The ID of the Shopify Function.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the Shopify Function.")] + [NonNull] + public string? id { get; set; } + /// ///The input query of the Shopify Function. /// - [Description("The input query of the Shopify Function.")] - public string? inputQuery { get; set; } - + [Description("The input query of the Shopify Function.")] + public string? inputQuery { get; set; } + /// ///The title of the Shopify Function. /// - [Description("The title of the Shopify Function.")] - [NonNull] - public string? title { get; set; } - + [Description("The title of the Shopify Function.")] + [NonNull] + public string? title { get; set; } + /// ///If the Shopify Function uses the creation UI in the Admin. /// - [Description("If the Shopify Function uses the creation UI in the Admin.")] - [NonNull] - public bool? useCreationUi { get; set; } - } - + [Description("If the Shopify Function uses the creation UI in the Admin.")] + [NonNull] + public bool? useCreationUi { get; set; } + } + /// ///An auto-generated type for paginating through multiple ShopifyFunctions. /// - [Description("An auto-generated type for paginating through multiple ShopifyFunctions.")] - public class ShopifyFunctionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ShopifyFunctions.")] + public class ShopifyFunctionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ShopifyFunctionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ShopifyFunctionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ShopifyFunctionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ShopifyFunction and a cursor during pagination. /// - [Description("An auto-generated type which holds one ShopifyFunction and a cursor during pagination.")] - public class ShopifyFunctionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ShopifyFunction and a cursor during pagination.")] + public class ShopifyFunctionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ShopifyFunctionEdge. /// - [Description("The item at the end of ShopifyFunctionEdge.")] - [NonNull] - public ShopifyFunction? node { get; set; } - } - + [Description("The item at the end of ShopifyFunctionEdge.")] + [NonNull] + public ShopifyFunction? node { get; set; } + } + /// ///Balance and payout information for a ///[Shopify Payments](https://help.shopify.com/manual/payments/shopify-payments/getting-paid-with-shopify-payments) ///account. Balance includes all balances for the currencies supported by the shop. ///You can also query for a list of payouts, where each payout includes the corresponding currencyCode field. /// - [Description("Balance and payout information for a\n[Shopify Payments](https://help.shopify.com/manual/payments/shopify-payments/getting-paid-with-shopify-payments)\naccount. Balance includes all balances for the currencies supported by the shop.\nYou can also query for a list of payouts, where each payout includes the corresponding currencyCode field.")] - public class ShopifyPaymentsAccount : GraphQLObject, INode - { + [Description("Balance and payout information for a\n[Shopify Payments](https://help.shopify.com/manual/payments/shopify-payments/getting-paid-with-shopify-payments)\naccount. Balance includes all balances for the currencies supported by the shop.\nYou can also query for a list of payouts, where each payout includes the corresponding currencyCode field.")] + public class ShopifyPaymentsAccount : GraphQLObject, INode + { /// ///The name of the account opener. /// - [Description("The name of the account opener.")] - public string? accountOpenerName { get; set; } - + [Description("The name of the account opener.")] + public string? accountOpenerName { get; set; } + /// ///Whether the Shopify Payments setup is completed. /// - [Description("Whether the Shopify Payments setup is completed.")] - [NonNull] - public bool? activated { get; set; } - + [Description("Whether the Shopify Payments setup is completed.")] + [NonNull] + public bool? activated { get; set; } + /// ///Current balances in all currencies for the account. /// - [Description("Current balances in all currencies for the account.")] - [NonNull] - public IEnumerable? balance { get; set; } - + [Description("Current balances in all currencies for the account.")] + [NonNull] + public IEnumerable? balance { get; set; } + /// ///A list of balance transactions associated with the shop. /// - [Description("A list of balance transactions associated with the shop.")] - [NonNull] - public ShopifyPaymentsBalanceTransactionConnection? balanceTransactions { get; set; } - + [Description("A list of balance transactions associated with the shop.")] + [NonNull] + public ShopifyPaymentsBalanceTransactionConnection? balanceTransactions { get; set; } + /// ///All bank accounts configured for the Shopify Payments account. /// - [Description("All bank accounts configured for the Shopify Payments account.")] - [NonNull] - public ShopifyPaymentsBankAccountConnection? bankAccounts { get; set; } - + [Description("All bank accounts configured for the Shopify Payments account.")] + [NonNull] + public ShopifyPaymentsBankAccountConnection? bankAccounts { get; set; } + /// ///The statement descriptor used for charges. /// ///The statement descriptor appears on a customer's credit card or bank statement when they make a purchase. /// - [Description("The statement descriptor used for charges.\n\nThe statement descriptor appears on a customer's credit card or bank statement when they make a purchase.")] - [Obsolete("Use `chargeStatementDescriptors` instead.")] - public string? chargeStatementDescriptor { get; set; } - + [Description("The statement descriptor used for charges.\n\nThe statement descriptor appears on a customer's credit card or bank statement when they make a purchase.")] + [Obsolete("Use `chargeStatementDescriptors` instead.")] + public string? chargeStatementDescriptor { get; set; } + /// ///The statement descriptors used for charges. /// ///These descriptors appear on a customer's credit card or bank statement when they make a purchase. /// - [Description("The statement descriptors used for charges.\n\nThese descriptors appear on a customer's credit card or bank statement when they make a purchase.")] - public IShopifyPaymentsChargeStatementDescriptor? chargeStatementDescriptors { get; set; } - + [Description("The statement descriptors used for charges.\n\nThese descriptors appear on a customer's credit card or bank statement when they make a purchase.")] + public IShopifyPaymentsChargeStatementDescriptor? chargeStatementDescriptors { get; set; } + /// ///The Shopify Payments account country. /// - [Description("The Shopify Payments account country.")] - [NonNull] - public string? country { get; set; } - + [Description("The Shopify Payments account country.")] + [NonNull] + public string? country { get; set; } + /// ///The default payout currency for the Shopify Payments account. /// - [Description("The default payout currency for the Shopify Payments account.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? defaultCurrency { get; set; } - + [Description("The default payout currency for the Shopify Payments account.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? defaultCurrency { get; set; } + /// ///All disputes that originated from a transaction made with the Shopify Payments account. /// - [Description("All disputes that originated from a transaction made with the Shopify Payments account.")] - [NonNull] - public ShopifyPaymentsDisputeConnection? disputes { get; set; } - + [Description("All disputes that originated from a transaction made with the Shopify Payments account.")] + [NonNull] + public ShopifyPaymentsDisputeConnection? disputes { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the Shopify Payments account can be onboarded. /// - [Description("Whether the Shopify Payments account can be onboarded.")] - [NonNull] - public bool? onboardable { get; set; } - + [Description("Whether the Shopify Payments account can be onboarded.")] + [NonNull] + public bool? onboardable { get; set; } + /// ///The payout schedule for the account. /// - [Description("The payout schedule for the account.")] - [NonNull] - public ShopifyPaymentsPayoutSchedule? payoutSchedule { get; set; } - + [Description("The payout schedule for the account.")] + [NonNull] + public ShopifyPaymentsPayoutSchedule? payoutSchedule { get; set; } + /// ///The descriptor used for payouts. /// ///The descriptor appears on a merchant's bank statement when they receive a payout. /// - [Description("The descriptor used for payouts.\n\nThe descriptor appears on a merchant's bank statement when they receive a payout.")] - public string? payoutStatementDescriptor { get; set; } - + [Description("The descriptor used for payouts.\n\nThe descriptor appears on a merchant's bank statement when they receive a payout.")] + public string? payoutStatementDescriptor { get; set; } + /// ///All current and previous payouts made between the account and the bank account. /// - [Description("All current and previous payouts made between the account and the bank account.")] - [NonNull] - public ShopifyPaymentsPayoutConnection? payouts { get; set; } - } - + [Description("All current and previous payouts made between the account and the bank account.")] + [NonNull] + public ShopifyPaymentsPayoutConnection? payouts { get; set; } + } + /// ///A Shopify Payments address. /// - [Description("A Shopify Payments address.")] - public class ShopifyPaymentsAddressBasic : GraphQLObject - { + [Description("A Shopify Payments address.")] + public class ShopifyPaymentsAddressBasic : GraphQLObject + { /// ///Line 1 of the address. /// - [Description("Line 1 of the address.")] - public string? addressLine1 { get; set; } - + [Description("Line 1 of the address.")] + public string? addressLine1 { get; set; } + /// ///Line 2 of the address. /// - [Description("Line 2 of the address.")] - public string? addressLine2 { get; set; } - + [Description("Line 2 of the address.")] + public string? addressLine2 { get; set; } + /// ///The address city. /// - [Description("The address city.")] - public string? city { get; set; } - + [Description("The address city.")] + public string? city { get; set; } + /// ///The address country. /// - [Description("The address country.")] - public string? country { get; set; } - + [Description("The address country.")] + public string? country { get; set; } + /// ///The address postal code. /// - [Description("The address postal code.")] - public string? postalCode { get; set; } - + [Description("The address postal code.")] + public string? postalCode { get; set; } + /// ///The address state/province/zone. /// - [Description("The address state/province/zone.")] - public string? zone { get; set; } - } - + [Description("The address state/province/zone.")] + public string? zone { get; set; } + } + /// ///The adjustment order object. /// - [Description("The adjustment order object.")] - public class ShopifyPaymentsAdjustmentOrder : GraphQLObject - { + [Description("The adjustment order object.")] + public class ShopifyPaymentsAdjustmentOrder : GraphQLObject + { /// ///The amount of the adjustment order. /// - [Description("The amount of the adjustment order.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the adjustment order.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The fee of the adjustment order. /// - [Description("The fee of the adjustment order.")] - [NonNull] - public MoneyV2? fees { get; set; } - + [Description("The fee of the adjustment order.")] + [NonNull] + public MoneyV2? fees { get; set; } + /// ///The link to the adjustment order. /// - [Description("The link to the adjustment order.")] - [NonNull] - public string? link { get; set; } - + [Description("The link to the adjustment order.")] + [NonNull] + public string? link { get; set; } + /// ///The name of the adjustment order. /// - [Description("The name of the adjustment order.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the adjustment order.")] + [NonNull] + public string? name { get; set; } + /// ///The net of the adjustment order. /// - [Description("The net of the adjustment order.")] - [NonNull] - public MoneyV2? net { get; set; } - + [Description("The net of the adjustment order.")] + [NonNull] + public MoneyV2? net { get; set; } + /// ///The ID of the order transaction. /// - [Description("The ID of the order transaction.")] - [NonNull] - public long? orderTransactionId { get; set; } - } - + [Description("The ID of the order transaction.")] + [NonNull] + public long? orderTransactionId { get; set; } + } + /// ///The order associated to the balance transaction. /// - [Description("The order associated to the balance transaction.")] - public class ShopifyPaymentsAssociatedOrder : GraphQLObject - { + [Description("The order associated to the balance transaction.")] + public class ShopifyPaymentsAssociatedOrder : GraphQLObject + { /// ///The ID of the associated order. /// - [Description("The ID of the associated order.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the associated order.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the associated order. /// - [Description("The name of the associated order.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the associated order.")] + [NonNull] + public string? name { get; set; } + } + /// ///A transaction that contributes to a Shopify Payments account balance. /// - [Description("A transaction that contributes to a Shopify Payments account balance.")] - public class ShopifyPaymentsBalanceTransaction : GraphQLObject, INode - { + [Description("A transaction that contributes to a Shopify Payments account balance.")] + public class ShopifyPaymentsBalanceTransaction : GraphQLObject, INode + { /// ///The reason for the adjustment that's associated with the transaction. /// If the source_type isn't an adjustment, the value will be null. /// - [Description("The reason for the adjustment that's associated with the transaction.\n If the source_type isn't an adjustment, the value will be null.")] - public string? adjustmentReason { get; set; } - + [Description("The reason for the adjustment that's associated with the transaction.\n If the source_type isn't an adjustment, the value will be null.")] + public string? adjustmentReason { get; set; } + /// ///The adjustment orders associated to the transaction. /// - [Description("The adjustment orders associated to the transaction.")] - [NonNull] - public IEnumerable? adjustmentsOrders { get; set; } - + [Description("The adjustment orders associated to the transaction.")] + [NonNull] + public IEnumerable? adjustmentsOrders { get; set; } + /// ///The amount contributing to the balance transaction. /// - [Description("The amount contributing to the balance transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount contributing to the balance transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The associated order for the balance transaction. /// - [Description("The associated order for the balance transaction.")] - public ShopifyPaymentsAssociatedOrder? associatedOrder { get; set; } - + [Description("The associated order for the balance transaction.")] + public ShopifyPaymentsAssociatedOrder? associatedOrder { get; set; } + /// ///Payout assoicated with the transaction. /// - [Description("Payout assoicated with the transaction.")] - [NonNull] - public ShopifyPaymentsBalanceTransactionAssociatedPayout? associatedPayout { get; set; } - + [Description("Payout assoicated with the transaction.")] + [NonNull] + public ShopifyPaymentsBalanceTransactionAssociatedPayout? associatedPayout { get; set; } + /// ///The fee amount contributing to the balance transaction. /// - [Description("The fee amount contributing to the balance transaction.")] - [NonNull] - public MoneyV2? fee { get; set; } - + [Description("The fee amount contributing to the balance transaction.")] + [NonNull] + public MoneyV2? fee { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The net amount contributing to the merchant's balance. /// - [Description("The net amount contributing to the merchant's balance.")] - [NonNull] - public MoneyV2? net { get; set; } - + [Description("The net amount contributing to the merchant's balance.")] + [NonNull] + public MoneyV2? net { get; set; } + /// ///The ID of the resource leading to the transaction. /// - [Description("The ID of the resource leading to the transaction.")] - public long? sourceId { get; set; } - + [Description("The ID of the resource leading to the transaction.")] + public long? sourceId { get; set; } + /// ///The id of the /// [Order Transaction](https://shopify.dev/docs/admin-api/rest/reference/orders/transaction) /// /// that resulted in this balance transaction. /// - [Description("The id of the\n [Order Transaction](https://shopify.dev/docs/admin-api/rest/reference/orders/transaction)\n\n that resulted in this balance transaction.")] - public long? sourceOrderTransactionId { get; set; } - + [Description("The id of the\n [Order Transaction](https://shopify.dev/docs/admin-api/rest/reference/orders/transaction)\n\n that resulted in this balance transaction.")] + public long? sourceOrderTransactionId { get; set; } + /// ///The source type of the balance transaction. /// - [Description("The source type of the balance transaction.")] - [EnumType(typeof(ShopifyPaymentsSourceType))] - public string? sourceType { get; set; } - + [Description("The source type of the balance transaction.")] + [EnumType(typeof(ShopifyPaymentsSourceType))] + public string? sourceType { get; set; } + /// ///Wether the tranaction was created in test mode. /// - [Description("Wether the tranaction was created in test mode.")] - [NonNull] - public bool? test { get; set; } - + [Description("Wether the tranaction was created in test mode.")] + [NonNull] + public bool? test { get; set; } + /// ///The date and time when the balance transaction was processed. /// - [Description("The date and time when the balance transaction was processed.")] - [NonNull] - public DateTime? transactionDate { get; set; } - + [Description("The date and time when the balance transaction was processed.")] + [NonNull] + public DateTime? transactionDate { get; set; } + /// ///The type of transaction. /// - [Description("The type of transaction.")] - [NonNull] - [EnumType(typeof(ShopifyPaymentsTransactionType))] - public string? type { get; set; } - } - + [Description("The type of transaction.")] + [NonNull] + [EnumType(typeof(ShopifyPaymentsTransactionType))] + public string? type { get; set; } + } + /// ///The payout associated with a balance transaction. /// - [Description("The payout associated with a balance transaction.")] - public class ShopifyPaymentsBalanceTransactionAssociatedPayout : GraphQLObject - { + [Description("The payout associated with a balance transaction.")] + public class ShopifyPaymentsBalanceTransactionAssociatedPayout : GraphQLObject + { /// ///The ID of the payout associated with the balance transaction. /// - [Description("The ID of the payout associated with the balance transaction.")] - public string? id { get; set; } - + [Description("The ID of the payout associated with the balance transaction.")] + public string? id { get; set; } + /// ///The status of the payout associated with the balance transaction. /// - [Description("The status of the payout associated with the balance transaction.")] - [EnumType(typeof(ShopifyPaymentsBalanceTransactionPayoutStatus))] - public string? status { get; set; } - } - + [Description("The status of the payout associated with the balance transaction.")] + [EnumType(typeof(ShopifyPaymentsBalanceTransactionPayoutStatus))] + public string? status { get; set; } + } + /// ///An auto-generated type for paginating through multiple ShopifyPaymentsBalanceTransactions. /// - [Description("An auto-generated type for paginating through multiple ShopifyPaymentsBalanceTransactions.")] - public class ShopifyPaymentsBalanceTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ShopifyPaymentsBalanceTransactions.")] + public class ShopifyPaymentsBalanceTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ShopifyPaymentsBalanceTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ShopifyPaymentsBalanceTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ShopifyPaymentsBalanceTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ShopifyPaymentsBalanceTransaction and a cursor during pagination. /// - [Description("An auto-generated type which holds one ShopifyPaymentsBalanceTransaction and a cursor during pagination.")] - public class ShopifyPaymentsBalanceTransactionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ShopifyPaymentsBalanceTransaction and a cursor during pagination.")] + public class ShopifyPaymentsBalanceTransactionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ShopifyPaymentsBalanceTransactionEdge. /// - [Description("The item at the end of ShopifyPaymentsBalanceTransactionEdge.")] - [NonNull] - public ShopifyPaymentsBalanceTransaction? node { get; set; } - } - + [Description("The item at the end of ShopifyPaymentsBalanceTransactionEdge.")] + [NonNull] + public ShopifyPaymentsBalanceTransaction? node { get; set; } + } + /// ///The payout status of the balance transaction. /// - [Description("The payout status of the balance transaction.")] - public enum ShopifyPaymentsBalanceTransactionPayoutStatus - { + [Description("The payout status of the balance transaction.")] + public enum ShopifyPaymentsBalanceTransactionPayoutStatus + { /// ///The payout has been created and had transactions assigned to it, but ///it has not yet been submitted to the bank. /// - [Description("The payout has been created and had transactions assigned to it, but\nit has not yet been submitted to the bank.")] - SCHEDULED, + [Description("The payout has been created and had transactions assigned to it, but\nit has not yet been submitted to the bank.")] + SCHEDULED, /// ///The payout has been submitted to the bank. /// - [Description("The payout has been submitted to the bank.")] - [Obsolete("Use `SCHEDULED` instead.")] - IN_TRANSIT, + [Description("The payout has been submitted to the bank.")] + [Obsolete("Use `SCHEDULED` instead.")] + IN_TRANSIT, /// ///The payout has been successfully deposited into the bank. /// - [Description("The payout has been successfully deposited into the bank.")] - PAID, + [Description("The payout has been successfully deposited into the bank.")] + PAID, /// ///The payout has been declined by the bank. /// - [Description("The payout has been declined by the bank.")] - FAILED, + [Description("The payout has been declined by the bank.")] + FAILED, /// ///The payout has been canceled by Shopify. /// - [Description("The payout has been canceled by Shopify.")] - CANCELED, + [Description("The payout has been canceled by Shopify.")] + CANCELED, /// ///The transaction has not been assigned a payout yet. /// - [Description("The transaction has not been assigned a payout yet.")] - PENDING, + [Description("The transaction has not been assigned a payout yet.")] + PENDING, /// ///The transaction requires action before it can be paid out. /// - [Description("The transaction requires action before it can be paid out.")] - ACTION_REQUIRED, - } - - public static class ShopifyPaymentsBalanceTransactionPayoutStatusStringValues - { - public const string SCHEDULED = @"SCHEDULED"; - [Obsolete("Use `SCHEDULED` instead.")] - public const string IN_TRANSIT = @"IN_TRANSIT"; - public const string PAID = @"PAID"; - public const string FAILED = @"FAILED"; - public const string CANCELED = @"CANCELED"; - public const string PENDING = @"PENDING"; - public const string ACTION_REQUIRED = @"ACTION_REQUIRED"; - } - + [Description("The transaction requires action before it can be paid out.")] + ACTION_REQUIRED, + } + + public static class ShopifyPaymentsBalanceTransactionPayoutStatusStringValues + { + public const string SCHEDULED = @"SCHEDULED"; + [Obsolete("Use `SCHEDULED` instead.")] + public const string IN_TRANSIT = @"IN_TRANSIT"; + public const string PAID = @"PAID"; + public const string FAILED = @"FAILED"; + public const string CANCELED = @"CANCELED"; + public const string PENDING = @"PENDING"; + public const string ACTION_REQUIRED = @"ACTION_REQUIRED"; + } + /// ///A bank account that can receive payouts. /// - [Description("A bank account that can receive payouts.")] - public class ShopifyPaymentsBankAccount : GraphQLObject, INode - { + [Description("A bank account that can receive payouts.")] + public class ShopifyPaymentsBankAccount : GraphQLObject, INode + { /// ///The last digits of the account number (the rest is redacted). /// - [Description("The last digits of the account number (the rest is redacted).")] - [NonNull] - public string? accountNumberLastDigits { get; set; } - + [Description("The last digits of the account number (the rest is redacted).")] + [NonNull] + public string? accountNumberLastDigits { get; set; } + /// ///The name of the bank. /// - [Description("The name of the bank.")] - public string? bankName { get; set; } - + [Description("The name of the bank.")] + public string? bankName { get; set; } + /// ///The country of the bank. /// - [Description("The country of the bank.")] - [NonNull] - [EnumType(typeof(CountryCode))] - public string? country { get; set; } - + [Description("The country of the bank.")] + [NonNull] + [EnumType(typeof(CountryCode))] + public string? country { get; set; } + /// ///The date that the bank account was created. /// - [Description("The date that the bank account was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date that the bank account was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The currency of the bank account. /// - [Description("The currency of the bank account.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The currency of the bank account.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///All current and previous payouts made between the account and the bank account. /// - [Description("All current and previous payouts made between the account and the bank account.")] - [NonNull] - public ShopifyPaymentsPayoutConnection? payouts { get; set; } - + [Description("All current and previous payouts made between the account and the bank account.")] + [NonNull] + public ShopifyPaymentsPayoutConnection? payouts { get; set; } + /// ///The status of the bank account. /// - [Description("The status of the bank account.")] - [NonNull] - [EnumType(typeof(ShopifyPaymentsBankAccountStatus))] - public string? status { get; set; } - } - + [Description("The status of the bank account.")] + [NonNull] + [EnumType(typeof(ShopifyPaymentsBankAccountStatus))] + public string? status { get; set; } + } + /// ///An auto-generated type for paginating through multiple ShopifyPaymentsBankAccounts. /// - [Description("An auto-generated type for paginating through multiple ShopifyPaymentsBankAccounts.")] - public class ShopifyPaymentsBankAccountConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ShopifyPaymentsBankAccounts.")] + public class ShopifyPaymentsBankAccountConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ShopifyPaymentsBankAccountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ShopifyPaymentsBankAccountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ShopifyPaymentsBankAccountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ShopifyPaymentsBankAccount and a cursor during pagination. /// - [Description("An auto-generated type which holds one ShopifyPaymentsBankAccount and a cursor during pagination.")] - public class ShopifyPaymentsBankAccountEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ShopifyPaymentsBankAccount and a cursor during pagination.")] + public class ShopifyPaymentsBankAccountEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ShopifyPaymentsBankAccountEdge. /// - [Description("The item at the end of ShopifyPaymentsBankAccountEdge.")] - [NonNull] - public ShopifyPaymentsBankAccount? node { get; set; } - } - + [Description("The item at the end of ShopifyPaymentsBankAccountEdge.")] + [NonNull] + public ShopifyPaymentsBankAccount? node { get; set; } + } + /// ///The bank account status. /// - [Description("The bank account status.")] - public enum ShopifyPaymentsBankAccountStatus - { + [Description("The bank account status.")] + public enum ShopifyPaymentsBankAccountStatus + { /// ///A bank account that hasn't had any activity and that's not validated. /// - [Description("A bank account that hasn't had any activity and that's not validated.")] - NEW, + [Description("A bank account that hasn't had any activity and that's not validated.")] + NEW, /// ///It was determined that the bank account exists. /// - [Description("It was determined that the bank account exists.")] - VALIDATED, + [Description("It was determined that the bank account exists.")] + VALIDATED, /// ///Bank account validation was successful. /// - [Description("Bank account validation was successful.")] - VERIFIED, + [Description("Bank account validation was successful.")] + VERIFIED, /// ///A payout to the bank account failed. /// - [Description("A payout to the bank account failed.")] - ERRORED, - } - - public static class ShopifyPaymentsBankAccountStatusStringValues - { - public const string NEW = @"NEW"; - public const string VALIDATED = @"VALIDATED"; - public const string VERIFIED = @"VERIFIED"; - public const string ERRORED = @"ERRORED"; - } - + [Description("A payout to the bank account failed.")] + ERRORED, + } + + public static class ShopifyPaymentsBankAccountStatusStringValues + { + public const string NEW = @"NEW"; + public const string VALIDATED = @"VALIDATED"; + public const string VERIFIED = @"VERIFIED"; + public const string ERRORED = @"ERRORED"; + } + /// ///The business type of a Shopify Payments account. /// - [Description("The business type of a Shopify Payments account.")] - public enum ShopifyPaymentsBusinessType - { + [Description("The business type of a Shopify Payments account.")] + public enum ShopifyPaymentsBusinessType + { /// ///The business type is a corporation. /// - [Description("The business type is a corporation.")] - CORPORATION, + [Description("The business type is a corporation.")] + CORPORATION, /// ///The business type is a government. /// - [Description("The business type is a government.")] - GOVERNMENT, + [Description("The business type is a government.")] + GOVERNMENT, /// ///The business type is an incorporated partnership. /// - [Description("The business type is an incorporated partnership.")] - INCORPORATED_PARTNERSHIP, + [Description("The business type is an incorporated partnership.")] + INCORPORATED_PARTNERSHIP, /// ///The business is an individual. /// - [Description("The business is an individual.")] - INDIVIDUAL, + [Description("The business is an individual.")] + INDIVIDUAL, /// ///The business type is a Limited Liability Company. /// - [Description("The business type is a Limited Liability Company.")] - LLC, + [Description("The business type is a Limited Liability Company.")] + LLC, /// ///The business type is a non profit. /// - [Description("The business type is a non profit.")] - NON_PROFIT, + [Description("The business type is a non profit.")] + NON_PROFIT, /// ///The business type is a non profit (incorporated). /// - [Description("The business type is a non profit (incorporated).")] - NON_PROFIT_INCORPORATED, + [Description("The business type is a non profit (incorporated).")] + NON_PROFIT_INCORPORATED, /// ///The business type is a non profit (unincorporated). /// - [Description("The business type is a non profit (unincorporated).")] - NON_PROFIT_UNINCORPORATED, + [Description("The business type is a non profit (unincorporated).")] + NON_PROFIT_UNINCORPORATED, /// ///The business type is a non profit (unincorporated_association). /// - [Description("The business type is a non profit (unincorporated_association).")] - NON_PROFIT_UNINCORPORATED_ASSOCIATION, + [Description("The business type is a non profit (unincorporated_association).")] + NON_PROFIT_UNINCORPORATED_ASSOCIATION, /// ///The business type is a non profit (registered charity). /// - [Description("The business type is a non profit (registered charity).")] - NON_PROFIT_REGISTERED_CHARITY, + [Description("The business type is a non profit (registered charity).")] + NON_PROFIT_REGISTERED_CHARITY, /// ///The business type is a partnership. /// - [Description("The business type is a partnership.")] - PARTNERSHIP, + [Description("The business type is a partnership.")] + PARTNERSHIP, /// ///The business type is a private corporation. /// - [Description("The business type is a private corporation.")] - PRIVATE_CORPORATION, + [Description("The business type is a private corporation.")] + PRIVATE_CORPORATION, /// ///The business type is a public company. /// - [Description("The business type is a public company.")] - PUBLIC_COMPANY, + [Description("The business type is a public company.")] + PUBLIC_COMPANY, /// ///The business type is a public corporation. /// - [Description("The business type is a public corporation.")] - PUBLIC_CORPORATION, + [Description("The business type is a public corporation.")] + PUBLIC_CORPORATION, /// ///The business type is a sole proprietorship. /// - [Description("The business type is a sole proprietorship.")] - SOLE_PROP, + [Description("The business type is a sole proprietorship.")] + SOLE_PROP, /// ///The business type is an unincorporated partnership. /// - [Description("The business type is an unincorporated partnership.")] - UNINCORPORATED_PARTNERSHIP, + [Description("The business type is an unincorporated partnership.")] + UNINCORPORATED_PARTNERSHIP, /// ///The business type is a private multi member LLC. /// - [Description("The business type is a private multi member LLC.")] - PRIVATE_MULTI_MEMBER_LLC, + [Description("The business type is a private multi member LLC.")] + PRIVATE_MULTI_MEMBER_LLC, /// ///The business type is a private single member LLC. /// - [Description("The business type is a private single member LLC.")] - PRIVATE_SINGLE_MEMBER_LLC, + [Description("The business type is a private single member LLC.")] + PRIVATE_SINGLE_MEMBER_LLC, /// ///The business type is a private unincorporated association. /// - [Description("The business type is a private unincorporated association.")] - PRIVATE_UNINCORPORATED_ASSOCIATION, + [Description("The business type is a private unincorporated association.")] + PRIVATE_UNINCORPORATED_ASSOCIATION, /// ///The business type is a private partnership. /// - [Description("The business type is a private partnership.")] - PRIVATE_PARTNERSHIP, + [Description("The business type is a private partnership.")] + PRIVATE_PARTNERSHIP, /// ///The business type is a public partnership. /// - [Description("The business type is a public partnership.")] - PUBLIC_PARTNERSHIP, + [Description("The business type is a public partnership.")] + PUBLIC_PARTNERSHIP, /// ///The business type is a free zone establishment. /// - [Description("The business type is a free zone establishment.")] - FREE_ZONE_ESTABLISHMENT, + [Description("The business type is a free zone establishment.")] + FREE_ZONE_ESTABLISHMENT, /// ///The business type is a free zone LLC. /// - [Description("The business type is a free zone LLC.")] - FREE_ZONE_LLC, + [Description("The business type is a free zone LLC.")] + FREE_ZONE_LLC, /// ///The business type is a sole establishment. /// - [Description("The business type is a sole establishment.")] - SOLE_ESTABLISHMENT, + [Description("The business type is a sole establishment.")] + SOLE_ESTABLISHMENT, /// ///The business type is not set. This is usually because onboarding is incomplete. /// - [Description("The business type is not set. This is usually because onboarding is incomplete.")] - NOT_SET, - } - - public static class ShopifyPaymentsBusinessTypeStringValues - { - public const string CORPORATION = @"CORPORATION"; - public const string GOVERNMENT = @"GOVERNMENT"; - public const string INCORPORATED_PARTNERSHIP = @"INCORPORATED_PARTNERSHIP"; - public const string INDIVIDUAL = @"INDIVIDUAL"; - public const string LLC = @"LLC"; - public const string NON_PROFIT = @"NON_PROFIT"; - public const string NON_PROFIT_INCORPORATED = @"NON_PROFIT_INCORPORATED"; - public const string NON_PROFIT_UNINCORPORATED = @"NON_PROFIT_UNINCORPORATED"; - public const string NON_PROFIT_UNINCORPORATED_ASSOCIATION = @"NON_PROFIT_UNINCORPORATED_ASSOCIATION"; - public const string NON_PROFIT_REGISTERED_CHARITY = @"NON_PROFIT_REGISTERED_CHARITY"; - public const string PARTNERSHIP = @"PARTNERSHIP"; - public const string PRIVATE_CORPORATION = @"PRIVATE_CORPORATION"; - public const string PUBLIC_COMPANY = @"PUBLIC_COMPANY"; - public const string PUBLIC_CORPORATION = @"PUBLIC_CORPORATION"; - public const string SOLE_PROP = @"SOLE_PROP"; - public const string UNINCORPORATED_PARTNERSHIP = @"UNINCORPORATED_PARTNERSHIP"; - public const string PRIVATE_MULTI_MEMBER_LLC = @"PRIVATE_MULTI_MEMBER_LLC"; - public const string PRIVATE_SINGLE_MEMBER_LLC = @"PRIVATE_SINGLE_MEMBER_LLC"; - public const string PRIVATE_UNINCORPORATED_ASSOCIATION = @"PRIVATE_UNINCORPORATED_ASSOCIATION"; - public const string PRIVATE_PARTNERSHIP = @"PRIVATE_PARTNERSHIP"; - public const string PUBLIC_PARTNERSHIP = @"PUBLIC_PARTNERSHIP"; - public const string FREE_ZONE_ESTABLISHMENT = @"FREE_ZONE_ESTABLISHMENT"; - public const string FREE_ZONE_LLC = @"FREE_ZONE_LLC"; - public const string SOLE_ESTABLISHMENT = @"SOLE_ESTABLISHMENT"; - public const string NOT_SET = @"NOT_SET"; - } - + [Description("The business type is not set. This is usually because onboarding is incomplete.")] + NOT_SET, + } + + public static class ShopifyPaymentsBusinessTypeStringValues + { + public const string CORPORATION = @"CORPORATION"; + public const string GOVERNMENT = @"GOVERNMENT"; + public const string INCORPORATED_PARTNERSHIP = @"INCORPORATED_PARTNERSHIP"; + public const string INDIVIDUAL = @"INDIVIDUAL"; + public const string LLC = @"LLC"; + public const string NON_PROFIT = @"NON_PROFIT"; + public const string NON_PROFIT_INCORPORATED = @"NON_PROFIT_INCORPORATED"; + public const string NON_PROFIT_UNINCORPORATED = @"NON_PROFIT_UNINCORPORATED"; + public const string NON_PROFIT_UNINCORPORATED_ASSOCIATION = @"NON_PROFIT_UNINCORPORATED_ASSOCIATION"; + public const string NON_PROFIT_REGISTERED_CHARITY = @"NON_PROFIT_REGISTERED_CHARITY"; + public const string PARTNERSHIP = @"PARTNERSHIP"; + public const string PRIVATE_CORPORATION = @"PRIVATE_CORPORATION"; + public const string PUBLIC_COMPANY = @"PUBLIC_COMPANY"; + public const string PUBLIC_CORPORATION = @"PUBLIC_CORPORATION"; + public const string SOLE_PROP = @"SOLE_PROP"; + public const string UNINCORPORATED_PARTNERSHIP = @"UNINCORPORATED_PARTNERSHIP"; + public const string PRIVATE_MULTI_MEMBER_LLC = @"PRIVATE_MULTI_MEMBER_LLC"; + public const string PRIVATE_SINGLE_MEMBER_LLC = @"PRIVATE_SINGLE_MEMBER_LLC"; + public const string PRIVATE_UNINCORPORATED_ASSOCIATION = @"PRIVATE_UNINCORPORATED_ASSOCIATION"; + public const string PRIVATE_PARTNERSHIP = @"PRIVATE_PARTNERSHIP"; + public const string PUBLIC_PARTNERSHIP = @"PUBLIC_PARTNERSHIP"; + public const string FREE_ZONE_ESTABLISHMENT = @"FREE_ZONE_ESTABLISHMENT"; + public const string FREE_ZONE_LLC = @"FREE_ZONE_LLC"; + public const string SOLE_ESTABLISHMENT = @"SOLE_ESTABLISHMENT"; + public const string NOT_SET = @"NOT_SET"; + } + /// ///The charge descriptors for a payments account. /// - [Description("The charge descriptors for a payments account.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(ShopifyPaymentsDefaultChargeStatementDescriptor), typeDiscriminator: "ShopifyPaymentsDefaultChargeStatementDescriptor")] - [JsonDerivedType(typeof(ShopifyPaymentsJpChargeStatementDescriptor), typeDiscriminator: "ShopifyPaymentsJpChargeStatementDescriptor")] - public interface IShopifyPaymentsChargeStatementDescriptor : IGraphQLObject - { - public ShopifyPaymentsDefaultChargeStatementDescriptor? AsShopifyPaymentsDefaultChargeStatementDescriptor() => this as ShopifyPaymentsDefaultChargeStatementDescriptor; - public ShopifyPaymentsJpChargeStatementDescriptor? AsShopifyPaymentsJpChargeStatementDescriptor() => this as ShopifyPaymentsJpChargeStatementDescriptor; + [Description("The charge descriptors for a payments account.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(ShopifyPaymentsDefaultChargeStatementDescriptor), typeDiscriminator: "ShopifyPaymentsDefaultChargeStatementDescriptor")] + [JsonDerivedType(typeof(ShopifyPaymentsJpChargeStatementDescriptor), typeDiscriminator: "ShopifyPaymentsJpChargeStatementDescriptor")] + public interface IShopifyPaymentsChargeStatementDescriptor : IGraphQLObject + { + public ShopifyPaymentsDefaultChargeStatementDescriptor? AsShopifyPaymentsDefaultChargeStatementDescriptor() => this as ShopifyPaymentsDefaultChargeStatementDescriptor; + public ShopifyPaymentsJpChargeStatementDescriptor? AsShopifyPaymentsJpChargeStatementDescriptor() => this as ShopifyPaymentsJpChargeStatementDescriptor; /// ///The default charge statement descriptor. /// - [Description("The default charge statement descriptor.")] - public string? @default { get; } - + [Description("The default charge statement descriptor.")] + public string? @default { get; } + /// ///The prefix of the statement descriptor. /// - [Description("The prefix of the statement descriptor.")] - [NonNull] - public string? prefix { get; } - } - + [Description("The prefix of the statement descriptor.")] + [NonNull] + public string? prefix { get; } + } + /// ///The charge descriptors for a payments account. /// - [Description("The charge descriptors for a payments account.")] - public class ShopifyPaymentsDefaultChargeStatementDescriptor : GraphQLObject, IShopifyPaymentsChargeStatementDescriptor - { + [Description("The charge descriptors for a payments account.")] + public class ShopifyPaymentsDefaultChargeStatementDescriptor : GraphQLObject, IShopifyPaymentsChargeStatementDescriptor + { /// ///The default charge statement descriptor. /// - [Description("The default charge statement descriptor.")] - public string? @default { get; set; } - + [Description("The default charge statement descriptor.")] + public string? @default { get; set; } + /// ///The prefix of the statement descriptor. /// - [Description("The prefix of the statement descriptor.")] - [NonNull] - public string? prefix { get; set; } - } - + [Description("The prefix of the statement descriptor.")] + [NonNull] + public string? prefix { get; set; } + } + /// ///A destination or bank account that can receive payouts. /// - [Description("A destination or bank account that can receive payouts.")] - public class ShopifyPaymentsDestinationAccount : GraphQLObject - { + [Description("A destination or bank account that can receive payouts.")] + public class ShopifyPaymentsDestinationAccount : GraphQLObject + { /// ///The name of the bank. /// - [Description("The name of the bank.")] - public string? bankName { get; set; } - + [Description("The name of the bank.")] + public string? bankName { get; set; } + /// ///The currency of the bank account. /// - [Description("The currency of the bank account.")] - [EnumType(typeof(CurrencyCode))] - public string? currency { get; set; } - + [Description("The currency of the bank account.")] + [EnumType(typeof(CurrencyCode))] + public string? currency { get; set; } + /// ///The last digits of the account number (the rest is redacted). /// - [Description("The last digits of the account number (the rest is redacted).")] - public string? lastDigits { get; set; } - } - + [Description("The last digits of the account number (the rest is redacted).")] + public string? lastDigits { get; set; } + } + /// ///A dispute occurs when a buyer questions the legitimacy of a charge with their financial institution. /// - [Description("A dispute occurs when a buyer questions the legitimacy of a charge with their financial institution.")] - public class ShopifyPaymentsDispute : GraphQLObject, ILegacyInteroperability, INode - { + [Description("A dispute occurs when a buyer questions the legitimacy of a charge with their financial institution.")] + public class ShopifyPaymentsDispute : GraphQLObject, ILegacyInteroperability, INode + { /// ///The total amount disputed by the cardholder. /// - [Description("The total amount disputed by the cardholder.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The total amount disputed by the cardholder.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The evidence associated with the dispute. /// - [Description("The evidence associated with the dispute.")] - [NonNull] - public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } - + [Description("The evidence associated with the dispute.")] + [NonNull] + public ShopifyPaymentsDisputeEvidence? disputeEvidence { get; set; } + /// ///The deadline for evidence submission. /// - [Description("The deadline for evidence submission.")] - public DateTime? evidenceDueBy { get; set; } - + [Description("The deadline for evidence submission.")] + public DateTime? evidenceDueBy { get; set; } + /// ///The date when evidence was sent. Returns null if evidence hasn't yet been sent. /// - [Description("The date when evidence was sent. Returns null if evidence hasn't yet been sent.")] - public DateTime? evidenceSentOn { get; set; } - + [Description("The date when evidence was sent. Returns null if evidence hasn't yet been sent.")] + public DateTime? evidenceSentOn { get; set; } + /// ///The date when this dispute was resolved. Returns null if the dispute isn't yet resolved. /// - [Description("The date when this dispute was resolved. Returns null if the dispute isn't yet resolved.")] - public DateTime? finalizedOn { get; set; } - + [Description("The date when this dispute was resolved. Returns null if the dispute isn't yet resolved.")] + public DateTime? finalizedOn { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The date when this dispute was initiated. /// - [Description("The date when this dispute was initiated.")] - [NonNull] - public DateTime? initiatedAt { get; set; } - + [Description("The date when this dispute was initiated.")] + [NonNull] + public DateTime? initiatedAt { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The order that contains the charge that's under dispute. /// - [Description("The order that contains the charge that's under dispute.")] - public Order? order { get; set; } - + [Description("The order that contains the charge that's under dispute.")] + public Order? order { get; set; } + /// ///The reason of the dispute. /// - [Description("The reason of the dispute.")] - [NonNull] - public ShopifyPaymentsDisputeReasonDetails? reasonDetails { get; set; } - + [Description("The reason of the dispute.")] + [NonNull] + public ShopifyPaymentsDisputeReasonDetails? reasonDetails { get; set; } + /// ///The current state of the dispute. /// - [Description("The current state of the dispute.")] - [NonNull] - [EnumType(typeof(DisputeStatus))] - public string? status { get; set; } - + [Description("The current state of the dispute.")] + [NonNull] + [EnumType(typeof(DisputeStatus))] + public string? status { get; set; } + /// ///Indicates if this dispute is still in the inquiry phase or has turned into a chargeback. /// - [Description("Indicates if this dispute is still in the inquiry phase or has turned into a chargeback.")] - [NonNull] - [EnumType(typeof(DisputeType))] - public string? type { get; set; } - } - + [Description("Indicates if this dispute is still in the inquiry phase or has turned into a chargeback.")] + [NonNull] + [EnumType(typeof(DisputeType))] + public string? type { get; set; } + } + /// ///An auto-generated type for paginating through multiple ShopifyPaymentsDisputes. /// - [Description("An auto-generated type for paginating through multiple ShopifyPaymentsDisputes.")] - public class ShopifyPaymentsDisputeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ShopifyPaymentsDisputes.")] + public class ShopifyPaymentsDisputeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ShopifyPaymentsDisputeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ShopifyPaymentsDisputeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ShopifyPaymentsDisputeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ShopifyPaymentsDispute and a cursor during pagination. /// - [Description("An auto-generated type which holds one ShopifyPaymentsDispute and a cursor during pagination.")] - public class ShopifyPaymentsDisputeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ShopifyPaymentsDispute and a cursor during pagination.")] + public class ShopifyPaymentsDisputeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ShopifyPaymentsDisputeEdge. /// - [Description("The item at the end of ShopifyPaymentsDisputeEdge.")] - [NonNull] - public ShopifyPaymentsDispute? node { get; set; } - } - + [Description("The item at the end of ShopifyPaymentsDisputeEdge.")] + [NonNull] + public ShopifyPaymentsDispute? node { get; set; } + } + /// ///The evidence associated with the dispute. /// - [Description("The evidence associated with the dispute.")] - public class ShopifyPaymentsDisputeEvidence : GraphQLObject, INode - { + [Description("The evidence associated with the dispute.")] + public class ShopifyPaymentsDisputeEvidence : GraphQLObject, INode + { /// ///The activity logs associated with the dispute evidence. /// - [Description("The activity logs associated with the dispute evidence.")] - public string? accessActivityLog { get; set; } - + [Description("The activity logs associated with the dispute evidence.")] + public string? accessActivityLog { get; set; } + /// ///The billing address that's provided by the customer. /// - [Description("The billing address that's provided by the customer.")] - public MailingAddress? billingAddress { get; set; } - + [Description("The billing address that's provided by the customer.")] + public MailingAddress? billingAddress { get; set; } + /// ///The cancellation policy disclosure associated with the dispute evidence. /// - [Description("The cancellation policy disclosure associated with the dispute evidence.")] - public string? cancellationPolicyDisclosure { get; set; } - + [Description("The cancellation policy disclosure associated with the dispute evidence.")] + public string? cancellationPolicyDisclosure { get; set; } + /// ///The cancellation policy file associated with the dispute evidence. /// - [Description("The cancellation policy file associated with the dispute evidence.")] - public ShopifyPaymentsDisputeFileUpload? cancellationPolicyFile { get; set; } - + [Description("The cancellation policy file associated with the dispute evidence.")] + public ShopifyPaymentsDisputeFileUpload? cancellationPolicyFile { get; set; } + /// ///The cancellation rebuttal associated with the dispute evidence. /// - [Description("The cancellation rebuttal associated with the dispute evidence.")] - public string? cancellationRebuttal { get; set; } - + [Description("The cancellation rebuttal associated with the dispute evidence.")] + public string? cancellationRebuttal { get; set; } + /// ///The customer communication file associated with the dispute evidence. /// - [Description("The customer communication file associated with the dispute evidence.")] - public ShopifyPaymentsDisputeFileUpload? customerCommunicationFile { get; set; } - + [Description("The customer communication file associated with the dispute evidence.")] + public ShopifyPaymentsDisputeFileUpload? customerCommunicationFile { get; set; } + /// ///The customer's email address. /// - [Description("The customer's email address.")] - public string? customerEmailAddress { get; set; } - + [Description("The customer's email address.")] + public string? customerEmailAddress { get; set; } + /// ///The customer's first name. /// - [Description("The customer's first name.")] - public string? customerFirstName { get; set; } - + [Description("The customer's first name.")] + public string? customerFirstName { get; set; } + /// ///The customer's last name. /// - [Description("The customer's last name.")] - public string? customerLastName { get; set; } - + [Description("The customer's last name.")] + public string? customerLastName { get; set; } + /// ///The customer purchase ip for this dispute evidence. /// - [Description("The customer purchase ip for this dispute evidence.")] - public string? customerPurchaseIp { get; set; } - + [Description("The customer purchase ip for this dispute evidence.")] + public string? customerPurchaseIp { get; set; } + /// ///The dispute associated with the evidence. /// - [Description("The dispute associated with the evidence.")] - [NonNull] - public ShopifyPaymentsDispute? dispute { get; set; } - + [Description("The dispute associated with the evidence.")] + [NonNull] + public ShopifyPaymentsDispute? dispute { get; set; } + /// ///The file uploads associated with the dispute evidence. /// - [Description("The file uploads associated with the dispute evidence.")] - [NonNull] - public IEnumerable? disputeFileUploads { get; set; } - + [Description("The file uploads associated with the dispute evidence.")] + [NonNull] + public IEnumerable? disputeFileUploads { get; set; } + /// ///The fulfillments associated with the dispute evidence. /// - [Description("The fulfillments associated with the dispute evidence.")] - [NonNull] - public IEnumerable? fulfillments { get; set; } - + [Description("The fulfillments associated with the dispute evidence.")] + [NonNull] + public IEnumerable? fulfillments { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The product description for this dispute evidence. /// - [Description("The product description for this dispute evidence.")] - public string? productDescription { get; set; } - + [Description("The product description for this dispute evidence.")] + public string? productDescription { get; set; } + /// ///The refund policy disclosure associated with the dispute evidence. /// - [Description("The refund policy disclosure associated with the dispute evidence.")] - public string? refundPolicyDisclosure { get; set; } - + [Description("The refund policy disclosure associated with the dispute evidence.")] + public string? refundPolicyDisclosure { get; set; } + /// ///The refund policy file associated with the dispute evidence. /// - [Description("The refund policy file associated with the dispute evidence.")] - public ShopifyPaymentsDisputeFileUpload? refundPolicyFile { get; set; } - + [Description("The refund policy file associated with the dispute evidence.")] + public ShopifyPaymentsDisputeFileUpload? refundPolicyFile { get; set; } + /// ///The refund refusal explanation associated with dispute evidence. /// - [Description("The refund refusal explanation associated with dispute evidence.")] - public string? refundRefusalExplanation { get; set; } - + [Description("The refund refusal explanation associated with dispute evidence.")] + public string? refundRefusalExplanation { get; set; } + /// ///The service documentation file associated with the dispute evidence. /// - [Description("The service documentation file associated with the dispute evidence.")] - public ShopifyPaymentsDisputeFileUpload? serviceDocumentationFile { get; set; } - + [Description("The service documentation file associated with the dispute evidence.")] + public ShopifyPaymentsDisputeFileUpload? serviceDocumentationFile { get; set; } + /// ///The mailing address for shipping that's provided by the customer. /// - [Description("The mailing address for shipping that's provided by the customer.")] - public MailingAddress? shippingAddress { get; set; } - + [Description("The mailing address for shipping that's provided by the customer.")] + public MailingAddress? shippingAddress { get; set; } + /// ///The shipping documentation file associated with the dispute evidence. /// - [Description("The shipping documentation file associated with the dispute evidence.")] - public ShopifyPaymentsDisputeFileUpload? shippingDocumentationFile { get; set; } - + [Description("The shipping documentation file associated with the dispute evidence.")] + public ShopifyPaymentsDisputeFileUpload? shippingDocumentationFile { get; set; } + /// ///Whether the dispute evidence is submitted. /// - [Description("Whether the dispute evidence is submitted.")] - [NonNull] - public bool? submitted { get; set; } - + [Description("Whether the dispute evidence is submitted.")] + [NonNull] + public bool? submitted { get; set; } + /// ///The uncategorized file associated with the dispute evidence. /// - [Description("The uncategorized file associated with the dispute evidence.")] - public ShopifyPaymentsDisputeFileUpload? uncategorizedFile { get; set; } - + [Description("The uncategorized file associated with the dispute evidence.")] + public ShopifyPaymentsDisputeFileUpload? uncategorizedFile { get; set; } + /// ///The uncategorized text for the dispute evidence. /// - [Description("The uncategorized text for the dispute evidence.")] - public string? uncategorizedText { get; set; } - } - + [Description("The uncategorized text for the dispute evidence.")] + public string? uncategorizedText { get; set; } + } + /// ///The possible dispute evidence file types. /// - [Description("The possible dispute evidence file types.")] - public enum ShopifyPaymentsDisputeEvidenceFileType - { + [Description("The possible dispute evidence file types.")] + public enum ShopifyPaymentsDisputeEvidenceFileType + { /// ///Customer Communication File. /// - [Description("Customer Communication File.")] - CUSTOMER_COMMUNICATION_FILE, + [Description("Customer Communication File.")] + CUSTOMER_COMMUNICATION_FILE, /// ///Refund Policy File. /// - [Description("Refund Policy File.")] - REFUND_POLICY_FILE, + [Description("Refund Policy File.")] + REFUND_POLICY_FILE, /// ///Cancellation Policy File. /// - [Description("Cancellation Policy File.")] - CANCELLATION_POLICY_FILE, + [Description("Cancellation Policy File.")] + CANCELLATION_POLICY_FILE, /// ///Uncategorized File. /// - [Description("Uncategorized File.")] - UNCATEGORIZED_FILE, + [Description("Uncategorized File.")] + UNCATEGORIZED_FILE, /// ///Shipping Documentation File. /// - [Description("Shipping Documentation File.")] - SHIPPING_DOCUMENTATION_FILE, + [Description("Shipping Documentation File.")] + SHIPPING_DOCUMENTATION_FILE, /// ///Service Documentation File. /// - [Description("Service Documentation File.")] - SERVICE_DOCUMENTATION_FILE, + [Description("Service Documentation File.")] + SERVICE_DOCUMENTATION_FILE, /// ///Response Summary File. /// - [Description("Response Summary File.")] - RESPONSE_SUMMARY_FILE, - } - - public static class ShopifyPaymentsDisputeEvidenceFileTypeStringValues - { - public const string CUSTOMER_COMMUNICATION_FILE = @"CUSTOMER_COMMUNICATION_FILE"; - public const string REFUND_POLICY_FILE = @"REFUND_POLICY_FILE"; - public const string CANCELLATION_POLICY_FILE = @"CANCELLATION_POLICY_FILE"; - public const string UNCATEGORIZED_FILE = @"UNCATEGORIZED_FILE"; - public const string SHIPPING_DOCUMENTATION_FILE = @"SHIPPING_DOCUMENTATION_FILE"; - public const string SERVICE_DOCUMENTATION_FILE = @"SERVICE_DOCUMENTATION_FILE"; - public const string RESPONSE_SUMMARY_FILE = @"RESPONSE_SUMMARY_FILE"; - } - + [Description("Response Summary File.")] + RESPONSE_SUMMARY_FILE, + } + + public static class ShopifyPaymentsDisputeEvidenceFileTypeStringValues + { + public const string CUSTOMER_COMMUNICATION_FILE = @"CUSTOMER_COMMUNICATION_FILE"; + public const string REFUND_POLICY_FILE = @"REFUND_POLICY_FILE"; + public const string CANCELLATION_POLICY_FILE = @"CANCELLATION_POLICY_FILE"; + public const string UNCATEGORIZED_FILE = @"UNCATEGORIZED_FILE"; + public const string SHIPPING_DOCUMENTATION_FILE = @"SHIPPING_DOCUMENTATION_FILE"; + public const string SERVICE_DOCUMENTATION_FILE = @"SERVICE_DOCUMENTATION_FILE"; + public const string RESPONSE_SUMMARY_FILE = @"RESPONSE_SUMMARY_FILE"; + } + /// ///The input fields required to update a dispute evidence object. /// - [Description("The input fields required to update a dispute evidence object.")] - public class ShopifyPaymentsDisputeEvidenceUpdateInput : GraphQLObject - { + [Description("The input fields required to update a dispute evidence object.")] + public class ShopifyPaymentsDisputeEvidenceUpdateInput : GraphQLObject + { /// ///Customer email address. /// - [Description("Customer email address.")] - public string? customerEmailAddress { get; set; } - + [Description("Customer email address.")] + public string? customerEmailAddress { get; set; } + /// ///Customer last name. /// - [Description("Customer last name.")] - public string? customerLastName { get; set; } - + [Description("Customer last name.")] + public string? customerLastName { get; set; } + /// ///Customer first name. /// - [Description("Customer first name.")] - public string? customerFirstName { get; set; } - + [Description("Customer first name.")] + public string? customerFirstName { get; set; } + /// ///The shipping address associated with the dispute evidence. /// - [Description("The shipping address associated with the dispute evidence.")] - public MailingAddressInput? shippingAddress { get; set; } - + [Description("The shipping address associated with the dispute evidence.")] + public MailingAddressInput? shippingAddress { get; set; } + /// ///Uncategorized text. /// - [Description("Uncategorized text.")] - public string? uncategorizedText { get; set; } - + [Description("Uncategorized text.")] + public string? uncategorizedText { get; set; } + /// ///Activity logs. /// - [Description("Activity logs.")] - public string? accessActivityLog { get; set; } - + [Description("Activity logs.")] + public string? accessActivityLog { get; set; } + /// ///Cancellation policy disclosure. /// - [Description("Cancellation policy disclosure.")] - public string? cancellationPolicyDisclosure { get; set; } - + [Description("Cancellation policy disclosure.")] + public string? cancellationPolicyDisclosure { get; set; } + /// ///Cancellation rebuttal. /// - [Description("Cancellation rebuttal.")] - public string? cancellationRebuttal { get; set; } - + [Description("Cancellation rebuttal.")] + public string? cancellationRebuttal { get; set; } + /// ///Refund policy disclosure. /// - [Description("Refund policy disclosure.")] - public string? refundPolicyDisclosure { get; set; } - + [Description("Refund policy disclosure.")] + public string? refundPolicyDisclosure { get; set; } + /// ///Refund refusal explanation. /// - [Description("Refund refusal explanation.")] - public string? refundRefusalExplanation { get; set; } - + [Description("Refund refusal explanation.")] + public string? refundRefusalExplanation { get; set; } + /// ///Cancellation policy file. /// - [Description("Cancellation policy file.")] - public ShopifyPaymentsDisputeFileUploadUpdateInput? cancellationPolicyFile { get; set; } - + [Description("Cancellation policy file.")] + public ShopifyPaymentsDisputeFileUploadUpdateInput? cancellationPolicyFile { get; set; } + /// ///Customer communication file. /// - [Description("Customer communication file.")] - public ShopifyPaymentsDisputeFileUploadUpdateInput? customerCommunicationFile { get; set; } - + [Description("Customer communication file.")] + public ShopifyPaymentsDisputeFileUploadUpdateInput? customerCommunicationFile { get; set; } + /// ///Refund policy file. /// - [Description("Refund policy file.")] - public ShopifyPaymentsDisputeFileUploadUpdateInput? refundPolicyFile { get; set; } - + [Description("Refund policy file.")] + public ShopifyPaymentsDisputeFileUploadUpdateInput? refundPolicyFile { get; set; } + /// ///Shipping documentation file. /// - [Description("Shipping documentation file.")] - public ShopifyPaymentsDisputeFileUploadUpdateInput? shippingDocumentationFile { get; set; } - + [Description("Shipping documentation file.")] + public ShopifyPaymentsDisputeFileUploadUpdateInput? shippingDocumentationFile { get; set; } + /// ///Uncategorized file. /// - [Description("Uncategorized file.")] - public ShopifyPaymentsDisputeFileUploadUpdateInput? uncategorizedFile { get; set; } - + [Description("Uncategorized file.")] + public ShopifyPaymentsDisputeFileUploadUpdateInput? uncategorizedFile { get; set; } + /// ///Service documentation file. /// - [Description("Service documentation file.")] - public ShopifyPaymentsDisputeFileUploadUpdateInput? serviceDocumentationFile { get; set; } - + [Description("Service documentation file.")] + public ShopifyPaymentsDisputeFileUploadUpdateInput? serviceDocumentationFile { get; set; } + /// ///Whether to submit the evidence. /// - [Description("Whether to submit the evidence.")] - public bool? submitEvidence { get; set; } - } - + [Description("Whether to submit the evidence.")] + public bool? submitEvidence { get; set; } + } + /// ///The file upload associated with the dispute evidence. /// - [Description("The file upload associated with the dispute evidence.")] - public class ShopifyPaymentsDisputeFileUpload : GraphQLObject, INode - { + [Description("The file upload associated with the dispute evidence.")] + public class ShopifyPaymentsDisputeFileUpload : GraphQLObject, INode + { /// ///The type of the file for the dispute evidence. /// - [Description("The type of the file for the dispute evidence.")] - [EnumType(typeof(ShopifyPaymentsDisputeEvidenceFileType))] - public string? disputeEvidenceType { get; set; } - + [Description("The type of the file for the dispute evidence.")] + [EnumType(typeof(ShopifyPaymentsDisputeEvidenceFileType))] + public string? disputeEvidenceType { get; set; } + /// ///The file size. /// - [Description("The file size.")] - [NonNull] - public int? fileSize { get; set; } - + [Description("The file size.")] + [NonNull] + public int? fileSize { get; set; } + /// ///The file type. /// - [Description("The file type.")] - [NonNull] - public string? fileType { get; set; } - + [Description("The file type.")] + [NonNull] + public string? fileType { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The original file name. /// - [Description("The original file name.")] - public string? originalFileName { get; set; } - + [Description("The original file name.")] + public string? originalFileName { get; set; } + /// ///The URL for accessing the file. /// - [Description("The URL for accessing the file.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The URL for accessing the file.")] + [NonNull] + public string? url { get; set; } + } + /// ///The input fields required to update a dispute file upload object. /// - [Description("The input fields required to update a dispute file upload object.")] - public class ShopifyPaymentsDisputeFileUploadUpdateInput : GraphQLObject - { + [Description("The input fields required to update a dispute file upload object.")] + public class ShopifyPaymentsDisputeFileUploadUpdateInput : GraphQLObject + { /// ///The ID of the file upload to be updated. /// - [Description("The ID of the file upload to be updated.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the file upload to be updated.")] + [NonNull] + public string? id { get; set; } + /// ///Whether to delete this file upload. /// - [Description("Whether to delete this file upload.")] - public bool? destroy { get; set; } - } - + [Description("Whether to delete this file upload.")] + public bool? destroy { get; set; } + } + /// ///The fulfillment associated with dispute evidence. /// - [Description("The fulfillment associated with dispute evidence.")] - public class ShopifyPaymentsDisputeFulfillment : GraphQLObject, INode - { + [Description("The fulfillment associated with dispute evidence.")] + public class ShopifyPaymentsDisputeFulfillment : GraphQLObject, INode + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The shipping carrier for this fulfillment. /// - [Description("The shipping carrier for this fulfillment.")] - public string? shippingCarrier { get; set; } - + [Description("The shipping carrier for this fulfillment.")] + public string? shippingCarrier { get; set; } + /// ///The shipping date for this fulfillment. /// - [Description("The shipping date for this fulfillment.")] - public DateOnly? shippingDate { get; set; } - + [Description("The shipping date for this fulfillment.")] + public DateOnly? shippingDate { get; set; } + /// ///The shipping tracking number for this fulfillment. /// - [Description("The shipping tracking number for this fulfillment.")] - public string? shippingTrackingNumber { get; set; } - } - + [Description("The shipping tracking number for this fulfillment.")] + public string? shippingTrackingNumber { get; set; } + } + /// ///The reason for the dispute provided by the cardholder's bank. /// - [Description("The reason for the dispute provided by the cardholder's bank.")] - public enum ShopifyPaymentsDisputeReason - { + [Description("The reason for the dispute provided by the cardholder's bank.")] + public enum ShopifyPaymentsDisputeReason + { /// ///The cardholder claims that they didn’t authorize the payment. /// - [Description("The cardholder claims that they didn’t authorize the payment.")] - FRAUDULENT, + [Description("The cardholder claims that they didn’t authorize the payment.")] + FRAUDULENT, /// ///The dispute is uncategorized, so you should contact the customer for additional details to find out why the payment was disputed. /// - [Description("The dispute is uncategorized, so you should contact the customer for additional details to find out why the payment was disputed.")] - GENERAL, + [Description("The dispute is uncategorized, so you should contact the customer for additional details to find out why the payment was disputed.")] + GENERAL, /// ///The customer doesn’t recognize the payment appearing on their card statement. /// - [Description("The customer doesn’t recognize the payment appearing on their card statement.")] - UNRECOGNIZED, + [Description("The customer doesn’t recognize the payment appearing on their card statement.")] + UNRECOGNIZED, /// ///The customer claims they were charged multiple times for the same product or service. /// - [Description("The customer claims they were charged multiple times for the same product or service.")] - DUPLICATE, + [Description("The customer claims they were charged multiple times for the same product or service.")] + DUPLICATE, /// ///The customer claims that you continued to charge them after a subscription was canceled. /// - [Description("The customer claims that you continued to charge them after a subscription was canceled.")] - SUBSCRIPTION_CANCELLED, + [Description("The customer claims that you continued to charge them after a subscription was canceled.")] + SUBSCRIPTION_CANCELLED, /// ///The product or service was received but was defective, damaged, or not as described. /// - [Description("The product or service was received but was defective, damaged, or not as described.")] - PRODUCT_UNACCEPTABLE, + [Description("The product or service was received but was defective, damaged, or not as described.")] + PRODUCT_UNACCEPTABLE, /// ///The customer claims they did not receive the products or services purchased. /// - [Description("The customer claims they did not receive the products or services purchased.")] - PRODUCT_NOT_RECEIVED, + [Description("The customer claims they did not receive the products or services purchased.")] + PRODUCT_NOT_RECEIVED, /// ///The customer claims that the purchased product was returned or the transaction was otherwise canceled, but you haven't yet provided a refund or credit. /// - [Description("The customer claims that the purchased product was returned or the transaction was otherwise canceled, but you haven't yet provided a refund or credit.")] - CREDIT_NOT_PROCESSED, + [Description("The customer claims that the purchased product was returned or the transaction was otherwise canceled, but you haven't yet provided a refund or credit.")] + CREDIT_NOT_PROCESSED, /// ///The customer account associated with the purchase is incorrect. /// - [Description("The customer account associated with the purchase is incorrect.")] - INCORRECT_ACCOUNT_DETAILS, + [Description("The customer account associated with the purchase is incorrect.")] + INCORRECT_ACCOUNT_DETAILS, /// ///The customer's bank account has insufficient funds. /// - [Description("The customer's bank account has insufficient funds.")] - INSUFFICIENT_FUNDS, + [Description("The customer's bank account has insufficient funds.")] + INSUFFICIENT_FUNDS, /// ///The customer's bank can't process the charge. /// - [Description("The customer's bank can't process the charge.")] - BANK_CANNOT_PROCESS, + [Description("The customer's bank can't process the charge.")] + BANK_CANNOT_PROCESS, /// ///The customer's bank can't proceed with the debit since it hasn't been authorized. /// - [Description("The customer's bank can't proceed with the debit since it hasn't been authorized.")] - DEBIT_NOT_AUTHORIZED, + [Description("The customer's bank can't proceed with the debit since it hasn't been authorized.")] + DEBIT_NOT_AUTHORIZED, /// ///The customer initiated the dispute. Contact the customer for additional details on why the payment was disputed. /// - [Description("The customer initiated the dispute. Contact the customer for additional details on why the payment was disputed.")] - CUSTOMER_INITIATED, + [Description("The customer initiated the dispute. Contact the customer for additional details on why the payment was disputed.")] + CUSTOMER_INITIATED, /// ///The card issuer believes the disputed transaction doesn't conform to the network rules. These disputes occur when transactions don't meet card network requirements and may incur additional network fees if escalated for resolution. /// - [Description("The card issuer believes the disputed transaction doesn't conform to the network rules. These disputes occur when transactions don't meet card network requirements and may incur additional network fees if escalated for resolution.")] - NONCOMPLIANT, - } - - public static class ShopifyPaymentsDisputeReasonStringValues - { - public const string FRAUDULENT = @"FRAUDULENT"; - public const string GENERAL = @"GENERAL"; - public const string UNRECOGNIZED = @"UNRECOGNIZED"; - public const string DUPLICATE = @"DUPLICATE"; - public const string SUBSCRIPTION_CANCELLED = @"SUBSCRIPTION_CANCELLED"; - public const string PRODUCT_UNACCEPTABLE = @"PRODUCT_UNACCEPTABLE"; - public const string PRODUCT_NOT_RECEIVED = @"PRODUCT_NOT_RECEIVED"; - public const string CREDIT_NOT_PROCESSED = @"CREDIT_NOT_PROCESSED"; - public const string INCORRECT_ACCOUNT_DETAILS = @"INCORRECT_ACCOUNT_DETAILS"; - public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; - public const string BANK_CANNOT_PROCESS = @"BANK_CANNOT_PROCESS"; - public const string DEBIT_NOT_AUTHORIZED = @"DEBIT_NOT_AUTHORIZED"; - public const string CUSTOMER_INITIATED = @"CUSTOMER_INITIATED"; - public const string NONCOMPLIANT = @"NONCOMPLIANT"; - } - + [Description("The card issuer believes the disputed transaction doesn't conform to the network rules. These disputes occur when transactions don't meet card network requirements and may incur additional network fees if escalated for resolution.")] + NONCOMPLIANT, + } + + public static class ShopifyPaymentsDisputeReasonStringValues + { + public const string FRAUDULENT = @"FRAUDULENT"; + public const string GENERAL = @"GENERAL"; + public const string UNRECOGNIZED = @"UNRECOGNIZED"; + public const string DUPLICATE = @"DUPLICATE"; + public const string SUBSCRIPTION_CANCELLED = @"SUBSCRIPTION_CANCELLED"; + public const string PRODUCT_UNACCEPTABLE = @"PRODUCT_UNACCEPTABLE"; + public const string PRODUCT_NOT_RECEIVED = @"PRODUCT_NOT_RECEIVED"; + public const string CREDIT_NOT_PROCESSED = @"CREDIT_NOT_PROCESSED"; + public const string INCORRECT_ACCOUNT_DETAILS = @"INCORRECT_ACCOUNT_DETAILS"; + public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; + public const string BANK_CANNOT_PROCESS = @"BANK_CANNOT_PROCESS"; + public const string DEBIT_NOT_AUTHORIZED = @"DEBIT_NOT_AUTHORIZED"; + public const string CUSTOMER_INITIATED = @"CUSTOMER_INITIATED"; + public const string NONCOMPLIANT = @"NONCOMPLIANT"; + } + /// ///Details regarding a dispute reason. /// - [Description("Details regarding a dispute reason.")] - public class ShopifyPaymentsDisputeReasonDetails : GraphQLObject - { + [Description("Details regarding a dispute reason.")] + public class ShopifyPaymentsDisputeReasonDetails : GraphQLObject + { /// ///The raw code provided by the payment network. /// - [Description("The raw code provided by the payment network.")] - public string? networkReasonCode { get; set; } - + [Description("The raw code provided by the payment network.")] + public string? networkReasonCode { get; set; } + /// ///The reason for the dispute provided by the cardholder's banks. /// - [Description("The reason for the dispute provided by the cardholder's banks.")] - [NonNull] - [EnumType(typeof(ShopifyPaymentsDisputeReason))] - public string? reason { get; set; } - } - + [Description("The reason for the dispute provided by the cardholder's banks.")] + [NonNull] + [EnumType(typeof(ShopifyPaymentsDisputeReason))] + public string? reason { get; set; } + } + /// ///Presents all Shopify Payments information related to an extended authorization. /// - [Description("Presents all Shopify Payments information related to an extended authorization.")] - public class ShopifyPaymentsExtendedAuthorization : GraphQLObject - { + [Description("Presents all Shopify Payments information related to an extended authorization.")] + public class ShopifyPaymentsExtendedAuthorization : GraphQLObject + { /// ///The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment. /// - [Description("The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment.")] - [NonNull] - public DateTime? extendedAuthorizationExpiresAt { get; set; } - + [Description("The time after which the extended authorization expires. After the expiry, the merchant is unable to capture the payment.")] + [NonNull] + public DateTime? extendedAuthorizationExpiresAt { get; set; } + /// ///The time after which capture will incur an additional fee. /// - [Description("The time after which capture will incur an additional fee.")] - [NonNull] - public DateTime? standardAuthorizationExpiresAt { get; set; } - } - + [Description("The time after which capture will incur an additional fee.")] + [NonNull] + public DateTime? standardAuthorizationExpiresAt { get; set; } + } + /// ///The charge descriptors for a Japanese payments account. /// - [Description("The charge descriptors for a Japanese payments account.")] - public class ShopifyPaymentsJpChargeStatementDescriptor : GraphQLObject, IShopifyPaymentsChargeStatementDescriptor - { + [Description("The charge descriptors for a Japanese payments account.")] + public class ShopifyPaymentsJpChargeStatementDescriptor : GraphQLObject, IShopifyPaymentsChargeStatementDescriptor + { /// ///The default charge statement descriptor. /// - [Description("The default charge statement descriptor.")] - public string? @default { get; set; } - + [Description("The default charge statement descriptor.")] + public string? @default { get; set; } + /// ///The charge statement descriptor in kana. /// - [Description("The charge statement descriptor in kana.")] - public string? kana { get; set; } - + [Description("The charge statement descriptor in kana.")] + public string? kana { get; set; } + /// ///The charge statement descriptor in kanji. /// - [Description("The charge statement descriptor in kanji.")] - public string? kanji { get; set; } - + [Description("The charge statement descriptor in kanji.")] + public string? kanji { get; set; } + /// ///The prefix of the statement descriptor. /// - [Description("The prefix of the statement descriptor.")] - [NonNull] - public string? prefix { get; set; } - } - + [Description("The prefix of the statement descriptor.")] + [NonNull] + public string? prefix { get; set; } + } + /// ///A MerchantCategoryCode (MCC) is a four-digit number listed in ISO 18245 for retail financial services and used to classify the business by the type of goods or services it provides. /// - [Description("A MerchantCategoryCode (MCC) is a four-digit number listed in ISO 18245 for retail financial services and used to classify the business by the type of goods or services it provides.")] - public class ShopifyPaymentsMerchantCategoryCode : GraphQLObject - { + [Description("A MerchantCategoryCode (MCC) is a four-digit number listed in ISO 18245 for retail financial services and used to classify the business by the type of goods or services it provides.")] + public class ShopifyPaymentsMerchantCategoryCode : GraphQLObject + { /// ///The category of the MCC. /// - [Description("The category of the MCC.")] - [NonNull] - public string? category { get; set; } - + [Description("The category of the MCC.")] + [NonNull] + public string? category { get; set; } + /// ///The category label of the MCC. /// - [Description("The category label of the MCC.")] - [NonNull] - public string? categoryLabel { get; set; } - + [Description("The category label of the MCC.")] + [NonNull] + public string? categoryLabel { get; set; } + /// ///A four-digit number listed in ISO 18245. /// - [Description("A four-digit number listed in ISO 18245.")] - [NonNull] - public int? code { get; set; } - + [Description("A four-digit number listed in ISO 18245.")] + [NonNull] + public int? code { get; set; } + /// ///The ID of the MCC. /// - [Description("The ID of the MCC.")] - [NonNull] - public int? id { get; set; } - + [Description("The ID of the MCC.")] + [NonNull] + public int? id { get; set; } + /// ///The subcategory label of the MCC. /// - [Description("The subcategory label of the MCC.")] - [NonNull] - public string? subcategoryLabel { get; set; } - } - + [Description("The subcategory label of the MCC.")] + [NonNull] + public string? subcategoryLabel { get; set; } + } + /// ///Payouts represent the movement of money between a merchant's Shopify ///Payments balance and their bank account. /// - [Description("Payouts represent the movement of money between a merchant's Shopify\nPayments balance and their bank account.")] - public class ShopifyPaymentsPayout : GraphQLObject, ILegacyInteroperability, INode - { + [Description("Payouts represent the movement of money between a merchant's Shopify\nPayments balance and their bank account.")] + public class ShopifyPaymentsPayout : GraphQLObject, ILegacyInteroperability, INode + { /// ///The bank account for the payout. /// - [Description("The bank account for the payout.")] - [Obsolete("Use `destinationAccount` instead.")] - public ShopifyPaymentsBankAccount? bankAccount { get; set; } - + [Description("The bank account for the payout.")] + [Obsolete("Use `destinationAccount` instead.")] + public ShopifyPaymentsBankAccount? bankAccount { get; set; } + /// ///The business entity associated with the payout. /// - [Description("The business entity associated with the payout.")] - [NonNull] - public BusinessEntity? businessEntity { get; set; } - + [Description("The business entity associated with the payout.")] + [NonNull] + public BusinessEntity? businessEntity { get; set; } + /// ///The destination account for the payout. /// - [Description("The destination account for the payout.")] - public ShopifyPaymentsDestinationAccount? destinationAccount { get; set; } - + [Description("The destination account for the payout.")] + public ShopifyPaymentsDestinationAccount? destinationAccount { get; set; } + /// ///A unique trace ID from the financial institution. Use this reference number to track the payout with your provider. /// - [Description("A unique trace ID from the financial institution. Use this reference number to track the payout with your provider.")] - public string? externalTraceId { get; set; } - + [Description("A unique trace ID from the financial institution. Use this reference number to track the payout with your provider.")] + public string? externalTraceId { get; set; } + /// ///The total amount and currency of the payout. /// - [Description("The total amount and currency of the payout.")] - [Obsolete("Use `net` instead.")] - [NonNull] - public MoneyV2? gross { get; set; } - + [Description("The total amount and currency of the payout.")] + [Obsolete("Use `net` instead.")] + [NonNull] + public MoneyV2? gross { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The exact time when the payout was issued. The payout only contains ///balance transactions that were available at this time. /// - [Description("The exact time when the payout was issued. The payout only contains\nbalance transactions that were available at this time.")] - [NonNull] - public DateTime? issuedAt { get; set; } - + [Description("The exact time when the payout was issued. The payout only contains\nbalance transactions that were available at this time.")] + [NonNull] + public DateTime? issuedAt { get; set; } + /// ///The ID of the corresponding resource in the REST Admin API. /// - [Description("The ID of the corresponding resource in the REST Admin API.")] - [NonNull] - public ulong? legacyResourceId { get; set; } - + [Description("The ID of the corresponding resource in the REST Admin API.")] + [NonNull] + public ulong? legacyResourceId { get; set; } + /// ///The total amount and currency of the payout. /// - [Description("The total amount and currency of the payout.")] - [NonNull] - public MoneyV2? net { get; set; } - + [Description("The total amount and currency of the payout.")] + [NonNull] + public MoneyV2? net { get; set; } + /// ///The transfer status of the payout. /// - [Description("The transfer status of the payout.")] - [NonNull] - [EnumType(typeof(ShopifyPaymentsPayoutStatus))] - public string? status { get; set; } - + [Description("The transfer status of the payout.")] + [NonNull] + [EnumType(typeof(ShopifyPaymentsPayoutStatus))] + public string? status { get; set; } + /// ///The summary of the payout. /// - [Description("The summary of the payout.")] - [NonNull] - public ShopifyPaymentsPayoutSummary? summary { get; set; } - + [Description("The summary of the payout.")] + [NonNull] + public ShopifyPaymentsPayoutSummary? summary { get; set; } + /// ///The direction of the payout. /// - [Description("The direction of the payout.")] - [NonNull] - [EnumType(typeof(ShopifyPaymentsPayoutTransactionType))] - public string? transactionType { get; set; } - } - + [Description("The direction of the payout.")] + [NonNull] + [EnumType(typeof(ShopifyPaymentsPayoutTransactionType))] + public string? transactionType { get; set; } + } + /// ///Return type for `shopifyPaymentsPayoutAlternateCurrencyCreate` mutation. /// - [Description("Return type for `shopifyPaymentsPayoutAlternateCurrencyCreate` mutation.")] - public class ShopifyPaymentsPayoutAlternateCurrencyCreatePayload : GraphQLObject - { + [Description("Return type for `shopifyPaymentsPayoutAlternateCurrencyCreate` mutation.")] + public class ShopifyPaymentsPayoutAlternateCurrencyCreatePayload : GraphQLObject + { /// ///The resulting alternate currency payout created. /// - [Description("The resulting alternate currency payout created.")] - public ShopifyPaymentsToolingProviderPayout? payout { get; set; } - + [Description("The resulting alternate currency payout created.")] + public ShopifyPaymentsToolingProviderPayout? payout { get; set; } + /// ///Whether the alternate currency payout was created successfully. /// - [Description("Whether the alternate currency payout was created successfully.")] - public bool? success { get; set; } - + [Description("Whether the alternate currency payout was created successfully.")] + public bool? success { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ShopifyPaymentsPayoutAlternateCurrencyCreate`. /// - [Description("An error that occurs during the execution of `ShopifyPaymentsPayoutAlternateCurrencyCreate`.")] - public class ShopifyPaymentsPayoutAlternateCurrencyCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ShopifyPaymentsPayoutAlternateCurrencyCreate`.")] + public class ShopifyPaymentsPayoutAlternateCurrencyCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ShopifyPaymentsPayoutAlternateCurrencyCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ShopifyPaymentsPayoutAlternateCurrencyCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ShopifyPaymentsPayoutAlternateCurrencyCreateUserError`. /// - [Description("Possible error codes that can be returned by `ShopifyPaymentsPayoutAlternateCurrencyCreateUserError`.")] - public enum ShopifyPaymentsPayoutAlternateCurrencyCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `ShopifyPaymentsPayoutAlternateCurrencyCreateUserError`.")] + public enum ShopifyPaymentsPayoutAlternateCurrencyCreateUserErrorCode + { /// ///No Stripe provider account was found. /// - [Description("No Stripe provider account was found.")] - MISSING_PROVIDER_ACCOUNT, + [Description("No Stripe provider account was found.")] + MISSING_PROVIDER_ACCOUNT, /// ///Failed to create payout due to an error from Stripe. /// - [Description("Failed to create payout due to an error from Stripe.")] - ALTERNATE_CURRENCY_PAYOUT_FAILED_STRIPE_ERROR, + [Description("Failed to create payout due to an error from Stripe.")] + ALTERNATE_CURRENCY_PAYOUT_FAILED_STRIPE_ERROR, /// ///Failed to create payout due to an error from Shopify Core. /// - [Description("Failed to create payout due to an error from Shopify Core.")] - UNKNOWN_CORE_ERROR, + [Description("Failed to create payout due to an error from Shopify Core.")] + UNKNOWN_CORE_ERROR, /// ///Failed to create payout, there is no eligible balance in this currency. /// - [Description("Failed to create payout, there is no eligible balance in this currency.")] - ALTERNATE_CURRENCY_PAYOUT_FAILED_NO_ELIGIBLE_BALANCE, - } - - public static class ShopifyPaymentsPayoutAlternateCurrencyCreateUserErrorCodeStringValues - { - public const string MISSING_PROVIDER_ACCOUNT = @"MISSING_PROVIDER_ACCOUNT"; - public const string ALTERNATE_CURRENCY_PAYOUT_FAILED_STRIPE_ERROR = @"ALTERNATE_CURRENCY_PAYOUT_FAILED_STRIPE_ERROR"; - public const string UNKNOWN_CORE_ERROR = @"UNKNOWN_CORE_ERROR"; - public const string ALTERNATE_CURRENCY_PAYOUT_FAILED_NO_ELIGIBLE_BALANCE = @"ALTERNATE_CURRENCY_PAYOUT_FAILED_NO_ELIGIBLE_BALANCE"; - } - + [Description("Failed to create payout, there is no eligible balance in this currency.")] + ALTERNATE_CURRENCY_PAYOUT_FAILED_NO_ELIGIBLE_BALANCE, + } + + public static class ShopifyPaymentsPayoutAlternateCurrencyCreateUserErrorCodeStringValues + { + public const string MISSING_PROVIDER_ACCOUNT = @"MISSING_PROVIDER_ACCOUNT"; + public const string ALTERNATE_CURRENCY_PAYOUT_FAILED_STRIPE_ERROR = @"ALTERNATE_CURRENCY_PAYOUT_FAILED_STRIPE_ERROR"; + public const string UNKNOWN_CORE_ERROR = @"UNKNOWN_CORE_ERROR"; + public const string ALTERNATE_CURRENCY_PAYOUT_FAILED_NO_ELIGIBLE_BALANCE = @"ALTERNATE_CURRENCY_PAYOUT_FAILED_NO_ELIGIBLE_BALANCE"; + } + /// ///An auto-generated type for paginating through multiple ShopifyPaymentsPayouts. /// - [Description("An auto-generated type for paginating through multiple ShopifyPaymentsPayouts.")] - public class ShopifyPaymentsPayoutConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple ShopifyPaymentsPayouts.")] + public class ShopifyPaymentsPayoutConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ShopifyPaymentsPayoutEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ShopifyPaymentsPayoutEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ShopifyPaymentsPayoutEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one ShopifyPaymentsPayout and a cursor during pagination. /// - [Description("An auto-generated type which holds one ShopifyPaymentsPayout and a cursor during pagination.")] - public class ShopifyPaymentsPayoutEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one ShopifyPaymentsPayout and a cursor during pagination.")] + public class ShopifyPaymentsPayoutEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ShopifyPaymentsPayoutEdge. /// - [Description("The item at the end of ShopifyPaymentsPayoutEdge.")] - [NonNull] - public ShopifyPaymentsPayout? node { get; set; } - } - + [Description("The item at the end of ShopifyPaymentsPayoutEdge.")] + [NonNull] + public ShopifyPaymentsPayout? node { get; set; } + } + /// ///The interval at which payouts are sent to the connected bank account. /// - [Description("The interval at which payouts are sent to the connected bank account.")] - public enum ShopifyPaymentsPayoutInterval - { + [Description("The interval at which payouts are sent to the connected bank account.")] + public enum ShopifyPaymentsPayoutInterval + { /// ///Each business day. /// - [Description("Each business day.")] - DAILY, + [Description("Each business day.")] + DAILY, /// ///Each week, on the day of week specified by weeklyAnchor. /// - [Description("Each week, on the day of week specified by weeklyAnchor.")] - WEEKLY, + [Description("Each week, on the day of week specified by weeklyAnchor.")] + WEEKLY, /// ///Each month, on the day of month specified by monthlyAnchor. /// - [Description("Each month, on the day of month specified by monthlyAnchor.")] - MONTHLY, + [Description("Each month, on the day of month specified by monthlyAnchor.")] + MONTHLY, /// ///Payouts will not be automatically made. /// - [Description("Payouts will not be automatically made.")] - MANUAL, - } - - public static class ShopifyPaymentsPayoutIntervalStringValues - { - public const string DAILY = @"DAILY"; - public const string WEEKLY = @"WEEKLY"; - public const string MONTHLY = @"MONTHLY"; - public const string MANUAL = @"MANUAL"; - } - + [Description("Payouts will not be automatically made.")] + MANUAL, + } + + public static class ShopifyPaymentsPayoutIntervalStringValues + { + public const string DAILY = @"DAILY"; + public const string WEEKLY = @"WEEKLY"; + public const string MONTHLY = @"MONTHLY"; + public const string MANUAL = @"MANUAL"; + } + /// ///The payment schedule for a payments account. /// - [Description("The payment schedule for a payments account.")] - public class ShopifyPaymentsPayoutSchedule : GraphQLObject - { + [Description("The payment schedule for a payments account.")] + public class ShopifyPaymentsPayoutSchedule : GraphQLObject + { /// ///The interval at which payouts are sent to the connected bank account. /// - [Description("The interval at which payouts are sent to the connected bank account.")] - [NonNull] - [EnumType(typeof(ShopifyPaymentsPayoutInterval))] - public string? interval { get; set; } - + [Description("The interval at which payouts are sent to the connected bank account.")] + [NonNull] + [EnumType(typeof(ShopifyPaymentsPayoutInterval))] + public string? interval { get; set; } + /// ///The day of the month funds will be paid out. /// @@ -117732,1985 +117732,1985 @@ public class ShopifyPaymentsPayoutSchedule : GraphQLObject - [Description("The day of the month funds will be paid out.\n\nThe value can be any day of the month from the 1st to the 31st.\nIf the payment interval is set to monthly, this value will be used.\nPayouts scheduled between 29-31st of the month are sent on the last day of shorter months.")] - public int? monthlyAnchor { get; set; } - + [Description("The day of the month funds will be paid out.\n\nThe value can be any day of the month from the 1st to the 31st.\nIf the payment interval is set to monthly, this value will be used.\nPayouts scheduled between 29-31st of the month are sent on the last day of shorter months.")] + public int? monthlyAnchor { get; set; } + /// ///The day of the week funds will be paid out. /// ///The value can be any weekday from Monday to Friday. ///If the payment interval is set to weekly, this value will be used. /// - [Description("The day of the week funds will be paid out.\n\nThe value can be any weekday from Monday to Friday.\nIf the payment interval is set to weekly, this value will be used.")] - [EnumType(typeof(DayOfTheWeek))] - public string? weeklyAnchor { get; set; } - } - + [Description("The day of the week funds will be paid out.\n\nThe value can be any weekday from Monday to Friday.\nIf the payment interval is set to weekly, this value will be used.")] + [EnumType(typeof(DayOfTheWeek))] + public string? weeklyAnchor { get; set; } + } + /// ///The transfer status of the payout. /// - [Description("The transfer status of the payout.")] - public enum ShopifyPaymentsPayoutStatus - { + [Description("The transfer status of the payout.")] + public enum ShopifyPaymentsPayoutStatus + { /// ///The payout has been created and had transactions assigned to it, but ///it has not yet been submitted to the bank. /// - [Description("The payout has been created and had transactions assigned to it, but\nit has not yet been submitted to the bank.")] - SCHEDULED, + [Description("The payout has been created and had transactions assigned to it, but\nit has not yet been submitted to the bank.")] + SCHEDULED, /// ///The payout has been submitted to the bank. /// - [Description("The payout has been submitted to the bank.")] - [Obsolete("Use `SCHEDULED` instead.")] - IN_TRANSIT, + [Description("The payout has been submitted to the bank.")] + [Obsolete("Use `SCHEDULED` instead.")] + IN_TRANSIT, /// ///The payout has been successfully deposited into the bank. /// - [Description("The payout has been successfully deposited into the bank.")] - PAID, + [Description("The payout has been successfully deposited into the bank.")] + PAID, /// ///The payout has been declined by the bank. /// - [Description("The payout has been declined by the bank.")] - FAILED, + [Description("The payout has been declined by the bank.")] + FAILED, /// ///The payout has been canceled by Shopify. /// - [Description("The payout has been canceled by Shopify.")] - CANCELED, - } - - public static class ShopifyPaymentsPayoutStatusStringValues - { - public const string SCHEDULED = @"SCHEDULED"; - [Obsolete("Use `SCHEDULED` instead.")] - public const string IN_TRANSIT = @"IN_TRANSIT"; - public const string PAID = @"PAID"; - public const string FAILED = @"FAILED"; - public const string CANCELED = @"CANCELED"; - } - + [Description("The payout has been canceled by Shopify.")] + CANCELED, + } + + public static class ShopifyPaymentsPayoutStatusStringValues + { + public const string SCHEDULED = @"SCHEDULED"; + [Obsolete("Use `SCHEDULED` instead.")] + public const string IN_TRANSIT = @"IN_TRANSIT"; + public const string PAID = @"PAID"; + public const string FAILED = @"FAILED"; + public const string CANCELED = @"CANCELED"; + } + /// ///Breakdown of the total fees and gross of each of the different types of transactions associated ///with the payout. /// - [Description("Breakdown of the total fees and gross of each of the different types of transactions associated\nwith the payout.")] - public class ShopifyPaymentsPayoutSummary : GraphQLObject - { + [Description("Breakdown of the total fees and gross of each of the different types of transactions associated\nwith the payout.")] + public class ShopifyPaymentsPayoutSummary : GraphQLObject + { /// ///Total fees for all adjustments including disputes. /// - [Description("Total fees for all adjustments including disputes.")] - [NonNull] - public MoneyV2? adjustmentsFee { get; set; } - + [Description("Total fees for all adjustments including disputes.")] + [NonNull] + public MoneyV2? adjustmentsFee { get; set; } + /// ///Total gross amount for all adjustments including disputes. /// - [Description("Total gross amount for all adjustments including disputes.")] - [NonNull] - public MoneyV2? adjustmentsGross { get; set; } - + [Description("Total gross amount for all adjustments including disputes.")] + [NonNull] + public MoneyV2? adjustmentsGross { get; set; } + /// ///Total fees for all advances. /// - [Description("Total fees for all advances.")] - [NonNull] - public MoneyV2? advanceFees { get; set; } - + [Description("Total fees for all advances.")] + [NonNull] + public MoneyV2? advanceFees { get; set; } + /// ///Total gross amount for all advances. /// - [Description("Total gross amount for all advances.")] - [NonNull] - public MoneyV2? advanceGross { get; set; } - + [Description("Total gross amount for all advances.")] + [NonNull] + public MoneyV2? advanceGross { get; set; } + /// ///Total amount for all lending capital remittance balance adjustments. /// - [Description("Total amount for all lending capital remittance balance adjustments.")] - [NonNull] - public MoneyV2? capitalRemittanceAmount { get; set; } - + [Description("Total amount for all lending capital remittance balance adjustments.")] + [NonNull] + public MoneyV2? capitalRemittanceAmount { get; set; } + /// ///Total fees for all charges. /// - [Description("Total fees for all charges.")] - [NonNull] - public MoneyV2? chargesFee { get; set; } - + [Description("Total fees for all charges.")] + [NonNull] + public MoneyV2? chargesFee { get; set; } + /// ///Total gross amount for all charges. /// - [Description("Total gross amount for all charges.")] - [NonNull] - public MoneyV2? chargesGross { get; set; } - + [Description("Total gross amount for all charges.")] + [NonNull] + public MoneyV2? chargesGross { get; set; } + /// ///Total amount for all lending credit remittance balance adjustments. /// - [Description("Total amount for all lending credit remittance balance adjustments.")] - [NonNull] - public MoneyV2? creditRemittanceAmount { get; set; } - + [Description("Total amount for all lending credit remittance balance adjustments.")] + [NonNull] + public MoneyV2? creditRemittanceAmount { get; set; } + /// ///Sum amount for all marketplace tax balance adjustments regardless of their type. /// - [Description("Sum amount for all marketplace tax balance adjustments regardless of their type.")] - [NonNull] - public MoneyV2? marketplaceTaxAdjustmentAmount { get; set; } - + [Description("Sum amount for all marketplace tax balance adjustments regardless of their type.")] + [NonNull] + public MoneyV2? marketplaceTaxAdjustmentAmount { get; set; } + /// ///Total amount for all marketplace tax credit balance adjustments. /// - [Description("Total amount for all marketplace tax credit balance adjustments.")] - [NonNull] - public MoneyV2? marketplaceTaxCreditAdjustmentAmount { get; set; } - + [Description("Total amount for all marketplace tax credit balance adjustments.")] + [NonNull] + public MoneyV2? marketplaceTaxCreditAdjustmentAmount { get; set; } + /// ///Total amount for all marketplace tax debit balance adjustments. /// - [Description("Total amount for all marketplace tax debit balance adjustments.")] - [NonNull] - public MoneyV2? marketplaceTaxDebitAdjustmentAmount { get; set; } - + [Description("Total amount for all marketplace tax debit balance adjustments.")] + [NonNull] + public MoneyV2? marketplaceTaxDebitAdjustmentAmount { get; set; } + /// ///Total fees for all refunds. /// - [Description("Total fees for all refunds.")] - [NonNull] - public MoneyV2? refundsFee { get; set; } - + [Description("Total fees for all refunds.")] + [NonNull] + public MoneyV2? refundsFee { get; set; } + /// ///Total gross amount for all refunds. /// - [Description("Total gross amount for all refunds.")] - [NonNull] - public MoneyV2? refundsFeeGross { get; set; } - + [Description("Total gross amount for all refunds.")] + [NonNull] + public MoneyV2? refundsFeeGross { get; set; } + /// ///Total fees for all reserved funds. /// - [Description("Total fees for all reserved funds.")] - [NonNull] - public MoneyV2? reservedFundsFee { get; set; } - + [Description("Total fees for all reserved funds.")] + [NonNull] + public MoneyV2? reservedFundsFee { get; set; } + /// ///Total gross amount for all reserved funds. /// - [Description("Total gross amount for all reserved funds.")] - [NonNull] - public MoneyV2? reservedFundsGross { get; set; } - + [Description("Total gross amount for all reserved funds.")] + [NonNull] + public MoneyV2? reservedFundsGross { get; set; } + /// ///Total fees for all retried payouts. /// - [Description("Total fees for all retried payouts.")] - [NonNull] - public MoneyV2? retriedPayoutsFee { get; set; } - + [Description("Total fees for all retried payouts.")] + [NonNull] + public MoneyV2? retriedPayoutsFee { get; set; } + /// ///Total gross amount for all retried payouts. /// - [Description("Total gross amount for all retried payouts.")] - [NonNull] - public MoneyV2? retriedPayoutsGross { get; set; } - + [Description("Total gross amount for all retried payouts.")] + [NonNull] + public MoneyV2? retriedPayoutsGross { get; set; } + /// ///Total amount for all usdc rebate credit balance adjustments. /// - [Description("Total amount for all usdc rebate credit balance adjustments.")] - [NonNull] - public MoneyV2? usdcRebateCreditAmount { get; set; } - } - + [Description("Total amount for all usdc rebate credit balance adjustments.")] + [NonNull] + public MoneyV2? usdcRebateCreditAmount { get; set; } + } + /// ///The possible transaction types for a payout. /// - [Description("The possible transaction types for a payout.")] - public enum ShopifyPaymentsPayoutTransactionType - { + [Description("The possible transaction types for a payout.")] + public enum ShopifyPaymentsPayoutTransactionType + { /// ///The payout is a deposit. /// - [Description("The payout is a deposit.")] - DEPOSIT, + [Description("The payout is a deposit.")] + DEPOSIT, /// ///The payout is a withdrawal. /// - [Description("The payout is a withdrawal.")] - WITHDRAWAL, - } - - public static class ShopifyPaymentsPayoutTransactionTypeStringValues - { - public const string DEPOSIT = @"DEPOSIT"; - public const string WITHDRAWAL = @"WITHDRAWAL"; - } - + [Description("The payout is a withdrawal.")] + WITHDRAWAL, + } + + public static class ShopifyPaymentsPayoutTransactionTypeStringValues + { + public const string DEPOSIT = @"DEPOSIT"; + public const string WITHDRAWAL = @"WITHDRAWAL"; + } + /// ///Presents all Shopify Payments specific information related to an order refund. /// - [Description("Presents all Shopify Payments specific information related to an order refund.")] - public class ShopifyPaymentsRefundSet : GraphQLObject - { + [Description("Presents all Shopify Payments specific information related to an order refund.")] + public class ShopifyPaymentsRefundSet : GraphQLObject + { /// ///The acquirer reference number (ARN) code generated for Visa/Mastercard transactions. /// - [Description("The acquirer reference number (ARN) code generated for Visa/Mastercard transactions.")] - public string? acquirerReferenceNumber { get; set; } - } - + [Description("The acquirer reference number (ARN) code generated for Visa/Mastercard transactions.")] + public string? acquirerReferenceNumber { get; set; } + } + /// ///The possible source types for a balance transaction. /// - [Description("The possible source types for a balance transaction.")] - public enum ShopifyPaymentsSourceType - { + [Description("The possible source types for a balance transaction.")] + public enum ShopifyPaymentsSourceType + { /// ///The adjustment_reversal source type. /// - [Description("The adjustment_reversal source type.")] - ADJUSTMENT_REVERSAL, + [Description("The adjustment_reversal source type.")] + ADJUSTMENT_REVERSAL, /// ///The charge source type. /// - [Description("The charge source type.")] - CHARGE, + [Description("The charge source type.")] + CHARGE, /// ///The refund source type. /// - [Description("The refund source type.")] - REFUND, + [Description("The refund source type.")] + REFUND, /// ///The system_adjustment source type. /// - [Description("The system_adjustment source type.")] - SYSTEM_ADJUSTMENT, + [Description("The system_adjustment source type.")] + SYSTEM_ADJUSTMENT, /// ///The dispute source type. /// - [Description("The dispute source type.")] - DISPUTE, + [Description("The dispute source type.")] + DISPUTE, /// ///The adjustment source type. /// - [Description("The adjustment source type.")] - ADJUSTMENT, + [Description("The adjustment source type.")] + ADJUSTMENT, /// ///The transfer source type. /// - [Description("The transfer source type.")] - TRANSFER, - } - - public static class ShopifyPaymentsSourceTypeStringValues - { - public const string ADJUSTMENT_REVERSAL = @"ADJUSTMENT_REVERSAL"; - public const string CHARGE = @"CHARGE"; - public const string REFUND = @"REFUND"; - public const string SYSTEM_ADJUSTMENT = @"SYSTEM_ADJUSTMENT"; - public const string DISPUTE = @"DISPUTE"; - public const string ADJUSTMENT = @"ADJUSTMENT"; - public const string TRANSFER = @"TRANSFER"; - } - + [Description("The transfer source type.")] + TRANSFER, + } + + public static class ShopifyPaymentsSourceTypeStringValues + { + public const string ADJUSTMENT_REVERSAL = @"ADJUSTMENT_REVERSAL"; + public const string CHARGE = @"CHARGE"; + public const string REFUND = @"REFUND"; + public const string SYSTEM_ADJUSTMENT = @"SYSTEM_ADJUSTMENT"; + public const string DISPUTE = @"DISPUTE"; + public const string ADJUSTMENT = @"ADJUSTMENT"; + public const string TRANSFER = @"TRANSFER"; + } + /// ///A typed identifier that represents an individual within a tax jurisdiction. /// - [Description("A typed identifier that represents an individual within a tax jurisdiction.")] - public class ShopifyPaymentsTaxIdentification : GraphQLObject - { + [Description("A typed identifier that represents an individual within a tax jurisdiction.")] + public class ShopifyPaymentsTaxIdentification : GraphQLObject + { /// ///The type of the identification. /// - [Description("The type of the identification.")] - [NonNull] - [EnumType(typeof(ShopifyPaymentsTaxIdentificationType))] - public string? taxIdentificationType { get; set; } - + [Description("The type of the identification.")] + [NonNull] + [EnumType(typeof(ShopifyPaymentsTaxIdentificationType))] + public string? taxIdentificationType { get; set; } + /// ///The value of the identification. /// - [Description("The value of the identification.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the identification.")] + [NonNull] + public string? value { get; set; } + } + /// ///The type of tax identification field. /// - [Description("The type of tax identification field.")] - public enum ShopifyPaymentsTaxIdentificationType - { + [Description("The type of tax identification field.")] + public enum ShopifyPaymentsTaxIdentificationType + { /// ///The last 4 digits of the SSN. /// - [Description("The last 4 digits of the SSN.")] - SSN_LAST4_DIGITS, + [Description("The last 4 digits of the SSN.")] + SSN_LAST4_DIGITS, /// ///Full SSN. /// - [Description("Full SSN.")] - FULL_SSN, + [Description("Full SSN.")] + FULL_SSN, /// ///Business EIN. /// - [Description("Business EIN.")] - EIN, - } - - public static class ShopifyPaymentsTaxIdentificationTypeStringValues - { - public const string SSN_LAST4_DIGITS = @"SSN_LAST4_DIGITS"; - public const string FULL_SSN = @"FULL_SSN"; - public const string EIN = @"EIN"; - } - + [Description("Business EIN.")] + EIN, + } + + public static class ShopifyPaymentsTaxIdentificationTypeStringValues + { + public const string SSN_LAST4_DIGITS = @"SSN_LAST4_DIGITS"; + public const string FULL_SSN = @"FULL_SSN"; + public const string EIN = @"EIN"; + } + /// ///Relevant reference information for an alternate currency payout. /// - [Description("Relevant reference information for an alternate currency payout.")] - public class ShopifyPaymentsToolingProviderPayout : GraphQLObject - { + [Description("Relevant reference information for an alternate currency payout.")] + public class ShopifyPaymentsToolingProviderPayout : GraphQLObject + { /// ///The balance amount the alternate currency payout was created for. /// - [Description("The balance amount the alternate currency payout was created for.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The balance amount the alternate currency payout was created for.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///A timestamp for the arrival of the alternate currency payout. /// - [Description("A timestamp for the arrival of the alternate currency payout.")] - public DateTime? arrivalDate { get; set; } - + [Description("A timestamp for the arrival of the alternate currency payout.")] + public DateTime? arrivalDate { get; set; } + /// ///A timestamp for the creation of the alternate currency payout. /// - [Description("A timestamp for the creation of the alternate currency payout.")] - public DateTime? createdAt { get; set; } - + [Description("A timestamp for the creation of the alternate currency payout.")] + public DateTime? createdAt { get; set; } + /// ///The currency alternate currency payout was created in. /// - [Description("The currency alternate currency payout was created in.")] - [NonNull] - public string? currency { get; set; } - + [Description("The currency alternate currency payout was created in.")] + [NonNull] + public string? currency { get; set; } + /// ///The remote ID for the alternate currency payout. /// - [Description("The remote ID for the alternate currency payout.")] - [NonNull] - public string? remoteId { get; set; } - } - + [Description("The remote ID for the alternate currency payout.")] + [NonNull] + public string? remoteId { get; set; } + } + /// ///Presents all Shopify Payments specific information related to an order transaction. /// - [Description("Presents all Shopify Payments specific information related to an order transaction.")] - public class ShopifyPaymentsTransactionSet : GraphQLObject - { + [Description("Presents all Shopify Payments specific information related to an order transaction.")] + public class ShopifyPaymentsTransactionSet : GraphQLObject + { /// ///Contains all fields related to an extended authorization. /// - [Description("Contains all fields related to an extended authorization.")] - public ShopifyPaymentsExtendedAuthorization? extendedAuthorizationSet { get; set; } - + [Description("Contains all fields related to an extended authorization.")] + public ShopifyPaymentsExtendedAuthorization? extendedAuthorizationSet { get; set; } + /// ///Contains all fields related to a refund. /// - [Description("Contains all fields related to a refund.")] - public ShopifyPaymentsRefundSet? refundSet { get; set; } - } - + [Description("Contains all fields related to a refund.")] + public ShopifyPaymentsRefundSet? refundSet { get; set; } + } + /// ///The possible types of transactions. /// - [Description("The possible types of transactions.")] - public enum ShopifyPaymentsTransactionType - { + [Description("The possible types of transactions.")] + public enum ShopifyPaymentsTransactionType + { /// ///The ach_bank_failure_debit_fee transaction type. /// - [Description("The ach_bank_failure_debit_fee transaction type.")] - ACH_BANK_FAILURE_DEBIT_FEE, + [Description("The ach_bank_failure_debit_fee transaction type.")] + ACH_BANK_FAILURE_DEBIT_FEE, /// ///The ach_bank_failure_debit_reversal_fee transaction type. /// - [Description("The ach_bank_failure_debit_reversal_fee transaction type.")] - ACH_BANK_FAILURE_DEBIT_REVERSAL_FEE, + [Description("The ach_bank_failure_debit_reversal_fee transaction type.")] + ACH_BANK_FAILURE_DEBIT_REVERSAL_FEE, /// ///The ads_publisher_credit transaction type. /// - [Description("The ads_publisher_credit transaction type.")] - ADS_PUBLISHER_CREDIT, + [Description("The ads_publisher_credit transaction type.")] + ADS_PUBLISHER_CREDIT, /// ///The ads_publisher_credit_reversal transaction type. /// - [Description("The ads_publisher_credit_reversal transaction type.")] - ADS_PUBLISHER_CREDIT_REVERSAL, + [Description("The ads_publisher_credit_reversal transaction type.")] + ADS_PUBLISHER_CREDIT_REVERSAL, /// ///The chargeback_protection_credit transaction type. /// - [Description("The chargeback_protection_credit transaction type.")] - CHARGEBACK_PROTECTION_CREDIT, + [Description("The chargeback_protection_credit transaction type.")] + CHARGEBACK_PROTECTION_CREDIT, /// ///The chargeback_protection_credit_reversal transaction type. /// - [Description("The chargeback_protection_credit_reversal transaction type.")] - CHARGEBACK_PROTECTION_CREDIT_REVERSAL, + [Description("The chargeback_protection_credit_reversal transaction type.")] + CHARGEBACK_PROTECTION_CREDIT_REVERSAL, /// ///The chargeback_protection_debit transaction type. /// - [Description("The chargeback_protection_debit transaction type.")] - CHARGEBACK_PROTECTION_DEBIT, + [Description("The chargeback_protection_debit transaction type.")] + CHARGEBACK_PROTECTION_DEBIT, /// ///The chargeback_protection_debit_reversal transaction type. /// - [Description("The chargeback_protection_debit_reversal transaction type.")] - CHARGEBACK_PROTECTION_DEBIT_REVERSAL, + [Description("The chargeback_protection_debit_reversal transaction type.")] + CHARGEBACK_PROTECTION_DEBIT_REVERSAL, /// ///The collections_credit transaction type. /// - [Description("The collections_credit transaction type.")] - COLLECTIONS_CREDIT, + [Description("The collections_credit transaction type.")] + COLLECTIONS_CREDIT, /// ///The collections_credit_reversal transaction type. /// - [Description("The collections_credit_reversal transaction type.")] - COLLECTIONS_CREDIT_REVERSAL, + [Description("The collections_credit_reversal transaction type.")] + COLLECTIONS_CREDIT_REVERSAL, /// ///The promotion_credit transaction type. /// - [Description("The promotion_credit transaction type.")] - PROMOTION_CREDIT, + [Description("The promotion_credit transaction type.")] + PROMOTION_CREDIT, /// ///The promotion_credit_reversal transaction type. /// - [Description("The promotion_credit_reversal transaction type.")] - PROMOTION_CREDIT_REVERSAL, + [Description("The promotion_credit_reversal transaction type.")] + PROMOTION_CREDIT_REVERSAL, /// ///The anomaly_credit transaction type. /// - [Description("The anomaly_credit transaction type.")] - ANOMALY_CREDIT, + [Description("The anomaly_credit transaction type.")] + ANOMALY_CREDIT, /// ///The anomaly_credit_reversal transaction type. /// - [Description("The anomaly_credit_reversal transaction type.")] - ANOMALY_CREDIT_REVERSAL, + [Description("The anomaly_credit_reversal transaction type.")] + ANOMALY_CREDIT_REVERSAL, /// ///The anomaly_debit transaction type. /// - [Description("The anomaly_debit transaction type.")] - ANOMALY_DEBIT, + [Description("The anomaly_debit transaction type.")] + ANOMALY_DEBIT, /// ///The anomaly_debit_reversal transaction type. /// - [Description("The anomaly_debit_reversal transaction type.")] - ANOMALY_DEBIT_REVERSAL, + [Description("The anomaly_debit_reversal transaction type.")] + ANOMALY_DEBIT_REVERSAL, /// ///The vat_refund_credit transaction type. /// - [Description("The vat_refund_credit transaction type.")] - VAT_REFUND_CREDIT, + [Description("The vat_refund_credit transaction type.")] + VAT_REFUND_CREDIT, /// ///The vat_refund_credit_reversal transaction type. /// - [Description("The vat_refund_credit_reversal transaction type.")] - VAT_REFUND_CREDIT_REVERSAL, + [Description("The vat_refund_credit_reversal transaction type.")] + VAT_REFUND_CREDIT_REVERSAL, /// ///The channel_credit transaction type. /// - [Description("The channel_credit transaction type.")] - CHANNEL_CREDIT, + [Description("The channel_credit transaction type.")] + CHANNEL_CREDIT, /// ///The channel_credit_reversal transaction type. /// - [Description("The channel_credit_reversal transaction type.")] - CHANNEL_CREDIT_REVERSAL, + [Description("The channel_credit_reversal transaction type.")] + CHANNEL_CREDIT_REVERSAL, /// ///The channel_transfer_credit transaction type. /// - [Description("The channel_transfer_credit transaction type.")] - CHANNEL_TRANSFER_CREDIT, + [Description("The channel_transfer_credit transaction type.")] + CHANNEL_TRANSFER_CREDIT, /// ///The channel_transfer_credit_reversal transaction type. /// - [Description("The channel_transfer_credit_reversal transaction type.")] - CHANNEL_TRANSFER_CREDIT_REVERSAL, + [Description("The channel_transfer_credit_reversal transaction type.")] + CHANNEL_TRANSFER_CREDIT_REVERSAL, /// ///The channel_transfer_debit transaction type. /// - [Description("The channel_transfer_debit transaction type.")] - CHANNEL_TRANSFER_DEBIT, + [Description("The channel_transfer_debit transaction type.")] + CHANNEL_TRANSFER_DEBIT, /// ///The channel_transfer_debit_reversal transaction type. /// - [Description("The channel_transfer_debit_reversal transaction type.")] - CHANNEL_TRANSFER_DEBIT_REVERSAL, + [Description("The channel_transfer_debit_reversal transaction type.")] + CHANNEL_TRANSFER_DEBIT_REVERSAL, /// ///The channel_promotion_credit transaction type. /// - [Description("The channel_promotion_credit transaction type.")] - CHANNEL_PROMOTION_CREDIT, + [Description("The channel_promotion_credit transaction type.")] + CHANNEL_PROMOTION_CREDIT, /// ///The channel_promotion_credit_reversal transaction type. /// - [Description("The channel_promotion_credit_reversal transaction type.")] - CHANNEL_PROMOTION_CREDIT_REVERSAL, + [Description("The channel_promotion_credit_reversal transaction type.")] + CHANNEL_PROMOTION_CREDIT_REVERSAL, /// ///The marketplace_fee_credit transaction type. /// - [Description("The marketplace_fee_credit transaction type.")] - MARKETPLACE_FEE_CREDIT, + [Description("The marketplace_fee_credit transaction type.")] + MARKETPLACE_FEE_CREDIT, /// ///The marketplace_fee_credit_reversal transaction type. /// - [Description("The marketplace_fee_credit_reversal transaction type.")] - MARKETPLACE_FEE_CREDIT_REVERSAL, + [Description("The marketplace_fee_credit_reversal transaction type.")] + MARKETPLACE_FEE_CREDIT_REVERSAL, /// ///The merchant_goodwill_credit transaction type. /// - [Description("The merchant_goodwill_credit transaction type.")] - MERCHANT_GOODWILL_CREDIT, + [Description("The merchant_goodwill_credit transaction type.")] + MERCHANT_GOODWILL_CREDIT, /// ///The merchant_goodwill_credit_reversal transaction type. /// - [Description("The merchant_goodwill_credit_reversal transaction type.")] - MERCHANT_GOODWILL_CREDIT_REVERSAL, + [Description("The merchant_goodwill_credit_reversal transaction type.")] + MERCHANT_GOODWILL_CREDIT_REVERSAL, /// ///The tax_adjustment_debit transaction type. /// - [Description("The tax_adjustment_debit transaction type.")] - TAX_ADJUSTMENT_DEBIT, + [Description("The tax_adjustment_debit transaction type.")] + TAX_ADJUSTMENT_DEBIT, /// ///The tax_adjustment_debit_reversal transaction type. /// - [Description("The tax_adjustment_debit_reversal transaction type.")] - TAX_ADJUSTMENT_DEBIT_REVERSAL, + [Description("The tax_adjustment_debit_reversal transaction type.")] + TAX_ADJUSTMENT_DEBIT_REVERSAL, /// ///The tax_adjustment_credit transaction type. /// - [Description("The tax_adjustment_credit transaction type.")] - TAX_ADJUSTMENT_CREDIT, + [Description("The tax_adjustment_credit transaction type.")] + TAX_ADJUSTMENT_CREDIT, /// ///The tax_adjustment_credit_reversal transaction type. /// - [Description("The tax_adjustment_credit_reversal transaction type.")] - TAX_ADJUSTMENT_CREDIT_REVERSAL, + [Description("The tax_adjustment_credit_reversal transaction type.")] + TAX_ADJUSTMENT_CREDIT_REVERSAL, /// ///The billing_debit transaction type. /// - [Description("The billing_debit transaction type.")] - BILLING_DEBIT, + [Description("The billing_debit transaction type.")] + BILLING_DEBIT, /// ///The billing_debit_reversal transaction type. /// - [Description("The billing_debit_reversal transaction type.")] - BILLING_DEBIT_REVERSAL, + [Description("The billing_debit_reversal transaction type.")] + BILLING_DEBIT_REVERSAL, /// ///The shop_cash_credit transaction type. /// - [Description("The shop_cash_credit transaction type.")] - SHOP_CASH_CREDIT, + [Description("The shop_cash_credit transaction type.")] + SHOP_CASH_CREDIT, /// ///The shop_cash_credit_reversal transaction type. /// - [Description("The shop_cash_credit_reversal transaction type.")] - SHOP_CASH_CREDIT_REVERSAL, + [Description("The shop_cash_credit_reversal transaction type.")] + SHOP_CASH_CREDIT_REVERSAL, /// ///The shop_cash_billing_debit transaction type. /// - [Description("The shop_cash_billing_debit transaction type.")] - SHOP_CASH_BILLING_DEBIT, + [Description("The shop_cash_billing_debit transaction type.")] + SHOP_CASH_BILLING_DEBIT, /// ///The shop_cash_billing_debit_reversal transaction type. /// - [Description("The shop_cash_billing_debit_reversal transaction type.")] - SHOP_CASH_BILLING_DEBIT_REVERSAL, + [Description("The shop_cash_billing_debit_reversal transaction type.")] + SHOP_CASH_BILLING_DEBIT_REVERSAL, /// ///The shop_cash_refund_debit transaction type. /// - [Description("The shop_cash_refund_debit transaction type.")] - SHOP_CASH_REFUND_DEBIT, + [Description("The shop_cash_refund_debit transaction type.")] + SHOP_CASH_REFUND_DEBIT, /// ///The shop_cash_refund_debit_reversal transaction type. /// - [Description("The shop_cash_refund_debit_reversal transaction type.")] - SHOP_CASH_REFUND_DEBIT_REVERSAL, + [Description("The shop_cash_refund_debit_reversal transaction type.")] + SHOP_CASH_REFUND_DEBIT_REVERSAL, /// ///The shop_cash_campaign_billing_debit transaction type. /// - [Description("The shop_cash_campaign_billing_debit transaction type.")] - SHOP_CASH_CAMPAIGN_BILLING_DEBIT, + [Description("The shop_cash_campaign_billing_debit transaction type.")] + SHOP_CASH_CAMPAIGN_BILLING_DEBIT, /// ///The shop_cash_campaign_billing_debit_reversal transaction type. /// - [Description("The shop_cash_campaign_billing_debit_reversal transaction type.")] - SHOP_CASH_CAMPAIGN_BILLING_DEBIT_REVERSAL, + [Description("The shop_cash_campaign_billing_debit_reversal transaction type.")] + SHOP_CASH_CAMPAIGN_BILLING_DEBIT_REVERSAL, /// ///The shop_cash_campaign_billing_credit transaction type. /// - [Description("The shop_cash_campaign_billing_credit transaction type.")] - SHOP_CASH_CAMPAIGN_BILLING_CREDIT, + [Description("The shop_cash_campaign_billing_credit transaction type.")] + SHOP_CASH_CAMPAIGN_BILLING_CREDIT, /// ///The shop_cash_campaign_billing_credit_reversal transaction type. /// - [Description("The shop_cash_campaign_billing_credit_reversal transaction type.")] - SHOP_CASH_CAMPAIGN_BILLING_CREDIT_REVERSAL, + [Description("The shop_cash_campaign_billing_credit_reversal transaction type.")] + SHOP_CASH_CAMPAIGN_BILLING_CREDIT_REVERSAL, /// ///The seller_protection_credit transaction type. /// - [Description("The seller_protection_credit transaction type.")] - SELLER_PROTECTION_CREDIT, + [Description("The seller_protection_credit transaction type.")] + SELLER_PROTECTION_CREDIT, /// ///The seller_protection_credit_reversal transaction type. /// - [Description("The seller_protection_credit_reversal transaction type.")] - SELLER_PROTECTION_CREDIT_REVERSAL, + [Description("The seller_protection_credit_reversal transaction type.")] + SELLER_PROTECTION_CREDIT_REVERSAL, /// ///The shopify_collective_debit transaction type. /// - [Description("The shopify_collective_debit transaction type.")] - SHOPIFY_COLLECTIVE_DEBIT, + [Description("The shopify_collective_debit transaction type.")] + SHOPIFY_COLLECTIVE_DEBIT, /// ///The shopify_collective_debit_reversal transaction type. /// - [Description("The shopify_collective_debit_reversal transaction type.")] - SHOPIFY_COLLECTIVE_DEBIT_REVERSAL, + [Description("The shopify_collective_debit_reversal transaction type.")] + SHOPIFY_COLLECTIVE_DEBIT_REVERSAL, /// ///The shopify_collective_credit transaction type. /// - [Description("The shopify_collective_credit transaction type.")] - SHOPIFY_COLLECTIVE_CREDIT, + [Description("The shopify_collective_credit transaction type.")] + SHOPIFY_COLLECTIVE_CREDIT, /// ///The shopify_collective_credit_reversal transaction type. /// - [Description("The shopify_collective_credit_reversal transaction type.")] - SHOPIFY_COLLECTIVE_CREDIT_REVERSAL, + [Description("The shopify_collective_credit_reversal transaction type.")] + SHOPIFY_COLLECTIVE_CREDIT_REVERSAL, /// ///The lending_debit transaction type. /// - [Description("The lending_debit transaction type.")] - LENDING_DEBIT, + [Description("The lending_debit transaction type.")] + LENDING_DEBIT, /// ///The lending_debit_reversal transaction type. /// - [Description("The lending_debit_reversal transaction type.")] - LENDING_DEBIT_REVERSAL, + [Description("The lending_debit_reversal transaction type.")] + LENDING_DEBIT_REVERSAL, /// ///The lending_credit transaction type. /// - [Description("The lending_credit transaction type.")] - LENDING_CREDIT, + [Description("The lending_credit transaction type.")] + LENDING_CREDIT, /// ///The lending_credit_reversal transaction type. /// - [Description("The lending_credit_reversal transaction type.")] - LENDING_CREDIT_REVERSAL, + [Description("The lending_credit_reversal transaction type.")] + LENDING_CREDIT_REVERSAL, /// ///The lending_capital_remittance transaction type. /// - [Description("The lending_capital_remittance transaction type.")] - LENDING_CAPITAL_REMITTANCE, + [Description("The lending_capital_remittance transaction type.")] + LENDING_CAPITAL_REMITTANCE, /// ///The lending_capital_remittance_reversal transaction type. /// - [Description("The lending_capital_remittance_reversal transaction type.")] - LENDING_CAPITAL_REMITTANCE_REVERSAL, + [Description("The lending_capital_remittance_reversal transaction type.")] + LENDING_CAPITAL_REMITTANCE_REVERSAL, /// ///The lending_credit_remittance transaction type. /// - [Description("The lending_credit_remittance transaction type.")] - LENDING_CREDIT_REMITTANCE, + [Description("The lending_credit_remittance transaction type.")] + LENDING_CREDIT_REMITTANCE, /// ///The lending_credit_remittance_reversal transaction type. /// - [Description("The lending_credit_remittance_reversal transaction type.")] - LENDING_CREDIT_REMITTANCE_REVERSAL, + [Description("The lending_credit_remittance_reversal transaction type.")] + LENDING_CREDIT_REMITTANCE_REVERSAL, /// ///The lending_capital_refund transaction type. /// - [Description("The lending_capital_refund transaction type.")] - LENDING_CAPITAL_REFUND, + [Description("The lending_capital_refund transaction type.")] + LENDING_CAPITAL_REFUND, /// ///The lending_capital_refund_reversal transaction type. /// - [Description("The lending_capital_refund_reversal transaction type.")] - LENDING_CAPITAL_REFUND_REVERSAL, + [Description("The lending_capital_refund_reversal transaction type.")] + LENDING_CAPITAL_REFUND_REVERSAL, /// ///The lending_credit_refund transaction type. /// - [Description("The lending_credit_refund transaction type.")] - LENDING_CREDIT_REFUND, + [Description("The lending_credit_refund transaction type.")] + LENDING_CREDIT_REFUND, /// ///The lending_credit_refund_reversal transaction type. /// - [Description("The lending_credit_refund_reversal transaction type.")] - LENDING_CREDIT_REFUND_REVERSAL, + [Description("The lending_credit_refund_reversal transaction type.")] + LENDING_CREDIT_REFUND_REVERSAL, /// ///The balance_transfer_inbound transaction type. /// - [Description("The balance_transfer_inbound transaction type.")] - BALANCE_TRANSFER_INBOUND, + [Description("The balance_transfer_inbound transaction type.")] + BALANCE_TRANSFER_INBOUND, /// ///The markets_pro_credit transaction type. /// - [Description("The markets_pro_credit transaction type.")] - MARKETS_PRO_CREDIT, + [Description("The markets_pro_credit transaction type.")] + MARKETS_PRO_CREDIT, /// ///The customs_duty_adjustment transaction type. /// - [Description("The customs_duty_adjustment transaction type.")] - CUSTOMS_DUTY_ADJUSTMENT, + [Description("The customs_duty_adjustment transaction type.")] + CUSTOMS_DUTY_ADJUSTMENT, /// ///The import_tax_adjustment transaction type. /// - [Description("The import_tax_adjustment transaction type.")] - IMPORT_TAX_ADJUSTMENT, + [Description("The import_tax_adjustment transaction type.")] + IMPORT_TAX_ADJUSTMENT, /// ///The shipping_label_adjustment transaction type. /// - [Description("The shipping_label_adjustment transaction type.")] - SHIPPING_LABEL_ADJUSTMENT, + [Description("The shipping_label_adjustment transaction type.")] + SHIPPING_LABEL_ADJUSTMENT, /// ///The shipping_label_adjustment_base transaction type. /// - [Description("The shipping_label_adjustment_base transaction type.")] - SHIPPING_LABEL_ADJUSTMENT_BASE, + [Description("The shipping_label_adjustment_base transaction type.")] + SHIPPING_LABEL_ADJUSTMENT_BASE, /// ///The shipping_label_adjustment_surcharge transaction type. /// - [Description("The shipping_label_adjustment_surcharge transaction type.")] - SHIPPING_LABEL_ADJUSTMENT_SURCHARGE, + [Description("The shipping_label_adjustment_surcharge transaction type.")] + SHIPPING_LABEL_ADJUSTMENT_SURCHARGE, /// ///The shipping_return_to_origin_adjustment transaction type. /// - [Description("The shipping_return_to_origin_adjustment transaction type.")] - SHIPPING_RETURN_TO_ORIGIN_ADJUSTMENT, + [Description("The shipping_return_to_origin_adjustment transaction type.")] + SHIPPING_RETURN_TO_ORIGIN_ADJUSTMENT, /// ///The shipping_other_carrier_charge_adjustment transaction type. /// - [Description("The shipping_other_carrier_charge_adjustment transaction type.")] - SHIPPING_OTHER_CARRIER_CHARGE_ADJUSTMENT, + [Description("The shipping_other_carrier_charge_adjustment transaction type.")] + SHIPPING_OTHER_CARRIER_CHARGE_ADJUSTMENT, /// ///The charge_adjustment transaction type. /// - [Description("The charge_adjustment transaction type.")] - CHARGE_ADJUSTMENT, + [Description("The charge_adjustment transaction type.")] + CHARGE_ADJUSTMENT, /// ///The refund_adjustment transaction type. /// - [Description("The refund_adjustment transaction type.")] - REFUND_ADJUSTMENT, + [Description("The refund_adjustment transaction type.")] + REFUND_ADJUSTMENT, /// ///The chargeback_fee transaction type. /// - [Description("The chargeback_fee transaction type.")] - CHARGEBACK_FEE, + [Description("The chargeback_fee transaction type.")] + CHARGEBACK_FEE, /// ///The chargeback_fee_refund transaction type. /// - [Description("The chargeback_fee_refund transaction type.")] - CHARGEBACK_FEE_REFUND, + [Description("The chargeback_fee_refund transaction type.")] + CHARGEBACK_FEE_REFUND, /// ///The installments_balance_recovery_debit transaction type. /// - [Description("The installments_balance_recovery_debit transaction type.")] - INSTALLMENTS_BALANCE_RECOVERY_DEBIT, + [Description("The installments_balance_recovery_debit transaction type.")] + INSTALLMENTS_BALANCE_RECOVERY_DEBIT, /// ///The installments_balance_recovery_debit_reversal transaction type. /// - [Description("The installments_balance_recovery_debit_reversal transaction type.")] - INSTALLMENTS_BALANCE_RECOVERY_DEBIT_REVERSAL, + [Description("The installments_balance_recovery_debit_reversal transaction type.")] + INSTALLMENTS_BALANCE_RECOVERY_DEBIT_REVERSAL, /// ///The transfer transaction type. /// - [Description("The transfer transaction type.")] - TRANSFER, + [Description("The transfer transaction type.")] + TRANSFER, /// ///The transfer_failure transaction type. /// - [Description("The transfer_failure transaction type.")] - TRANSFER_FAILURE, + [Description("The transfer_failure transaction type.")] + TRANSFER_FAILURE, /// ///The transfer_cancel transaction type. /// - [Description("The transfer_cancel transaction type.")] - TRANSFER_CANCEL, + [Description("The transfer_cancel transaction type.")] + TRANSFER_CANCEL, /// ///The reserved_funds_withdrawal transaction type. /// - [Description("The reserved_funds_withdrawal transaction type.")] - RESERVED_FUNDS_WITHDRAWAL, + [Description("The reserved_funds_withdrawal transaction type.")] + RESERVED_FUNDS_WITHDRAWAL, /// ///The reserved_funds_reversal transaction type. /// - [Description("The reserved_funds_reversal transaction type.")] - RESERVED_FUNDS_REVERSAL, + [Description("The reserved_funds_reversal transaction type.")] + RESERVED_FUNDS_REVERSAL, /// ///The risk_reversal transaction type. /// - [Description("The risk_reversal transaction type.")] - RISK_REVERSAL, + [Description("The risk_reversal transaction type.")] + RISK_REVERSAL, /// ///The risk_withdrawal transaction type. /// - [Description("The risk_withdrawal transaction type.")] - RISK_WITHDRAWAL, + [Description("The risk_withdrawal transaction type.")] + RISK_WITHDRAWAL, /// ///The merchant_to_merchant_debit transaction type. /// - [Description("The merchant_to_merchant_debit transaction type.")] - MERCHANT_TO_MERCHANT_DEBIT, + [Description("The merchant_to_merchant_debit transaction type.")] + MERCHANT_TO_MERCHANT_DEBIT, /// ///The merchant_to_merchant_debit_reversal transaction type. /// - [Description("The merchant_to_merchant_debit_reversal transaction type.")] - MERCHANT_TO_MERCHANT_DEBIT_REVERSAL, + [Description("The merchant_to_merchant_debit_reversal transaction type.")] + MERCHANT_TO_MERCHANT_DEBIT_REVERSAL, /// ///The merchant_to_merchant_credit transaction type. /// - [Description("The merchant_to_merchant_credit transaction type.")] - MERCHANT_TO_MERCHANT_CREDIT, + [Description("The merchant_to_merchant_credit transaction type.")] + MERCHANT_TO_MERCHANT_CREDIT, /// ///The merchant_to_merchant_credit_reversal transaction type. /// - [Description("The merchant_to_merchant_credit_reversal transaction type.")] - MERCHANT_TO_MERCHANT_CREDIT_REVERSAL, + [Description("The merchant_to_merchant_credit_reversal transaction type.")] + MERCHANT_TO_MERCHANT_CREDIT_REVERSAL, /// ///The shopify_source_debit transaction type. /// - [Description("The shopify_source_debit transaction type.")] - SHOPIFY_SOURCE_DEBIT, + [Description("The shopify_source_debit transaction type.")] + SHOPIFY_SOURCE_DEBIT, /// ///The shopify_source_debit_reversal transaction type. /// - [Description("The shopify_source_debit_reversal transaction type.")] - SHOPIFY_SOURCE_DEBIT_REVERSAL, + [Description("The shopify_source_debit_reversal transaction type.")] + SHOPIFY_SOURCE_DEBIT_REVERSAL, /// ///The shopify_source_credit transaction type. /// - [Description("The shopify_source_credit transaction type.")] - SHOPIFY_SOURCE_CREDIT, + [Description("The shopify_source_credit transaction type.")] + SHOPIFY_SOURCE_CREDIT, /// ///The shopify_source_credit_reversal transaction type. /// - [Description("The shopify_source_credit_reversal transaction type.")] - SHOPIFY_SOURCE_CREDIT_REVERSAL, + [Description("The shopify_source_credit_reversal transaction type.")] + SHOPIFY_SOURCE_CREDIT_REVERSAL, /// ///The charge transaction type. /// - [Description("The charge transaction type.")] - CHARGE, + [Description("The charge transaction type.")] + CHARGE, /// ///The refund transaction type. /// - [Description("The refund transaction type.")] - REFUND, + [Description("The refund transaction type.")] + REFUND, /// ///The refund_failure transaction type. /// - [Description("The refund_failure transaction type.")] - REFUND_FAILURE, + [Description("The refund_failure transaction type.")] + REFUND_FAILURE, /// ///The application_fee_refund transaction type. /// - [Description("The application_fee_refund transaction type.")] - APPLICATION_FEE_REFUND, + [Description("The application_fee_refund transaction type.")] + APPLICATION_FEE_REFUND, /// ///The adjustment transaction type. /// - [Description("The adjustment transaction type.")] - ADJUSTMENT, + [Description("The adjustment transaction type.")] + ADJUSTMENT, /// ///The dispute_withdrawal transaction type. /// - [Description("The dispute_withdrawal transaction type.")] - DISPUTE_WITHDRAWAL, + [Description("The dispute_withdrawal transaction type.")] + DISPUTE_WITHDRAWAL, /// ///The dispute_reversal transaction type. /// - [Description("The dispute_reversal transaction type.")] - DISPUTE_REVERSAL, + [Description("The dispute_reversal transaction type.")] + DISPUTE_REVERSAL, /// ///The shipping_label transaction type. /// - [Description("The shipping_label transaction type.")] - SHIPPING_LABEL, + [Description("The shipping_label transaction type.")] + SHIPPING_LABEL, /// ///The customs_duty transaction type. /// - [Description("The customs_duty transaction type.")] - CUSTOMS_DUTY, + [Description("The customs_duty transaction type.")] + CUSTOMS_DUTY, /// ///The import_tax transaction type. /// - [Description("The import_tax transaction type.")] - IMPORT_TAX, + [Description("The import_tax transaction type.")] + IMPORT_TAX, /// ///The chargeback_hold transaction type. /// - [Description("The chargeback_hold transaction type.")] - CHARGEBACK_HOLD, + [Description("The chargeback_hold transaction type.")] + CHARGEBACK_HOLD, /// ///The chargeback_hold_release transaction type. /// - [Description("The chargeback_hold_release transaction type.")] - CHARGEBACK_HOLD_RELEASE, + [Description("The chargeback_hold_release transaction type.")] + CHARGEBACK_HOLD_RELEASE, /// ///The mobilepay_service_fee transaction type. /// - [Description("The mobilepay_service_fee transaction type.")] - MOBILEPAY_SERVICE_FEE, + [Description("The mobilepay_service_fee transaction type.")] + MOBILEPAY_SERVICE_FEE, /// ///The mobilepay_service_fee_refund transaction type. /// - [Description("The mobilepay_service_fee_refund transaction type.")] - MOBILEPAY_SERVICE_FEE_REFUND, + [Description("The mobilepay_service_fee_refund transaction type.")] + MOBILEPAY_SERVICE_FEE_REFUND, /// ///The managed_markets_charge_credit transaction type. /// - [Description("The managed_markets_charge_credit transaction type.")] - MANAGED_MARKETS_CHARGE_CREDIT, + [Description("The managed_markets_charge_credit transaction type.")] + MANAGED_MARKETS_CHARGE_CREDIT, /// ///The managed_markets_refund_debit transaction type. /// - [Description("The managed_markets_refund_debit transaction type.")] - MANAGED_MARKETS_REFUND_DEBIT, + [Description("The managed_markets_refund_debit transaction type.")] + MANAGED_MARKETS_REFUND_DEBIT, /// ///The managed_markets_disputed_amount_debit transaction type. /// - [Description("The managed_markets_disputed_amount_debit transaction type.")] - MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT, + [Description("The managed_markets_disputed_amount_debit transaction type.")] + MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT, /// ///The managed_markets_dispute_won_amount_credit transaction type. /// - [Description("The managed_markets_dispute_won_amount_credit transaction type.")] - MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT, + [Description("The managed_markets_dispute_won_amount_credit transaction type.")] + MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT, /// ///The managed_markets_dispute_fee_debit transaction type. /// - [Description("The managed_markets_dispute_fee_debit transaction type.")] - MANAGED_MARKETS_DISPUTE_FEE_DEBIT, + [Description("The managed_markets_dispute_fee_debit transaction type.")] + MANAGED_MARKETS_DISPUTE_FEE_DEBIT, /// ///The managed_markets_dispute_fee_credit transaction type. /// - [Description("The managed_markets_dispute_fee_credit transaction type.")] - MANAGED_MARKETS_DISPUTE_FEE_CREDIT, + [Description("The managed_markets_dispute_fee_credit transaction type.")] + MANAGED_MARKETS_DISPUTE_FEE_CREDIT, /// ///The managed_markets_duties_and_taxes_adjustment_debit transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_debit transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT, + [Description("The managed_markets_duties_and_taxes_adjustment_debit transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT, /// ///The managed_markets_duties_and_taxes_adjustment_credit transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_credit transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT, + [Description("The managed_markets_duties_and_taxes_adjustment_credit transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT, /// ///The managed_markets_charge_credit_reversal transaction type. /// - [Description("The managed_markets_charge_credit_reversal transaction type.")] - MANAGED_MARKETS_CHARGE_CREDIT_REVERSAL, + [Description("The managed_markets_charge_credit_reversal transaction type.")] + MANAGED_MARKETS_CHARGE_CREDIT_REVERSAL, /// ///The managed_markets_refund_debit_reversal transaction type. /// - [Description("The managed_markets_refund_debit_reversal transaction type.")] - MANAGED_MARKETS_REFUND_DEBIT_REVERSAL, + [Description("The managed_markets_refund_debit_reversal transaction type.")] + MANAGED_MARKETS_REFUND_DEBIT_REVERSAL, /// ///The managed_markets_disputed_amount_debit_reversal transaction type. /// - [Description("The managed_markets_disputed_amount_debit_reversal transaction type.")] - MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT_REVERSAL, + [Description("The managed_markets_disputed_amount_debit_reversal transaction type.")] + MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT_REVERSAL, /// ///The managed_markets_dispute_won_amount_credit_reversal transaction type. /// - [Description("The managed_markets_dispute_won_amount_credit_reversal transaction type.")] - MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT_REVERSAL, + [Description("The managed_markets_dispute_won_amount_credit_reversal transaction type.")] + MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT_REVERSAL, /// ///The managed_markets_dispute_fee_debit_reversal transaction type. /// - [Description("The managed_markets_dispute_fee_debit_reversal transaction type.")] - MANAGED_MARKETS_DISPUTE_FEE_DEBIT_REVERSAL, + [Description("The managed_markets_dispute_fee_debit_reversal transaction type.")] + MANAGED_MARKETS_DISPUTE_FEE_DEBIT_REVERSAL, /// ///The managed_markets_dispute_fee_credit_reversal transaction type. /// - [Description("The managed_markets_dispute_fee_credit_reversal transaction type.")] - MANAGED_MARKETS_DISPUTE_FEE_CREDIT_REVERSAL, + [Description("The managed_markets_dispute_fee_credit_reversal transaction type.")] + MANAGED_MARKETS_DISPUTE_FEE_CREDIT_REVERSAL, /// ///The managed_markets_duties_and_taxes_adjustment_debit_reversal transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_debit_reversal transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT_REVERSAL, + [Description("The managed_markets_duties_and_taxes_adjustment_debit_reversal transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT_REVERSAL, /// ///The managed_markets_duties_and_taxes_adjustment_credit_reversal transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_credit_reversal transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT_REVERSAL, + [Description("The managed_markets_duties_and_taxes_adjustment_credit_reversal transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT_REVERSAL, /// ///The managed_markets_duties_and_taxes_adjustment_platform_debit transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_platform_debit transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT, + [Description("The managed_markets_duties_and_taxes_adjustment_platform_debit transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT, /// ///The managed_markets_duties_and_taxes_adjustment_platform_credit transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_platform_credit transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT, + [Description("The managed_markets_duties_and_taxes_adjustment_platform_credit transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT, /// ///The managed_markets_duties_and_taxes_adjustment_platform_debit_reversal transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_platform_debit_reversal transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT_REVERSAL, + [Description("The managed_markets_duties_and_taxes_adjustment_platform_debit_reversal transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT_REVERSAL, /// ///The managed_markets_duties_and_taxes_adjustment_platform_credit_reversal transaction type. /// - [Description("The managed_markets_duties_and_taxes_adjustment_platform_credit_reversal transaction type.")] - MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT_REVERSAL, + [Description("The managed_markets_duties_and_taxes_adjustment_platform_credit_reversal transaction type.")] + MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT_REVERSAL, /// ///The managed_markets_merchant_of_record_account_netting_credit transaction type. /// - [Description("The managed_markets_merchant_of_record_account_netting_credit transaction type.")] - MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT, + [Description("The managed_markets_merchant_of_record_account_netting_credit transaction type.")] + MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT, /// ///The managed_markets_merchant_of_record_account_netting_credit_reversal transaction type. /// - [Description("The managed_markets_merchant_of_record_account_netting_credit_reversal transaction type.")] - MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT_REVERSAL, + [Description("The managed_markets_merchant_of_record_account_netting_credit_reversal transaction type.")] + MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT_REVERSAL, /// ///The managed_markets_merchant_of_record_account_netting_debit transaction type. /// - [Description("The managed_markets_merchant_of_record_account_netting_debit transaction type.")] - MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT, + [Description("The managed_markets_merchant_of_record_account_netting_debit transaction type.")] + MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT, /// ///The managed_markets_merchant_of_record_account_netting_debit_reversal transaction type. /// - [Description("The managed_markets_merchant_of_record_account_netting_debit_reversal transaction type.")] - MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT_REVERSAL, + [Description("The managed_markets_merchant_of_record_account_netting_debit_reversal transaction type.")] + MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT_REVERSAL, /// ///The managed_markets_webhook_adjustment_credit transaction type. /// - [Description("The managed_markets_webhook_adjustment_credit transaction type.")] - MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT, + [Description("The managed_markets_webhook_adjustment_credit transaction type.")] + MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT, /// ///The managed_markets_webhook_adjustment_debit transaction type. /// - [Description("The managed_markets_webhook_adjustment_debit transaction type.")] - MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT, + [Description("The managed_markets_webhook_adjustment_debit transaction type.")] + MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT, /// ///The managed_markets_webhook_adjustment_credit_reversal transaction type. /// - [Description("The managed_markets_webhook_adjustment_credit_reversal transaction type.")] - MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT_REVERSAL, + [Description("The managed_markets_webhook_adjustment_credit_reversal transaction type.")] + MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT_REVERSAL, /// ///The managed_markets_webhook_adjustment_debit_reversal transaction type. /// - [Description("The managed_markets_webhook_adjustment_debit_reversal transaction type.")] - MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT_REVERSAL, + [Description("The managed_markets_webhook_adjustment_debit_reversal transaction type.")] + MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT_REVERSAL, /// ///The reserved_funds transaction type. /// - [Description("The reserved_funds transaction type.")] - RESERVED_FUNDS, + [Description("The reserved_funds transaction type.")] + RESERVED_FUNDS, /// ///The stripe_fee transaction type. /// - [Description("The stripe_fee transaction type.")] - STRIPE_FEE, + [Description("The stripe_fee transaction type.")] + STRIPE_FEE, /// ///The transfer_refund transaction type. /// - [Description("The transfer_refund transaction type.")] - TRANSFER_REFUND, + [Description("The transfer_refund transaction type.")] + TRANSFER_REFUND, /// ///The advance transaction type. /// - [Description("The advance transaction type.")] - ADVANCE, + [Description("The advance transaction type.")] + ADVANCE, /// ///The advance funding transaction type. /// - [Description("The advance funding transaction type.")] - ADVANCE_FUNDING, + [Description("The advance funding transaction type.")] + ADVANCE_FUNDING, /// ///The tax refund transaction type. /// - [Description("The tax refund transaction type.")] - IMPORT_TAX_REFUND, - } - - public static class ShopifyPaymentsTransactionTypeStringValues - { - public const string ACH_BANK_FAILURE_DEBIT_FEE = @"ACH_BANK_FAILURE_DEBIT_FEE"; - public const string ACH_BANK_FAILURE_DEBIT_REVERSAL_FEE = @"ACH_BANK_FAILURE_DEBIT_REVERSAL_FEE"; - public const string ADS_PUBLISHER_CREDIT = @"ADS_PUBLISHER_CREDIT"; - public const string ADS_PUBLISHER_CREDIT_REVERSAL = @"ADS_PUBLISHER_CREDIT_REVERSAL"; - public const string CHARGEBACK_PROTECTION_CREDIT = @"CHARGEBACK_PROTECTION_CREDIT"; - public const string CHARGEBACK_PROTECTION_CREDIT_REVERSAL = @"CHARGEBACK_PROTECTION_CREDIT_REVERSAL"; - public const string CHARGEBACK_PROTECTION_DEBIT = @"CHARGEBACK_PROTECTION_DEBIT"; - public const string CHARGEBACK_PROTECTION_DEBIT_REVERSAL = @"CHARGEBACK_PROTECTION_DEBIT_REVERSAL"; - public const string COLLECTIONS_CREDIT = @"COLLECTIONS_CREDIT"; - public const string COLLECTIONS_CREDIT_REVERSAL = @"COLLECTIONS_CREDIT_REVERSAL"; - public const string PROMOTION_CREDIT = @"PROMOTION_CREDIT"; - public const string PROMOTION_CREDIT_REVERSAL = @"PROMOTION_CREDIT_REVERSAL"; - public const string ANOMALY_CREDIT = @"ANOMALY_CREDIT"; - public const string ANOMALY_CREDIT_REVERSAL = @"ANOMALY_CREDIT_REVERSAL"; - public const string ANOMALY_DEBIT = @"ANOMALY_DEBIT"; - public const string ANOMALY_DEBIT_REVERSAL = @"ANOMALY_DEBIT_REVERSAL"; - public const string VAT_REFUND_CREDIT = @"VAT_REFUND_CREDIT"; - public const string VAT_REFUND_CREDIT_REVERSAL = @"VAT_REFUND_CREDIT_REVERSAL"; - public const string CHANNEL_CREDIT = @"CHANNEL_CREDIT"; - public const string CHANNEL_CREDIT_REVERSAL = @"CHANNEL_CREDIT_REVERSAL"; - public const string CHANNEL_TRANSFER_CREDIT = @"CHANNEL_TRANSFER_CREDIT"; - public const string CHANNEL_TRANSFER_CREDIT_REVERSAL = @"CHANNEL_TRANSFER_CREDIT_REVERSAL"; - public const string CHANNEL_TRANSFER_DEBIT = @"CHANNEL_TRANSFER_DEBIT"; - public const string CHANNEL_TRANSFER_DEBIT_REVERSAL = @"CHANNEL_TRANSFER_DEBIT_REVERSAL"; - public const string CHANNEL_PROMOTION_CREDIT = @"CHANNEL_PROMOTION_CREDIT"; - public const string CHANNEL_PROMOTION_CREDIT_REVERSAL = @"CHANNEL_PROMOTION_CREDIT_REVERSAL"; - public const string MARKETPLACE_FEE_CREDIT = @"MARKETPLACE_FEE_CREDIT"; - public const string MARKETPLACE_FEE_CREDIT_REVERSAL = @"MARKETPLACE_FEE_CREDIT_REVERSAL"; - public const string MERCHANT_GOODWILL_CREDIT = @"MERCHANT_GOODWILL_CREDIT"; - public const string MERCHANT_GOODWILL_CREDIT_REVERSAL = @"MERCHANT_GOODWILL_CREDIT_REVERSAL"; - public const string TAX_ADJUSTMENT_DEBIT = @"TAX_ADJUSTMENT_DEBIT"; - public const string TAX_ADJUSTMENT_DEBIT_REVERSAL = @"TAX_ADJUSTMENT_DEBIT_REVERSAL"; - public const string TAX_ADJUSTMENT_CREDIT = @"TAX_ADJUSTMENT_CREDIT"; - public const string TAX_ADJUSTMENT_CREDIT_REVERSAL = @"TAX_ADJUSTMENT_CREDIT_REVERSAL"; - public const string BILLING_DEBIT = @"BILLING_DEBIT"; - public const string BILLING_DEBIT_REVERSAL = @"BILLING_DEBIT_REVERSAL"; - public const string SHOP_CASH_CREDIT = @"SHOP_CASH_CREDIT"; - public const string SHOP_CASH_CREDIT_REVERSAL = @"SHOP_CASH_CREDIT_REVERSAL"; - public const string SHOP_CASH_BILLING_DEBIT = @"SHOP_CASH_BILLING_DEBIT"; - public const string SHOP_CASH_BILLING_DEBIT_REVERSAL = @"SHOP_CASH_BILLING_DEBIT_REVERSAL"; - public const string SHOP_CASH_REFUND_DEBIT = @"SHOP_CASH_REFUND_DEBIT"; - public const string SHOP_CASH_REFUND_DEBIT_REVERSAL = @"SHOP_CASH_REFUND_DEBIT_REVERSAL"; - public const string SHOP_CASH_CAMPAIGN_BILLING_DEBIT = @"SHOP_CASH_CAMPAIGN_BILLING_DEBIT"; - public const string SHOP_CASH_CAMPAIGN_BILLING_DEBIT_REVERSAL = @"SHOP_CASH_CAMPAIGN_BILLING_DEBIT_REVERSAL"; - public const string SHOP_CASH_CAMPAIGN_BILLING_CREDIT = @"SHOP_CASH_CAMPAIGN_BILLING_CREDIT"; - public const string SHOP_CASH_CAMPAIGN_BILLING_CREDIT_REVERSAL = @"SHOP_CASH_CAMPAIGN_BILLING_CREDIT_REVERSAL"; - public const string SELLER_PROTECTION_CREDIT = @"SELLER_PROTECTION_CREDIT"; - public const string SELLER_PROTECTION_CREDIT_REVERSAL = @"SELLER_PROTECTION_CREDIT_REVERSAL"; - public const string SHOPIFY_COLLECTIVE_DEBIT = @"SHOPIFY_COLLECTIVE_DEBIT"; - public const string SHOPIFY_COLLECTIVE_DEBIT_REVERSAL = @"SHOPIFY_COLLECTIVE_DEBIT_REVERSAL"; - public const string SHOPIFY_COLLECTIVE_CREDIT = @"SHOPIFY_COLLECTIVE_CREDIT"; - public const string SHOPIFY_COLLECTIVE_CREDIT_REVERSAL = @"SHOPIFY_COLLECTIVE_CREDIT_REVERSAL"; - public const string LENDING_DEBIT = @"LENDING_DEBIT"; - public const string LENDING_DEBIT_REVERSAL = @"LENDING_DEBIT_REVERSAL"; - public const string LENDING_CREDIT = @"LENDING_CREDIT"; - public const string LENDING_CREDIT_REVERSAL = @"LENDING_CREDIT_REVERSAL"; - public const string LENDING_CAPITAL_REMITTANCE = @"LENDING_CAPITAL_REMITTANCE"; - public const string LENDING_CAPITAL_REMITTANCE_REVERSAL = @"LENDING_CAPITAL_REMITTANCE_REVERSAL"; - public const string LENDING_CREDIT_REMITTANCE = @"LENDING_CREDIT_REMITTANCE"; - public const string LENDING_CREDIT_REMITTANCE_REVERSAL = @"LENDING_CREDIT_REMITTANCE_REVERSAL"; - public const string LENDING_CAPITAL_REFUND = @"LENDING_CAPITAL_REFUND"; - public const string LENDING_CAPITAL_REFUND_REVERSAL = @"LENDING_CAPITAL_REFUND_REVERSAL"; - public const string LENDING_CREDIT_REFUND = @"LENDING_CREDIT_REFUND"; - public const string LENDING_CREDIT_REFUND_REVERSAL = @"LENDING_CREDIT_REFUND_REVERSAL"; - public const string BALANCE_TRANSFER_INBOUND = @"BALANCE_TRANSFER_INBOUND"; - public const string MARKETS_PRO_CREDIT = @"MARKETS_PRO_CREDIT"; - public const string CUSTOMS_DUTY_ADJUSTMENT = @"CUSTOMS_DUTY_ADJUSTMENT"; - public const string IMPORT_TAX_ADJUSTMENT = @"IMPORT_TAX_ADJUSTMENT"; - public const string SHIPPING_LABEL_ADJUSTMENT = @"SHIPPING_LABEL_ADJUSTMENT"; - public const string SHIPPING_LABEL_ADJUSTMENT_BASE = @"SHIPPING_LABEL_ADJUSTMENT_BASE"; - public const string SHIPPING_LABEL_ADJUSTMENT_SURCHARGE = @"SHIPPING_LABEL_ADJUSTMENT_SURCHARGE"; - public const string SHIPPING_RETURN_TO_ORIGIN_ADJUSTMENT = @"SHIPPING_RETURN_TO_ORIGIN_ADJUSTMENT"; - public const string SHIPPING_OTHER_CARRIER_CHARGE_ADJUSTMENT = @"SHIPPING_OTHER_CARRIER_CHARGE_ADJUSTMENT"; - public const string CHARGE_ADJUSTMENT = @"CHARGE_ADJUSTMENT"; - public const string REFUND_ADJUSTMENT = @"REFUND_ADJUSTMENT"; - public const string CHARGEBACK_FEE = @"CHARGEBACK_FEE"; - public const string CHARGEBACK_FEE_REFUND = @"CHARGEBACK_FEE_REFUND"; - public const string INSTALLMENTS_BALANCE_RECOVERY_DEBIT = @"INSTALLMENTS_BALANCE_RECOVERY_DEBIT"; - public const string INSTALLMENTS_BALANCE_RECOVERY_DEBIT_REVERSAL = @"INSTALLMENTS_BALANCE_RECOVERY_DEBIT_REVERSAL"; - public const string TRANSFER = @"TRANSFER"; - public const string TRANSFER_FAILURE = @"TRANSFER_FAILURE"; - public const string TRANSFER_CANCEL = @"TRANSFER_CANCEL"; - public const string RESERVED_FUNDS_WITHDRAWAL = @"RESERVED_FUNDS_WITHDRAWAL"; - public const string RESERVED_FUNDS_REVERSAL = @"RESERVED_FUNDS_REVERSAL"; - public const string RISK_REVERSAL = @"RISK_REVERSAL"; - public const string RISK_WITHDRAWAL = @"RISK_WITHDRAWAL"; - public const string MERCHANT_TO_MERCHANT_DEBIT = @"MERCHANT_TO_MERCHANT_DEBIT"; - public const string MERCHANT_TO_MERCHANT_DEBIT_REVERSAL = @"MERCHANT_TO_MERCHANT_DEBIT_REVERSAL"; - public const string MERCHANT_TO_MERCHANT_CREDIT = @"MERCHANT_TO_MERCHANT_CREDIT"; - public const string MERCHANT_TO_MERCHANT_CREDIT_REVERSAL = @"MERCHANT_TO_MERCHANT_CREDIT_REVERSAL"; - public const string SHOPIFY_SOURCE_DEBIT = @"SHOPIFY_SOURCE_DEBIT"; - public const string SHOPIFY_SOURCE_DEBIT_REVERSAL = @"SHOPIFY_SOURCE_DEBIT_REVERSAL"; - public const string SHOPIFY_SOURCE_CREDIT = @"SHOPIFY_SOURCE_CREDIT"; - public const string SHOPIFY_SOURCE_CREDIT_REVERSAL = @"SHOPIFY_SOURCE_CREDIT_REVERSAL"; - public const string CHARGE = @"CHARGE"; - public const string REFUND = @"REFUND"; - public const string REFUND_FAILURE = @"REFUND_FAILURE"; - public const string APPLICATION_FEE_REFUND = @"APPLICATION_FEE_REFUND"; - public const string ADJUSTMENT = @"ADJUSTMENT"; - public const string DISPUTE_WITHDRAWAL = @"DISPUTE_WITHDRAWAL"; - public const string DISPUTE_REVERSAL = @"DISPUTE_REVERSAL"; - public const string SHIPPING_LABEL = @"SHIPPING_LABEL"; - public const string CUSTOMS_DUTY = @"CUSTOMS_DUTY"; - public const string IMPORT_TAX = @"IMPORT_TAX"; - public const string CHARGEBACK_HOLD = @"CHARGEBACK_HOLD"; - public const string CHARGEBACK_HOLD_RELEASE = @"CHARGEBACK_HOLD_RELEASE"; - public const string MOBILEPAY_SERVICE_FEE = @"MOBILEPAY_SERVICE_FEE"; - public const string MOBILEPAY_SERVICE_FEE_REFUND = @"MOBILEPAY_SERVICE_FEE_REFUND"; - public const string MANAGED_MARKETS_CHARGE_CREDIT = @"MANAGED_MARKETS_CHARGE_CREDIT"; - public const string MANAGED_MARKETS_REFUND_DEBIT = @"MANAGED_MARKETS_REFUND_DEBIT"; - public const string MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT = @"MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT"; - public const string MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT = @"MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT"; - public const string MANAGED_MARKETS_DISPUTE_FEE_DEBIT = @"MANAGED_MARKETS_DISPUTE_FEE_DEBIT"; - public const string MANAGED_MARKETS_DISPUTE_FEE_CREDIT = @"MANAGED_MARKETS_DISPUTE_FEE_CREDIT"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT"; - public const string MANAGED_MARKETS_CHARGE_CREDIT_REVERSAL = @"MANAGED_MARKETS_CHARGE_CREDIT_REVERSAL"; - public const string MANAGED_MARKETS_REFUND_DEBIT_REVERSAL = @"MANAGED_MARKETS_REFUND_DEBIT_REVERSAL"; - public const string MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT_REVERSAL = @"MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT_REVERSAL"; - public const string MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT_REVERSAL = @"MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT_REVERSAL"; - public const string MANAGED_MARKETS_DISPUTE_FEE_DEBIT_REVERSAL = @"MANAGED_MARKETS_DISPUTE_FEE_DEBIT_REVERSAL"; - public const string MANAGED_MARKETS_DISPUTE_FEE_CREDIT_REVERSAL = @"MANAGED_MARKETS_DISPUTE_FEE_CREDIT_REVERSAL"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT_REVERSAL"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT_REVERSAL"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT_REVERSAL"; - public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT_REVERSAL"; - public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT"; - public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT_REVERSAL = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT_REVERSAL"; - public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT"; - public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT_REVERSAL = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT_REVERSAL"; - public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT"; - public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT"; - public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT_REVERSAL = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT_REVERSAL"; - public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT_REVERSAL = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT_REVERSAL"; - public const string RESERVED_FUNDS = @"RESERVED_FUNDS"; - public const string STRIPE_FEE = @"STRIPE_FEE"; - public const string TRANSFER_REFUND = @"TRANSFER_REFUND"; - public const string ADVANCE = @"ADVANCE"; - public const string ADVANCE_FUNDING = @"ADVANCE_FUNDING"; - public const string IMPORT_TAX_REFUND = @"IMPORT_TAX_REFUND"; - } - + [Description("The tax refund transaction type.")] + IMPORT_TAX_REFUND, + } + + public static class ShopifyPaymentsTransactionTypeStringValues + { + public const string ACH_BANK_FAILURE_DEBIT_FEE = @"ACH_BANK_FAILURE_DEBIT_FEE"; + public const string ACH_BANK_FAILURE_DEBIT_REVERSAL_FEE = @"ACH_BANK_FAILURE_DEBIT_REVERSAL_FEE"; + public const string ADS_PUBLISHER_CREDIT = @"ADS_PUBLISHER_CREDIT"; + public const string ADS_PUBLISHER_CREDIT_REVERSAL = @"ADS_PUBLISHER_CREDIT_REVERSAL"; + public const string CHARGEBACK_PROTECTION_CREDIT = @"CHARGEBACK_PROTECTION_CREDIT"; + public const string CHARGEBACK_PROTECTION_CREDIT_REVERSAL = @"CHARGEBACK_PROTECTION_CREDIT_REVERSAL"; + public const string CHARGEBACK_PROTECTION_DEBIT = @"CHARGEBACK_PROTECTION_DEBIT"; + public const string CHARGEBACK_PROTECTION_DEBIT_REVERSAL = @"CHARGEBACK_PROTECTION_DEBIT_REVERSAL"; + public const string COLLECTIONS_CREDIT = @"COLLECTIONS_CREDIT"; + public const string COLLECTIONS_CREDIT_REVERSAL = @"COLLECTIONS_CREDIT_REVERSAL"; + public const string PROMOTION_CREDIT = @"PROMOTION_CREDIT"; + public const string PROMOTION_CREDIT_REVERSAL = @"PROMOTION_CREDIT_REVERSAL"; + public const string ANOMALY_CREDIT = @"ANOMALY_CREDIT"; + public const string ANOMALY_CREDIT_REVERSAL = @"ANOMALY_CREDIT_REVERSAL"; + public const string ANOMALY_DEBIT = @"ANOMALY_DEBIT"; + public const string ANOMALY_DEBIT_REVERSAL = @"ANOMALY_DEBIT_REVERSAL"; + public const string VAT_REFUND_CREDIT = @"VAT_REFUND_CREDIT"; + public const string VAT_REFUND_CREDIT_REVERSAL = @"VAT_REFUND_CREDIT_REVERSAL"; + public const string CHANNEL_CREDIT = @"CHANNEL_CREDIT"; + public const string CHANNEL_CREDIT_REVERSAL = @"CHANNEL_CREDIT_REVERSAL"; + public const string CHANNEL_TRANSFER_CREDIT = @"CHANNEL_TRANSFER_CREDIT"; + public const string CHANNEL_TRANSFER_CREDIT_REVERSAL = @"CHANNEL_TRANSFER_CREDIT_REVERSAL"; + public const string CHANNEL_TRANSFER_DEBIT = @"CHANNEL_TRANSFER_DEBIT"; + public const string CHANNEL_TRANSFER_DEBIT_REVERSAL = @"CHANNEL_TRANSFER_DEBIT_REVERSAL"; + public const string CHANNEL_PROMOTION_CREDIT = @"CHANNEL_PROMOTION_CREDIT"; + public const string CHANNEL_PROMOTION_CREDIT_REVERSAL = @"CHANNEL_PROMOTION_CREDIT_REVERSAL"; + public const string MARKETPLACE_FEE_CREDIT = @"MARKETPLACE_FEE_CREDIT"; + public const string MARKETPLACE_FEE_CREDIT_REVERSAL = @"MARKETPLACE_FEE_CREDIT_REVERSAL"; + public const string MERCHANT_GOODWILL_CREDIT = @"MERCHANT_GOODWILL_CREDIT"; + public const string MERCHANT_GOODWILL_CREDIT_REVERSAL = @"MERCHANT_GOODWILL_CREDIT_REVERSAL"; + public const string TAX_ADJUSTMENT_DEBIT = @"TAX_ADJUSTMENT_DEBIT"; + public const string TAX_ADJUSTMENT_DEBIT_REVERSAL = @"TAX_ADJUSTMENT_DEBIT_REVERSAL"; + public const string TAX_ADJUSTMENT_CREDIT = @"TAX_ADJUSTMENT_CREDIT"; + public const string TAX_ADJUSTMENT_CREDIT_REVERSAL = @"TAX_ADJUSTMENT_CREDIT_REVERSAL"; + public const string BILLING_DEBIT = @"BILLING_DEBIT"; + public const string BILLING_DEBIT_REVERSAL = @"BILLING_DEBIT_REVERSAL"; + public const string SHOP_CASH_CREDIT = @"SHOP_CASH_CREDIT"; + public const string SHOP_CASH_CREDIT_REVERSAL = @"SHOP_CASH_CREDIT_REVERSAL"; + public const string SHOP_CASH_BILLING_DEBIT = @"SHOP_CASH_BILLING_DEBIT"; + public const string SHOP_CASH_BILLING_DEBIT_REVERSAL = @"SHOP_CASH_BILLING_DEBIT_REVERSAL"; + public const string SHOP_CASH_REFUND_DEBIT = @"SHOP_CASH_REFUND_DEBIT"; + public const string SHOP_CASH_REFUND_DEBIT_REVERSAL = @"SHOP_CASH_REFUND_DEBIT_REVERSAL"; + public const string SHOP_CASH_CAMPAIGN_BILLING_DEBIT = @"SHOP_CASH_CAMPAIGN_BILLING_DEBIT"; + public const string SHOP_CASH_CAMPAIGN_BILLING_DEBIT_REVERSAL = @"SHOP_CASH_CAMPAIGN_BILLING_DEBIT_REVERSAL"; + public const string SHOP_CASH_CAMPAIGN_BILLING_CREDIT = @"SHOP_CASH_CAMPAIGN_BILLING_CREDIT"; + public const string SHOP_CASH_CAMPAIGN_BILLING_CREDIT_REVERSAL = @"SHOP_CASH_CAMPAIGN_BILLING_CREDIT_REVERSAL"; + public const string SELLER_PROTECTION_CREDIT = @"SELLER_PROTECTION_CREDIT"; + public const string SELLER_PROTECTION_CREDIT_REVERSAL = @"SELLER_PROTECTION_CREDIT_REVERSAL"; + public const string SHOPIFY_COLLECTIVE_DEBIT = @"SHOPIFY_COLLECTIVE_DEBIT"; + public const string SHOPIFY_COLLECTIVE_DEBIT_REVERSAL = @"SHOPIFY_COLLECTIVE_DEBIT_REVERSAL"; + public const string SHOPIFY_COLLECTIVE_CREDIT = @"SHOPIFY_COLLECTIVE_CREDIT"; + public const string SHOPIFY_COLLECTIVE_CREDIT_REVERSAL = @"SHOPIFY_COLLECTIVE_CREDIT_REVERSAL"; + public const string LENDING_DEBIT = @"LENDING_DEBIT"; + public const string LENDING_DEBIT_REVERSAL = @"LENDING_DEBIT_REVERSAL"; + public const string LENDING_CREDIT = @"LENDING_CREDIT"; + public const string LENDING_CREDIT_REVERSAL = @"LENDING_CREDIT_REVERSAL"; + public const string LENDING_CAPITAL_REMITTANCE = @"LENDING_CAPITAL_REMITTANCE"; + public const string LENDING_CAPITAL_REMITTANCE_REVERSAL = @"LENDING_CAPITAL_REMITTANCE_REVERSAL"; + public const string LENDING_CREDIT_REMITTANCE = @"LENDING_CREDIT_REMITTANCE"; + public const string LENDING_CREDIT_REMITTANCE_REVERSAL = @"LENDING_CREDIT_REMITTANCE_REVERSAL"; + public const string LENDING_CAPITAL_REFUND = @"LENDING_CAPITAL_REFUND"; + public const string LENDING_CAPITAL_REFUND_REVERSAL = @"LENDING_CAPITAL_REFUND_REVERSAL"; + public const string LENDING_CREDIT_REFUND = @"LENDING_CREDIT_REFUND"; + public const string LENDING_CREDIT_REFUND_REVERSAL = @"LENDING_CREDIT_REFUND_REVERSAL"; + public const string BALANCE_TRANSFER_INBOUND = @"BALANCE_TRANSFER_INBOUND"; + public const string MARKETS_PRO_CREDIT = @"MARKETS_PRO_CREDIT"; + public const string CUSTOMS_DUTY_ADJUSTMENT = @"CUSTOMS_DUTY_ADJUSTMENT"; + public const string IMPORT_TAX_ADJUSTMENT = @"IMPORT_TAX_ADJUSTMENT"; + public const string SHIPPING_LABEL_ADJUSTMENT = @"SHIPPING_LABEL_ADJUSTMENT"; + public const string SHIPPING_LABEL_ADJUSTMENT_BASE = @"SHIPPING_LABEL_ADJUSTMENT_BASE"; + public const string SHIPPING_LABEL_ADJUSTMENT_SURCHARGE = @"SHIPPING_LABEL_ADJUSTMENT_SURCHARGE"; + public const string SHIPPING_RETURN_TO_ORIGIN_ADJUSTMENT = @"SHIPPING_RETURN_TO_ORIGIN_ADJUSTMENT"; + public const string SHIPPING_OTHER_CARRIER_CHARGE_ADJUSTMENT = @"SHIPPING_OTHER_CARRIER_CHARGE_ADJUSTMENT"; + public const string CHARGE_ADJUSTMENT = @"CHARGE_ADJUSTMENT"; + public const string REFUND_ADJUSTMENT = @"REFUND_ADJUSTMENT"; + public const string CHARGEBACK_FEE = @"CHARGEBACK_FEE"; + public const string CHARGEBACK_FEE_REFUND = @"CHARGEBACK_FEE_REFUND"; + public const string INSTALLMENTS_BALANCE_RECOVERY_DEBIT = @"INSTALLMENTS_BALANCE_RECOVERY_DEBIT"; + public const string INSTALLMENTS_BALANCE_RECOVERY_DEBIT_REVERSAL = @"INSTALLMENTS_BALANCE_RECOVERY_DEBIT_REVERSAL"; + public const string TRANSFER = @"TRANSFER"; + public const string TRANSFER_FAILURE = @"TRANSFER_FAILURE"; + public const string TRANSFER_CANCEL = @"TRANSFER_CANCEL"; + public const string RESERVED_FUNDS_WITHDRAWAL = @"RESERVED_FUNDS_WITHDRAWAL"; + public const string RESERVED_FUNDS_REVERSAL = @"RESERVED_FUNDS_REVERSAL"; + public const string RISK_REVERSAL = @"RISK_REVERSAL"; + public const string RISK_WITHDRAWAL = @"RISK_WITHDRAWAL"; + public const string MERCHANT_TO_MERCHANT_DEBIT = @"MERCHANT_TO_MERCHANT_DEBIT"; + public const string MERCHANT_TO_MERCHANT_DEBIT_REVERSAL = @"MERCHANT_TO_MERCHANT_DEBIT_REVERSAL"; + public const string MERCHANT_TO_MERCHANT_CREDIT = @"MERCHANT_TO_MERCHANT_CREDIT"; + public const string MERCHANT_TO_MERCHANT_CREDIT_REVERSAL = @"MERCHANT_TO_MERCHANT_CREDIT_REVERSAL"; + public const string SHOPIFY_SOURCE_DEBIT = @"SHOPIFY_SOURCE_DEBIT"; + public const string SHOPIFY_SOURCE_DEBIT_REVERSAL = @"SHOPIFY_SOURCE_DEBIT_REVERSAL"; + public const string SHOPIFY_SOURCE_CREDIT = @"SHOPIFY_SOURCE_CREDIT"; + public const string SHOPIFY_SOURCE_CREDIT_REVERSAL = @"SHOPIFY_SOURCE_CREDIT_REVERSAL"; + public const string CHARGE = @"CHARGE"; + public const string REFUND = @"REFUND"; + public const string REFUND_FAILURE = @"REFUND_FAILURE"; + public const string APPLICATION_FEE_REFUND = @"APPLICATION_FEE_REFUND"; + public const string ADJUSTMENT = @"ADJUSTMENT"; + public const string DISPUTE_WITHDRAWAL = @"DISPUTE_WITHDRAWAL"; + public const string DISPUTE_REVERSAL = @"DISPUTE_REVERSAL"; + public const string SHIPPING_LABEL = @"SHIPPING_LABEL"; + public const string CUSTOMS_DUTY = @"CUSTOMS_DUTY"; + public const string IMPORT_TAX = @"IMPORT_TAX"; + public const string CHARGEBACK_HOLD = @"CHARGEBACK_HOLD"; + public const string CHARGEBACK_HOLD_RELEASE = @"CHARGEBACK_HOLD_RELEASE"; + public const string MOBILEPAY_SERVICE_FEE = @"MOBILEPAY_SERVICE_FEE"; + public const string MOBILEPAY_SERVICE_FEE_REFUND = @"MOBILEPAY_SERVICE_FEE_REFUND"; + public const string MANAGED_MARKETS_CHARGE_CREDIT = @"MANAGED_MARKETS_CHARGE_CREDIT"; + public const string MANAGED_MARKETS_REFUND_DEBIT = @"MANAGED_MARKETS_REFUND_DEBIT"; + public const string MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT = @"MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT"; + public const string MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT = @"MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT"; + public const string MANAGED_MARKETS_DISPUTE_FEE_DEBIT = @"MANAGED_MARKETS_DISPUTE_FEE_DEBIT"; + public const string MANAGED_MARKETS_DISPUTE_FEE_CREDIT = @"MANAGED_MARKETS_DISPUTE_FEE_CREDIT"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT"; + public const string MANAGED_MARKETS_CHARGE_CREDIT_REVERSAL = @"MANAGED_MARKETS_CHARGE_CREDIT_REVERSAL"; + public const string MANAGED_MARKETS_REFUND_DEBIT_REVERSAL = @"MANAGED_MARKETS_REFUND_DEBIT_REVERSAL"; + public const string MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT_REVERSAL = @"MANAGED_MARKETS_DISPUTED_AMOUNT_DEBIT_REVERSAL"; + public const string MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT_REVERSAL = @"MANAGED_MARKETS_DISPUTE_WON_AMOUNT_CREDIT_REVERSAL"; + public const string MANAGED_MARKETS_DISPUTE_FEE_DEBIT_REVERSAL = @"MANAGED_MARKETS_DISPUTE_FEE_DEBIT_REVERSAL"; + public const string MANAGED_MARKETS_DISPUTE_FEE_CREDIT_REVERSAL = @"MANAGED_MARKETS_DISPUTE_FEE_CREDIT_REVERSAL"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_DEBIT_REVERSAL"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_CREDIT_REVERSAL"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_DEBIT_REVERSAL"; + public const string MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT_REVERSAL = @"MANAGED_MARKETS_DUTIES_AND_TAXES_ADJUSTMENT_PLATFORM_CREDIT_REVERSAL"; + public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT"; + public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT_REVERSAL = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_CREDIT_REVERSAL"; + public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT"; + public const string MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT_REVERSAL = @"MANAGED_MARKETS_MERCHANT_OF_RECORD_ACCOUNT_NETTING_DEBIT_REVERSAL"; + public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT"; + public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT"; + public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT_REVERSAL = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_CREDIT_REVERSAL"; + public const string MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT_REVERSAL = @"MANAGED_MARKETS_WEBHOOK_ADJUSTMENT_DEBIT_REVERSAL"; + public const string RESERVED_FUNDS = @"RESERVED_FUNDS"; + public const string STRIPE_FEE = @"STRIPE_FEE"; + public const string TRANSFER_REFUND = @"TRANSFER_REFUND"; + public const string ADVANCE = @"ADVANCE"; + public const string ADVANCE_FUNDING = @"ADVANCE_FUNDING"; + public const string IMPORT_TAX_REFUND = @"IMPORT_TAX_REFUND"; + } + /// ///The status of an order's eligibility for protection against fraudulent chargebacks by Shopify Protect. /// - [Description("The status of an order's eligibility for protection against fraudulent chargebacks by Shopify Protect.")] - public enum ShopifyProtectEligibilityStatus - { + [Description("The status of an order's eligibility for protection against fraudulent chargebacks by Shopify Protect.")] + public enum ShopifyProtectEligibilityStatus + { /// ///The eligibility of the order is pending and has not yet been determined. /// - [Description("The eligibility of the order is pending and has not yet been determined.")] - PENDING, + [Description("The eligibility of the order is pending and has not yet been determined.")] + PENDING, /// ///The order is eligible for protection against fraudulent chargebacks. ///If an order is updated, the order's eligibility may change and protection could be removed. /// - [Description("The order is eligible for protection against fraudulent chargebacks.\nIf an order is updated, the order's eligibility may change and protection could be removed.")] - ELIGIBLE, + [Description("The order is eligible for protection against fraudulent chargebacks.\nIf an order is updated, the order's eligibility may change and protection could be removed.")] + ELIGIBLE, /// ///The order isn't eligible for protection against fraudulent chargebacks. /// - [Description("The order isn't eligible for protection against fraudulent chargebacks.")] - NOT_ELIGIBLE, - } - - public static class ShopifyProtectEligibilityStatusStringValues - { - public const string PENDING = @"PENDING"; - public const string ELIGIBLE = @"ELIGIBLE"; - public const string NOT_ELIGIBLE = @"NOT_ELIGIBLE"; - } - + [Description("The order isn't eligible for protection against fraudulent chargebacks.")] + NOT_ELIGIBLE, + } + + public static class ShopifyProtectEligibilityStatusStringValues + { + public const string PENDING = @"PENDING"; + public const string ELIGIBLE = @"ELIGIBLE"; + public const string NOT_ELIGIBLE = @"NOT_ELIGIBLE"; + } + /// ///The eligibility details of an order's protection against fraudulent chargebacks by Shopify Protect. /// - [Description("The eligibility details of an order's protection against fraudulent chargebacks by Shopify Protect.")] - public class ShopifyProtectOrderEligibility : GraphQLObject - { + [Description("The eligibility details of an order's protection against fraudulent chargebacks by Shopify Protect.")] + public class ShopifyProtectOrderEligibility : GraphQLObject + { /// ///The status of whether an order is eligible for protection against fraudulent chargebacks. /// - [Description("The status of whether an order is eligible for protection against fraudulent chargebacks.")] - [NonNull] - [EnumType(typeof(ShopifyProtectEligibilityStatus))] - public string? status { get; set; } - } - + [Description("The status of whether an order is eligible for protection against fraudulent chargebacks.")] + [NonNull] + [EnumType(typeof(ShopifyProtectEligibilityStatus))] + public string? status { get; set; } + } + /// ///A summary of Shopify Protect details for an order. /// - [Description("A summary of Shopify Protect details for an order.")] - public class ShopifyProtectOrderSummary : GraphQLObject - { + [Description("A summary of Shopify Protect details for an order.")] + public class ShopifyProtectOrderSummary : GraphQLObject + { /// ///The eligibility details of an order's protection against fraudulent chargebacks. /// - [Description("The eligibility details of an order's protection against fraudulent chargebacks.")] - [NonNull] - public ShopifyProtectOrderEligibility? eligibility { get; set; } - + [Description("The eligibility details of an order's protection against fraudulent chargebacks.")] + [NonNull] + public ShopifyProtectOrderEligibility? eligibility { get; set; } + /// ///The status of the order's protection against fraudulent chargebacks. /// - [Description("The status of the order's protection against fraudulent chargebacks.")] - [NonNull] - [EnumType(typeof(ShopifyProtectStatus))] - public string? status { get; set; } - } - + [Description("The status of the order's protection against fraudulent chargebacks.")] + [NonNull] + [EnumType(typeof(ShopifyProtectStatus))] + public string? status { get; set; } + } + /// ///The status of an order's protection with Shopify Protect. /// - [Description("The status of an order's protection with Shopify Protect.")] - public enum ShopifyProtectStatus - { + [Description("The status of an order's protection with Shopify Protect.")] + public enum ShopifyProtectStatus + { /// ///The protection for the order is pending and has not yet been determined. /// - [Description("The protection for the order is pending and has not yet been determined.")] - PENDING, + [Description("The protection for the order is pending and has not yet been determined.")] + PENDING, /// ///The protection for the order is active and eligible for reimbursement against fraudulent chargebacks. ///If an order is updated, the order's eligibility may change and protection could become inactive. /// - [Description("The protection for the order is active and eligible for reimbursement against fraudulent chargebacks.\nIf an order is updated, the order's eligibility may change and protection could become inactive.")] - ACTIVE, + [Description("The protection for the order is active and eligible for reimbursement against fraudulent chargebacks.\nIf an order is updated, the order's eligibility may change and protection could become inactive.")] + ACTIVE, /// ///The protection for an order isn't active because the order didn't meet eligibility requirements. /// - [Description("The protection for an order isn't active because the order didn't meet eligibility requirements.")] - INACTIVE, + [Description("The protection for an order isn't active because the order didn't meet eligibility requirements.")] + INACTIVE, /// ///The order received a fraudulent chargeback and it was protected. /// - [Description("The order received a fraudulent chargeback and it was protected.")] - PROTECTED, + [Description("The order received a fraudulent chargeback and it was protected.")] + PROTECTED, /// ///The order received a chargeback but the order wasn't protected because it didn't meet coverage requirements. /// - [Description("The order received a chargeback but the order wasn't protected because it didn't meet coverage requirements.")] - NOT_PROTECTED, - } - - public static class ShopifyProtectStatusStringValues - { - public const string PENDING = @"PENDING"; - public const string ACTIVE = @"ACTIVE"; - public const string INACTIVE = @"INACTIVE"; - public const string PROTECTED = @"PROTECTED"; - public const string NOT_PROTECTED = @"NOT_PROTECTED"; - } - + [Description("The order received a chargeback but the order wasn't protected because it didn't meet coverage requirements.")] + NOT_PROTECTED, + } + + public static class ShopifyProtectStatusStringValues + { + public const string PENDING = @"PENDING"; + public const string ACTIVE = @"ACTIVE"; + public const string INACTIVE = @"INACTIVE"; + public const string PROTECTED = @"PROTECTED"; + public const string NOT_PROTECTED = @"NOT_PROTECTED"; + } + /// ///A response to a ShopifyQL query. /// - [Description("A response to a ShopifyQL query.")] - public class ShopifyqlQueryResponse : GraphQLObject - { + [Description("A response to a ShopifyQL query.")] + public class ShopifyqlQueryResponse : GraphQLObject + { /// ///A list of parse errors, if parsing fails. /// - [Description("A list of parse errors, if parsing fails.")] - [NonNull] - public IEnumerable? parseErrors { get; set; } - + [Description("A list of parse errors, if parsing fails.")] + [NonNull] + public IEnumerable? parseErrors { get; set; } + /// ///The result in a tabular format with column and row data. /// - [Description("The result in a tabular format with column and row data.")] - public ShopifyqlTableData? tableData { get; set; } - } - + [Description("The result in a tabular format with column and row data.")] + public ShopifyqlTableData? tableData { get; set; } + } + /// ///The result of a ShopifyQL query. /// - [Description("The result of a ShopifyQL query.")] - public class ShopifyqlTableData : GraphQLObject - { + [Description("The result of a ShopifyQL query.")] + public class ShopifyqlTableData : GraphQLObject + { /// ///The columns of the table. /// - [Description("The columns of the table.")] - [NonNull] - public IEnumerable? columns { get; set; } - + [Description("The columns of the table.")] + [NonNull] + public IEnumerable? columns { get; set; } + /// ///The rows of the table. /// - [Description("The rows of the table.")] - [NonNull] - public string? rows { get; set; } - } - + [Description("The rows of the table.")] + [NonNull] + public string? rows { get; set; } + } + /// ///Represents a column in a ShopifyQL query response. /// - [Description("Represents a column in a ShopifyQL query response.")] - public class ShopifyqlTableDataColumn : GraphQLObject - { + [Description("Represents a column in a ShopifyQL query response.")] + public class ShopifyqlTableDataColumn : GraphQLObject + { /// ///The data type of the column. /// - [Description("The data type of the column.")] - [NonNull] - [EnumType(typeof(ColumnDataType))] - public string? dataType { get; set; } - + [Description("The data type of the column.")] + [NonNull] + [EnumType(typeof(ColumnDataType))] + public string? dataType { get; set; } + /// ///The human-readable display name of the column. /// - [Description("The human-readable display name of the column.")] - [NonNull] - public string? displayName { get; set; } - + [Description("The human-readable display name of the column.")] + [NonNull] + public string? displayName { get; set; } + /// ///The name of the column. /// - [Description("The name of the column.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the column.")] + [NonNull] + public string? name { get; set; } + /// ///The sub type of an array column. /// - [Description("The sub type of an array column.")] - [EnumType(typeof(ColumnDataType))] - public string? subType { get; set; } - } - + [Description("The sub type of an array column.")] + [EnumType(typeof(ColumnDataType))] + public string? subType { get; set; } + } + /// ///Represents the data about a staff member's Shopify account. Merchants can use staff member data to get more information about the staff members in their store. /// - [Description("Represents the data about a staff member's Shopify account. Merchants can use staff member data to get more information about the staff members in their store.")] - public class StaffMember : GraphQLObject, INode - { + [Description("Represents the data about a staff member's Shopify account. Merchants can use staff member data to get more information about the staff members in their store.")] + public class StaffMember : GraphQLObject, INode + { /// ///The type of account the staff member has. /// - [Description("The type of account the staff member has.")] - [EnumType(typeof(AccountType))] - public string? accountType { get; set; } - + [Description("The type of account the staff member has.")] + [EnumType(typeof(AccountType))] + public string? accountType { get; set; } + /// ///Whether the staff member is active. /// - [Description("Whether the staff member is active.")] - [NonNull] - public bool? active { get; set; } - + [Description("Whether the staff member is active.")] + [NonNull] + public bool? active { get; set; } + /// ///The image used as the staff member's avatar in the Shopify admin. /// - [Description("The image used as the staff member's avatar in the Shopify admin.")] - [NonNull] - public Image? avatar { get; set; } - + [Description("The image used as the staff member's avatar in the Shopify admin.")] + [NonNull] + public Image? avatar { get; set; } + /// ///The staff member's email address. /// - [Description("The staff member's email address.")] - [NonNull] - public string? email { get; set; } - + [Description("The staff member's email address.")] + [NonNull] + public string? email { get; set; } + /// ///Whether the staff member's account exists. /// - [Description("Whether the staff member's account exists.")] - [NonNull] - public bool? exists { get; set; } - + [Description("Whether the staff member's account exists.")] + [NonNull] + public bool? exists { get; set; } + /// ///The staff member's first name. /// - [Description("The staff member's first name.")] - public string? firstName { get; set; } - + [Description("The staff member's first name.")] + public string? firstName { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The Identity account details for the staff member. /// - [Description("The Identity account details for the staff member.")] - public IdentityAccount? identityAccount { get; set; } - + [Description("The Identity account details for the staff member.")] + public IdentityAccount? identityAccount { get; set; } + /// ///The account settings page URL for the staff member. /// - [Description("The account settings page URL for the staff member.")] - [Obsolete("Use `identityAccount` instead.")] - public string? identityAccountUrl { get; set; } - + [Description("The account settings page URL for the staff member.")] + [Obsolete("Use `identityAccount` instead.")] + public string? identityAccountUrl { get; set; } + /// ///The staff member's initials, if available. /// - [Description("The staff member's initials, if available.")] - public IEnumerable? initials { get; set; } - + [Description("The staff member's initials, if available.")] + public IEnumerable? initials { get; set; } + /// ///Whether the staff member is the shop owner. /// - [Description("Whether the staff member is the shop owner.")] - [NonNull] - public bool? isShopOwner { get; set; } - + [Description("Whether the staff member is the shop owner.")] + [NonNull] + public bool? isShopOwner { get; set; } + /// ///The staff member's last name. /// - [Description("The staff member's last name.")] - public string? lastName { get; set; } - + [Description("The staff member's last name.")] + public string? lastName { get; set; } + /// ///The staff member's preferred locale. Locale values use the format `language` or `language-COUNTRY`, where `language` is a two-letter language code, and `COUNTRY` is a two-letter country code. For example: `en` or `en-US` /// - [Description("The staff member's preferred locale. Locale values use the format `language` or `language-COUNTRY`, where `language` is a two-letter language code, and `COUNTRY` is a two-letter country code. For example: `en` or `en-US`")] - [NonNull] - public string? locale { get; set; } - + [Description("The staff member's preferred locale. Locale values use the format `language` or `language-COUNTRY`, where `language` is a two-letter language code, and `COUNTRY` is a two-letter country code. For example: `en` or `en-US`")] + [NonNull] + public string? locale { get; set; } + /// ///The staff member's full name. /// - [Description("The staff member's full name.")] - [NonNull] - public string? name { get; set; } - + [Description("The staff member's full name.")] + [NonNull] + public string? name { get; set; } + /// ///The staff member's phone number. /// - [Description("The staff member's phone number.")] - public string? phone { get; set; } - + [Description("The staff member's phone number.")] + public string? phone { get; set; } + /// ///The data used to customize the Shopify admin experience for the staff member. /// - [Description("The data used to customize the Shopify admin experience for the staff member.")] - [NonNull] - public StaffMemberPrivateData? privateData { get; set; } - } - + [Description("The data used to customize the Shopify admin experience for the staff member.")] + [NonNull] + public StaffMemberPrivateData? privateData { get; set; } + } + /// ///An auto-generated type for paginating through multiple StaffMembers. /// - [Description("An auto-generated type for paginating through multiple StaffMembers.")] - public class StaffMemberConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple StaffMembers.")] + public class StaffMemberConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in StaffMemberEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in StaffMemberEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in StaffMemberEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Represents the fallback avatar image for a staff member. This is used only if the staff member has no avatar image. /// - [Description("Represents the fallback avatar image for a staff member. This is used only if the staff member has no avatar image.")] - public enum StaffMemberDefaultImage - { + [Description("Represents the fallback avatar image for a staff member. This is used only if the staff member has no avatar image.")] + public enum StaffMemberDefaultImage + { /// ///Returns a default avatar image for the staff member. /// - [Description("Returns a default avatar image for the staff member.")] - DEFAULT, + [Description("Returns a default avatar image for the staff member.")] + DEFAULT, /// ///Returns a transparent avatar image for the staff member. /// - [Description("Returns a transparent avatar image for the staff member.")] - TRANSPARENT, + [Description("Returns a transparent avatar image for the staff member.")] + TRANSPARENT, /// ///Returns a URL that returns a 404 error if the image is not present. /// - [Description("Returns a URL that returns a 404 error if the image is not present.")] - NOT_FOUND, - } - - public static class StaffMemberDefaultImageStringValues - { - public const string DEFAULT = @"DEFAULT"; - public const string TRANSPARENT = @"TRANSPARENT"; - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("Returns a URL that returns a 404 error if the image is not present.")] + NOT_FOUND, + } + + public static class StaffMemberDefaultImageStringValues + { + public const string DEFAULT = @"DEFAULT"; + public const string TRANSPARENT = @"TRANSPARENT"; + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///An auto-generated type which holds one StaffMember and a cursor during pagination. /// - [Description("An auto-generated type which holds one StaffMember and a cursor during pagination.")] - public class StaffMemberEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one StaffMember and a cursor during pagination.")] + public class StaffMemberEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of StaffMemberEdge. /// - [Description("The item at the end of StaffMemberEdge.")] - [NonNull] - public StaffMember? node { get; set; } - } - + [Description("The item at the end of StaffMemberEdge.")] + [NonNull] + public StaffMember? node { get; set; } + } + /// ///Represents access permissions for a staff member. /// - [Description("Represents access permissions for a staff member.")] - public enum StaffMemberPermission - { + [Description("Represents access permissions for a staff member.")] + public enum StaffMemberPermission + { /// ///The staff member can manage and install apps and channels. /// - [Description("The staff member can manage and install apps and channels.")] - APPLICATIONS, + [Description("The staff member can manage and install apps and channels.")] + APPLICATIONS, /// ///The staff member can export store data via bulk data operations. /// - [Description("The staff member can export store data via bulk data operations.")] - BULK_DATA_EXPORT, + [Description("The staff member can export store data via bulk data operations.")] + BULK_DATA_EXPORT, /// ///The staff member can import store data via bulk data operations. /// - [Description("The staff member can import store data via bulk data operations.")] - BULK_DATA_IMPORT, + [Description("The staff member can import store data via bulk data operations.")] + BULK_DATA_IMPORT, /// ///The staff member can manage and install sales channels. /// - [Description("The staff member can manage and install sales channels.")] - CHANNELS, + [Description("The staff member can manage and install sales channels.")] + CHANNELS, /// ///The staff member can create and edit customers. /// - [Description("The staff member can create and edit customers.")] - CREATE_AND_EDIT_CUSTOMERS, + [Description("The staff member can create and edit customers.")] + CREATE_AND_EDIT_CUSTOMERS, /// ///The staff member can create and edit gift cards. /// - [Description("The staff member can create and edit gift cards.")] - CREATE_AND_EDIT_GIFT_CARDS, + [Description("The staff member can create and edit gift cards.")] + CREATE_AND_EDIT_GIFT_CARDS, /// ///The staff member can view customers. /// - [Description("The staff member can view customers.")] - CUSTOMERS, + [Description("The staff member can view customers.")] + CUSTOMERS, /// ///The staff member can view the Shopify Home page, which includes sales information and other shop data. /// - [Description("The staff member can view the Shopify Home page, which includes sales information and other shop data.")] - DASHBOARD, + [Description("The staff member can view the Shopify Home page, which includes sales information and other shop data.")] + DASHBOARD, /// ///The staff member can deactivate gift cards. /// - [Description("The staff member can deactivate gift cards.")] - DEACTIVATE_GIFT_CARDS, + [Description("The staff member can deactivate gift cards.")] + DEACTIVATE_GIFT_CARDS, /// ///The staff member can delete customers. /// - [Description("The staff member can delete customers.")] - DELETE_CUSTOMERS, + [Description("The staff member can delete customers.")] + DELETE_CUSTOMERS, /// ///The staff member can view, buy, and manage domains. /// - [Description("The staff member can view, buy, and manage domains.")] - DOMAINS, + [Description("The staff member can view, buy, and manage domains.")] + DOMAINS, /// ///The staff member can create, update, and delete draft orders. /// - [Description("The staff member can create, update, and delete draft orders.")] - DRAFT_ORDERS, + [Description("The staff member can create, update, and delete draft orders.")] + DRAFT_ORDERS, /// ///The staff member can update orders. /// - [Description("The staff member can update orders.")] - EDIT_ORDERS, + [Description("The staff member can update orders.")] + EDIT_ORDERS, /// ///The staff member can edit theme code. /// - [Description("The staff member can edit theme code.")] - EDIT_THEME_CODE, + [Description("The staff member can edit theme code.")] + EDIT_THEME_CODE, /// ///The staff member can erase customer private data. /// - [Description("The staff member can erase customer private data.")] - ERASE_CUSTOMER_DATA, + [Description("The staff member can erase customer private data.")] + ERASE_CUSTOMER_DATA, /// ///The staff member can export customers. /// - [Description("The staff member can export customers.")] - EXPORT_CUSTOMERS, + [Description("The staff member can export customers.")] + EXPORT_CUSTOMERS, /// ///The staff member can export gift cards. /// - [Description("The staff member can export gift cards.")] - EXPORT_GIFT_CARDS, + [Description("The staff member can export gift cards.")] + EXPORT_GIFT_CARDS, /// ///The staff has the same permissions as the [store owner](https://shopify.dev/en/manual/your-account/staff-accounts/staff-permissions#store-owner-permissions) with some exceptions, such as modifying the account billing or deleting staff accounts. /// - [Description("The staff has the same permissions as the [store owner](https://shopify.dev/en/manual/your-account/staff-accounts/staff-permissions#store-owner-permissions) with some exceptions, such as modifying the account billing or deleting staff accounts.")] - [Obsolete("Use the list of the staff member's explicit permissions returned in the `StaffMember.permissions.userPermissions` field instead of `full` permission.")] - FULL, + [Description("The staff has the same permissions as the [store owner](https://shopify.dev/en/manual/your-account/staff-accounts/staff-permissions#store-owner-permissions) with some exceptions, such as modifying the account billing or deleting staff accounts.")] + [Obsolete("Use the list of the staff member's explicit permissions returned in the `StaffMember.permissions.userPermissions` field instead of `full` permission.")] + FULL, /// ///The staff member can view, create, issue, and export gift cards to a CSV file. /// - [Description("The staff member can view, create, issue, and export gift cards to a CSV file.")] - GIFT_CARDS, + [Description("The staff member can view, create, issue, and export gift cards to a CSV file.")] + GIFT_CARDS, /// ///The staff member can view and modify links and navigation menus. /// - [Description("The staff member can view and modify links and navigation menus.")] - LINKS, + [Description("The staff member can view and modify links and navigation menus.")] + LINKS, /// ///The staff member can create, update, and delete locations where inventory is stocked or managed. /// - [Description("The staff member can create, update, and delete locations where inventory is stocked or managed.")] - LOCATIONS, + [Description("The staff member can create, update, and delete locations where inventory is stocked or managed.")] + LOCATIONS, /// ///The staff member can manage shipping and delivery. /// - [Description("The staff member can manage shipping and delivery.")] - MANAGE_DELIVERY_SETTINGS, + [Description("The staff member can manage shipping and delivery.")] + MANAGE_DELIVERY_SETTINGS, /// ///The staff member can manage policy pages. /// - [Description("The staff member can manage policy pages.")] - MANAGE_POLICIES, + [Description("The staff member can manage policy pages.")] + MANAGE_POLICIES, /// ///The staff member can manage taxes and duties. /// - [Description("The staff member can manage taxes and duties.")] - MANAGE_TAXES_SETTINGS, + [Description("The staff member can manage taxes and duties.")] + MANAGE_TAXES_SETTINGS, /// ///The staff member can view markets. /// - [Description("The staff member can view markets.")] - VIEW_MARKETS, + [Description("The staff member can view markets.")] + VIEW_MARKETS, /// ///The staff member can create and edit markets. /// - [Description("The staff member can create and edit markets.")] - CREATE_AND_EDIT_MARKETS, + [Description("The staff member can create and edit markets.")] + CREATE_AND_EDIT_MARKETS, /// ///The staff member can delete markets. /// - [Description("The staff member can delete markets.")] - DELETE_MARKETS, + [Description("The staff member can delete markets.")] + DELETE_MARKETS, /// ///The staff member can view and create discount codes and automatic discounts, and export discounts to a CSV file. /// - [Description("The staff member can view and create discount codes and automatic discounts, and export discounts to a CSV file.")] - MARKETING, + [Description("The staff member can view and create discount codes and automatic discounts, and export discounts to a CSV file.")] + MARKETING, /// ///The staff member can view, create, and automate marketing campaigns. /// - [Description("The staff member can view, create, and automate marketing campaigns.")] - MARKETING_SECTION, + [Description("The staff member can view, create, and automate marketing campaigns.")] + MARKETING_SECTION, /// ///The staff member can merge customers. /// - [Description("The staff member can merge customers.")] - MERGE_CUSTOMERS, + [Description("The staff member can merge customers.")] + MERGE_CUSTOMERS, /// ///The staff member can view, create, update, delete, and cancel orders, and receive order notifications. The staff member can still create draft orders without this permission. /// - [Description("The staff member can view, create, update, delete, and cancel orders, and receive order notifications. The staff member can still create draft orders without this permission.")] - ORDERS, + [Description("The staff member can view, create, update, delete, and cancel orders, and receive order notifications. The staff member can still create draft orders without this permission.")] + ORDERS, /// ///The staff member can view the Overview and Live view pages, which include sales information, and other shop and sales channels data. /// - [Description("The staff member can view the Overview and Live view pages, which include sales information, and other shop and sales channels data.")] - OVERVIEWS, + [Description("The staff member can view the Overview and Live view pages, which include sales information, and other shop and sales channels data.")] + OVERVIEWS, /// ///The staff member can view, create, update, publish, and delete blog posts and pages. /// - [Description("The staff member can view, create, update, publish, and delete blog posts and pages.")] - PAGES, + [Description("The staff member can view, create, update, publish, and delete blog posts and pages.")] + PAGES, /// ///The staff member can pay for a draft order by manually entering a credit card number. /// - [Description("The staff member can pay for a draft order by manually entering a credit card number.")] - PAY_DRAFT_ORDERS_BY_CREDIT_CARD, + [Description("The staff member can pay for a draft order by manually entering a credit card number.")] + PAY_DRAFT_ORDERS_BY_CREDIT_CARD, /// ///The staff member can pay for an order by manually entering a credit card number. /// - [Description("The staff member can pay for an order by manually entering a credit card number.")] - PAY_ORDERS_BY_CREDIT_CARD, + [Description("The staff member can pay for an order by manually entering a credit card number.")] + PAY_ORDERS_BY_CREDIT_CARD, /// ///The staff member can pay for an order by using a vaulted card. /// - [Description("The staff member can pay for an order by using a vaulted card.")] - PAY_ORDERS_BY_VAULTED_CARD, + [Description("The staff member can pay for an order by using a vaulted card.")] + PAY_ORDERS_BY_VAULTED_CARD, /// ///The staff member can view the preferences and configuration of a shop. /// - [Description("The staff member can view the preferences and configuration of a shop.")] - PREFERENCES, + [Description("The staff member can view the preferences and configuration of a shop.")] + PREFERENCES, /// ///The staff member can view, create, import, and update products, collections, and inventory. /// - [Description("The staff member can view, create, import, and update products, collections, and inventory.")] - PRODUCTS, + [Description("The staff member can view, create, import, and update products, collections, and inventory.")] + PRODUCTS, /// ///The staff member can refund orders. /// - [Description("The staff member can refund orders.")] - REFUND_ORDERS, + [Description("The staff member can refund orders.")] + REFUND_ORDERS, /// ///The staff member can view and create all reports, which includes sales information and other shop data. /// - [Description("The staff member can view and create all reports, which includes sales information and other shop data.")] - REPORTS, + [Description("The staff member can view and create all reports, which includes sales information and other shop data.")] + REPORTS, /// ///The staff member can request customer private data. /// - [Description("The staff member can request customer private data.")] - REQUEST_CUSTOMER_DATA, + [Description("The staff member can request customer private data.")] + REQUEST_CUSTOMER_DATA, /// ///The staff member can view, update, and publish themes. /// - [Description("The staff member can view, update, and publish themes.")] - THEMES, + [Description("The staff member can view, update, and publish themes.")] + THEMES, /// ///The staff member can view and create translations. /// - [Description("The staff member can view and create translations.")] - [Obsolete("Unused.")] - TRANSLATIONS, - } - - public static class StaffMemberPermissionStringValues - { - public const string APPLICATIONS = @"APPLICATIONS"; - public const string BULK_DATA_EXPORT = @"BULK_DATA_EXPORT"; - public const string BULK_DATA_IMPORT = @"BULK_DATA_IMPORT"; - public const string CHANNELS = @"CHANNELS"; - public const string CREATE_AND_EDIT_CUSTOMERS = @"CREATE_AND_EDIT_CUSTOMERS"; - public const string CREATE_AND_EDIT_GIFT_CARDS = @"CREATE_AND_EDIT_GIFT_CARDS"; - public const string CUSTOMERS = @"CUSTOMERS"; - public const string DASHBOARD = @"DASHBOARD"; - public const string DEACTIVATE_GIFT_CARDS = @"DEACTIVATE_GIFT_CARDS"; - public const string DELETE_CUSTOMERS = @"DELETE_CUSTOMERS"; - public const string DOMAINS = @"DOMAINS"; - public const string DRAFT_ORDERS = @"DRAFT_ORDERS"; - public const string EDIT_ORDERS = @"EDIT_ORDERS"; - public const string EDIT_THEME_CODE = @"EDIT_THEME_CODE"; - public const string ERASE_CUSTOMER_DATA = @"ERASE_CUSTOMER_DATA"; - public const string EXPORT_CUSTOMERS = @"EXPORT_CUSTOMERS"; - public const string EXPORT_GIFT_CARDS = @"EXPORT_GIFT_CARDS"; - [Obsolete("Use the list of the staff member's explicit permissions returned in the `StaffMember.permissions.userPermissions` field instead of `full` permission.")] - public const string FULL = @"FULL"; - public const string GIFT_CARDS = @"GIFT_CARDS"; - public const string LINKS = @"LINKS"; - public const string LOCATIONS = @"LOCATIONS"; - public const string MANAGE_DELIVERY_SETTINGS = @"MANAGE_DELIVERY_SETTINGS"; - public const string MANAGE_POLICIES = @"MANAGE_POLICIES"; - public const string MANAGE_TAXES_SETTINGS = @"MANAGE_TAXES_SETTINGS"; - public const string VIEW_MARKETS = @"VIEW_MARKETS"; - public const string CREATE_AND_EDIT_MARKETS = @"CREATE_AND_EDIT_MARKETS"; - public const string DELETE_MARKETS = @"DELETE_MARKETS"; - public const string MARKETING = @"MARKETING"; - public const string MARKETING_SECTION = @"MARKETING_SECTION"; - public const string MERGE_CUSTOMERS = @"MERGE_CUSTOMERS"; - public const string ORDERS = @"ORDERS"; - public const string OVERVIEWS = @"OVERVIEWS"; - public const string PAGES = @"PAGES"; - public const string PAY_DRAFT_ORDERS_BY_CREDIT_CARD = @"PAY_DRAFT_ORDERS_BY_CREDIT_CARD"; - public const string PAY_ORDERS_BY_CREDIT_CARD = @"PAY_ORDERS_BY_CREDIT_CARD"; - public const string PAY_ORDERS_BY_VAULTED_CARD = @"PAY_ORDERS_BY_VAULTED_CARD"; - public const string PREFERENCES = @"PREFERENCES"; - public const string PRODUCTS = @"PRODUCTS"; - public const string REFUND_ORDERS = @"REFUND_ORDERS"; - public const string REPORTS = @"REPORTS"; - public const string REQUEST_CUSTOMER_DATA = @"REQUEST_CUSTOMER_DATA"; - public const string THEMES = @"THEMES"; - [Obsolete("Unused.")] - public const string TRANSLATIONS = @"TRANSLATIONS"; - } - + [Description("The staff member can view and create translations.")] + [Obsolete("Unused.")] + TRANSLATIONS, + } + + public static class StaffMemberPermissionStringValues + { + public const string APPLICATIONS = @"APPLICATIONS"; + public const string BULK_DATA_EXPORT = @"BULK_DATA_EXPORT"; + public const string BULK_DATA_IMPORT = @"BULK_DATA_IMPORT"; + public const string CHANNELS = @"CHANNELS"; + public const string CREATE_AND_EDIT_CUSTOMERS = @"CREATE_AND_EDIT_CUSTOMERS"; + public const string CREATE_AND_EDIT_GIFT_CARDS = @"CREATE_AND_EDIT_GIFT_CARDS"; + public const string CUSTOMERS = @"CUSTOMERS"; + public const string DASHBOARD = @"DASHBOARD"; + public const string DEACTIVATE_GIFT_CARDS = @"DEACTIVATE_GIFT_CARDS"; + public const string DELETE_CUSTOMERS = @"DELETE_CUSTOMERS"; + public const string DOMAINS = @"DOMAINS"; + public const string DRAFT_ORDERS = @"DRAFT_ORDERS"; + public const string EDIT_ORDERS = @"EDIT_ORDERS"; + public const string EDIT_THEME_CODE = @"EDIT_THEME_CODE"; + public const string ERASE_CUSTOMER_DATA = @"ERASE_CUSTOMER_DATA"; + public const string EXPORT_CUSTOMERS = @"EXPORT_CUSTOMERS"; + public const string EXPORT_GIFT_CARDS = @"EXPORT_GIFT_CARDS"; + [Obsolete("Use the list of the staff member's explicit permissions returned in the `StaffMember.permissions.userPermissions` field instead of `full` permission.")] + public const string FULL = @"FULL"; + public const string GIFT_CARDS = @"GIFT_CARDS"; + public const string LINKS = @"LINKS"; + public const string LOCATIONS = @"LOCATIONS"; + public const string MANAGE_DELIVERY_SETTINGS = @"MANAGE_DELIVERY_SETTINGS"; + public const string MANAGE_POLICIES = @"MANAGE_POLICIES"; + public const string MANAGE_TAXES_SETTINGS = @"MANAGE_TAXES_SETTINGS"; + public const string VIEW_MARKETS = @"VIEW_MARKETS"; + public const string CREATE_AND_EDIT_MARKETS = @"CREATE_AND_EDIT_MARKETS"; + public const string DELETE_MARKETS = @"DELETE_MARKETS"; + public const string MARKETING = @"MARKETING"; + public const string MARKETING_SECTION = @"MARKETING_SECTION"; + public const string MERGE_CUSTOMERS = @"MERGE_CUSTOMERS"; + public const string ORDERS = @"ORDERS"; + public const string OVERVIEWS = @"OVERVIEWS"; + public const string PAGES = @"PAGES"; + public const string PAY_DRAFT_ORDERS_BY_CREDIT_CARD = @"PAY_DRAFT_ORDERS_BY_CREDIT_CARD"; + public const string PAY_ORDERS_BY_CREDIT_CARD = @"PAY_ORDERS_BY_CREDIT_CARD"; + public const string PAY_ORDERS_BY_VAULTED_CARD = @"PAY_ORDERS_BY_VAULTED_CARD"; + public const string PREFERENCES = @"PREFERENCES"; + public const string PRODUCTS = @"PRODUCTS"; + public const string REFUND_ORDERS = @"REFUND_ORDERS"; + public const string REPORTS = @"REPORTS"; + public const string REQUEST_CUSTOMER_DATA = @"REQUEST_CUSTOMER_DATA"; + public const string THEMES = @"THEMES"; + [Obsolete("Unused.")] + public const string TRANSLATIONS = @"TRANSLATIONS"; + } + /// ///Represents the data used to customize the Shopify admin experience for a logged-in staff member. /// - [Description("Represents the data used to customize the Shopify admin experience for a logged-in staff member.")] - public class StaffMemberPrivateData : GraphQLObject - { + [Description("Represents the data used to customize the Shopify admin experience for a logged-in staff member.")] + public class StaffMemberPrivateData : GraphQLObject + { /// ///The URL to the staff member's account settings page. /// - [Description("The URL to the staff member's account settings page.")] - [NonNull] - public string? accountSettingsUrl { get; set; } - + [Description("The URL to the staff member's account settings page.")] + [NonNull] + public string? accountSettingsUrl { get; set; } + /// ///The date and time when the staff member was created. /// - [Description("The date and time when the staff member was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the staff member was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///Access permissions for the staff member. /// - [Description("Access permissions for the staff member.")] - [Obsolete("There's no alternative field to use instead.")] - [NonNull] - public IEnumerable? permissions { get; set; } - } - + [Description("Access permissions for the staff member.")] + [Obsolete("There's no alternative field to use instead.")] + [NonNull] + public IEnumerable? permissions { get; set; } + } + /// ///The set of valid sort keys for the StaffMembers query. /// - [Description("The set of valid sort keys for the StaffMembers query.")] - public enum StaffMembersSortKeys - { + [Description("The set of valid sort keys for the StaffMembers query.")] + public enum StaffMembersSortKeys + { /// ///Sort by the `email` value. /// - [Description("Sort by the `email` value.")] - EMAIL, + [Description("Sort by the `email` value.")] + EMAIL, /// ///Sort by the `first_name` value. /// - [Description("Sort by the `first_name` value.")] - FIRST_NAME, + [Description("Sort by the `first_name` value.")] + FIRST_NAME, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `last_name` value. /// - [Description("Sort by the `last_name` value.")] - LAST_NAME, - } - - public static class StaffMembersSortKeysStringValues - { - public const string EMAIL = @"EMAIL"; - public const string FIRST_NAME = @"FIRST_NAME"; - public const string ID = @"ID"; - public const string LAST_NAME = @"LAST_NAME"; - } - + [Description("Sort by the `last_name` value.")] + LAST_NAME, + } + + public static class StaffMembersSortKeysStringValues + { + public const string EMAIL = @"EMAIL"; + public const string FIRST_NAME = @"FIRST_NAME"; + public const string ID = @"ID"; + public const string LAST_NAME = @"LAST_NAME"; + } + /// ///An image to be uploaded. /// @@ -119719,39 +119719,39 @@ public static class StaffMembersSortKeysStringValues ///which is used by the ///[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate). /// - [Description("An image to be uploaded.\n\nDeprecated in favor of\n[StagedUploadInput](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadInput),\nwhich is used by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] - public class StageImageInput : GraphQLObject - { + [Description("An image to be uploaded.\n\nDeprecated in favor of\n[StagedUploadInput](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadInput),\nwhich is used by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] + public class StageImageInput : GraphQLObject + { /// ///The image resource. /// - [Description("The image resource.")] - [NonNull] - [EnumType(typeof(StagedUploadTargetGenerateUploadResource))] - public string? resource { get; set; } - + [Description("The image resource.")] + [NonNull] + [EnumType(typeof(StagedUploadTargetGenerateUploadResource))] + public string? resource { get; set; } + /// ///The image filename. /// - [Description("The image filename.")] - [NonNull] - public string? filename { get; set; } - + [Description("The image filename.")] + [NonNull] + public string? filename { get; set; } + /// ///The image MIME type. /// - [Description("The image MIME type.")] - [NonNull] - public string? mimeType { get; set; } - + [Description("The image MIME type.")] + [NonNull] + public string? mimeType { get; set; } + /// ///HTTP method to be used by the staged upload. /// - [Description("HTTP method to be used by the staged upload.")] - [EnumType(typeof(StagedUploadHttpMethodType))] - public string? httpMethod { get; set; } - } - + [Description("HTTP method to be used by the staged upload.")] + [EnumType(typeof(StagedUploadHttpMethodType))] + public string? httpMethod { get; set; } + } + /// ///Information about a staged upload target, which should be used to send a request to upload ///the file. @@ -119759,16 +119759,16 @@ public class StageImageInput : GraphQLObject ///For more information on the upload process, refer to ///[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify). /// - [Description("Information about a staged upload target, which should be used to send a request to upload\nthe file.\n\nFor more information on the upload process, refer to\n[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify).")] - public class StagedMediaUploadTarget : GraphQLObject - { + [Description("Information about a staged upload target, which should be used to send a request to upload\nthe file.\n\nFor more information on the upload process, refer to\n[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify).")] + public class StagedMediaUploadTarget : GraphQLObject + { /// ///Parameters needed to authenticate a request to upload the file. /// - [Description("Parameters needed to authenticate a request to upload the file.")] - [NonNull] - public IEnumerable? parameters { get; set; } - + [Description("Parameters needed to authenticate a request to upload the file.")] + [NonNull] + public IEnumerable? parameters { get; set; } + /// ///The URL to be passed as `originalSource` in ///[CreateMediaInput](https://shopify.dev/api/admin-graphql/latest/input-objects/CreateMediaInput) @@ -119777,87 +119777,87 @@ public class StagedMediaUploadTarget : GraphQLObject ///and [fileCreate](https://shopify.dev/api/admin-graphql/2022-04/mutations/fileCreate) ///mutations. /// - [Description("The URL to be passed as `originalSource` in\n[CreateMediaInput](https://shopify.dev/api/admin-graphql/latest/input-objects/CreateMediaInput)\nand [FileCreateInput](https://shopify.dev/api/admin-graphql/2022-04/input-objects/FileCreateInput)\nfor the [productCreateMedia](https://shopify.dev/api/admin-graphql/2022-04/mutations/productCreateMedia)\nand [fileCreate](https://shopify.dev/api/admin-graphql/2022-04/mutations/fileCreate)\nmutations.")] - public string? resourceUrl { get; set; } - + [Description("The URL to be passed as `originalSource` in\n[CreateMediaInput](https://shopify.dev/api/admin-graphql/latest/input-objects/CreateMediaInput)\nand [FileCreateInput](https://shopify.dev/api/admin-graphql/2022-04/input-objects/FileCreateInput)\nfor the [productCreateMedia](https://shopify.dev/api/admin-graphql/2022-04/mutations/productCreateMedia)\nand [fileCreate](https://shopify.dev/api/admin-graphql/2022-04/mutations/fileCreate)\nmutations.")] + public string? resourceUrl { get; set; } + /// ///The URL to use when sending an request to upload the file. Should be used in conjunction with ///the parameters field. /// - [Description("The URL to use when sending an request to upload the file. Should be used in conjunction with\nthe parameters field.")] - public string? url { get; set; } - } - + [Description("The URL to use when sending an request to upload the file. Should be used in conjunction with\nthe parameters field.")] + public string? url { get; set; } + } + /// ///The possible HTTP methods that can be used when sending a request to upload a file using information from a ///[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget). /// - [Description("The possible HTTP methods that can be used when sending a request to upload a file using information from a\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget).")] - public enum StagedUploadHttpMethodType - { + [Description("The possible HTTP methods that can be used when sending a request to upload a file using information from a\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget).")] + public enum StagedUploadHttpMethodType + { /// ///The POST HTTP method. /// - [Description("The POST HTTP method.")] - POST, + [Description("The POST HTTP method.")] + POST, /// ///The PUT HTTP method. /// - [Description("The PUT HTTP method.")] - PUT, - } - - public static class StagedUploadHttpMethodTypeStringValues - { - public const string POST = @"POST"; - public const string PUT = @"PUT"; - } - + [Description("The PUT HTTP method.")] + PUT, + } + + public static class StagedUploadHttpMethodTypeStringValues + { + public const string POST = @"POST"; + public const string PUT = @"PUT"; + } + /// ///The input fields for generating staged upload targets. /// - [Description("The input fields for generating staged upload targets.")] - public class StagedUploadInput : GraphQLObject - { + [Description("The input fields for generating staged upload targets.")] + public class StagedUploadInput : GraphQLObject + { /// ///The file's intended Shopify resource type. /// - [Description("The file's intended Shopify resource type.")] - [NonNull] - [EnumType(typeof(StagedUploadTargetGenerateUploadResource))] - public string? resource { get; set; } - + [Description("The file's intended Shopify resource type.")] + [NonNull] + [EnumType(typeof(StagedUploadTargetGenerateUploadResource))] + public string? resource { get; set; } + /// ///The file's name and extension. /// - [Description("The file's name and extension.")] - [NonNull] - public string? filename { get; set; } - + [Description("The file's name and extension.")] + [NonNull] + public string? filename { get; set; } + /// ///The file's MIME type. /// - [Description("The file's MIME type.")] - [NonNull] - public string? mimeType { get; set; } - + [Description("The file's MIME type.")] + [NonNull] + public string? mimeType { get; set; } + /// ///The HTTP method to be used when sending a request to upload the file using the returned staged ///upload target. /// - [Description("The HTTP method to be used when sending a request to upload the file using the returned staged\nupload target.")] - [EnumType(typeof(StagedUploadHttpMethodType))] - public string? httpMethod { get; set; } - + [Description("The HTTP method to be used when sending a request to upload the file using the returned staged\nupload target.")] + [EnumType(typeof(StagedUploadHttpMethodType))] + public string? httpMethod { get; set; } + /// ///The size of the file to upload, in bytes. This is required when the request's resource property is set to ///[VIDEO](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-video) ///or [MODEL_3D](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-model3d). /// - [Description("The size of the file to upload, in bytes. This is required when the request's resource property is set to\n[VIDEO](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-video)\nor [MODEL_3D](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-model3d).")] - public ulong? fileSize { get; set; } - } - + [Description("The size of the file to upload, in bytes. This is required when the request's resource property is set to\n[VIDEO](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-video)\nor [MODEL_3D](https://shopify.dev/api/admin-graphql/latest/enums/StagedUploadTargetGenerateUploadResource#value-model3d).")] + public ulong? fileSize { get; set; } + } + /// ///The parameters required to authenticate a file upload request using a ///[StagedMediaUploadTarget's url field](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-stagedmediauploadtarget-url). @@ -119865,24 +119865,24 @@ public class StagedUploadInput : GraphQLObject ///For more information on the upload process, refer to ///[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify). /// - [Description("The parameters required to authenticate a file upload request using a\n[StagedMediaUploadTarget's url field](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-stagedmediauploadtarget-url).\n\nFor more information on the upload process, refer to\n[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify).")] - public class StagedUploadParameter : GraphQLObject - { + [Description("The parameters required to authenticate a file upload request using a\n[StagedMediaUploadTarget's url field](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget#field-stagedmediauploadtarget-url).\n\nFor more information on the upload process, refer to\n[Upload media to Shopify](https://shopify.dev/apps/online-store/media/products#step-1-upload-media-to-shopify).")] + public class StagedUploadParameter : GraphQLObject + { /// ///The parameter's name. /// - [Description("The parameter's name.")] - [NonNull] - public string? name { get; set; } - + [Description("The parameter's name.")] + [NonNull] + public string? name { get; set; } + /// ///The parameter's value. /// - [Description("The parameter's value.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The parameter's value.")] + [NonNull] + public string? value { get; set; } + } + /// ///Information about the staged target. /// @@ -119891,24 +119891,24 @@ public class StagedUploadParameter : GraphQLObject ///which is returned by the ///[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate). /// - [Description("Information about the staged target.\n\nDeprecated in favor of\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget),\nwhich is returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] - public class StagedUploadTarget : GraphQLObject - { + [Description("Information about the staged target.\n\nDeprecated in favor of\n[StagedMediaUploadTarget](https://shopify.dev/api/admin-graphql/latest/objects/StagedMediaUploadTarget),\nwhich is returned by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] + public class StagedUploadTarget : GraphQLObject + { /// ///The parameters of an image to be uploaded. /// - [Description("The parameters of an image to be uploaded.")] - [NonNull] - public IEnumerable? parameters { get; set; } - + [Description("The parameters of an image to be uploaded.")] + [NonNull] + public IEnumerable? parameters { get; set; } + /// ///The image URL. /// - [Description("The image URL.")] - [NonNull] - public string? url { get; set; } - } - + [Description("The image URL.")] + [NonNull] + public string? url { get; set; } + } + /// ///The required fields and parameters to generate the URL upload an" ///asset to Shopify. @@ -119918,79 +119918,79 @@ public class StagedUploadTarget : GraphQLObject ///which is used by the ///[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate). /// - [Description("The required fields and parameters to generate the URL upload an\"\nasset to Shopify.\n\nDeprecated in favor of\n[StagedUploadInput](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadInput),\nwhich is used by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] - public class StagedUploadTargetGenerateInput : GraphQLObject - { + [Description("The required fields and parameters to generate the URL upload an\"\nasset to Shopify.\n\nDeprecated in favor of\n[StagedUploadInput](https://shopify.dev/api/admin-graphql/latest/objects/StagedUploadInput),\nwhich is used by the\n[stagedUploadsCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/stagedUploadsCreate).")] + public class StagedUploadTargetGenerateInput : GraphQLObject + { /// ///The resource type being uploaded. /// - [Description("The resource type being uploaded.")] - [NonNull] - [EnumType(typeof(StagedUploadTargetGenerateUploadResource))] - public string? resource { get; set; } - + [Description("The resource type being uploaded.")] + [NonNull] + [EnumType(typeof(StagedUploadTargetGenerateUploadResource))] + public string? resource { get; set; } + /// ///The filename of the asset being uploaded. /// - [Description("The filename of the asset being uploaded.")] - [NonNull] - public string? filename { get; set; } - + [Description("The filename of the asset being uploaded.")] + [NonNull] + public string? filename { get; set; } + /// ///The MIME type of the asset being uploaded. /// - [Description("The MIME type of the asset being uploaded.")] - [NonNull] - public string? mimeType { get; set; } - + [Description("The MIME type of the asset being uploaded.")] + [NonNull] + public string? mimeType { get; set; } + /// ///The HTTP method to be used by the staged upload. /// - [Description("The HTTP method to be used by the staged upload.")] - [EnumType(typeof(StagedUploadHttpMethodType))] - public string? httpMethod { get; set; } - + [Description("The HTTP method to be used by the staged upload.")] + [EnumType(typeof(StagedUploadHttpMethodType))] + public string? httpMethod { get; set; } + /// ///The size of the file to upload, in bytes. /// - [Description("The size of the file to upload, in bytes.")] - public ulong? fileSize { get; set; } - } - + [Description("The size of the file to upload, in bytes.")] + public ulong? fileSize { get; set; } + } + /// ///Return type for `stagedUploadTargetGenerate` mutation. /// - [Description("Return type for `stagedUploadTargetGenerate` mutation.")] - public class StagedUploadTargetGeneratePayload : GraphQLObject - { + [Description("Return type for `stagedUploadTargetGenerate` mutation.")] + public class StagedUploadTargetGeneratePayload : GraphQLObject + { /// ///The signed parameters that can be used to upload the asset. /// - [Description("The signed parameters that can be used to upload the asset.")] - [NonNull] - public IEnumerable? parameters { get; set; } - + [Description("The signed parameters that can be used to upload the asset.")] + [NonNull] + public IEnumerable? parameters { get; set; } + /// ///The signed URL where the asset can be uploaded. /// - [Description("The signed URL where the asset can be uploaded.")] - [NonNull] - public string? url { get; set; } - + [Description("The signed URL where the asset can be uploaded.")] + [NonNull] + public string? url { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The resource type to receive. /// - [Description("The resource type to receive.")] - public enum StagedUploadTargetGenerateUploadResource - { + [Description("The resource type to receive.")] + public enum StagedUploadTargetGenerateUploadResource + { /// ///An image associated with a collection. /// @@ -119998,8 +119998,8 @@ public enum StagedUploadTargetGenerateUploadResource ///[collectionUpdate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/collectionUpdate) ///to add the image to a collection. /// - [Description("An image associated with a collection.\n\nFor example, after uploading an image, you can use the\n[collectionUpdate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/collectionUpdate)\nto add the image to a collection.")] - COLLECTION_IMAGE, + [Description("An image associated with a collection.\n\nFor example, after uploading an image, you can use the\n[collectionUpdate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/collectionUpdate)\nto add the image to a collection.")] + COLLECTION_IMAGE, /// ///Represents any file other than HTML. /// @@ -120007,8 +120007,8 @@ public enum StagedUploadTargetGenerateUploadResource ///[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the ///[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate). /// - [Description("Represents any file other than HTML.\n\nFor example, after uploading the file, you can add the file to the\n[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] - FILE, + [Description("Represents any file other than HTML.\n\nFor example, after uploading the file, you can add the file to the\n[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] + FILE, /// ///An image. /// @@ -120017,24 +120017,24 @@ public enum StagedUploadTargetGenerateUploadResource ///or to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the ///[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate). /// - [Description("An image.\n\nFor example, after uploading an image, you can add the image to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia)\nor to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] - IMAGE, + [Description("An image.\n\nFor example, after uploading an image, you can add the image to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia)\nor to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] + IMAGE, /// ///A Shopify hosted 3d model. /// ///For example, after uploading the 3d model, you can add the 3d model to a product using the ///[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia). /// - [Description("A Shopify hosted 3d model.\n\nFor example, after uploading the 3d model, you can add the 3d model to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia).")] - MODEL_3D, + [Description("A Shopify hosted 3d model.\n\nFor example, after uploading the 3d model, you can add the 3d model to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia).")] + MODEL_3D, /// ///An image that's associated with a product. /// ///For example, after uploading the image, you can add the image to a product using the ///[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia). /// - [Description("An image that's associated with a product.\n\nFor example, after uploading the image, you can add the image to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia).")] - PRODUCT_IMAGE, + [Description("An image that's associated with a product.\n\nFor example, after uploading the image, you can add the image to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia).")] + PRODUCT_IMAGE, /// ///An image. /// @@ -120042,8 +120042,8 @@ public enum StagedUploadTargetGenerateUploadResource ///[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the ///[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate). /// - [Description("An image.\n\nFor example, after uploading the image, you can add the image to the\n[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] - SHOP_IMAGE, + [Description("An image.\n\nFor example, after uploading the image, you can add the image to the\n[Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] + SHOP_IMAGE, /// ///A Shopify-hosted video. /// @@ -120052,24 +120052,24 @@ public enum StagedUploadTargetGenerateUploadResource ///or to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the ///[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate). /// - [Description("A Shopify-hosted video.\n\nFor example, after uploading the video, you can add the video to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia)\nor to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] - VIDEO, + [Description("A Shopify-hosted video.\n\nFor example, after uploading the video, you can add the video to a product using the\n[productCreateMedia mutation](https://shopify.dev/api/admin-graphql/latest/mutations/productCreateMedia)\nor to the [Files page](https://shopify.com/admin/settings/files) in Shopify admin using the\n[fileCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/fileCreate).")] + VIDEO, /// ///Represents bulk mutation variables. /// ///For example, bulk mutation variables can be used for bulk operations using the ///[bulkOperationRunMutation mutation](https://shopify.dev/api/admin-graphql/latest/mutations/bulkOperationRunMutation). /// - [Description("Represents bulk mutation variables.\n\nFor example, bulk mutation variables can be used for bulk operations using the\n[bulkOperationRunMutation mutation](https://shopify.dev/api/admin-graphql/latest/mutations/bulkOperationRunMutation).")] - BULK_MUTATION_VARIABLES, + [Description("Represents bulk mutation variables.\n\nFor example, bulk mutation variables can be used for bulk operations using the\n[bulkOperationRunMutation mutation](https://shopify.dev/api/admin-graphql/latest/mutations/bulkOperationRunMutation).")] + BULK_MUTATION_VARIABLES, /// ///Represents a label associated with a return. /// ///For example, once uploaded, this resource can be used to [create a ///ReverseDelivery](https://shopify.dev/api/admin-graphql/unstable/mutations/reverseDeliveryCreateWithShipping). /// - [Description("Represents a label associated with a return.\n\nFor example, once uploaded, this resource can be used to [create a\nReverseDelivery](https://shopify.dev/api/admin-graphql/unstable/mutations/reverseDeliveryCreateWithShipping).")] - RETURN_LABEL, + [Description("Represents a label associated with a return.\n\nFor example, once uploaded, this resource can be used to [create a\nReverseDelivery](https://shopify.dev/api/admin-graphql/unstable/mutations/reverseDeliveryCreateWithShipping).")] + RETURN_LABEL, /// ///Represents a redirect CSV file. /// @@ -120078,1006 +120078,1006 @@ public enum StagedUploadTargetGenerateUploadResource ///object for use in the ///[urlRedirectImportCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate). /// - [Description("Represents a redirect CSV file.\n\nExample usage: This resource can be used for creating a\n[UrlRedirectImport](https://shopify.dev/api/admin-graphql/2022-04/objects/UrlRedirectImport)\nobject for use in the\n[urlRedirectImportCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate).")] - URL_REDIRECT_IMPORT, + [Description("Represents a redirect CSV file.\n\nExample usage: This resource can be used for creating a\n[UrlRedirectImport](https://shopify.dev/api/admin-graphql/2022-04/objects/UrlRedirectImport)\nobject for use in the\n[urlRedirectImportCreate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/urlRedirectImportCreate).")] + URL_REDIRECT_IMPORT, /// ///Represents a file associated with a dispute. /// ///For example, after uploading the file, you can add the file to a dispute using the ///[disputeEvidenceUpdate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/disputeEvidenceUpdate). /// - [Description("Represents a file associated with a dispute.\n\nFor example, after uploading the file, you can add the file to a dispute using the\n[disputeEvidenceUpdate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/disputeEvidenceUpdate).")] - DISPUTE_FILE_UPLOAD, - } - - public static class StagedUploadTargetGenerateUploadResourceStringValues - { - public const string COLLECTION_IMAGE = @"COLLECTION_IMAGE"; - public const string FILE = @"FILE"; - public const string IMAGE = @"IMAGE"; - public const string MODEL_3D = @"MODEL_3D"; - public const string PRODUCT_IMAGE = @"PRODUCT_IMAGE"; - public const string SHOP_IMAGE = @"SHOP_IMAGE"; - public const string VIDEO = @"VIDEO"; - public const string BULK_MUTATION_VARIABLES = @"BULK_MUTATION_VARIABLES"; - public const string RETURN_LABEL = @"RETURN_LABEL"; - public const string URL_REDIRECT_IMPORT = @"URL_REDIRECT_IMPORT"; - public const string DISPUTE_FILE_UPLOAD = @"DISPUTE_FILE_UPLOAD"; - } - + [Description("Represents a file associated with a dispute.\n\nFor example, after uploading the file, you can add the file to a dispute using the\n[disputeEvidenceUpdate mutation](https://shopify.dev/api/admin-graphql/latest/mutations/disputeEvidenceUpdate).")] + DISPUTE_FILE_UPLOAD, + } + + public static class StagedUploadTargetGenerateUploadResourceStringValues + { + public const string COLLECTION_IMAGE = @"COLLECTION_IMAGE"; + public const string FILE = @"FILE"; + public const string IMAGE = @"IMAGE"; + public const string MODEL_3D = @"MODEL_3D"; + public const string PRODUCT_IMAGE = @"PRODUCT_IMAGE"; + public const string SHOP_IMAGE = @"SHOP_IMAGE"; + public const string VIDEO = @"VIDEO"; + public const string BULK_MUTATION_VARIABLES = @"BULK_MUTATION_VARIABLES"; + public const string RETURN_LABEL = @"RETURN_LABEL"; + public const string URL_REDIRECT_IMPORT = @"URL_REDIRECT_IMPORT"; + public const string DISPUTE_FILE_UPLOAD = @"DISPUTE_FILE_UPLOAD"; + } + /// ///Return type for `stagedUploadTargetsGenerate` mutation. /// - [Description("Return type for `stagedUploadTargetsGenerate` mutation.")] - public class StagedUploadTargetsGeneratePayload : GraphQLObject - { + [Description("Return type for `stagedUploadTargetsGenerate` mutation.")] + public class StagedUploadTargetsGeneratePayload : GraphQLObject + { /// ///The staged upload targets that were generated. /// - [Description("The staged upload targets that were generated.")] - public IEnumerable? urls { get; set; } - + [Description("The staged upload targets that were generated.")] + public IEnumerable? urls { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `stagedUploadsCreate` mutation. /// - [Description("Return type for `stagedUploadsCreate` mutation.")] - public class StagedUploadsCreatePayload : GraphQLObject - { + [Description("Return type for `stagedUploadsCreate` mutation.")] + public class StagedUploadsCreatePayload : GraphQLObject + { /// ///The staged upload targets that were generated. /// - [Description("The staged upload targets that were generated.")] - public IEnumerable? stagedTargets { get; set; } - + [Description("The staged upload targets that were generated.")] + public IEnumerable? stagedTargets { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for the access settings for the metafields under the standard definition. /// - [Description("The input fields for the access settings for the metafields under the standard definition.")] - public class StandardMetafieldDefinitionAccessInput : GraphQLObject - { + [Description("The input fields for the access settings for the metafields under the standard definition.")] + public class StandardMetafieldDefinitionAccessInput : GraphQLObject + { /// ///The Admin API access setting to use for the metafields under this definition. /// - [Description("The Admin API access setting to use for the metafields under this definition.")] - [EnumType(typeof(MetafieldAdminAccessInput))] - public string? admin { get; set; } - + [Description("The Admin API access setting to use for the metafields under this definition.")] + [EnumType(typeof(MetafieldAdminAccessInput))] + public string? admin { get; set; } + /// ///The Storefront API access setting to use for the metafields under this definition. /// - [Description("The Storefront API access setting to use for the metafields under this definition.")] - [EnumType(typeof(MetafieldStorefrontAccessInput))] - public string? storefront { get; set; } - + [Description("The Storefront API access setting to use for the metafields under this definition.")] + [EnumType(typeof(MetafieldStorefrontAccessInput))] + public string? storefront { get; set; } + /// ///The Customer Account API access setting to use for the metafields under this definition. /// - [Description("The Customer Account API access setting to use for the metafields under this definition.")] - [EnumType(typeof(MetafieldCustomerAccountAccessInput))] - public string? customerAccount { get; set; } - } - + [Description("The Customer Account API access setting to use for the metafields under this definition.")] + [EnumType(typeof(MetafieldCustomerAccountAccessInput))] + public string? customerAccount { get; set; } + } + /// ///Return type for `standardMetafieldDefinitionEnable` mutation. /// - [Description("Return type for `standardMetafieldDefinitionEnable` mutation.")] - public class StandardMetafieldDefinitionEnablePayload : GraphQLObject - { + [Description("Return type for `standardMetafieldDefinitionEnable` mutation.")] + public class StandardMetafieldDefinitionEnablePayload : GraphQLObject + { /// ///The metafield definition that was created. /// - [Description("The metafield definition that was created.")] - public MetafieldDefinition? createdDefinition { get; set; } - + [Description("The metafield definition that was created.")] + public MetafieldDefinition? createdDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `StandardMetafieldDefinitionEnable`. /// - [Description("An error that occurs during the execution of `StandardMetafieldDefinitionEnable`.")] - public class StandardMetafieldDefinitionEnableUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `StandardMetafieldDefinitionEnable`.")] + public class StandardMetafieldDefinitionEnableUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(StandardMetafieldDefinitionEnableUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(StandardMetafieldDefinitionEnableUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `StandardMetafieldDefinitionEnableUserError`. /// - [Description("Possible error codes that can be returned by `StandardMetafieldDefinitionEnableUserError`.")] - public enum StandardMetafieldDefinitionEnableUserErrorCode - { + [Description("Possible error codes that can be returned by `StandardMetafieldDefinitionEnableUserError`.")] + public enum StandardMetafieldDefinitionEnableUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The standard metafield definition template was not found. /// - [Description("The standard metafield definition template was not found.")] - TEMPLATE_NOT_FOUND, + [Description("The standard metafield definition template was not found.")] + TEMPLATE_NOT_FOUND, /// ///The maximum number of definitions per owner type has been exceeded. /// - [Description("The maximum number of definitions per owner type has been exceeded.")] - LIMIT_EXCEEDED, + [Description("The maximum number of definitions per owner type has been exceeded.")] + LIMIT_EXCEEDED, /// ///The namespace and key is already in use for a set of your metafields. /// - [Description("The namespace and key is already in use for a set of your metafields.")] - UNSTRUCTURED_ALREADY_EXISTS, + [Description("The namespace and key is already in use for a set of your metafields.")] + UNSTRUCTURED_ALREADY_EXISTS, /// ///The definition type is not eligible to be used as collection condition. /// - [Description("The definition type is not eligible to be used as collection condition.")] - TYPE_NOT_ALLOWED_FOR_CONDITIONS, + [Description("The definition type is not eligible to be used as collection condition.")] + TYPE_NOT_ALLOWED_FOR_CONDITIONS, /// ///The metafield definition capability is invalid. /// - [Description("The metafield definition capability is invalid.")] - INVALID_CAPABILITY, + [Description("The metafield definition capability is invalid.")] + INVALID_CAPABILITY, /// ///The metafield definition capability cannot be disabled. /// - [Description("The metafield definition capability cannot be disabled.")] - CAPABILITY_CANNOT_BE_DISABLED, + [Description("The metafield definition capability cannot be disabled.")] + CAPABILITY_CANNOT_BE_DISABLED, /// ///The metafield definition does not support pinning. /// - [Description("The metafield definition does not support pinning.")] - UNSUPPORTED_PINNING, + [Description("The metafield definition does not support pinning.")] + UNSUPPORTED_PINNING, /// ///Admin access can only be specified for app-owned metafield definitions. /// - [Description("Admin access can only be specified for app-owned metafield definitions.")] - ADMIN_ACCESS_INPUT_NOT_ALLOWED, + [Description("Admin access can only be specified for app-owned metafield definitions.")] + ADMIN_ACCESS_INPUT_NOT_ALLOWED, /// ///The input combination is invalid. /// - [Description("The input combination is invalid.")] - INVALID_INPUT_COMBINATION, - } - - public static class StandardMetafieldDefinitionEnableUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - public const string TEMPLATE_NOT_FOUND = @"TEMPLATE_NOT_FOUND"; - public const string LIMIT_EXCEEDED = @"LIMIT_EXCEEDED"; - public const string UNSTRUCTURED_ALREADY_EXISTS = @"UNSTRUCTURED_ALREADY_EXISTS"; - public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; - public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; - public const string CAPABILITY_CANNOT_BE_DISABLED = @"CAPABILITY_CANNOT_BE_DISABLED"; - public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; - public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; - public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; - } - + [Description("The input combination is invalid.")] + INVALID_INPUT_COMBINATION, + } + + public static class StandardMetafieldDefinitionEnableUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + public const string TEMPLATE_NOT_FOUND = @"TEMPLATE_NOT_FOUND"; + public const string LIMIT_EXCEEDED = @"LIMIT_EXCEEDED"; + public const string UNSTRUCTURED_ALREADY_EXISTS = @"UNSTRUCTURED_ALREADY_EXISTS"; + public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; + public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; + public const string CAPABILITY_CANNOT_BE_DISABLED = @"CAPABILITY_CANNOT_BE_DISABLED"; + public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; + public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; + public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; + } + /// ///Standard metafield definition templates provide preset configurations to create metafield definitions. ///Each template has a specific namespace and key that we've reserved to have specific meanings for common use cases. /// ///Refer to the [list of standard metafield definitions](https://shopify.dev/apps/metafields/definitions/standard-definitions). /// - [Description("Standard metafield definition templates provide preset configurations to create metafield definitions.\nEach template has a specific namespace and key that we've reserved to have specific meanings for common use cases.\n\nRefer to the [list of standard metafield definitions](https://shopify.dev/apps/metafields/definitions/standard-definitions).")] - public class StandardMetafieldDefinitionTemplate : GraphQLObject, INode - { + [Description("Standard metafield definition templates provide preset configurations to create metafield definitions.\nEach template has a specific namespace and key that we've reserved to have specific meanings for common use cases.\n\nRefer to the [list of standard metafield definitions](https://shopify.dev/apps/metafields/definitions/standard-definitions).")] + public class StandardMetafieldDefinitionTemplate : GraphQLObject, INode + { /// ///The description of the standard metafield definition. /// - [Description("The description of the standard metafield definition.")] - public string? description { get; set; } - + [Description("The description of the standard metafield definition.")] + public string? description { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The key owned by the definition after the definition has been activated. /// - [Description("The key owned by the definition after the definition has been activated.")] - [NonNull] - public string? key { get; set; } - + [Description("The key owned by the definition after the definition has been activated.")] + [NonNull] + public string? key { get; set; } + /// ///The human-readable name for the standard metafield definition. /// - [Description("The human-readable name for the standard metafield definition.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable name for the standard metafield definition.")] + [NonNull] + public string? name { get; set; } + /// ///The namespace owned by the definition after the definition has been activated. /// - [Description("The namespace owned by the definition after the definition has been activated.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace owned by the definition after the definition has been activated.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The list of resource types that the standard metafield definition can be applied to. /// - [Description("The list of resource types that the standard metafield definition can be applied to.")] - [NonNull] - public IEnumerable? ownerTypes { get; set; } - + [Description("The list of resource types that the standard metafield definition can be applied to.")] + [NonNull] + public IEnumerable? ownerTypes { get; set; } + /// ///The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores. /// - [Description("The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores.")] - [NonNull] - public MetafieldDefinitionType? type { get; set; } - + [Description("The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores.")] + [NonNull] + public MetafieldDefinitionType? type { get; set; } + /// ///The configured validations for the standard metafield definition. /// - [Description("The configured validations for the standard metafield definition.")] - [NonNull] - public IEnumerable? validations { get; set; } - + [Description("The configured validations for the standard metafield definition.")] + [NonNull] + public IEnumerable? validations { get; set; } + /// ///Whether metafields for the definition are by default visible using the Storefront API. /// - [Description("Whether metafields for the definition are by default visible using the Storefront API.")] - [NonNull] - public bool? visibleToStorefrontApi { get; set; } - } - + [Description("Whether metafields for the definition are by default visible using the Storefront API.")] + [NonNull] + public bool? visibleToStorefrontApi { get; set; } + } + /// ///An auto-generated type for paginating through multiple StandardMetafieldDefinitionTemplates. /// - [Description("An auto-generated type for paginating through multiple StandardMetafieldDefinitionTemplates.")] - public class StandardMetafieldDefinitionTemplateConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple StandardMetafieldDefinitionTemplates.")] + public class StandardMetafieldDefinitionTemplateConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in StandardMetafieldDefinitionTemplateEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in StandardMetafieldDefinitionTemplateEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in StandardMetafieldDefinitionTemplateEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one StandardMetafieldDefinitionTemplate and a cursor during pagination. /// - [Description("An auto-generated type which holds one StandardMetafieldDefinitionTemplate and a cursor during pagination.")] - public class StandardMetafieldDefinitionTemplateEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one StandardMetafieldDefinitionTemplate and a cursor during pagination.")] + public class StandardMetafieldDefinitionTemplateEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of StandardMetafieldDefinitionTemplateEdge. /// - [Description("The item at the end of StandardMetafieldDefinitionTemplateEdge.")] - [NonNull] - public StandardMetafieldDefinitionTemplate? node { get; set; } - } - + [Description("The item at the end of StandardMetafieldDefinitionTemplateEdge.")] + [NonNull] + public StandardMetafieldDefinitionTemplate? node { get; set; } + } + /// ///The input fields for enabling a standard metafield definition. /// - [Description("The input fields for enabling a standard metafield definition.")] - public class StandardMetafieldDefinitionsEnableInput : GraphQLObject - { + [Description("The input fields for enabling a standard metafield definition.")] + public class StandardMetafieldDefinitionsEnableInput : GraphQLObject + { /// ///The resource type that the metafield definition is scoped to. /// - [Description("The resource type that the metafield definition is scoped to.")] - [NonNull] - [EnumType(typeof(MetafieldOwnerType))] - public string? ownerType { get; set; } - + [Description("The resource type that the metafield definition is scoped to.")] + [NonNull] + [EnumType(typeof(MetafieldOwnerType))] + public string? ownerType { get; set; } + /// ///The namespace of the standard metafield to enable. Used in combination with `key`. /// - [Description("The namespace of the standard metafield to enable. Used in combination with `key`.")] - [NonNull] - public string? @namespace { get; set; } - + [Description("The namespace of the standard metafield to enable. Used in combination with `key`.")] + [NonNull] + public string? @namespace { get; set; } + /// ///The key of the standard metafield to enable. Used in combination with `namespace`. /// - [Description("The key of the standard metafield to enable. Used in combination with `namespace`.")] - [NonNull] - public string? key { get; set; } - + [Description("The key of the standard metafield to enable. Used in combination with `namespace`.")] + [NonNull] + public string? key { get; set; } + /// ///Whether to pin the metafield definition. /// - [Description("Whether to pin the metafield definition.")] - public bool? pin { get; set; } - + [Description("Whether to pin the metafield definition.")] + public bool? pin { get; set; } + /// ///Whether metafields for the definition are visible using the Storefront API. /// - [Description("Whether metafields for the definition are visible using the Storefront API.")] - [Obsolete("Use `access.storefront` instead.")] - public bool? visibleToStorefrontApi { get; set; } - + [Description("Whether metafields for the definition are visible using the Storefront API.")] + [Obsolete("Use `access.storefront` instead.")] + public bool? visibleToStorefrontApi { get; set; } + /// ///The access settings that apply to each of the metafields that belong to the metafield definition. /// - [Description("The access settings that apply to each of the metafields that belong to the metafield definition.")] - public StandardMetafieldDefinitionAccessInput? access { get; set; } - + [Description("The access settings that apply to each of the metafields that belong to the metafield definition.")] + public StandardMetafieldDefinitionAccessInput? access { get; set; } + /// ///The capabilities of the metafield definition. /// - [Description("The capabilities of the metafield definition.")] - public MetafieldCapabilityCreateInput? capabilities { get; set; } - } - + [Description("The capabilities of the metafield definition.")] + public MetafieldCapabilityCreateInput? capabilities { get; set; } + } + /// ///Return type for `standardMetafieldDefinitionsEnable` mutation. /// - [Description("Return type for `standardMetafieldDefinitionsEnable` mutation.")] - public class StandardMetafieldDefinitionsEnablePayload : GraphQLObject - { + [Description("Return type for `standardMetafieldDefinitionsEnable` mutation.")] + public class StandardMetafieldDefinitionsEnablePayload : GraphQLObject + { /// ///The list of definitions that were enabled. /// - [Description("The list of definitions that were enabled.")] - public IEnumerable? definitions { get; set; } - + [Description("The list of definitions that were enabled.")] + public IEnumerable? definitions { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `StandardMetafieldDefinitionsEnable`. /// - [Description("An error that occurs during the execution of `StandardMetafieldDefinitionsEnable`.")] - public class StandardMetafieldDefinitionsEnableUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `StandardMetafieldDefinitionsEnable`.")] + public class StandardMetafieldDefinitionsEnableUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(StandardMetafieldDefinitionsEnableUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(StandardMetafieldDefinitionsEnableUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `StandardMetafieldDefinitionsEnableUserError`. /// - [Description("Possible error codes that can be returned by `StandardMetafieldDefinitionsEnableUserError`.")] - public enum StandardMetafieldDefinitionsEnableUserErrorCode - { + [Description("Possible error codes that can be returned by `StandardMetafieldDefinitionsEnableUserError`.")] + public enum StandardMetafieldDefinitionsEnableUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///Too many standard definitions were provided. /// - [Description("Too many standard definitions were provided.")] - LESS_THAN_OR_EQUAL_TO, + [Description("Too many standard definitions were provided.")] + LESS_THAN_OR_EQUAL_TO, /// ///The standard metafield definition template was not found. /// - [Description("The standard metafield definition template was not found.")] - TEMPLATE_NOT_FOUND, + [Description("The standard metafield definition template was not found.")] + TEMPLATE_NOT_FOUND, /// ///The maximum number of definitions per owner type has been exceeded. /// - [Description("The maximum number of definitions per owner type has been exceeded.")] - LIMIT_EXCEEDED, + [Description("The maximum number of definitions per owner type has been exceeded.")] + LIMIT_EXCEEDED, /// ///The namespace and key is already in use for a set of your metafields. /// - [Description("The namespace and key is already in use for a set of your metafields.")] - UNSTRUCTURED_ALREADY_EXISTS, + [Description("The namespace and key is already in use for a set of your metafields.")] + UNSTRUCTURED_ALREADY_EXISTS, /// ///The input combination is invalid. /// - [Description("The input combination is invalid.")] - INVALID_INPUT_COMBINATION, + [Description("The input combination is invalid.")] + INVALID_INPUT_COMBINATION, /// ///The metafield definition does not support pinning. /// - [Description("The metafield definition does not support pinning.")] - UNSUPPORTED_PINNING, + [Description("The metafield definition does not support pinning.")] + UNSUPPORTED_PINNING, /// ///The metafield definition capability is invalid. /// - [Description("The metafield definition capability is invalid.")] - INVALID_CAPABILITY, + [Description("The metafield definition capability is invalid.")] + INVALID_CAPABILITY, /// ///The definition type is not eligible to be used as collection condition. /// - [Description("The definition type is not eligible to be used as collection condition.")] - TYPE_NOT_ALLOWED_FOR_CONDITIONS, + [Description("The definition type is not eligible to be used as collection condition.")] + TYPE_NOT_ALLOWED_FOR_CONDITIONS, /// ///Admin access can only be specified for app-owned metafield definitions. /// - [Description("Admin access can only be specified for app-owned metafield definitions.")] - ADMIN_ACCESS_INPUT_NOT_ALLOWED, - } - - public static class StandardMetafieldDefinitionsEnableUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string TAKEN = @"TAKEN"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - public const string TEMPLATE_NOT_FOUND = @"TEMPLATE_NOT_FOUND"; - public const string LIMIT_EXCEEDED = @"LIMIT_EXCEEDED"; - public const string UNSTRUCTURED_ALREADY_EXISTS = @"UNSTRUCTURED_ALREADY_EXISTS"; - public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; - public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; - public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; - public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; - public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; - } - + [Description("Admin access can only be specified for app-owned metafield definitions.")] + ADMIN_ACCESS_INPUT_NOT_ALLOWED, + } + + public static class StandardMetafieldDefinitionsEnableUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string TAKEN = @"TAKEN"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + public const string TEMPLATE_NOT_FOUND = @"TEMPLATE_NOT_FOUND"; + public const string LIMIT_EXCEEDED = @"LIMIT_EXCEEDED"; + public const string UNSTRUCTURED_ALREADY_EXISTS = @"UNSTRUCTURED_ALREADY_EXISTS"; + public const string INVALID_INPUT_COMBINATION = @"INVALID_INPUT_COMBINATION"; + public const string UNSUPPORTED_PINNING = @"UNSUPPORTED_PINNING"; + public const string INVALID_CAPABILITY = @"INVALID_CAPABILITY"; + public const string TYPE_NOT_ALLOWED_FOR_CONDITIONS = @"TYPE_NOT_ALLOWED_FOR_CONDITIONS"; + public const string ADMIN_ACCESS_INPUT_NOT_ALLOWED = @"ADMIN_ACCESS_INPUT_NOT_ALLOWED"; + } + /// ///Describes a capability that is enabled on a Metaobject Definition. /// - [Description("Describes a capability that is enabled on a Metaobject Definition.")] - public class StandardMetaobjectCapabilityTemplate : GraphQLObject - { + [Description("Describes a capability that is enabled on a Metaobject Definition.")] + public class StandardMetaobjectCapabilityTemplate : GraphQLObject + { /// ///The type of capability that's enabled for the metaobject definition. /// - [Description("The type of capability that's enabled for the metaobject definition.")] - [NonNull] - [EnumType(typeof(MetaobjectCapabilityType))] - public string? capabilityType { get; set; } - } - + [Description("The type of capability that's enabled for the metaobject definition.")] + [NonNull] + [EnumType(typeof(MetaobjectCapabilityType))] + public string? capabilityType { get; set; } + } + /// ///Return type for `standardMetaobjectDefinitionEnable` mutation. /// - [Description("Return type for `standardMetaobjectDefinitionEnable` mutation.")] - public class StandardMetaobjectDefinitionEnablePayload : GraphQLObject - { + [Description("Return type for `standardMetaobjectDefinitionEnable` mutation.")] + public class StandardMetaobjectDefinitionEnablePayload : GraphQLObject + { /// ///The metaobject definition that was enabled using the standard template. /// - [Description("The metaobject definition that was enabled using the standard template.")] - public MetaobjectDefinition? metaobjectDefinition { get; set; } - + [Description("The metaobject definition that was enabled using the standard template.")] + public MetaobjectDefinition? metaobjectDefinition { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A preset field definition on a standard metaobject definition template. /// - [Description("A preset field definition on a standard metaobject definition template.")] - public class StandardMetaobjectDefinitionFieldTemplate : GraphQLObject - { + [Description("A preset field definition on a standard metaobject definition template.")] + public class StandardMetaobjectDefinitionFieldTemplate : GraphQLObject + { /// ///The administrative description. /// - [Description("The administrative description.")] - public string? description { get; set; } - + [Description("The administrative description.")] + public string? description { get; set; } + /// ///The key owned by the definition after the definition has been enabled. /// - [Description("The key owned by the definition after the definition has been enabled.")] - [NonNull] - public string? key { get; set; } - + [Description("The key owned by the definition after the definition has been enabled.")] + [NonNull] + public string? key { get; set; } + /// ///The human-readable name. /// - [Description("The human-readable name.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable name.")] + [NonNull] + public string? name { get; set; } + /// ///The required status of the field within the object composition. /// - [Description("The required status of the field within the object composition.")] - [NonNull] - public bool? required { get; set; } - + [Description("The required status of the field within the object composition.")] + [NonNull] + public bool? required { get; set; } + /// ///The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores. /// - [Description("The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores.")] - [NonNull] - public MetafieldDefinitionType? type { get; set; } - + [Description("The associated [metafield definition type](https://shopify.dev/apps/metafields/definitions/types) that the metafield stores.")] + [NonNull] + public MetafieldDefinitionType? type { get; set; } + /// ///The configured validations for the standard metafield definition. /// - [Description("The configured validations for the standard metafield definition.")] - [NonNull] - public IEnumerable? validations { get; set; } - + [Description("The configured validations for the standard metafield definition.")] + [NonNull] + public IEnumerable? validations { get; set; } + /// ///Whether metafields for the definition are by default visible using the Storefront API. /// - [Description("Whether metafields for the definition are by default visible using the Storefront API.")] - [NonNull] - public bool? visibleToStorefrontApi { get; set; } - } - + [Description("Whether metafields for the definition are by default visible using the Storefront API.")] + [NonNull] + public bool? visibleToStorefrontApi { get; set; } + } + /// ///Standard metaobject definition templates provide preset configurations to create metaobject definitions. /// - [Description("Standard metaobject definition templates provide preset configurations to create metaobject definitions.")] - public class StandardMetaobjectDefinitionTemplate : GraphQLObject - { + [Description("Standard metaobject definition templates provide preset configurations to create metaobject definitions.")] + public class StandardMetaobjectDefinitionTemplate : GraphQLObject + { /// ///The administrative description. /// - [Description("The administrative description.")] - public string? description { get; set; } - + [Description("The administrative description.")] + public string? description { get; set; } + /// ///The key of a field to reference as the display name for each object. /// - [Description("The key of a field to reference as the display name for each object.")] - public string? displayNameKey { get; set; } - + [Description("The key of a field to reference as the display name for each object.")] + public string? displayNameKey { get; set; } + /// ///The capabilities of the metaobject definition. /// - [Description("The capabilities of the metaobject definition.")] - [NonNull] - public IEnumerable? enabledCapabilities { get; set; } - + [Description("The capabilities of the metaobject definition.")] + [NonNull] + public IEnumerable? enabledCapabilities { get; set; } + /// ///Templates for the associated field definitions. /// - [Description("Templates for the associated field definitions.")] - [NonNull] - public IEnumerable? fieldDefinitions { get; set; } - + [Description("Templates for the associated field definitions.")] + [NonNull] + public IEnumerable? fieldDefinitions { get; set; } + /// ///The human-readable name. /// - [Description("The human-readable name.")] - [NonNull] - public string? name { get; set; } - + [Description("The human-readable name.")] + [NonNull] + public string? name { get; set; } + /// ///The namespace owned by the definition after the definition has been enabled. /// - [Description("The namespace owned by the definition after the definition has been enabled.")] - [NonNull] - public string? type { get; set; } - } - + [Description("The namespace owned by the definition after the definition has been enabled.")] + [NonNull] + public string? type { get; set; } + } + /// ///Represents the details of a specific type of product within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17). /// - [Description("Represents the details of a specific type of product within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] - public class StandardizedProductType : GraphQLObject - { + [Description("Represents the details of a specific type of product within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] + public class StandardizedProductType : GraphQLObject + { /// ///The product taxonomy node associated with the standardized product type. /// - [Description("The product taxonomy node associated with the standardized product type.")] - public ProductTaxonomyNode? productTaxonomyNode { get; set; } - } - + [Description("The product taxonomy node associated with the standardized product type.")] + public ProductTaxonomyNode? productTaxonomyNode { get; set; } + } + /// ///The status of a Balance bank account. /// - [Description("The status of a Balance bank account.")] - public enum Status - { + [Description("The status of a Balance bank account.")] + public enum Status + { /// ///Active. /// - [Description("Active.")] - ACTIVE, + [Description("Active.")] + ACTIVE, /// ///Inactive. /// - [Description("Inactive.")] - INACTIVE, + [Description("Inactive.")] + INACTIVE, /// ///Closed. /// - [Description("Closed.")] - CLOSED, - } - - public static class StatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string INACTIVE = @"INACTIVE"; - public const string CLOSED = @"CLOSED"; - } - + [Description("Closed.")] + CLOSED, + } + + public static class StatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string INACTIVE = @"INACTIVE"; + public const string CLOSED = @"CLOSED"; + } + /// ///A store credit account contains a monetary balance that can be redeemed at checkout for purchases in the shop. ///The account is held in the specified currency and has an owner that cannot be transferred. /// ///The account balance is redeemable at checkout only when the owner is authenticated via [new customer accounts authentication](https://shopify.dev/docs/api/customer). /// - [Description("A store credit account contains a monetary balance that can be redeemed at checkout for purchases in the shop.\nThe account is held in the specified currency and has an owner that cannot be transferred.\n\nThe account balance is redeemable at checkout only when the owner is authenticated via [new customer accounts authentication](https://shopify.dev/docs/api/customer).")] - public class StoreCreditAccount : GraphQLObject, INode - { + [Description("A store credit account contains a monetary balance that can be redeemed at checkout for purchases in the shop.\nThe account is held in the specified currency and has an owner that cannot be transferred.\n\nThe account balance is redeemable at checkout only when the owner is authenticated via [new customer accounts authentication](https://shopify.dev/docs/api/customer).")] + public class StoreCreditAccount : GraphQLObject, INode + { /// ///The current balance of the store credit account. /// - [Description("The current balance of the store credit account.")] - [NonNull] - public MoneyV2? balance { get; set; } - + [Description("The current balance of the store credit account.")] + [NonNull] + public MoneyV2? balance { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The owner of the store credit account. /// - [Description("The owner of the store credit account.")] - [NonNull] - public IHasStoreCreditAccounts? owner { get; set; } - + [Description("The owner of the store credit account.")] + [NonNull] + public IHasStoreCreditAccounts? owner { get; set; } + /// ///The transaction history of the store credit account. /// - [Description("The transaction history of the store credit account.")] - [NonNull] - public StoreCreditAccountTransactionConnection? transactions { get; set; } - } - + [Description("The transaction history of the store credit account.")] + [NonNull] + public StoreCreditAccountTransactionConnection? transactions { get; set; } + } + /// ///An auto-generated type for paginating through multiple StoreCreditAccounts. /// - [Description("An auto-generated type for paginating through multiple StoreCreditAccounts.")] - public class StoreCreditAccountConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple StoreCreditAccounts.")] + public class StoreCreditAccountConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in StoreCreditAccountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in StoreCreditAccountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in StoreCreditAccountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields for a store credit account credit transaction. /// - [Description("The input fields for a store credit account credit transaction.")] - public class StoreCreditAccountCreditInput : GraphQLObject - { + [Description("The input fields for a store credit account credit transaction.")] + public class StoreCreditAccountCreditInput : GraphQLObject + { /// ///The amount to credit the store credit account. /// - [Description("The amount to credit the store credit account.")] - [NonNull] - public MoneyInput? creditAmount { get; set; } - + [Description("The amount to credit the store credit account.")] + [NonNull] + public MoneyInput? creditAmount { get; set; } + /// ///The date and time when the credit expires. /// - [Description("The date and time when the credit expires.")] - public DateTime? expiresAt { get; set; } - + [Description("The date and time when the credit expires.")] + public DateTime? expiresAt { get; set; } + /// ///Whether to send a notification to the account owner when the store credit is issued. ///Defaults to `false`. /// - [Description("Whether to send a notification to the account owner when the store credit is issued.\nDefaults to `false`.")] - public bool? notify { get; set; } - } - + [Description("Whether to send a notification to the account owner when the store credit is issued.\nDefaults to `false`.")] + public bool? notify { get; set; } + } + /// ///Return type for `storeCreditAccountCredit` mutation. /// - [Description("Return type for `storeCreditAccountCredit` mutation.")] - public class StoreCreditAccountCreditPayload : GraphQLObject - { + [Description("Return type for `storeCreditAccountCredit` mutation.")] + public class StoreCreditAccountCreditPayload : GraphQLObject + { /// ///The store credit account transaction that was created. /// - [Description("The store credit account transaction that was created.")] - public StoreCreditAccountCreditTransaction? storeCreditAccountTransaction { get; set; } - + [Description("The store credit account transaction that was created.")] + public StoreCreditAccountCreditTransaction? storeCreditAccountTransaction { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A credit transaction which increases the store credit account balance. /// - [Description("A credit transaction which increases the store credit account balance.")] - public class StoreCreditAccountCreditTransaction : GraphQLObject, INode, IStoreCreditAccountTransaction - { + [Description("A credit transaction which increases the store credit account balance.")] + public class StoreCreditAccountCreditTransaction : GraphQLObject, INode, IStoreCreditAccountTransaction + { /// ///The store credit account that the transaction belongs to. /// - [Description("The store credit account that the transaction belongs to.")] - [NonNull] - public StoreCreditAccount? account { get; set; } - + [Description("The store credit account that the transaction belongs to.")] + [NonNull] + public StoreCreditAccount? account { get; set; } + /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The balance of the account after the transaction. /// - [Description("The balance of the account after the transaction.")] - [NonNull] - public MoneyV2? balanceAfterTransaction { get; set; } - + [Description("The balance of the account after the transaction.")] + [NonNull] + public MoneyV2? balanceAfterTransaction { get; set; } + /// ///The date and time when the transaction was created. /// - [Description("The date and time when the transaction was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the transaction was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The event that caused the store credit account transaction. /// - [Description("The event that caused the store credit account transaction.")] - [NonNull] - [EnumType(typeof(StoreCreditSystemEvent))] - public string? @event { get; set; } - + [Description("The event that caused the store credit account transaction.")] + [NonNull] + [EnumType(typeof(StoreCreditSystemEvent))] + public string? @event { get; set; } + /// ///The time at which the transaction expires. ///Debit transactions will always spend the soonest expiring credit first. /// - [Description("The time at which the transaction expires.\nDebit transactions will always spend the soonest expiring credit first.")] - public DateTime? expiresAt { get; set; } - + [Description("The time at which the transaction expires.\nDebit transactions will always spend the soonest expiring credit first.")] + public DateTime? expiresAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The origin of the store credit account transaction. /// - [Description("The origin of the store credit account transaction.")] - public IStoreCreditAccountTransactionOrigin? origin { get; set; } - + [Description("The origin of the store credit account transaction.")] + public IStoreCreditAccountTransactionOrigin? origin { get; set; } + /// ///The remaining amount of the credit. ///The remaining amount will decrease when a debit spends this credit. It may also increase if that debit is subsequently reverted. ///In the event that the credit expires, the remaining amount will represent the amount that remained as the expiry ocurred. /// - [Description("The remaining amount of the credit.\nThe remaining amount will decrease when a debit spends this credit. It may also increase if that debit is subsequently reverted.\nIn the event that the credit expires, the remaining amount will represent the amount that remained as the expiry ocurred.")] - [NonNull] - public MoneyV2? remainingAmount { get; set; } - } - + [Description("The remaining amount of the credit.\nThe remaining amount will decrease when a debit spends this credit. It may also increase if that debit is subsequently reverted.\nIn the event that the credit expires, the remaining amount will represent the amount that remained as the expiry ocurred.")] + [NonNull] + public MoneyV2? remainingAmount { get; set; } + } + /// ///An error that occurs during the execution of `StoreCreditAccountCredit`. /// - [Description("An error that occurs during the execution of `StoreCreditAccountCredit`.")] - public class StoreCreditAccountCreditUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `StoreCreditAccountCredit`.")] + public class StoreCreditAccountCreditUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(StoreCreditAccountCreditUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(StoreCreditAccountCreditUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `StoreCreditAccountCreditUserError`. /// - [Description("Possible error codes that can be returned by `StoreCreditAccountCreditUserError`.")] - public enum StoreCreditAccountCreditUserErrorCode - { + [Description("Possible error codes that can be returned by `StoreCreditAccountCreditUserError`.")] + public enum StoreCreditAccountCreditUserErrorCode + { /// ///The store credit account could not be found. /// - [Description("The store credit account could not be found.")] - ACCOUNT_NOT_FOUND, + [Description("The store credit account could not be found.")] + ACCOUNT_NOT_FOUND, /// ///Owner does not exist. /// - [Description("Owner does not exist.")] - OWNER_NOT_FOUND, + [Description("Owner does not exist.")] + OWNER_NOT_FOUND, /// ///A positive amount must be used to credit a store credit account. /// - [Description("A positive amount must be used to credit a store credit account.")] - NEGATIVE_OR_ZERO_AMOUNT, + [Description("A positive amount must be used to credit a store credit account.")] + NEGATIVE_OR_ZERO_AMOUNT, /// ///The currency provided does not match the currency of the store credit account. /// - [Description("The currency provided does not match the currency of the store credit account.")] - MISMATCHING_CURRENCY, + [Description("The currency provided does not match the currency of the store credit account.")] + MISMATCHING_CURRENCY, /// ///The expiry date must be in the future. /// - [Description("The expiry date must be in the future.")] - EXPIRES_AT_IN_PAST, + [Description("The expiry date must be in the future.")] + EXPIRES_AT_IN_PAST, /// ///The operation would cause the account's credit limit to be exceeded. /// - [Description("The operation would cause the account's credit limit to be exceeded.")] - CREDIT_LIMIT_EXCEEDED, + [Description("The operation would cause the account's credit limit to be exceeded.")] + CREDIT_LIMIT_EXCEEDED, /// ///The currency provided is not currently supported. /// - [Description("The currency provided is not currently supported.")] - UNSUPPORTED_CURRENCY, - } - - public static class StoreCreditAccountCreditUserErrorCodeStringValues - { - public const string ACCOUNT_NOT_FOUND = @"ACCOUNT_NOT_FOUND"; - public const string OWNER_NOT_FOUND = @"OWNER_NOT_FOUND"; - public const string NEGATIVE_OR_ZERO_AMOUNT = @"NEGATIVE_OR_ZERO_AMOUNT"; - public const string MISMATCHING_CURRENCY = @"MISMATCHING_CURRENCY"; - public const string EXPIRES_AT_IN_PAST = @"EXPIRES_AT_IN_PAST"; - public const string CREDIT_LIMIT_EXCEEDED = @"CREDIT_LIMIT_EXCEEDED"; - public const string UNSUPPORTED_CURRENCY = @"UNSUPPORTED_CURRENCY"; - } - + [Description("The currency provided is not currently supported.")] + UNSUPPORTED_CURRENCY, + } + + public static class StoreCreditAccountCreditUserErrorCodeStringValues + { + public const string ACCOUNT_NOT_FOUND = @"ACCOUNT_NOT_FOUND"; + public const string OWNER_NOT_FOUND = @"OWNER_NOT_FOUND"; + public const string NEGATIVE_OR_ZERO_AMOUNT = @"NEGATIVE_OR_ZERO_AMOUNT"; + public const string MISMATCHING_CURRENCY = @"MISMATCHING_CURRENCY"; + public const string EXPIRES_AT_IN_PAST = @"EXPIRES_AT_IN_PAST"; + public const string CREDIT_LIMIT_EXCEEDED = @"CREDIT_LIMIT_EXCEEDED"; + public const string UNSUPPORTED_CURRENCY = @"UNSUPPORTED_CURRENCY"; + } + /// ///The input fields for a store credit account debit transaction. /// - [Description("The input fields for a store credit account debit transaction.")] - public class StoreCreditAccountDebitInput : GraphQLObject - { + [Description("The input fields for a store credit account debit transaction.")] + public class StoreCreditAccountDebitInput : GraphQLObject + { /// ///The amount to debit the store credit account. /// - [Description("The amount to debit the store credit account.")] - [NonNull] - public MoneyInput? debitAmount { get; set; } - } - + [Description("The amount to debit the store credit account.")] + [NonNull] + public MoneyInput? debitAmount { get; set; } + } + /// ///Return type for `storeCreditAccountDebit` mutation. /// - [Description("Return type for `storeCreditAccountDebit` mutation.")] - public class StoreCreditAccountDebitPayload : GraphQLObject - { + [Description("Return type for `storeCreditAccountDebit` mutation.")] + public class StoreCreditAccountDebitPayload : GraphQLObject + { /// ///The store credit account transaction that was created. /// - [Description("The store credit account transaction that was created.")] - public StoreCreditAccountDebitTransaction? storeCreditAccountTransaction { get; set; } - + [Description("The store credit account transaction that was created.")] + public StoreCreditAccountDebitTransaction? storeCreditAccountTransaction { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///A debit revert transaction which increases the store credit account balance. ///Debit revert transactions are created automatically when a [store credit account debit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountDebitTransaction) is reverted. @@ -121085,719 +121085,719 @@ public class StoreCreditAccountDebitPayload : GraphQLObject - [Description("A debit revert transaction which increases the store credit account balance.\nDebit revert transactions are created automatically when a [store credit account debit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountDebitTransaction) is reverted.\n\nStore credit account debit transactions are reverted when an order is cancelled, refunded or in the event of a payment failure at checkout.\nThe amount added to the balance is equal to the amount reverted on the original credit.")] - public class StoreCreditAccountDebitRevertTransaction : GraphQLObject, INode, IStoreCreditAccountTransaction - { + [Description("A debit revert transaction which increases the store credit account balance.\nDebit revert transactions are created automatically when a [store credit account debit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountDebitTransaction) is reverted.\n\nStore credit account debit transactions are reverted when an order is cancelled, refunded or in the event of a payment failure at checkout.\nThe amount added to the balance is equal to the amount reverted on the original credit.")] + public class StoreCreditAccountDebitRevertTransaction : GraphQLObject, INode, IStoreCreditAccountTransaction + { /// ///The store credit account that the transaction belongs to. /// - [Description("The store credit account that the transaction belongs to.")] - [NonNull] - public StoreCreditAccount? account { get; set; } - + [Description("The store credit account that the transaction belongs to.")] + [NonNull] + public StoreCreditAccount? account { get; set; } + /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The balance of the account after the transaction. /// - [Description("The balance of the account after the transaction.")] - [NonNull] - public MoneyV2? balanceAfterTransaction { get; set; } - + [Description("The balance of the account after the transaction.")] + [NonNull] + public MoneyV2? balanceAfterTransaction { get; set; } + /// ///The date and time when the transaction was created. /// - [Description("The date and time when the transaction was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the transaction was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The reverted debit transaction. /// - [Description("The reverted debit transaction.")] - [NonNull] - public StoreCreditAccountDebitTransaction? debitTransaction { get; set; } - + [Description("The reverted debit transaction.")] + [NonNull] + public StoreCreditAccountDebitTransaction? debitTransaction { get; set; } + /// ///The event that caused the store credit account transaction. /// - [Description("The event that caused the store credit account transaction.")] - [NonNull] - [EnumType(typeof(StoreCreditSystemEvent))] - public string? @event { get; set; } - + [Description("The event that caused the store credit account transaction.")] + [NonNull] + [EnumType(typeof(StoreCreditSystemEvent))] + public string? @event { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The origin of the store credit account transaction. /// - [Description("The origin of the store credit account transaction.")] - public IStoreCreditAccountTransactionOrigin? origin { get; set; } - } - + [Description("The origin of the store credit account transaction.")] + public IStoreCreditAccountTransactionOrigin? origin { get; set; } + } + /// ///A debit transaction which decreases the store credit account balance. /// - [Description("A debit transaction which decreases the store credit account balance.")] - public class StoreCreditAccountDebitTransaction : GraphQLObject, INode, IStoreCreditAccountTransaction - { + [Description("A debit transaction which decreases the store credit account balance.")] + public class StoreCreditAccountDebitTransaction : GraphQLObject, INode, IStoreCreditAccountTransaction + { /// ///The store credit account that the transaction belongs to. /// - [Description("The store credit account that the transaction belongs to.")] - [NonNull] - public StoreCreditAccount? account { get; set; } - + [Description("The store credit account that the transaction belongs to.")] + [NonNull] + public StoreCreditAccount? account { get; set; } + /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The balance of the account after the transaction. /// - [Description("The balance of the account after the transaction.")] - [NonNull] - public MoneyV2? balanceAfterTransaction { get; set; } - + [Description("The balance of the account after the transaction.")] + [NonNull] + public MoneyV2? balanceAfterTransaction { get; set; } + /// ///The date and time when the transaction was created. /// - [Description("The date and time when the transaction was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the transaction was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The event that caused the store credit account transaction. /// - [Description("The event that caused the store credit account transaction.")] - [NonNull] - [EnumType(typeof(StoreCreditSystemEvent))] - public string? @event { get; set; } - + [Description("The event that caused the store credit account transaction.")] + [NonNull] + [EnumType(typeof(StoreCreditSystemEvent))] + public string? @event { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The origin of the store credit account transaction. /// - [Description("The origin of the store credit account transaction.")] - public IStoreCreditAccountTransactionOrigin? origin { get; set; } - } - + [Description("The origin of the store credit account transaction.")] + public IStoreCreditAccountTransactionOrigin? origin { get; set; } + } + /// ///An error that occurs during the execution of `StoreCreditAccountDebit`. /// - [Description("An error that occurs during the execution of `StoreCreditAccountDebit`.")] - public class StoreCreditAccountDebitUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `StoreCreditAccountDebit`.")] + public class StoreCreditAccountDebitUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(StoreCreditAccountDebitUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(StoreCreditAccountDebitUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `StoreCreditAccountDebitUserError`. /// - [Description("Possible error codes that can be returned by `StoreCreditAccountDebitUserError`.")] - public enum StoreCreditAccountDebitUserErrorCode - { + [Description("Possible error codes that can be returned by `StoreCreditAccountDebitUserError`.")] + public enum StoreCreditAccountDebitUserErrorCode + { /// ///The store credit account could not be found. /// - [Description("The store credit account could not be found.")] - ACCOUNT_NOT_FOUND, + [Description("The store credit account could not be found.")] + ACCOUNT_NOT_FOUND, /// ///A positive amount must be used to debit a store credit account. /// - [Description("A positive amount must be used to debit a store credit account.")] - NEGATIVE_OR_ZERO_AMOUNT, + [Description("A positive amount must be used to debit a store credit account.")] + NEGATIVE_OR_ZERO_AMOUNT, /// ///The store credit account does not have sufficient funds to satisfy the request. /// - [Description("The store credit account does not have sufficient funds to satisfy the request.")] - INSUFFICIENT_FUNDS, + [Description("The store credit account does not have sufficient funds to satisfy the request.")] + INSUFFICIENT_FUNDS, /// ///The currency provided does not match the currency of the store credit account. /// - [Description("The currency provided does not match the currency of the store credit account.")] - MISMATCHING_CURRENCY, - } - - public static class StoreCreditAccountDebitUserErrorCodeStringValues - { - public const string ACCOUNT_NOT_FOUND = @"ACCOUNT_NOT_FOUND"; - public const string NEGATIVE_OR_ZERO_AMOUNT = @"NEGATIVE_OR_ZERO_AMOUNT"; - public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; - public const string MISMATCHING_CURRENCY = @"MISMATCHING_CURRENCY"; - } - + [Description("The currency provided does not match the currency of the store credit account.")] + MISMATCHING_CURRENCY, + } + + public static class StoreCreditAccountDebitUserErrorCodeStringValues + { + public const string ACCOUNT_NOT_FOUND = @"ACCOUNT_NOT_FOUND"; + public const string NEGATIVE_OR_ZERO_AMOUNT = @"NEGATIVE_OR_ZERO_AMOUNT"; + public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; + public const string MISMATCHING_CURRENCY = @"MISMATCHING_CURRENCY"; + } + /// ///An auto-generated type which holds one StoreCreditAccount and a cursor during pagination. /// - [Description("An auto-generated type which holds one StoreCreditAccount and a cursor during pagination.")] - public class StoreCreditAccountEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one StoreCreditAccount and a cursor during pagination.")] + public class StoreCreditAccountEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of StoreCreditAccountEdge. /// - [Description("The item at the end of StoreCreditAccountEdge.")] - [NonNull] - public StoreCreditAccount? node { get; set; } - } - + [Description("The item at the end of StoreCreditAccountEdge.")] + [NonNull] + public StoreCreditAccount? node { get; set; } + } + /// ///An expiration transaction which decreases the store credit account balance. ///Expiration transactions are created automatically when a [store credit account credit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountCreditTransaction) expires. /// ///The amount subtracted from the balance is equal to the remaining amount of the credit transaction. /// - [Description("An expiration transaction which decreases the store credit account balance.\nExpiration transactions are created automatically when a [store credit account credit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountCreditTransaction) expires.\n\nThe amount subtracted from the balance is equal to the remaining amount of the credit transaction.")] - public class StoreCreditAccountExpirationTransaction : GraphQLObject, IStoreCreditAccountTransaction - { + [Description("An expiration transaction which decreases the store credit account balance.\nExpiration transactions are created automatically when a [store credit account credit transaction](https://shopify.dev/api/admin-graphql/latest/objects/StoreCreditAccountCreditTransaction) expires.\n\nThe amount subtracted from the balance is equal to the remaining amount of the credit transaction.")] + public class StoreCreditAccountExpirationTransaction : GraphQLObject, IStoreCreditAccountTransaction + { /// ///The store credit account that the transaction belongs to. /// - [Description("The store credit account that the transaction belongs to.")] - [NonNull] - public StoreCreditAccount? account { get; set; } - + [Description("The store credit account that the transaction belongs to.")] + [NonNull] + public StoreCreditAccount? account { get; set; } + /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///The balance of the account after the transaction. /// - [Description("The balance of the account after the transaction.")] - [NonNull] - public MoneyV2? balanceAfterTransaction { get; set; } - + [Description("The balance of the account after the transaction.")] + [NonNull] + public MoneyV2? balanceAfterTransaction { get; set; } + /// ///The date and time when the transaction was created. /// - [Description("The date and time when the transaction was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the transaction was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The credit transaction which expired. /// - [Description("The credit transaction which expired.")] - [NonNull] - public StoreCreditAccountCreditTransaction? creditTransaction { get; set; } - + [Description("The credit transaction which expired.")] + [NonNull] + public StoreCreditAccountCreditTransaction? creditTransaction { get; set; } + /// ///The event that caused the store credit account transaction. /// - [Description("The event that caused the store credit account transaction.")] - [NonNull] - [EnumType(typeof(StoreCreditSystemEvent))] - public string? @event { get; set; } - + [Description("The event that caused the store credit account transaction.")] + [NonNull] + [EnumType(typeof(StoreCreditSystemEvent))] + public string? @event { get; set; } + /// ///The origin of the store credit account transaction. /// - [Description("The origin of the store credit account transaction.")] - public IStoreCreditAccountTransactionOrigin? origin { get; set; } - } - + [Description("The origin of the store credit account transaction.")] + public IStoreCreditAccountTransactionOrigin? origin { get; set; } + } + /// ///Interface for a store credit account transaction. /// - [Description("Interface for a store credit account transaction.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(StoreCreditAccountCreditTransaction), typeDiscriminator: "StoreCreditAccountCreditTransaction")] - [JsonDerivedType(typeof(StoreCreditAccountDebitRevertTransaction), typeDiscriminator: "StoreCreditAccountDebitRevertTransaction")] - [JsonDerivedType(typeof(StoreCreditAccountDebitTransaction), typeDiscriminator: "StoreCreditAccountDebitTransaction")] - [JsonDerivedType(typeof(StoreCreditAccountExpirationTransaction), typeDiscriminator: "StoreCreditAccountExpirationTransaction")] - public interface IStoreCreditAccountTransaction : IGraphQLObject - { - public StoreCreditAccountCreditTransaction? AsStoreCreditAccountCreditTransaction() => this as StoreCreditAccountCreditTransaction; - public StoreCreditAccountDebitRevertTransaction? AsStoreCreditAccountDebitRevertTransaction() => this as StoreCreditAccountDebitRevertTransaction; - public StoreCreditAccountDebitTransaction? AsStoreCreditAccountDebitTransaction() => this as StoreCreditAccountDebitTransaction; - public StoreCreditAccountExpirationTransaction? AsStoreCreditAccountExpirationTransaction() => this as StoreCreditAccountExpirationTransaction; + [Description("Interface for a store credit account transaction.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(StoreCreditAccountCreditTransaction), typeDiscriminator: "StoreCreditAccountCreditTransaction")] + [JsonDerivedType(typeof(StoreCreditAccountDebitRevertTransaction), typeDiscriminator: "StoreCreditAccountDebitRevertTransaction")] + [JsonDerivedType(typeof(StoreCreditAccountDebitTransaction), typeDiscriminator: "StoreCreditAccountDebitTransaction")] + [JsonDerivedType(typeof(StoreCreditAccountExpirationTransaction), typeDiscriminator: "StoreCreditAccountExpirationTransaction")] + public interface IStoreCreditAccountTransaction : IGraphQLObject + { + public StoreCreditAccountCreditTransaction? AsStoreCreditAccountCreditTransaction() => this as StoreCreditAccountCreditTransaction; + public StoreCreditAccountDebitRevertTransaction? AsStoreCreditAccountDebitRevertTransaction() => this as StoreCreditAccountDebitRevertTransaction; + public StoreCreditAccountDebitTransaction? AsStoreCreditAccountDebitTransaction() => this as StoreCreditAccountDebitTransaction; + public StoreCreditAccountExpirationTransaction? AsStoreCreditAccountExpirationTransaction() => this as StoreCreditAccountExpirationTransaction; /// ///The store credit account that the transaction belongs to. /// - [Description("The store credit account that the transaction belongs to.")] - [NonNull] - public StoreCreditAccount? account { get; } - + [Description("The store credit account that the transaction belongs to.")] + [NonNull] + public StoreCreditAccount? account { get; } + /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [NonNull] - public MoneyV2? amount { get; } - + [Description("The amount of the transaction.")] + [NonNull] + public MoneyV2? amount { get; } + /// ///The balance of the account after the transaction. /// - [Description("The balance of the account after the transaction.")] - [NonNull] - public MoneyV2? balanceAfterTransaction { get; } - + [Description("The balance of the account after the transaction.")] + [NonNull] + public MoneyV2? balanceAfterTransaction { get; } + /// ///The date and time when the transaction was created. /// - [Description("The date and time when the transaction was created.")] - [NonNull] - public DateTime? createdAt { get; } - + [Description("The date and time when the transaction was created.")] + [NonNull] + public DateTime? createdAt { get; } + /// ///The event that caused the store credit account transaction. /// - [Description("The event that caused the store credit account transaction.")] - [NonNull] - [EnumType(typeof(StoreCreditSystemEvent))] - public string? @event { get; } - + [Description("The event that caused the store credit account transaction.")] + [NonNull] + [EnumType(typeof(StoreCreditSystemEvent))] + public string? @event { get; } + /// ///The origin of the store credit account transaction. /// - [Description("The origin of the store credit account transaction.")] - public IStoreCreditAccountTransactionOrigin? origin { get; } - } - + [Description("The origin of the store credit account transaction.")] + public IStoreCreditAccountTransactionOrigin? origin { get; } + } + /// ///An auto-generated type for paginating through multiple StoreCreditAccountTransactions. /// - [Description("An auto-generated type for paginating through multiple StoreCreditAccountTransactions.")] - public class StoreCreditAccountTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple StoreCreditAccountTransactions.")] + public class StoreCreditAccountTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in StoreCreditAccountTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in StoreCreditAccountTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in StoreCreditAccountTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one StoreCreditAccountTransaction and a cursor during pagination. /// - [Description("An auto-generated type which holds one StoreCreditAccountTransaction and a cursor during pagination.")] - public class StoreCreditAccountTransactionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one StoreCreditAccountTransaction and a cursor during pagination.")] + public class StoreCreditAccountTransactionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of StoreCreditAccountTransactionEdge. /// - [Description("The item at the end of StoreCreditAccountTransactionEdge.")] - [NonNull] - public IStoreCreditAccountTransaction? node { get; set; } - } - + [Description("The item at the end of StoreCreditAccountTransactionEdge.")] + [NonNull] + public IStoreCreditAccountTransaction? node { get; set; } + } + /// ///The origin of a store credit account transaction. /// - [Description("The origin of a store credit account transaction.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(OrderTransaction), typeDiscriminator: "OrderTransaction")] - public interface IStoreCreditAccountTransactionOrigin : IGraphQLObject - { - public OrderTransaction? AsOrderTransaction() => this as OrderTransaction; + [Description("The origin of a store credit account transaction.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(OrderTransaction), typeDiscriminator: "OrderTransaction")] + public interface IStoreCreditAccountTransactionOrigin : IGraphQLObject + { + public OrderTransaction? AsOrderTransaction() => this as OrderTransaction; /// ///The masked account number associated with the payment method. /// - [Description("The masked account number associated with the payment method.")] - public string? accountNumber { get; set; } - + [Description("The masked account number associated with the payment method.")] + public string? accountNumber { get; set; } + /// ///The amount of money. /// - [Description("The amount of money.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("The amount of money.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The rounding adjustment applied on the cash amount in shop and presentment currencies. /// - [Description("The rounding adjustment applied on the cash amount in shop and presentment currencies.")] - public MoneyBag? amountRoundingSet { get; set; } - + [Description("The rounding adjustment applied on the cash amount in shop and presentment currencies.")] + public MoneyBag? amountRoundingSet { get; set; } + /// ///The amount and currency of the transaction in shop and presentment currencies. /// - [Description("The amount and currency of the transaction in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount and currency of the transaction in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The amount and currency of the transaction. /// - [Description("The amount and currency of the transaction.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public MoneyV2? amountV2 { get; set; } - + [Description("The amount and currency of the transaction.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public MoneyV2? amountV2 { get; set; } + /// ///Authorization code associated with the transaction. /// - [Description("Authorization code associated with the transaction.")] - public string? authorizationCode { get; set; } - + [Description("Authorization code associated with the transaction.")] + public string? authorizationCode { get; set; } + /// ///The time when the authorization expires. This field is available only to stores on a Shopify Plus plan. /// - [Description("The time when the authorization expires. This field is available only to stores on a Shopify Plus plan.")] - public DateTime? authorizationExpiresAt { get; set; } - + [Description("The time when the authorization expires. This field is available only to stores on a Shopify Plus plan.")] + public DateTime? authorizationExpiresAt { get; set; } + /// ///Date and time when the transaction was created. /// - [Description("Date and time when the transaction was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("Date and time when the transaction was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///An adjustment on the transaction showing the amount lost or gained due to fluctuations in the currency exchange rate. /// - [Description("An adjustment on the transaction showing the amount lost or gained due to fluctuations in the currency exchange rate.")] - public CurrencyExchangeAdjustment? currencyExchangeAdjustment { get; set; } - + [Description("An adjustment on the transaction showing the amount lost or gained due to fluctuations in the currency exchange rate.")] + public CurrencyExchangeAdjustment? currencyExchangeAdjustment { get; set; } + /// ///The Shopify Point of Sale device used to process the transaction. /// - [Description("The Shopify Point of Sale device used to process the transaction.")] - public PointOfSaleDevice? device { get; set; } - + [Description("The Shopify Point of Sale device used to process the transaction.")] + public PointOfSaleDevice? device { get; set; } + /// ///A standardized error code, independent of the payment provider. /// - [Description("A standardized error code, independent of the payment provider.")] - [EnumType(typeof(OrderTransactionErrorCode))] - public string? errorCode { get; set; } - + [Description("A standardized error code, independent of the payment provider.")] + [EnumType(typeof(OrderTransactionErrorCode))] + public string? errorCode { get; set; } + /// ///The transaction fees charged on the order transaction. Only present for Shopify Payments transactions. /// - [Description("The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.")] - [NonNull] - public IEnumerable? fees { get; set; } - + [Description("The transaction fees charged on the order transaction. Only present for Shopify Payments transactions.")] + [NonNull] + public IEnumerable? fees { get; set; } + /// ///The human-readable payment gateway name used to process the transaction. /// - [Description("The human-readable payment gateway name used to process the transaction.")] - public string? formattedGateway { get; set; } - + [Description("The human-readable payment gateway name used to process the transaction.")] + public string? formattedGateway { get; set; } + /// ///The payment gateway used to process the transaction. /// - [Description("The payment gateway used to process the transaction.")] - public string? gateway { get; set; } - + [Description("The payment gateway used to process the transaction.")] + public string? gateway { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The kind of transaction. /// - [Description("The kind of transaction.")] - [NonNull] - [EnumType(typeof(OrderTransactionKind))] - public string? kind { get; set; } - + [Description("The kind of transaction.")] + [NonNull] + [EnumType(typeof(OrderTransactionKind))] + public string? kind { get; set; } + /// ///The physical location where the transaction was processed. /// - [Description("The physical location where the transaction was processed.")] - public Location? location { get; set; } - + [Description("The physical location where the transaction was processed.")] + public Location? location { get; set; } + /// ///Whether the transaction is processed by manual payment gateway. /// - [Description("Whether the transaction is processed by manual payment gateway.")] - [NonNull] - public bool? manualPaymentGateway { get; set; } - + [Description("Whether the transaction is processed by manual payment gateway.")] + [NonNull] + public bool? manualPaymentGateway { get; set; } + /// ///Whether the transaction can be manually captured. /// - [Description("Whether the transaction can be manually captured.")] - [NonNull] - public bool? manuallyCapturable { get; set; } - + [Description("Whether the transaction can be manually captured.")] + [NonNull] + public bool? manuallyCapturable { get; set; } + /// ///Specifies the available amount to refund on the gateway. ///This value is only available for transactions of type `SuggestedRefund`. /// - [Description("Specifies the available amount to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] - [Obsolete("Use `maximumRefundableV2` instead.")] - public decimal? maximumRefundable { get; set; } - + [Description("Specifies the available amount to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] + [Obsolete("Use `maximumRefundableV2` instead.")] + public decimal? maximumRefundable { get; set; } + /// ///Specifies the available amount with currency to refund on the gateway. ///This value is only available for transactions of type `SuggestedRefund`. /// - [Description("Specifies the available amount with currency to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] - public MoneyV2? maximumRefundableV2 { get; set; } - + [Description("Specifies the available amount with currency to refund on the gateway.\nThis value is only available for transactions of type `SuggestedRefund`.")] + public MoneyV2? maximumRefundableV2 { get; set; } + /// ///Whether the transaction can be captured multiple times. /// - [Description("Whether the transaction can be captured multiple times.")] - [NonNull] - public bool? multiCapturable { get; set; } - + [Description("Whether the transaction can be captured multiple times.")] + [NonNull] + public bool? multiCapturable { get; set; } + /// ///The associated order. /// - [Description("The associated order.")] - public Order? order { get; set; } - + [Description("The associated order.")] + public Order? order { get; set; } + /// ///The associated parent transaction, for example the authorization of a capture. /// - [Description("The associated parent transaction, for example the authorization of a capture.")] - public OrderTransaction? parentTransaction { get; set; } - + [Description("The associated parent transaction, for example the authorization of a capture.")] + public OrderTransaction? parentTransaction { get; set; } + /// ///The payment details for the transaction. /// - [Description("The payment details for the transaction.")] - public IPaymentDetails? paymentDetails { get; set; } - + [Description("The payment details for the transaction.")] + public IPaymentDetails? paymentDetails { get; set; } + /// ///The payment icon to display for the transaction. /// - [Description("The payment icon to display for the transaction.")] - public Image? paymentIcon { get; set; } - + [Description("The payment icon to display for the transaction.")] + public Image? paymentIcon { get; set; } + /// ///The payment ID associated with the transaction. /// - [Description("The payment ID associated with the transaction.")] - public string? paymentId { get; set; } - + [Description("The payment ID associated with the transaction.")] + public string? paymentId { get; set; } + /// ///The payment method used for the transaction. This value is `null` if the payment method is unknown. /// - [Description("The payment method used for the transaction. This value is `null` if the payment method is unknown.")] - [Obsolete("Use `paymentIcon` instead.")] - [EnumType(typeof(PaymentMethods))] - public string? paymentMethod { get; set; } - + [Description("The payment method used for the transaction. This value is `null` if the payment method is unknown.")] + [Obsolete("Use `paymentIcon` instead.")] + [EnumType(typeof(PaymentMethods))] + public string? paymentMethod { get; set; } + /// ///Date and time when the transaction was processed. /// - [Description("Date and time when the transaction was processed.")] - public DateTime? processedAt { get; set; } - + [Description("Date and time when the transaction was processed.")] + public DateTime? processedAt { get; set; } + /// ///The transaction receipt that the payment gateway attaches to the transaction. ///The value of this field depends on which payment gateway processed the transaction. /// - [Description("The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.")] - public string? receiptJson { get; set; } - + [Description("The transaction receipt that the payment gateway attaches to the transaction.\nThe value of this field depends on which payment gateway processed the transaction.")] + public string? receiptJson { get; set; } + /// ///The settlement currency. /// - [Description("The settlement currency.")] - [EnumType(typeof(CurrencyCode))] - public string? settlementCurrency { get; set; } - + [Description("The settlement currency.")] + [EnumType(typeof(CurrencyCode))] + public string? settlementCurrency { get; set; } + /// ///The rate used when converting the transaction amount to settlement currency. /// - [Description("The rate used when converting the transaction amount to settlement currency.")] - public decimal? settlementCurrencyRate { get; set; } - + [Description("The rate used when converting the transaction amount to settlement currency.")] + public decimal? settlementCurrencyRate { get; set; } + /// ///Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan. /// - [Description("Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan.")] - public ShopifyPaymentsTransactionSet? shopifyPaymentsSet { get; set; } - + [Description("Contains all Shopify Payments information related to an order transaction. This field is available only to stores on a Shopify Plus plan.")] + public ShopifyPaymentsTransactionSet? shopifyPaymentsSet { get; set; } + /// ///The status of this transaction. /// - [Description("The status of this transaction.")] - [NonNull] - [EnumType(typeof(OrderTransactionStatus))] - public string? status { get; set; } - + [Description("The status of this transaction.")] + [NonNull] + [EnumType(typeof(OrderTransactionStatus))] + public string? status { get; set; } + /// ///Whether the transaction is a test transaction. /// - [Description("Whether the transaction is a test transaction.")] - [NonNull] - public bool? test { get; set; } - + [Description("Whether the transaction is a test transaction.")] + [NonNull] + public bool? test { get; set; } + /// ///Specifies the available amount to capture on the gateway. ///Only available when an amount is capturable or manually mark as paid. /// - [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] - [Obsolete("Use `totalUnsettledSet` instead.")] - public decimal? totalUnsettled { get; set; } - + [Description("Specifies the available amount to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Obsolete("Use `totalUnsettledSet` instead.")] + public decimal? totalUnsettled { get; set; } + /// ///Specifies the available amount with currency to capture on the gateway in shop and presentment currencies. ///Only available when an amount is capturable or manually mark as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] - public MoneyBag? totalUnsettledSet { get; set; } - + [Description("Specifies the available amount with currency to capture on the gateway in shop and presentment currencies.\nOnly available when an amount is capturable or manually mark as paid.")] + public MoneyBag? totalUnsettledSet { get; set; } + /// ///Specifies the available amount with currency to capture on the gateway. ///Only available when an amount is capturable or manually mark as paid. /// - [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] - [Obsolete("Use `totalUnsettledSet` instead.")] - public MoneyV2? totalUnsettledV2 { get; set; } - + [Description("Specifies the available amount with currency to capture on the gateway.\nOnly available when an amount is capturable or manually mark as paid.")] + [Obsolete("Use `totalUnsettledSet` instead.")] + public MoneyV2? totalUnsettledV2 { get; set; } + /// ///Staff member who was logged into the Shopify POS device when the transaction was processed. /// - [Description("Staff member who was logged into the Shopify POS device when the transaction was processed.")] - public StaffMember? user { get; set; } - } - + [Description("Staff member who was logged into the Shopify POS device when the transaction was processed.")] + public StaffMember? user { get; set; } + } + /// ///The input fields to process a refund to store credit. /// - [Description("The input fields to process a refund to store credit.")] - public class StoreCreditRefundInput : GraphQLObject - { + [Description("The input fields to process a refund to store credit.")] + public class StoreCreditRefundInput : GraphQLObject + { /// ///The amount to be issued as store credit. /// - [Description("The amount to be issued as store credit.")] - [NonNull] - public MoneyInput? amount { get; set; } - + [Description("The amount to be issued as store credit.")] + [NonNull] + public MoneyInput? amount { get; set; } + /// ///An optional expiration date for the store credit being issued. /// - [Description("An optional expiration date for the store credit being issued.")] - public DateTime? expiresAt { get; set; } - } - + [Description("An optional expiration date for the store credit being issued.")] + public DateTime? expiresAt { get; set; } + } + /// ///The event that caused the store credit account transaction. /// - [Description("The event that caused the store credit account transaction.")] - public enum StoreCreditSystemEvent - { + [Description("The event that caused the store credit account transaction.")] + public enum StoreCreditSystemEvent + { /// ///An adjustment was made to the store credit account. /// - [Description("An adjustment was made to the store credit account.")] - ADJUSTMENT, + [Description("An adjustment was made to the store credit account.")] + ADJUSTMENT, /// ///Store credit was used as payment for an order. /// - [Description("Store credit was used as payment for an order.")] - ORDER_PAYMENT, + [Description("Store credit was used as payment for an order.")] + ORDER_PAYMENT, /// ///Store credit was refunded from an order. /// - [Description("Store credit was refunded from an order.")] - ORDER_REFUND, + [Description("Store credit was refunded from an order.")] + ORDER_REFUND, /// ///A store credit payment was reverted due to another payment method failing. /// - [Description("A store credit payment was reverted due to another payment method failing.")] - PAYMENT_FAILURE, + [Description("A store credit payment was reverted due to another payment method failing.")] + PAYMENT_FAILURE, /// ///A smaller amount of store credit was captured than was originally authorized. /// - [Description("A smaller amount of store credit was captured than was originally authorized.")] - PAYMENT_RETURNED, + [Description("A smaller amount of store credit was captured than was originally authorized.")] + PAYMENT_RETURNED, /// ///Store credit was returned when an authorized payment was voided. /// - [Description("Store credit was returned when an authorized payment was voided.")] - ORDER_CANCELLATION, + [Description("Store credit was returned when an authorized payment was voided.")] + ORDER_CANCELLATION, /// ///Tax finalization affected the store credit payment. /// - [Description("Tax finalization affected the store credit payment.")] - TAX_FINALIZATION, - } - - public static class StoreCreditSystemEventStringValues - { - public const string ADJUSTMENT = @"ADJUSTMENT"; - public const string ORDER_PAYMENT = @"ORDER_PAYMENT"; - public const string ORDER_REFUND = @"ORDER_REFUND"; - public const string PAYMENT_FAILURE = @"PAYMENT_FAILURE"; - public const string PAYMENT_RETURNED = @"PAYMENT_RETURNED"; - public const string ORDER_CANCELLATION = @"ORDER_CANCELLATION"; - public const string TAX_FINALIZATION = @"TAX_FINALIZATION"; - } - + [Description("Tax finalization affected the store credit payment.")] + TAX_FINALIZATION, + } + + public static class StoreCreditSystemEventStringValues + { + public const string ADJUSTMENT = @"ADJUSTMENT"; + public const string ORDER_PAYMENT = @"ORDER_PAYMENT"; + public const string ORDER_REFUND = @"ORDER_REFUND"; + public const string PAYMENT_FAILURE = @"PAYMENT_FAILURE"; + public const string PAYMENT_RETURNED = @"PAYMENT_RETURNED"; + public const string ORDER_CANCELLATION = @"ORDER_CANCELLATION"; + public const string TAX_FINALIZATION = @"TAX_FINALIZATION"; + } + /// ///A token that's used to delegate unauthenticated access scopes to clients that need to access ///the unauthenticated [Storefront API](https://shopify.dev/docs/api/storefront). @@ -121807,3662 +121807,3662 @@ public static class StoreCreditSystemEventStringValues /// ///[Get started with the Storefront API](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/getting-started). /// - [Description("A token that's used to delegate unauthenticated access scopes to clients that need to access\nthe unauthenticated [Storefront API](https://shopify.dev/docs/api/storefront).\n\nAn app can have a maximum of 100 active storefront access\ntokens for each shop.\n\n[Get started with the Storefront API](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/getting-started).")] - public class StorefrontAccessToken : GraphQLObject, INode - { + [Description("A token that's used to delegate unauthenticated access scopes to clients that need to access\nthe unauthenticated [Storefront API](https://shopify.dev/docs/api/storefront).\n\nAn app can have a maximum of 100 active storefront access\ntokens for each shop.\n\n[Get started with the Storefront API](https://shopify.dev/docs/storefronts/headless/building-with-the-storefront-api/getting-started).")] + public class StorefrontAccessToken : GraphQLObject, INode + { /// ///List of permissions associated with the token. /// - [Description("List of permissions associated with the token.")] - [NonNull] - public IEnumerable? accessScopes { get; set; } - + [Description("List of permissions associated with the token.")] + [NonNull] + public IEnumerable? accessScopes { get; set; } + /// ///The issued public access token. /// - [Description("The issued public access token.")] - [NonNull] - public string? accessToken { get; set; } - + [Description("The issued public access token.")] + [NonNull] + public string? accessToken { get; set; } + /// ///The date and time when the public access token was created. /// - [Description("The date and time when the public access token was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the public access token was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///An arbitrary title for each token determined by the developer, used for reference purposes. /// - [Description("An arbitrary title for each token determined by the developer, used for reference purposes.")] - [NonNull] - public string? title { get; set; } - + [Description("An arbitrary title for each token determined by the developer, used for reference purposes.")] + [NonNull] + public string? title { get; set; } + /// ///The date and time when the storefront access token was updated. /// - [Description("The date and time when the storefront access token was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the storefront access token was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///An auto-generated type for paginating through multiple StorefrontAccessTokens. /// - [Description("An auto-generated type for paginating through multiple StorefrontAccessTokens.")] - public class StorefrontAccessTokenConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple StorefrontAccessTokens.")] + public class StorefrontAccessTokenConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in StorefrontAccessTokenEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in StorefrontAccessTokenEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in StorefrontAccessTokenEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `storefrontAccessTokenCreate` mutation. /// - [Description("Return type for `storefrontAccessTokenCreate` mutation.")] - public class StorefrontAccessTokenCreatePayload : GraphQLObject - { + [Description("Return type for `storefrontAccessTokenCreate` mutation.")] + public class StorefrontAccessTokenCreatePayload : GraphQLObject + { /// ///The user's shop. /// - [Description("The user's shop.")] - [NonNull] - public Shop? shop { get; set; } - + [Description("The user's shop.")] + [NonNull] + public Shop? shop { get; set; } + /// ///The storefront access token. /// - [Description("The storefront access token.")] - public StorefrontAccessToken? storefrontAccessToken { get; set; } - + [Description("The storefront access token.")] + public StorefrontAccessToken? storefrontAccessToken { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields to delete a storefront access token. /// - [Description("The input fields to delete a storefront access token.")] - public class StorefrontAccessTokenDeleteInput : GraphQLObject - { + [Description("The input fields to delete a storefront access token.")] + public class StorefrontAccessTokenDeleteInput : GraphQLObject + { /// ///The ID of the storefront access token to delete. /// - [Description("The ID of the storefront access token to delete.")] - [NonNull] - public string? id { get; set; } - } - + [Description("The ID of the storefront access token to delete.")] + [NonNull] + public string? id { get; set; } + } + /// ///Return type for `storefrontAccessTokenDelete` mutation. /// - [Description("Return type for `storefrontAccessTokenDelete` mutation.")] - public class StorefrontAccessTokenDeletePayload : GraphQLObject - { + [Description("Return type for `storefrontAccessTokenDelete` mutation.")] + public class StorefrontAccessTokenDeletePayload : GraphQLObject + { /// ///The ID of the deleted storefront access token. /// - [Description("The ID of the deleted storefront access token.")] - public string? deletedStorefrontAccessTokenId { get; set; } - + [Description("The ID of the deleted storefront access token.")] + public string? deletedStorefrontAccessTokenId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one StorefrontAccessToken and a cursor during pagination. /// - [Description("An auto-generated type which holds one StorefrontAccessToken and a cursor during pagination.")] - public class StorefrontAccessTokenEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one StorefrontAccessToken and a cursor during pagination.")] + public class StorefrontAccessTokenEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of StorefrontAccessTokenEdge. /// - [Description("The item at the end of StorefrontAccessTokenEdge.")] - [NonNull] - public StorefrontAccessToken? node { get; set; } - } - + [Description("The item at the end of StorefrontAccessTokenEdge.")] + [NonNull] + public StorefrontAccessToken? node { get; set; } + } + /// ///The input fields for a storefront access token. /// - [Description("The input fields for a storefront access token.")] - public class StorefrontAccessTokenInput : GraphQLObject - { + [Description("The input fields for a storefront access token.")] + public class StorefrontAccessTokenInput : GraphQLObject + { /// ///A title for the storefront access token. /// - [Description("A title for the storefront access token.")] - [NonNull] - public string? title { get; set; } - } - + [Description("A title for the storefront access token.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple Strings. /// - [Description("An auto-generated type for paginating through multiple Strings.")] - public class StringConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Strings.")] + public class StringConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in StringEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in StringEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in StringEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one String and a cursor during pagination. /// - [Description("An auto-generated type which holds one String and a cursor during pagination.")] - public class StringEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one String and a cursor during pagination.")] + public class StringEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of StringEdge. /// - [Description("The item at the end of StringEdge.")] - [NonNull] - public string? node { get; set; } - } - + [Description("The item at the end of StringEdge.")] + [NonNull] + public string? node { get; set; } + } + /// ///Represents an applied code discount. /// - [Description("Represents an applied code discount.")] - public class SubscriptionAppliedCodeDiscount : GraphQLObject, ISubscriptionDiscount - { + [Description("Represents an applied code discount.")] + public class SubscriptionAppliedCodeDiscount : GraphQLObject, ISubscriptionDiscount + { /// ///The unique ID. /// - [Description("The unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The redeem code of the discount that applies on the subscription. /// - [Description("The redeem code of the discount that applies on the subscription.")] - [NonNull] - public string? redeemCode { get; set; } - + [Description("The redeem code of the discount that applies on the subscription.")] + [NonNull] + public string? redeemCode { get; set; } + /// ///The reason that the discount on the subscription draft is rejected. /// - [Description("The reason that the discount on the subscription draft is rejected.")] - [EnumType(typeof(SubscriptionDiscountRejectionReason))] - public string? rejectionReason { get; set; } - } - + [Description("The reason that the discount on the subscription draft is rejected.")] + [EnumType(typeof(SubscriptionDiscountRejectionReason))] + public string? rejectionReason { get; set; } + } + /// ///The input fields for mapping a subscription line to a discount. /// - [Description("The input fields for mapping a subscription line to a discount.")] - public class SubscriptionAtomicLineInput : GraphQLObject - { + [Description("The input fields for mapping a subscription line to a discount.")] + public class SubscriptionAtomicLineInput : GraphQLObject + { /// ///The new subscription line. /// - [Description("The new subscription line.")] - [NonNull] - public SubscriptionLineInput? line { get; set; } - + [Description("The new subscription line.")] + [NonNull] + public SubscriptionLineInput? line { get; set; } + /// ///The discount to be added to the subscription line. /// - [Description("The discount to be added to the subscription line.")] - public IEnumerable? discounts { get; set; } - } - + [Description("The discount to be added to the subscription line.")] + public IEnumerable? discounts { get; set; } + } + /// ///The input fields for mapping a subscription line to a discount. /// - [Description("The input fields for mapping a subscription line to a discount.")] - public class SubscriptionAtomicManualDiscountInput : GraphQLObject - { + [Description("The input fields for mapping a subscription line to a discount.")] + public class SubscriptionAtomicManualDiscountInput : GraphQLObject + { /// ///The title associated with the subscription discount. /// - [Description("The title associated with the subscription discount.")] - public string? title { get; set; } - + [Description("The title associated with the subscription discount.")] + public string? title { get; set; } + /// ///Percentage or fixed amount value of the discount. /// - [Description("Percentage or fixed amount value of the discount.")] - public SubscriptionManualDiscountValueInput? value { get; set; } - + [Description("Percentage or fixed amount value of the discount.")] + public SubscriptionManualDiscountValueInput? value { get; set; } + /// ///The maximum number of times the subscription discount will be applied on orders. /// - [Description("The maximum number of times the subscription discount will be applied on orders.")] - public int? recurringCycleLimit { get; set; } - } - + [Description("The maximum number of times the subscription discount will be applied on orders.")] + public int? recurringCycleLimit { get; set; } + } + /// ///A record of an execution of the subscription billing process. Billing attempts use ///idempotency keys to avoid duplicate order creation. A successful billing attempt ///will create an order. /// - [Description("A record of an execution of the subscription billing process. Billing attempts use\nidempotency keys to avoid duplicate order creation. A successful billing attempt\nwill create an order.")] - public class SubscriptionBillingAttempt : GraphQLObject, INode - { + [Description("A record of an execution of the subscription billing process. Billing attempts use\nidempotency keys to avoid duplicate order creation. A successful billing attempt\nwill create an order.")] + public class SubscriptionBillingAttempt : GraphQLObject, INode + { /// ///The date and time when the billing attempt was completed. /// - [Description("The date and time when the billing attempt was completed.")] - public DateTime? completedAt { get; set; } - + [Description("The date and time when the billing attempt was completed.")] + public DateTime? completedAt { get; set; } + /// ///The date and time when the billing attempt was created. /// - [Description("The date and time when the billing attempt was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the billing attempt was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///A code corresponding to a payment error during processing. /// - [Description("A code corresponding to a payment error during processing.")] - [Obsolete("Use `processingError.code` instead to get the errorCode")] - [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] - public string? errorCode { get; set; } - + [Description("A code corresponding to a payment error during processing.")] + [Obsolete("Use `processingError.code` instead to get the errorCode")] + [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] + public string? errorCode { get; set; } + /// ///A message describing a payment error during processing. /// - [Description("A message describing a payment error during processing.")] - [Obsolete("Use `processingError.message` instead to get the errorMessage")] - public string? errorMessage { get; set; } - + [Description("A message describing a payment error during processing.")] + [Obsolete("Use `processingError.message` instead to get the errorMessage")] + public string? errorMessage { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///A unique key generated by the client to avoid duplicate payments. /// - [Description("A unique key generated by the client to avoid duplicate payments.")] - [NonNull] - public string? idempotencyKey { get; set; } - + [Description("A unique key generated by the client to avoid duplicate payments.")] + [NonNull] + public string? idempotencyKey { get; set; } + /// ///The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow. /// - [Description("The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.")] - public string? nextActionUrl { get; set; } - + [Description("The URL where the customer needs to be redirected so they can complete the 3D Secure payment flow.")] + public string? nextActionUrl { get; set; } + /// ///The result of this billing attempt if completed successfully. /// - [Description("The result of this billing attempt if completed successfully.")] - public Order? order { get; set; } - + [Description("The result of this billing attempt if completed successfully.")] + public Order? order { get; set; } + /// ///The date and time used to calculate fulfillment intervals for a billing attempt that ///successfully completed after the current anchor date. To prevent fulfillment from being ///pushed to the next anchor date, this field can override the billing attempt date. /// - [Description("The date and time used to calculate fulfillment intervals for a billing attempt that\nsuccessfully completed after the current anchor date. To prevent fulfillment from being\npushed to the next anchor date, this field can override the billing attempt date.")] - public DateTime? originTime { get; set; } - + [Description("The date and time used to calculate fulfillment intervals for a billing attempt that\nsuccessfully completed after the current anchor date. To prevent fulfillment from being\npushed to the next anchor date, this field can override the billing attempt date.")] + public DateTime? originTime { get; set; } + /// ///The reference shared between retried payment attempts. /// - [Description("The reference shared between retried payment attempts.")] - public string? paymentGroupId { get; set; } - + [Description("The reference shared between retried payment attempts.")] + public string? paymentGroupId { get; set; } + /// ///The reference shared between payment attempts with similar payment details. /// - [Description("The reference shared between payment attempts with similar payment details.")] - public string? paymentSessionId { get; set; } - + [Description("The reference shared between payment attempts with similar payment details.")] + public string? paymentSessionId { get; set; } + /// ///Error information from processing the billing attempt. /// - [Description("Error information from processing the billing attempt.")] - public ISubscriptionBillingAttemptProcessingError? processingError { get; set; } - + [Description("Error information from processing the billing attempt.")] + public ISubscriptionBillingAttemptProcessingError? processingError { get; set; } + /// ///Whether the billing attempt is still processing. /// - [Description("Whether the billing attempt is still processing.")] - [NonNull] - public bool? ready { get; set; } - + [Description("Whether the billing attempt is still processing.")] + [NonNull] + public bool? ready { get; set; } + /// ///Whether the billing attempt respects the merchant's inventory policy. /// - [Description("Whether the billing attempt respects the merchant's inventory policy.")] - [NonNull] - public bool? respectInventoryPolicy { get; set; } - + [Description("Whether the billing attempt respects the merchant's inventory policy.")] + [NonNull] + public bool? respectInventoryPolicy { get; set; } + /// ///The subscription contract. /// - [Description("The subscription contract.")] - [NonNull] - public SubscriptionContract? subscriptionContract { get; set; } - + [Description("The subscription contract.")] + [NonNull] + public SubscriptionContract? subscriptionContract { get; set; } + /// ///The transactions created by the billing attempt. /// - [Description("The transactions created by the billing attempt.")] - [NonNull] - public OrderTransactionConnection? transactions { get; set; } - } - + [Description("The transactions created by the billing attempt.")] + [NonNull] + public OrderTransactionConnection? transactions { get; set; } + } + /// ///An auto-generated type for paginating through multiple SubscriptionBillingAttempts. /// - [Description("An auto-generated type for paginating through multiple SubscriptionBillingAttempts.")] - public class SubscriptionBillingAttemptConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SubscriptionBillingAttempts.")] + public class SubscriptionBillingAttemptConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SubscriptionBillingAttemptEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SubscriptionBillingAttemptEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SubscriptionBillingAttemptEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `subscriptionBillingAttemptCreate` mutation. /// - [Description("Return type for `subscriptionBillingAttemptCreate` mutation.")] - public class SubscriptionBillingAttemptCreatePayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingAttemptCreate` mutation.")] + public class SubscriptionBillingAttemptCreatePayload : GraphQLObject + { /// ///The subscription billing attempt. /// - [Description("The subscription billing attempt.")] - public SubscriptionBillingAttempt? subscriptionBillingAttempt { get; set; } - + [Description("The subscription billing attempt.")] + public SubscriptionBillingAttempt? subscriptionBillingAttempt { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one SubscriptionBillingAttempt and a cursor during pagination. /// - [Description("An auto-generated type which holds one SubscriptionBillingAttempt and a cursor during pagination.")] - public class SubscriptionBillingAttemptEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SubscriptionBillingAttempt and a cursor during pagination.")] + public class SubscriptionBillingAttemptEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SubscriptionBillingAttemptEdge. /// - [Description("The item at the end of SubscriptionBillingAttemptEdge.")] - [NonNull] - public SubscriptionBillingAttempt? node { get; set; } - } - + [Description("The item at the end of SubscriptionBillingAttemptEdge.")] + [NonNull] + public SubscriptionBillingAttempt? node { get; set; } + } + /// ///The possible error codes associated with making billing attempts. The error codes supplement the ///`error_message` to provide consistent results and help with dunning management. /// - [Description("The possible error codes associated with making billing attempts. The error codes supplement the\n`error_message` to provide consistent results and help with dunning management.")] - public enum SubscriptionBillingAttemptErrorCode - { + [Description("The possible error codes associated with making billing attempts. The error codes supplement the\n`error_message` to provide consistent results and help with dunning management.")] + public enum SubscriptionBillingAttemptErrorCode + { /// ///Payment method was not found. /// - [Description("Payment method was not found.")] - PAYMENT_METHOD_NOT_FOUND, + [Description("Payment method was not found.")] + PAYMENT_METHOD_NOT_FOUND, /// ///Payment provider is not enabled. /// - [Description("Payment provider is not enabled.")] - PAYMENT_PROVIDER_IS_NOT_ENABLED, + [Description("Payment provider is not enabled.")] + PAYMENT_PROVIDER_IS_NOT_ENABLED, /// ///Payment method is invalid. Please update or create a new payment method. /// - [Description("Payment method is invalid. Please update or create a new payment method.")] - INVALID_PAYMENT_METHOD, + [Description("Payment method is invalid. Please update or create a new payment method.")] + INVALID_PAYMENT_METHOD, /// ///There was an unexpected error during the billing attempt. /// - [Description("There was an unexpected error during the billing attempt.")] - UNEXPECTED_ERROR, + [Description("There was an unexpected error during the billing attempt.")] + UNEXPECTED_ERROR, /// ///Payment method is expired. /// - [Description("Payment method is expired.")] - EXPIRED_PAYMENT_METHOD, + [Description("Payment method is expired.")] + EXPIRED_PAYMENT_METHOD, /// ///Payment method was declined by processor. /// - [Description("Payment method was declined by processor.")] - PAYMENT_METHOD_DECLINED, + [Description("Payment method was declined by processor.")] + PAYMENT_METHOD_DECLINED, /// ///There was an error during the authentication. /// - [Description("There was an error during the authentication.")] - AUTHENTICATION_ERROR, + [Description("There was an error during the authentication.")] + AUTHENTICATION_ERROR, /// ///Gateway is in test mode and attempted to bill a live payment method. /// - [Description("Gateway is in test mode and attempted to bill a live payment method.")] - TEST_MODE, + [Description("Gateway is in test mode and attempted to bill a live payment method.")] + TEST_MODE, /// ///Payment method was canceled by buyer. /// - [Description("Payment method was canceled by buyer.")] - BUYER_CANCELED_PAYMENT_METHOD, + [Description("Payment method was canceled by buyer.")] + BUYER_CANCELED_PAYMENT_METHOD, /// ///Customer was not found. /// - [Description("Customer was not found.")] - CUSTOMER_NOT_FOUND, + [Description("Customer was not found.")] + CUSTOMER_NOT_FOUND, /// ///Customer is invalid. /// - [Description("Customer is invalid.")] - CUSTOMER_INVALID, + [Description("Customer is invalid.")] + CUSTOMER_INVALID, /// ///The shipping address is either missing or invalid. /// - [Description("The shipping address is either missing or invalid.")] - INVALID_SHIPPING_ADDRESS, + [Description("The shipping address is either missing or invalid.")] + INVALID_SHIPPING_ADDRESS, /// ///The billing agreement ID or the transaction ID for the customer's payment method is invalid. /// - [Description("The billing agreement ID or the transaction ID for the customer's payment method is invalid.")] - INVALID_CUSTOMER_BILLING_AGREEMENT, + [Description("The billing agreement ID or the transaction ID for the customer's payment method is invalid.")] + INVALID_CUSTOMER_BILLING_AGREEMENT, /// ///A payment has already been made for this invoice. /// - [Description("A payment has already been made for this invoice.")] - INVOICE_ALREADY_PAID, + [Description("A payment has already been made for this invoice.")] + INVOICE_ALREADY_PAID, /// ///Payment method cannot be used with the current payment gateway test mode configuration. /// - [Description("Payment method cannot be used with the current payment gateway test mode configuration.")] - PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG, + [Description("Payment method cannot be used with the current payment gateway test mode configuration.")] + PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG, /// ///The amount is too small. /// - [Description("The amount is too small.")] - AMOUNT_TOO_SMALL, + [Description("The amount is too small.")] + AMOUNT_TOO_SMALL, /// ///No inventory location found or enabled. /// - [Description("No inventory location found or enabled.")] - INVENTORY_ALLOCATIONS_NOT_FOUND, + [Description("No inventory location found or enabled.")] + INVENTORY_ALLOCATIONS_NOT_FOUND, /// ///Not enough inventory found. /// - [Description("Not enough inventory found.")] - INSUFFICIENT_INVENTORY, + [Description("Not enough inventory found.")] + INSUFFICIENT_INVENTORY, /// ///Transient error, try again later. /// - [Description("Transient error, try again later.")] - TRANSIENT_ERROR, + [Description("Transient error, try again later.")] + TRANSIENT_ERROR, /// ///Insufficient funds. /// - [Description("Insufficient funds.")] - INSUFFICIENT_FUNDS, + [Description("Insufficient funds.")] + INSUFFICIENT_FUNDS, /// ///Purchase Type is not supported. /// - [Description("Purchase Type is not supported.")] - PURCHASE_TYPE_NOT_SUPPORTED, + [Description("Purchase Type is not supported.")] + PURCHASE_TYPE_NOT_SUPPORTED, /// ///Paypal Error General. /// - [Description("Paypal Error General.")] - PAYPAL_ERROR_GENERAL, + [Description("Paypal Error General.")] + PAYPAL_ERROR_GENERAL, /// ///Card number was incorrect. /// - [Description("Card number was incorrect.")] - CARD_NUMBER_INCORRECT, + [Description("Card number was incorrect.")] + CARD_NUMBER_INCORRECT, /// ///Fraud was suspected. /// - [Description("Fraud was suspected.")] - FRAUD_SUSPECTED, + [Description("Fraud was suspected.")] + FRAUD_SUSPECTED, /// ///Non-test order limit reached. Use a test payment gateway to place another order. /// - [Description("Non-test order limit reached. Use a test payment gateway to place another order.")] - NON_TEST_ORDER_LIMIT_REACHED, + [Description("Non-test order limit reached. Use a test payment gateway to place another order.")] + NON_TEST_ORDER_LIMIT_REACHED, /// ///Gift cards must have a price greater than zero. /// - [Description("Gift cards must have a price greater than zero.")] - FREE_GIFT_CARD_NOT_ALLOWED, + [Description("Gift cards must have a price greater than zero.")] + FREE_GIFT_CARD_NOT_ALLOWED, /// ///Payment method is not specified on subscription contract. /// - [Description("Payment method is not specified on subscription contract.")] - PAYMENT_METHOD_NOT_SPECIFIED, - } - - public static class SubscriptionBillingAttemptErrorCodeStringValues - { - public const string PAYMENT_METHOD_NOT_FOUND = @"PAYMENT_METHOD_NOT_FOUND"; - public const string PAYMENT_PROVIDER_IS_NOT_ENABLED = @"PAYMENT_PROVIDER_IS_NOT_ENABLED"; - public const string INVALID_PAYMENT_METHOD = @"INVALID_PAYMENT_METHOD"; - public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; - public const string EXPIRED_PAYMENT_METHOD = @"EXPIRED_PAYMENT_METHOD"; - public const string PAYMENT_METHOD_DECLINED = @"PAYMENT_METHOD_DECLINED"; - public const string AUTHENTICATION_ERROR = @"AUTHENTICATION_ERROR"; - public const string TEST_MODE = @"TEST_MODE"; - public const string BUYER_CANCELED_PAYMENT_METHOD = @"BUYER_CANCELED_PAYMENT_METHOD"; - public const string CUSTOMER_NOT_FOUND = @"CUSTOMER_NOT_FOUND"; - public const string CUSTOMER_INVALID = @"CUSTOMER_INVALID"; - public const string INVALID_SHIPPING_ADDRESS = @"INVALID_SHIPPING_ADDRESS"; - public const string INVALID_CUSTOMER_BILLING_AGREEMENT = @"INVALID_CUSTOMER_BILLING_AGREEMENT"; - public const string INVOICE_ALREADY_PAID = @"INVOICE_ALREADY_PAID"; - public const string PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG = @"PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG"; - public const string AMOUNT_TOO_SMALL = @"AMOUNT_TOO_SMALL"; - public const string INVENTORY_ALLOCATIONS_NOT_FOUND = @"INVENTORY_ALLOCATIONS_NOT_FOUND"; - public const string INSUFFICIENT_INVENTORY = @"INSUFFICIENT_INVENTORY"; - public const string TRANSIENT_ERROR = @"TRANSIENT_ERROR"; - public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; - public const string PURCHASE_TYPE_NOT_SUPPORTED = @"PURCHASE_TYPE_NOT_SUPPORTED"; - public const string PAYPAL_ERROR_GENERAL = @"PAYPAL_ERROR_GENERAL"; - public const string CARD_NUMBER_INCORRECT = @"CARD_NUMBER_INCORRECT"; - public const string FRAUD_SUSPECTED = @"FRAUD_SUSPECTED"; - public const string NON_TEST_ORDER_LIMIT_REACHED = @"NON_TEST_ORDER_LIMIT_REACHED"; - public const string FREE_GIFT_CARD_NOT_ALLOWED = @"FREE_GIFT_CARD_NOT_ALLOWED"; - public const string PAYMENT_METHOD_NOT_SPECIFIED = @"PAYMENT_METHOD_NOT_SPECIFIED"; - } - + [Description("Payment method is not specified on subscription contract.")] + PAYMENT_METHOD_NOT_SPECIFIED, + } + + public static class SubscriptionBillingAttemptErrorCodeStringValues + { + public const string PAYMENT_METHOD_NOT_FOUND = @"PAYMENT_METHOD_NOT_FOUND"; + public const string PAYMENT_PROVIDER_IS_NOT_ENABLED = @"PAYMENT_PROVIDER_IS_NOT_ENABLED"; + public const string INVALID_PAYMENT_METHOD = @"INVALID_PAYMENT_METHOD"; + public const string UNEXPECTED_ERROR = @"UNEXPECTED_ERROR"; + public const string EXPIRED_PAYMENT_METHOD = @"EXPIRED_PAYMENT_METHOD"; + public const string PAYMENT_METHOD_DECLINED = @"PAYMENT_METHOD_DECLINED"; + public const string AUTHENTICATION_ERROR = @"AUTHENTICATION_ERROR"; + public const string TEST_MODE = @"TEST_MODE"; + public const string BUYER_CANCELED_PAYMENT_METHOD = @"BUYER_CANCELED_PAYMENT_METHOD"; + public const string CUSTOMER_NOT_FOUND = @"CUSTOMER_NOT_FOUND"; + public const string CUSTOMER_INVALID = @"CUSTOMER_INVALID"; + public const string INVALID_SHIPPING_ADDRESS = @"INVALID_SHIPPING_ADDRESS"; + public const string INVALID_CUSTOMER_BILLING_AGREEMENT = @"INVALID_CUSTOMER_BILLING_AGREEMENT"; + public const string INVOICE_ALREADY_PAID = @"INVOICE_ALREADY_PAID"; + public const string PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG = @"PAYMENT_METHOD_INCOMPATIBLE_WITH_GATEWAY_CONFIG"; + public const string AMOUNT_TOO_SMALL = @"AMOUNT_TOO_SMALL"; + public const string INVENTORY_ALLOCATIONS_NOT_FOUND = @"INVENTORY_ALLOCATIONS_NOT_FOUND"; + public const string INSUFFICIENT_INVENTORY = @"INSUFFICIENT_INVENTORY"; + public const string TRANSIENT_ERROR = @"TRANSIENT_ERROR"; + public const string INSUFFICIENT_FUNDS = @"INSUFFICIENT_FUNDS"; + public const string PURCHASE_TYPE_NOT_SUPPORTED = @"PURCHASE_TYPE_NOT_SUPPORTED"; + public const string PAYPAL_ERROR_GENERAL = @"PAYPAL_ERROR_GENERAL"; + public const string CARD_NUMBER_INCORRECT = @"CARD_NUMBER_INCORRECT"; + public const string FRAUD_SUSPECTED = @"FRAUD_SUSPECTED"; + public const string NON_TEST_ORDER_LIMIT_REACHED = @"NON_TEST_ORDER_LIMIT_REACHED"; + public const string FREE_GIFT_CARD_NOT_ALLOWED = @"FREE_GIFT_CARD_NOT_ALLOWED"; + public const string PAYMENT_METHOD_NOT_SPECIFIED = @"PAYMENT_METHOD_NOT_SPECIFIED"; + } + /// ///A base error type that applies to all uncategorized error classes. /// - [Description("A base error type that applies to all uncategorized error classes.")] - public class SubscriptionBillingAttemptGenericError : GraphQLObject, ISubscriptionBillingAttemptProcessingError - { + [Description("A base error type that applies to all uncategorized error classes.")] + public class SubscriptionBillingAttemptGenericError : GraphQLObject, ISubscriptionBillingAttemptProcessingError + { /// ///The code for the error. /// - [Description("The code for the error.")] - [NonNull] - [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] - public string? code { get; set; } - + [Description("The code for the error.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] + public string? code { get; set; } + /// ///An explanation of the error. /// - [Description("An explanation of the error.")] - [NonNull] - public string? message { get; set; } - } - + [Description("An explanation of the error.")] + [NonNull] + public string? message { get; set; } + } + /// ///The input fields required to complete a subscription billing attempt. /// - [Description("The input fields required to complete a subscription billing attempt.")] - public class SubscriptionBillingAttemptInput : GraphQLObject - { + [Description("The input fields required to complete a subscription billing attempt.")] + public class SubscriptionBillingAttemptInput : GraphQLObject + { /// ///A unique key generated by the client to avoid duplicate payments. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). /// - [Description("A unique key generated by the client to avoid duplicate payments. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).")] - [NonNull] - public string? idempotencyKey { get; set; } - + [Description("A unique key generated by the client to avoid duplicate payments. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests).")] + [NonNull] + public string? idempotencyKey { get; set; } + /// ///The date and time used to calculate fulfillment intervals for a billing attempt that ///successfully completed after the current anchor date. To prevent fulfillment from being ///pushed to the next anchor date, this field can override the billing attempt date. /// - [Description("The date and time used to calculate fulfillment intervals for a billing attempt that\nsuccessfully completed after the current anchor date. To prevent fulfillment from being\npushed to the next anchor date, this field can override the billing attempt date.")] - public DateTime? originTime { get; set; } - + [Description("The date and time used to calculate fulfillment intervals for a billing attempt that\nsuccessfully completed after the current anchor date. To prevent fulfillment from being\npushed to the next anchor date, this field can override the billing attempt date.")] + public DateTime? originTime { get; set; } + /// ///Select the specific billing cycle to be billed. ///Default to bill the current billing cycle if not specified. /// - [Description("Select the specific billing cycle to be billed.\nDefault to bill the current billing cycle if not specified.")] - public SubscriptionBillingCycleSelector? billingCycleSelector { get; set; } - + [Description("Select the specific billing cycle to be billed.\nDefault to bill the current billing cycle if not specified.")] + public SubscriptionBillingCycleSelector? billingCycleSelector { get; set; } + /// ///The behaviour to follow when creating an order for a product variant /// when it's out of stock. /// - [Description("The behaviour to follow when creating an order for a product variant\n when it's out of stock.")] - [EnumType(typeof(SubscriptionBillingAttemptInventoryPolicy))] - public string? inventoryPolicy { get; set; } - } - + [Description("The behaviour to follow when creating an order for a product variant\n when it's out of stock.")] + [EnumType(typeof(SubscriptionBillingAttemptInventoryPolicy))] + public string? inventoryPolicy { get; set; } + } + /// ///An inventory error caused by an issue with one or more of the contract merchandise lines. /// - [Description("An inventory error caused by an issue with one or more of the contract merchandise lines.")] - public class SubscriptionBillingAttemptInsufficientStockProductVariantsError : GraphQLObject, ISubscriptionBillingAttemptProcessingError - { + [Description("An inventory error caused by an issue with one or more of the contract merchandise lines.")] + public class SubscriptionBillingAttemptInsufficientStockProductVariantsError : GraphQLObject, ISubscriptionBillingAttemptProcessingError + { /// ///The code for the error. /// - [Description("The code for the error.")] - [NonNull] - [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] - public string? code { get; set; } - + [Description("The code for the error.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] + public string? code { get; set; } + /// ///A list of product variants that caused the insufficient inventory error. /// - [Description("A list of product variants that caused the insufficient inventory error.")] - [NonNull] - public ProductVariantConnection? insufficientStockProductVariants { get; set; } - + [Description("A list of product variants that caused the insufficient inventory error.")] + [NonNull] + public ProductVariantConnection? insufficientStockProductVariants { get; set; } + /// ///An explanation of the error. /// - [Description("An explanation of the error.")] - [NonNull] - public string? message { get; set; } - } - + [Description("An explanation of the error.")] + [NonNull] + public string? message { get; set; } + } + /// ///The inventory policy for a billing attempt. /// - [Description("The inventory policy for a billing attempt.")] - public enum SubscriptionBillingAttemptInventoryPolicy - { + [Description("The inventory policy for a billing attempt.")] + public enum SubscriptionBillingAttemptInventoryPolicy + { /// ///Respect the merchant's product variant /// inventory policy for this billing attempt. /// - [Description("Respect the merchant's product variant\n inventory policy for this billing attempt.")] - PRODUCT_VARIANT_INVENTORY_POLICY, + [Description("Respect the merchant's product variant\n inventory policy for this billing attempt.")] + PRODUCT_VARIANT_INVENTORY_POLICY, /// ///Override the merchant's product variant /// inventory policy and allow overselling for this billing attempt. /// - [Description("Override the merchant's product variant\n inventory policy and allow overselling for this billing attempt.")] - ALLOW_OVERSELLING, - } - - public static class SubscriptionBillingAttemptInventoryPolicyStringValues - { - public const string PRODUCT_VARIANT_INVENTORY_POLICY = @"PRODUCT_VARIANT_INVENTORY_POLICY"; - public const string ALLOW_OVERSELLING = @"ALLOW_OVERSELLING"; - } - + [Description("Override the merchant's product variant\n inventory policy and allow overselling for this billing attempt.")] + ALLOW_OVERSELLING, + } + + public static class SubscriptionBillingAttemptInventoryPolicyStringValues + { + public const string PRODUCT_VARIANT_INVENTORY_POLICY = @"PRODUCT_VARIANT_INVENTORY_POLICY"; + public const string ALLOW_OVERSELLING = @"ALLOW_OVERSELLING"; + } + /// ///An inventory error caused by an issue with one or more of the contract merchandise lines. /// - [Description("An inventory error caused by an issue with one or more of the contract merchandise lines.")] - public class SubscriptionBillingAttemptOutOfStockProductVariantsError : GraphQLObject, ISubscriptionBillingAttemptProcessingError - { + [Description("An inventory error caused by an issue with one or more of the contract merchandise lines.")] + public class SubscriptionBillingAttemptOutOfStockProductVariantsError : GraphQLObject, ISubscriptionBillingAttemptProcessingError + { /// ///The code for the error. /// - [Description("The code for the error.")] - [NonNull] - [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] - public string? code { get; set; } - + [Description("The code for the error.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] + public string? code { get; set; } + /// ///An explanation of the error. /// - [Description("An explanation of the error.")] - [NonNull] - public string? message { get; set; } - + [Description("An explanation of the error.")] + [NonNull] + public string? message { get; set; } + /// ///A list of responsible product variants. /// - [Description("A list of responsible product variants.")] - [Obsolete("Use `subscriptionBillingAttemptInsufficientStockProductVariantsError` type instead.")] - [NonNull] - public ProductVariantConnection? outOfStockProductVariants { get; set; } - } - + [Description("A list of responsible product variants.")] + [Obsolete("Use `subscriptionBillingAttemptInsufficientStockProductVariantsError` type instead.")] + [NonNull] + public ProductVariantConnection? outOfStockProductVariants { get; set; } + } + /// ///An error that prevented a billing attempt. /// - [Description("An error that prevented a billing attempt.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionBillingAttemptGenericError), typeDiscriminator: "SubscriptionBillingAttemptGenericError")] - [JsonDerivedType(typeof(SubscriptionBillingAttemptInsufficientStockProductVariantsError), typeDiscriminator: "SubscriptionBillingAttemptInsufficientStockProductVariantsError")] - [JsonDerivedType(typeof(SubscriptionBillingAttemptOutOfStockProductVariantsError), typeDiscriminator: "SubscriptionBillingAttemptOutOfStockProductVariantsError")] - public interface ISubscriptionBillingAttemptProcessingError : IGraphQLObject - { - public SubscriptionBillingAttemptGenericError? AsSubscriptionBillingAttemptGenericError() => this as SubscriptionBillingAttemptGenericError; - public SubscriptionBillingAttemptInsufficientStockProductVariantsError? AsSubscriptionBillingAttemptInsufficientStockProductVariantsError() => this as SubscriptionBillingAttemptInsufficientStockProductVariantsError; - public SubscriptionBillingAttemptOutOfStockProductVariantsError? AsSubscriptionBillingAttemptOutOfStockProductVariantsError() => this as SubscriptionBillingAttemptOutOfStockProductVariantsError; + [Description("An error that prevented a billing attempt.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptGenericError), typeDiscriminator: "SubscriptionBillingAttemptGenericError")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptInsufficientStockProductVariantsError), typeDiscriminator: "SubscriptionBillingAttemptInsufficientStockProductVariantsError")] + [JsonDerivedType(typeof(SubscriptionBillingAttemptOutOfStockProductVariantsError), typeDiscriminator: "SubscriptionBillingAttemptOutOfStockProductVariantsError")] + public interface ISubscriptionBillingAttemptProcessingError : IGraphQLObject + { + public SubscriptionBillingAttemptGenericError? AsSubscriptionBillingAttemptGenericError() => this as SubscriptionBillingAttemptGenericError; + public SubscriptionBillingAttemptInsufficientStockProductVariantsError? AsSubscriptionBillingAttemptInsufficientStockProductVariantsError() => this as SubscriptionBillingAttemptInsufficientStockProductVariantsError; + public SubscriptionBillingAttemptOutOfStockProductVariantsError? AsSubscriptionBillingAttemptOutOfStockProductVariantsError() => this as SubscriptionBillingAttemptOutOfStockProductVariantsError; /// ///The code for the error. /// - [Description("The code for the error.")] - [NonNull] - [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] - public string? code { get; } - + [Description("The code for the error.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingAttemptErrorCode))] + public string? code { get; } + /// ///An explanation of the error. /// - [Description("An explanation of the error.")] - [NonNull] - public string? message { get; } - } - + [Description("An explanation of the error.")] + [NonNull] + public string? message { get; } + } + /// ///The set of valid sort keys for the SubscriptionBillingAttempts query. /// - [Description("The set of valid sort keys for the SubscriptionBillingAttempts query.")] - public enum SubscriptionBillingAttemptsSortKeys - { + [Description("The set of valid sort keys for the SubscriptionBillingAttempts query.")] + public enum SubscriptionBillingAttemptsSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class SubscriptionBillingAttemptsSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class SubscriptionBillingAttemptsSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + } + /// ///A subscription billing cycle. /// - [Description("A subscription billing cycle.")] - public class SubscriptionBillingCycle : GraphQLObject - { + [Description("A subscription billing cycle.")] + public class SubscriptionBillingCycle : GraphQLObject + { /// ///The date on which the billing attempt is expected to be made. /// - [Description("The date on which the billing attempt is expected to be made.")] - [NonNull] - public DateTime? billingAttemptExpectedDate { get; set; } - + [Description("The date on which the billing attempt is expected to be made.")] + [NonNull] + public DateTime? billingAttemptExpectedDate { get; set; } + /// ///The list of billing attempts associated with the billing cycle. /// - [Description("The list of billing attempts associated with the billing cycle.")] - [NonNull] - public SubscriptionBillingAttemptConnection? billingAttempts { get; set; } - + [Description("The list of billing attempts associated with the billing cycle.")] + [NonNull] + public SubscriptionBillingAttemptConnection? billingAttempts { get; set; } + /// ///The end date of the billing cycle. /// - [Description("The end date of the billing cycle.")] - [NonNull] - public DateTime? cycleEndAt { get; set; } - + [Description("The end date of the billing cycle.")] + [NonNull] + public DateTime? cycleEndAt { get; set; } + /// ///The index of the billing cycle. /// - [Description("The index of the billing cycle.")] - [NonNull] - public int? cycleIndex { get; set; } - + [Description("The index of the billing cycle.")] + [NonNull] + public int? cycleIndex { get; set; } + /// ///The start date of the billing cycle. /// - [Description("The start date of the billing cycle.")] - [NonNull] - public DateTime? cycleStartAt { get; set; } - + [Description("The start date of the billing cycle.")] + [NonNull] + public DateTime? cycleStartAt { get; set; } + /// ///Whether this billing cycle was edited. /// - [Description("Whether this billing cycle was edited.")] - [NonNull] - public bool? edited { get; set; } - + [Description("Whether this billing cycle was edited.")] + [NonNull] + public bool? edited { get; set; } + /// ///The active edited contract for the billing cycle. /// - [Description("The active edited contract for the billing cycle.")] - public SubscriptionBillingCycleEditedContract? editedContract { get; set; } - + [Description("The active edited contract for the billing cycle.")] + public SubscriptionBillingCycleEditedContract? editedContract { get; set; } + /// ///Whether this billing cycle was skipped. /// - [Description("Whether this billing cycle was skipped.")] - [NonNull] - public bool? skipped { get; set; } - + [Description("Whether this billing cycle was skipped.")] + [NonNull] + public bool? skipped { get; set; } + /// ///The subscription contract that the billing cycle belongs to. /// - [Description("The subscription contract that the billing cycle belongs to.")] - [NonNull] - public SubscriptionContract? sourceContract { get; set; } - + [Description("The subscription contract that the billing cycle belongs to.")] + [NonNull] + public SubscriptionContract? sourceContract { get; set; } + /// ///The status of the billing cycle. /// - [Description("The status of the billing cycle.")] - [NonNull] - [EnumType(typeof(SubscriptionBillingCycleBillingCycleStatus))] - public string? status { get; set; } - } - + [Description("The status of the billing cycle.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingCycleBillingCycleStatus))] + public string? status { get; set; } + } + /// ///The presence of billing attempts on Billing Cycles. /// - [Description("The presence of billing attempts on Billing Cycles.")] - public enum SubscriptionBillingCycleBillingAttemptStatus - { + [Description("The presence of billing attempts on Billing Cycles.")] + public enum SubscriptionBillingCycleBillingAttemptStatus + { /// ///Billing cycle has at least one billing attempt. /// - [Description("Billing cycle has at least one billing attempt.")] - HAS_ATTEMPT, + [Description("Billing cycle has at least one billing attempt.")] + HAS_ATTEMPT, /// ///Billing cycle has no billing attempts. /// - [Description("Billing cycle has no billing attempts.")] - NO_ATTEMPT, + [Description("Billing cycle has no billing attempts.")] + NO_ATTEMPT, /// ///Billing cycle has any number of billing attempts. /// - [Description("Billing cycle has any number of billing attempts.")] - ANY, - } - - public static class SubscriptionBillingCycleBillingAttemptStatusStringValues - { - public const string HAS_ATTEMPT = @"HAS_ATTEMPT"; - public const string NO_ATTEMPT = @"NO_ATTEMPT"; - public const string ANY = @"ANY"; - } - + [Description("Billing cycle has any number of billing attempts.")] + ANY, + } + + public static class SubscriptionBillingCycleBillingAttemptStatusStringValues + { + public const string HAS_ATTEMPT = @"HAS_ATTEMPT"; + public const string NO_ATTEMPT = @"NO_ATTEMPT"; + public const string ANY = @"ANY"; + } + /// ///The possible status values of a subscription billing cycle. /// - [Description("The possible status values of a subscription billing cycle.")] - public enum SubscriptionBillingCycleBillingCycleStatus - { + [Description("The possible status values of a subscription billing cycle.")] + public enum SubscriptionBillingCycleBillingCycleStatus + { /// ///The billing cycle is billed. /// - [Description("The billing cycle is billed.")] - BILLED, + [Description("The billing cycle is billed.")] + BILLED, /// ///The billing cycle hasn't been billed. /// - [Description("The billing cycle hasn't been billed.")] - UNBILLED, - } - - public static class SubscriptionBillingCycleBillingCycleStatusStringValues - { - public const string BILLED = @"BILLED"; - public const string UNBILLED = @"UNBILLED"; - } - + [Description("The billing cycle hasn't been billed.")] + UNBILLED, + } + + public static class SubscriptionBillingCycleBillingCycleStatusStringValues + { + public const string BILLED = @"BILLED"; + public const string UNBILLED = @"UNBILLED"; + } + /// ///Return type for `subscriptionBillingCycleBulkCharge` mutation. /// - [Description("Return type for `subscriptionBillingCycleBulkCharge` mutation.")] - public class SubscriptionBillingCycleBulkChargePayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleBulkCharge` mutation.")] + public class SubscriptionBillingCycleBulkChargePayload : GraphQLObject + { /// ///The asynchronous job that performs the action on the targeted billing cycles. /// - [Description("The asynchronous job that performs the action on the targeted billing cycles.")] - public Job? job { get; set; } - + [Description("The asynchronous job that performs the action on the targeted billing cycles.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields for filtering subscription billing cycles in bulk actions. /// - [Description("The input fields for filtering subscription billing cycles in bulk actions.")] - public class SubscriptionBillingCycleBulkFilters : GraphQLObject - { + [Description("The input fields for filtering subscription billing cycles in bulk actions.")] + public class SubscriptionBillingCycleBulkFilters : GraphQLObject + { /// ///Filters the billing cycles based on their status. /// - [Description("Filters the billing cycles based on their status.")] - public IEnumerable? billingCycleStatus { get; set; } - + [Description("Filters the billing cycles based on their status.")] + public IEnumerable? billingCycleStatus { get; set; } + /// ///Filters the billing cycles based on the status of their associated subscription contracts. /// - [Description("Filters the billing cycles based on the status of their associated subscription contracts.")] - public IEnumerable? contractStatus { get; set; } - + [Description("Filters the billing cycles based on the status of their associated subscription contracts.")] + public IEnumerable? contractStatus { get; set; } + /// ///Filters the billing cycles based on the presence of billing attempts. /// - [Description("Filters the billing cycles based on the presence of billing attempts.")] - [EnumType(typeof(SubscriptionBillingCycleBillingAttemptStatus))] - public string? billingAttemptStatus { get; set; } - } - + [Description("Filters the billing cycles based on the presence of billing attempts.")] + [EnumType(typeof(SubscriptionBillingCycleBillingAttemptStatus))] + public string? billingAttemptStatus { get; set; } + } + /// ///Return type for `subscriptionBillingCycleBulkSearch` mutation. /// - [Description("Return type for `subscriptionBillingCycleBulkSearch` mutation.")] - public class SubscriptionBillingCycleBulkSearchPayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleBulkSearch` mutation.")] + public class SubscriptionBillingCycleBulkSearchPayload : GraphQLObject + { /// ///The asynchronous job that performs the action on the targeted billing cycles. /// - [Description("The asynchronous job that performs the action on the targeted billing cycles.")] - public Job? job { get; set; } - + [Description("The asynchronous job that performs the action on the targeted billing cycles.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents an error that happens during the execution of subscriptionBillingCycles mutations. /// - [Description("Represents an error that happens during the execution of subscriptionBillingCycles mutations.")] - public class SubscriptionBillingCycleBulkUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during the execution of subscriptionBillingCycles mutations.")] + public class SubscriptionBillingCycleBulkUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SubscriptionBillingCycleBulkUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SubscriptionBillingCycleBulkUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `SubscriptionBillingCycleBulkUserError`. /// - [Description("Possible error codes that can be returned by `SubscriptionBillingCycleBulkUserError`.")] - public enum SubscriptionBillingCycleBulkUserErrorCode - { + [Description("Possible error codes that can be returned by `SubscriptionBillingCycleBulkUserError`.")] + public enum SubscriptionBillingCycleBulkUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///End date can't be more than 24 hours in the future. /// - [Description("End date can't be more than 24 hours in the future.")] - END_DATE_IN_THE_FUTURE, + [Description("End date can't be more than 24 hours in the future.")] + END_DATE_IN_THE_FUTURE, /// ///The range between start date and end date shouldn't be more than 1 week. /// - [Description("The range between start date and end date shouldn't be more than 1 week.")] - INVALID_DATE_RANGE, + [Description("The range between start date and end date shouldn't be more than 1 week.")] + INVALID_DATE_RANGE, /// ///Start date should be before end date. /// - [Description("Start date should be before end date.")] - START_DATE_BEFORE_END_DATE, - } - - public static class SubscriptionBillingCycleBulkUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string END_DATE_IN_THE_FUTURE = @"END_DATE_IN_THE_FUTURE"; - public const string INVALID_DATE_RANGE = @"INVALID_DATE_RANGE"; - public const string START_DATE_BEFORE_END_DATE = @"START_DATE_BEFORE_END_DATE"; - } - + [Description("Start date should be before end date.")] + START_DATE_BEFORE_END_DATE, + } + + public static class SubscriptionBillingCycleBulkUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string END_DATE_IN_THE_FUTURE = @"END_DATE_IN_THE_FUTURE"; + public const string INVALID_DATE_RANGE = @"INVALID_DATE_RANGE"; + public const string START_DATE_BEFORE_END_DATE = @"START_DATE_BEFORE_END_DATE"; + } + /// ///Return type for `subscriptionBillingCycleCharge` mutation. /// - [Description("Return type for `subscriptionBillingCycleCharge` mutation.")] - public class SubscriptionBillingCycleChargePayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleCharge` mutation.")] + public class SubscriptionBillingCycleChargePayload : GraphQLObject + { /// ///The subscription billing attempt. /// - [Description("The subscription billing attempt.")] - public SubscriptionBillingAttempt? subscriptionBillingAttempt { get; set; } - + [Description("The subscription billing attempt.")] + public SubscriptionBillingAttempt? subscriptionBillingAttempt { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple SubscriptionBillingCycles. /// - [Description("An auto-generated type for paginating through multiple SubscriptionBillingCycles.")] - public class SubscriptionBillingCycleConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SubscriptionBillingCycles.")] + public class SubscriptionBillingCycleConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SubscriptionBillingCycleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SubscriptionBillingCycleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SubscriptionBillingCycleEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `subscriptionBillingCycleContractDraftCommit` mutation. /// - [Description("Return type for `subscriptionBillingCycleContractDraftCommit` mutation.")] - public class SubscriptionBillingCycleContractDraftCommitPayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleContractDraftCommit` mutation.")] + public class SubscriptionBillingCycleContractDraftCommitPayload : GraphQLObject + { /// ///The committed Subscription Billing Cycle Edited Contract object. /// - [Description("The committed Subscription Billing Cycle Edited Contract object.")] - public SubscriptionBillingCycleEditedContract? contract { get; set; } - + [Description("The committed Subscription Billing Cycle Edited Contract object.")] + public SubscriptionBillingCycleEditedContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionBillingCycleContractDraftConcatenate` mutation. /// - [Description("Return type for `subscriptionBillingCycleContractDraftConcatenate` mutation.")] - public class SubscriptionBillingCycleContractDraftConcatenatePayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleContractDraftConcatenate` mutation.")] + public class SubscriptionBillingCycleContractDraftConcatenatePayload : GraphQLObject + { /// ///The Subscription Draft object. /// - [Description("The Subscription Draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionBillingCycleContractEdit` mutation. /// - [Description("Return type for `subscriptionBillingCycleContractEdit` mutation.")] - public class SubscriptionBillingCycleContractEditPayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleContractEdit` mutation.")] + public class SubscriptionBillingCycleContractEditPayload : GraphQLObject + { /// ///The draft subscription contract object. /// - [Description("The draft subscription contract object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The draft subscription contract object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one SubscriptionBillingCycle and a cursor during pagination. /// - [Description("An auto-generated type which holds one SubscriptionBillingCycle and a cursor during pagination.")] - public class SubscriptionBillingCycleEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SubscriptionBillingCycle and a cursor during pagination.")] + public class SubscriptionBillingCycleEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SubscriptionBillingCycleEdge. /// - [Description("The item at the end of SubscriptionBillingCycleEdge.")] - [NonNull] - public SubscriptionBillingCycle? node { get; set; } - } - + [Description("The item at the end of SubscriptionBillingCycleEdge.")] + [NonNull] + public SubscriptionBillingCycle? node { get; set; } + } + /// ///Return type for `subscriptionBillingCycleEditDelete` mutation. /// - [Description("Return type for `subscriptionBillingCycleEditDelete` mutation.")] - public class SubscriptionBillingCycleEditDeletePayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleEditDelete` mutation.")] + public class SubscriptionBillingCycleEditDeletePayload : GraphQLObject + { /// ///The list of updated billing cycles. /// - [Description("The list of updated billing cycles.")] - public IEnumerable? billingCycles { get; set; } - + [Description("The list of updated billing cycles.")] + public IEnumerable? billingCycles { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a subscription contract with billing cycles. /// - [Description("Represents a subscription contract with billing cycles.")] - public class SubscriptionBillingCycleEditedContract : GraphQLObject, ISubscriptionContractBase - { + [Description("Represents a subscription contract with billing cycles.")] + public class SubscriptionBillingCycleEditedContract : GraphQLObject, ISubscriptionContractBase + { /// ///The subscription app that the subscription contract is registered to. /// - [Description("The subscription app that the subscription contract is registered to.")] - public App? app { get; set; } - + [Description("The subscription app that the subscription contract is registered to.")] + public App? app { get; set; } + /// ///The URL of the subscription contract page on the subscription app. /// - [Description("The URL of the subscription contract page on the subscription app.")] - public string? appAdminUrl { get; set; } - + [Description("The URL of the subscription contract page on the subscription app.")] + public string? appAdminUrl { get; set; } + /// ///The billing cycles that the edited contract belongs to. /// - [Description("The billing cycles that the edited contract belongs to.")] - [NonNull] - public SubscriptionBillingCycleConnection? billingCycles { get; set; } - + [Description("The billing cycles that the edited contract belongs to.")] + [NonNull] + public SubscriptionBillingCycleConnection? billingCycles { get; set; } + /// ///The date and time when the subscription contract was created. /// - [Description("The date and time when the subscription contract was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the subscription contract was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The currency that's used for the subscription contract. /// - [Description("The currency that's used for the subscription contract.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The currency that's used for the subscription contract.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///A list of the custom attributes to be added to the generated orders. /// - [Description("A list of the custom attributes to be added to the generated orders.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of the custom attributes to be added to the generated orders.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The customer to whom the subscription contract belongs. /// - [Description("The customer to whom the subscription contract belongs.")] - public Customer? customer { get; set; } - + [Description("The customer to whom the subscription contract belongs.")] + public Customer? customer { get; set; } + /// ///The customer payment method that's used for the subscription contract. /// - [Description("The customer payment method that's used for the subscription contract.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method that's used for the subscription contract.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///The delivery method for each billing of the subscription contract. /// - [Description("The delivery method for each billing of the subscription contract.")] - public ISubscriptionDeliveryMethod? deliveryMethod { get; set; } - + [Description("The delivery method for each billing of the subscription contract.")] + public ISubscriptionDeliveryMethod? deliveryMethod { get; set; } + /// ///The delivery price for each billing of the subscription contract. /// - [Description("The delivery price for each billing of the subscription contract.")] - [NonNull] - public MoneyV2? deliveryPrice { get; set; } - + [Description("The delivery price for each billing of the subscription contract.")] + [NonNull] + public MoneyV2? deliveryPrice { get; set; } + /// ///The list of subscription discounts associated with the subscription contract. /// - [Description("The list of subscription discounts associated with the subscription contract.")] - [NonNull] - public SubscriptionManualDiscountConnection? discounts { get; set; } - + [Description("The list of subscription discounts associated with the subscription contract.")] + [NonNull] + public SubscriptionManualDiscountConnection? discounts { get; set; } + /// ///The number of lines associated with the subscription contract. /// - [Description("The number of lines associated with the subscription contract.")] - [Obsolete("Use `linesCount` instead.")] - [NonNull] - public int? lineCount { get; set; } - + [Description("The number of lines associated with the subscription contract.")] + [Obsolete("Use `linesCount` instead.")] + [NonNull] + public int? lineCount { get; set; } + /// ///The list of subscription lines associated with the subscription contract. /// - [Description("The list of subscription lines associated with the subscription contract.")] - [NonNull] - public SubscriptionLineConnection? lines { get; set; } - + [Description("The list of subscription lines associated with the subscription contract.")] + [NonNull] + public SubscriptionLineConnection? lines { get; set; } + /// ///The number of lines associated with the subscription contract. /// - [Description("The number of lines associated with the subscription contract.")] - public Count? linesCount { get; set; } - + [Description("The number of lines associated with the subscription contract.")] + public Count? linesCount { get; set; } + /// ///The note field that will be applied to the generated orders. /// - [Description("The note field that will be applied to the generated orders.")] - public string? note { get; set; } - + [Description("The note field that will be applied to the generated orders.")] + public string? note { get; set; } + /// ///A list of the subscription contract's orders. /// - [Description("A list of the subscription contract's orders.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("A list of the subscription contract's orders.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///The date and time when the subscription contract was updated. /// - [Description("The date and time when the subscription contract was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the subscription contract was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `subscriptionBillingCycleEditsDelete` mutation. /// - [Description("Return type for `subscriptionBillingCycleEditsDelete` mutation.")] - public class SubscriptionBillingCycleEditsDeletePayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleEditsDelete` mutation.")] + public class SubscriptionBillingCycleEditsDeletePayload : GraphQLObject + { /// ///The list of updated billing cycles. /// - [Description("The list of updated billing cycles.")] - public IEnumerable? billingCycles { get; set; } - + [Description("The list of updated billing cycles.")] + public IEnumerable? billingCycles { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible error codes that can be returned by `SubscriptionBillingCycleUserError`. /// - [Description("Possible error codes that can be returned by `SubscriptionBillingCycleUserError`.")] - public enum SubscriptionBillingCycleErrorCode - { + [Description("Possible error codes that can be returned by `SubscriptionBillingCycleUserError`.")] + public enum SubscriptionBillingCycleErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Can't find the billing cycle. /// - [Description("Can't find the billing cycle.")] - CYCLE_NOT_FOUND, + [Description("Can't find the billing cycle.")] + CYCLE_NOT_FOUND, /// ///There's no contract or schedule edit associated with the targeted billing cycle(s). /// - [Description("There's no contract or schedule edit associated with the targeted billing cycle(s).")] - NO_CYCLE_EDITS, + [Description("There's no contract or schedule edit associated with the targeted billing cycle(s).")] + NO_CYCLE_EDITS, /// ///The index selector is invalid. /// - [Description("The index selector is invalid.")] - INVALID_CYCLE_INDEX, + [Description("The index selector is invalid.")] + INVALID_CYCLE_INDEX, /// ///The date selector is invalid. /// - [Description("The date selector is invalid.")] - INVALID_DATE, + [Description("The date selector is invalid.")] + INVALID_DATE, /// ///Billing cycle schedule edit input provided is empty. Must take in parameters to modify schedule. /// - [Description("Billing cycle schedule edit input provided is empty. Must take in parameters to modify schedule.")] - EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT, + [Description("Billing cycle schedule edit input provided is empty. Must take in parameters to modify schedule.")] + EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT, /// ///Billing date cannot be set on skipped billing cycle. /// - [Description("Billing date cannot be set on skipped billing cycle.")] - BILLING_DATE_SET_ON_SKIPPED, + [Description("Billing date cannot be set on skipped billing cycle.")] + BILLING_DATE_SET_ON_SKIPPED, /// ///Billing date of a cycle cannot be set to a value outside of its billing date range. /// - [Description("Billing date of a cycle cannot be set to a value outside of its billing date range.")] - OUT_OF_BOUNDS, + [Description("Billing date of a cycle cannot be set to a value outside of its billing date range.")] + OUT_OF_BOUNDS, /// ///Billing cycle selector cannot select upcoming billing cycle past limit. /// - [Description("Billing cycle selector cannot select upcoming billing cycle past limit.")] - UPCOMING_CYCLE_LIMIT_EXCEEDED, + [Description("Billing cycle selector cannot select upcoming billing cycle past limit.")] + UPCOMING_CYCLE_LIMIT_EXCEEDED, /// ///Billing cycle selector cannot select billing cycle outside of index range. /// - [Description("Billing cycle selector cannot select billing cycle outside of index range.")] - CYCLE_INDEX_OUT_OF_RANGE, + [Description("Billing cycle selector cannot select billing cycle outside of index range.")] + CYCLE_INDEX_OUT_OF_RANGE, /// ///Billing cycle selector cannot select billing cycle outside of start date range. /// - [Description("Billing cycle selector cannot select billing cycle outside of start date range.")] - CYCLE_START_DATE_OUT_OF_RANGE, + [Description("Billing cycle selector cannot select billing cycle outside of start date range.")] + CYCLE_START_DATE_OUT_OF_RANGE, /// ///Billing cycle has incomplete billing attempts in progress. /// - [Description("Billing cycle has incomplete billing attempts in progress.")] - INCOMPLETE_BILLING_ATTEMPTS, - } - - public static class SubscriptionBillingCycleErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string CYCLE_NOT_FOUND = @"CYCLE_NOT_FOUND"; - public const string NO_CYCLE_EDITS = @"NO_CYCLE_EDITS"; - public const string INVALID_CYCLE_INDEX = @"INVALID_CYCLE_INDEX"; - public const string INVALID_DATE = @"INVALID_DATE"; - public const string EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT = @"EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT"; - public const string BILLING_DATE_SET_ON_SKIPPED = @"BILLING_DATE_SET_ON_SKIPPED"; - public const string OUT_OF_BOUNDS = @"OUT_OF_BOUNDS"; - public const string UPCOMING_CYCLE_LIMIT_EXCEEDED = @"UPCOMING_CYCLE_LIMIT_EXCEEDED"; - public const string CYCLE_INDEX_OUT_OF_RANGE = @"CYCLE_INDEX_OUT_OF_RANGE"; - public const string CYCLE_START_DATE_OUT_OF_RANGE = @"CYCLE_START_DATE_OUT_OF_RANGE"; - public const string INCOMPLETE_BILLING_ATTEMPTS = @"INCOMPLETE_BILLING_ATTEMPTS"; - } - + [Description("Billing cycle has incomplete billing attempts in progress.")] + INCOMPLETE_BILLING_ATTEMPTS, + } + + public static class SubscriptionBillingCycleErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string CYCLE_NOT_FOUND = @"CYCLE_NOT_FOUND"; + public const string NO_CYCLE_EDITS = @"NO_CYCLE_EDITS"; + public const string INVALID_CYCLE_INDEX = @"INVALID_CYCLE_INDEX"; + public const string INVALID_DATE = @"INVALID_DATE"; + public const string EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT = @"EMPTY_BILLING_CYCLE_EDIT_SCHEDULE_INPUT"; + public const string BILLING_DATE_SET_ON_SKIPPED = @"BILLING_DATE_SET_ON_SKIPPED"; + public const string OUT_OF_BOUNDS = @"OUT_OF_BOUNDS"; + public const string UPCOMING_CYCLE_LIMIT_EXCEEDED = @"UPCOMING_CYCLE_LIMIT_EXCEEDED"; + public const string CYCLE_INDEX_OUT_OF_RANGE = @"CYCLE_INDEX_OUT_OF_RANGE"; + public const string CYCLE_START_DATE_OUT_OF_RANGE = @"CYCLE_START_DATE_OUT_OF_RANGE"; + public const string INCOMPLETE_BILLING_ATTEMPTS = @"INCOMPLETE_BILLING_ATTEMPTS"; + } + /// ///The input fields for specifying the subscription contract and selecting the associated billing cycle. /// - [Description("The input fields for specifying the subscription contract and selecting the associated billing cycle.")] - public class SubscriptionBillingCycleInput : GraphQLObject - { + [Description("The input fields for specifying the subscription contract and selecting the associated billing cycle.")] + public class SubscriptionBillingCycleInput : GraphQLObject + { /// ///The ID of the subscription contract associated with the billing cycle. /// - [Description("The ID of the subscription contract associated with the billing cycle.")] - [NonNull] - public string? contractId { get; set; } - + [Description("The ID of the subscription contract associated with the billing cycle.")] + [NonNull] + public string? contractId { get; set; } + /// ///Selects the billing cycle by date or index. /// - [Description("Selects the billing cycle by date or index.")] - [NonNull] - public SubscriptionBillingCycleSelector? selector { get; set; } - } - + [Description("Selects the billing cycle by date or index.")] + [NonNull] + public SubscriptionBillingCycleSelector? selector { get; set; } + } + /// ///The input fields for parameters to modify the schedule of a specific billing cycle. /// - [Description("The input fields for parameters to modify the schedule of a specific billing cycle.")] - public class SubscriptionBillingCycleScheduleEditInput : GraphQLObject - { + [Description("The input fields for parameters to modify the schedule of a specific billing cycle.")] + public class SubscriptionBillingCycleScheduleEditInput : GraphQLObject + { /// ///Sets the skip status for the billing cycle. /// - [Description("Sets the skip status for the billing cycle.")] - public bool? skip { get; set; } - + [Description("Sets the skip status for the billing cycle.")] + public bool? skip { get; set; } + /// ///Sets the expected billing date for the billing cycle. /// - [Description("Sets the expected billing date for the billing cycle.")] - public DateTime? billingDate { get; set; } - + [Description("Sets the expected billing date for the billing cycle.")] + public DateTime? billingDate { get; set; } + /// ///The reason for editing. /// - [Description("The reason for editing.")] - [NonNull] - [EnumType(typeof(SubscriptionBillingCycleScheduleEditInputScheduleEditReason))] - public string? reason { get; set; } - } - + [Description("The reason for editing.")] + [NonNull] + [EnumType(typeof(SubscriptionBillingCycleScheduleEditInputScheduleEditReason))] + public string? reason { get; set; } + } + /// ///The input fields for possible reasons for editing the billing cycle's schedule. /// - [Description("The input fields for possible reasons for editing the billing cycle's schedule.")] - public enum SubscriptionBillingCycleScheduleEditInputScheduleEditReason - { + [Description("The input fields for possible reasons for editing the billing cycle's schedule.")] + public enum SubscriptionBillingCycleScheduleEditInputScheduleEditReason + { /// ///Buyer initiated the schedule edit. /// - [Description("Buyer initiated the schedule edit.")] - BUYER_INITIATED, + [Description("Buyer initiated the schedule edit.")] + BUYER_INITIATED, /// ///Merchant initiated the schedule edit. /// - [Description("Merchant initiated the schedule edit.")] - MERCHANT_INITIATED, + [Description("Merchant initiated the schedule edit.")] + MERCHANT_INITIATED, /// ///Developer initiated the schedule edit. /// - [Description("Developer initiated the schedule edit.")] - DEV_INITIATED, - } - - public static class SubscriptionBillingCycleScheduleEditInputScheduleEditReasonStringValues - { - public const string BUYER_INITIATED = @"BUYER_INITIATED"; - public const string MERCHANT_INITIATED = @"MERCHANT_INITIATED"; - public const string DEV_INITIATED = @"DEV_INITIATED"; - } - + [Description("Developer initiated the schedule edit.")] + DEV_INITIATED, + } + + public static class SubscriptionBillingCycleScheduleEditInputScheduleEditReasonStringValues + { + public const string BUYER_INITIATED = @"BUYER_INITIATED"; + public const string MERCHANT_INITIATED = @"MERCHANT_INITIATED"; + public const string DEV_INITIATED = @"DEV_INITIATED"; + } + /// ///Return type for `subscriptionBillingCycleScheduleEdit` mutation. /// - [Description("Return type for `subscriptionBillingCycleScheduleEdit` mutation.")] - public class SubscriptionBillingCycleScheduleEditPayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleScheduleEdit` mutation.")] + public class SubscriptionBillingCycleScheduleEditPayload : GraphQLObject + { /// ///The updated billing cycle. /// - [Description("The updated billing cycle.")] - public SubscriptionBillingCycle? billingCycle { get; set; } - + [Description("The updated billing cycle.")] + public SubscriptionBillingCycle? billingCycle { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields to select SubscriptionBillingCycle by either date or index. Both past and future billing cycles can be selected. /// - [Description("The input fields to select SubscriptionBillingCycle by either date or index. Both past and future billing cycles can be selected.")] - public class SubscriptionBillingCycleSelector : GraphQLObject - { + [Description("The input fields to select SubscriptionBillingCycle by either date or index. Both past and future billing cycles can be selected.")] + public class SubscriptionBillingCycleSelector : GraphQLObject + { /// ///Returns a billing cycle by index. /// - [Description("Returns a billing cycle by index.")] - public int? index { get; set; } - + [Description("Returns a billing cycle by index.")] + public int? index { get; set; } + /// ///Returns a billing cycle by date. /// - [Description("Returns a billing cycle by date.")] - public DateTime? date { get; set; } - } - + [Description("Returns a billing cycle by date.")] + public DateTime? date { get; set; } + } + /// ///Return type for `subscriptionBillingCycleSkip` mutation. /// - [Description("Return type for `subscriptionBillingCycleSkip` mutation.")] - public class SubscriptionBillingCycleSkipPayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleSkip` mutation.")] + public class SubscriptionBillingCycleSkipPayload : GraphQLObject + { /// ///The updated billing cycle. /// - [Description("The updated billing cycle.")] - public SubscriptionBillingCycle? billingCycle { get; set; } - + [Description("The updated billing cycle.")] + public SubscriptionBillingCycle? billingCycle { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `SubscriptionBillingCycleSkip`. /// - [Description("An error that occurs during the execution of `SubscriptionBillingCycleSkip`.")] - public class SubscriptionBillingCycleSkipUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `SubscriptionBillingCycleSkip`.")] + public class SubscriptionBillingCycleSkipUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SubscriptionBillingCycleSkipUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SubscriptionBillingCycleSkipUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `SubscriptionBillingCycleSkipUserError`. /// - [Description("Possible error codes that can be returned by `SubscriptionBillingCycleSkipUserError`.")] - public enum SubscriptionBillingCycleSkipUserErrorCode - { + [Description("Possible error codes that can be returned by `SubscriptionBillingCycleSkipUserError`.")] + public enum SubscriptionBillingCycleSkipUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class SubscriptionBillingCycleSkipUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class SubscriptionBillingCycleSkipUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///Return type for `subscriptionBillingCycleUnskip` mutation. /// - [Description("Return type for `subscriptionBillingCycleUnskip` mutation.")] - public class SubscriptionBillingCycleUnskipPayload : GraphQLObject - { + [Description("Return type for `subscriptionBillingCycleUnskip` mutation.")] + public class SubscriptionBillingCycleUnskipPayload : GraphQLObject + { /// ///The updated billing cycle. /// - [Description("The updated billing cycle.")] - public SubscriptionBillingCycle? billingCycle { get; set; } - + [Description("The updated billing cycle.")] + public SubscriptionBillingCycle? billingCycle { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `SubscriptionBillingCycleUnskip`. /// - [Description("An error that occurs during the execution of `SubscriptionBillingCycleUnskip`.")] - public class SubscriptionBillingCycleUnskipUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `SubscriptionBillingCycleUnskip`.")] + public class SubscriptionBillingCycleUnskipUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SubscriptionBillingCycleUnskipUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SubscriptionBillingCycleUnskipUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `SubscriptionBillingCycleUnskipUserError`. /// - [Description("Possible error codes that can be returned by `SubscriptionBillingCycleUnskipUserError`.")] - public enum SubscriptionBillingCycleUnskipUserErrorCode - { + [Description("Possible error codes that can be returned by `SubscriptionBillingCycleUnskipUserError`.")] + public enum SubscriptionBillingCycleUnskipUserErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class SubscriptionBillingCycleUnskipUserErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class SubscriptionBillingCycleUnskipUserErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///The possible errors for a subscription billing cycle. /// - [Description("The possible errors for a subscription billing cycle.")] - public class SubscriptionBillingCycleUserError : GraphQLObject, IDisplayableError - { + [Description("The possible errors for a subscription billing cycle.")] + public class SubscriptionBillingCycleUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SubscriptionBillingCycleErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SubscriptionBillingCycleErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The input fields to select a subset of subscription billing cycles within a date range. /// - [Description("The input fields to select a subset of subscription billing cycles within a date range.")] - public class SubscriptionBillingCyclesDateRangeSelector : GraphQLObject - { + [Description("The input fields to select a subset of subscription billing cycles within a date range.")] + public class SubscriptionBillingCyclesDateRangeSelector : GraphQLObject + { /// ///The start date and time for the range. /// - [Description("The start date and time for the range.")] - [NonNull] - public DateTime? startDate { get; set; } - + [Description("The start date and time for the range.")] + [NonNull] + public DateTime? startDate { get; set; } + /// ///The end date and time for the range. /// - [Description("The end date and time for the range.")] - [NonNull] - public DateTime? endDate { get; set; } - } - + [Description("The end date and time for the range.")] + [NonNull] + public DateTime? endDate { get; set; } + } + /// ///The input fields to select a subset of subscription billing cycles within an index range. /// - [Description("The input fields to select a subset of subscription billing cycles within an index range.")] - public class SubscriptionBillingCyclesIndexRangeSelector : GraphQLObject - { + [Description("The input fields to select a subset of subscription billing cycles within an index range.")] + public class SubscriptionBillingCyclesIndexRangeSelector : GraphQLObject + { /// ///The start index for the range. /// - [Description("The start index for the range.")] - [NonNull] - public int? startIndex { get; set; } - + [Description("The start index for the range.")] + [NonNull] + public int? startIndex { get; set; } + /// ///The end index for the range. /// - [Description("The end index for the range.")] - [NonNull] - public int? endIndex { get; set; } - } - + [Description("The end index for the range.")] + [NonNull] + public int? endIndex { get; set; } + } + /// ///The set of valid sort keys for the SubscriptionBillingCycles query. /// - [Description("The set of valid sort keys for the SubscriptionBillingCycles query.")] - public enum SubscriptionBillingCyclesSortKeys - { + [Description("The set of valid sort keys for the SubscriptionBillingCycles query.")] + public enum SubscriptionBillingCyclesSortKeys + { /// ///Sort by the `cycle_index` value. /// - [Description("Sort by the `cycle_index` value.")] - CYCLE_INDEX, + [Description("Sort by the `cycle_index` value.")] + CYCLE_INDEX, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class SubscriptionBillingCyclesSortKeysStringValues - { - public const string CYCLE_INDEX = @"CYCLE_INDEX"; - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class SubscriptionBillingCyclesSortKeysStringValues + { + public const string CYCLE_INDEX = @"CYCLE_INDEX"; + public const string ID = @"ID"; + } + /// ///Select subscription billing cycles to be targeted. /// - [Description("Select subscription billing cycles to be targeted.")] - public enum SubscriptionBillingCyclesTargetSelection - { + [Description("Select subscription billing cycles to be targeted.")] + public enum SubscriptionBillingCyclesTargetSelection + { /// ///Target all current and upcoming subscription billing cycles. /// - [Description("Target all current and upcoming subscription billing cycles.")] - ALL, - } - - public static class SubscriptionBillingCyclesTargetSelectionStringValues - { - public const string ALL = @"ALL"; - } - + [Description("Target all current and upcoming subscription billing cycles.")] + ALL, + } + + public static class SubscriptionBillingCyclesTargetSelectionStringValues + { + public const string ALL = @"ALL"; + } + /// ///Represents a Subscription Billing Policy. /// - [Description("Represents a Subscription Billing Policy.")] - public class SubscriptionBillingPolicy : GraphQLObject - { + [Description("Represents a Subscription Billing Policy.")] + public class SubscriptionBillingPolicy : GraphQLObject + { /// ///Specific anchor dates upon which the billing interval calculations should be made. /// - [Description("Specific anchor dates upon which the billing interval calculations should be made.")] - [NonNull] - public IEnumerable? anchors { get; set; } - + [Description("Specific anchor dates upon which the billing interval calculations should be made.")] + [NonNull] + public IEnumerable? anchors { get; set; } + /// ///The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc). /// - [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] - [NonNull] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] + [NonNull] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of billing intervals between invoices. /// - [Description("The number of billing intervals between invoices.")] - [NonNull] - public int? intervalCount { get; set; } - + [Description("The number of billing intervals between invoices.")] + [NonNull] + public int? intervalCount { get; set; } + /// ///Maximum amount of cycles after which the subscription ends. /// - [Description("Maximum amount of cycles after which the subscription ends.")] - public int? maxCycles { get; set; } - + [Description("Maximum amount of cycles after which the subscription ends.")] + public int? maxCycles { get; set; } + /// ///Minimum amount of cycles required in the subscription. /// - [Description("Minimum amount of cycles required in the subscription.")] - public int? minCycles { get; set; } - } - + [Description("Minimum amount of cycles required in the subscription.")] + public int? minCycles { get; set; } + } + /// ///The input fields for a Subscription Billing Policy. /// - [Description("The input fields for a Subscription Billing Policy.")] - public class SubscriptionBillingPolicyInput : GraphQLObject - { + [Description("The input fields for a Subscription Billing Policy.")] + public class SubscriptionBillingPolicyInput : GraphQLObject + { /// ///The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc). /// - [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] - [NonNull] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] + [NonNull] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of billing intervals between invoices. /// - [Description("The number of billing intervals between invoices.")] - [NonNull] - public int? intervalCount { get; set; } - + [Description("The number of billing intervals between invoices.")] + [NonNull] + public int? intervalCount { get; set; } + /// ///Minimum amount of cycles required in the subscription. /// - [Description("Minimum amount of cycles required in the subscription.")] - public int? minCycles { get; set; } - + [Description("Minimum amount of cycles required in the subscription.")] + public int? minCycles { get; set; } + /// ///Maximum amount of cycles required in the subscription. /// - [Description("Maximum amount of cycles required in the subscription.")] - public int? maxCycles { get; set; } - + [Description("Maximum amount of cycles required in the subscription.")] + public int? maxCycles { get; set; } + /// ///Specific anchor dates upon which the billing interval calculations should be made. /// - [Description("Specific anchor dates upon which the billing interval calculations should be made.")] - public IEnumerable? anchors { get; set; } - } - + [Description("Specific anchor dates upon which the billing interval calculations should be made.")] + public IEnumerable? anchors { get; set; } + } + /// ///Represents a Subscription Contract. /// - [Description("Represents a Subscription Contract.")] - public class SubscriptionContract : GraphQLObject, INode, ISubscriptionContractBase - { + [Description("Represents a Subscription Contract.")] + public class SubscriptionContract : GraphQLObject, INode, ISubscriptionContractBase + { /// ///The subscription app that the subscription contract is registered to. /// - [Description("The subscription app that the subscription contract is registered to.")] - public App? app { get; set; } - + [Description("The subscription app that the subscription contract is registered to.")] + public App? app { get; set; } + /// ///The URL of the subscription contract page on the subscription app. /// - [Description("The URL of the subscription contract page on the subscription app.")] - public string? appAdminUrl { get; set; } - + [Description("The URL of the subscription contract page on the subscription app.")] + public string? appAdminUrl { get; set; } + /// ///The list of billing attempts associated with the subscription contract. /// - [Description("The list of billing attempts associated with the subscription contract.")] - [NonNull] - public SubscriptionBillingAttemptConnection? billingAttempts { get; set; } - + [Description("The list of billing attempts associated with the subscription contract.")] + [NonNull] + public SubscriptionBillingAttemptConnection? billingAttempts { get; set; } + /// ///The billing policy associated with the subscription contract. /// - [Description("The billing policy associated with the subscription contract.")] - [NonNull] - public SubscriptionBillingPolicy? billingPolicy { get; set; } - + [Description("The billing policy associated with the subscription contract.")] + [NonNull] + public SubscriptionBillingPolicy? billingPolicy { get; set; } + /// ///The date and time when the subscription contract was created. /// - [Description("The date and time when the subscription contract was created.")] - [NonNull] - public DateTime? createdAt { get; set; } - + [Description("The date and time when the subscription contract was created.")] + [NonNull] + public DateTime? createdAt { get; set; } + /// ///The currency that's used for the subscription contract. /// - [Description("The currency that's used for the subscription contract.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The currency that's used for the subscription contract.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///A list of the custom attributes to be added to the generated orders. /// - [Description("A list of the custom attributes to be added to the generated orders.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of the custom attributes to be added to the generated orders.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The customer to whom the subscription contract belongs. /// - [Description("The customer to whom the subscription contract belongs.")] - public Customer? customer { get; set; } - + [Description("The customer to whom the subscription contract belongs.")] + public Customer? customer { get; set; } + /// ///The customer payment method that's used for the subscription contract. /// - [Description("The customer payment method that's used for the subscription contract.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method that's used for the subscription contract.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///The delivery method for each billing of the subscription contract. /// - [Description("The delivery method for each billing of the subscription contract.")] - public ISubscriptionDeliveryMethod? deliveryMethod { get; set; } - + [Description("The delivery method for each billing of the subscription contract.")] + public ISubscriptionDeliveryMethod? deliveryMethod { get; set; } + /// ///The delivery policy associated with the subscription contract. /// - [Description("The delivery policy associated with the subscription contract.")] - [NonNull] - public SubscriptionDeliveryPolicy? deliveryPolicy { get; set; } - + [Description("The delivery policy associated with the subscription contract.")] + [NonNull] + public SubscriptionDeliveryPolicy? deliveryPolicy { get; set; } + /// ///The delivery price for each billing of the subscription contract. /// - [Description("The delivery price for each billing of the subscription contract.")] - [NonNull] - public MoneyV2? deliveryPrice { get; set; } - + [Description("The delivery price for each billing of the subscription contract.")] + [NonNull] + public MoneyV2? deliveryPrice { get; set; } + /// ///The list of subscription discounts associated with the subscription contract. /// - [Description("The list of subscription discounts associated with the subscription contract.")] - [NonNull] - public SubscriptionManualDiscountConnection? discounts { get; set; } - + [Description("The list of subscription discounts associated with the subscription contract.")] + [NonNull] + public SubscriptionManualDiscountConnection? discounts { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The last billing error type of the contract. /// - [Description("The last billing error type of the contract.")] - [EnumType(typeof(SubscriptionContractLastBillingErrorType))] - public string? lastBillingAttemptErrorType { get; set; } - + [Description("The last billing error type of the contract.")] + [EnumType(typeof(SubscriptionContractLastBillingErrorType))] + public string? lastBillingAttemptErrorType { get; set; } + /// ///The current status of the last payment. /// - [Description("The current status of the last payment.")] - [EnumType(typeof(SubscriptionContractLastPaymentStatus))] - public string? lastPaymentStatus { get; set; } - + [Description("The current status of the last payment.")] + [EnumType(typeof(SubscriptionContractLastPaymentStatus))] + public string? lastPaymentStatus { get; set; } + /// ///The number of lines associated with the subscription contract. /// - [Description("The number of lines associated with the subscription contract.")] - [Obsolete("Use `linesCount` instead.")] - [NonNull] - public int? lineCount { get; set; } - + [Description("The number of lines associated with the subscription contract.")] + [Obsolete("Use `linesCount` instead.")] + [NonNull] + public int? lineCount { get; set; } + /// ///The list of subscription lines associated with the subscription contract. /// - [Description("The list of subscription lines associated with the subscription contract.")] - [NonNull] - public SubscriptionLineConnection? lines { get; set; } - + [Description("The list of subscription lines associated with the subscription contract.")] + [NonNull] + public SubscriptionLineConnection? lines { get; set; } + /// ///The number of lines associated with the subscription contract. /// - [Description("The number of lines associated with the subscription contract.")] - public Count? linesCount { get; set; } - + [Description("The number of lines associated with the subscription contract.")] + public Count? linesCount { get; set; } + /// ///The next billing date for the subscription contract. This field is managed by the apps. /// Alternatively you can utilize our /// [Billing Cycles APIs](https://shopify.dev/docs/apps/selling-strategies/subscriptions/billing-cycles), /// which provide auto-computed billing dates and additional functionalities. /// - [Description("The next billing date for the subscription contract. This field is managed by the apps.\n Alternatively you can utilize our\n [Billing Cycles APIs](https://shopify.dev/docs/apps/selling-strategies/subscriptions/billing-cycles),\n which provide auto-computed billing dates and additional functionalities.")] - public DateTime? nextBillingDate { get; set; } - + [Description("The next billing date for the subscription contract. This field is managed by the apps.\n Alternatively you can utilize our\n [Billing Cycles APIs](https://shopify.dev/docs/apps/selling-strategies/subscriptions/billing-cycles),\n which provide auto-computed billing dates and additional functionalities.")] + public DateTime? nextBillingDate { get; set; } + /// ///The note field that will be applied to the generated orders. /// - [Description("The note field that will be applied to the generated orders.")] - public string? note { get; set; } - + [Description("The note field that will be applied to the generated orders.")] + public string? note { get; set; } + /// ///A list of the subscription contract's orders. /// - [Description("A list of the subscription contract's orders.")] - [NonNull] - public OrderConnection? orders { get; set; } - + [Description("A list of the subscription contract's orders.")] + [NonNull] + public OrderConnection? orders { get; set; } + /// ///The order from which this contract originated. /// - [Description("The order from which this contract originated.")] - public Order? originOrder { get; set; } - + [Description("The order from which this contract originated.")] + public Order? originOrder { get; set; } + /// ///The revision id of the contract. /// - [Description("The revision id of the contract.")] - [NonNull] - public ulong? revisionId { get; set; } - + [Description("The revision id of the contract.")] + [NonNull] + public ulong? revisionId { get; set; } + /// ///The current status of the subscription contract. /// - [Description("The current status of the subscription contract.")] - [NonNull] - [EnumType(typeof(SubscriptionContractSubscriptionStatus))] - public string? status { get; set; } - + [Description("The current status of the subscription contract.")] + [NonNull] + [EnumType(typeof(SubscriptionContractSubscriptionStatus))] + public string? status { get; set; } + /// ///The date and time when the subscription contract was updated. /// - [Description("The date and time when the subscription contract was updated.")] - [NonNull] - public DateTime? updatedAt { get; set; } - } - + [Description("The date and time when the subscription contract was updated.")] + [NonNull] + public DateTime? updatedAt { get; set; } + } + /// ///Return type for `subscriptionContractActivate` mutation. /// - [Description("Return type for `subscriptionContractActivate` mutation.")] - public class SubscriptionContractActivatePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractActivate` mutation.")] + public class SubscriptionContractActivatePayload : GraphQLObject + { /// ///The new Subscription Contract object. /// - [Description("The new Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The new Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields required to create a Subscription Contract. /// - [Description("The input fields required to create a Subscription Contract.")] - public class SubscriptionContractAtomicCreateInput : GraphQLObject - { + [Description("The input fields required to create a Subscription Contract.")] + public class SubscriptionContractAtomicCreateInput : GraphQLObject + { /// ///The ID of the customer to associate with the subscription contract. /// - [Description("The ID of the customer to associate with the subscription contract.")] - [NonNull] - public string? customerId { get; set; } - + [Description("The ID of the customer to associate with the subscription contract.")] + [NonNull] + public string? customerId { get; set; } + /// ///The next billing date for the subscription contract.This field is independent of billing cycles.It stores metadata set by the apps, and thus not managed by Shopify.It can be queried from subscriptionContract.nextBillingDate. /// - [Description("The next billing date for the subscription contract.This field is independent of billing cycles.It stores metadata set by the apps, and thus not managed by Shopify.It can be queried from subscriptionContract.nextBillingDate.")] - [NonNull] - public DateTime? nextBillingDate { get; set; } - + [Description("The next billing date for the subscription contract.This field is independent of billing cycles.It stores metadata set by the apps, and thus not managed by Shopify.It can be queried from subscriptionContract.nextBillingDate.")] + [NonNull] + public DateTime? nextBillingDate { get; set; } + /// ///The expected date for the upcoming billing attempt, impacting the contract's billing cycle. For example: If a monthly contract was created on May 14th, the first cycle will end on June 14th, with subsequent cycles starting and ending on the 14th of each month. If a monthly contract was created on May 14th with `upcoming_billing_attempt_expected_date` set to May 30th, the first cycle will then end on May 30th, and subsequent cycles will end on the 30th of each month. Note: This field must match `next_billing_date` when specified. /// - [Description("The expected date for the upcoming billing attempt, impacting the contract's billing cycle. For example: If a monthly contract was created on May 14th, the first cycle will end on June 14th, with subsequent cycles starting and ending on the 14th of each month. If a monthly contract was created on May 14th with `upcoming_billing_attempt_expected_date` set to May 30th, the first cycle will then end on May 30th, and subsequent cycles will end on the 30th of each month. Note: This field must match `next_billing_date` when specified.")] - public DateTime? upcomingBillingAttemptExpectedDate { get; set; } - + [Description("The expected date for the upcoming billing attempt, impacting the contract's billing cycle. For example: If a monthly contract was created on May 14th, the first cycle will end on June 14th, with subsequent cycles starting and ending on the 14th of each month. If a monthly contract was created on May 14th with `upcoming_billing_attempt_expected_date` set to May 30th, the first cycle will then end on May 30th, and subsequent cycles will end on the 30th of each month. Note: This field must match `next_billing_date` when specified.")] + public DateTime? upcomingBillingAttemptExpectedDate { get; set; } + /// ///The currency used for the subscription contract. /// - [Description("The currency used for the subscription contract.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The currency used for the subscription contract.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///The attributes used as input for the Subscription Draft. /// - [Description("The attributes used as input for the Subscription Draft.")] - [NonNull] - public SubscriptionDraftInput? contract { get; set; } - + [Description("The attributes used as input for the Subscription Draft.")] + [NonNull] + public SubscriptionDraftInput? contract { get; set; } + /// ///A list of new Subscription Lines. /// - [Description("A list of new Subscription Lines.")] - [NonNull] - public IEnumerable? lines { get; set; } - + [Description("A list of new Subscription Lines.")] + [NonNull] + public IEnumerable? lines { get; set; } + /// ///A list of discount redeem codes to apply to the subscription contract. /// - [Description("A list of discount redeem codes to apply to the subscription contract.")] - public IEnumerable? discountCodes { get; set; } - } - + [Description("A list of discount redeem codes to apply to the subscription contract.")] + public IEnumerable? discountCodes { get; set; } + } + /// ///Return type for `subscriptionContractAtomicCreate` mutation. /// - [Description("Return type for `subscriptionContractAtomicCreate` mutation.")] - public class SubscriptionContractAtomicCreatePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractAtomicCreate` mutation.")] + public class SubscriptionContractAtomicCreatePayload : GraphQLObject + { /// ///The new Subscription Contract object. /// - [Description("The new Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The new Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents subscription contract common fields. /// - [Description("Represents subscription contract common fields.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionBillingCycleEditedContract), typeDiscriminator: "SubscriptionBillingCycleEditedContract")] - [JsonDerivedType(typeof(SubscriptionContract), typeDiscriminator: "SubscriptionContract")] - public interface ISubscriptionContractBase : IGraphQLObject - { - public SubscriptionBillingCycleEditedContract? AsSubscriptionBillingCycleEditedContract() => this as SubscriptionBillingCycleEditedContract; - public SubscriptionContract? AsSubscriptionContract() => this as SubscriptionContract; + [Description("Represents subscription contract common fields.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionBillingCycleEditedContract), typeDiscriminator: "SubscriptionBillingCycleEditedContract")] + [JsonDerivedType(typeof(SubscriptionContract), typeDiscriminator: "SubscriptionContract")] + public interface ISubscriptionContractBase : IGraphQLObject + { + public SubscriptionBillingCycleEditedContract? AsSubscriptionBillingCycleEditedContract() => this as SubscriptionBillingCycleEditedContract; + public SubscriptionContract? AsSubscriptionContract() => this as SubscriptionContract; /// ///The subscription app that the subscription contract is registered to. /// - [Description("The subscription app that the subscription contract is registered to.")] - public App? app { get; } - + [Description("The subscription app that the subscription contract is registered to.")] + public App? app { get; } + /// ///The URL of the subscription contract page on the subscription app. /// - [Description("The URL of the subscription contract page on the subscription app.")] - public string? appAdminUrl { get; } - + [Description("The URL of the subscription contract page on the subscription app.")] + public string? appAdminUrl { get; } + /// ///The currency that's used for the subscription contract. /// - [Description("The currency that's used for the subscription contract.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; } - + [Description("The currency that's used for the subscription contract.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; } + /// ///A list of the custom attributes to be added to the generated orders. /// - [Description("A list of the custom attributes to be added to the generated orders.")] - [NonNull] - public IEnumerable? customAttributes { get; } - + [Description("A list of the custom attributes to be added to the generated orders.")] + [NonNull] + public IEnumerable? customAttributes { get; } + /// ///The customer to whom the subscription contract belongs. /// - [Description("The customer to whom the subscription contract belongs.")] - public Customer? customer { get; } - + [Description("The customer to whom the subscription contract belongs.")] + public Customer? customer { get; } + /// ///The customer payment method that's used for the subscription contract. /// - [Description("The customer payment method that's used for the subscription contract.")] - public CustomerPaymentMethod? customerPaymentMethod { get; } - + [Description("The customer payment method that's used for the subscription contract.")] + public CustomerPaymentMethod? customerPaymentMethod { get; } + /// ///The delivery method for each billing of the subscription contract. /// - [Description("The delivery method for each billing of the subscription contract.")] - public ISubscriptionDeliveryMethod? deliveryMethod { get; } - + [Description("The delivery method for each billing of the subscription contract.")] + public ISubscriptionDeliveryMethod? deliveryMethod { get; } + /// ///The delivery price for each billing of the subscription contract. /// - [Description("The delivery price for each billing of the subscription contract.")] - [NonNull] - public MoneyV2? deliveryPrice { get; } - + [Description("The delivery price for each billing of the subscription contract.")] + [NonNull] + public MoneyV2? deliveryPrice { get; } + /// ///The list of subscription discounts associated with the subscription contract. /// - [Description("The list of subscription discounts associated with the subscription contract.")] - [NonNull] - public SubscriptionManualDiscountConnection? discounts { get; } - + [Description("The list of subscription discounts associated with the subscription contract.")] + [NonNull] + public SubscriptionManualDiscountConnection? discounts { get; } + /// ///The number of lines associated with the subscription contract. /// - [Description("The number of lines associated with the subscription contract.")] - [Obsolete("Use `linesCount` instead.")] - [NonNull] - public int? lineCount { get; } - + [Description("The number of lines associated with the subscription contract.")] + [Obsolete("Use `linesCount` instead.")] + [NonNull] + public int? lineCount { get; } + /// ///The list of subscription lines associated with the subscription contract. /// - [Description("The list of subscription lines associated with the subscription contract.")] - [NonNull] - public SubscriptionLineConnection? lines { get; } - + [Description("The list of subscription lines associated with the subscription contract.")] + [NonNull] + public SubscriptionLineConnection? lines { get; } + /// ///The number of lines associated with the subscription contract. /// - [Description("The number of lines associated with the subscription contract.")] - public Count? linesCount { get; } - + [Description("The number of lines associated with the subscription contract.")] + public Count? linesCount { get; } + /// ///The note field that will be applied to the generated orders. /// - [Description("The note field that will be applied to the generated orders.")] - public string? note { get; } - + [Description("The note field that will be applied to the generated orders.")] + public string? note { get; } + /// ///A list of the subscription contract's orders. /// - [Description("A list of the subscription contract's orders.")] - [NonNull] - public OrderConnection? orders { get; } - + [Description("A list of the subscription contract's orders.")] + [NonNull] + public OrderConnection? orders { get; } + /// ///The date and time when the subscription contract was updated. /// - [Description("The date and time when the subscription contract was updated.")] - [NonNull] - public DateTime? updatedAt { get; } - } - + [Description("The date and time when the subscription contract was updated.")] + [NonNull] + public DateTime? updatedAt { get; } + } + /// ///Return type for `subscriptionContractCancel` mutation. /// - [Description("Return type for `subscriptionContractCancel` mutation.")] - public class SubscriptionContractCancelPayload : GraphQLObject - { + [Description("Return type for `subscriptionContractCancel` mutation.")] + public class SubscriptionContractCancelPayload : GraphQLObject + { /// ///The new Subscription Contract object. /// - [Description("The new Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The new Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type for paginating through multiple SubscriptionContracts. /// - [Description("An auto-generated type for paginating through multiple SubscriptionContracts.")] - public class SubscriptionContractConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SubscriptionContracts.")] + public class SubscriptionContractConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SubscriptionContractEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SubscriptionContractEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SubscriptionContractEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields required to create a Subscription Contract. /// - [Description("The input fields required to create a Subscription Contract.")] - public class SubscriptionContractCreateInput : GraphQLObject - { + [Description("The input fields required to create a Subscription Contract.")] + public class SubscriptionContractCreateInput : GraphQLObject + { /// ///The ID of the customer to associate with the subscription contract. /// - [Description("The ID of the customer to associate with the subscription contract.")] - [NonNull] - public string? customerId { get; set; } - + [Description("The ID of the customer to associate with the subscription contract.")] + [NonNull] + public string? customerId { get; set; } + /// ///The next billing date for the subscription contract. /// - [Description("The next billing date for the subscription contract.")] - [NonNull] - public DateTime? nextBillingDate { get; set; } - + [Description("The next billing date for the subscription contract.")] + [NonNull] + public DateTime? nextBillingDate { get; set; } + /// ///The currency used for the subscription contract. /// - [Description("The currency used for the subscription contract.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The currency used for the subscription contract.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///The attributes used as input for the Subscription Draft. /// - [Description("The attributes used as input for the Subscription Draft.")] - [NonNull] - public SubscriptionDraftInput? contract { get; set; } - } - + [Description("The attributes used as input for the Subscription Draft.")] + [NonNull] + public SubscriptionDraftInput? contract { get; set; } + } + /// ///Return type for `subscriptionContractCreate` mutation. /// - [Description("Return type for `subscriptionContractCreate` mutation.")] - public class SubscriptionContractCreatePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractCreate` mutation.")] + public class SubscriptionContractCreatePayload : GraphQLObject + { /// ///The Subscription Contract object. /// - [Description("The Subscription Contract object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one SubscriptionContract and a cursor during pagination. /// - [Description("An auto-generated type which holds one SubscriptionContract and a cursor during pagination.")] - public class SubscriptionContractEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SubscriptionContract and a cursor during pagination.")] + public class SubscriptionContractEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SubscriptionContractEdge. /// - [Description("The item at the end of SubscriptionContractEdge.")] - [NonNull] - public SubscriptionContract? node { get; set; } - } - + [Description("The item at the end of SubscriptionContractEdge.")] + [NonNull] + public SubscriptionContract? node { get; set; } + } + /// ///Possible error codes that can be returned by `SubscriptionContractUserError`. /// - [Description("Possible error codes that can be returned by `SubscriptionContractUserError`.")] - public enum SubscriptionContractErrorCode - { + [Description("Possible error codes that can be returned by `SubscriptionContractUserError`.")] + public enum SubscriptionContractErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class SubscriptionContractErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class SubscriptionContractErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + } + /// ///Return type for `subscriptionContractExpire` mutation. /// - [Description("Return type for `subscriptionContractExpire` mutation.")] - public class SubscriptionContractExpirePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractExpire` mutation.")] + public class SubscriptionContractExpirePayload : GraphQLObject + { /// ///The new Subscription Contract object. /// - [Description("The new Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The new Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionContractFail` mutation. /// - [Description("Return type for `subscriptionContractFail` mutation.")] - public class SubscriptionContractFailPayload : GraphQLObject - { + [Description("Return type for `subscriptionContractFail` mutation.")] + public class SubscriptionContractFailPayload : GraphQLObject + { /// ///The new Subscription Contract object. /// - [Description("The new Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The new Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The possible values of the last billing error on a subscription contract. /// - [Description("The possible values of the last billing error on a subscription contract.")] - public enum SubscriptionContractLastBillingErrorType - { + [Description("The possible values of the last billing error on a subscription contract.")] + public enum SubscriptionContractLastBillingErrorType + { /// ///Subscription billing attempt error due to payment error. /// - [Description("Subscription billing attempt error due to payment error.")] - PAYMENT_ERROR, + [Description("Subscription billing attempt error due to payment error.")] + PAYMENT_ERROR, /// ///Subscription billing attempt error due to customer error. /// - [Description("Subscription billing attempt error due to customer error.")] - CUSTOMER_ERROR, + [Description("Subscription billing attempt error due to customer error.")] + CUSTOMER_ERROR, /// ///Subscription billing attempt error due to inventory error. /// - [Description("Subscription billing attempt error due to inventory error.")] - INVENTORY_ERROR, + [Description("Subscription billing attempt error due to inventory error.")] + INVENTORY_ERROR, /// ///All other billing attempt errors. /// - [Description("All other billing attempt errors.")] - OTHER, - } - - public static class SubscriptionContractLastBillingErrorTypeStringValues - { - public const string PAYMENT_ERROR = @"PAYMENT_ERROR"; - public const string CUSTOMER_ERROR = @"CUSTOMER_ERROR"; - public const string INVENTORY_ERROR = @"INVENTORY_ERROR"; - public const string OTHER = @"OTHER"; - } - + [Description("All other billing attempt errors.")] + OTHER, + } + + public static class SubscriptionContractLastBillingErrorTypeStringValues + { + public const string PAYMENT_ERROR = @"PAYMENT_ERROR"; + public const string CUSTOMER_ERROR = @"CUSTOMER_ERROR"; + public const string INVENTORY_ERROR = @"INVENTORY_ERROR"; + public const string OTHER = @"OTHER"; + } + /// ///The possible status values of the last payment on a subscription contract. /// - [Description("The possible status values of the last payment on a subscription contract.")] - public enum SubscriptionContractLastPaymentStatus - { + [Description("The possible status values of the last payment on a subscription contract.")] + public enum SubscriptionContractLastPaymentStatus + { /// ///Successful subscription billing attempt. /// - [Description("Successful subscription billing attempt.")] - SUCCEEDED, + [Description("Successful subscription billing attempt.")] + SUCCEEDED, /// ///Failed subscription billing attempt. /// - [Description("Failed subscription billing attempt.")] - FAILED, - } - - public static class SubscriptionContractLastPaymentStatusStringValues - { - public const string SUCCEEDED = @"SUCCEEDED"; - public const string FAILED = @"FAILED"; - } - + [Description("Failed subscription billing attempt.")] + FAILED, + } + + public static class SubscriptionContractLastPaymentStatusStringValues + { + public const string SUCCEEDED = @"SUCCEEDED"; + public const string FAILED = @"FAILED"; + } + /// ///Return type for `subscriptionContractPause` mutation. /// - [Description("Return type for `subscriptionContractPause` mutation.")] - public class SubscriptionContractPausePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractPause` mutation.")] + public class SubscriptionContractPausePayload : GraphQLObject + { /// ///The new Subscription Contract object. /// - [Description("The new Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The new Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields required to create a Subscription Contract. /// - [Description("The input fields required to create a Subscription Contract.")] - public class SubscriptionContractProductChangeInput : GraphQLObject - { + [Description("The input fields required to create a Subscription Contract.")] + public class SubscriptionContractProductChangeInput : GraphQLObject + { /// ///The ID of the product variant the subscription line refers to. /// - [Description("The ID of the product variant the subscription line refers to.")] - public string? productVariantId { get; set; } - + [Description("The ID of the product variant the subscription line refers to.")] + public string? productVariantId { get; set; } + /// ///The price of the product. /// - [Description("The price of the product.")] - public decimal? currentPrice { get; set; } - } - + [Description("The price of the product.")] + public decimal? currentPrice { get; set; } + } + /// ///Return type for `subscriptionContractProductChange` mutation. /// - [Description("Return type for `subscriptionContractProductChange` mutation.")] - public class SubscriptionContractProductChangePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractProductChange` mutation.")] + public class SubscriptionContractProductChangePayload : GraphQLObject + { /// ///The new Subscription Contract object. /// - [Description("The new Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The new Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The updated Subscription Line. /// - [Description("The updated Subscription Line.")] - public SubscriptionLine? lineUpdated { get; set; } - + [Description("The updated Subscription Line.")] + public SubscriptionLine? lineUpdated { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionContractSetNextBillingDate` mutation. /// - [Description("Return type for `subscriptionContractSetNextBillingDate` mutation.")] - public class SubscriptionContractSetNextBillingDatePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractSetNextBillingDate` mutation.")] + public class SubscriptionContractSetNextBillingDatePayload : GraphQLObject + { /// ///The updated Subscription Contract object. /// - [Description("The updated Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The updated Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible error codes that can be returned by `SubscriptionContractStatusUpdateUserError`. /// - [Description("Possible error codes that can be returned by `SubscriptionContractStatusUpdateUserError`.")] - public enum SubscriptionContractStatusUpdateErrorCode - { + [Description("Possible error codes that can be returned by `SubscriptionContractStatusUpdateUserError`.")] + public enum SubscriptionContractStatusUpdateErrorCode + { /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Subscription contract status cannot be changed once terminated. /// - [Description("Subscription contract status cannot be changed once terminated.")] - CONTRACT_TERMINATED, - } - - public static class SubscriptionContractStatusUpdateErrorCodeStringValues - { - public const string INVALID = @"INVALID"; - public const string CONTRACT_TERMINATED = @"CONTRACT_TERMINATED"; - } - + [Description("Subscription contract status cannot be changed once terminated.")] + CONTRACT_TERMINATED, + } + + public static class SubscriptionContractStatusUpdateErrorCodeStringValues + { + public const string INVALID = @"INVALID"; + public const string CONTRACT_TERMINATED = @"CONTRACT_TERMINATED"; + } + /// ///Represents a subscription contract status update error. /// - [Description("Represents a subscription contract status update error.")] - public class SubscriptionContractStatusUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("Represents a subscription contract status update error.")] + public class SubscriptionContractStatusUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SubscriptionContractStatusUpdateErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SubscriptionContractStatusUpdateErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The possible status values of a subscription. /// - [Description("The possible status values of a subscription.")] - public enum SubscriptionContractSubscriptionStatus - { + [Description("The possible status values of a subscription.")] + public enum SubscriptionContractSubscriptionStatus + { /// ///The contract is active and continuing per its policies. /// - [Description("The contract is active and continuing per its policies.")] - ACTIVE, + [Description("The contract is active and continuing per its policies.")] + ACTIVE, /// ///The contract is temporarily paused and is expected to resume in the future. /// - [Description("The contract is temporarily paused and is expected to resume in the future.")] - PAUSED, + [Description("The contract is temporarily paused and is expected to resume in the future.")] + PAUSED, /// ///The contract was ended by an unplanned customer action. /// - [Description("The contract was ended by an unplanned customer action.")] - CANCELLED, + [Description("The contract was ended by an unplanned customer action.")] + CANCELLED, /// ///The contract has ended per the expected circumstances. All billing and deliverycycles of the subscriptions were executed. /// - [Description("The contract has ended per the expected circumstances. All billing and deliverycycles of the subscriptions were executed.")] - EXPIRED, + [Description("The contract has ended per the expected circumstances. All billing and deliverycycles of the subscriptions were executed.")] + EXPIRED, /// ///The contract ended because billing failed and no further billing attempts are expected. /// - [Description("The contract ended because billing failed and no further billing attempts are expected.")] - FAILED, - } - - public static class SubscriptionContractSubscriptionStatusStringValues - { - public const string ACTIVE = @"ACTIVE"; - public const string PAUSED = @"PAUSED"; - public const string CANCELLED = @"CANCELLED"; - public const string EXPIRED = @"EXPIRED"; - public const string FAILED = @"FAILED"; - } - + [Description("The contract ended because billing failed and no further billing attempts are expected.")] + FAILED, + } + + public static class SubscriptionContractSubscriptionStatusStringValues + { + public const string ACTIVE = @"ACTIVE"; + public const string PAUSED = @"PAUSED"; + public const string CANCELLED = @"CANCELLED"; + public const string EXPIRED = @"EXPIRED"; + public const string FAILED = @"FAILED"; + } + /// ///Return type for `subscriptionContractUpdate` mutation. /// - [Description("Return type for `subscriptionContractUpdate` mutation.")] - public class SubscriptionContractUpdatePayload : GraphQLObject - { + [Description("Return type for `subscriptionContractUpdate` mutation.")] + public class SubscriptionContractUpdatePayload : GraphQLObject + { /// ///The Subscription Contract object. /// - [Description("The Subscription Contract object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a Subscription Contract error. /// - [Description("Represents a Subscription Contract error.")] - public class SubscriptionContractUserError : GraphQLObject, IDisplayableError - { + [Description("Represents a Subscription Contract error.")] + public class SubscriptionContractUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SubscriptionContractErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SubscriptionContractErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The set of valid sort keys for the SubscriptionContracts query. /// - [Description("The set of valid sort keys for the SubscriptionContracts query.")] - public enum SubscriptionContractsSortKeys - { + [Description("The set of valid sort keys for the SubscriptionContracts query.")] + public enum SubscriptionContractsSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `status` value. /// - [Description("Sort by the `status` value.")] - STATUS, + [Description("Sort by the `status` value.")] + STATUS, /// ///Sort by the `updated_at` value. /// - [Description("Sort by the `updated_at` value.")] - UPDATED_AT, - } - - public static class SubscriptionContractsSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string ID = @"ID"; - public const string STATUS = @"STATUS"; - public const string UPDATED_AT = @"UPDATED_AT"; - } - + [Description("Sort by the `updated_at` value.")] + UPDATED_AT, + } + + public static class SubscriptionContractsSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string ID = @"ID"; + public const string STATUS = @"STATUS"; + public const string UPDATED_AT = @"UPDATED_AT"; + } + /// ///Represents a Subscription Line Pricing Cycle Adjustment. /// - [Description("Represents a Subscription Line Pricing Cycle Adjustment.")] - public class SubscriptionCyclePriceAdjustment : GraphQLObject - { + [Description("Represents a Subscription Line Pricing Cycle Adjustment.")] + public class SubscriptionCyclePriceAdjustment : GraphQLObject + { /// ///Price adjustment type. /// - [Description("Price adjustment type.")] - [NonNull] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; set; } - + [Description("Price adjustment type.")] + [NonNull] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; set; } + /// ///Price adjustment value. /// - [Description("Price adjustment value.")] - [NonNull] - public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } - + [Description("Price adjustment value.")] + [NonNull] + public ISellingPlanPricingPolicyAdjustmentValue? adjustmentValue { get; set; } + /// ///The number of cycles required before this pricing policy applies. /// - [Description("The number of cycles required before this pricing policy applies.")] - [NonNull] - public int? afterCycle { get; set; } - + [Description("The number of cycles required before this pricing policy applies.")] + [NonNull] + public int? afterCycle { get; set; } + /// ///The computed price after the adjustments applied. /// - [Description("The computed price after the adjustments applied.")] - [NonNull] - public MoneyV2? computedPrice { get; set; } - } - + [Description("The computed price after the adjustments applied.")] + [NonNull] + public MoneyV2? computedPrice { get; set; } + } + /// ///Describes the delivery method to use to get the physical goods to the customer. /// - [Description("Describes the delivery method to use to get the physical goods to the customer.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionDeliveryMethodLocalDelivery), typeDiscriminator: "SubscriptionDeliveryMethodLocalDelivery")] - [JsonDerivedType(typeof(SubscriptionDeliveryMethodPickup), typeDiscriminator: "SubscriptionDeliveryMethodPickup")] - [JsonDerivedType(typeof(SubscriptionDeliveryMethodShipping), typeDiscriminator: "SubscriptionDeliveryMethodShipping")] - public interface ISubscriptionDeliveryMethod : IGraphQLObject - { - public SubscriptionDeliveryMethodLocalDelivery? AsSubscriptionDeliveryMethodLocalDelivery() => this as SubscriptionDeliveryMethodLocalDelivery; - public SubscriptionDeliveryMethodPickup? AsSubscriptionDeliveryMethodPickup() => this as SubscriptionDeliveryMethodPickup; - public SubscriptionDeliveryMethodShipping? AsSubscriptionDeliveryMethodShipping() => this as SubscriptionDeliveryMethodShipping; - } - + [Description("Describes the delivery method to use to get the physical goods to the customer.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionDeliveryMethodLocalDelivery), typeDiscriminator: "SubscriptionDeliveryMethodLocalDelivery")] + [JsonDerivedType(typeof(SubscriptionDeliveryMethodPickup), typeDiscriminator: "SubscriptionDeliveryMethodPickup")] + [JsonDerivedType(typeof(SubscriptionDeliveryMethodShipping), typeDiscriminator: "SubscriptionDeliveryMethodShipping")] + public interface ISubscriptionDeliveryMethod : IGraphQLObject + { + public SubscriptionDeliveryMethodLocalDelivery? AsSubscriptionDeliveryMethodLocalDelivery() => this as SubscriptionDeliveryMethodLocalDelivery; + public SubscriptionDeliveryMethodPickup? AsSubscriptionDeliveryMethodPickup() => this as SubscriptionDeliveryMethodPickup; + public SubscriptionDeliveryMethodShipping? AsSubscriptionDeliveryMethodShipping() => this as SubscriptionDeliveryMethodShipping; + } + /// ///Specifies delivery method fields for a subscription draft. ///This is an input union: one, and only one, field can be provided. ///The field provided will determine which delivery method is to be used. /// - [Description("Specifies delivery method fields for a subscription draft.\nThis is an input union: one, and only one, field can be provided.\nThe field provided will determine which delivery method is to be used.")] - public class SubscriptionDeliveryMethodInput : GraphQLObject - { + [Description("Specifies delivery method fields for a subscription draft.\nThis is an input union: one, and only one, field can be provided.\nThe field provided will determine which delivery method is to be used.")] + public class SubscriptionDeliveryMethodInput : GraphQLObject + { /// ///The input fields for the shipping delivery method. /// - [Description("The input fields for the shipping delivery method.")] - public SubscriptionDeliveryMethodShippingInput? shipping { get; set; } - + [Description("The input fields for the shipping delivery method.")] + public SubscriptionDeliveryMethodShippingInput? shipping { get; set; } + /// ///The input fields for the local delivery method. /// - [Description("The input fields for the local delivery method.")] - public SubscriptionDeliveryMethodLocalDeliveryInput? localDelivery { get; set; } - + [Description("The input fields for the local delivery method.")] + public SubscriptionDeliveryMethodLocalDeliveryInput? localDelivery { get; set; } + /// ///The input fields for the pickup delivery method. /// - [Description("The input fields for the pickup delivery method.")] - public SubscriptionDeliveryMethodPickupInput? pickup { get; set; } - } - + [Description("The input fields for the pickup delivery method.")] + public SubscriptionDeliveryMethodPickupInput? pickup { get; set; } + } + /// ///A subscription delivery method for local delivery. ///The other subscription delivery methods can be found in the `SubscriptionDeliveryMethod` union type. /// - [Description("A subscription delivery method for local delivery.\nThe other subscription delivery methods can be found in the `SubscriptionDeliveryMethod` union type.")] - public class SubscriptionDeliveryMethodLocalDelivery : GraphQLObject, ISubscriptionDeliveryMethod - { + [Description("A subscription delivery method for local delivery.\nThe other subscription delivery methods can be found in the `SubscriptionDeliveryMethod` union type.")] + public class SubscriptionDeliveryMethodLocalDelivery : GraphQLObject, ISubscriptionDeliveryMethod + { /// ///The address to deliver to. /// - [Description("The address to deliver to.")] - [NonNull] - public MailingAddress? address { get; set; } - + [Description("The address to deliver to.")] + [NonNull] + public MailingAddress? address { get; set; } + /// ///The details of the local delivery method to use. /// - [Description("The details of the local delivery method to use.")] - [NonNull] - public SubscriptionDeliveryMethodLocalDeliveryOption? localDeliveryOption { get; set; } - } - + [Description("The details of the local delivery method to use.")] + [NonNull] + public SubscriptionDeliveryMethodLocalDeliveryOption? localDeliveryOption { get; set; } + } + /// ///The input fields for a local delivery method. /// ///This input accepts partial input. When a field is not provided, ///its prior value is left unchanged. /// - [Description("The input fields for a local delivery method.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.")] - public class SubscriptionDeliveryMethodLocalDeliveryInput : GraphQLObject - { + [Description("The input fields for a local delivery method.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.")] + public class SubscriptionDeliveryMethodLocalDeliveryInput : GraphQLObject + { /// ///The address to deliver to. /// - [Description("The address to deliver to.")] - public MailingAddressInput? address { get; set; } - + [Description("The address to deliver to.")] + public MailingAddressInput? address { get; set; } + /// ///The details of the local delivery method to use. /// - [Description("The details of the local delivery method to use.")] - public SubscriptionDeliveryMethodLocalDeliveryOptionInput? localDeliveryOption { get; set; } - } - + [Description("The details of the local delivery method to use.")] + public SubscriptionDeliveryMethodLocalDeliveryOptionInput? localDeliveryOption { get; set; } + } + /// ///The selected delivery option on a subscription contract. /// - [Description("The selected delivery option on a subscription contract.")] - public class SubscriptionDeliveryMethodLocalDeliveryOption : GraphQLObject - { + [Description("The selected delivery option on a subscription contract.")] + public class SubscriptionDeliveryMethodLocalDeliveryOption : GraphQLObject + { /// ///A custom reference to the delivery method for use with automations. /// - [Description("A custom reference to the delivery method for use with automations.")] - public string? code { get; set; } - + [Description("A custom reference to the delivery method for use with automations.")] + public string? code { get; set; } + /// ///The details displayed to the customer to describe the local delivery option. /// - [Description("The details displayed to the customer to describe the local delivery option.")] - public string? description { get; set; } - + [Description("The details displayed to the customer to describe the local delivery option.")] + public string? description { get; set; } + /// ///The delivery instructions that the customer can provide to the merchant. /// - [Description("The delivery instructions that the customer can provide to the merchant.")] - public string? instructions { get; set; } - + [Description("The delivery instructions that the customer can provide to the merchant.")] + public string? instructions { get; set; } + /// ///The phone number that the customer provided to the merchant. ///Formatted using E.164 standard. For example, `+16135551111`. /// - [Description("The phone number that the customer provided to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.")] - [NonNull] - public string? phone { get; set; } - + [Description("The phone number that the customer provided to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.")] + [NonNull] + public string? phone { get; set; } + /// ///The presentment title of the local delivery option. /// - [Description("The presentment title of the local delivery option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the local delivery option.")] + public string? presentmentTitle { get; set; } + /// ///The title of the local delivery option. /// - [Description("The title of the local delivery option.")] - public string? title { get; set; } - } - + [Description("The title of the local delivery option.")] + public string? title { get; set; } + } + /// ///The input fields for local delivery option. /// - [Description("The input fields for local delivery option.")] - public class SubscriptionDeliveryMethodLocalDeliveryOptionInput : GraphQLObject - { + [Description("The input fields for local delivery option.")] + public class SubscriptionDeliveryMethodLocalDeliveryOptionInput : GraphQLObject + { /// ///The title of the local delivery option. /// - [Description("The title of the local delivery option.")] - public string? title { get; set; } - + [Description("The title of the local delivery option.")] + public string? title { get; set; } + /// ///The presentment title of the local delivery option. /// - [Description("The presentment title of the local delivery option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the local delivery option.")] + public string? presentmentTitle { get; set; } + /// ///The details displayed to the customer to describe the local delivery option. /// - [Description("The details displayed to the customer to describe the local delivery option.")] - public string? description { get; set; } - + [Description("The details displayed to the customer to describe the local delivery option.")] + public string? description { get; set; } + /// ///A custom reference to the delivery method for use with automations. /// - [Description("A custom reference to the delivery method for use with automations.")] - public string? code { get; set; } - + [Description("A custom reference to the delivery method for use with automations.")] + public string? code { get; set; } + /// ///The phone number that the customer must provide to the merchant. ///Formatted using E.164 standard. For example, `+16135551111`. /// - [Description("The phone number that the customer must provide to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.")] - [NonNull] - public string? phone { get; set; } - + [Description("The phone number that the customer must provide to the merchant.\nFormatted using E.164 standard. For example, `+16135551111`.")] + [NonNull] + public string? phone { get; set; } + /// ///The delivery instructions that the customer can provide to the merchant. /// - [Description("The delivery instructions that the customer can provide to the merchant.")] - public string? instructions { get; set; } - } - + [Description("The delivery instructions that the customer can provide to the merchant.")] + public string? instructions { get; set; } + } + /// ///A delivery method with a pickup option. /// - [Description("A delivery method with a pickup option.")] - public class SubscriptionDeliveryMethodPickup : GraphQLObject, ISubscriptionDeliveryMethod - { + [Description("A delivery method with a pickup option.")] + public class SubscriptionDeliveryMethodPickup : GraphQLObject, ISubscriptionDeliveryMethod + { /// ///The details of the pickup delivery method to use. /// - [Description("The details of the pickup delivery method to use.")] - [NonNull] - public SubscriptionDeliveryMethodPickupOption? pickupOption { get; set; } - } - + [Description("The details of the pickup delivery method to use.")] + [NonNull] + public SubscriptionDeliveryMethodPickupOption? pickupOption { get; set; } + } + /// ///The input fields for a pickup delivery method. /// ///This input accepts partial input. When a field is not provided, ///its prior value is left unchanged. /// - [Description("The input fields for a pickup delivery method.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.")] - public class SubscriptionDeliveryMethodPickupInput : GraphQLObject - { + [Description("The input fields for a pickup delivery method.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.")] + public class SubscriptionDeliveryMethodPickupInput : GraphQLObject + { /// ///The details of the pickup method to use. /// - [Description("The details of the pickup method to use.")] - public SubscriptionDeliveryMethodPickupOptionInput? pickupOption { get; set; } - } - + [Description("The details of the pickup method to use.")] + public SubscriptionDeliveryMethodPickupOptionInput? pickupOption { get; set; } + } + /// ///Represents the selected pickup option on a subscription contract. /// - [Description("Represents the selected pickup option on a subscription contract.")] - public class SubscriptionDeliveryMethodPickupOption : GraphQLObject - { + [Description("Represents the selected pickup option on a subscription contract.")] + public class SubscriptionDeliveryMethodPickupOption : GraphQLObject + { /// ///A custom reference to the delivery method for use with automations. /// - [Description("A custom reference to the delivery method for use with automations.")] - public string? code { get; set; } - + [Description("A custom reference to the delivery method for use with automations.")] + public string? code { get; set; } + /// ///The details displayed to the customer to describe the pickup option. /// - [Description("The details displayed to the customer to describe the pickup option.")] - public string? description { get; set; } - + [Description("The details displayed to the customer to describe the pickup option.")] + public string? description { get; set; } + /// ///The location where the customer will pick up the merchandise. /// - [Description("The location where the customer will pick up the merchandise.")] - [NonNull] - public Location? location { get; set; } - + [Description("The location where the customer will pick up the merchandise.")] + [NonNull] + public Location? location { get; set; } + /// ///The presentment title of the pickup option. /// - [Description("The presentment title of the pickup option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the pickup option.")] + public string? presentmentTitle { get; set; } + /// ///The title of the pickup option. /// - [Description("The title of the pickup option.")] - public string? title { get; set; } - } - + [Description("The title of the pickup option.")] + public string? title { get; set; } + } + /// ///The input fields for pickup option. /// - [Description("The input fields for pickup option.")] - public class SubscriptionDeliveryMethodPickupOptionInput : GraphQLObject - { + [Description("The input fields for pickup option.")] + public class SubscriptionDeliveryMethodPickupOptionInput : GraphQLObject + { /// ///The title of the pickup option. /// - [Description("The title of the pickup option.")] - public string? title { get; set; } - + [Description("The title of the pickup option.")] + public string? title { get; set; } + /// ///The presentment title of the pickup option. /// - [Description("The presentment title of the pickup option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the pickup option.")] + public string? presentmentTitle { get; set; } + /// ///The details displayed to the customer to describe the pickup option. /// - [Description("The details displayed to the customer to describe the pickup option.")] - public string? description { get; set; } - + [Description("The details displayed to the customer to describe the pickup option.")] + public string? description { get; set; } + /// ///A custom reference to the delivery method for use with automations. /// - [Description("A custom reference to the delivery method for use with automations.")] - public string? code { get; set; } - + [Description("A custom reference to the delivery method for use with automations.")] + public string? code { get; set; } + /// ///The ID of the pickup location. /// - [Description("The ID of the pickup location.")] - [NonNull] - public string? locationId { get; set; } - } - + [Description("The ID of the pickup location.")] + [NonNull] + public string? locationId { get; set; } + } + /// ///Represents a shipping delivery method: a mailing address and a shipping option. /// - [Description("Represents a shipping delivery method: a mailing address and a shipping option.")] - public class SubscriptionDeliveryMethodShipping : GraphQLObject, ISubscriptionDeliveryMethod - { + [Description("Represents a shipping delivery method: a mailing address and a shipping option.")] + public class SubscriptionDeliveryMethodShipping : GraphQLObject, ISubscriptionDeliveryMethod + { /// ///The address to ship to. /// - [Description("The address to ship to.")] - [NonNull] - public MailingAddress? address { get; set; } - + [Description("The address to ship to.")] + [NonNull] + public MailingAddress? address { get; set; } + /// ///The details of the shipping method to use. /// - [Description("The details of the shipping method to use.")] - [NonNull] - public SubscriptionDeliveryMethodShippingOption? shippingOption { get; set; } - } - + [Description("The details of the shipping method to use.")] + [NonNull] + public SubscriptionDeliveryMethodShippingOption? shippingOption { get; set; } + } + /// ///Specifies shipping delivery method fields. /// ///This input accepts partial input. When a field is not provided, ///its prior value is left unchanged. /// - [Description("Specifies shipping delivery method fields.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.")] - public class SubscriptionDeliveryMethodShippingInput : GraphQLObject - { + [Description("Specifies shipping delivery method fields.\n\nThis input accepts partial input. When a field is not provided,\nits prior value is left unchanged.")] + public class SubscriptionDeliveryMethodShippingInput : GraphQLObject + { /// ///The address to ship to. /// - [Description("The address to ship to.")] - public MailingAddressInput? address { get; set; } - + [Description("The address to ship to.")] + public MailingAddressInput? address { get; set; } + /// ///The details of the shipping method to use. /// - [Description("The details of the shipping method to use.")] - public SubscriptionDeliveryMethodShippingOptionInput? shippingOption { get; set; } - } - + [Description("The details of the shipping method to use.")] + public SubscriptionDeliveryMethodShippingOptionInput? shippingOption { get; set; } + } + /// ///Represents the selected shipping option on a subscription contract. /// - [Description("Represents the selected shipping option on a subscription contract.")] - public class SubscriptionDeliveryMethodShippingOption : GraphQLObject - { + [Description("Represents the selected shipping option on a subscription contract.")] + public class SubscriptionDeliveryMethodShippingOption : GraphQLObject + { /// ///The carrier service that's providing this shipping option. ///This field isn't currently supported and returns null. /// - [Description("The carrier service that's providing this shipping option.\nThis field isn't currently supported and returns null.")] - [Obsolete("This field has never been implemented.")] - public DeliveryCarrierService? carrierService { get; set; } - + [Description("The carrier service that's providing this shipping option.\nThis field isn't currently supported and returns null.")] + [Obsolete("This field has never been implemented.")] + public DeliveryCarrierService? carrierService { get; set; } + /// ///The code of the shipping option. /// - [Description("The code of the shipping option.")] - public string? code { get; set; } - + [Description("The code of the shipping option.")] + public string? code { get; set; } + /// ///The description of the shipping option. /// - [Description("The description of the shipping option.")] - public string? description { get; set; } - + [Description("The description of the shipping option.")] + public string? description { get; set; } + /// ///The presentment title of the shipping option. /// - [Description("The presentment title of the shipping option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the shipping option.")] + public string? presentmentTitle { get; set; } + /// ///The title of the shipping option. /// - [Description("The title of the shipping option.")] - public string? title { get; set; } - } - + [Description("The title of the shipping option.")] + public string? title { get; set; } + } + /// ///The input fields for shipping option. /// - [Description("The input fields for shipping option.")] - public class SubscriptionDeliveryMethodShippingOptionInput : GraphQLObject - { + [Description("The input fields for shipping option.")] + public class SubscriptionDeliveryMethodShippingOptionInput : GraphQLObject + { /// ///The title of the shipping option. /// - [Description("The title of the shipping option.")] - public string? title { get; set; } - + [Description("The title of the shipping option.")] + public string? title { get; set; } + /// ///The presentment title of the shipping option. /// - [Description("The presentment title of the shipping option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the shipping option.")] + public string? presentmentTitle { get; set; } + /// ///The description of the shipping option. /// - [Description("The description of the shipping option.")] - public string? description { get; set; } - + [Description("The description of the shipping option.")] + public string? description { get; set; } + /// ///The code of the shipping option. /// - [Description("The code of the shipping option.")] - public string? code { get; set; } - + [Description("The code of the shipping option.")] + public string? code { get; set; } + /// ///The carrier service ID of the shipping option. /// - [Description("The carrier service ID of the shipping option.")] - public string? carrierServiceId { get; set; } - } - + [Description("The carrier service ID of the shipping option.")] + public string? carrierServiceId { get; set; } + } + /// ///The delivery option for a subscription contract. /// - [Description("The delivery option for a subscription contract.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionLocalDeliveryOption), typeDiscriminator: "SubscriptionLocalDeliveryOption")] - [JsonDerivedType(typeof(SubscriptionPickupOption), typeDiscriminator: "SubscriptionPickupOption")] - [JsonDerivedType(typeof(SubscriptionShippingOption), typeDiscriminator: "SubscriptionShippingOption")] - public interface ISubscriptionDeliveryOption : IGraphQLObject - { - public SubscriptionLocalDeliveryOption? AsSubscriptionLocalDeliveryOption() => this as SubscriptionLocalDeliveryOption; - public SubscriptionPickupOption? AsSubscriptionPickupOption() => this as SubscriptionPickupOption; - public SubscriptionShippingOption? AsSubscriptionShippingOption() => this as SubscriptionShippingOption; + [Description("The delivery option for a subscription contract.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionLocalDeliveryOption), typeDiscriminator: "SubscriptionLocalDeliveryOption")] + [JsonDerivedType(typeof(SubscriptionPickupOption), typeDiscriminator: "SubscriptionPickupOption")] + [JsonDerivedType(typeof(SubscriptionShippingOption), typeDiscriminator: "SubscriptionShippingOption")] + public interface ISubscriptionDeliveryOption : IGraphQLObject + { + public SubscriptionLocalDeliveryOption? AsSubscriptionLocalDeliveryOption() => this as SubscriptionLocalDeliveryOption; + public SubscriptionPickupOption? AsSubscriptionPickupOption() => this as SubscriptionPickupOption; + public SubscriptionShippingOption? AsSubscriptionShippingOption() => this as SubscriptionShippingOption; /// ///The code of the local delivery option. /// - [Description("The code of the local delivery option.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the local delivery option.")] + [NonNull] + public string? code { get; set; } + /// ///The description of the local delivery option. /// - [Description("The description of the local delivery option.")] - public string? description { get; set; } - + [Description("The description of the local delivery option.")] + public string? description { get; set; } + /// ///Whether a phone number is required for the local delivery option. /// - [Description("Whether a phone number is required for the local delivery option.")] - [NonNull] - public bool? phoneRequired { get; set; } - + [Description("Whether a phone number is required for the local delivery option.")] + [NonNull] + public bool? phoneRequired { get; set; } + /// ///The presentment title of the local delivery option. /// - [Description("The presentment title of the local delivery option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the local delivery option.")] + public string? presentmentTitle { get; set; } + /// ///The price of the local delivery option. /// - [Description("The price of the local delivery option.")] - public MoneyV2? price { get; set; } - + [Description("The price of the local delivery option.")] + public MoneyV2? price { get; set; } + /// ///The title of the local delivery option. /// - [Description("The title of the local delivery option.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the local delivery option.")] + [NonNull] + public string? title { get; set; } + } + /// ///The result of the query to fetch delivery options for the subscription contract. /// - [Description("The result of the query to fetch delivery options for the subscription contract.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionDeliveryOptionResultFailure), typeDiscriminator: "SubscriptionDeliveryOptionResultFailure")] - [JsonDerivedType(typeof(SubscriptionDeliveryOptionResultSuccess), typeDiscriminator: "SubscriptionDeliveryOptionResultSuccess")] - public interface ISubscriptionDeliveryOptionResult : IGraphQLObject - { - public SubscriptionDeliveryOptionResultFailure? AsSubscriptionDeliveryOptionResultFailure() => this as SubscriptionDeliveryOptionResultFailure; - public SubscriptionDeliveryOptionResultSuccess? AsSubscriptionDeliveryOptionResultSuccess() => this as SubscriptionDeliveryOptionResultSuccess; - } - + [Description("The result of the query to fetch delivery options for the subscription contract.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionDeliveryOptionResultFailure), typeDiscriminator: "SubscriptionDeliveryOptionResultFailure")] + [JsonDerivedType(typeof(SubscriptionDeliveryOptionResultSuccess), typeDiscriminator: "SubscriptionDeliveryOptionResultSuccess")] + public interface ISubscriptionDeliveryOptionResult : IGraphQLObject + { + public SubscriptionDeliveryOptionResultFailure? AsSubscriptionDeliveryOptionResultFailure() => this as SubscriptionDeliveryOptionResultFailure; + public SubscriptionDeliveryOptionResultSuccess? AsSubscriptionDeliveryOptionResultSuccess() => this as SubscriptionDeliveryOptionResultSuccess; + } + /// ///A failure to find the available delivery options for a subscription contract. /// - [Description("A failure to find the available delivery options for a subscription contract.")] - public class SubscriptionDeliveryOptionResultFailure : GraphQLObject, ISubscriptionDeliveryOptionResult - { + [Description("A failure to find the available delivery options for a subscription contract.")] + public class SubscriptionDeliveryOptionResultFailure : GraphQLObject, ISubscriptionDeliveryOptionResult + { /// ///The reason for the failure. /// - [Description("The reason for the failure.")] - public string? message { get; set; } - } - + [Description("The reason for the failure.")] + public string? message { get; set; } + } + /// ///The delivery option for a subscription contract. /// - [Description("The delivery option for a subscription contract.")] - public class SubscriptionDeliveryOptionResultSuccess : GraphQLObject, ISubscriptionDeliveryOptionResult - { + [Description("The delivery option for a subscription contract.")] + public class SubscriptionDeliveryOptionResultSuccess : GraphQLObject, ISubscriptionDeliveryOptionResult + { /// ///The available delivery options. /// - [Description("The available delivery options.")] - [NonNull] - public IEnumerable? deliveryOptions { get; set; } - } - + [Description("The available delivery options.")] + [NonNull] + public IEnumerable? deliveryOptions { get; set; } + } + /// ///Represents a Subscription Delivery Policy. /// - [Description("Represents a Subscription Delivery Policy.")] - public class SubscriptionDeliveryPolicy : GraphQLObject - { + [Description("Represents a Subscription Delivery Policy.")] + public class SubscriptionDeliveryPolicy : GraphQLObject + { /// ///The specific anchor dates upon which the delivery interval calculations should be made. /// - [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] - [NonNull] - public IEnumerable? anchors { get; set; } - + [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] + [NonNull] + public IEnumerable? anchors { get; set; } + /// ///The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc). /// - [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] - [NonNull] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] + [NonNull] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of delivery intervals between deliveries. /// - [Description("The number of delivery intervals between deliveries.")] - [NonNull] - public int? intervalCount { get; set; } - } - + [Description("The number of delivery intervals between deliveries.")] + [NonNull] + public int? intervalCount { get; set; } + } + /// ///The input fields for a Subscription Delivery Policy. /// - [Description("The input fields for a Subscription Delivery Policy.")] - public class SubscriptionDeliveryPolicyInput : GraphQLObject - { + [Description("The input fields for a Subscription Delivery Policy.")] + public class SubscriptionDeliveryPolicyInput : GraphQLObject + { /// ///The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc). /// - [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] - [NonNull] - [EnumType(typeof(SellingPlanInterval))] - public string? interval { get; set; } - + [Description("The kind of interval that's associated with this schedule (e.g. Monthly, Weekly, etc).")] + [NonNull] + [EnumType(typeof(SellingPlanInterval))] + public string? interval { get; set; } + /// ///The number of billing intervals between invoices. /// - [Description("The number of billing intervals between invoices.")] - [NonNull] - public int? intervalCount { get; set; } - + [Description("The number of billing intervals between invoices.")] + [NonNull] + public int? intervalCount { get; set; } + /// ///The specific anchor dates upon which the delivery interval calculations should be made. /// - [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] - public IEnumerable? anchors { get; set; } - } - + [Description("The specific anchor dates upon which the delivery interval calculations should be made.")] + public IEnumerable? anchors { get; set; } + } + /// ///Subscription draft discount types. /// - [Description("Subscription draft discount types.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionAppliedCodeDiscount), typeDiscriminator: "SubscriptionAppliedCodeDiscount")] - [JsonDerivedType(typeof(SubscriptionManualDiscount), typeDiscriminator: "SubscriptionManualDiscount")] - public interface ISubscriptionDiscount : IGraphQLObject - { - public SubscriptionAppliedCodeDiscount? AsSubscriptionAppliedCodeDiscount() => this as SubscriptionAppliedCodeDiscount; - public SubscriptionManualDiscount? AsSubscriptionManualDiscount() => this as SubscriptionManualDiscount; + [Description("Subscription draft discount types.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionAppliedCodeDiscount), typeDiscriminator: "SubscriptionAppliedCodeDiscount")] + [JsonDerivedType(typeof(SubscriptionManualDiscount), typeDiscriminator: "SubscriptionManualDiscount")] + public interface ISubscriptionDiscount : IGraphQLObject + { + public SubscriptionAppliedCodeDiscount? AsSubscriptionAppliedCodeDiscount() => this as SubscriptionAppliedCodeDiscount; + public SubscriptionManualDiscount? AsSubscriptionManualDiscount() => this as SubscriptionManualDiscount; /// ///The unique ID. /// - [Description("The unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The reason that the discount on the subscription draft is rejected. /// - [Description("The reason that the discount on the subscription draft is rejected.")] - [EnumType(typeof(SubscriptionDiscountRejectionReason))] - public string? rejectionReason { get; set; } - } - + [Description("The reason that the discount on the subscription draft is rejected.")] + [EnumType(typeof(SubscriptionDiscountRejectionReason))] + public string? rejectionReason { get; set; } + } + /// ///Represents what a particular discount reduces from a line price. /// - [Description("Represents what a particular discount reduces from a line price.")] - public class SubscriptionDiscountAllocation : GraphQLObject - { + [Description("Represents what a particular discount reduces from a line price.")] + public class SubscriptionDiscountAllocation : GraphQLObject + { /// ///Allocation amount. /// - [Description("Allocation amount.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("Allocation amount.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///Discount that created the allocation. /// - [Description("Discount that created the allocation.")] - [NonNull] - public ISubscriptionDiscount? discount { get; set; } - } - + [Description("Discount that created the allocation.")] + [NonNull] + public ISubscriptionDiscount? discount { get; set; } + } + /// ///An auto-generated type for paginating through multiple SubscriptionDiscounts. /// - [Description("An auto-generated type for paginating through multiple SubscriptionDiscounts.")] - public class SubscriptionDiscountConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SubscriptionDiscounts.")] + public class SubscriptionDiscountConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SubscriptionDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SubscriptionDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SubscriptionDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one SubscriptionDiscount and a cursor during pagination. /// - [Description("An auto-generated type which holds one SubscriptionDiscount and a cursor during pagination.")] - public class SubscriptionDiscountEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SubscriptionDiscount and a cursor during pagination.")] + public class SubscriptionDiscountEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SubscriptionDiscountEdge. /// - [Description("The item at the end of SubscriptionDiscountEdge.")] - [NonNull] - public ISubscriptionDiscount? node { get; set; } - } - + [Description("The item at the end of SubscriptionDiscountEdge.")] + [NonNull] + public ISubscriptionDiscount? node { get; set; } + } + /// ///Represents the subscription lines the discount applies on. /// - [Description("Represents the subscription lines the discount applies on.")] - public class SubscriptionDiscountEntitledLines : GraphQLObject - { + [Description("Represents the subscription lines the discount applies on.")] + public class SubscriptionDiscountEntitledLines : GraphQLObject + { /// ///Specify whether the subscription discount will apply on all subscription lines. /// - [Description("Specify whether the subscription discount will apply on all subscription lines.")] - [NonNull] - public bool? all { get; set; } - + [Description("Specify whether the subscription discount will apply on all subscription lines.")] + [NonNull] + public bool? all { get; set; } + /// ///The list of subscription lines associated with the subscription discount. /// - [Description("The list of subscription lines associated with the subscription discount.")] - [NonNull] - public SubscriptionLineConnection? lines { get; set; } - } - + [Description("The list of subscription lines associated with the subscription discount.")] + [NonNull] + public SubscriptionLineConnection? lines { get; set; } + } + /// ///The value of the discount and how it will be applied. /// - [Description("The value of the discount and how it will be applied.")] - public class SubscriptionDiscountFixedAmountValue : GraphQLObject, ISubscriptionDiscountValue - { + [Description("The value of the discount and how it will be applied.")] + public class SubscriptionDiscountFixedAmountValue : GraphQLObject, ISubscriptionDiscountValue + { /// ///The fixed amount value of the discount. /// - [Description("The fixed amount value of the discount.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The fixed amount value of the discount.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///Whether the amount is applied per item. /// - [Description("Whether the amount is applied per item.")] - [NonNull] - public bool? appliesOnEachItem { get; set; } - } - + [Description("Whether the amount is applied per item.")] + [NonNull] + public bool? appliesOnEachItem { get; set; } + } + /// ///The percentage value of the discount. /// - [Description("The percentage value of the discount.")] - public class SubscriptionDiscountPercentageValue : GraphQLObject, ISubscriptionDiscountValue - { + [Description("The percentage value of the discount.")] + public class SubscriptionDiscountPercentageValue : GraphQLObject, ISubscriptionDiscountValue + { /// ///The percentage value of the discount. /// - [Description("The percentage value of the discount.")] - [NonNull] - public int? percentage { get; set; } - } - + [Description("The percentage value of the discount.")] + [NonNull] + public int? percentage { get; set; } + } + /// ///The reason a discount on a subscription draft was rejected. /// - [Description("The reason a discount on a subscription draft was rejected.")] - public enum SubscriptionDiscountRejectionReason - { + [Description("The reason a discount on a subscription draft was rejected.")] + public enum SubscriptionDiscountRejectionReason + { /// ///Discount code is not found. /// - [Description("Discount code is not found.")] - NOT_FOUND, + [Description("Discount code is not found.")] + NOT_FOUND, /// ///Discount does not apply to any of the given line items. /// - [Description("Discount does not apply to any of the given line items.")] - NO_ENTITLED_LINE_ITEMS, + [Description("Discount does not apply to any of the given line items.")] + NO_ENTITLED_LINE_ITEMS, /// ///Quantity of items does not qualify for the discount. /// - [Description("Quantity of items does not qualify for the discount.")] - QUANTITY_NOT_IN_RANGE, + [Description("Quantity of items does not qualify for the discount.")] + QUANTITY_NOT_IN_RANGE, /// ///Purchase amount of items does not qualify for the discount. /// - [Description("Purchase amount of items does not qualify for the discount.")] - PURCHASE_NOT_IN_RANGE, + [Description("Purchase amount of items does not qualify for the discount.")] + PURCHASE_NOT_IN_RANGE, /// ///Given customer does not qualify for the discount. /// - [Description("Given customer does not qualify for the discount.")] - CUSTOMER_NOT_ELIGIBLE, + [Description("Given customer does not qualify for the discount.")] + CUSTOMER_NOT_ELIGIBLE, /// ///Discount usage limit has been reached. /// - [Description("Discount usage limit has been reached.")] - USAGE_LIMIT_REACHED, + [Description("Discount usage limit has been reached.")] + USAGE_LIMIT_REACHED, /// ///Customer usage limit has been reached. /// - [Description("Customer usage limit has been reached.")] - CUSTOMER_USAGE_LIMIT_REACHED, + [Description("Customer usage limit has been reached.")] + CUSTOMER_USAGE_LIMIT_REACHED, /// ///Discount is inactive. /// - [Description("Discount is inactive.")] - CURRENTLY_INACTIVE, + [Description("Discount is inactive.")] + CURRENTLY_INACTIVE, /// ///No applicable shipping lines. /// - [Description("No applicable shipping lines.")] - NO_ENTITLED_SHIPPING_LINES, + [Description("No applicable shipping lines.")] + NO_ENTITLED_SHIPPING_LINES, /// ///Purchase type does not qualify for the discount. /// - [Description("Purchase type does not qualify for the discount.")] - INCOMPATIBLE_PURCHASE_TYPE, + [Description("Purchase type does not qualify for the discount.")] + INCOMPATIBLE_PURCHASE_TYPE, /// ///Internal error during discount code validation. /// - [Description("Internal error during discount code validation.")] - INTERNAL_ERROR, - } - - public static class SubscriptionDiscountRejectionReasonStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string NO_ENTITLED_LINE_ITEMS = @"NO_ENTITLED_LINE_ITEMS"; - public const string QUANTITY_NOT_IN_RANGE = @"QUANTITY_NOT_IN_RANGE"; - public const string PURCHASE_NOT_IN_RANGE = @"PURCHASE_NOT_IN_RANGE"; - public const string CUSTOMER_NOT_ELIGIBLE = @"CUSTOMER_NOT_ELIGIBLE"; - public const string USAGE_LIMIT_REACHED = @"USAGE_LIMIT_REACHED"; - public const string CUSTOMER_USAGE_LIMIT_REACHED = @"CUSTOMER_USAGE_LIMIT_REACHED"; - public const string CURRENTLY_INACTIVE = @"CURRENTLY_INACTIVE"; - public const string NO_ENTITLED_SHIPPING_LINES = @"NO_ENTITLED_SHIPPING_LINES"; - public const string INCOMPATIBLE_PURCHASE_TYPE = @"INCOMPATIBLE_PURCHASE_TYPE"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - } - + [Description("Internal error during discount code validation.")] + INTERNAL_ERROR, + } + + public static class SubscriptionDiscountRejectionReasonStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string NO_ENTITLED_LINE_ITEMS = @"NO_ENTITLED_LINE_ITEMS"; + public const string QUANTITY_NOT_IN_RANGE = @"QUANTITY_NOT_IN_RANGE"; + public const string PURCHASE_NOT_IN_RANGE = @"PURCHASE_NOT_IN_RANGE"; + public const string CUSTOMER_NOT_ELIGIBLE = @"CUSTOMER_NOT_ELIGIBLE"; + public const string USAGE_LIMIT_REACHED = @"USAGE_LIMIT_REACHED"; + public const string CUSTOMER_USAGE_LIMIT_REACHED = @"CUSTOMER_USAGE_LIMIT_REACHED"; + public const string CURRENTLY_INACTIVE = @"CURRENTLY_INACTIVE"; + public const string NO_ENTITLED_SHIPPING_LINES = @"NO_ENTITLED_SHIPPING_LINES"; + public const string INCOMPATIBLE_PURCHASE_TYPE = @"INCOMPATIBLE_PURCHASE_TYPE"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + } + /// ///The value of the discount and how it will be applied. /// - [Description("The value of the discount and how it will be applied.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionDiscountFixedAmountValue), typeDiscriminator: "SubscriptionDiscountFixedAmountValue")] - [JsonDerivedType(typeof(SubscriptionDiscountPercentageValue), typeDiscriminator: "SubscriptionDiscountPercentageValue")] - public interface ISubscriptionDiscountValue : IGraphQLObject - { - public SubscriptionDiscountFixedAmountValue? AsSubscriptionDiscountFixedAmountValue() => this as SubscriptionDiscountFixedAmountValue; - public SubscriptionDiscountPercentageValue? AsSubscriptionDiscountPercentageValue() => this as SubscriptionDiscountPercentageValue; - } - + [Description("The value of the discount and how it will be applied.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionDiscountFixedAmountValue), typeDiscriminator: "SubscriptionDiscountFixedAmountValue")] + [JsonDerivedType(typeof(SubscriptionDiscountPercentageValue), typeDiscriminator: "SubscriptionDiscountPercentageValue")] + public interface ISubscriptionDiscountValue : IGraphQLObject + { + public SubscriptionDiscountFixedAmountValue? AsSubscriptionDiscountFixedAmountValue() => this as SubscriptionDiscountFixedAmountValue; + public SubscriptionDiscountPercentageValue? AsSubscriptionDiscountPercentageValue() => this as SubscriptionDiscountPercentageValue; + } + /// ///The `SubscriptionDraft` object represents a draft version of a ///[subscription contract](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionContract) @@ -125493,937 +125493,937 @@ public interface ISubscriptionDiscountValue : IGraphQLObject ///[update](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/update-a-subscription-contract), and ///[combine](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/combine-subscription-contracts) subscription contracts. /// - [Description("The `SubscriptionDraft` object represents a draft version of a\n[subscription contract](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionContract)\nbefore it's committed. It serves as a staging area for making changes to an existing subscription or creating\na new one. The draft allows you to preview and modify various aspects of a subscription before applying the changes.\n\nUse the `SubscriptionDraft` object to:\n\n- Add, remove, or modify subscription lines and their quantities\n- Manage discounts (add, remove, or update manual and code-based discounts)\n- Configure delivery options and shipping methods\n- Set up billing and delivery policies\n- Manage customer payment methods\n- Add custom attributes and notes to generated orders\n- Configure billing cycles and next billing dates\n- Preview the projected state of the subscription\n\nEach `SubscriptionDraft` object maintains a projected state that shows how the subscription will look after the changes\nare committed. This allows you to preview the impact of your modifications before applying them. The draft can be\nassociated with an existing subscription contract (for modifications) or used to create a new subscription.\n\nThe draft remains in a draft state until it's committed, at which point the changes are applied to the subscription\ncontract and the draft is no longer accessible.\n\nLearn more about\n[how subscription contracts work](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts)\nand how to [build](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/build-a-subscription-contract),\n[update](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/update-a-subscription-contract), and\n[combine](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/combine-subscription-contracts) subscription contracts.")] - public class SubscriptionDraft : GraphQLObject, INode - { + [Description("The `SubscriptionDraft` object represents a draft version of a\n[subscription contract](https://shopify.dev/docs/api/admin-graphql/latest/objects/SubscriptionContract)\nbefore it's committed. It serves as a staging area for making changes to an existing subscription or creating\na new one. The draft allows you to preview and modify various aspects of a subscription before applying the changes.\n\nUse the `SubscriptionDraft` object to:\n\n- Add, remove, or modify subscription lines and their quantities\n- Manage discounts (add, remove, or update manual and code-based discounts)\n- Configure delivery options and shipping methods\n- Set up billing and delivery policies\n- Manage customer payment methods\n- Add custom attributes and notes to generated orders\n- Configure billing cycles and next billing dates\n- Preview the projected state of the subscription\n\nEach `SubscriptionDraft` object maintains a projected state that shows how the subscription will look after the changes\nare committed. This allows you to preview the impact of your modifications before applying them. The draft can be\nassociated with an existing subscription contract (for modifications) or used to create a new subscription.\n\nThe draft remains in a draft state until it's committed, at which point the changes are applied to the subscription\ncontract and the draft is no longer accessible.\n\nLearn more about\n[how subscription contracts work](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts)\nand how to [build](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/build-a-subscription-contract),\n[update](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/update-a-subscription-contract), and\n[combine](https://shopify.dev/docs/apps/build/purchase-options/subscriptions/contracts/combine-subscription-contracts) subscription contracts.")] + public class SubscriptionDraft : GraphQLObject, INode + { /// ///The billing cycle that the subscription contract will be associated with. /// - [Description("The billing cycle that the subscription contract will be associated with.")] - public SubscriptionBillingCycle? billingCycle { get; set; } - + [Description("The billing cycle that the subscription contract will be associated with.")] + public SubscriptionBillingCycle? billingCycle { get; set; } + /// ///The billing policy for the subscription contract. /// - [Description("The billing policy for the subscription contract.")] - [NonNull] - public SubscriptionBillingPolicy? billingPolicy { get; set; } - + [Description("The billing policy for the subscription contract.")] + [NonNull] + public SubscriptionBillingPolicy? billingPolicy { get; set; } + /// ///The billing cycles of the contracts that will be concatenated to the subscription contract. /// - [Description("The billing cycles of the contracts that will be concatenated to the subscription contract.")] - [NonNull] - public SubscriptionBillingCycleConnection? concatenatedBillingCycles { get; set; } - + [Description("The billing cycles of the contracts that will be concatenated to the subscription contract.")] + [NonNull] + public SubscriptionBillingCycleConnection? concatenatedBillingCycles { get; set; } + /// ///The currency used for the subscription contract. /// - [Description("The currency used for the subscription contract.")] - [NonNull] - [EnumType(typeof(CurrencyCode))] - public string? currencyCode { get; set; } - + [Description("The currency used for the subscription contract.")] + [NonNull] + [EnumType(typeof(CurrencyCode))] + public string? currencyCode { get; set; } + /// ///A list of the custom attributes to be added to the generated orders. /// - [Description("A list of the custom attributes to be added to the generated orders.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("A list of the custom attributes to be added to the generated orders.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///The customer to whom the subscription contract belongs. /// - [Description("The customer to whom the subscription contract belongs.")] - [NonNull] - public Customer? customer { get; set; } - + [Description("The customer to whom the subscription contract belongs.")] + [NonNull] + public Customer? customer { get; set; } + /// ///The customer payment method used for the subscription contract. /// - [Description("The customer payment method used for the subscription contract.")] - public CustomerPaymentMethod? customerPaymentMethod { get; set; } - + [Description("The customer payment method used for the subscription contract.")] + public CustomerPaymentMethod? customerPaymentMethod { get; set; } + /// ///The delivery method for each billing of the subscription contract. /// - [Description("The delivery method for each billing of the subscription contract.")] - public ISubscriptionDeliveryMethod? deliveryMethod { get; set; } - + [Description("The delivery method for each billing of the subscription contract.")] + public ISubscriptionDeliveryMethod? deliveryMethod { get; set; } + /// ///The available delivery options for a given delivery address. Returns `null` for pending requests. /// - [Description("The available delivery options for a given delivery address. Returns `null` for pending requests.")] - public ISubscriptionDeliveryOptionResult? deliveryOptions { get; set; } - + [Description("The available delivery options for a given delivery address. Returns `null` for pending requests.")] + public ISubscriptionDeliveryOptionResult? deliveryOptions { get; set; } + /// ///The delivery policy for the subscription contract. /// - [Description("The delivery policy for the subscription contract.")] - [NonNull] - public SubscriptionDeliveryPolicy? deliveryPolicy { get; set; } - + [Description("The delivery policy for the subscription contract.")] + [NonNull] + public SubscriptionDeliveryPolicy? deliveryPolicy { get; set; } + /// ///The delivery price for each billing the subscription contract. /// - [Description("The delivery price for each billing the subscription contract.")] - public MoneyV2? deliveryPrice { get; set; } - + [Description("The delivery price for each billing the subscription contract.")] + public MoneyV2? deliveryPrice { get; set; } + /// ///The list of subscription discounts which will be associated with the subscription contract. /// - [Description("The list of subscription discounts which will be associated with the subscription contract.")] - [NonNull] - public SubscriptionDiscountConnection? discounts { get; set; } - + [Description("The list of subscription discounts which will be associated with the subscription contract.")] + [NonNull] + public SubscriptionDiscountConnection? discounts { get; set; } + /// ///The list of subscription discounts to be added to the subscription contract. /// - [Description("The list of subscription discounts to be added to the subscription contract.")] - [NonNull] - public SubscriptionDiscountConnection? discountsAdded { get; set; } - + [Description("The list of subscription discounts to be added to the subscription contract.")] + [NonNull] + public SubscriptionDiscountConnection? discountsAdded { get; set; } + /// ///The list of subscription discounts to be removed from the subscription contract. /// - [Description("The list of subscription discounts to be removed from the subscription contract.")] - [NonNull] - public SubscriptionDiscountConnection? discountsRemoved { get; set; } - + [Description("The list of subscription discounts to be removed from the subscription contract.")] + [NonNull] + public SubscriptionDiscountConnection? discountsRemoved { get; set; } + /// ///The list of subscription discounts to be updated on the subscription contract. /// - [Description("The list of subscription discounts to be updated on the subscription contract.")] - [NonNull] - public SubscriptionDiscountConnection? discountsUpdated { get; set; } - + [Description("The list of subscription discounts to be updated on the subscription contract.")] + [NonNull] + public SubscriptionDiscountConnection? discountsUpdated { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The list of subscription lines which will be associated with the subscription contract. /// - [Description("The list of subscription lines which will be associated with the subscription contract.")] - [NonNull] - public SubscriptionLineConnection? lines { get; set; } - + [Description("The list of subscription lines which will be associated with the subscription contract.")] + [NonNull] + public SubscriptionLineConnection? lines { get; set; } + /// ///The list of subscription lines to be added to the subscription contract. /// - [Description("The list of subscription lines to be added to the subscription contract.")] - [NonNull] - public SubscriptionLineConnection? linesAdded { get; set; } - + [Description("The list of subscription lines to be added to the subscription contract.")] + [NonNull] + public SubscriptionLineConnection? linesAdded { get; set; } + /// ///The list of subscription lines to be removed from the subscription contract. /// - [Description("The list of subscription lines to be removed from the subscription contract.")] - [NonNull] - public SubscriptionLineConnection? linesRemoved { get; set; } - + [Description("The list of subscription lines to be removed from the subscription contract.")] + [NonNull] + public SubscriptionLineConnection? linesRemoved { get; set; } + /// ///The next billing date for the subscription contract. /// - [Description("The next billing date for the subscription contract.")] - public DateTime? nextBillingDate { get; set; } - + [Description("The next billing date for the subscription contract.")] + public DateTime? nextBillingDate { get; set; } + /// ///The note field that will be applied to the generated orders. /// - [Description("The note field that will be applied to the generated orders.")] - public string? note { get; set; } - + [Description("The note field that will be applied to the generated orders.")] + public string? note { get; set; } + /// ///The original subscription contract. /// - [Description("The original subscription contract.")] - public SubscriptionContract? originalContract { get; set; } - + [Description("The original subscription contract.")] + public SubscriptionContract? originalContract { get; set; } + /// ///Available Shipping Options for a given delivery address. Returns NULL for pending requests. /// - [Description("Available Shipping Options for a given delivery address. Returns NULL for pending requests.")] - [Obsolete("Use `deliveryOptions` instead.")] - public ISubscriptionShippingOptionResult? shippingOptions { get; set; } - + [Description("Available Shipping Options for a given delivery address. Returns NULL for pending requests.")] + [Obsolete("Use `deliveryOptions` instead.")] + public ISubscriptionShippingOptionResult? shippingOptions { get; set; } + /// ///The current status of the subscription contract. /// - [Description("The current status of the subscription contract.")] - [EnumType(typeof(SubscriptionContractSubscriptionStatus))] - public string? status { get; set; } - } - + [Description("The current status of the subscription contract.")] + [EnumType(typeof(SubscriptionContractSubscriptionStatus))] + public string? status { get; set; } + } + /// ///Return type for `subscriptionDraftCommit` mutation. /// - [Description("Return type for `subscriptionDraftCommit` mutation.")] - public class SubscriptionDraftCommitPayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftCommit` mutation.")] + public class SubscriptionDraftCommitPayload : GraphQLObject + { /// ///The updated Subscription Contract object. /// - [Description("The updated Subscription Contract object.")] - public SubscriptionContract? contract { get; set; } - + [Description("The updated Subscription Contract object.")] + public SubscriptionContract? contract { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftDiscountAdd` mutation. /// - [Description("Return type for `subscriptionDraftDiscountAdd` mutation.")] - public class SubscriptionDraftDiscountAddPayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftDiscountAdd` mutation.")] + public class SubscriptionDraftDiscountAddPayload : GraphQLObject + { /// ///The added Subscription Discount. /// - [Description("The added Subscription Discount.")] - public SubscriptionManualDiscount? discountAdded { get; set; } - + [Description("The added Subscription Discount.")] + public SubscriptionManualDiscount? discountAdded { get; set; } + /// ///The Subscription Contract draft object. /// - [Description("The Subscription Contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftDiscountCodeApply` mutation. /// - [Description("Return type for `subscriptionDraftDiscountCodeApply` mutation.")] - public class SubscriptionDraftDiscountCodeApplyPayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftDiscountCodeApply` mutation.")] + public class SubscriptionDraftDiscountCodeApplyPayload : GraphQLObject + { /// ///The added subscription discount. /// - [Description("The added subscription discount.")] - public SubscriptionAppliedCodeDiscount? appliedDiscount { get; set; } - + [Description("The added subscription discount.")] + public SubscriptionAppliedCodeDiscount? appliedDiscount { get; set; } + /// ///The subscription contract draft object. /// - [Description("The subscription contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The subscription contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftDiscountRemove` mutation. /// - [Description("Return type for `subscriptionDraftDiscountRemove` mutation.")] - public class SubscriptionDraftDiscountRemovePayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftDiscountRemove` mutation.")] + public class SubscriptionDraftDiscountRemovePayload : GraphQLObject + { /// ///The removed subscription draft discount. /// - [Description("The removed subscription draft discount.")] - public ISubscriptionDiscount? discountRemoved { get; set; } - + [Description("The removed subscription draft discount.")] + public ISubscriptionDiscount? discountRemoved { get; set; } + /// ///The subscription contract draft object. /// - [Description("The subscription contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The subscription contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftDiscountUpdate` mutation. /// - [Description("Return type for `subscriptionDraftDiscountUpdate` mutation.")] - public class SubscriptionDraftDiscountUpdatePayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftDiscountUpdate` mutation.")] + public class SubscriptionDraftDiscountUpdatePayload : GraphQLObject + { /// ///The updated Subscription Discount. /// - [Description("The updated Subscription Discount.")] - public SubscriptionManualDiscount? discountUpdated { get; set; } - + [Description("The updated Subscription Discount.")] + public SubscriptionManualDiscount? discountUpdated { get; set; } + /// ///The Subscription Contract draft object. /// - [Description("The Subscription Contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible error codes that can be returned by `SubscriptionDraftUserError`. /// - [Description("Possible error codes that can be returned by `SubscriptionDraftUserError`.")] - public enum SubscriptionDraftErrorCode - { + [Description("Possible error codes that can be returned by `SubscriptionDraftUserError`.")] + public enum SubscriptionDraftErrorCode + { /// ///This line has already been removed. /// - [Description("This line has already been removed.")] - ALREADY_REMOVED, + [Description("This line has already been removed.")] + ALREADY_REMOVED, /// ///Input value is not present. /// - [Description("Input value is not present.")] - PRESENCE, + [Description("Input value is not present.")] + PRESENCE, /// ///Subscription draft has been already committed. /// - [Description("Subscription draft has been already committed.")] - COMMITTED, + [Description("Subscription draft has been already committed.")] + COMMITTED, /// ///Value is not in range. /// - [Description("Value is not in range.")] - NOT_IN_RANGE, + [Description("Value is not in range.")] + NOT_IN_RANGE, /// ///The value is not an integer. /// - [Description("The value is not an integer.")] - NOT_AN_INTEGER, + [Description("The value is not an integer.")] + NOT_AN_INTEGER, /// ///The maximum number of cycles must be greater than the minimum. /// - [Description("The maximum number of cycles must be greater than the minimum.")] - SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES, + [Description("The maximum number of cycles must be greater than the minimum.")] + SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES, /// ///The delivery policy interval must be a multiple of the billing policy interval. /// - [Description("The delivery policy interval must be a multiple of the billing policy interval.")] - DELIVERY_MUST_BE_MULTIPLE_OF_BILLING, + [Description("The delivery policy interval must be a multiple of the billing policy interval.")] + DELIVERY_MUST_BE_MULTIPLE_OF_BILLING, /// ///Next billing date is invalid. /// - [Description("Next billing date is invalid.")] - INVALID_BILLING_DATE, + [Description("Next billing date is invalid.")] + INVALID_BILLING_DATE, /// ///Note length is too long. /// - [Description("Note length is too long.")] - INVALID_NOTE_LENGTH, + [Description("Note length is too long.")] + INVALID_NOTE_LENGTH, /// ///Must have at least one line. /// - [Description("Must have at least one line.")] - INVALID_LINES, + [Description("Must have at least one line.")] + INVALID_LINES, /// ///Discount must have at least one entitled line. /// - [Description("Discount must have at least one entitled line.")] - NO_ENTITLED_LINES, + [Description("Discount must have at least one entitled line.")] + NO_ENTITLED_LINES, /// ///The customer doesn't exist. /// - [Description("The customer doesn't exist.")] - CUSTOMER_DOES_NOT_EXIST, + [Description("The customer doesn't exist.")] + CUSTOMER_DOES_NOT_EXIST, /// ///The payment method customer must be the same as the contract customer. /// - [Description("The payment method customer must be the same as the contract customer.")] - CUSTOMER_MISMATCH, + [Description("The payment method customer must be the same as the contract customer.")] + CUSTOMER_MISMATCH, /// ///The delivery method can't be blank if any lines require shipping. /// - [Description("The delivery method can't be blank if any lines require shipping.")] - DELIVERY_METHOD_REQUIRED, + [Description("The delivery method can't be blank if any lines require shipping.")] + DELIVERY_METHOD_REQUIRED, /// ///The local delivery options must be set for local delivery. /// - [Description("The local delivery options must be set for local delivery.")] - MISSING_LOCAL_DELIVERY_OPTIONS, + [Description("The local delivery options must be set for local delivery.")] + MISSING_LOCAL_DELIVERY_OPTIONS, /// ///The after cycle attribute must be unique between cycle discounts. /// - [Description("The after cycle attribute must be unique between cycle discounts.")] - CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE, + [Description("The after cycle attribute must be unique between cycle discounts.")] + CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE, /// ///The adjustment value must the same type as the adjustment type. /// - [Description("The adjustment value must the same type as the adjustment type.")] - INVALID_ADJUSTMENT_TYPE, + [Description("The adjustment value must the same type as the adjustment type.")] + INVALID_ADJUSTMENT_TYPE, /// ///The adjustment value must be either fixed_value or percentage. /// - [Description("The adjustment value must be either fixed_value or percentage.")] - INVALID_ADJUSTMENT_VALUE, + [Description("The adjustment value must be either fixed_value or percentage.")] + INVALID_ADJUSTMENT_VALUE, /// ///Another operation updated the contract concurrently as the commit was in progress. /// - [Description("Another operation updated the contract concurrently as the commit was in progress.")] - STALE_CONTRACT, + [Description("Another operation updated the contract concurrently as the commit was in progress.")] + STALE_CONTRACT, /// ///Currency is not enabled. /// - [Description("Currency is not enabled.")] - CURRENCY_NOT_ENABLED, + [Description("Currency is not enabled.")] + CURRENCY_NOT_ENABLED, /// ///Cannot update a subscription contract with a current or upcoming billing cycle contract edit. /// - [Description("Cannot update a subscription contract with a current or upcoming billing cycle contract edit.")] - HAS_FUTURE_EDITS, + [Description("Cannot update a subscription contract with a current or upcoming billing cycle contract edit.")] + HAS_FUTURE_EDITS, /// ///Cannot commit a billing cycle contract draft with this mutation. Please use SubscriptionBillingCycleContractDraftCommit. /// - [Description("Cannot commit a billing cycle contract draft with this mutation. Please use SubscriptionBillingCycleContractDraftCommit.")] - BILLING_CYCLE_PRESENT, + [Description("Cannot commit a billing cycle contract draft with this mutation. Please use SubscriptionBillingCycleContractDraftCommit.")] + BILLING_CYCLE_PRESENT, /// ///Cannot commit a contract draft with this mutation. Please use SubscriptionDraftCommit. /// - [Description("Cannot commit a contract draft with this mutation. Please use SubscriptionDraftCommit.")] - BILLING_CYCLE_ABSENT, + [Description("Cannot commit a contract draft with this mutation. Please use SubscriptionDraftCommit.")] + BILLING_CYCLE_ABSENT, /// ///Delivery policy cannot be updated for billing cycle contract drafts. /// - [Description("Delivery policy cannot be updated for billing cycle contract drafts.")] - BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID, + [Description("Delivery policy cannot be updated for billing cycle contract drafts.")] + BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID, /// ///Billing policy cannot be updated for billing cycle contract drafts. /// - [Description("Billing policy cannot be updated for billing cycle contract drafts.")] - BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID, + [Description("Billing policy cannot be updated for billing cycle contract drafts.")] + BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID, /// ///Contract draft must be a billing cycle contract draft for contract concatenation. /// - [Description("Contract draft must be a billing cycle contract draft for contract concatenation.")] - CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED, + [Description("Contract draft must be a billing cycle contract draft for contract concatenation.")] + CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED, /// ///Cannot concatenate a contract draft from subscriptionContractCreate mutation. /// - [Description("Cannot concatenate a contract draft from subscriptionContractCreate mutation.")] - CONCATENATION_UNCOMMITTED_CONTRACT_DRAFT, + [Description("Cannot concatenate a contract draft from subscriptionContractCreate mutation.")] + CONCATENATION_UNCOMMITTED_CONTRACT_DRAFT, /// ///Concatenated contracts cannot contain duplicate subscription contracts. /// - [Description("Concatenated contracts cannot contain duplicate subscription contracts.")] - DUPLICATE_CONCATENATED_CONTRACTS, + [Description("Concatenated contracts cannot contain duplicate subscription contracts.")] + DUPLICATE_CONCATENATED_CONTRACTS, /// ///Billing cycle selector cannot select upcoming billing cycle past limit. /// - [Description("Billing cycle selector cannot select upcoming billing cycle past limit.")] - UPCOMING_CYCLE_LIMIT_EXCEEDED, + [Description("Billing cycle selector cannot select upcoming billing cycle past limit.")] + UPCOMING_CYCLE_LIMIT_EXCEEDED, /// ///Billing cycle selector cannot select billing cycle outside of index range. /// - [Description("Billing cycle selector cannot select billing cycle outside of index range.")] - CYCLE_INDEX_OUT_OF_RANGE, + [Description("Billing cycle selector cannot select billing cycle outside of index range.")] + CYCLE_INDEX_OUT_OF_RANGE, /// ///Billing cycle selector cannot select billing cycle outside of start date range. /// - [Description("Billing cycle selector cannot select billing cycle outside of start date range.")] - CYCLE_START_DATE_OUT_OF_RANGE, + [Description("Billing cycle selector cannot select billing cycle outside of start date range.")] + CYCLE_START_DATE_OUT_OF_RANGE, /// ///Billing cycle selector requires exactly one of index or date to be provided. /// - [Description("Billing cycle selector requires exactly one of index or date to be provided.")] - CYCLE_SELECTOR_VALIDATE_ONE_OF, + [Description("Billing cycle selector requires exactly one of index or date to be provided.")] + CYCLE_SELECTOR_VALIDATE_ONE_OF, /// ///Maximum number of concatenated contracts on a billing cycle contract draft exceeded. /// - [Description("Maximum number of concatenated contracts on a billing cycle contract draft exceeded.")] - EXCEEDED_MAX_CONCATENATED_CONTRACTS, + [Description("Maximum number of concatenated contracts on a billing cycle contract draft exceeded.")] + EXCEEDED_MAX_CONCATENATED_CONTRACTS, /// ///Customer is scheduled for redaction or has been redacted. /// - [Description("Customer is scheduled for redaction or has been redacted.")] - CUSTOMER_REDACTED, + [Description("Customer is scheduled for redaction or has been redacted.")] + CUSTOMER_REDACTED, /// ///Customer payment method is required. /// - [Description("Customer payment method is required.")] - MISSING_CUSTOMER_PAYMENT_METHOD, + [Description("Customer payment method is required.")] + MISSING_CUSTOMER_PAYMENT_METHOD, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value should be greater than the minimum allowed value. /// - [Description("The input value should be greater than the minimum allowed value.")] - GREATER_THAN, + [Description("The input value should be greater than the minimum allowed value.")] + GREATER_THAN, /// ///The input value should be greater than or equal to the minimum value allowed. /// - [Description("The input value should be greater than or equal to the minimum value allowed.")] - GREATER_THAN_OR_EQUAL_TO, + [Description("The input value should be greater than or equal to the minimum value allowed.")] + GREATER_THAN_OR_EQUAL_TO, /// ///The input value should be less than the maximum value allowed. /// - [Description("The input value should be less than the maximum value allowed.")] - LESS_THAN, + [Description("The input value should be less than the maximum value allowed.")] + LESS_THAN, /// ///The input value should be less than or equal to the maximum value allowed. /// - [Description("The input value should be less than or equal to the maximum value allowed.")] - LESS_THAN_OR_EQUAL_TO, + [Description("The input value should be less than or equal to the maximum value allowed.")] + LESS_THAN_OR_EQUAL_TO, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, - } - - public static class SubscriptionDraftErrorCodeStringValues - { - public const string ALREADY_REMOVED = @"ALREADY_REMOVED"; - public const string PRESENCE = @"PRESENCE"; - public const string COMMITTED = @"COMMITTED"; - public const string NOT_IN_RANGE = @"NOT_IN_RANGE"; - public const string NOT_AN_INTEGER = @"NOT_AN_INTEGER"; - public const string SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES = @"SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES"; - public const string DELIVERY_MUST_BE_MULTIPLE_OF_BILLING = @"DELIVERY_MUST_BE_MULTIPLE_OF_BILLING"; - public const string INVALID_BILLING_DATE = @"INVALID_BILLING_DATE"; - public const string INVALID_NOTE_LENGTH = @"INVALID_NOTE_LENGTH"; - public const string INVALID_LINES = @"INVALID_LINES"; - public const string NO_ENTITLED_LINES = @"NO_ENTITLED_LINES"; - public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; - public const string CUSTOMER_MISMATCH = @"CUSTOMER_MISMATCH"; - public const string DELIVERY_METHOD_REQUIRED = @"DELIVERY_METHOD_REQUIRED"; - public const string MISSING_LOCAL_DELIVERY_OPTIONS = @"MISSING_LOCAL_DELIVERY_OPTIONS"; - public const string CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE = @"CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE"; - public const string INVALID_ADJUSTMENT_TYPE = @"INVALID_ADJUSTMENT_TYPE"; - public const string INVALID_ADJUSTMENT_VALUE = @"INVALID_ADJUSTMENT_VALUE"; - public const string STALE_CONTRACT = @"STALE_CONTRACT"; - public const string CURRENCY_NOT_ENABLED = @"CURRENCY_NOT_ENABLED"; - public const string HAS_FUTURE_EDITS = @"HAS_FUTURE_EDITS"; - public const string BILLING_CYCLE_PRESENT = @"BILLING_CYCLE_PRESENT"; - public const string BILLING_CYCLE_ABSENT = @"BILLING_CYCLE_ABSENT"; - public const string BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID = @"BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID"; - public const string BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID = @"BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID"; - public const string CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED = @"CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED"; - public const string CONCATENATION_UNCOMMITTED_CONTRACT_DRAFT = @"CONCATENATION_UNCOMMITTED_CONTRACT_DRAFT"; - public const string DUPLICATE_CONCATENATED_CONTRACTS = @"DUPLICATE_CONCATENATED_CONTRACTS"; - public const string UPCOMING_CYCLE_LIMIT_EXCEEDED = @"UPCOMING_CYCLE_LIMIT_EXCEEDED"; - public const string CYCLE_INDEX_OUT_OF_RANGE = @"CYCLE_INDEX_OUT_OF_RANGE"; - public const string CYCLE_START_DATE_OUT_OF_RANGE = @"CYCLE_START_DATE_OUT_OF_RANGE"; - public const string CYCLE_SELECTOR_VALIDATE_ONE_OF = @"CYCLE_SELECTOR_VALIDATE_ONE_OF"; - public const string EXCEEDED_MAX_CONCATENATED_CONTRACTS = @"EXCEEDED_MAX_CONCATENATED_CONTRACTS"; - public const string CUSTOMER_REDACTED = @"CUSTOMER_REDACTED"; - public const string MISSING_CUSTOMER_PAYMENT_METHOD = @"MISSING_CUSTOMER_PAYMENT_METHOD"; - public const string INVALID = @"INVALID"; - public const string BLANK = @"BLANK"; - public const string GREATER_THAN = @"GREATER_THAN"; - public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; - public const string LESS_THAN = @"LESS_THAN"; - public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - } - + [Description("The input value is too short.")] + TOO_SHORT, + } + + public static class SubscriptionDraftErrorCodeStringValues + { + public const string ALREADY_REMOVED = @"ALREADY_REMOVED"; + public const string PRESENCE = @"PRESENCE"; + public const string COMMITTED = @"COMMITTED"; + public const string NOT_IN_RANGE = @"NOT_IN_RANGE"; + public const string NOT_AN_INTEGER = @"NOT_AN_INTEGER"; + public const string SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES = @"SELLING_PLAN_MAX_CYCLES_MUST_BE_GREATER_THAN_MIN_CYCLES"; + public const string DELIVERY_MUST_BE_MULTIPLE_OF_BILLING = @"DELIVERY_MUST_BE_MULTIPLE_OF_BILLING"; + public const string INVALID_BILLING_DATE = @"INVALID_BILLING_DATE"; + public const string INVALID_NOTE_LENGTH = @"INVALID_NOTE_LENGTH"; + public const string INVALID_LINES = @"INVALID_LINES"; + public const string NO_ENTITLED_LINES = @"NO_ENTITLED_LINES"; + public const string CUSTOMER_DOES_NOT_EXIST = @"CUSTOMER_DOES_NOT_EXIST"; + public const string CUSTOMER_MISMATCH = @"CUSTOMER_MISMATCH"; + public const string DELIVERY_METHOD_REQUIRED = @"DELIVERY_METHOD_REQUIRED"; + public const string MISSING_LOCAL_DELIVERY_OPTIONS = @"MISSING_LOCAL_DELIVERY_OPTIONS"; + public const string CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE = @"CYCLE_DISCOUNTS_UNIQUE_AFTER_CYCLE"; + public const string INVALID_ADJUSTMENT_TYPE = @"INVALID_ADJUSTMENT_TYPE"; + public const string INVALID_ADJUSTMENT_VALUE = @"INVALID_ADJUSTMENT_VALUE"; + public const string STALE_CONTRACT = @"STALE_CONTRACT"; + public const string CURRENCY_NOT_ENABLED = @"CURRENCY_NOT_ENABLED"; + public const string HAS_FUTURE_EDITS = @"HAS_FUTURE_EDITS"; + public const string BILLING_CYCLE_PRESENT = @"BILLING_CYCLE_PRESENT"; + public const string BILLING_CYCLE_ABSENT = @"BILLING_CYCLE_ABSENT"; + public const string BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID = @"BILLING_CYCLE_CONTRACT_DRAFT_DELIVERY_POLICY_INVALID"; + public const string BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID = @"BILLING_CYCLE_CONTRACT_DRAFT_BILLING_POLICY_INVALID"; + public const string CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED = @"CONCATENATION_BILLING_CYCLE_CONTRACT_DRAFT_REQUIRED"; + public const string CONCATENATION_UNCOMMITTED_CONTRACT_DRAFT = @"CONCATENATION_UNCOMMITTED_CONTRACT_DRAFT"; + public const string DUPLICATE_CONCATENATED_CONTRACTS = @"DUPLICATE_CONCATENATED_CONTRACTS"; + public const string UPCOMING_CYCLE_LIMIT_EXCEEDED = @"UPCOMING_CYCLE_LIMIT_EXCEEDED"; + public const string CYCLE_INDEX_OUT_OF_RANGE = @"CYCLE_INDEX_OUT_OF_RANGE"; + public const string CYCLE_START_DATE_OUT_OF_RANGE = @"CYCLE_START_DATE_OUT_OF_RANGE"; + public const string CYCLE_SELECTOR_VALIDATE_ONE_OF = @"CYCLE_SELECTOR_VALIDATE_ONE_OF"; + public const string EXCEEDED_MAX_CONCATENATED_CONTRACTS = @"EXCEEDED_MAX_CONCATENATED_CONTRACTS"; + public const string CUSTOMER_REDACTED = @"CUSTOMER_REDACTED"; + public const string MISSING_CUSTOMER_PAYMENT_METHOD = @"MISSING_CUSTOMER_PAYMENT_METHOD"; + public const string INVALID = @"INVALID"; + public const string BLANK = @"BLANK"; + public const string GREATER_THAN = @"GREATER_THAN"; + public const string GREATER_THAN_OR_EQUAL_TO = @"GREATER_THAN_OR_EQUAL_TO"; + public const string LESS_THAN = @"LESS_THAN"; + public const string LESS_THAN_OR_EQUAL_TO = @"LESS_THAN_OR_EQUAL_TO"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + } + /// ///Return type for `subscriptionDraftFreeShippingDiscountAdd` mutation. /// - [Description("Return type for `subscriptionDraftFreeShippingDiscountAdd` mutation.")] - public class SubscriptionDraftFreeShippingDiscountAddPayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftFreeShippingDiscountAdd` mutation.")] + public class SubscriptionDraftFreeShippingDiscountAddPayload : GraphQLObject + { /// ///The added subscription free shipping discount. /// - [Description("The added subscription free shipping discount.")] - public SubscriptionManualDiscount? discountAdded { get; set; } - + [Description("The added subscription free shipping discount.")] + public SubscriptionManualDiscount? discountAdded { get; set; } + /// ///The subscription contract draft object. /// - [Description("The subscription contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The subscription contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftFreeShippingDiscountUpdate` mutation. /// - [Description("Return type for `subscriptionDraftFreeShippingDiscountUpdate` mutation.")] - public class SubscriptionDraftFreeShippingDiscountUpdatePayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftFreeShippingDiscountUpdate` mutation.")] + public class SubscriptionDraftFreeShippingDiscountUpdatePayload : GraphQLObject + { /// ///The updated Subscription Discount. /// - [Description("The updated Subscription Discount.")] - public SubscriptionManualDiscount? discountUpdated { get; set; } - + [Description("The updated Subscription Discount.")] + public SubscriptionManualDiscount? discountUpdated { get; set; } + /// ///The Subscription Contract draft object. /// - [Description("The Subscription Contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///The input fields required to create a Subscription Draft. /// - [Description("The input fields required to create a Subscription Draft.")] - public class SubscriptionDraftInput : GraphQLObject - { + [Description("The input fields required to create a Subscription Draft.")] + public class SubscriptionDraftInput : GraphQLObject + { /// ///The current status of the subscription contract. /// - [Description("The current status of the subscription contract.")] - [EnumType(typeof(SubscriptionContractSubscriptionStatus))] - public string? status { get; set; } - + [Description("The current status of the subscription contract.")] + [EnumType(typeof(SubscriptionContractSubscriptionStatus))] + public string? status { get; set; } + /// ///The ID of the payment method to be used for the subscription contract. /// - [Description("The ID of the payment method to be used for the subscription contract.")] - public string? paymentMethodId { get; set; } - + [Description("The ID of the payment method to be used for the subscription contract.")] + public string? paymentMethodId { get; set; } + /// ///The next billing date for the subscription contract. /// - [Description("The next billing date for the subscription contract.")] - public DateTime? nextBillingDate { get; set; } - + [Description("The next billing date for the subscription contract.")] + public DateTime? nextBillingDate { get; set; } + /// ///The billing policy for the subscription contract. /// - [Description("The billing policy for the subscription contract.")] - public SubscriptionBillingPolicyInput? billingPolicy { get; set; } - + [Description("The billing policy for the subscription contract.")] + public SubscriptionBillingPolicyInput? billingPolicy { get; set; } + /// ///The delivery policy for the subscription contract. /// - [Description("The delivery policy for the subscription contract.")] - public SubscriptionDeliveryPolicyInput? deliveryPolicy { get; set; } - + [Description("The delivery policy for the subscription contract.")] + public SubscriptionDeliveryPolicyInput? deliveryPolicy { get; set; } + /// ///The shipping price for each renewal the subscription contract. /// - [Description("The shipping price for each renewal the subscription contract.")] - public decimal? deliveryPrice { get; set; } - + [Description("The shipping price for each renewal the subscription contract.")] + public decimal? deliveryPrice { get; set; } + /// ///The delivery method for the subscription contract. /// - [Description("The delivery method for the subscription contract.")] - public SubscriptionDeliveryMethodInput? deliveryMethod { get; set; } - + [Description("The delivery method for the subscription contract.")] + public SubscriptionDeliveryMethodInput? deliveryMethod { get; set; } + /// ///The note field that will be applied to the generated orders. /// - [Description("The note field that will be applied to the generated orders.")] - public string? note { get; set; } - + [Description("The note field that will be applied to the generated orders.")] + public string? note { get; set; } + /// ///A list of the custom attributes added to the subscription contract. /// - [Description("A list of the custom attributes added to the subscription contract.")] - public IEnumerable? customAttributes { get; set; } - } - + [Description("A list of the custom attributes added to the subscription contract.")] + public IEnumerable? customAttributes { get; set; } + } + /// ///Return type for `subscriptionDraftLineAdd` mutation. /// - [Description("Return type for `subscriptionDraftLineAdd` mutation.")] - public class SubscriptionDraftLineAddPayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftLineAdd` mutation.")] + public class SubscriptionDraftLineAddPayload : GraphQLObject + { /// ///The Subscription Contract draft object. /// - [Description("The Subscription Contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The added Subscription Line. /// - [Description("The added Subscription Line.")] - public SubscriptionLine? lineAdded { get; set; } - + [Description("The added Subscription Line.")] + public SubscriptionLine? lineAdded { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftLineRemove` mutation. /// - [Description("Return type for `subscriptionDraftLineRemove` mutation.")] - public class SubscriptionDraftLineRemovePayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftLineRemove` mutation.")] + public class SubscriptionDraftLineRemovePayload : GraphQLObject + { /// ///The list of updated subscription discounts impacted by the removed line. /// - [Description("The list of updated subscription discounts impacted by the removed line.")] - public IEnumerable? discountsUpdated { get; set; } - + [Description("The list of updated subscription discounts impacted by the removed line.")] + public IEnumerable? discountsUpdated { get; set; } + /// ///The Subscription Contract draft object. /// - [Description("The Subscription Contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The removed Subscription Line. /// - [Description("The removed Subscription Line.")] - public SubscriptionLine? lineRemoved { get; set; } - + [Description("The removed Subscription Line.")] + public SubscriptionLine? lineRemoved { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftLineUpdate` mutation. /// - [Description("Return type for `subscriptionDraftLineUpdate` mutation.")] - public class SubscriptionDraftLineUpdatePayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftLineUpdate` mutation.")] + public class SubscriptionDraftLineUpdatePayload : GraphQLObject + { /// ///The Subscription Contract draft object. /// - [Description("The Subscription Contract draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Contract draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The updated Subscription Line. /// - [Description("The updated Subscription Line.")] - public SubscriptionLine? lineUpdated { get; set; } - + [Description("The updated Subscription Line.")] + public SubscriptionLine? lineUpdated { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `subscriptionDraftUpdate` mutation. /// - [Description("Return type for `subscriptionDraftUpdate` mutation.")] - public class SubscriptionDraftUpdatePayload : GraphQLObject - { + [Description("Return type for `subscriptionDraftUpdate` mutation.")] + public class SubscriptionDraftUpdatePayload : GraphQLObject + { /// ///The Subscription Draft object. /// - [Description("The Subscription Draft object.")] - public SubscriptionDraft? draft { get; set; } - + [Description("The Subscription Draft object.")] + public SubscriptionDraft? draft { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a Subscription Draft error. /// - [Description("Represents a Subscription Draft error.")] - public class SubscriptionDraftUserError : GraphQLObject, IDisplayableError - { + [Description("Represents a Subscription Draft error.")] + public class SubscriptionDraftUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(SubscriptionDraftErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(SubscriptionDraftErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The input fields for a subscription free shipping discount on a contract. /// - [Description("The input fields for a subscription free shipping discount on a contract.")] - public class SubscriptionFreeShippingDiscountInput : GraphQLObject - { + [Description("The input fields for a subscription free shipping discount on a contract.")] + public class SubscriptionFreeShippingDiscountInput : GraphQLObject + { /// ///The title associated with the subscription free shipping discount. /// - [Description("The title associated with the subscription free shipping discount.")] - public string? title { get; set; } - + [Description("The title associated with the subscription free shipping discount.")] + public string? title { get; set; } + /// ///The maximum number of times the subscription free shipping discount will be applied on orders. /// - [Description("The maximum number of times the subscription free shipping discount will be applied on orders.")] - public int? recurringCycleLimit { get; set; } - } - + [Description("The maximum number of times the subscription free shipping discount will be applied on orders.")] + public int? recurringCycleLimit { get; set; } + } + /// ///Gateway used for legacy subscription charges. /// - [Description("Gateway used for legacy subscription charges.")] - public class SubscriptionGateway : GraphQLObject, INode - { + [Description("Gateway used for legacy subscription charges.")] + public class SubscriptionGateway : GraphQLObject, INode + { /// ///The status of the gateway. /// - [Description("The status of the gateway.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("The status of the gateway.")] + [NonNull] + public bool? enabled { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Payment provider label. /// - [Description("Payment provider label.")] - [NonNull] - public string? label { get; set; } - + [Description("Payment provider label.")] + [NonNull] + public string? label { get; set; } + /// ///Status of test mode for the gateway. /// - [Description("Status of test mode for the gateway.")] - [NonNull] - public bool? testModeEnabled { get; set; } - } - + [Description("Status of test mode for the gateway.")] + [NonNull] + public bool? testModeEnabled { get; set; } + } + /// ///Represents a Subscription Line. /// - [Description("Represents a Subscription Line.")] - public class SubscriptionLine : GraphQLObject - { + [Description("Represents a Subscription Line.")] + public class SubscriptionLine : GraphQLObject + { /// ///The origin contract of the line if it was concatenated from another contract. /// - [Description("The origin contract of the line if it was concatenated from another contract.")] - public SubscriptionContract? concatenatedOriginContract { get; set; } - + [Description("The origin contract of the line if it was concatenated from another contract.")] + public SubscriptionContract? concatenatedOriginContract { get; set; } + /// ///The price per unit for the subscription line in the contract's currency. /// - [Description("The price per unit for the subscription line in the contract's currency.")] - [NonNull] - public MoneyV2? currentPrice { get; set; } - + [Description("The price per unit for the subscription line in the contract's currency.")] + [NonNull] + public MoneyV2? currentPrice { get; set; } + /// ///List of custom attributes associated to the line item. /// - [Description("List of custom attributes associated to the line item.")] - [NonNull] - public IEnumerable? customAttributes { get; set; } - + [Description("List of custom attributes associated to the line item.")] + [NonNull] + public IEnumerable? customAttributes { get; set; } + /// ///Discount allocations. /// - [Description("Discount allocations.")] - [NonNull] - public IEnumerable? discountAllocations { get; set; } - + [Description("Discount allocations.")] + [NonNull] + public IEnumerable? discountAllocations { get; set; } + /// ///The unique ID. /// - [Description("The unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Total line price including all discounts. /// - [Description("Total line price including all discounts.")] - [NonNull] - public MoneyV2? lineDiscountedPrice { get; set; } - + [Description("Total line price including all discounts.")] + [NonNull] + public MoneyV2? lineDiscountedPrice { get; set; } + /// ///Describe the price changes of the line over time. /// - [Description("Describe the price changes of the line over time.")] - public SubscriptionPricingPolicy? pricingPolicy { get; set; } - + [Description("Describe the price changes of the line over time.")] + public SubscriptionPricingPolicy? pricingPolicy { get; set; } + /// ///The product ID associated with the subscription line. /// - [Description("The product ID associated with the subscription line.")] - public string? productId { get; set; } - + [Description("The product ID associated with the subscription line.")] + public string? productId { get; set; } + /// ///The quantity of the unit selected for the subscription line. /// - [Description("The quantity of the unit selected for the subscription line.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the unit selected for the subscription line.")] + [NonNull] + public int? quantity { get; set; } + /// ///Whether physical shipping is required for the variant. /// - [Description("Whether physical shipping is required for the variant.")] - [NonNull] - public bool? requiresShipping { get; set; } - + [Description("Whether physical shipping is required for the variant.")] + [NonNull] + public bool? requiresShipping { get; set; } + /// ///The selling plan ID associated to the line. /// @@ -126435,9 +126435,9 @@ public class SubscriptionLine : GraphQLObject ///changed. As a result, the selling plan's attributes might not ///match the information on the contract. /// - [Description("The selling plan ID associated to the line.\n\nIndicates which selling plan was used to create this\ncontract line initially. The selling plan ID is also used to\nfind the associated delivery profile.\n\nThe subscription contract, subscription line, or selling plan might have\nchanged. As a result, the selling plan's attributes might not\nmatch the information on the contract.")] - public string? sellingPlanId { get; set; } - + [Description("The selling plan ID associated to the line.\n\nIndicates which selling plan was used to create this\ncontract line initially. The selling plan ID is also used to\nfind the associated delivery profile.\n\nThe subscription contract, subscription line, or selling plan might have\nchanged. As a result, the selling plan's attributes might not\nmatch the information on the contract.")] + public string? sellingPlanId { get; set; } + /// ///The selling plan name associated to the line. This name describes ///the order line items created from this subscription line @@ -126447,2018 +126447,2018 @@ public class SubscriptionLine : GraphQLObject ///the selling plan's name and the subscription line's selling_plan_name ///attribute can be updated independently. /// - [Description("The selling plan name associated to the line. This name describes\nthe order line items created from this subscription line\nfor both merchants and customers.\n\nThe value can be different from the selling plan's name, because both\nthe selling plan's name and the subscription line's selling_plan_name\nattribute can be updated independently.")] - public string? sellingPlanName { get; set; } - + [Description("The selling plan name associated to the line. This name describes\nthe order line items created from this subscription line\nfor both merchants and customers.\n\nThe value can be different from the selling plan's name, because both\nthe selling plan's name and the subscription line's selling_plan_name\nattribute can be updated independently.")] + public string? sellingPlanName { get; set; } + /// ///Variant SKU number of the item associated with the subscription line. /// - [Description("Variant SKU number of the item associated with the subscription line.")] - public string? sku { get; set; } - + [Description("Variant SKU number of the item associated with the subscription line.")] + public string? sku { get; set; } + /// ///Whether the variant is taxable. /// - [Description("Whether the variant is taxable.")] - [NonNull] - public bool? taxable { get; set; } - + [Description("Whether the variant is taxable.")] + [NonNull] + public bool? taxable { get; set; } + /// ///Product title of the item associated with the subscription line. /// - [Description("Product title of the item associated with the subscription line.")] - [NonNull] - public string? title { get; set; } - + [Description("Product title of the item associated with the subscription line.")] + [NonNull] + public string? title { get; set; } + /// ///The product variant ID associated with the subscription line. /// - [Description("The product variant ID associated with the subscription line.")] - public string? variantId { get; set; } - + [Description("The product variant ID associated with the subscription line.")] + public string? variantId { get; set; } + /// ///The image associated with the line item's variant or product. /// - [Description("The image associated with the line item's variant or product.")] - public Image? variantImage { get; set; } - + [Description("The image associated with the line item's variant or product.")] + public Image? variantImage { get; set; } + /// ///Product variant title of the item associated with the subscription line. /// - [Description("Product variant title of the item associated with the subscription line.")] - public string? variantTitle { get; set; } - } - + [Description("Product variant title of the item associated with the subscription line.")] + public string? variantTitle { get; set; } + } + /// ///An auto-generated type for paginating through multiple SubscriptionLines. /// - [Description("An auto-generated type for paginating through multiple SubscriptionLines.")] - public class SubscriptionLineConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SubscriptionLines.")] + public class SubscriptionLineConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SubscriptionLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SubscriptionLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SubscriptionLineEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one SubscriptionLine and a cursor during pagination. /// - [Description("An auto-generated type which holds one SubscriptionLine and a cursor during pagination.")] - public class SubscriptionLineEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SubscriptionLine and a cursor during pagination.")] + public class SubscriptionLineEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SubscriptionLineEdge. /// - [Description("The item at the end of SubscriptionLineEdge.")] - [NonNull] - public SubscriptionLine? node { get; set; } - } - + [Description("The item at the end of SubscriptionLineEdge.")] + [NonNull] + public SubscriptionLine? node { get; set; } + } + /// ///The input fields required to add a new subscription line to a contract. /// - [Description("The input fields required to add a new subscription line to a contract.")] - public class SubscriptionLineInput : GraphQLObject - { + [Description("The input fields required to add a new subscription line to a contract.")] + public class SubscriptionLineInput : GraphQLObject + { /// ///The ID of the product variant the subscription line refers to. /// - [Description("The ID of the product variant the subscription line refers to.")] - [NonNull] - public string? productVariantId { get; set; } - + [Description("The ID of the product variant the subscription line refers to.")] + [NonNull] + public string? productVariantId { get; set; } + /// ///The quantity of the product. /// - [Description("The quantity of the product.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity of the product.")] + [NonNull] + public int? quantity { get; set; } + /// ///The price of the product. /// - [Description("The price of the product.")] - [NonNull] - public decimal? currentPrice { get; set; } - + [Description("The price of the product.")] + [NonNull] + public decimal? currentPrice { get; set; } + /// ///The custom attributes for this subscription line. /// - [Description("The custom attributes for this subscription line.")] - public IEnumerable? customAttributes { get; set; } - + [Description("The custom attributes for this subscription line.")] + public IEnumerable? customAttributes { get; set; } + /// ///The selling plan for the subscription line. /// - [Description("The selling plan for the subscription line.")] - public string? sellingPlanId { get; set; } - + [Description("The selling plan for the subscription line.")] + public string? sellingPlanId { get; set; } + /// ///The selling plan name for the subscription line. /// ///Defaults to using the selling plan's current name when not specified. /// - [Description("The selling plan name for the subscription line.\n\nDefaults to using the selling plan's current name when not specified.")] - public string? sellingPlanName { get; set; } - + [Description("The selling plan name for the subscription line.\n\nDefaults to using the selling plan's current name when not specified.")] + public string? sellingPlanName { get; set; } + /// ///Describes expected price changes of the subscription line over time. /// - [Description("Describes expected price changes of the subscription line over time.")] - public SubscriptionPricingPolicyInput? pricingPolicy { get; set; } - } - + [Description("Describes expected price changes of the subscription line over time.")] + public SubscriptionPricingPolicyInput? pricingPolicy { get; set; } + } + /// ///The input fields required to update a subscription line on a contract. /// - [Description("The input fields required to update a subscription line on a contract.")] - public class SubscriptionLineUpdateInput : GraphQLObject - { + [Description("The input fields required to update a subscription line on a contract.")] + public class SubscriptionLineUpdateInput : GraphQLObject + { /// ///The ID of the product variant the subscription line refers to. /// - [Description("The ID of the product variant the subscription line refers to.")] - public string? productVariantId { get; set; } - + [Description("The ID of the product variant the subscription line refers to.")] + public string? productVariantId { get; set; } + /// ///The quantity of the product. /// - [Description("The quantity of the product.")] - public int? quantity { get; set; } - + [Description("The quantity of the product.")] + public int? quantity { get; set; } + /// ///The selling plan for the subscription line. /// - [Description("The selling plan for the subscription line.")] - public string? sellingPlanId { get; set; } - + [Description("The selling plan for the subscription line.")] + public string? sellingPlanId { get; set; } + /// ///The selling plan name for the subscription line. /// - [Description("The selling plan name for the subscription line.")] - public string? sellingPlanName { get; set; } - + [Description("The selling plan name for the subscription line.")] + public string? sellingPlanName { get; set; } + /// ///The price of the product. /// - [Description("The price of the product.")] - public decimal? currentPrice { get; set; } - + [Description("The price of the product.")] + public decimal? currentPrice { get; set; } + /// ///The custom attributes for this subscription line. /// - [Description("The custom attributes for this subscription line.")] - public IEnumerable? customAttributes { get; set; } - + [Description("The custom attributes for this subscription line.")] + public IEnumerable? customAttributes { get; set; } + /// ///Describes expected price changes of the subscription line over time. /// - [Description("Describes expected price changes of the subscription line over time.")] - public SubscriptionPricingPolicyInput? pricingPolicy { get; set; } - } - + [Description("Describes expected price changes of the subscription line over time.")] + public SubscriptionPricingPolicyInput? pricingPolicy { get; set; } + } + /// ///A local delivery option for a subscription contract. /// - [Description("A local delivery option for a subscription contract.")] - public class SubscriptionLocalDeliveryOption : GraphQLObject, ISubscriptionDeliveryOption - { + [Description("A local delivery option for a subscription contract.")] + public class SubscriptionLocalDeliveryOption : GraphQLObject, ISubscriptionDeliveryOption + { /// ///The code of the local delivery option. /// - [Description("The code of the local delivery option.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the local delivery option.")] + [NonNull] + public string? code { get; set; } + /// ///The description of the local delivery option. /// - [Description("The description of the local delivery option.")] - public string? description { get; set; } - + [Description("The description of the local delivery option.")] + public string? description { get; set; } + /// ///Whether a phone number is required for the local delivery option. /// - [Description("Whether a phone number is required for the local delivery option.")] - [NonNull] - public bool? phoneRequired { get; set; } - + [Description("Whether a phone number is required for the local delivery option.")] + [NonNull] + public bool? phoneRequired { get; set; } + /// ///The presentment title of the local delivery option. /// - [Description("The presentment title of the local delivery option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the local delivery option.")] + public string? presentmentTitle { get; set; } + /// ///The price of the local delivery option. /// - [Description("The price of the local delivery option.")] - public MoneyV2? price { get; set; } - + [Description("The price of the local delivery option.")] + public MoneyV2? price { get; set; } + /// ///The title of the local delivery option. /// - [Description("The title of the local delivery option.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the local delivery option.")] + [NonNull] + public string? title { get; set; } + } + /// ///Custom subscription discount. /// - [Description("Custom subscription discount.")] - public class SubscriptionManualDiscount : GraphQLObject, ISubscriptionDiscount - { + [Description("Custom subscription discount.")] + public class SubscriptionManualDiscount : GraphQLObject, ISubscriptionDiscount + { /// ///Entitled line items used to apply the subscription discount on. /// - [Description("Entitled line items used to apply the subscription discount on.")] - [NonNull] - public SubscriptionDiscountEntitledLines? entitledLines { get; set; } - + [Description("Entitled line items used to apply the subscription discount on.")] + [NonNull] + public SubscriptionDiscountEntitledLines? entitledLines { get; set; } + /// ///The unique ID. /// - [Description("The unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The maximum number of times the subscription discount will be applied on orders. /// - [Description("The maximum number of times the subscription discount will be applied on orders.")] - public int? recurringCycleLimit { get; set; } - + [Description("The maximum number of times the subscription discount will be applied on orders.")] + public int? recurringCycleLimit { get; set; } + /// ///The reason that the discount on the subscription draft is rejected. /// - [Description("The reason that the discount on the subscription draft is rejected.")] - [EnumType(typeof(SubscriptionDiscountRejectionReason))] - public string? rejectionReason { get; set; } - + [Description("The reason that the discount on the subscription draft is rejected.")] + [EnumType(typeof(SubscriptionDiscountRejectionReason))] + public string? rejectionReason { get; set; } + /// ///Type of line the discount applies on. /// - [Description("Type of line the discount applies on.")] - [NonNull] - [EnumType(typeof(DiscountTargetType))] - public string? targetType { get; set; } - + [Description("Type of line the discount applies on.")] + [NonNull] + [EnumType(typeof(DiscountTargetType))] + public string? targetType { get; set; } + /// ///The title associated with the subscription discount. /// - [Description("The title associated with the subscription discount.")] - public string? title { get; set; } - + [Description("The title associated with the subscription discount.")] + public string? title { get; set; } + /// ///The type of the subscription discount. /// - [Description("The type of the subscription discount.")] - [NonNull] - [EnumType(typeof(DiscountType))] - public string? type { get; set; } - + [Description("The type of the subscription discount.")] + [NonNull] + [EnumType(typeof(DiscountType))] + public string? type { get; set; } + /// ///The number of times the discount was applied. /// - [Description("The number of times the discount was applied.")] - [NonNull] - public int? usageCount { get; set; } - + [Description("The number of times the discount was applied.")] + [NonNull] + public int? usageCount { get; set; } + /// ///The value of the subscription discount. /// - [Description("The value of the subscription discount.")] - [NonNull] - public ISubscriptionDiscountValue? value { get; set; } - } - + [Description("The value of the subscription discount.")] + [NonNull] + public ISubscriptionDiscountValue? value { get; set; } + } + /// ///An auto-generated type for paginating through multiple SubscriptionManualDiscounts. /// - [Description("An auto-generated type for paginating through multiple SubscriptionManualDiscounts.")] - public class SubscriptionManualDiscountConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple SubscriptionManualDiscounts.")] + public class SubscriptionManualDiscountConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in SubscriptionManualDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in SubscriptionManualDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in SubscriptionManualDiscountEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one SubscriptionManualDiscount and a cursor during pagination. /// - [Description("An auto-generated type which holds one SubscriptionManualDiscount and a cursor during pagination.")] - public class SubscriptionManualDiscountEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one SubscriptionManualDiscount and a cursor during pagination.")] + public class SubscriptionManualDiscountEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of SubscriptionManualDiscountEdge. /// - [Description("The item at the end of SubscriptionManualDiscountEdge.")] - [NonNull] - public SubscriptionManualDiscount? node { get; set; } - } - + [Description("The item at the end of SubscriptionManualDiscountEdge.")] + [NonNull] + public SubscriptionManualDiscount? node { get; set; } + } + /// ///The input fields for the subscription lines the discount applies on. /// - [Description("The input fields for the subscription lines the discount applies on.")] - public class SubscriptionManualDiscountEntitledLinesInput : GraphQLObject - { + [Description("The input fields for the subscription lines the discount applies on.")] + public class SubscriptionManualDiscountEntitledLinesInput : GraphQLObject + { /// ///Specify whether the subscription discount will apply on all subscription lines. /// - [Description("Specify whether the subscription discount will apply on all subscription lines.")] - public bool? all { get; set; } - + [Description("Specify whether the subscription discount will apply on all subscription lines.")] + public bool? all { get; set; } + /// ///The ID of the lines to add to or remove from the subscription discount. /// - [Description("The ID of the lines to add to or remove from the subscription discount.")] - public SubscriptionManualDiscountLinesInput? lines { get; set; } - } - + [Description("The ID of the lines to add to or remove from the subscription discount.")] + public SubscriptionManualDiscountLinesInput? lines { get; set; } + } + /// ///The input fields for the fixed amount value of the discount and distribution on the lines. /// - [Description("The input fields for the fixed amount value of the discount and distribution on the lines.")] - public class SubscriptionManualDiscountFixedAmountInput : GraphQLObject - { + [Description("The input fields for the fixed amount value of the discount and distribution on the lines.")] + public class SubscriptionManualDiscountFixedAmountInput : GraphQLObject + { /// ///Fixed amount value. /// - [Description("Fixed amount value.")] - public decimal? amount { get; set; } - + [Description("Fixed amount value.")] + public decimal? amount { get; set; } + /// ///Whether the amount is intended per line item or once per subscription. /// - [Description("Whether the amount is intended per line item or once per subscription.")] - public bool? appliesOnEachItem { get; set; } - } - + [Description("Whether the amount is intended per line item or once per subscription.")] + public bool? appliesOnEachItem { get; set; } + } + /// ///The input fields for a subscription discount on a contract. /// - [Description("The input fields for a subscription discount on a contract.")] - public class SubscriptionManualDiscountInput : GraphQLObject - { + [Description("The input fields for a subscription discount on a contract.")] + public class SubscriptionManualDiscountInput : GraphQLObject + { /// ///The title associated with the subscription discount. /// - [Description("The title associated with the subscription discount.")] - public string? title { get; set; } - + [Description("The title associated with the subscription discount.")] + public string? title { get; set; } + /// ///Percentage or fixed amount value of the discount. /// - [Description("Percentage or fixed amount value of the discount.")] - public SubscriptionManualDiscountValueInput? value { get; set; } - + [Description("Percentage or fixed amount value of the discount.")] + public SubscriptionManualDiscountValueInput? value { get; set; } + /// ///The maximum number of times the subscription discount will be applied on orders. /// - [Description("The maximum number of times the subscription discount will be applied on orders.")] - public int? recurringCycleLimit { get; set; } - + [Description("The maximum number of times the subscription discount will be applied on orders.")] + public int? recurringCycleLimit { get; set; } + /// ///Entitled line items used to apply the subscription discount on. /// - [Description("Entitled line items used to apply the subscription discount on.")] - public SubscriptionManualDiscountEntitledLinesInput? entitledLines { get; set; } - } - + [Description("Entitled line items used to apply the subscription discount on.")] + public SubscriptionManualDiscountEntitledLinesInput? entitledLines { get; set; } + } + /// ///The input fields for line items that the discount refers to. /// - [Description("The input fields for line items that the discount refers to.")] - public class SubscriptionManualDiscountLinesInput : GraphQLObject - { + [Description("The input fields for line items that the discount refers to.")] + public class SubscriptionManualDiscountLinesInput : GraphQLObject + { /// ///The ID of the lines to add to the subscription discount. /// - [Description("The ID of the lines to add to the subscription discount.")] - public IEnumerable? add { get; set; } - + [Description("The ID of the lines to add to the subscription discount.")] + public IEnumerable? add { get; set; } + /// ///The ID of the lines to remove from the subscription discount. /// - [Description("The ID of the lines to remove from the subscription discount.")] - public IEnumerable? remove { get; set; } - } - + [Description("The ID of the lines to remove from the subscription discount.")] + public IEnumerable? remove { get; set; } + } + /// ///The input fields for the discount value and its distribution. /// - [Description("The input fields for the discount value and its distribution.")] - public class SubscriptionManualDiscountValueInput : GraphQLObject - { + [Description("The input fields for the discount value and its distribution.")] + public class SubscriptionManualDiscountValueInput : GraphQLObject + { /// ///The percentage value of the discount. Value must be between 0 - 100. /// - [Description("The percentage value of the discount. Value must be between 0 - 100.")] - public int? percentage { get; set; } - + [Description("The percentage value of the discount. Value must be between 0 - 100.")] + public int? percentage { get; set; } + /// ///Fixed amount input in the currency defined by the subscription. /// - [Description("Fixed amount input in the currency defined by the subscription.")] - public SubscriptionManualDiscountFixedAmountInput? fixedAmount { get; set; } - } - + [Description("Fixed amount input in the currency defined by the subscription.")] + public SubscriptionManualDiscountFixedAmountInput? fixedAmount { get; set; } + } + /// ///Represents a payment gateway with its name and account ID for subscription migrations. /// - [Description("Represents a payment gateway with its name and account ID for subscription migrations.")] - public class SubscriptionMigrationGateway : GraphQLObject - { + [Description("Represents a payment gateway with its name and account ID for subscription migrations.")] + public class SubscriptionMigrationGateway : GraphQLObject + { /// ///The account ID associated with the payment gateway. /// - [Description("The account ID associated with the payment gateway.")] - public string? accountId { get; set; } - + [Description("The account ID associated with the payment gateway.")] + public string? accountId { get; set; } + /// ///Whether the payment gateway is the primary direct gateway for the shop. /// - [Description("Whether the payment gateway is the primary direct gateway for the shop.")] - [NonNull] - public bool? isPrimaryGateway { get; set; } - + [Description("Whether the payment gateway is the primary direct gateway for the shop.")] + [NonNull] + public bool? isPrimaryGateway { get; set; } + /// ///The name of the payment gateway. /// - [Description("The name of the payment gateway.")] - [NonNull] - [EnumType(typeof(SubscriptionMigrationGatewayName))] - public string? name { get; set; } - } - + [Description("The name of the payment gateway.")] + [NonNull] + [EnumType(typeof(SubscriptionMigrationGatewayName))] + public string? name { get; set; } + } + /// ///The available payment gateways for subscription migrations. /// - [Description("The available payment gateways for subscription migrations.")] - public enum SubscriptionMigrationGatewayName - { + [Description("The available payment gateways for subscription migrations.")] + public enum SubscriptionMigrationGatewayName + { /// ///Shopify Payments. /// - [Description("Shopify Payments.")] - SHOPIFY_PAYMENTS, + [Description("Shopify Payments.")] + SHOPIFY_PAYMENTS, /// ///Adyen payment gateway. /// - [Description("Adyen payment gateway.")] - ADYEN, + [Description("Adyen payment gateway.")] + ADYEN, /// ///Authorize.net payment gateway. /// - [Description("Authorize.net payment gateway.")] - AUTHORIZE_NET, + [Description("Authorize.net payment gateway.")] + AUTHORIZE_NET, /// ///Braintree payment gateway. /// - [Description("Braintree payment gateway.")] - BRAINTREE, + [Description("Braintree payment gateway.")] + BRAINTREE, /// ///PayPal payment gateway. /// - [Description("PayPal payment gateway.")] - PAYPAL, + [Description("PayPal payment gateway.")] + PAYPAL, /// ///Stripe payment gateway. /// - [Description("Stripe payment gateway.")] - STRIPE, - } - - public static class SubscriptionMigrationGatewayNameStringValues - { - public const string SHOPIFY_PAYMENTS = @"SHOPIFY_PAYMENTS"; - public const string ADYEN = @"ADYEN"; - public const string AUTHORIZE_NET = @"AUTHORIZE_NET"; - public const string BRAINTREE = @"BRAINTREE"; - public const string PAYPAL = @"PAYPAL"; - public const string STRIPE = @"STRIPE"; - } - + [Description("Stripe payment gateway.")] + STRIPE, + } + + public static class SubscriptionMigrationGatewayNameStringValues + { + public const string SHOPIFY_PAYMENTS = @"SHOPIFY_PAYMENTS"; + public const string ADYEN = @"ADYEN"; + public const string AUTHORIZE_NET = @"AUTHORIZE_NET"; + public const string BRAINTREE = @"BRAINTREE"; + public const string PAYPAL = @"PAYPAL"; + public const string STRIPE = @"STRIPE"; + } + /// ///A pickup option to deliver a subscription contract. /// - [Description("A pickup option to deliver a subscription contract.")] - public class SubscriptionPickupOption : GraphQLObject, ISubscriptionDeliveryOption - { + [Description("A pickup option to deliver a subscription contract.")] + public class SubscriptionPickupOption : GraphQLObject, ISubscriptionDeliveryOption + { /// ///The code of the pickup option. /// - [Description("The code of the pickup option.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the pickup option.")] + [NonNull] + public string? code { get; set; } + /// ///The description of the pickup option. /// - [Description("The description of the pickup option.")] - public string? description { get; set; } - + [Description("The description of the pickup option.")] + public string? description { get; set; } + /// ///The pickup location. /// - [Description("The pickup location.")] - [NonNull] - public Location? location { get; set; } - + [Description("The pickup location.")] + [NonNull] + public Location? location { get; set; } + /// ///Whether a phone number is required for the pickup option. /// - [Description("Whether a phone number is required for the pickup option.")] - [NonNull] - public bool? phoneRequired { get; set; } - + [Description("Whether a phone number is required for the pickup option.")] + [NonNull] + public bool? phoneRequired { get; set; } + /// ///The estimated amount of time it takes for the pickup to be ready. For example, "Usually ready in 24 hours".). /// - [Description("The estimated amount of time it takes for the pickup to be ready. For example, \"Usually ready in 24 hours\".).")] - [NonNull] - public string? pickupTime { get; set; } - + [Description("The estimated amount of time it takes for the pickup to be ready. For example, \"Usually ready in 24 hours\".).")] + [NonNull] + public string? pickupTime { get; set; } + /// ///The presentment title of the pickup option. /// - [Description("The presentment title of the pickup option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the pickup option.")] + public string? presentmentTitle { get; set; } + /// ///The price of the pickup option. /// - [Description("The price of the pickup option.")] - public MoneyV2? price { get; set; } - + [Description("The price of the pickup option.")] + public MoneyV2? price { get; set; } + /// ///The title of the pickup option. /// - [Description("The title of the pickup option.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the pickup option.")] + [NonNull] + public string? title { get; set; } + } + /// ///Represents a Subscription Line Pricing Policy. /// - [Description("Represents a Subscription Line Pricing Policy.")] - public class SubscriptionPricingPolicy : GraphQLObject - { + [Description("Represents a Subscription Line Pricing Policy.")] + public class SubscriptionPricingPolicy : GraphQLObject + { /// ///The base price per unit for the subscription line in the contract's currency. /// - [Description("The base price per unit for the subscription line in the contract's currency.")] - [NonNull] - public MoneyV2? basePrice { get; set; } - + [Description("The base price per unit for the subscription line in the contract's currency.")] + [NonNull] + public MoneyV2? basePrice { get; set; } + /// ///The adjustments per cycle for the subscription line. /// - [Description("The adjustments per cycle for the subscription line.")] - [NonNull] - public IEnumerable? cycleDiscounts { get; set; } - } - + [Description("The adjustments per cycle for the subscription line.")] + [NonNull] + public IEnumerable? cycleDiscounts { get; set; } + } + /// ///The input fields for an array containing all pricing changes for each billing cycle. /// - [Description("The input fields for an array containing all pricing changes for each billing cycle.")] - public class SubscriptionPricingPolicyCycleDiscountsInput : GraphQLObject - { + [Description("The input fields for an array containing all pricing changes for each billing cycle.")] + public class SubscriptionPricingPolicyCycleDiscountsInput : GraphQLObject + { /// ///The cycle after which the pricing policy applies. /// - [Description("The cycle after which the pricing policy applies.")] - [NonNull] - public int? afterCycle { get; set; } - + [Description("The cycle after which the pricing policy applies.")] + [NonNull] + public int? afterCycle { get; set; } + /// ///The price adjustment type. /// - [Description("The price adjustment type.")] - [NonNull] - [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] - public string? adjustmentType { get; set; } - + [Description("The price adjustment type.")] + [NonNull] + [EnumType(typeof(SellingPlanPricingPolicyAdjustmentType))] + public string? adjustmentType { get; set; } + /// ///The price adjustment value. /// - [Description("The price adjustment value.")] - [NonNull] - public SellingPlanPricingPolicyValueInput? adjustmentValue { get; set; } - + [Description("The price adjustment value.")] + [NonNull] + public SellingPlanPricingPolicyValueInput? adjustmentValue { get; set; } + /// ///The computed price after the adjustments are applied. /// - [Description("The computed price after the adjustments are applied.")] - [NonNull] - public decimal? computedPrice { get; set; } - } - + [Description("The computed price after the adjustments are applied.")] + [NonNull] + public decimal? computedPrice { get; set; } + } + /// ///The input fields for expected price changes of the subscription line over time. /// - [Description("The input fields for expected price changes of the subscription line over time.")] - public class SubscriptionPricingPolicyInput : GraphQLObject - { + [Description("The input fields for expected price changes of the subscription line over time.")] + public class SubscriptionPricingPolicyInput : GraphQLObject + { /// ///The base price per unit for the subscription line in the contract's currency. /// - [Description("The base price per unit for the subscription line in the contract's currency.")] - [NonNull] - public decimal? basePrice { get; set; } - + [Description("The base price per unit for the subscription line in the contract's currency.")] + [NonNull] + public decimal? basePrice { get; set; } + /// ///An array containing all pricing changes for each billing cycle. /// - [Description("An array containing all pricing changes for each billing cycle.")] - [NonNull] - public IEnumerable? cycleDiscounts { get; set; } - } - + [Description("An array containing all pricing changes for each billing cycle.")] + [NonNull] + public IEnumerable? cycleDiscounts { get; set; } + } + /// ///A shipping option to deliver a subscription contract. /// - [Description("A shipping option to deliver a subscription contract.")] - public class SubscriptionShippingOption : GraphQLObject, ISubscriptionDeliveryOption - { + [Description("A shipping option to deliver a subscription contract.")] + public class SubscriptionShippingOption : GraphQLObject, ISubscriptionDeliveryOption + { /// ///The carrier service that's providing this shipping option. ///This field isn't currently supported and returns null. /// - [Description("The carrier service that's providing this shipping option.\nThis field isn't currently supported and returns null.")] - [Obsolete("This field has never been implemented.")] - public DeliveryCarrierService? carrierService { get; set; } - + [Description("The carrier service that's providing this shipping option.\nThis field isn't currently supported and returns null.")] + [Obsolete("This field has never been implemented.")] + public DeliveryCarrierService? carrierService { get; set; } + /// ///The code of the shipping option. /// - [Description("The code of the shipping option.")] - [NonNull] - public string? code { get; set; } - + [Description("The code of the shipping option.")] + [NonNull] + public string? code { get; set; } + /// ///The description of the shipping option. /// - [Description("The description of the shipping option.")] - public string? description { get; set; } - + [Description("The description of the shipping option.")] + public string? description { get; set; } + /// ///If a phone number is required for the shipping option. /// - [Description("If a phone number is required for the shipping option.")] - public bool? phoneRequired { get; set; } - + [Description("If a phone number is required for the shipping option.")] + public bool? phoneRequired { get; set; } + /// ///The presentment title of the shipping option. /// - [Description("The presentment title of the shipping option.")] - public string? presentmentTitle { get; set; } - + [Description("The presentment title of the shipping option.")] + public string? presentmentTitle { get; set; } + /// ///The price of the shipping option. /// - [Description("The price of the shipping option.")] - public MoneyV2? price { get; set; } - + [Description("The price of the shipping option.")] + public MoneyV2? price { get; set; } + /// ///The title of the shipping option. /// - [Description("The title of the shipping option.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The title of the shipping option.")] + [NonNull] + public string? title { get; set; } + } + /// ///The result of the query to fetch shipping options for the subscription contract. /// - [Description("The result of the query to fetch shipping options for the subscription contract.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SubscriptionShippingOptionResultFailure), typeDiscriminator: "SubscriptionShippingOptionResultFailure")] - [JsonDerivedType(typeof(SubscriptionShippingOptionResultSuccess), typeDiscriminator: "SubscriptionShippingOptionResultSuccess")] - public interface ISubscriptionShippingOptionResult : IGraphQLObject - { - public SubscriptionShippingOptionResultFailure? AsSubscriptionShippingOptionResultFailure() => this as SubscriptionShippingOptionResultFailure; - public SubscriptionShippingOptionResultSuccess? AsSubscriptionShippingOptionResultSuccess() => this as SubscriptionShippingOptionResultSuccess; - } - + [Description("The result of the query to fetch shipping options for the subscription contract.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SubscriptionShippingOptionResultFailure), typeDiscriminator: "SubscriptionShippingOptionResultFailure")] + [JsonDerivedType(typeof(SubscriptionShippingOptionResultSuccess), typeDiscriminator: "SubscriptionShippingOptionResultSuccess")] + public interface ISubscriptionShippingOptionResult : IGraphQLObject + { + public SubscriptionShippingOptionResultFailure? AsSubscriptionShippingOptionResultFailure() => this as SubscriptionShippingOptionResultFailure; + public SubscriptionShippingOptionResultSuccess? AsSubscriptionShippingOptionResultSuccess() => this as SubscriptionShippingOptionResultSuccess; + } + /// ///Failure determining available shipping options for delivery of a subscription contract. /// - [Description("Failure determining available shipping options for delivery of a subscription contract.")] - public class SubscriptionShippingOptionResultFailure : GraphQLObject, ISubscriptionShippingOptionResult - { + [Description("Failure determining available shipping options for delivery of a subscription contract.")] + public class SubscriptionShippingOptionResultFailure : GraphQLObject, ISubscriptionShippingOptionResult + { /// ///Failure reason. /// - [Description("Failure reason.")] - public string? message { get; set; } - } - + [Description("Failure reason.")] + public string? message { get; set; } + } + /// ///A shipping option for delivery of a subscription contract. /// - [Description("A shipping option for delivery of a subscription contract.")] - public class SubscriptionShippingOptionResultSuccess : GraphQLObject, ISubscriptionShippingOptionResult - { + [Description("A shipping option for delivery of a subscription contract.")] + public class SubscriptionShippingOptionResultSuccess : GraphQLObject, ISubscriptionShippingOptionResult + { /// ///Available shipping options. /// - [Description("Available shipping options.")] - [NonNull] - public IEnumerable? shippingOptions { get; set; } - } - + [Description("Available shipping options.")] + [NonNull] + public IEnumerable? shippingOptions { get; set; } + } + /// ///A suggested transaction. Suggested transaction are usually used in the context of refunds ///and exchanges. /// - [Description("A suggested transaction. Suggested transaction are usually used in the context of refunds\nand exchanges.")] - public class SuggestedOrderTransaction : GraphQLObject - { + [Description("A suggested transaction. Suggested transaction are usually used in the context of refunds\nand exchanges.")] + public class SuggestedOrderTransaction : GraphQLObject + { /// ///The masked account number associated with the payment method. /// - [Description("The masked account number associated with the payment method.")] - public string? accountNumber { get; set; } - + [Description("The masked account number associated with the payment method.")] + public string? accountNumber { get; set; } + /// ///The amount of the transaction. /// - [Description("The amount of the transaction.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("The amount of the transaction.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The amount and currency of the suggested order transaction in shop and presentment currencies. /// - [Description("The amount and currency of the suggested order transaction in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The amount and currency of the suggested order transaction in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The human-readable payment gateway name suggested to process the transaction. /// - [Description("The human-readable payment gateway name suggested to process the transaction.")] - public string? formattedGateway { get; set; } - + [Description("The human-readable payment gateway name suggested to process the transaction.")] + public string? formattedGateway { get; set; } + /// ///The suggested payment gateway used to process the transaction. /// - [Description("The suggested payment gateway used to process the transaction.")] - public string? gateway { get; set; } - + [Description("The suggested payment gateway used to process the transaction.")] + public string? gateway { get; set; } + /// ///Specifies the kind of the suggested order transaction. /// - [Description("Specifies the kind of the suggested order transaction.")] - [NonNull] - [EnumType(typeof(SuggestedOrderTransactionKind))] - public string? kind { get; set; } - + [Description("Specifies the kind of the suggested order transaction.")] + [NonNull] + [EnumType(typeof(SuggestedOrderTransactionKind))] + public string? kind { get; set; } + /// ///Specifies the available amount to refund on the gateway. Only available within SuggestedRefund. /// - [Description("Specifies the available amount to refund on the gateway. Only available within SuggestedRefund.")] - [Obsolete("Use `maximumRefundableSet` instead.")] - public decimal? maximumRefundable { get; set; } - + [Description("Specifies the available amount to refund on the gateway. Only available within SuggestedRefund.")] + [Obsolete("Use `maximumRefundableSet` instead.")] + public decimal? maximumRefundable { get; set; } + /// ///Specifies the available amount to refund on the gateway in shop and presentment currencies. Only available within SuggestedRefund. /// - [Description("Specifies the available amount to refund on the gateway in shop and presentment currencies. Only available within SuggestedRefund.")] - public MoneyBag? maximumRefundableSet { get; set; } - + [Description("Specifies the available amount to refund on the gateway in shop and presentment currencies. Only available within SuggestedRefund.")] + public MoneyBag? maximumRefundableSet { get; set; } + /// ///The associated parent transaction, for example the authorization of a capture. /// - [Description("The associated parent transaction, for example the authorization of a capture.")] - public OrderTransaction? parentTransaction { get; set; } - + [Description("The associated parent transaction, for example the authorization of a capture.")] + public OrderTransaction? parentTransaction { get; set; } + /// ///The associated payment details related to the transaction. /// - [Description("The associated payment details related to the transaction.")] - public IPaymentDetails? paymentDetails { get; set; } - + [Description("The associated payment details related to the transaction.")] + public IPaymentDetails? paymentDetails { get; set; } + /// ///The types of refunds that the transaction supports. For example, if it's a CARD_PRESENT_REFUND type, then the transaction requires chip data from reading a physical card using a card reader to be refunded. Only available within SuggestedRefund. /// - [Description("The types of refunds that the transaction supports. For example, if it's a CARD_PRESENT_REFUND type, then the transaction requires chip data from reading a physical card using a card reader to be refunded. Only available within SuggestedRefund.")] - [NonNull] - [EnumType(typeof(TransactionSupportedRefundType))] - public string? supportedRefundType { get; set; } - } - + [Description("The types of refunds that the transaction supports. For example, if it's a CARD_PRESENT_REFUND type, then the transaction requires chip data from reading a physical card using a card reader to be refunded. Only available within SuggestedRefund.")] + [NonNull] + [EnumType(typeof(TransactionSupportedRefundType))] + public string? supportedRefundType { get; set; } + } + /// ///Specifies the kind of the suggested order transaction. /// - [Description("Specifies the kind of the suggested order transaction.")] - public enum SuggestedOrderTransactionKind - { + [Description("Specifies the kind of the suggested order transaction.")] + public enum SuggestedOrderTransactionKind + { /// ///A suggested refund transaction for an order. /// - [Description("A suggested refund transaction for an order.")] - SUGGESTED_REFUND, - } - - public static class SuggestedOrderTransactionKindStringValues - { - public const string SUGGESTED_REFUND = @"SUGGESTED_REFUND"; - } - + [Description("A suggested refund transaction for an order.")] + SUGGESTED_REFUND, + } + + public static class SuggestedOrderTransactionKindStringValues + { + public const string SUGGESTED_REFUND = @"SUGGESTED_REFUND"; + } + /// ///The input fields for an exchange line item. /// - [Description("The input fields for an exchange line item.")] - public class SuggestedOutcomeExchangeLineItemInput : GraphQLObject - { + [Description("The input fields for an exchange line item.")] + public class SuggestedOutcomeExchangeLineItemInput : GraphQLObject + { /// ///The ID of the exchange line item. /// - [Description("The ID of the exchange line item.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the exchange line item.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity of the exchange line item. /// - [Description("The quantity of the exchange line item.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the exchange line item.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///The input fields for a return line item. /// - [Description("The input fields for a return line item.")] - public class SuggestedOutcomeReturnLineItemInput : GraphQLObject - { + [Description("The input fields for a return line item.")] + public class SuggestedOutcomeReturnLineItemInput : GraphQLObject + { /// ///The ID of the return line item. /// - [Description("The ID of the return line item.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the return line item.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity of the return line item. /// - [Description("The quantity of the return line item.")] - [NonNull] - public int? quantity { get; set; } - } - + [Description("The quantity of the return line item.")] + [NonNull] + public int? quantity { get; set; } + } + /// ///Represents a refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund. /// - [Description("Represents a refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund.")] - public class SuggestedRefund : GraphQLObject - { + [Description("Represents a refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund.")] + public class SuggestedRefund : GraphQLObject + { /// ///The total monetary value to be refunded. /// - [Description("The total monetary value to be refunded.")] - [Obsolete("Use `amountSet` instead.")] - [NonNull] - public decimal? amount { get; set; } - + [Description("The total monetary value to be refunded.")] + [Obsolete("Use `amountSet` instead.")] + [NonNull] + public decimal? amount { get; set; } + /// ///The total monetary value to be refunded in shop and presentment currencies. /// - [Description("The total monetary value to be refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amountSet { get; set; } - + [Description("The total monetary value to be refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amountSet { get; set; } + /// ///The sum of all the discounted prices of the line items being refunded. /// - [Description("The sum of all the discounted prices of the line items being refunded.")] - [NonNull] - public MoneyBag? discountedSubtotalSet { get; set; } - + [Description("The sum of all the discounted prices of the line items being refunded.")] + [NonNull] + public MoneyBag? discountedSubtotalSet { get; set; } + /// ///The total monetary value available to refund. /// - [Description("The total monetary value available to refund.")] - [Obsolete("Use `maximumRefundableSet` instead.")] - [NonNull] - public decimal? maximumRefundable { get; set; } - + [Description("The total monetary value available to refund.")] + [Obsolete("Use `maximumRefundableSet` instead.")] + [NonNull] + public decimal? maximumRefundable { get; set; } + /// ///The total monetary value available to refund in shop and presentment currencies. /// - [Description("The total monetary value available to refund in shop and presentment currencies.")] - [NonNull] - public MoneyBag? maximumRefundableSet { get; set; } - + [Description("The total monetary value available to refund in shop and presentment currencies.")] + [NonNull] + public MoneyBag? maximumRefundableSet { get; set; } + /// ///An array of additional fees that will be refunded to the customer. /// - [Description("An array of additional fees that will be refunded to the customer.")] - [NonNull] - public IEnumerable? refundAdditionalFees { get; set; } - + [Description("An array of additional fees that will be refunded to the customer.")] + [NonNull] + public IEnumerable? refundAdditionalFees { get; set; } + /// ///A list of duties to be refunded from the order. /// - [Description("A list of duties to be refunded from the order.")] - [NonNull] - public IEnumerable? refundDuties { get; set; } - + [Description("A list of duties to be refunded from the order.")] + [NonNull] + public IEnumerable? refundDuties { get; set; } + /// ///A list of line items to be refunded, along with restock instructions. /// - [Description("A list of line items to be refunded, along with restock instructions.")] - [NonNull] - public IEnumerable? refundLineItems { get; set; } - + [Description("A list of line items to be refunded, along with restock instructions.")] + [NonNull] + public IEnumerable? refundLineItems { get; set; } + /// ///The shipping costs to be refunded from the order. /// - [Description("The shipping costs to be refunded from the order.")] - [NonNull] - public ShippingRefund? shipping { get; set; } - + [Description("The shipping costs to be refunded from the order.")] + [NonNull] + public ShippingRefund? shipping { get; set; } + /// ///The sum of all the prices of the line items being refunded. /// - [Description("The sum of all the prices of the line items being refunded.")] - [Obsolete("Use `subtotalSet` instead.")] - [NonNull] - public decimal? subtotal { get; set; } - + [Description("The sum of all the prices of the line items being refunded.")] + [Obsolete("Use `subtotalSet` instead.")] + [NonNull] + public decimal? subtotal { get; set; } + /// ///The sum of all the prices of the line items being refunded in shop and presentment currencies. /// - [Description("The sum of all the prices of the line items being refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? subtotalSet { get; set; } - + [Description("The sum of all the prices of the line items being refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? subtotalSet { get; set; } + /// ///A list of suggested refund methods. /// - [Description("A list of suggested refund methods.")] - [NonNull] - public IEnumerable? suggestedRefundMethods { get; set; } - + [Description("A list of suggested refund methods.")] + [NonNull] + public IEnumerable? suggestedRefundMethods { get; set; } + /// ///A list of suggested order transactions. /// - [Description("A list of suggested order transactions.")] - [NonNull] - public IEnumerable? suggestedTransactions { get; set; } - + [Description("A list of suggested order transactions.")] + [NonNull] + public IEnumerable? suggestedTransactions { get; set; } + /// ///The sum of all the additional fees being refunded from the order in shop and presentment currencies. The value must be positive. /// - [Description("The sum of all the additional fees being refunded from the order in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalAdditionalFeesSet { get; set; } - + [Description("The sum of all the additional fees being refunded from the order in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalAdditionalFeesSet { get; set; } + /// ///The total cart discount amount that was applied to all line items in this refund. /// - [Description("The total cart discount amount that was applied to all line items in this refund.")] - [NonNull] - public MoneyBag? totalCartDiscountAmountSet { get; set; } - + [Description("The total cart discount amount that was applied to all line items in this refund.")] + [NonNull] + public MoneyBag? totalCartDiscountAmountSet { get; set; } + /// ///The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive. /// - [Description("The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalDutiesSet { get; set; } - + [Description("The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalDutiesSet { get; set; } + /// ///The sum of the taxes being refunded from the order in shop and presentment currencies. The value must be positive. /// - [Description("The sum of the taxes being refunded from the order in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalTaxSet { get; set; } - + [Description("The sum of the taxes being refunded from the order in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalTaxSet { get; set; } + /// ///The sum of the taxes being refunded from the order. The value must be positive. /// - [Description("The sum of the taxes being refunded from the order. The value must be positive.")] - [Obsolete("Use `totalTaxSet` instead.")] - [NonNull] - public decimal? totalTaxes { get; set; } - } - + [Description("The sum of the taxes being refunded from the order. The value must be positive.")] + [Obsolete("Use `totalTaxSet` instead.")] + [NonNull] + public decimal? totalTaxes { get; set; } + } + /// ///Generic attributes of a suggested refund method. /// - [Description("Generic attributes of a suggested refund method.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(SuggestedStoreCreditRefund), typeDiscriminator: "SuggestedStoreCreditRefund")] - public interface ISuggestedRefundMethod : IGraphQLObject - { - public SuggestedStoreCreditRefund? AsSuggestedStoreCreditRefund() => this as SuggestedStoreCreditRefund; + [Description("Generic attributes of a suggested refund method.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(SuggestedStoreCreditRefund), typeDiscriminator: "SuggestedStoreCreditRefund")] + public interface ISuggestedRefundMethod : IGraphQLObject + { + public SuggestedStoreCreditRefund? AsSuggestedStoreCreditRefund() => this as SuggestedStoreCreditRefund; /// ///The suggested amount to refund in shop and presentment currencies. /// - [Description("The suggested amount to refund in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amount { get; } - + [Description("The suggested amount to refund in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amount { get; } + /// ///The maximum available amount to refund in shop and presentment currencies. /// - [Description("The maximum available amount to refund in shop and presentment currencies.")] - [NonNull] - public MoneyBag? maximumRefundable { get; } - } - + [Description("The maximum available amount to refund in shop and presentment currencies.")] + [NonNull] + public MoneyBag? maximumRefundable { get; } + } + /// ///Represents a return financial outcome suggested by Shopify based on the items being reimbursed. You can then use the suggested outcome object to generate an actual refund or invoice for the return. /// - [Description("Represents a return financial outcome suggested by Shopify based on the items being reimbursed. You can then use the suggested outcome object to generate an actual refund or invoice for the return.")] - public class SuggestedReturnFinancialOutcome : GraphQLObject - { + [Description("Represents a return financial outcome suggested by Shopify based on the items being reimbursed. You can then use the suggested outcome object to generate an actual refund or invoice for the return.")] + public class SuggestedReturnFinancialOutcome : GraphQLObject + { /// ///The sum of all the discounted prices of the line items being refunded. /// - [Description("The sum of all the discounted prices of the line items being refunded.")] - [NonNull] - public MoneyBag? discountedSubtotal { get; set; } - + [Description("The sum of all the discounted prices of the line items being refunded.")] + [NonNull] + public MoneyBag? discountedSubtotal { get; set; } + /// ///The financial transfer details for the return outcome. /// - [Description("The financial transfer details for the return outcome.")] - public IReturnOutcomeFinancialTransfer? financialTransfer { get; set; } - + [Description("The financial transfer details for the return outcome.")] + public IReturnOutcomeFinancialTransfer? financialTransfer { get; set; } + /// ///The total monetary value available to refund in shop and presentment currencies. /// - [Description("The total monetary value available to refund in shop and presentment currencies.")] - [NonNull] - public MoneyBag? maximumRefundable { get; set; } - + [Description("The total monetary value available to refund in shop and presentment currencies.")] + [NonNull] + public MoneyBag? maximumRefundable { get; set; } + /// ///A list of additional fees to be refunded from the order. /// - [Description("A list of additional fees to be refunded from the order.")] - [NonNull] - public IEnumerable? refundAdditionalFees { get; set; } - + [Description("A list of additional fees to be refunded from the order.")] + [NonNull] + public IEnumerable? refundAdditionalFees { get; set; } + /// ///A list of duties to be refunded from the order. /// - [Description("A list of duties to be refunded from the order.")] - [NonNull] - public IEnumerable? refundDuties { get; set; } - + [Description("A list of duties to be refunded from the order.")] + [NonNull] + public IEnumerable? refundDuties { get; set; } + /// ///The shipping costs to be refunded from the order. /// - [Description("The shipping costs to be refunded from the order.")] - [NonNull] - public ShippingRefund? shipping { get; set; } - + [Description("The shipping costs to be refunded from the order.")] + [NonNull] + public ShippingRefund? shipping { get; set; } + /// ///The sum of all the additional fees being refunded in shop and presentment currencies. The value must be positive. /// - [Description("The sum of all the additional fees being refunded in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalAdditionalFees { get; set; } - + [Description("The sum of all the additional fees being refunded in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalAdditionalFees { get; set; } + /// ///The total cart discount amount that was applied to all line items in this refund. /// - [Description("The total cart discount amount that was applied to all line items in this refund.")] - [NonNull] - public MoneyBag? totalCartDiscountAmount { get; set; } - + [Description("The total cart discount amount that was applied to all line items in this refund.")] + [NonNull] + public MoneyBag? totalCartDiscountAmount { get; set; } + /// ///The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive. /// - [Description("The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalDuties { get; set; } - + [Description("The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalDuties { get; set; } + /// ///The sum of the taxes being refunded in shop and presentment currencies. The value must be positive. /// - [Description("The sum of the taxes being refunded in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalTax { get; set; } - } - + [Description("The sum of the taxes being refunded in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalTax { get; set; } + } + /// ///Represents a return refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund for the return. /// - [Description("Represents a return refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund for the return.")] - public class SuggestedReturnRefund : GraphQLObject - { + [Description("Represents a return refund suggested by Shopify based on the items being reimbursed. You can then use the suggested refund object to generate an actual refund for the return.")] + public class SuggestedReturnRefund : GraphQLObject + { /// ///The total monetary value to be refunded in shop and presentment currencies. /// - [Description("The total monetary value to be refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amount { get; set; } - + [Description("The total monetary value to be refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amount { get; set; } + /// ///The sum of all the discounted prices of the line items being refunded. /// - [Description("The sum of all the discounted prices of the line items being refunded.")] - [NonNull] - public MoneyBag? discountedSubtotal { get; set; } - + [Description("The sum of all the discounted prices of the line items being refunded.")] + [NonNull] + public MoneyBag? discountedSubtotal { get; set; } + /// ///The total monetary value available to refund in shop and presentment currencies. /// - [Description("The total monetary value available to refund in shop and presentment currencies.")] - [NonNull] - public MoneyBag? maximumRefundable { get; set; } - + [Description("The total monetary value available to refund in shop and presentment currencies.")] + [NonNull] + public MoneyBag? maximumRefundable { get; set; } + /// ///A list of additional fees to be refunded from the order. /// - [Description("A list of additional fees to be refunded from the order.")] - [NonNull] - public IEnumerable? refundAdditionalFees { get; set; } - + [Description("A list of additional fees to be refunded from the order.")] + [NonNull] + public IEnumerable? refundAdditionalFees { get; set; } + /// ///A list of duties to be refunded from the order. /// - [Description("A list of duties to be refunded from the order.")] - [NonNull] - public IEnumerable? refundDuties { get; set; } - + [Description("A list of duties to be refunded from the order.")] + [NonNull] + public IEnumerable? refundDuties { get; set; } + /// ///The shipping costs to be refunded from the order. /// - [Description("The shipping costs to be refunded from the order.")] - [NonNull] - public ShippingRefund? shipping { get; set; } - + [Description("The shipping costs to be refunded from the order.")] + [NonNull] + public ShippingRefund? shipping { get; set; } + /// ///The sum of all the prices of the line items being refunded in shop and presentment currencies. /// - [Description("The sum of all the prices of the line items being refunded in shop and presentment currencies.")] - [NonNull] - public MoneyBag? subtotal { get; set; } - + [Description("The sum of all the prices of the line items being refunded in shop and presentment currencies.")] + [NonNull] + public MoneyBag? subtotal { get; set; } + /// ///A list of suggested order transactions. /// - [Description("A list of suggested order transactions.")] - [NonNull] - public IEnumerable? suggestedTransactions { get; set; } - + [Description("A list of suggested order transactions.")] + [NonNull] + public IEnumerable? suggestedTransactions { get; set; } + /// ///The sum of all the additional fees being refunded in shop and presentment currencies. The value must be positive. /// - [Description("The sum of all the additional fees being refunded in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalAdditionalFees { get; set; } - + [Description("The sum of all the additional fees being refunded in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalAdditionalFees { get; set; } + /// ///The total cart discount amount that was applied to all line items in this refund. /// - [Description("The total cart discount amount that was applied to all line items in this refund.")] - [NonNull] - public MoneyBag? totalCartDiscountAmount { get; set; } - + [Description("The total cart discount amount that was applied to all line items in this refund.")] + [NonNull] + public MoneyBag? totalCartDiscountAmount { get; set; } + /// ///The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive. /// - [Description("The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalDuties { get; set; } - + [Description("The sum of all the duties being refunded from the order in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalDuties { get; set; } + /// ///The sum of the taxes being refunded in shop and presentment currencies. The value must be positive. /// - [Description("The sum of the taxes being refunded in shop and presentment currencies. The value must be positive.")] - [NonNull] - public MoneyBag? totalTax { get; set; } - } - + [Description("The sum of the taxes being refunded in shop and presentment currencies. The value must be positive.")] + [NonNull] + public MoneyBag? totalTax { get; set; } + } + /// ///The suggested values for a refund to store credit. /// - [Description("The suggested values for a refund to store credit.")] - public class SuggestedStoreCreditRefund : GraphQLObject, ISuggestedRefundMethod - { + [Description("The suggested values for a refund to store credit.")] + public class SuggestedStoreCreditRefund : GraphQLObject, ISuggestedRefundMethod + { /// ///The suggested amount to refund in shop and presentment currencies. /// - [Description("The suggested amount to refund in shop and presentment currencies.")] - [NonNull] - public MoneyBag? amount { get; set; } - + [Description("The suggested amount to refund in shop and presentment currencies.")] + [NonNull] + public MoneyBag? amount { get; set; } + /// ///The suggested expiration date for the store credit. /// - [Description("The suggested expiration date for the store credit.")] - public DateTime? expiresAt { get; set; } - + [Description("The suggested expiration date for the store credit.")] + public DateTime? expiresAt { get; set; } + /// ///The maximum available amount to refund in shop and presentment currencies. /// - [Description("The maximum available amount to refund in shop and presentment currencies.")] - [NonNull] - public MoneyBag? maximumRefundable { get; set; } - } - + [Description("The maximum available amount to refund in shop and presentment currencies.")] + [NonNull] + public MoneyBag? maximumRefundable { get; set; } + } + /// ///Return type for `tagsAdd` mutation. /// - [Description("Return type for `tagsAdd` mutation.")] - public class TagsAddPayload : GraphQLObject - { + [Description("Return type for `tagsAdd` mutation.")] + public class TagsAddPayload : GraphQLObject + { /// ///The object that was updated. /// - [Description("The object that was updated.")] - public INode? node { get; set; } - + [Description("The object that was updated.")] + public INode? node { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `tagsRemove` mutation. /// - [Description("Return type for `tagsRemove` mutation.")] - public class TagsRemovePayload : GraphQLObject - { + [Description("Return type for `tagsRemove` mutation.")] + public class TagsRemovePayload : GraphQLObject + { /// ///The object that was updated. /// - [Description("The object that was updated.")] - public INode? node { get; set; } - + [Description("The object that was updated.")] + public INode? node { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Tax app configuration of a merchant. /// - [Description("Tax app configuration of a merchant.")] - public class TaxAppConfiguration : GraphQLObject - { + [Description("Tax app configuration of a merchant.")] + public class TaxAppConfiguration : GraphQLObject + { /// ///State of the tax app configuration. /// - [Description("State of the tax app configuration.")] - [NonNull] - [EnumType(typeof(TaxPartnerState))] - public string? state { get; set; } - } - + [Description("State of the tax app configuration.")] + [NonNull] + [EnumType(typeof(TaxPartnerState))] + public string? state { get; set; } + } + /// ///Return type for `taxAppConfigure` mutation. /// - [Description("Return type for `taxAppConfigure` mutation.")] - public class TaxAppConfigurePayload : GraphQLObject - { + [Description("Return type for `taxAppConfigure` mutation.")] + public class TaxAppConfigurePayload : GraphQLObject + { /// ///The updated tax app configuration. /// - [Description("The updated tax app configuration.")] - public TaxAppConfiguration? taxAppConfiguration { get; set; } - + [Description("The updated tax app configuration.")] + public TaxAppConfiguration? taxAppConfiguration { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `TaxAppConfigure`. /// - [Description("An error that occurs during the execution of `TaxAppConfigure`.")] - public class TaxAppConfigureUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `TaxAppConfigure`.")] + public class TaxAppConfigureUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(TaxAppConfigureUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(TaxAppConfigureUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `TaxAppConfigureUserError`. /// - [Description("Possible error codes that can be returned by `TaxAppConfigureUserError`.")] - public enum TaxAppConfigureUserErrorCode - { + [Description("Possible error codes that can be returned by `TaxAppConfigureUserError`.")] + public enum TaxAppConfigureUserErrorCode + { /// ///Unable to find the tax partner record. /// - [Description("Unable to find the tax partner record.")] - TAX_PARTNER_NOT_FOUND, + [Description("Unable to find the tax partner record.")] + TAX_PARTNER_NOT_FOUND, /// ///Unable to update tax partner state. /// - [Description("Unable to update tax partner state.")] - TAX_PARTNER_STATE_UPDATE_FAILED, + [Description("Unable to update tax partner state.")] + TAX_PARTNER_STATE_UPDATE_FAILED, /// ///Unable to update already active tax partner. /// - [Description("Unable to update already active tax partner.")] - TAX_PARTNER_ALREADY_ACTIVE, - } - - public static class TaxAppConfigureUserErrorCodeStringValues - { - public const string TAX_PARTNER_NOT_FOUND = @"TAX_PARTNER_NOT_FOUND"; - public const string TAX_PARTNER_STATE_UPDATE_FAILED = @"TAX_PARTNER_STATE_UPDATE_FAILED"; - public const string TAX_PARTNER_ALREADY_ACTIVE = @"TAX_PARTNER_ALREADY_ACTIVE"; - } - + [Description("Unable to update already active tax partner.")] + TAX_PARTNER_ALREADY_ACTIVE, + } + + public static class TaxAppConfigureUserErrorCodeStringValues + { + public const string TAX_PARTNER_NOT_FOUND = @"TAX_PARTNER_NOT_FOUND"; + public const string TAX_PARTNER_STATE_UPDATE_FAILED = @"TAX_PARTNER_STATE_UPDATE_FAILED"; + public const string TAX_PARTNER_ALREADY_ACTIVE = @"TAX_PARTNER_ALREADY_ACTIVE"; + } + /// ///Available customer tax exemptions. /// - [Description("Available customer tax exemptions.")] - public enum TaxExemption - { + [Description("Available customer tax exemptions.")] + public enum TaxExemption + { /// ///This customer is exempt from GST taxes for holding a valid exemption. The business customer should provide their GST number and account for the GST. /// - [Description("This customer is exempt from GST taxes for holding a valid exemption. The business customer should provide their GST number and account for the GST.")] - AUSTRALIA_RESELLER_EXEMPTION, + [Description("This customer is exempt from GST taxes for holding a valid exemption. The business customer should provide their GST number and account for the GST.")] + AUSTRALIA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada. /// - [Description("This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada.")] - CA_STATUS_CARD_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid STATUS_CARD_EXEMPTION in Canada.")] + CA_STATUS_CARD_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in British Columbia. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in British Columbia.")] - CA_BC_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in British Columbia.")] + CA_BC_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Manitoba. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Manitoba.")] - CA_MB_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Manitoba.")] + CA_MB_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Saskatchewan. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Saskatchewan.")] - CA_SK_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Saskatchewan.")] + CA_SK_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid DIPLOMAT_EXEMPTION in Canada. /// - [Description("This customer is exempt from specific taxes for holding a valid DIPLOMAT_EXEMPTION in Canada.")] - CA_DIPLOMAT_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid DIPLOMAT_EXEMPTION in Canada.")] + CA_DIPLOMAT_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in British Columbia. /// - [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in British Columbia.")] - CA_BC_COMMERCIAL_FISHERY_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in British Columbia.")] + CA_BC_COMMERCIAL_FISHERY_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Manitoba. /// - [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Manitoba.")] - CA_MB_COMMERCIAL_FISHERY_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Manitoba.")] + CA_MB_COMMERCIAL_FISHERY_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Nova Scotia. /// - [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Nova Scotia.")] - CA_NS_COMMERCIAL_FISHERY_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Nova Scotia.")] + CA_NS_COMMERCIAL_FISHERY_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Prince Edward Island. /// - [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Prince Edward Island.")] - CA_PE_COMMERCIAL_FISHERY_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Prince Edward Island.")] + CA_PE_COMMERCIAL_FISHERY_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Saskatchewan. /// - [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Saskatchewan.")] - CA_SK_COMMERCIAL_FISHERY_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid COMMERCIAL_FISHERY_EXEMPTION in Saskatchewan.")] + CA_SK_COMMERCIAL_FISHERY_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in British Columbia. /// - [Description("This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in British Columbia.")] - CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in British Columbia.")] + CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in Saskatchewan. /// - [Description("This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in Saskatchewan.")] - CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid PRODUCTION_AND_MACHINERY_EXEMPTION in Saskatchewan.")] + CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in British Columbia. /// - [Description("This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in British Columbia.")] - CA_BC_SUB_CONTRACTOR_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in British Columbia.")] + CA_BC_SUB_CONTRACTOR_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in Saskatchewan. /// - [Description("This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in Saskatchewan.")] - CA_SK_SUB_CONTRACTOR_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid SUB_CONTRACTOR_EXEMPTION in Saskatchewan.")] + CA_SK_SUB_CONTRACTOR_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in British Columbia. /// - [Description("This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in British Columbia.")] - CA_BC_CONTRACTOR_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in British Columbia.")] + CA_BC_CONTRACTOR_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in Saskatchewan. /// - [Description("This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in Saskatchewan.")] - CA_SK_CONTRACTOR_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid CONTRACTOR_EXEMPTION in Saskatchewan.")] + CA_SK_CONTRACTOR_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid PURCHASE_EXEMPTION in Ontario. /// - [Description("This customer is exempt from specific taxes for holding a valid PURCHASE_EXEMPTION in Ontario.")] - CA_ON_PURCHASE_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid PURCHASE_EXEMPTION in Ontario.")] + CA_ON_PURCHASE_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Manitoba. /// - [Description("This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Manitoba.")] - CA_MB_FARMER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Manitoba.")] + CA_MB_FARMER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Nova Scotia. /// - [Description("This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Nova Scotia.")] - CA_NS_FARMER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Nova Scotia.")] + CA_NS_FARMER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Saskatchewan. /// - [Description("This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Saskatchewan.")] - CA_SK_FARMER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid FARMER_EXEMPTION in Saskatchewan.")] + CA_SK_FARMER_EXEMPTION, /// ///This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country, as well as purchases from the EU to the UK. /// - [Description("This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country, as well as purchases from the EU to the UK.")] - EU_REVERSE_CHARGE_EXEMPTION_RULE, + [Description("This customer is exempt from VAT for purchases within the EU that is shipping from outside of customer's country, as well as purchases from the EU to the UK.")] + EU_REVERSE_CHARGE_EXEMPTION_RULE, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alabama. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alabama.")] - US_AL_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alabama.")] + US_AL_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alaska. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alaska.")] - US_AK_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Alaska.")] + US_AK_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arizona. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arizona.")] - US_AZ_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arizona.")] + US_AZ_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arkansas. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arkansas.")] - US_AR_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Arkansas.")] + US_AR_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in California. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in California.")] - US_CA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in California.")] + US_CA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Colorado. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Colorado.")] - US_CO_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Colorado.")] + US_CO_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Connecticut. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Connecticut.")] - US_CT_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Connecticut.")] + US_CT_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Delaware. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Delaware.")] - US_DE_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Delaware.")] + US_DE_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Florida. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Florida.")] - US_FL_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Florida.")] + US_FL_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Georgia. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Georgia.")] - US_GA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Georgia.")] + US_GA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Hawaii. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Hawaii.")] - US_HI_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Hawaii.")] + US_HI_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Idaho. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Idaho.")] - US_ID_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Idaho.")] + US_ID_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Illinois. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Illinois.")] - US_IL_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Illinois.")] + US_IL_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Indiana. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Indiana.")] - US_IN_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Indiana.")] + US_IN_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Iowa. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Iowa.")] - US_IA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Iowa.")] + US_IA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kansas. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kansas.")] - US_KS_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kansas.")] + US_KS_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kentucky. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kentucky.")] - US_KY_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Kentucky.")] + US_KY_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Louisiana. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Louisiana.")] - US_LA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Louisiana.")] + US_LA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maine. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maine.")] - US_ME_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maine.")] + US_ME_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maryland. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maryland.")] - US_MD_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Maryland.")] + US_MD_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Massachusetts. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Massachusetts.")] - US_MA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Massachusetts.")] + US_MA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Michigan. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Michigan.")] - US_MI_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Michigan.")] + US_MI_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Minnesota. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Minnesota.")] - US_MN_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Minnesota.")] + US_MN_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Mississippi. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Mississippi.")] - US_MS_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Mississippi.")] + US_MS_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Missouri. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Missouri.")] - US_MO_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Missouri.")] + US_MO_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Montana. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Montana.")] - US_MT_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Montana.")] + US_MT_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nebraska. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nebraska.")] - US_NE_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nebraska.")] + US_NE_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nevada. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nevada.")] - US_NV_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Nevada.")] + US_NV_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Hampshire. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Hampshire.")] - US_NH_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Hampshire.")] + US_NH_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Jersey. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Jersey.")] - US_NJ_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Jersey.")] + US_NJ_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Mexico. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Mexico.")] - US_NM_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New Mexico.")] + US_NM_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New York. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New York.")] - US_NY_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in New York.")] + US_NY_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Carolina. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Carolina.")] - US_NC_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Carolina.")] + US_NC_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Dakota. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Dakota.")] - US_ND_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in North Dakota.")] + US_ND_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Ohio. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Ohio.")] - US_OH_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Ohio.")] + US_OH_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oklahoma. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oklahoma.")] - US_OK_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oklahoma.")] + US_OK_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oregon. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oregon.")] - US_OR_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Oregon.")] + US_OR_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Pennsylvania. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Pennsylvania.")] - US_PA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Pennsylvania.")] + US_PA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Rhode Island. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Rhode Island.")] - US_RI_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Rhode Island.")] + US_RI_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Carolina. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Carolina.")] - US_SC_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Carolina.")] + US_SC_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Dakota. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Dakota.")] - US_SD_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in South Dakota.")] + US_SD_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Tennessee. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Tennessee.")] - US_TN_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Tennessee.")] + US_TN_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Texas. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Texas.")] - US_TX_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Texas.")] + US_TX_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Utah. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Utah.")] - US_UT_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Utah.")] + US_UT_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Vermont. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Vermont.")] - US_VT_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Vermont.")] + US_VT_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Virginia. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Virginia.")] - US_VA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Virginia.")] + US_VA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington.")] - US_WA_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington.")] + US_WA_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in West Virginia. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in West Virginia.")] - US_WV_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in West Virginia.")] + US_WV_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wisconsin. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wisconsin.")] - US_WI_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wisconsin.")] + US_WI_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wyoming. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wyoming.")] - US_WY_RESELLER_EXEMPTION, + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Wyoming.")] + US_WY_RESELLER_EXEMPTION, /// ///This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington DC. /// - [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington DC.")] - US_DC_RESELLER_EXEMPTION, - } - - public static class TaxExemptionStringValues - { - public const string AUSTRALIA_RESELLER_EXEMPTION = @"AUSTRALIA_RESELLER_EXEMPTION"; - public const string CA_STATUS_CARD_EXEMPTION = @"CA_STATUS_CARD_EXEMPTION"; - public const string CA_BC_RESELLER_EXEMPTION = @"CA_BC_RESELLER_EXEMPTION"; - public const string CA_MB_RESELLER_EXEMPTION = @"CA_MB_RESELLER_EXEMPTION"; - public const string CA_SK_RESELLER_EXEMPTION = @"CA_SK_RESELLER_EXEMPTION"; - public const string CA_DIPLOMAT_EXEMPTION = @"CA_DIPLOMAT_EXEMPTION"; - public const string CA_BC_COMMERCIAL_FISHERY_EXEMPTION = @"CA_BC_COMMERCIAL_FISHERY_EXEMPTION"; - public const string CA_MB_COMMERCIAL_FISHERY_EXEMPTION = @"CA_MB_COMMERCIAL_FISHERY_EXEMPTION"; - public const string CA_NS_COMMERCIAL_FISHERY_EXEMPTION = @"CA_NS_COMMERCIAL_FISHERY_EXEMPTION"; - public const string CA_PE_COMMERCIAL_FISHERY_EXEMPTION = @"CA_PE_COMMERCIAL_FISHERY_EXEMPTION"; - public const string CA_SK_COMMERCIAL_FISHERY_EXEMPTION = @"CA_SK_COMMERCIAL_FISHERY_EXEMPTION"; - public const string CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION = @"CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION"; - public const string CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION = @"CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION"; - public const string CA_BC_SUB_CONTRACTOR_EXEMPTION = @"CA_BC_SUB_CONTRACTOR_EXEMPTION"; - public const string CA_SK_SUB_CONTRACTOR_EXEMPTION = @"CA_SK_SUB_CONTRACTOR_EXEMPTION"; - public const string CA_BC_CONTRACTOR_EXEMPTION = @"CA_BC_CONTRACTOR_EXEMPTION"; - public const string CA_SK_CONTRACTOR_EXEMPTION = @"CA_SK_CONTRACTOR_EXEMPTION"; - public const string CA_ON_PURCHASE_EXEMPTION = @"CA_ON_PURCHASE_EXEMPTION"; - public const string CA_MB_FARMER_EXEMPTION = @"CA_MB_FARMER_EXEMPTION"; - public const string CA_NS_FARMER_EXEMPTION = @"CA_NS_FARMER_EXEMPTION"; - public const string CA_SK_FARMER_EXEMPTION = @"CA_SK_FARMER_EXEMPTION"; - public const string EU_REVERSE_CHARGE_EXEMPTION_RULE = @"EU_REVERSE_CHARGE_EXEMPTION_RULE"; - public const string US_AL_RESELLER_EXEMPTION = @"US_AL_RESELLER_EXEMPTION"; - public const string US_AK_RESELLER_EXEMPTION = @"US_AK_RESELLER_EXEMPTION"; - public const string US_AZ_RESELLER_EXEMPTION = @"US_AZ_RESELLER_EXEMPTION"; - public const string US_AR_RESELLER_EXEMPTION = @"US_AR_RESELLER_EXEMPTION"; - public const string US_CA_RESELLER_EXEMPTION = @"US_CA_RESELLER_EXEMPTION"; - public const string US_CO_RESELLER_EXEMPTION = @"US_CO_RESELLER_EXEMPTION"; - public const string US_CT_RESELLER_EXEMPTION = @"US_CT_RESELLER_EXEMPTION"; - public const string US_DE_RESELLER_EXEMPTION = @"US_DE_RESELLER_EXEMPTION"; - public const string US_FL_RESELLER_EXEMPTION = @"US_FL_RESELLER_EXEMPTION"; - public const string US_GA_RESELLER_EXEMPTION = @"US_GA_RESELLER_EXEMPTION"; - public const string US_HI_RESELLER_EXEMPTION = @"US_HI_RESELLER_EXEMPTION"; - public const string US_ID_RESELLER_EXEMPTION = @"US_ID_RESELLER_EXEMPTION"; - public const string US_IL_RESELLER_EXEMPTION = @"US_IL_RESELLER_EXEMPTION"; - public const string US_IN_RESELLER_EXEMPTION = @"US_IN_RESELLER_EXEMPTION"; - public const string US_IA_RESELLER_EXEMPTION = @"US_IA_RESELLER_EXEMPTION"; - public const string US_KS_RESELLER_EXEMPTION = @"US_KS_RESELLER_EXEMPTION"; - public const string US_KY_RESELLER_EXEMPTION = @"US_KY_RESELLER_EXEMPTION"; - public const string US_LA_RESELLER_EXEMPTION = @"US_LA_RESELLER_EXEMPTION"; - public const string US_ME_RESELLER_EXEMPTION = @"US_ME_RESELLER_EXEMPTION"; - public const string US_MD_RESELLER_EXEMPTION = @"US_MD_RESELLER_EXEMPTION"; - public const string US_MA_RESELLER_EXEMPTION = @"US_MA_RESELLER_EXEMPTION"; - public const string US_MI_RESELLER_EXEMPTION = @"US_MI_RESELLER_EXEMPTION"; - public const string US_MN_RESELLER_EXEMPTION = @"US_MN_RESELLER_EXEMPTION"; - public const string US_MS_RESELLER_EXEMPTION = @"US_MS_RESELLER_EXEMPTION"; - public const string US_MO_RESELLER_EXEMPTION = @"US_MO_RESELLER_EXEMPTION"; - public const string US_MT_RESELLER_EXEMPTION = @"US_MT_RESELLER_EXEMPTION"; - public const string US_NE_RESELLER_EXEMPTION = @"US_NE_RESELLER_EXEMPTION"; - public const string US_NV_RESELLER_EXEMPTION = @"US_NV_RESELLER_EXEMPTION"; - public const string US_NH_RESELLER_EXEMPTION = @"US_NH_RESELLER_EXEMPTION"; - public const string US_NJ_RESELLER_EXEMPTION = @"US_NJ_RESELLER_EXEMPTION"; - public const string US_NM_RESELLER_EXEMPTION = @"US_NM_RESELLER_EXEMPTION"; - public const string US_NY_RESELLER_EXEMPTION = @"US_NY_RESELLER_EXEMPTION"; - public const string US_NC_RESELLER_EXEMPTION = @"US_NC_RESELLER_EXEMPTION"; - public const string US_ND_RESELLER_EXEMPTION = @"US_ND_RESELLER_EXEMPTION"; - public const string US_OH_RESELLER_EXEMPTION = @"US_OH_RESELLER_EXEMPTION"; - public const string US_OK_RESELLER_EXEMPTION = @"US_OK_RESELLER_EXEMPTION"; - public const string US_OR_RESELLER_EXEMPTION = @"US_OR_RESELLER_EXEMPTION"; - public const string US_PA_RESELLER_EXEMPTION = @"US_PA_RESELLER_EXEMPTION"; - public const string US_RI_RESELLER_EXEMPTION = @"US_RI_RESELLER_EXEMPTION"; - public const string US_SC_RESELLER_EXEMPTION = @"US_SC_RESELLER_EXEMPTION"; - public const string US_SD_RESELLER_EXEMPTION = @"US_SD_RESELLER_EXEMPTION"; - public const string US_TN_RESELLER_EXEMPTION = @"US_TN_RESELLER_EXEMPTION"; - public const string US_TX_RESELLER_EXEMPTION = @"US_TX_RESELLER_EXEMPTION"; - public const string US_UT_RESELLER_EXEMPTION = @"US_UT_RESELLER_EXEMPTION"; - public const string US_VT_RESELLER_EXEMPTION = @"US_VT_RESELLER_EXEMPTION"; - public const string US_VA_RESELLER_EXEMPTION = @"US_VA_RESELLER_EXEMPTION"; - public const string US_WA_RESELLER_EXEMPTION = @"US_WA_RESELLER_EXEMPTION"; - public const string US_WV_RESELLER_EXEMPTION = @"US_WV_RESELLER_EXEMPTION"; - public const string US_WI_RESELLER_EXEMPTION = @"US_WI_RESELLER_EXEMPTION"; - public const string US_WY_RESELLER_EXEMPTION = @"US_WY_RESELLER_EXEMPTION"; - public const string US_DC_RESELLER_EXEMPTION = @"US_DC_RESELLER_EXEMPTION"; - } - + [Description("This customer is exempt from specific taxes for holding a valid RESELLER_EXEMPTION in Washington DC.")] + US_DC_RESELLER_EXEMPTION, + } + + public static class TaxExemptionStringValues + { + public const string AUSTRALIA_RESELLER_EXEMPTION = @"AUSTRALIA_RESELLER_EXEMPTION"; + public const string CA_STATUS_CARD_EXEMPTION = @"CA_STATUS_CARD_EXEMPTION"; + public const string CA_BC_RESELLER_EXEMPTION = @"CA_BC_RESELLER_EXEMPTION"; + public const string CA_MB_RESELLER_EXEMPTION = @"CA_MB_RESELLER_EXEMPTION"; + public const string CA_SK_RESELLER_EXEMPTION = @"CA_SK_RESELLER_EXEMPTION"; + public const string CA_DIPLOMAT_EXEMPTION = @"CA_DIPLOMAT_EXEMPTION"; + public const string CA_BC_COMMERCIAL_FISHERY_EXEMPTION = @"CA_BC_COMMERCIAL_FISHERY_EXEMPTION"; + public const string CA_MB_COMMERCIAL_FISHERY_EXEMPTION = @"CA_MB_COMMERCIAL_FISHERY_EXEMPTION"; + public const string CA_NS_COMMERCIAL_FISHERY_EXEMPTION = @"CA_NS_COMMERCIAL_FISHERY_EXEMPTION"; + public const string CA_PE_COMMERCIAL_FISHERY_EXEMPTION = @"CA_PE_COMMERCIAL_FISHERY_EXEMPTION"; + public const string CA_SK_COMMERCIAL_FISHERY_EXEMPTION = @"CA_SK_COMMERCIAL_FISHERY_EXEMPTION"; + public const string CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION = @"CA_BC_PRODUCTION_AND_MACHINERY_EXEMPTION"; + public const string CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION = @"CA_SK_PRODUCTION_AND_MACHINERY_EXEMPTION"; + public const string CA_BC_SUB_CONTRACTOR_EXEMPTION = @"CA_BC_SUB_CONTRACTOR_EXEMPTION"; + public const string CA_SK_SUB_CONTRACTOR_EXEMPTION = @"CA_SK_SUB_CONTRACTOR_EXEMPTION"; + public const string CA_BC_CONTRACTOR_EXEMPTION = @"CA_BC_CONTRACTOR_EXEMPTION"; + public const string CA_SK_CONTRACTOR_EXEMPTION = @"CA_SK_CONTRACTOR_EXEMPTION"; + public const string CA_ON_PURCHASE_EXEMPTION = @"CA_ON_PURCHASE_EXEMPTION"; + public const string CA_MB_FARMER_EXEMPTION = @"CA_MB_FARMER_EXEMPTION"; + public const string CA_NS_FARMER_EXEMPTION = @"CA_NS_FARMER_EXEMPTION"; + public const string CA_SK_FARMER_EXEMPTION = @"CA_SK_FARMER_EXEMPTION"; + public const string EU_REVERSE_CHARGE_EXEMPTION_RULE = @"EU_REVERSE_CHARGE_EXEMPTION_RULE"; + public const string US_AL_RESELLER_EXEMPTION = @"US_AL_RESELLER_EXEMPTION"; + public const string US_AK_RESELLER_EXEMPTION = @"US_AK_RESELLER_EXEMPTION"; + public const string US_AZ_RESELLER_EXEMPTION = @"US_AZ_RESELLER_EXEMPTION"; + public const string US_AR_RESELLER_EXEMPTION = @"US_AR_RESELLER_EXEMPTION"; + public const string US_CA_RESELLER_EXEMPTION = @"US_CA_RESELLER_EXEMPTION"; + public const string US_CO_RESELLER_EXEMPTION = @"US_CO_RESELLER_EXEMPTION"; + public const string US_CT_RESELLER_EXEMPTION = @"US_CT_RESELLER_EXEMPTION"; + public const string US_DE_RESELLER_EXEMPTION = @"US_DE_RESELLER_EXEMPTION"; + public const string US_FL_RESELLER_EXEMPTION = @"US_FL_RESELLER_EXEMPTION"; + public const string US_GA_RESELLER_EXEMPTION = @"US_GA_RESELLER_EXEMPTION"; + public const string US_HI_RESELLER_EXEMPTION = @"US_HI_RESELLER_EXEMPTION"; + public const string US_ID_RESELLER_EXEMPTION = @"US_ID_RESELLER_EXEMPTION"; + public const string US_IL_RESELLER_EXEMPTION = @"US_IL_RESELLER_EXEMPTION"; + public const string US_IN_RESELLER_EXEMPTION = @"US_IN_RESELLER_EXEMPTION"; + public const string US_IA_RESELLER_EXEMPTION = @"US_IA_RESELLER_EXEMPTION"; + public const string US_KS_RESELLER_EXEMPTION = @"US_KS_RESELLER_EXEMPTION"; + public const string US_KY_RESELLER_EXEMPTION = @"US_KY_RESELLER_EXEMPTION"; + public const string US_LA_RESELLER_EXEMPTION = @"US_LA_RESELLER_EXEMPTION"; + public const string US_ME_RESELLER_EXEMPTION = @"US_ME_RESELLER_EXEMPTION"; + public const string US_MD_RESELLER_EXEMPTION = @"US_MD_RESELLER_EXEMPTION"; + public const string US_MA_RESELLER_EXEMPTION = @"US_MA_RESELLER_EXEMPTION"; + public const string US_MI_RESELLER_EXEMPTION = @"US_MI_RESELLER_EXEMPTION"; + public const string US_MN_RESELLER_EXEMPTION = @"US_MN_RESELLER_EXEMPTION"; + public const string US_MS_RESELLER_EXEMPTION = @"US_MS_RESELLER_EXEMPTION"; + public const string US_MO_RESELLER_EXEMPTION = @"US_MO_RESELLER_EXEMPTION"; + public const string US_MT_RESELLER_EXEMPTION = @"US_MT_RESELLER_EXEMPTION"; + public const string US_NE_RESELLER_EXEMPTION = @"US_NE_RESELLER_EXEMPTION"; + public const string US_NV_RESELLER_EXEMPTION = @"US_NV_RESELLER_EXEMPTION"; + public const string US_NH_RESELLER_EXEMPTION = @"US_NH_RESELLER_EXEMPTION"; + public const string US_NJ_RESELLER_EXEMPTION = @"US_NJ_RESELLER_EXEMPTION"; + public const string US_NM_RESELLER_EXEMPTION = @"US_NM_RESELLER_EXEMPTION"; + public const string US_NY_RESELLER_EXEMPTION = @"US_NY_RESELLER_EXEMPTION"; + public const string US_NC_RESELLER_EXEMPTION = @"US_NC_RESELLER_EXEMPTION"; + public const string US_ND_RESELLER_EXEMPTION = @"US_ND_RESELLER_EXEMPTION"; + public const string US_OH_RESELLER_EXEMPTION = @"US_OH_RESELLER_EXEMPTION"; + public const string US_OK_RESELLER_EXEMPTION = @"US_OK_RESELLER_EXEMPTION"; + public const string US_OR_RESELLER_EXEMPTION = @"US_OR_RESELLER_EXEMPTION"; + public const string US_PA_RESELLER_EXEMPTION = @"US_PA_RESELLER_EXEMPTION"; + public const string US_RI_RESELLER_EXEMPTION = @"US_RI_RESELLER_EXEMPTION"; + public const string US_SC_RESELLER_EXEMPTION = @"US_SC_RESELLER_EXEMPTION"; + public const string US_SD_RESELLER_EXEMPTION = @"US_SD_RESELLER_EXEMPTION"; + public const string US_TN_RESELLER_EXEMPTION = @"US_TN_RESELLER_EXEMPTION"; + public const string US_TX_RESELLER_EXEMPTION = @"US_TX_RESELLER_EXEMPTION"; + public const string US_UT_RESELLER_EXEMPTION = @"US_UT_RESELLER_EXEMPTION"; + public const string US_VT_RESELLER_EXEMPTION = @"US_VT_RESELLER_EXEMPTION"; + public const string US_VA_RESELLER_EXEMPTION = @"US_VA_RESELLER_EXEMPTION"; + public const string US_WA_RESELLER_EXEMPTION = @"US_WA_RESELLER_EXEMPTION"; + public const string US_WV_RESELLER_EXEMPTION = @"US_WV_RESELLER_EXEMPTION"; + public const string US_WI_RESELLER_EXEMPTION = @"US_WI_RESELLER_EXEMPTION"; + public const string US_WY_RESELLER_EXEMPTION = @"US_WY_RESELLER_EXEMPTION"; + public const string US_DC_RESELLER_EXEMPTION = @"US_DC_RESELLER_EXEMPTION"; + } + /// ///Represents a single tax applied to the associated line item. /// - [Description("Represents a single tax applied to the associated line item.")] - public class TaxLine : GraphQLObject - { + [Description("Represents a single tax applied to the associated line item.")] + public class TaxLine : GraphQLObject + { /// ///Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line. /// - [Description("Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.")] - public bool? channelLiable { get; set; } - + [Description("Whether the channel that submitted the tax line is liable for remitting. A value of null indicates unknown liability for this tax line.")] + public bool? channelLiable { get; set; } + /// ///The amount of tax, in shop currency, after discounts and before returns. /// - [Description("The amount of tax, in shop currency, after discounts and before returns.")] - [Obsolete("Use `priceSet` instead.")] - [NonNull] - public decimal? price { get; set; } - + [Description("The amount of tax, in shop currency, after discounts and before returns.")] + [Obsolete("Use `priceSet` instead.")] + [NonNull] + public decimal? price { get; set; } + /// ///The amount of tax, in shop and presentment currencies, after discounts and before returns. /// - [Description("The amount of tax, in shop and presentment currencies, after discounts and before returns.")] - [NonNull] - public MoneyBag? priceSet { get; set; } - + [Description("The amount of tax, in shop and presentment currencies, after discounts and before returns.")] + [NonNull] + public MoneyBag? priceSet { get; set; } + /// ///The proportion of the line item price that the tax represents as a decimal. /// - [Description("The proportion of the line item price that the tax represents as a decimal.")] - public decimal? rate { get; set; } - + [Description("The proportion of the line item price that the tax represents as a decimal.")] + public decimal? rate { get; set; } + /// ///The proportion of the line item price that the tax represents as a percentage. /// - [Description("The proportion of the line item price that the tax represents as a percentage.")] - public decimal? ratePercentage { get; set; } - + [Description("The proportion of the line item price that the tax represents as a percentage.")] + public decimal? ratePercentage { get; set; } + /// ///The source of the tax. /// - [Description("The source of the tax.")] - public string? source { get; set; } - + [Description("The source of the tax.")] + public string? source { get; set; } + /// ///The name of the tax. /// - [Description("The name of the tax.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The name of the tax.")] + [NonNull] + public string? title { get; set; } + } + /// ///State of the tax app configuration. /// - [Description("State of the tax app configuration.")] - public enum TaxPartnerState - { + [Description("State of the tax app configuration.")] + public enum TaxPartnerState + { /// ///App is not configured. /// - [Description("App is not configured.")] - PENDING, + [Description("App is not configured.")] + PENDING, /// ///App is configured, but not used for tax calculations. /// - [Description("App is configured, but not used for tax calculations.")] - READY, + [Description("App is configured, but not used for tax calculations.")] + READY, /// ///App is configured and to be used for tax calculations. /// - [Description("App is configured and to be used for tax calculations.")] - ACTIVE, - } - - public static class TaxPartnerStateStringValues - { - public const string PENDING = @"PENDING"; - public const string READY = @"READY"; - public const string ACTIVE = @"ACTIVE"; - } - + [Description("App is configured and to be used for tax calculations.")] + ACTIVE, + } + + public static class TaxPartnerStateStringValues + { + public const string PENDING = @"PENDING"; + public const string READY = @"READY"; + public const string ACTIVE = @"ACTIVE"; + } + /// ///Return type for `taxSummaryCreate` mutation. /// - [Description("Return type for `taxSummaryCreate` mutation.")] - public class TaxSummaryCreatePayload : GraphQLObject - { + [Description("Return type for `taxSummaryCreate` mutation.")] + public class TaxSummaryCreatePayload : GraphQLObject + { /// ///A list of orders that were successfully enqueued to create a tax summary. /// - [Description("A list of orders that were successfully enqueued to create a tax summary.")] - public IEnumerable? enqueuedOrders { get; set; } - + [Description("A list of orders that were successfully enqueued to create a tax summary.")] + public IEnumerable? enqueuedOrders { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `TaxSummaryCreate`. /// - [Description("An error that occurs during the execution of `TaxSummaryCreate`.")] - public class TaxSummaryCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `TaxSummaryCreate`.")] + public class TaxSummaryCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(TaxSummaryCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(TaxSummaryCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `TaxSummaryCreateUserError`. /// - [Description("Possible error codes that can be returned by `TaxSummaryCreateUserError`.")] - public enum TaxSummaryCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `TaxSummaryCreateUserError`.")] + public enum TaxSummaryCreateUserErrorCode + { /// ///No order was not found. /// - [Description("No order was not found.")] - ORDER_NOT_FOUND, + [Description("No order was not found.")] + ORDER_NOT_FOUND, /// ///There was an error during enqueueing of the tax summary creation job(s). /// - [Description("There was an error during enqueueing of the tax summary creation job(s).")] - GENERAL_ERROR, - } - - public static class TaxSummaryCreateUserErrorCodeStringValues - { - public const string ORDER_NOT_FOUND = @"ORDER_NOT_FOUND"; - public const string GENERAL_ERROR = @"GENERAL_ERROR"; - } - + [Description("There was an error during enqueueing of the tax summary creation job(s).")] + GENERAL_ERROR, + } + + public static class TaxSummaryCreateUserErrorCodeStringValues + { + public const string ORDER_NOT_FOUND = @"ORDER_NOT_FOUND"; + public const string GENERAL_ERROR = @"GENERAL_ERROR"; + } + /// ///The Taxonomy resource lets you access the categories, attributes and values of a taxonomy tree. /// - [Description("The Taxonomy resource lets you access the categories, attributes and values of a taxonomy tree.")] - public class Taxonomy : GraphQLObject - { + [Description("The Taxonomy resource lets you access the categories, attributes and values of a taxonomy tree.")] + public class Taxonomy : GraphQLObject + { /// ///Returns the categories of the product taxonomy based on the arguments provided. ///If a `search` argument is provided, then all categories that match the search query globally are returned. @@ -128467,4023 +128467,4023 @@ public class Taxonomy : GraphQLObject ///If a `decendents_of` argument is provided, then all descendents of the specified category are returned. ///If no arguments are provided, then all the top-level categories of the taxonomy are returned. /// - [Description("Returns the categories of the product taxonomy based on the arguments provided.\nIf a `search` argument is provided, then all categories that match the search query globally are returned.\nIf a `children_of` argument is provided, then all children of the specified category are returned.\nIf a `siblings_of` argument is provided, then all siblings of the specified category are returned.\nIf a `decendents_of` argument is provided, then all descendents of the specified category are returned.\nIf no arguments are provided, then all the top-level categories of the taxonomy are returned.")] - [NonNull] - public TaxonomyCategoryConnection? categories { get; set; } - } - + [Description("Returns the categories of the product taxonomy based on the arguments provided.\nIf a `search` argument is provided, then all categories that match the search query globally are returned.\nIf a `children_of` argument is provided, then all children of the specified category are returned.\nIf a `siblings_of` argument is provided, then all siblings of the specified category are returned.\nIf a `decendents_of` argument is provided, then all descendents of the specified category are returned.\nIf no arguments are provided, then all the top-level categories of the taxonomy are returned.")] + [NonNull] + public TaxonomyCategoryConnection? categories { get; set; } + } + /// ///A Shopify product taxonomy attribute. /// - [Description("A Shopify product taxonomy attribute.")] - public class TaxonomyAttribute : GraphQLObject, INode, ITaxonomyCategoryAttribute - { + [Description("A Shopify product taxonomy attribute.")] + public class TaxonomyAttribute : GraphQLObject, INode, ITaxonomyCategoryAttribute + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///The details of a specific product category within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17). /// - [Description("The details of a specific product category within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] - public class TaxonomyCategory : GraphQLObject, INode - { + [Description("The details of a specific product category within the [Shopify product taxonomy](https://shopify.github.io/product-taxonomy/releases/unstable/?categoryId=sg-4-17-2-17).")] + public class TaxonomyCategory : GraphQLObject, INode + { /// ///The IDs of the category's ancestor categories. /// - [Description("The IDs of the category's ancestor categories.")] - [NonNull] - public IEnumerable? ancestorIds { get; set; } - + [Description("The IDs of the category's ancestor categories.")] + [NonNull] + public IEnumerable? ancestorIds { get; set; } + /// ///The attributes of the taxonomy category. /// - [Description("The attributes of the taxonomy category.")] - [NonNull] - public TaxonomyCategoryAttributeConnection? attributes { get; set; } - + [Description("The attributes of the taxonomy category.")] + [NonNull] + public TaxonomyCategoryAttributeConnection? attributes { get; set; } + /// ///The IDs of the category's child categories. /// - [Description("The IDs of the category's child categories.")] - [NonNull] - public IEnumerable? childrenIds { get; set; } - + [Description("The IDs of the category's child categories.")] + [NonNull] + public IEnumerable? childrenIds { get; set; } + /// ///The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds. /// - [Description("The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.")] - [NonNull] - public string? fullName { get; set; } - + [Description("The full name of the taxonomy category. For example, Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Beds.")] + [NonNull] + public string? fullName { get; set; } + /// ///The globally-unique ID of the TaxonomyCategory. /// - [Description("The globally-unique ID of the TaxonomyCategory.")] - [NonNull] - public string? id { get; set; } - + [Description("The globally-unique ID of the TaxonomyCategory.")] + [NonNull] + public string? id { get; set; } + /// ///Whether the category is archived. The default value is `false`. /// - [Description("Whether the category is archived. The default value is `false`.")] - [NonNull] - public bool? isArchived { get; set; } - + [Description("Whether the category is archived. The default value is `false`.")] + [NonNull] + public bool? isArchived { get; set; } + /// ///Whether the category is a leaf category. A leaf category doesn't have any subcategories beneath it. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Treadmills, Dog Treadmills is a leaf category. The value is `true` when there are no `childrenIds` specified. /// - [Description("Whether the category is a leaf category. A leaf category doesn't have any subcategories beneath it. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Treadmills, Dog Treadmills is a leaf category. The value is `true` when there are no `childrenIds` specified.")] - [NonNull] - public bool? isLeaf { get; set; } - + [Description("Whether the category is a leaf category. A leaf category doesn't have any subcategories beneath it. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies > Dog Treadmills, Dog Treadmills is a leaf category. The value is `true` when there are no `childrenIds` specified.")] + [NonNull] + public bool? isLeaf { get; set; } + /// ///Whether the category is a root category. A root category is at the top level of the category hierarchy and doesn't have a parent category. For example, Animals & Pet Supplies. The value is `true` when there's no `parentId` specified. /// - [Description("Whether the category is a root category. A root category is at the top level of the category hierarchy and doesn't have a parent category. For example, Animals & Pet Supplies. The value is `true` when there's no `parentId` specified.")] - [NonNull] - public bool? isRoot { get; set; } - + [Description("Whether the category is a root category. A root category is at the top level of the category hierarchy and doesn't have a parent category. For example, Animals & Pet Supplies. The value is `true` when there's no `parentId` specified.")] + [NonNull] + public bool? isRoot { get; set; } + /// ///The level of the category in the taxonomy tree. Levels indicate the depth of the category from the root. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies, Animals & Pet Supplies is at level 1, Animals & Pet Supplies > Pet Supplies is at level 2, and Animals & Pet Supplies > Pet Supplies > Dog Supplies is at level 3. /// - [Description("The level of the category in the taxonomy tree. Levels indicate the depth of the category from the root. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies, Animals & Pet Supplies is at level 1, Animals & Pet Supplies > Pet Supplies is at level 2, and Animals & Pet Supplies > Pet Supplies > Dog Supplies is at level 3.")] - [NonNull] - public int? level { get; set; } - + [Description("The level of the category in the taxonomy tree. Levels indicate the depth of the category from the root. For example, in Animals & Pet Supplies > Pet Supplies > Dog Supplies, Animals & Pet Supplies is at level 1, Animals & Pet Supplies > Pet Supplies is at level 2, and Animals & Pet Supplies > Pet Supplies > Dog Supplies is at level 3.")] + [NonNull] + public int? level { get; set; } + /// ///The name of the taxonomy category. For example, Dog Beds. /// - [Description("The name of the taxonomy category. For example, Dog Beds.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the taxonomy category. For example, Dog Beds.")] + [NonNull] + public string? name { get; set; } + /// ///The ID of the category's parent category. /// - [Description("The ID of the category's parent category.")] - public string? parentId { get; set; } - } - + [Description("The ID of the category's parent category.")] + public string? parentId { get; set; } + } + /// ///A product taxonomy attribute interface. /// - [Description("A product taxonomy attribute interface.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(TaxonomyAttribute), typeDiscriminator: "TaxonomyAttribute")] - [JsonDerivedType(typeof(TaxonomyChoiceListAttribute), typeDiscriminator: "TaxonomyChoiceListAttribute")] - [JsonDerivedType(typeof(TaxonomyMeasurementAttribute), typeDiscriminator: "TaxonomyMeasurementAttribute")] - public interface ITaxonomyCategoryAttribute : IGraphQLObject - { - public TaxonomyAttribute? AsTaxonomyAttribute() => this as TaxonomyAttribute; - public TaxonomyChoiceListAttribute? AsTaxonomyChoiceListAttribute() => this as TaxonomyChoiceListAttribute; - public TaxonomyMeasurementAttribute? AsTaxonomyMeasurementAttribute() => this as TaxonomyMeasurementAttribute; + [Description("A product taxonomy attribute interface.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(TaxonomyAttribute), typeDiscriminator: "TaxonomyAttribute")] + [JsonDerivedType(typeof(TaxonomyChoiceListAttribute), typeDiscriminator: "TaxonomyChoiceListAttribute")] + [JsonDerivedType(typeof(TaxonomyMeasurementAttribute), typeDiscriminator: "TaxonomyMeasurementAttribute")] + public interface ITaxonomyCategoryAttribute : IGraphQLObject + { + public TaxonomyAttribute? AsTaxonomyAttribute() => this as TaxonomyAttribute; + public TaxonomyChoiceListAttribute? AsTaxonomyChoiceListAttribute() => this as TaxonomyChoiceListAttribute; + public TaxonomyMeasurementAttribute? AsTaxonomyMeasurementAttribute() => this as TaxonomyMeasurementAttribute; /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + } + /// ///An auto-generated type for paginating through multiple TaxonomyCategoryAttributes. /// - [Description("An auto-generated type for paginating through multiple TaxonomyCategoryAttributes.")] - public class TaxonomyCategoryAttributeConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple TaxonomyCategoryAttributes.")] + public class TaxonomyCategoryAttributeConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in TaxonomyCategoryAttributeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in TaxonomyCategoryAttributeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in TaxonomyCategoryAttributeEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one TaxonomyCategoryAttribute and a cursor during pagination. /// - [Description("An auto-generated type which holds one TaxonomyCategoryAttribute and a cursor during pagination.")] - public class TaxonomyCategoryAttributeEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one TaxonomyCategoryAttribute and a cursor during pagination.")] + public class TaxonomyCategoryAttributeEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of TaxonomyCategoryAttributeEdge. /// - [Description("The item at the end of TaxonomyCategoryAttributeEdge.")] - [NonNull] - public ITaxonomyCategoryAttribute? node { get; set; } - } - + [Description("The item at the end of TaxonomyCategoryAttributeEdge.")] + [NonNull] + public ITaxonomyCategoryAttribute? node { get; set; } + } + /// ///An auto-generated type for paginating through multiple TaxonomyCategories. /// - [Description("An auto-generated type for paginating through multiple TaxonomyCategories.")] - public class TaxonomyCategoryConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple TaxonomyCategories.")] + public class TaxonomyCategoryConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in TaxonomyCategoryEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in TaxonomyCategoryEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in TaxonomyCategoryEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one TaxonomyCategory and a cursor during pagination. /// - [Description("An auto-generated type which holds one TaxonomyCategory and a cursor during pagination.")] - public class TaxonomyCategoryEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one TaxonomyCategory and a cursor during pagination.")] + public class TaxonomyCategoryEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of TaxonomyCategoryEdge. /// - [Description("The item at the end of TaxonomyCategoryEdge.")] - [NonNull] - public TaxonomyCategory? node { get; set; } - } - + [Description("The item at the end of TaxonomyCategoryEdge.")] + [NonNull] + public TaxonomyCategory? node { get; set; } + } + /// ///A Shopify product taxonomy choice list attribute. /// - [Description("A Shopify product taxonomy choice list attribute.")] - public class TaxonomyChoiceListAttribute : GraphQLObject, INode, ITaxonomyCategoryAttribute - { + [Description("A Shopify product taxonomy choice list attribute.")] + public class TaxonomyChoiceListAttribute : GraphQLObject, INode, ITaxonomyCategoryAttribute + { /// ///The unique ID of the TaxonomyAttribute. /// - [Description("The unique ID of the TaxonomyAttribute.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID of the TaxonomyAttribute.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the product taxonomy attribute. For example, Color. /// - [Description("The name of the product taxonomy attribute. For example, Color.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the product taxonomy attribute. For example, Color.")] + [NonNull] + public string? name { get; set; } + /// ///A list of values on the choice list attribute. /// - [Description("A list of values on the choice list attribute.")] - [NonNull] - public TaxonomyValueConnection? values { get; set; } - } - + [Description("A list of values on the choice list attribute.")] + [NonNull] + public TaxonomyValueConnection? values { get; set; } + } + /// ///A Shopify product taxonomy measurement attribute. /// - [Description("A Shopify product taxonomy measurement attribute.")] - public class TaxonomyMeasurementAttribute : GraphQLObject, INode, ITaxonomyCategoryAttribute - { + [Description("A Shopify product taxonomy measurement attribute.")] + public class TaxonomyMeasurementAttribute : GraphQLObject, INode, ITaxonomyCategoryAttribute + { /// ///The unique ID of the TaxonomyAttribute. /// - [Description("The unique ID of the TaxonomyAttribute.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID of the TaxonomyAttribute.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the product taxonomy attribute. For example, Color. /// - [Description("The name of the product taxonomy attribute. For example, Color.")] - [NonNull] - public string? name { get; set; } - + [Description("The name of the product taxonomy attribute. For example, Color.")] + [NonNull] + public string? name { get; set; } + /// ///The product taxonomy attribute options. /// - [Description("The product taxonomy attribute options.")] - [NonNull] - public IEnumerable? options { get; set; } - } - + [Description("The product taxonomy attribute options.")] + [NonNull] + public IEnumerable? options { get; set; } + } + /// ///Represents a Shopify product taxonomy value. /// - [Description("Represents a Shopify product taxonomy value.")] - public class TaxonomyValue : GraphQLObject, INode, IMetafieldReference - { + [Description("Represents a Shopify product taxonomy value.")] + public class TaxonomyValue : GraphQLObject, INode, IMetafieldReference + { /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The name of the product taxonomy value. For example, Red. /// - [Description("The name of the product taxonomy value. For example, Red.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the product taxonomy value. For example, Red.")] + [NonNull] + public string? name { get; set; } + } + /// ///An auto-generated type for paginating through multiple TaxonomyValues. /// - [Description("An auto-generated type for paginating through multiple TaxonomyValues.")] - public class TaxonomyValueConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple TaxonomyValues.")] + public class TaxonomyValueConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in TaxonomyValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in TaxonomyValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in TaxonomyValueEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one TaxonomyValue and a cursor during pagination. /// - [Description("An auto-generated type which holds one TaxonomyValue and a cursor during pagination.")] - public class TaxonomyValueEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one TaxonomyValue and a cursor during pagination.")] + public class TaxonomyValueEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of TaxonomyValueEdge. /// - [Description("The item at the end of TaxonomyValueEdge.")] - [NonNull] - public TaxonomyValue? node { get; set; } - } - + [Description("The item at the end of TaxonomyValueEdge.")] + [NonNull] + public TaxonomyValue? node { get; set; } + } + /// ///A TenderTransaction represents a transaction with financial impact on a shop's balance sheet. A tender transaction always ///represents actual money movement between a buyer and a shop. TenderTransactions can be used instead of OrderTransactions ///for reconciling a shop's cash flow. A TenderTransaction is immutable once created. /// - [Description("A TenderTransaction represents a transaction with financial impact on a shop's balance sheet. A tender transaction always\nrepresents actual money movement between a buyer and a shop. TenderTransactions can be used instead of OrderTransactions\nfor reconciling a shop's cash flow. A TenderTransaction is immutable once created.")] - public class TenderTransaction : GraphQLObject, INode - { + [Description("A TenderTransaction represents a transaction with financial impact on a shop's balance sheet. A tender transaction always\nrepresents actual money movement between a buyer and a shop. TenderTransactions can be used instead of OrderTransactions\nfor reconciling a shop's cash flow. A TenderTransaction is immutable once created.")] + public class TenderTransaction : GraphQLObject, INode + { /// ///The amount and currency of the tender transaction. /// - [Description("The amount and currency of the tender transaction.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("The amount and currency of the tender transaction.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The order that's related to the tender transaction. This value is null if the order has been deleted. /// - [Description("The order that's related to the tender transaction. This value is null if the order has been deleted.")] - public Order? order { get; set; } - + [Description("The order that's related to the tender transaction. This value is null if the order has been deleted.")] + public Order? order { get; set; } + /// ///Information about the payment method used for the transaction. /// - [Description("Information about the payment method used for the transaction.")] - public string? paymentMethod { get; set; } - + [Description("Information about the payment method used for the transaction.")] + public string? paymentMethod { get; set; } + /// ///Date and time when the transaction was processed. /// - [Description("Date and time when the transaction was processed.")] - public DateTime? processedAt { get; set; } - + [Description("Date and time when the transaction was processed.")] + public DateTime? processedAt { get; set; } + /// ///The remote gateway reference associated with the tender transaction. /// - [Description("The remote gateway reference associated with the tender transaction.")] - public string? remoteReference { get; set; } - + [Description("The remote gateway reference associated with the tender transaction.")] + public string? remoteReference { get; set; } + /// ///Whether the transaction is a test transaction. /// - [Description("Whether the transaction is a test transaction.")] - [NonNull] - public bool? test { get; set; } - + [Description("Whether the transaction is a test transaction.")] + [NonNull] + public bool? test { get; set; } + /// ///Information about the payment instrument used for the transaction. /// - [Description("Information about the payment instrument used for the transaction.")] - public ITenderTransactionDetails? transactionDetails { get; set; } - + [Description("Information about the payment instrument used for the transaction.")] + public ITenderTransactionDetails? transactionDetails { get; set; } + /// ///The staff member who performed the transaction. /// - [Description("The staff member who performed the transaction.")] - public StaffMember? user { get; set; } - } - + [Description("The staff member who performed the transaction.")] + public StaffMember? user { get; set; } + } + /// ///An auto-generated type for paginating through multiple TenderTransactions. /// - [Description("An auto-generated type for paginating through multiple TenderTransactions.")] - public class TenderTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple TenderTransactions.")] + public class TenderTransactionConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in TenderTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in TenderTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in TenderTransactionEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Information about the credit card used for this transaction. /// - [Description("Information about the credit card used for this transaction.")] - public class TenderTransactionCreditCardDetails : GraphQLObject, ITenderTransactionDetails - { + [Description("Information about the credit card used for this transaction.")] + public class TenderTransactionCreditCardDetails : GraphQLObject, ITenderTransactionDetails + { /// ///The name of the company that issued the customer's credit card. Example: `Visa`. /// - [Description("The name of the company that issued the customer's credit card. Example: `Visa`.")] - public string? creditCardCompany { get; set; } - + [Description("The name of the company that issued the customer's credit card. Example: `Visa`.")] + public string? creditCardCompany { get; set; } + /// ///The customer's credit card number, with all digits except the last 4 redacted. Example: `•••• •••• •••• 1234` /// - [Description("The customer's credit card number, with all digits except the last 4 redacted. Example: `•••• •••• •••• 1234`")] - public string? creditCardNumber { get; set; } - } - + [Description("The customer's credit card number, with all digits except the last 4 redacted. Example: `•••• •••• •••• 1234`")] + public string? creditCardNumber { get; set; } + } + /// ///Information about the payment instrument used for this transaction. /// - [Description("Information about the payment instrument used for this transaction.")] - [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] - [JsonDerivedType(typeof(TenderTransactionCreditCardDetails), typeDiscriminator: "TenderTransactionCreditCardDetails")] - public interface ITenderTransactionDetails : IGraphQLObject - { - public TenderTransactionCreditCardDetails? AsTenderTransactionCreditCardDetails() => this as TenderTransactionCreditCardDetails; + [Description("Information about the payment instrument used for this transaction.")] + [JsonPolymorphic(TypeDiscriminatorPropertyName = "__typename")] + [JsonDerivedType(typeof(TenderTransactionCreditCardDetails), typeDiscriminator: "TenderTransactionCreditCardDetails")] + public interface ITenderTransactionDetails : IGraphQLObject + { + public TenderTransactionCreditCardDetails? AsTenderTransactionCreditCardDetails() => this as TenderTransactionCreditCardDetails; /// ///The name of the company that issued the customer's credit card. Example: `Visa`. /// - [Description("The name of the company that issued the customer's credit card. Example: `Visa`.")] - public string? creditCardCompany { get; set; } - + [Description("The name of the company that issued the customer's credit card. Example: `Visa`.")] + public string? creditCardCompany { get; set; } + /// ///The customer's credit card number, with all digits except the last 4 redacted. Example: `•••• •••• •••• 1234` /// - [Description("The customer's credit card number, with all digits except the last 4 redacted. Example: `•••• •••• •••• 1234`")] - public string? creditCardNumber { get; set; } - } - + [Description("The customer's credit card number, with all digits except the last 4 redacted. Example: `•••• •••• •••• 1234`")] + public string? creditCardNumber { get; set; } + } + /// ///An auto-generated type which holds one TenderTransaction and a cursor during pagination. /// - [Description("An auto-generated type which holds one TenderTransaction and a cursor during pagination.")] - public class TenderTransactionEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one TenderTransaction and a cursor during pagination.")] + public class TenderTransactionEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of TenderTransactionEdge. /// - [Description("The item at the end of TenderTransactionEdge.")] - [NonNull] - public TenderTransaction? node { get; set; } - } - + [Description("The item at the end of TenderTransactionEdge.")] + [NonNull] + public TenderTransaction? node { get; set; } + } + /// ///Return type for `themeCreate` mutation. /// - [Description("Return type for `themeCreate` mutation.")] - public class ThemeCreatePayload : GraphQLObject - { + [Description("Return type for `themeCreate` mutation.")] + public class ThemeCreatePayload : GraphQLObject + { /// ///The theme that was created. /// - [Description("The theme that was created.")] - public OnlineStoreTheme? theme { get; set; } - + [Description("The theme that was created.")] + public OnlineStoreTheme? theme { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ThemeCreate`. /// - [Description("An error that occurs during the execution of `ThemeCreate`.")] - public class ThemeCreateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ThemeCreate`.")] + public class ThemeCreateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ThemeCreateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ThemeCreateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ThemeCreateUserError`. /// - [Description("Possible error codes that can be returned by `ThemeCreateUserError`.")] - public enum ThemeCreateUserErrorCode - { + [Description("Possible error codes that can be returned by `ThemeCreateUserError`.")] + public enum ThemeCreateUserErrorCode + { /// ///Must be a zip file. /// - [Description("Must be a zip file.")] - INVALID_ZIP, + [Description("Must be a zip file.")] + INVALID_ZIP, /// ///Zip is empty. /// - [Description("Zip is empty.")] - ZIP_IS_EMPTY, + [Description("Zip is empty.")] + ZIP_IS_EMPTY, /// ///May not be used to fetch a file bigger /// than 50MB. /// - [Description("May not be used to fetch a file bigger\n than 50MB.")] - ZIP_TOO_LARGE, + [Description("May not be used to fetch a file bigger\n than 50MB.")] + ZIP_TOO_LARGE, /// ///Theme creation is not allowed for your shop's plan. /// - [Description("Theme creation is not allowed for your shop's plan.")] - THEME_CREATION_NOT_ALLOWED_FOR_THEME_LIMITED_PLAN, + [Description("Theme creation is not allowed for your shop's plan.")] + THEME_CREATION_NOT_ALLOWED_FOR_THEME_LIMITED_PLAN, /// ///Invalid theme role for theme creation. /// - [Description("Invalid theme role for theme creation.")] - INVALID_THEME_ROLE_FOR_THEME_CREATION, - } - - public static class ThemeCreateUserErrorCodeStringValues - { - public const string INVALID_ZIP = @"INVALID_ZIP"; - public const string ZIP_IS_EMPTY = @"ZIP_IS_EMPTY"; - public const string ZIP_TOO_LARGE = @"ZIP_TOO_LARGE"; - public const string THEME_CREATION_NOT_ALLOWED_FOR_THEME_LIMITED_PLAN = @"THEME_CREATION_NOT_ALLOWED_FOR_THEME_LIMITED_PLAN"; - public const string INVALID_THEME_ROLE_FOR_THEME_CREATION = @"INVALID_THEME_ROLE_FOR_THEME_CREATION"; - } - + [Description("Invalid theme role for theme creation.")] + INVALID_THEME_ROLE_FOR_THEME_CREATION, + } + + public static class ThemeCreateUserErrorCodeStringValues + { + public const string INVALID_ZIP = @"INVALID_ZIP"; + public const string ZIP_IS_EMPTY = @"ZIP_IS_EMPTY"; + public const string ZIP_TOO_LARGE = @"ZIP_TOO_LARGE"; + public const string THEME_CREATION_NOT_ALLOWED_FOR_THEME_LIMITED_PLAN = @"THEME_CREATION_NOT_ALLOWED_FOR_THEME_LIMITED_PLAN"; + public const string INVALID_THEME_ROLE_FOR_THEME_CREATION = @"INVALID_THEME_ROLE_FOR_THEME_CREATION"; + } + /// ///Return type for `themeDelete` mutation. /// - [Description("Return type for `themeDelete` mutation.")] - public class ThemeDeletePayload : GraphQLObject - { + [Description("Return type for `themeDelete` mutation.")] + public class ThemeDeletePayload : GraphQLObject + { /// ///The ID of the deleted theme. /// - [Description("The ID of the deleted theme.")] - public string? deletedThemeId { get; set; } - + [Description("The ID of the deleted theme.")] + public string? deletedThemeId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ThemeDelete`. /// - [Description("An error that occurs during the execution of `ThemeDelete`.")] - public class ThemeDeleteUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ThemeDelete`.")] + public class ThemeDeleteUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ThemeDeleteUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ThemeDeleteUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ThemeDeleteUserError`. /// - [Description("Possible error codes that can be returned by `ThemeDeleteUserError`.")] - public enum ThemeDeleteUserErrorCode - { + [Description("Possible error codes that can be returned by `ThemeDeleteUserError`.")] + public enum ThemeDeleteUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class ThemeDeleteUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class ThemeDeleteUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///Return type for `themeDuplicate` mutation. /// - [Description("Return type for `themeDuplicate` mutation.")] - public class ThemeDuplicatePayload : GraphQLObject - { + [Description("Return type for `themeDuplicate` mutation.")] + public class ThemeDuplicatePayload : GraphQLObject + { /// ///The newly duplicated theme. /// - [Description("The newly duplicated theme.")] - public OnlineStoreTheme? newTheme { get; set; } - + [Description("The newly duplicated theme.")] + public OnlineStoreTheme? newTheme { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ThemeDuplicate`. /// - [Description("An error that occurs during the execution of `ThemeDuplicate`.")] - public class ThemeDuplicateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ThemeDuplicate`.")] + public class ThemeDuplicateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ThemeDuplicateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ThemeDuplicateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ThemeDuplicateUserError`. /// - [Description("Possible error codes that can be returned by `ThemeDuplicateUserError`.")] - public enum ThemeDuplicateUserErrorCode - { + [Description("Possible error codes that can be returned by `ThemeDuplicateUserError`.")] + public enum ThemeDuplicateUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, - } - - public static class ThemeDuplicateUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - } - + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, + } + + public static class ThemeDuplicateUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + } + /// ///The input fields for the file copy. /// - [Description("The input fields for the file copy.")] - public class ThemeFilesCopyFileInput : GraphQLObject - { + [Description("The input fields for the file copy.")] + public class ThemeFilesCopyFileInput : GraphQLObject + { /// ///The new file where the content is copied to. /// - [Description("The new file where the content is copied to.")] - [NonNull] - public string? dstFilename { get; set; } - + [Description("The new file where the content is copied to.")] + [NonNull] + public string? dstFilename { get; set; } + /// ///The source file to copy from. /// - [Description("The source file to copy from.")] - [NonNull] - public string? srcFilename { get; set; } - } - + [Description("The source file to copy from.")] + [NonNull] + public string? srcFilename { get; set; } + } + /// ///Return type for `themeFilesCopy` mutation. /// - [Description("Return type for `themeFilesCopy` mutation.")] - public class ThemeFilesCopyPayload : GraphQLObject - { + [Description("Return type for `themeFilesCopy` mutation.")] + public class ThemeFilesCopyPayload : GraphQLObject + { /// ///The resulting theme files. /// - [Description("The resulting theme files.")] - public IEnumerable? copiedThemeFiles { get; set; } - + [Description("The resulting theme files.")] + public IEnumerable? copiedThemeFiles { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `themeFilesDelete` mutation. /// - [Description("Return type for `themeFilesDelete` mutation.")] - public class ThemeFilesDeletePayload : GraphQLObject - { + [Description("Return type for `themeFilesDelete` mutation.")] + public class ThemeFilesDeletePayload : GraphQLObject + { /// ///The resulting theme files. /// - [Description("The resulting theme files.")] - public IEnumerable? deletedThemeFiles { get; set; } - + [Description("The resulting theme files.")] + public IEnumerable? deletedThemeFiles { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `themeFilesUpsert` mutation. /// - [Description("Return type for `themeFilesUpsert` mutation.")] - public class ThemeFilesUpsertPayload : GraphQLObject - { + [Description("Return type for `themeFilesUpsert` mutation.")] + public class ThemeFilesUpsertPayload : GraphQLObject + { /// ///The theme files write job triggered by the mutation. /// - [Description("The theme files write job triggered by the mutation.")] - public Job? job { get; set; } - + [Description("The theme files write job triggered by the mutation.")] + public Job? job { get; set; } + /// ///The resulting theme files. /// - [Description("The resulting theme files.")] - public IEnumerable? upsertedThemeFiles { get; set; } - + [Description("The resulting theme files.")] + public IEnumerable? upsertedThemeFiles { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `themePublish` mutation. /// - [Description("Return type for `themePublish` mutation.")] - public class ThemePublishPayload : GraphQLObject - { + [Description("Return type for `themePublish` mutation.")] + public class ThemePublishPayload : GraphQLObject + { /// ///The theme that was published. /// - [Description("The theme that was published.")] - public OnlineStoreTheme? theme { get; set; } - + [Description("The theme that was published.")] + public OnlineStoreTheme? theme { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ThemePublish`. /// - [Description("An error that occurs during the execution of `ThemePublish`.")] - public class ThemePublishUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ThemePublish`.")] + public class ThemePublishUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ThemePublishUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ThemePublishUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ThemePublishUserError`. /// - [Description("Possible error codes that can be returned by `ThemePublishUserError`.")] - public enum ThemePublishUserErrorCode - { + [Description("Possible error codes that can be returned by `ThemePublishUserError`.")] + public enum ThemePublishUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///Theme publishing is not available during install. /// - [Description("Theme publishing is not available during install.")] - CANNOT_PUBLISH_THEME_DURING_INSTALL, + [Description("Theme publishing is not available during install.")] + CANNOT_PUBLISH_THEME_DURING_INSTALL, /// ///Theme publishing is not allowed on this plan. /// - [Description("Theme publishing is not allowed on this plan.")] - THEME_PUBLISH_NOT_AVAILABLE_FOR_THEME_LIMITED_PLAN, - } - - public static class ThemePublishUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string CANNOT_PUBLISH_THEME_DURING_INSTALL = @"CANNOT_PUBLISH_THEME_DURING_INSTALL"; - public const string THEME_PUBLISH_NOT_AVAILABLE_FOR_THEME_LIMITED_PLAN = @"THEME_PUBLISH_NOT_AVAILABLE_FOR_THEME_LIMITED_PLAN"; - } - + [Description("Theme publishing is not allowed on this plan.")] + THEME_PUBLISH_NOT_AVAILABLE_FOR_THEME_LIMITED_PLAN, + } + + public static class ThemePublishUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string CANNOT_PUBLISH_THEME_DURING_INSTALL = @"CANNOT_PUBLISH_THEME_DURING_INSTALL"; + public const string THEME_PUBLISH_NOT_AVAILABLE_FOR_THEME_LIMITED_PLAN = @"THEME_PUBLISH_NOT_AVAILABLE_FOR_THEME_LIMITED_PLAN"; + } + /// ///The role of the theme. /// - [Description("The role of the theme.")] - public enum ThemeRole - { + [Description("The role of the theme.")] + public enum ThemeRole + { /// ///The currently published theme. There can only be one main theme at any time. /// - [Description("The currently published theme. There can only be one main theme at any time.")] - MAIN, + [Description("The currently published theme. There can only be one main theme at any time.")] + MAIN, /// ///The theme is currently not published. It can be transitioned to the main role if it is published by the merchant. /// - [Description("The theme is currently not published. It can be transitioned to the main role if it is published by the merchant.")] - UNPUBLISHED, + [Description("The theme is currently not published. It can be transitioned to the main role if it is published by the merchant.")] + UNPUBLISHED, /// ///The theme is installed as a trial from the Shopify Theme Store. It can be customized using the theme editor, but access to the code editor and the ability to publish the theme are restricted until it is purchased. /// - [Description("The theme is installed as a trial from the Shopify Theme Store. It can be customized using the theme editor, but access to the code editor and the ability to publish the theme are restricted until it is purchased.")] - DEMO, + [Description("The theme is installed as a trial from the Shopify Theme Store. It can be customized using the theme editor, but access to the code editor and the ability to publish the theme are restricted until it is purchased.")] + DEMO, /// ///The theme is automatically created by the CLI for previewing purposes when in a development session. /// - [Description("The theme is automatically created by the CLI for previewing purposes when in a development session.")] - DEVELOPMENT, + [Description("The theme is automatically created by the CLI for previewing purposes when in a development session.")] + DEVELOPMENT, /// ///The theme is archived if a merchant changes their plan and exceeds the maximum number of themes allowed. Archived themes can be downloaded by merchant, but can not be customized or published until the plan is upgraded. /// - [Description("The theme is archived if a merchant changes their plan and exceeds the maximum number of themes allowed. Archived themes can be downloaded by merchant, but can not be customized or published until the plan is upgraded.")] - ARCHIVED, + [Description("The theme is archived if a merchant changes their plan and exceeds the maximum number of themes allowed. Archived themes can be downloaded by merchant, but can not be customized or published until the plan is upgraded.")] + ARCHIVED, /// ///The theme is locked if it is identified as unlicensed. Customization and publishing are restricted until the merchant resolves the licensing issue. /// - [Description("The theme is locked if it is identified as unlicensed. Customization and publishing are restricted until the merchant resolves the licensing issue.")] - LOCKED, + [Description("The theme is locked if it is identified as unlicensed. Customization and publishing are restricted until the merchant resolves the licensing issue.")] + LOCKED, /// ///The currently published theme that is only accessible to a mobile client. /// - [Description("The currently published theme that is only accessible to a mobile client.")] - [Obsolete("The feature for this role has been deprecated.")] - MOBILE, - } - - public static class ThemeRoleStringValues - { - public const string MAIN = @"MAIN"; - public const string UNPUBLISHED = @"UNPUBLISHED"; - public const string DEMO = @"DEMO"; - public const string DEVELOPMENT = @"DEVELOPMENT"; - public const string ARCHIVED = @"ARCHIVED"; - public const string LOCKED = @"LOCKED"; - [Obsolete("The feature for this role has been deprecated.")] - public const string MOBILE = @"MOBILE"; - } - + [Description("The currently published theme that is only accessible to a mobile client.")] + [Obsolete("The feature for this role has been deprecated.")] + MOBILE, + } + + public static class ThemeRoleStringValues + { + public const string MAIN = @"MAIN"; + public const string UNPUBLISHED = @"UNPUBLISHED"; + public const string DEMO = @"DEMO"; + public const string DEVELOPMENT = @"DEVELOPMENT"; + public const string ARCHIVED = @"ARCHIVED"; + public const string LOCKED = @"LOCKED"; + [Obsolete("The feature for this role has been deprecated.")] + public const string MOBILE = @"MOBILE"; + } + /// ///Return type for `themeUpdate` mutation. /// - [Description("Return type for `themeUpdate` mutation.")] - public class ThemeUpdatePayload : GraphQLObject - { + [Description("Return type for `themeUpdate` mutation.")] + public class ThemeUpdatePayload : GraphQLObject + { /// ///The theme that was updated. /// - [Description("The theme that was updated.")] - public OnlineStoreTheme? theme { get; set; } - + [Description("The theme that was updated.")] + public OnlineStoreTheme? theme { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `ThemeUpdate`. /// - [Description("An error that occurs during the execution of `ThemeUpdate`.")] - public class ThemeUpdateUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `ThemeUpdate`.")] + public class ThemeUpdateUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ThemeUpdateUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ThemeUpdateUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ThemeUpdateUserError`. /// - [Description("Possible error codes that can be returned by `ThemeUpdateUserError`.")] - public enum ThemeUpdateUserErrorCode - { + [Description("Possible error codes that can be returned by `ThemeUpdateUserError`.")] + public enum ThemeUpdateUserErrorCode + { /// ///The record with the ID used as the input value couldn't be found. /// - [Description("The record with the ID used as the input value couldn't be found.")] - NOT_FOUND, + [Description("The record with the ID used as the input value couldn't be found.")] + NOT_FOUND, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, - } - - public static class ThemeUpdateUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string TOO_LONG = @"TOO_LONG"; - public const string INVALID = @"INVALID"; - } - + [Description("The input value is invalid.")] + INVALID, + } + + public static class ThemeUpdateUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string TOO_LONG = @"TOO_LONG"; + public const string INVALID = @"INVALID"; + } + /// ///Third-party app subscription overrides for a shop. /// - [Description("Third-party app subscription overrides for a shop.")] - public class ThirdPartyAppSubscriptionOverrideType : GraphQLObject - { + [Description("Third-party app subscription overrides for a shop.")] + public class ThirdPartyAppSubscriptionOverrideType : GraphQLObject + { /// ///Whether Facebook/Instagram app subscription is overridden. /// - [Description("Whether Facebook/Instagram app subscription is overridden.")] - [NonNull] - public bool? facebookInstagram { get; set; } - + [Description("Whether Facebook/Instagram app subscription is overridden.")] + [NonNull] + public bool? facebookInstagram { get; set; } + /// ///Whether Google/YouTube app subscription is overridden. /// - [Description("Whether Google/YouTube app subscription is overridden.")] - [NonNull] - public bool? googleYoutube { get; set; } - + [Description("Whether Google/YouTube app subscription is overridden.")] + [NonNull] + public bool? googleYoutube { get; set; } + /// ///Whether Instafeed app subscription is overridden. /// - [Description("Whether Instafeed app subscription is overridden.")] - [NonNull] - public bool? instafeed { get; set; } - + [Description("Whether Instafeed app subscription is overridden.")] + [NonNull] + public bool? instafeed { get; set; } + /// ///Whether Judge.me app subscription is overridden. /// - [Description("Whether Judge.me app subscription is overridden.")] - [NonNull] - public bool? judgeMe { get; set; } - + [Description("Whether Judge.me app subscription is overridden.")] + [NonNull] + public bool? judgeMe { get; set; } + /// ///Whether PageFly app subscription is overridden. /// - [Description("Whether PageFly app subscription is overridden.")] - [NonNull] - public bool? pagefly { get; set; } - + [Description("Whether PageFly app subscription is overridden.")] + [NonNull] + public bool? pagefly { get; set; } + /// ///Whether Smile loyalty app subscription is overridden. /// - [Description("Whether Smile loyalty app subscription is overridden.")] - [NonNull] - public bool? smileLoyalty { get; set; } - } - + [Description("Whether Smile loyalty app subscription is overridden.")] + [NonNull] + public bool? smileLoyalty { get; set; } + } + /// ///A sale associated with a tip. /// - [Description("A sale associated with a tip.")] - public class TipSale : GraphQLObject, ISale - { + [Description("A sale associated with a tip.")] + public class TipSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line item for the associated sale. /// - [Description("The line item for the associated sale.")] - [NonNull] - public LineItem? lineItem { get; set; } - + [Description("The line item for the associated sale.")] + [NonNull] + public LineItem? lineItem { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///Represents duties that applied to the order. /// - [Description("Represents duties that applied to the order.")] - public class TotalDuties : GraphQLObject - { + [Description("Represents duties that applied to the order.")] + public class TotalDuties : GraphQLObject + { /// ///The amount of duties, in shop and presentment currencies. /// - [Description("The amount of duties, in shop and presentment currencies.")] - [NonNull] - public MoneyBag? priceSet { get; set; } - + [Description("The amount of duties, in shop and presentment currencies.")] + [NonNull] + public MoneyBag? priceSet { get; set; } + /// ///The description of the duties. /// - [Description("The description of the duties.")] - public string? title { get; set; } - } - + [Description("The description of the duties.")] + public string? title { get; set; } + } + /// ///Transaction fee related to an order transaction. /// - [Description("Transaction fee related to an order transaction.")] - public class TransactionFee : GraphQLObject, INode - { + [Description("Transaction fee related to an order transaction.")] + public class TransactionFee : GraphQLObject, INode + { /// ///Amount of the fee. /// - [Description("Amount of the fee.")] - [NonNull] - public MoneyV2? amount { get; set; } - + [Description("Amount of the fee.")] + [NonNull] + public MoneyV2? amount { get; set; } + /// ///Flat rate charge for a transaction. /// - [Description("Flat rate charge for a transaction.")] - [NonNull] - public MoneyV2? flatFee { get; set; } - + [Description("Flat rate charge for a transaction.")] + [NonNull] + public MoneyV2? flatFee { get; set; } + /// ///Name of the credit card flat fee. /// - [Description("Name of the credit card flat fee.")] - public string? flatFeeName { get; set; } - + [Description("Name of the credit card flat fee.")] + public string? flatFeeName { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///Percentage charge. /// - [Description("Percentage charge.")] - [NonNull] - public decimal? rate { get; set; } - + [Description("Percentage charge.")] + [NonNull] + public decimal? rate { get; set; } + /// ///Name of the credit card rate. /// - [Description("Name of the credit card rate.")] - public string? rateName { get; set; } - + [Description("Name of the credit card rate.")] + public string? rateName { get; set; } + /// ///Tax amount charged on the fee. /// - [Description("Tax amount charged on the fee.")] - [NonNull] - public MoneyV2? taxAmount { get; set; } - + [Description("Tax amount charged on the fee.")] + [NonNull] + public MoneyV2? taxAmount { get; set; } + /// ///Name of the type of fee. /// - [Description("Name of the type of fee.")] - [NonNull] - public string? type { get; set; } - } - + [Description("Name of the type of fee.")] + [NonNull] + public string? type { get; set; } + } + /// ///The set of valid sort keys for the Transaction query. /// - [Description("The set of valid sort keys for the Transaction query.")] - public enum TransactionSortKeys - { + [Description("The set of valid sort keys for the Transaction query.")] + public enum TransactionSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `expires_at` value. /// - [Description("Sort by the `expires_at` value.")] - EXPIRES_AT, - } - - public static class TransactionSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string EXPIRES_AT = @"EXPIRES_AT"; - } - + [Description("Sort by the `expires_at` value.")] + EXPIRES_AT, + } + + public static class TransactionSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string EXPIRES_AT = @"EXPIRES_AT"; + } + /// ///The supported methods for processing a refund, indicating whether or not a physical card must be present. /// - [Description("The supported methods for processing a refund, indicating whether or not a physical card must be present.")] - public enum TransactionSupportedRefundType - { + [Description("The supported methods for processing a refund, indicating whether or not a physical card must be present.")] + public enum TransactionSupportedRefundType + { /// ///Refund requiring card present data. For example, the physical card and a reader. Note: third party developers can't refund this type. /// - [Description("Refund requiring card present data. For example, the physical card and a reader. Note: third party developers can't refund this type.")] - CARD_PRESENT_REFUND, + [Description("Refund requiring card present data. For example, the physical card and a reader. Note: third party developers can't refund this type.")] + CARD_PRESENT_REFUND, /// ///Refund without a physical card. /// - [Description("Refund without a physical card.")] - CARD_NOT_PRESENT_REFUND, - } - - public static class TransactionSupportedRefundTypeStringValues - { - public const string CARD_PRESENT_REFUND = @"CARD_PRESENT_REFUND"; - public const string CARD_NOT_PRESENT_REFUND = @"CARD_NOT_PRESENT_REFUND"; - } - + [Description("Refund without a physical card.")] + CARD_NOT_PRESENT_REFUND, + } + + public static class TransactionSupportedRefundTypeStringValues + { + public const string CARD_PRESENT_REFUND = @"CARD_PRESENT_REFUND"; + public const string CARD_NOT_PRESENT_REFUND = @"CARD_NOT_PRESENT_REFUND"; + } + /// ///Return type for `transactionVoid` mutation. /// - [Description("Return type for `transactionVoid` mutation.")] - public class TransactionVoidPayload : GraphQLObject - { + [Description("Return type for `transactionVoid` mutation.")] + public class TransactionVoidPayload : GraphQLObject + { /// ///The created void transaction. /// - [Description("The created void transaction.")] - public OrderTransaction? transaction { get; set; } - + [Description("The created void transaction.")] + public OrderTransaction? transaction { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `TransactionVoid`. /// - [Description("An error that occurs during the execution of `TransactionVoid`.")] - public class TransactionVoidUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `TransactionVoid`.")] + public class TransactionVoidUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(TransactionVoidUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(TransactionVoidUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `TransactionVoidUserError`. /// - [Description("Possible error codes that can be returned by `TransactionVoidUserError`.")] - public enum TransactionVoidUserErrorCode - { + [Description("Possible error codes that can be returned by `TransactionVoidUserError`.")] + public enum TransactionVoidUserErrorCode + { /// ///Transaction does not exist. /// - [Description("Transaction does not exist.")] - TRANSACTION_NOT_FOUND, + [Description("Transaction does not exist.")] + TRANSACTION_NOT_FOUND, /// ///Transaction must be a successful authorization. /// - [Description("Transaction must be a successful authorization.")] - AUTH_NOT_SUCCESSFUL, + [Description("Transaction must be a successful authorization.")] + AUTH_NOT_SUCCESSFUL, /// ///Transaction must be voidable. /// - [Description("Transaction must be voidable.")] - AUTH_NOT_VOIDABLE, + [Description("Transaction must be voidable.")] + AUTH_NOT_VOIDABLE, /// ///A generic error occurred while attempting to void the transaction. /// - [Description("A generic error occurred while attempting to void the transaction.")] - GENERIC_ERROR, - } - - public static class TransactionVoidUserErrorCodeStringValues - { - public const string TRANSACTION_NOT_FOUND = @"TRANSACTION_NOT_FOUND"; - public const string AUTH_NOT_SUCCESSFUL = @"AUTH_NOT_SUCCESSFUL"; - public const string AUTH_NOT_VOIDABLE = @"AUTH_NOT_VOIDABLE"; - public const string GENERIC_ERROR = @"GENERIC_ERROR"; - } - + [Description("A generic error occurred while attempting to void the transaction.")] + GENERIC_ERROR, + } + + public static class TransactionVoidUserErrorCodeStringValues + { + public const string TRANSACTION_NOT_FOUND = @"TRANSACTION_NOT_FOUND"; + public const string AUTH_NOT_SUCCESSFUL = @"AUTH_NOT_SUCCESSFUL"; + public const string AUTH_NOT_VOIDABLE = @"AUTH_NOT_VOIDABLE"; + public const string GENERIC_ERROR = @"GENERIC_ERROR"; + } + /// ///The set of valid sort keys for the Transfer query. /// - [Description("The set of valid sort keys for the Transfer query.")] - public enum TransferSortKeys - { + [Description("The set of valid sort keys for the Transfer query.")] + public enum TransferSortKeys + { /// ///Sort by the `created_at` value. /// - [Description("Sort by the `created_at` value.")] - CREATED_AT, + [Description("Sort by the `created_at` value.")] + CREATED_AT, /// ///Sort by the `destination_name` value. /// - [Description("Sort by the `destination_name` value.")] - DESTINATION_NAME, + [Description("Sort by the `destination_name` value.")] + DESTINATION_NAME, /// ///Sort by the `expected_shipment_arrival` value. /// - [Description("Sort by the `expected_shipment_arrival` value.")] - EXPECTED_SHIPMENT_ARRIVAL, + [Description("Sort by the `expected_shipment_arrival` value.")] + EXPECTED_SHIPMENT_ARRIVAL, /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `name` value. /// - [Description("Sort by the `name` value.")] - NAME, + [Description("Sort by the `name` value.")] + NAME, /// ///Sort by the `origin_name` value. /// - [Description("Sort by the `origin_name` value.")] - ORIGIN_NAME, + [Description("Sort by the `origin_name` value.")] + ORIGIN_NAME, /// ///Sort by the `source_name` value. /// - [Description("Sort by the `source_name` value.")] - SOURCE_NAME, + [Description("Sort by the `source_name` value.")] + SOURCE_NAME, /// ///Sort by the `status` value. /// - [Description("Sort by the `status` value.")] - STATUS, - } - - public static class TransferSortKeysStringValues - { - public const string CREATED_AT = @"CREATED_AT"; - public const string DESTINATION_NAME = @"DESTINATION_NAME"; - public const string EXPECTED_SHIPMENT_ARRIVAL = @"EXPECTED_SHIPMENT_ARRIVAL"; - public const string ID = @"ID"; - public const string NAME = @"NAME"; - public const string ORIGIN_NAME = @"ORIGIN_NAME"; - public const string SOURCE_NAME = @"SOURCE_NAME"; - public const string STATUS = @"STATUS"; - } - + [Description("Sort by the `status` value.")] + STATUS, + } + + public static class TransferSortKeysStringValues + { + public const string CREATED_AT = @"CREATED_AT"; + public const string DESTINATION_NAME = @"DESTINATION_NAME"; + public const string EXPECTED_SHIPMENT_ARRIVAL = @"EXPECTED_SHIPMENT_ARRIVAL"; + public const string ID = @"ID"; + public const string NAME = @"NAME"; + public const string ORIGIN_NAME = @"ORIGIN_NAME"; + public const string SOURCE_NAME = @"SOURCE_NAME"; + public const string STATUS = @"STATUS"; + } + /// ///Translatable content of a resource's field. /// - [Description("Translatable content of a resource's field.")] - public class TranslatableContent : GraphQLObject - { + [Description("Translatable content of a resource's field.")] + public class TranslatableContent : GraphQLObject + { /// ///Hash digest representation of the content value. /// - [Description("Hash digest representation of the content value.")] - public string? digest { get; set; } - + [Description("Hash digest representation of the content value.")] + public string? digest { get; set; } + /// ///The resource field that's being translated. /// - [Description("The resource field that's being translated.")] - [NonNull] - public string? key { get; set; } - + [Description("The resource field that's being translated.")] + [NonNull] + public string? key { get; set; } + /// ///Locale of the content. /// - [Description("Locale of the content.")] - [NonNull] - public string? locale { get; set; } - + [Description("Locale of the content.")] + [NonNull] + public string? locale { get; set; } + /// ///Type of the translatable content. /// - [Description("Type of the translatable content.")] - [NonNull] - [EnumType(typeof(LocalizableContentType))] - public string? type { get; set; } - + [Description("Type of the translatable content.")] + [NonNull] + [EnumType(typeof(LocalizableContentType))] + public string? type { get; set; } + /// ///Content value. /// - [Description("Content value.")] - public string? value { get; set; } - } - + [Description("Content value.")] + public string? value { get; set; } + } + /// ///A resource that has translatable fields. /// - [Description("A resource that has translatable fields.")] - public class TranslatableResource : GraphQLObject - { + [Description("A resource that has translatable fields.")] + public class TranslatableResource : GraphQLObject + { /// ///Nested translatable resources under the current resource. /// - [Description("Nested translatable resources under the current resource.")] - [NonNull] - public TranslatableResourceConnection? nestedTranslatableResources { get; set; } - + [Description("Nested translatable resources under the current resource.")] + [NonNull] + public TranslatableResourceConnection? nestedTranslatableResources { get; set; } + /// ///GID of the resource. /// - [Description("GID of the resource.")] - [NonNull] - public string? resourceId { get; set; } - + [Description("GID of the resource.")] + [NonNull] + public string? resourceId { get; set; } + /// ///Translatable content. /// - [Description("Translatable content.")] - [NonNull] - public IEnumerable? translatableContent { get; set; } - + [Description("Translatable content.")] + [NonNull] + public IEnumerable? translatableContent { get; set; } + /// ///Translatable content translations (includes unpublished locales). /// - [Description("Translatable content translations (includes unpublished locales).")] - [NonNull] - public IEnumerable? translations { get; set; } - } - + [Description("Translatable content translations (includes unpublished locales).")] + [NonNull] + public IEnumerable? translations { get; set; } + } + /// ///An auto-generated type for paginating through multiple TranslatableResources. /// - [Description("An auto-generated type for paginating through multiple TranslatableResources.")] - public class TranslatableResourceConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple TranslatableResources.")] + public class TranslatableResourceConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in TranslatableResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in TranslatableResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in TranslatableResourceEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///An auto-generated type which holds one TranslatableResource and a cursor during pagination. /// - [Description("An auto-generated type which holds one TranslatableResource and a cursor during pagination.")] - public class TranslatableResourceEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one TranslatableResource and a cursor during pagination.")] + public class TranslatableResourceEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of TranslatableResourceEdge. /// - [Description("The item at the end of TranslatableResourceEdge.")] - [NonNull] - public TranslatableResource? node { get; set; } - } - + [Description("The item at the end of TranslatableResourceEdge.")] + [NonNull] + public TranslatableResource? node { get; set; } + } + /// ///Specifies the type of resources that are translatable. /// - [Description("Specifies the type of resources that are translatable.")] - public enum TranslatableResourceType - { + [Description("Specifies the type of resources that are translatable.")] + public enum TranslatableResourceType + { /// ///A blog post. Translatable fields: `title`, `body_html`, `summary_html`, `handle`, `meta_title`, `meta_description`. /// - [Description("A blog post. Translatable fields: `title`, `body_html`, `summary_html`, `handle`, `meta_title`, `meta_description`.")] - ARTICLE, + [Description("A blog post. Translatable fields: `title`, `body_html`, `summary_html`, `handle`, `meta_title`, `meta_description`.")] + ARTICLE, /// ///A blog. Translatable fields: `title`, `handle`, `meta_title`, `meta_description`. /// - [Description("A blog. Translatable fields: `title`, `handle`, `meta_title`, `meta_description`.")] - BLOG, + [Description("A blog. Translatable fields: `title`, `handle`, `meta_title`, `meta_description`.")] + BLOG, /// ///A product collection. Translatable fields: `title`, `body_html`, `handle`, `meta_title`, `meta_description`. /// - [Description("A product collection. Translatable fields: `title`, `body_html`, `handle`, `meta_title`, `meta_description`.")] - COLLECTION, + [Description("A product collection. Translatable fields: `title`, `body_html`, `handle`, `meta_title`, `meta_description`.")] + COLLECTION, /// ///The shop's cookie banner. Translatable fields: `policy_link_text`, `title`, `text`, `button_prefs_open_text`, `button_accept_text`, `button_decline_text`, `preferences_title`, `preferences_intro_title`, `preferences_intro_text`, `preferences_button_accept_text`, `preferences_button_decline_text`, `preferences_button_save_text`, `preferences_bullet_points_title`, `preferences_bullet_points_first_text`, `preferences_bullet_points_second_text`, `preferences_bullet_points_third_text`, `preferences_purposes_essential_name`, `preferences_purposes_essential_desc`, `preferences_purposes_performance_name`, `preferences_purposes_performance_desc`, `preferences_purposes_preferences_name`, `preferences_purposes_preferences_desc`, `preferences_purposes_marketing_name`, `preferences_purposes_marketing_desc`, `policy_link_url`. /// - [Description("The shop's cookie banner. Translatable fields: `policy_link_text`, `title`, `text`, `button_prefs_open_text`, `button_accept_text`, `button_decline_text`, `preferences_title`, `preferences_intro_title`, `preferences_intro_text`, `preferences_button_accept_text`, `preferences_button_decline_text`, `preferences_button_save_text`, `preferences_bullet_points_title`, `preferences_bullet_points_first_text`, `preferences_bullet_points_second_text`, `preferences_bullet_points_third_text`, `preferences_purposes_essential_name`, `preferences_purposes_essential_desc`, `preferences_purposes_performance_name`, `preferences_purposes_performance_desc`, `preferences_purposes_preferences_name`, `preferences_purposes_preferences_desc`, `preferences_purposes_marketing_name`, `preferences_purposes_marketing_desc`, `policy_link_url`.")] - COOKIE_BANNER, + [Description("The shop's cookie banner. Translatable fields: `policy_link_text`, `title`, `text`, `button_prefs_open_text`, `button_accept_text`, `button_decline_text`, `preferences_title`, `preferences_intro_title`, `preferences_intro_text`, `preferences_button_accept_text`, `preferences_button_decline_text`, `preferences_button_save_text`, `preferences_bullet_points_title`, `preferences_bullet_points_first_text`, `preferences_bullet_points_second_text`, `preferences_bullet_points_third_text`, `preferences_purposes_essential_name`, `preferences_purposes_essential_desc`, `preferences_purposes_performance_name`, `preferences_purposes_performance_desc`, `preferences_purposes_preferences_name`, `preferences_purposes_preferences_desc`, `preferences_purposes_marketing_name`, `preferences_purposes_marketing_desc`, `policy_link_url`.")] + COOKIE_BANNER, /// ///The delivery method definition. For example, "Standard", or "Expedited". Translatable fields: `name`. /// - [Description("The delivery method definition. For example, \"Standard\", or \"Expedited\". Translatable fields: `name`.")] - DELIVERY_METHOD_DEFINITION, + [Description("The delivery method definition. For example, \"Standard\", or \"Expedited\". Translatable fields: `name`.")] + DELIVERY_METHOD_DEFINITION, /// ///An email template. Translatable fields: `title`, `body_html`. /// - [Description("An email template. Translatable fields: `title`, `body_html`.")] - EMAIL_TEMPLATE, + [Description("An email template. Translatable fields: `title`, `body_html`.")] + EMAIL_TEMPLATE, /// ///A filter. Translatable fields: `label`. /// - [Description("A filter. Translatable fields: `label`.")] - FILTER, + [Description("A filter. Translatable fields: `label`.")] + FILTER, /// ///A link to direct users. Translatable fields: `title`. /// - [Description("A link to direct users. Translatable fields: `title`.")] - LINK, + [Description("A link to direct users. Translatable fields: `title`.")] + LINK, /// ///An image. Translatable fields: `alt`. /// - [Description("An image. Translatable fields: `alt`.")] - MEDIA_IMAGE, + [Description("An image. Translatable fields: `alt`.")] + MEDIA_IMAGE, /// ///A category of links. Translatable fields: `title`. /// - [Description("A category of links. Translatable fields: `title`.")] - MENU, + [Description("A category of links. Translatable fields: `title`.")] + MENU, /// ///A Metafield. Translatable fields: `value`. /// - [Description("A Metafield. Translatable fields: `value`.")] - METAFIELD, + [Description("A Metafield. Translatable fields: `value`.")] + METAFIELD, /// ///A Metaobject. Translatable fields are determined by the Metaobject type. /// - [Description("A Metaobject. Translatable fields are determined by the Metaobject type.")] - METAOBJECT, + [Description("A Metaobject. Translatable fields are determined by the Metaobject type.")] + METAOBJECT, /// ///An online store theme. Translatable fields: `dynamic keys based on theme data`. /// - [Description("An online store theme. Translatable fields: `dynamic keys based on theme data`.")] - ONLINE_STORE_THEME, + [Description("An online store theme. Translatable fields: `dynamic keys based on theme data`.")] + ONLINE_STORE_THEME, /// ///A theme app embed. Translatable fields: `dynamic keys based on theme data`. /// - [Description("A theme app embed. Translatable fields: `dynamic keys based on theme data`.")] - ONLINE_STORE_THEME_APP_EMBED, + [Description("A theme app embed. Translatable fields: `dynamic keys based on theme data`.")] + ONLINE_STORE_THEME_APP_EMBED, /// ///A theme json template. Translatable fields: `dynamic keys based on theme data`. /// - [Description("A theme json template. Translatable fields: `dynamic keys based on theme data`.")] - ONLINE_STORE_THEME_JSON_TEMPLATE, + [Description("A theme json template. Translatable fields: `dynamic keys based on theme data`.")] + ONLINE_STORE_THEME_JSON_TEMPLATE, /// ///Locale file content of an online store theme. Translatable fields: `dynamic keys based on theme data`. /// - [Description("Locale file content of an online store theme. Translatable fields: `dynamic keys based on theme data`.")] - ONLINE_STORE_THEME_LOCALE_CONTENT, + [Description("Locale file content of an online store theme. Translatable fields: `dynamic keys based on theme data`.")] + ONLINE_STORE_THEME_LOCALE_CONTENT, /// ///A theme json section group. Translatable fields: `dynamic keys based on theme data`. /// - [Description("A theme json section group. Translatable fields: `dynamic keys based on theme data`.")] - ONLINE_STORE_THEME_SECTION_GROUP, + [Description("A theme json section group. Translatable fields: `dynamic keys based on theme data`.")] + ONLINE_STORE_THEME_SECTION_GROUP, /// ///A theme setting category. Translatable fields: `dynamic keys based on theme data`. /// - [Description("A theme setting category. Translatable fields: `dynamic keys based on theme data`.")] - ONLINE_STORE_THEME_SETTINGS_CATEGORY, + [Description("A theme setting category. Translatable fields: `dynamic keys based on theme data`.")] + ONLINE_STORE_THEME_SETTINGS_CATEGORY, /// ///Shared static sections of an online store theme. Translatable fields: `dynamic keys based on theme data`. /// - [Description("Shared static sections of an online store theme. Translatable fields: `dynamic keys based on theme data`.")] - ONLINE_STORE_THEME_SETTINGS_DATA_SECTIONS, + [Description("Shared static sections of an online store theme. Translatable fields: `dynamic keys based on theme data`.")] + ONLINE_STORE_THEME_SETTINGS_DATA_SECTIONS, /// ///A packing slip template. Translatable fields: `body`. /// - [Description("A packing slip template. Translatable fields: `body`.")] - PACKING_SLIP_TEMPLATE, + [Description("A packing slip template. Translatable fields: `body`.")] + PACKING_SLIP_TEMPLATE, /// ///A page. Translatable fields: `title`, `body_html`, `handle`, `meta_title`, `meta_description`. /// - [Description("A page. Translatable fields: `title`, `body_html`, `handle`, `meta_title`, `meta_description`.")] - PAGE, + [Description("A page. Translatable fields: `title`, `body_html`, `handle`, `meta_title`, `meta_description`.")] + PAGE, /// ///A payment gateway. Translatable fields: `name`, `message`, `before_payment_instructions`. /// - [Description("A payment gateway. Translatable fields: `name`, `message`, `before_payment_instructions`.")] - PAYMENT_GATEWAY, + [Description("A payment gateway. Translatable fields: `name`, `message`, `before_payment_instructions`.")] + PAYMENT_GATEWAY, /// ///An online store product. Translatable fields: `title`, `body_html`, `handle`, `product_type`, `meta_title`, `meta_description`. /// - [Description("An online store product. Translatable fields: `title`, `body_html`, `handle`, `product_type`, `meta_title`, `meta_description`.")] - PRODUCT, + [Description("An online store product. Translatable fields: `title`, `body_html`, `handle`, `product_type`, `meta_title`, `meta_description`.")] + PRODUCT, /// ///An online store custom product property name. For example, "Size", "Color", or "Material". /// Translatable fields: `name`. /// - [Description("An online store custom product property name. For example, \"Size\", \"Color\", or \"Material\".\n Translatable fields: `name`.")] - PRODUCT_OPTION, + [Description("An online store custom product property name. For example, \"Size\", \"Color\", or \"Material\".\n Translatable fields: `name`.")] + PRODUCT_OPTION, /// ///The product option value names. For example, "Red", "Blue", and "Green" for a "Color" option. Translatable fields: `name`. /// - [Description("The product option value names. For example, \"Red\", \"Blue\", and \"Green\" for a \"Color\" option. Translatable fields: `name`.")] - PRODUCT_OPTION_VALUE, + [Description("The product option value names. For example, \"Red\", \"Blue\", and \"Green\" for a \"Color\" option. Translatable fields: `name`.")] + PRODUCT_OPTION_VALUE, /// ///A selling plan. Translatable fields:`name`, `option1`, `option2`, `option3`, `description`. /// - [Description("A selling plan. Translatable fields:`name`, `option1`, `option2`, `option3`, `description`.")] - SELLING_PLAN, + [Description("A selling plan. Translatable fields:`name`, `option1`, `option2`, `option3`, `description`.")] + SELLING_PLAN, /// ///A selling plan group. Translatable fields: `name`, `option1`, `option2`, `option3`. /// - [Description("A selling plan group. Translatable fields: `name`, `option1`, `option2`, `option3`.")] - SELLING_PLAN_GROUP, + [Description("A selling plan group. Translatable fields: `name`, `option1`, `option2`, `option3`.")] + SELLING_PLAN_GROUP, /// ///A shop. Translatable fields: `meta_title`, `meta_description`. /// - [Description("A shop. Translatable fields: `meta_title`, `meta_description`.")] - SHOP, + [Description("A shop. Translatable fields: `meta_title`, `meta_description`.")] + SHOP, /// ///A shop policy. Translatable fields: `body`. /// - [Description("A shop policy. Translatable fields: `body`.")] - SHOP_POLICY, - } - - public static class TranslatableResourceTypeStringValues - { - public const string ARTICLE = @"ARTICLE"; - public const string BLOG = @"BLOG"; - public const string COLLECTION = @"COLLECTION"; - public const string COOKIE_BANNER = @"COOKIE_BANNER"; - public const string DELIVERY_METHOD_DEFINITION = @"DELIVERY_METHOD_DEFINITION"; - public const string EMAIL_TEMPLATE = @"EMAIL_TEMPLATE"; - public const string FILTER = @"FILTER"; - public const string LINK = @"LINK"; - public const string MEDIA_IMAGE = @"MEDIA_IMAGE"; - public const string MENU = @"MENU"; - public const string METAFIELD = @"METAFIELD"; - public const string METAOBJECT = @"METAOBJECT"; - public const string ONLINE_STORE_THEME = @"ONLINE_STORE_THEME"; - public const string ONLINE_STORE_THEME_APP_EMBED = @"ONLINE_STORE_THEME_APP_EMBED"; - public const string ONLINE_STORE_THEME_JSON_TEMPLATE = @"ONLINE_STORE_THEME_JSON_TEMPLATE"; - public const string ONLINE_STORE_THEME_LOCALE_CONTENT = @"ONLINE_STORE_THEME_LOCALE_CONTENT"; - public const string ONLINE_STORE_THEME_SECTION_GROUP = @"ONLINE_STORE_THEME_SECTION_GROUP"; - public const string ONLINE_STORE_THEME_SETTINGS_CATEGORY = @"ONLINE_STORE_THEME_SETTINGS_CATEGORY"; - public const string ONLINE_STORE_THEME_SETTINGS_DATA_SECTIONS = @"ONLINE_STORE_THEME_SETTINGS_DATA_SECTIONS"; - public const string PACKING_SLIP_TEMPLATE = @"PACKING_SLIP_TEMPLATE"; - public const string PAGE = @"PAGE"; - public const string PAYMENT_GATEWAY = @"PAYMENT_GATEWAY"; - public const string PRODUCT = @"PRODUCT"; - public const string PRODUCT_OPTION = @"PRODUCT_OPTION"; - public const string PRODUCT_OPTION_VALUE = @"PRODUCT_OPTION_VALUE"; - public const string SELLING_PLAN = @"SELLING_PLAN"; - public const string SELLING_PLAN_GROUP = @"SELLING_PLAN_GROUP"; - public const string SHOP = @"SHOP"; - public const string SHOP_POLICY = @"SHOP_POLICY"; - } - + [Description("A shop policy. Translatable fields: `body`.")] + SHOP_POLICY, + } + + public static class TranslatableResourceTypeStringValues + { + public const string ARTICLE = @"ARTICLE"; + public const string BLOG = @"BLOG"; + public const string COLLECTION = @"COLLECTION"; + public const string COOKIE_BANNER = @"COOKIE_BANNER"; + public const string DELIVERY_METHOD_DEFINITION = @"DELIVERY_METHOD_DEFINITION"; + public const string EMAIL_TEMPLATE = @"EMAIL_TEMPLATE"; + public const string FILTER = @"FILTER"; + public const string LINK = @"LINK"; + public const string MEDIA_IMAGE = @"MEDIA_IMAGE"; + public const string MENU = @"MENU"; + public const string METAFIELD = @"METAFIELD"; + public const string METAOBJECT = @"METAOBJECT"; + public const string ONLINE_STORE_THEME = @"ONLINE_STORE_THEME"; + public const string ONLINE_STORE_THEME_APP_EMBED = @"ONLINE_STORE_THEME_APP_EMBED"; + public const string ONLINE_STORE_THEME_JSON_TEMPLATE = @"ONLINE_STORE_THEME_JSON_TEMPLATE"; + public const string ONLINE_STORE_THEME_LOCALE_CONTENT = @"ONLINE_STORE_THEME_LOCALE_CONTENT"; + public const string ONLINE_STORE_THEME_SECTION_GROUP = @"ONLINE_STORE_THEME_SECTION_GROUP"; + public const string ONLINE_STORE_THEME_SETTINGS_CATEGORY = @"ONLINE_STORE_THEME_SETTINGS_CATEGORY"; + public const string ONLINE_STORE_THEME_SETTINGS_DATA_SECTIONS = @"ONLINE_STORE_THEME_SETTINGS_DATA_SECTIONS"; + public const string PACKING_SLIP_TEMPLATE = @"PACKING_SLIP_TEMPLATE"; + public const string PAGE = @"PAGE"; + public const string PAYMENT_GATEWAY = @"PAYMENT_GATEWAY"; + public const string PRODUCT = @"PRODUCT"; + public const string PRODUCT_OPTION = @"PRODUCT_OPTION"; + public const string PRODUCT_OPTION_VALUE = @"PRODUCT_OPTION_VALUE"; + public const string SELLING_PLAN = @"SELLING_PLAN"; + public const string SELLING_PLAN_GROUP = @"SELLING_PLAN_GROUP"; + public const string SHOP = @"SHOP"; + public const string SHOP_POLICY = @"SHOP_POLICY"; + } + /// ///Translation of a field of a resource. /// - [Description("Translation of a field of a resource.")] - public class Translation : GraphQLObject - { + [Description("Translation of a field of a resource.")] + public class Translation : GraphQLObject + { /// ///On the resource that this translation belongs to, the reference to the value being translated. /// - [Description("On the resource that this translation belongs to, the reference to the value being translated.")] - [NonNull] - public string? key { get; set; } - + [Description("On the resource that this translation belongs to, the reference to the value being translated.")] + [NonNull] + public string? key { get; set; } + /// ///ISO code of the translation locale. /// - [Description("ISO code of the translation locale.")] - [NonNull] - public string? locale { get; set; } - + [Description("ISO code of the translation locale.")] + [NonNull] + public string? locale { get; set; } + /// ///The market that the translation is specific to. Null value means the translation is available in all markets. /// - [Description("The market that the translation is specific to. Null value means the translation is available in all markets.")] - public Market? market { get; set; } - + [Description("The market that the translation is specific to. Null value means the translation is available in all markets.")] + public Market? market { get; set; } + /// ///Whether the original content has changed since this translation was updated. /// - [Description("Whether the original content has changed since this translation was updated.")] - [NonNull] - public bool? outdated { get; set; } - + [Description("Whether the original content has changed since this translation was updated.")] + [NonNull] + public bool? outdated { get; set; } + /// ///The date and time when the translation was updated. /// - [Description("The date and time when the translation was updated.")] - public DateTime? updatedAt { get; set; } - + [Description("The date and time when the translation was updated.")] + public DateTime? updatedAt { get; set; } + /// ///Translation value. /// - [Description("Translation value.")] - public string? value { get; set; } - } - + [Description("Translation value.")] + public string? value { get; set; } + } + /// ///Possible error codes that can be returned by `TranslationUserError`. /// - [Description("Possible error codes that can be returned by `TranslationUserError`.")] - public enum TranslationErrorCode - { + [Description("Possible error codes that can be returned by `TranslationUserError`.")] + public enum TranslationErrorCode + { /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///Resource does not exist. /// - [Description("Resource does not exist.")] - RESOURCE_NOT_FOUND, + [Description("Resource does not exist.")] + RESOURCE_NOT_FOUND, /// ///Resource is not translatable. /// - [Description("Resource is not translatable.")] - RESOURCE_NOT_TRANSLATABLE, + [Description("Resource is not translatable.")] + RESOURCE_NOT_TRANSLATABLE, /// ///Too many translation keys for the resource. /// - [Description("Too many translation keys for the resource.")] - TOO_MANY_KEYS_FOR_RESOURCE, + [Description("Too many translation keys for the resource.")] + TOO_MANY_KEYS_FOR_RESOURCE, /// ///Translation key is invalid. /// - [Description("Translation key is invalid.")] - INVALID_KEY_FOR_MODEL, + [Description("Translation key is invalid.")] + INVALID_KEY_FOR_MODEL, /// ///Translation value is invalid. /// - [Description("Translation value is invalid.")] - FAILS_RESOURCE_VALIDATION, + [Description("Translation value is invalid.")] + FAILS_RESOURCE_VALIDATION, /// ///Translatable content is invalid. /// - [Description("Translatable content is invalid.")] - INVALID_TRANSLATABLE_CONTENT, + [Description("Translatable content is invalid.")] + INVALID_TRANSLATABLE_CONTENT, /// ///Market localizable content is invalid. /// - [Description("Market localizable content is invalid.")] - INVALID_MARKET_LOCALIZABLE_CONTENT, + [Description("Market localizable content is invalid.")] + INVALID_MARKET_LOCALIZABLE_CONTENT, /// ///Locale is invalid for the shop. /// - [Description("Locale is invalid for the shop.")] - INVALID_LOCALE_FOR_SHOP, + [Description("Locale is invalid for the shop.")] + INVALID_LOCALE_FOR_SHOP, /// ///Locale language code is invalid. /// - [Description("Locale language code is invalid.")] - INVALID_CODE, + [Description("Locale language code is invalid.")] + INVALID_CODE, /// ///Locale code format is invalid. /// - [Description("Locale code format is invalid.")] - INVALID_FORMAT, + [Description("Locale code format is invalid.")] + INVALID_FORMAT, /// ///The shop isn't allowed to operate on market custom content. /// - [Description("The shop isn't allowed to operate on market custom content.")] - MARKET_CUSTOM_CONTENT_NOT_ALLOWED, + [Description("The shop isn't allowed to operate on market custom content.")] + MARKET_CUSTOM_CONTENT_NOT_ALLOWED, /// ///The market corresponding to the `marketId` argument doesn't exist. /// - [Description("The market corresponding to the `marketId` argument doesn't exist.")] - MARKET_DOES_NOT_EXIST, + [Description("The market corresponding to the `marketId` argument doesn't exist.")] + MARKET_DOES_NOT_EXIST, /// ///The market override locale creation failed. /// - [Description("The market override locale creation failed.")] - MARKET_LOCALE_CREATION_FAILED, + [Description("The market override locale creation failed.")] + MARKET_LOCALE_CREATION_FAILED, /// ///The specified resource can't be customized for a market. /// - [Description("The specified resource can't be customized for a market.")] - RESOURCE_NOT_MARKET_CUSTOMIZABLE, + [Description("The specified resource can't be customized for a market.")] + RESOURCE_NOT_MARKET_CUSTOMIZABLE, /// ///The locale is missing on the market corresponding to the `marketId` argument. /// - [Description("The locale is missing on the market corresponding to the `marketId` argument.")] - [Obsolete("`invalid_locale_for_market` is deprecated because the creation of a locale that's specific to a market no longer needs to be tied to that market's URL.")] - INVALID_LOCALE_FOR_MARKET, + [Description("The locale is missing on the market corresponding to the `marketId` argument.")] + [Obsolete("`invalid_locale_for_market` is deprecated because the creation of a locale that's specific to a market no longer needs to be tied to that market's URL.")] + INVALID_LOCALE_FOR_MARKET, /// ///The handle is already taken for this resource. /// - [Description("The handle is already taken for this resource.")] - INVALID_VALUE_FOR_HANDLE_TRANSLATION, - } - - public static class TranslationErrorCodeStringValues - { - public const string BLANK = @"BLANK"; - public const string INVALID = @"INVALID"; - public const string RESOURCE_NOT_FOUND = @"RESOURCE_NOT_FOUND"; - public const string RESOURCE_NOT_TRANSLATABLE = @"RESOURCE_NOT_TRANSLATABLE"; - public const string TOO_MANY_KEYS_FOR_RESOURCE = @"TOO_MANY_KEYS_FOR_RESOURCE"; - public const string INVALID_KEY_FOR_MODEL = @"INVALID_KEY_FOR_MODEL"; - public const string FAILS_RESOURCE_VALIDATION = @"FAILS_RESOURCE_VALIDATION"; - public const string INVALID_TRANSLATABLE_CONTENT = @"INVALID_TRANSLATABLE_CONTENT"; - public const string INVALID_MARKET_LOCALIZABLE_CONTENT = @"INVALID_MARKET_LOCALIZABLE_CONTENT"; - public const string INVALID_LOCALE_FOR_SHOP = @"INVALID_LOCALE_FOR_SHOP"; - public const string INVALID_CODE = @"INVALID_CODE"; - public const string INVALID_FORMAT = @"INVALID_FORMAT"; - public const string MARKET_CUSTOM_CONTENT_NOT_ALLOWED = @"MARKET_CUSTOM_CONTENT_NOT_ALLOWED"; - public const string MARKET_DOES_NOT_EXIST = @"MARKET_DOES_NOT_EXIST"; - public const string MARKET_LOCALE_CREATION_FAILED = @"MARKET_LOCALE_CREATION_FAILED"; - public const string RESOURCE_NOT_MARKET_CUSTOMIZABLE = @"RESOURCE_NOT_MARKET_CUSTOMIZABLE"; - [Obsolete("`invalid_locale_for_market` is deprecated because the creation of a locale that's specific to a market no longer needs to be tied to that market's URL.")] - public const string INVALID_LOCALE_FOR_MARKET = @"INVALID_LOCALE_FOR_MARKET"; - public const string INVALID_VALUE_FOR_HANDLE_TRANSLATION = @"INVALID_VALUE_FOR_HANDLE_TRANSLATION"; - } - + [Description("The handle is already taken for this resource.")] + INVALID_VALUE_FOR_HANDLE_TRANSLATION, + } + + public static class TranslationErrorCodeStringValues + { + public const string BLANK = @"BLANK"; + public const string INVALID = @"INVALID"; + public const string RESOURCE_NOT_FOUND = @"RESOURCE_NOT_FOUND"; + public const string RESOURCE_NOT_TRANSLATABLE = @"RESOURCE_NOT_TRANSLATABLE"; + public const string TOO_MANY_KEYS_FOR_RESOURCE = @"TOO_MANY_KEYS_FOR_RESOURCE"; + public const string INVALID_KEY_FOR_MODEL = @"INVALID_KEY_FOR_MODEL"; + public const string FAILS_RESOURCE_VALIDATION = @"FAILS_RESOURCE_VALIDATION"; + public const string INVALID_TRANSLATABLE_CONTENT = @"INVALID_TRANSLATABLE_CONTENT"; + public const string INVALID_MARKET_LOCALIZABLE_CONTENT = @"INVALID_MARKET_LOCALIZABLE_CONTENT"; + public const string INVALID_LOCALE_FOR_SHOP = @"INVALID_LOCALE_FOR_SHOP"; + public const string INVALID_CODE = @"INVALID_CODE"; + public const string INVALID_FORMAT = @"INVALID_FORMAT"; + public const string MARKET_CUSTOM_CONTENT_NOT_ALLOWED = @"MARKET_CUSTOM_CONTENT_NOT_ALLOWED"; + public const string MARKET_DOES_NOT_EXIST = @"MARKET_DOES_NOT_EXIST"; + public const string MARKET_LOCALE_CREATION_FAILED = @"MARKET_LOCALE_CREATION_FAILED"; + public const string RESOURCE_NOT_MARKET_CUSTOMIZABLE = @"RESOURCE_NOT_MARKET_CUSTOMIZABLE"; + [Obsolete("`invalid_locale_for_market` is deprecated because the creation of a locale that's specific to a market no longer needs to be tied to that market's URL.")] + public const string INVALID_LOCALE_FOR_MARKET = @"INVALID_LOCALE_FOR_MARKET"; + public const string INVALID_VALUE_FOR_HANDLE_TRANSLATION = @"INVALID_VALUE_FOR_HANDLE_TRANSLATION"; + } + /// ///The input fields and values for creating or updating a translation. /// - [Description("The input fields and values for creating or updating a translation.")] - public class TranslationInput : GraphQLObject - { + [Description("The input fields and values for creating or updating a translation.")] + public class TranslationInput : GraphQLObject + { /// ///ISO code of the locale being translated into. Only locales returned in `shopLocales` are valid. /// - [Description("ISO code of the locale being translated into. Only locales returned in `shopLocales` are valid.")] - [NonNull] - public string? locale { get; set; } - + [Description("ISO code of the locale being translated into. Only locales returned in `shopLocales` are valid.")] + [NonNull] + public string? locale { get; set; } + /// ///On the resource that this translation belongs to, the reference to the value being translated. /// - [Description("On the resource that this translation belongs to, the reference to the value being translated.")] - [NonNull] - public string? key { get; set; } - + [Description("On the resource that this translation belongs to, the reference to the value being translated.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the translation. /// - [Description("The value of the translation.")] - [NonNull] - public string? value { get; set; } - + [Description("The value of the translation.")] + [NonNull] + public string? value { get; set; } + /// ///Hash digest representation of the content being translated. /// - [Description("Hash digest representation of the content being translated.")] - [NonNull] - public string? translatableContentDigest { get; set; } - + [Description("Hash digest representation of the content being translated.")] + [NonNull] + public string? translatableContentDigest { get; set; } + /// ///The ID of the market that the translation is specific to. Not specifying this field means that the translation will be available in all markets. /// - [Description("The ID of the market that the translation is specific to. Not specifying this field means that the translation will be available in all markets.")] - public string? marketId { get; set; } - } - + [Description("The ID of the market that the translation is specific to. Not specifying this field means that the translation will be available in all markets.")] + public string? marketId { get; set; } + } + /// ///Represents an error that happens during the execution of a translation mutation. /// - [Description("Represents an error that happens during the execution of a translation mutation.")] - public class TranslationUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during the execution of a translation mutation.")] + public class TranslationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(TranslationErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(TranslationErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Return type for `translationsRegister` mutation. /// - [Description("Return type for `translationsRegister` mutation.")] - public class TranslationsRegisterPayload : GraphQLObject - { + [Description("Return type for `translationsRegister` mutation.")] + public class TranslationsRegisterPayload : GraphQLObject + { /// ///The translations that were created or updated. /// - [Description("The translations that were created or updated.")] - public IEnumerable? translations { get; set; } - + [Description("The translations that were created or updated.")] + public IEnumerable? translations { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `translationsRemove` mutation. /// - [Description("Return type for `translationsRemove` mutation.")] - public class TranslationsRemovePayload : GraphQLObject - { + [Description("Return type for `translationsRemove` mutation.")] + public class TranslationsRemovePayload : GraphQLObject + { /// ///The translations that were deleted. /// - [Description("The translations that were deleted.")] - public IEnumerable? translations { get; set; } - + [Description("The translations that were deleted.")] + public IEnumerable? translations { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents a typed custom attribute. /// - [Description("Represents a typed custom attribute.")] - public class TypedAttribute : GraphQLObject - { + [Description("Represents a typed custom attribute.")] + public class TypedAttribute : GraphQLObject + { /// ///Key or name of the attribute. /// - [Description("Key or name of the attribute.")] - [NonNull] - public string? key { get; set; } - + [Description("Key or name of the attribute.")] + [NonNull] + public string? key { get; set; } + /// ///Value of the attribute. /// - [Description("Value of the attribute.")] - [NonNull] - public string? value { get; set; } - } - + [Description("Value of the attribute.")] + [NonNull] + public string? value { get; set; } + } + /// ///Specifies the ///[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters) ///that are associated with a related marketing campaign. /// - [Description("Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign.")] - public class UTMInput : GraphQLObject - { + [Description("Specifies the\n[Urchin Traffic Module (UTM) parameters](https://en.wikipedia.org/wiki/UTM_parameters)\nthat are associated with a related marketing campaign.")] + public class UTMInput : GraphQLObject + { /// ///The name of the UTM campaign. /// - [Description("The name of the UTM campaign.")] - [NonNull] - public string? campaign { get; set; } - + [Description("The name of the UTM campaign.")] + [NonNull] + public string? campaign { get; set; } + /// ///The name of the website or application where the referral link exists. /// - [Description("The name of the website or application where the referral link exists.")] - [NonNull] - public string? source { get; set; } - + [Description("The name of the website or application where the referral link exists.")] + [NonNull] + public string? source { get; set; } + /// ///The UTM campaign medium. /// - [Description("The UTM campaign medium.")] - [NonNull] - public string? medium { get; set; } - } - + [Description("The UTM campaign medium.")] + [NonNull] + public string? medium { get; set; } + } + /// ///Represents a set of UTM parameters. /// - [Description("Represents a set of UTM parameters.")] - public class UTMParameters : GraphQLObject - { + [Description("Represents a set of UTM parameters.")] + public class UTMParameters : GraphQLObject + { /// ///The name of a marketing campaign. /// - [Description("The name of a marketing campaign.")] - public string? campaign { get; set; } - + [Description("The name of a marketing campaign.")] + public string? campaign { get; set; } + /// ///Identifies specific content in a marketing campaign. Used to differentiate between similar content or links in a marketing campaign to determine which is the most effective. /// - [Description("Identifies specific content in a marketing campaign. Used to differentiate between similar content or links in a marketing campaign to determine which is the most effective.")] - public string? content { get; set; } - + [Description("Identifies specific content in a marketing campaign. Used to differentiate between similar content or links in a marketing campaign to determine which is the most effective.")] + public string? content { get; set; } + /// ///The medium of a marketing campaign, such as a banner or email newsletter. /// - [Description("The medium of a marketing campaign, such as a banner or email newsletter.")] - public string? medium { get; set; } - + [Description("The medium of a marketing campaign, such as a banner or email newsletter.")] + public string? medium { get; set; } + /// ///The source of traffic to the merchant's store, such as Google or an email newsletter. /// - [Description("The source of traffic to the merchant's store, such as Google or an email newsletter.")] - public string? source { get; set; } - + [Description("The source of traffic to the merchant's store, such as Google or an email newsletter.")] + public string? source { get; set; } + /// ///Paid search terms used by a marketing campaign. /// - [Description("Paid search terms used by a marketing campaign.")] - public string? term { get; set; } - } - + [Description("Paid search terms used by a marketing campaign.")] + public string? term { get; set; } + } + /// ///The input fields that identify a unique valued metafield. /// - [Description("The input fields that identify a unique valued metafield.")] - public class UniqueMetafieldValueInput : GraphQLObject - { + [Description("The input fields that identify a unique valued metafield.")] + public class UniqueMetafieldValueInput : GraphQLObject + { /// ///The container the metafield belongs to. If omitted, the app-reserved namespace will be used. /// - [Description("The container the metafield belongs to. If omitted, the app-reserved namespace will be used.")] - public string? @namespace { get; set; } - + [Description("The container the metafield belongs to. If omitted, the app-reserved namespace will be used.")] + public string? @namespace { get; set; } + /// ///The key for the metafield. /// - [Description("The key for the metafield.")] - [NonNull] - public string? key { get; set; } - + [Description("The key for the metafield.")] + [NonNull] + public string? key { get; set; } + /// ///The value of the metafield. /// - [Description("The value of the metafield.")] - [NonNull] - public string? value { get; set; } - } - + [Description("The value of the metafield.")] + [NonNull] + public string? value { get; set; } + } + /// ///The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml). /// - [Description("The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).")] - public class UnitPriceMeasurement : GraphQLObject - { + [Description("The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).")] + public class UnitPriceMeasurement : GraphQLObject + { /// ///The type of unit of measurement for the unit price measurement. /// - [Description("The type of unit of measurement for the unit price measurement.")] - [EnumType(typeof(UnitPriceMeasurementMeasuredType))] - public string? measuredType { get; set; } - + [Description("The type of unit of measurement for the unit price measurement.")] + [EnumType(typeof(UnitPriceMeasurementMeasuredType))] + public string? measuredType { get; set; } + /// ///The quantity unit for the unit price measurement. /// - [Description("The quantity unit for the unit price measurement.")] - [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] - public string? quantityUnit { get; set; } - + [Description("The quantity unit for the unit price measurement.")] + [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] + public string? quantityUnit { get; set; } + /// ///The quantity value for the unit price measurement. /// - [Description("The quantity value for the unit price measurement.")] - [NonNull] - public decimal? quantityValue { get; set; } - + [Description("The quantity value for the unit price measurement.")] + [NonNull] + public decimal? quantityValue { get; set; } + /// ///The reference unit for the unit price measurement. /// - [Description("The reference unit for the unit price measurement.")] - [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] - public string? referenceUnit { get; set; } - + [Description("The reference unit for the unit price measurement.")] + [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] + public string? referenceUnit { get; set; } + /// ///The reference value for the unit price measurement. /// - [Description("The reference value for the unit price measurement.")] - [NonNull] - public int? referenceValue { get; set; } - } - + [Description("The reference value for the unit price measurement.")] + [NonNull] + public int? referenceValue { get; set; } + } + /// ///The input fields for the measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml). /// - [Description("The input fields for the measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).")] - public class UnitPriceMeasurementInput : GraphQLObject - { + [Description("The input fields for the measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).")] + public class UnitPriceMeasurementInput : GraphQLObject + { /// ///The quantity value for the unit price measurement. /// - [Description("The quantity value for the unit price measurement.")] - public decimal? quantityValue { get; set; } - + [Description("The quantity value for the unit price measurement.")] + public decimal? quantityValue { get; set; } + /// ///The quantity unit for the unit price measurement. /// - [Description("The quantity unit for the unit price measurement.")] - [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] - public string? quantityUnit { get; set; } - + [Description("The quantity unit for the unit price measurement.")] + [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] + public string? quantityUnit { get; set; } + /// ///The reference value for the unit price measurement. /// - [Description("The reference value for the unit price measurement.")] - public int? referenceValue { get; set; } - + [Description("The reference value for the unit price measurement.")] + public int? referenceValue { get; set; } + /// ///The reference unit for the unit price measurement. /// - [Description("The reference unit for the unit price measurement.")] - [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] - public string? referenceUnit { get; set; } - } - + [Description("The reference unit for the unit price measurement.")] + [EnumType(typeof(UnitPriceMeasurementMeasuredUnit))] + public string? referenceUnit { get; set; } + } + /// ///The accepted types of unit of measurement. /// - [Description("The accepted types of unit of measurement.")] - public enum UnitPriceMeasurementMeasuredType - { + [Description("The accepted types of unit of measurement.")] + public enum UnitPriceMeasurementMeasuredType + { /// ///Unit of measurements representing volumes. /// - [Description("Unit of measurements representing volumes.")] - VOLUME, + [Description("Unit of measurements representing volumes.")] + VOLUME, /// ///Unit of measurements representing weights. /// - [Description("Unit of measurements representing weights.")] - WEIGHT, + [Description("Unit of measurements representing weights.")] + WEIGHT, /// ///Unit of measurements representing lengths. /// - [Description("Unit of measurements representing lengths.")] - LENGTH, + [Description("Unit of measurements representing lengths.")] + LENGTH, /// ///Unit of measurements representing areas. /// - [Description("Unit of measurements representing areas.")] - AREA, + [Description("Unit of measurements representing areas.")] + AREA, /// ///Unit of measurements representing counts. /// - [Description("Unit of measurements representing counts.")] - COUNT, + [Description("Unit of measurements representing counts.")] + COUNT, /// ///The type of measurement is unknown. Upgrade to the latest version of the API to resolve this type. /// - [Description("The type of measurement is unknown. Upgrade to the latest version of the API to resolve this type.")] - UNKNOWN, - } - - public static class UnitPriceMeasurementMeasuredTypeStringValues - { - public const string VOLUME = @"VOLUME"; - public const string WEIGHT = @"WEIGHT"; - public const string LENGTH = @"LENGTH"; - public const string AREA = @"AREA"; - public const string COUNT = @"COUNT"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("The type of measurement is unknown. Upgrade to the latest version of the API to resolve this type.")] + UNKNOWN, + } + + public static class UnitPriceMeasurementMeasuredTypeStringValues + { + public const string VOLUME = @"VOLUME"; + public const string WEIGHT = @"WEIGHT"; + public const string LENGTH = @"LENGTH"; + public const string AREA = @"AREA"; + public const string COUNT = @"COUNT"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///The valid units of measurement for a unit price measurement. /// - [Description("The valid units of measurement for a unit price measurement.")] - public enum UnitPriceMeasurementMeasuredUnit - { + [Description("The valid units of measurement for a unit price measurement.")] + public enum UnitPriceMeasurementMeasuredUnit + { /// ///1000 milliliters equals 1 liter. /// - [Description("1000 milliliters equals 1 liter.")] - ML, + [Description("1000 milliliters equals 1 liter.")] + ML, /// ///100 centiliters equals 1 liter. /// - [Description("100 centiliters equals 1 liter.")] - CL, + [Description("100 centiliters equals 1 liter.")] + CL, /// ///Metric system unit of volume. /// - [Description("Metric system unit of volume.")] - L, + [Description("Metric system unit of volume.")] + L, /// ///1 cubic meter equals 1000 liters. /// - [Description("1 cubic meter equals 1000 liters.")] - M3, + [Description("1 cubic meter equals 1000 liters.")] + M3, /// ///Imperial system unit of volume (U.S. customary unit). /// - [Description("Imperial system unit of volume (U.S. customary unit).")] - FLOZ, + [Description("Imperial system unit of volume (U.S. customary unit).")] + FLOZ, /// ///1 pint equals 16 fluid ounces (U.S. customary unit). /// - [Description("1 pint equals 16 fluid ounces (U.S. customary unit).")] - PT, + [Description("1 pint equals 16 fluid ounces (U.S. customary unit).")] + PT, /// ///1 quart equals 32 fluid ounces (U.S. customary unit). /// - [Description("1 quart equals 32 fluid ounces (U.S. customary unit).")] - QT, + [Description("1 quart equals 32 fluid ounces (U.S. customary unit).")] + QT, /// ///1 gallon equals 128 fluid ounces (U.S. customary unit). /// - [Description("1 gallon equals 128 fluid ounces (U.S. customary unit).")] - GAL, + [Description("1 gallon equals 128 fluid ounces (U.S. customary unit).")] + GAL, /// ///1000 milligrams equals 1 gram. /// - [Description("1000 milligrams equals 1 gram.")] - MG, + [Description("1000 milligrams equals 1 gram.")] + MG, /// ///Metric system unit of weight. /// - [Description("Metric system unit of weight.")] - G, + [Description("Metric system unit of weight.")] + G, /// ///1 kilogram equals 1000 grams. /// - [Description("1 kilogram equals 1000 grams.")] - KG, + [Description("1 kilogram equals 1000 grams.")] + KG, /// ///16 ounces equals 1 pound. /// - [Description("16 ounces equals 1 pound.")] - OZ, + [Description("16 ounces equals 1 pound.")] + OZ, /// ///Imperial system unit of weight. /// - [Description("Imperial system unit of weight.")] - LB, + [Description("Imperial system unit of weight.")] + LB, /// ///1000 millimeters equals 1 meter. /// - [Description("1000 millimeters equals 1 meter.")] - MM, + [Description("1000 millimeters equals 1 meter.")] + MM, /// ///100 centimeters equals 1 meter. /// - [Description("100 centimeters equals 1 meter.")] - CM, + [Description("100 centimeters equals 1 meter.")] + CM, /// ///Metric system unit of length. /// - [Description("Metric system unit of length.")] - M, + [Description("Metric system unit of length.")] + M, /// ///Imperial system unit of length. /// - [Description("Imperial system unit of length.")] - IN, + [Description("Imperial system unit of length.")] + IN, /// ///1 foot equals 12 inches. /// - [Description("1 foot equals 12 inches.")] - FT, + [Description("1 foot equals 12 inches.")] + FT, /// ///1 yard equals 36 inches. /// - [Description("1 yard equals 36 inches.")] - YD, + [Description("1 yard equals 36 inches.")] + YD, /// ///Metric system unit of area. /// - [Description("Metric system unit of area.")] - M2, + [Description("Metric system unit of area.")] + M2, /// ///Imperial system unit of area. /// - [Description("Imperial system unit of area.")] - FT2, + [Description("Imperial system unit of area.")] + FT2, /// ///1 item, a unit of count. /// - [Description("1 item, a unit of count.")] - ITEM, + [Description("1 item, a unit of count.")] + ITEM, /// ///The unit of measurement is unknown. Upgrade to the latest version of the API to resolve this unit. /// - [Description("The unit of measurement is unknown. Upgrade to the latest version of the API to resolve this unit.")] - UNKNOWN, - } - - public static class UnitPriceMeasurementMeasuredUnitStringValues - { - public const string ML = @"ML"; - public const string CL = @"CL"; - public const string L = @"L"; - public const string M3 = @"M3"; - public const string FLOZ = @"FLOZ"; - public const string PT = @"PT"; - public const string QT = @"QT"; - public const string GAL = @"GAL"; - public const string MG = @"MG"; - public const string G = @"G"; - public const string KG = @"KG"; - public const string OZ = @"OZ"; - public const string LB = @"LB"; - public const string MM = @"MM"; - public const string CM = @"CM"; - public const string M = @"M"; - public const string IN = @"IN"; - public const string FT = @"FT"; - public const string YD = @"YD"; - public const string M2 = @"M2"; - public const string FT2 = @"FT2"; - public const string ITEM = @"ITEM"; - public const string UNKNOWN = @"UNKNOWN"; - } - + [Description("The unit of measurement is unknown. Upgrade to the latest version of the API to resolve this unit.")] + UNKNOWN, + } + + public static class UnitPriceMeasurementMeasuredUnitStringValues + { + public const string ML = @"ML"; + public const string CL = @"CL"; + public const string L = @"L"; + public const string M3 = @"M3"; + public const string FLOZ = @"FLOZ"; + public const string PT = @"PT"; + public const string QT = @"QT"; + public const string GAL = @"GAL"; + public const string MG = @"MG"; + public const string G = @"G"; + public const string KG = @"KG"; + public const string OZ = @"OZ"; + public const string LB = @"LB"; + public const string MM = @"MM"; + public const string CM = @"CM"; + public const string M = @"M"; + public const string IN = @"IN"; + public const string FT = @"FT"; + public const string YD = @"YD"; + public const string M2 = @"M2"; + public const string FT2 = @"FT2"; + public const string ITEM = @"ITEM"; + public const string UNKNOWN = @"UNKNOWN"; + } + /// ///Systems of weights and measures. /// - [Description("Systems of weights and measures.")] - public enum UnitSystem - { + [Description("Systems of weights and measures.")] + public enum UnitSystem + { /// ///Imperial system of weights and measures. /// - [Description("Imperial system of weights and measures.")] - IMPERIAL_SYSTEM, + [Description("Imperial system of weights and measures.")] + IMPERIAL_SYSTEM, /// ///Metric system of weights and measures. /// - [Description("Metric system of weights and measures.")] - METRIC_SYSTEM, - } - - public static class UnitSystemStringValues - { - public const string IMPERIAL_SYSTEM = @"IMPERIAL_SYSTEM"; - public const string METRIC_SYSTEM = @"METRIC_SYSTEM"; - } - + [Description("Metric system of weights and measures.")] + METRIC_SYSTEM, + } + + public static class UnitSystemStringValues + { + public const string IMPERIAL_SYSTEM = @"IMPERIAL_SYSTEM"; + public const string METRIC_SYSTEM = @"METRIC_SYSTEM"; + } + /// ///This is represents new sale types that have been added in future API versions. You may update to a more recent API version to receive additional details about this sale. /// - [Description("This is represents new sale types that have been added in future API versions. You may update to a more recent API version to receive additional details about this sale.")] - public class UnknownSale : GraphQLObject, ISale - { + [Description("This is represents new sale types that have been added in future API versions. You may update to a more recent API version to receive additional details about this sale.")] + public class UnknownSale : GraphQLObject, ISale + { /// ///The type of order action that the sale represents. /// - [Description("The type of order action that the sale represents.")] - [NonNull] - [EnumType(typeof(SaleActionType))] - public string? actionType { get; set; } - + [Description("The type of order action that the sale represents.")] + [NonNull] + [EnumType(typeof(SaleActionType))] + public string? actionType { get; set; } + /// ///The unique ID for the sale. /// - [Description("The unique ID for the sale.")] - [NonNull] - public string? id { get; set; } - + [Description("The unique ID for the sale.")] + [NonNull] + public string? id { get; set; } + /// ///The line type assocated with the sale. /// - [Description("The line type assocated with the sale.")] - [NonNull] - [EnumType(typeof(SaleLineType))] - public string? lineType { get; set; } - + [Description("The line type assocated with the sale.")] + [NonNull] + [EnumType(typeof(SaleLineType))] + public string? lineType { get; set; } + /// ///The number of units either ordered or intended to be returned. /// - [Description("The number of units either ordered or intended to be returned.")] - public int? quantity { get; set; } - + [Description("The number of units either ordered or intended to be returned.")] + public int? quantity { get; set; } + /// ///All individual taxes associated with the sale. /// - [Description("All individual taxes associated with the sale.")] - [NonNull] - public IEnumerable? taxes { get; set; } - + [Description("All individual taxes associated with the sale.")] + [NonNull] + public IEnumerable? taxes { get; set; } + /// ///The total sale amount after taxes and discounts. /// - [Description("The total sale amount after taxes and discounts.")] - [NonNull] - public MoneyBag? totalAmount { get; set; } - + [Description("The total sale amount after taxes and discounts.")] + [NonNull] + public MoneyBag? totalAmount { get; set; } + /// ///The total discounts allocated to the sale after taxes. /// - [Description("The total discounts allocated to the sale after taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } - + [Description("The total discounts allocated to the sale after taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountAfterTaxes { get; set; } + /// ///The total discounts allocated to the sale before taxes. /// - [Description("The total discounts allocated to the sale before taxes.")] - [NonNull] - public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } - + [Description("The total discounts allocated to the sale before taxes.")] + [NonNull] + public MoneyBag? totalDiscountAmountBeforeTaxes { get; set; } + /// ///The total amount of taxes for the sale. /// - [Description("The total amount of taxes for the sale.")] - [NonNull] - public MoneyBag? totalTaxAmount { get; set; } - } - + [Description("The total amount of taxes for the sale.")] + [NonNull] + public MoneyBag? totalTaxAmount { get; set; } + } + /// ///An unverified return line item. /// - [Description("An unverified return line item.")] - public class UnverifiedReturnLineItem : GraphQLObject, INode, IReturnLineItemType - { + [Description("An unverified return line item.")] + public class UnverifiedReturnLineItem : GraphQLObject, INode, IReturnLineItemType + { /// ///A note from the customer that describes the item to be returned. Maximum length: 300 characters. /// - [Description("A note from the customer that describes the item to be returned. Maximum length: 300 characters.")] - public string? customerNote { get; set; } - + [Description("A note from the customer that describes the item to be returned. Maximum length: 300 characters.")] + public string? customerNote { get; set; } + /// ///A globally-unique ID. /// - [Description("A globally-unique ID.")] - [NonNull] - public string? id { get; set; } - + [Description("A globally-unique ID.")] + [NonNull] + public string? id { get; set; } + /// ///The quantity that can be processed. /// - [Description("The quantity that can be processed.")] - [NonNull] - public int? processableQuantity { get; set; } - + [Description("The quantity that can be processed.")] + [NonNull] + public int? processableQuantity { get; set; } + /// ///The quantity that has been processed. /// - [Description("The quantity that has been processed.")] - [NonNull] - public int? processedQuantity { get; set; } - + [Description("The quantity that has been processed.")] + [NonNull] + public int? processedQuantity { get; set; } + /// ///The quantity being returned. /// - [Description("The quantity being returned.")] - [NonNull] - public int? quantity { get; set; } - + [Description("The quantity being returned.")] + [NonNull] + public int? quantity { get; set; } + /// ///The quantity that can be refunded. /// - [Description("The quantity that can be refunded.")] - [NonNull] - public int? refundableQuantity { get; set; } - + [Description("The quantity that can be refunded.")] + [NonNull] + public int? refundableQuantity { get; set; } + /// ///The quantity that was refunded. /// - [Description("The quantity that was refunded.")] - [NonNull] - public int? refundedQuantity { get; set; } - + [Description("The quantity that was refunded.")] + [NonNull] + public int? refundedQuantity { get; set; } + /// ///The reason for returning the item. /// - [Description("The reason for returning the item.")] - [Obsolete("Use `returnReasonDefinition` instead. This field will be removed in the future.")] - [NonNull] - [EnumType(typeof(ReturnReason))] - public string? returnReason { get; set; } - + [Description("The reason for returning the item.")] + [Obsolete("Use `returnReasonDefinition` instead. This field will be removed in the future.")] + [NonNull] + [EnumType(typeof(ReturnReason))] + public string? returnReason { get; set; } + /// ///Additional information about the reason for the return. Maximum length: 255 characters. /// - [Description("Additional information about the reason for the return. Maximum length: 255 characters.")] - [NonNull] - public string? returnReasonNote { get; set; } - + [Description("Additional information about the reason for the return. Maximum length: 255 characters.")] + [NonNull] + public string? returnReasonNote { get; set; } + /// ///The total price of the unverified return line item. /// - [Description("The total price of the unverified return line item.")] - [NonNull] - public MoneyV2? totalPrice { get; set; } - + [Description("The total price of the unverified return line item.")] + [NonNull] + public MoneyV2? totalPrice { get; set; } + /// ///The unit price of the unverified return line item. /// - [Description("The unit price of the unverified return line item.")] - [NonNull] - public MoneyV2? unitPrice { get; set; } - + [Description("The unit price of the unverified return line item.")] + [NonNull] + public MoneyV2? unitPrice { get; set; } + /// ///The quantity that has't been processed. /// - [Description("The quantity that has't been processed.")] - [NonNull] - public int? unprocessedQuantity { get; set; } - } - + [Description("The quantity that has't been processed.")] + [NonNull] + public int? unprocessedQuantity { get; set; } + } + /// ///The input fields required to update a media object. /// - [Description("The input fields required to update a media object.")] - public class UpdateMediaInput : GraphQLObject - { + [Description("The input fields required to update a media object.")] + public class UpdateMediaInput : GraphQLObject + { /// ///Specifies the media to update. /// - [Description("Specifies the media to update.")] - [NonNull] - public string? id { get; set; } - + [Description("Specifies the media to update.")] + [NonNull] + public string? id { get; set; } + /// ///The source from which to update the media preview image. May be an external URL or staged upload URL. /// - [Description("The source from which to update the media preview image. May be an external URL or staged upload URL.")] - public string? previewImageSource { get; set; } - + [Description("The source from which to update the media preview image. May be an external URL or staged upload URL.")] + public string? previewImageSource { get; set; } + /// ///The alt text associated to the media. /// - [Description("The alt text associated to the media.")] - public string? alt { get; set; } - } - + [Description("The alt text associated to the media.")] + public string? alt { get; set; } + } + /// ///The URL redirect for the online store. /// - [Description("The URL redirect for the online store.")] - public class UrlRedirect : GraphQLObject, INode - { + [Description("The URL redirect for the online store.")] + public class UrlRedirect : GraphQLObject, INode + { /// ///The ID of the URL redirect. /// - [Description("The ID of the URL redirect.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the URL redirect.")] + [NonNull] + public string? id { get; set; } + /// ///The old path to be redirected from. When the user visits this path, they will be redirected to the target location. /// - [Description("The old path to be redirected from. When the user visits this path, they will be redirected to the target location.")] - [NonNull] - public string? path { get; set; } - + [Description("The old path to be redirected from. When the user visits this path, they will be redirected to the target location.")] + [NonNull] + public string? path { get; set; } + /// ///The target location where the user will be redirected to. /// - [Description("The target location where the user will be redirected to.")] - [NonNull] - public string? target { get; set; } - } - + [Description("The target location where the user will be redirected to.")] + [NonNull] + public string? target { get; set; } + } + /// ///Return type for `urlRedirectBulkDeleteAll` mutation. /// - [Description("Return type for `urlRedirectBulkDeleteAll` mutation.")] - public class UrlRedirectBulkDeleteAllPayload : GraphQLObject - { + [Description("Return type for `urlRedirectBulkDeleteAll` mutation.")] + public class UrlRedirectBulkDeleteAllPayload : GraphQLObject + { /// ///The asynchronous job removing the redirects. /// - [Description("The asynchronous job removing the redirects.")] - public Job? job { get; set; } - + [Description("The asynchronous job removing the redirects.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `urlRedirectBulkDeleteByIds` mutation. /// - [Description("Return type for `urlRedirectBulkDeleteByIds` mutation.")] - public class UrlRedirectBulkDeleteByIdsPayload : GraphQLObject - { + [Description("Return type for `urlRedirectBulkDeleteByIds` mutation.")] + public class UrlRedirectBulkDeleteByIdsPayload : GraphQLObject + { /// ///The asynchronous job removing the redirects. /// - [Description("The asynchronous job removing the redirects.")] - public Job? job { get; set; } - + [Description("The asynchronous job removing the redirects.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `UrlRedirectBulkDeleteByIds`. /// - [Description("An error that occurs during the execution of `UrlRedirectBulkDeleteByIds`.")] - public class UrlRedirectBulkDeleteByIdsUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `UrlRedirectBulkDeleteByIds`.")] + public class UrlRedirectBulkDeleteByIdsUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(UrlRedirectBulkDeleteByIdsUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(UrlRedirectBulkDeleteByIdsUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `UrlRedirectBulkDeleteByIdsUserError`. /// - [Description("Possible error codes that can be returned by `UrlRedirectBulkDeleteByIdsUserError`.")] - public enum UrlRedirectBulkDeleteByIdsUserErrorCode - { + [Description("Possible error codes that can be returned by `UrlRedirectBulkDeleteByIdsUserError`.")] + public enum UrlRedirectBulkDeleteByIdsUserErrorCode + { /// ///You must pass one or more [`URLRedirect`]( /// https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect /// ) object IDs. /// - [Description("You must pass one or more [`URLRedirect`](\n https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect\n ) object IDs.")] - IDS_EMPTY, - } - - public static class UrlRedirectBulkDeleteByIdsUserErrorCodeStringValues - { - public const string IDS_EMPTY = @"IDS_EMPTY"; - } - + [Description("You must pass one or more [`URLRedirect`](\n https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect\n ) object IDs.")] + IDS_EMPTY, + } + + public static class UrlRedirectBulkDeleteByIdsUserErrorCodeStringValues + { + public const string IDS_EMPTY = @"IDS_EMPTY"; + } + /// ///Return type for `urlRedirectBulkDeleteBySavedSearch` mutation. /// - [Description("Return type for `urlRedirectBulkDeleteBySavedSearch` mutation.")] - public class UrlRedirectBulkDeleteBySavedSearchPayload : GraphQLObject - { + [Description("Return type for `urlRedirectBulkDeleteBySavedSearch` mutation.")] + public class UrlRedirectBulkDeleteBySavedSearchPayload : GraphQLObject + { /// ///The asynchronous job removing the redirects. /// - [Description("The asynchronous job removing the redirects.")] - public Job? job { get; set; } - + [Description("The asynchronous job removing the redirects.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `UrlRedirectBulkDeleteBySavedSearch`. /// - [Description("An error that occurs during the execution of `UrlRedirectBulkDeleteBySavedSearch`.")] - public class UrlRedirectBulkDeleteBySavedSearchUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `UrlRedirectBulkDeleteBySavedSearch`.")] + public class UrlRedirectBulkDeleteBySavedSearchUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(UrlRedirectBulkDeleteBySavedSearchUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(UrlRedirectBulkDeleteBySavedSearchUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `UrlRedirectBulkDeleteBySavedSearchUserError`. /// - [Description("Possible error codes that can be returned by `UrlRedirectBulkDeleteBySavedSearchUserError`.")] - public enum UrlRedirectBulkDeleteBySavedSearchUserErrorCode - { + [Description("Possible error codes that can be returned by `UrlRedirectBulkDeleteBySavedSearchUserError`.")] + public enum UrlRedirectBulkDeleteBySavedSearchUserErrorCode + { /// ///Saved search not found. /// - [Description("Saved search not found.")] - SAVED_SEARCH_NOT_FOUND, + [Description("Saved search not found.")] + SAVED_SEARCH_NOT_FOUND, /// ///The saved search's query cannot match all entries or be empty. /// - [Description("The saved search's query cannot match all entries or be empty.")] - INVALID_SAVED_SEARCH_QUERY, - } - - public static class UrlRedirectBulkDeleteBySavedSearchUserErrorCodeStringValues - { - public const string SAVED_SEARCH_NOT_FOUND = @"SAVED_SEARCH_NOT_FOUND"; - public const string INVALID_SAVED_SEARCH_QUERY = @"INVALID_SAVED_SEARCH_QUERY"; - } - + [Description("The saved search's query cannot match all entries or be empty.")] + INVALID_SAVED_SEARCH_QUERY, + } + + public static class UrlRedirectBulkDeleteBySavedSearchUserErrorCodeStringValues + { + public const string SAVED_SEARCH_NOT_FOUND = @"SAVED_SEARCH_NOT_FOUND"; + public const string INVALID_SAVED_SEARCH_QUERY = @"INVALID_SAVED_SEARCH_QUERY"; + } + /// ///Return type for `urlRedirectBulkDeleteBySearch` mutation. /// - [Description("Return type for `urlRedirectBulkDeleteBySearch` mutation.")] - public class UrlRedirectBulkDeleteBySearchPayload : GraphQLObject - { + [Description("Return type for `urlRedirectBulkDeleteBySearch` mutation.")] + public class UrlRedirectBulkDeleteBySearchPayload : GraphQLObject + { /// ///The asynchronous job removing the redirects. /// - [Description("The asynchronous job removing the redirects.")] - public Job? job { get; set; } - + [Description("The asynchronous job removing the redirects.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An error that occurs during the execution of `UrlRedirectBulkDeleteBySearch`. /// - [Description("An error that occurs during the execution of `UrlRedirectBulkDeleteBySearch`.")] - public class UrlRedirectBulkDeleteBySearchUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of `UrlRedirectBulkDeleteBySearch`.")] + public class UrlRedirectBulkDeleteBySearchUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(UrlRedirectBulkDeleteBySearchUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(UrlRedirectBulkDeleteBySearchUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `UrlRedirectBulkDeleteBySearchUserError`. /// - [Description("Possible error codes that can be returned by `UrlRedirectBulkDeleteBySearchUserError`.")] - public enum UrlRedirectBulkDeleteBySearchUserErrorCode - { + [Description("Possible error codes that can be returned by `UrlRedirectBulkDeleteBySearchUserError`.")] + public enum UrlRedirectBulkDeleteBySearchUserErrorCode + { /// ///Invalid search string. /// - [Description("Invalid search string.")] - INVALID_SEARCH_ARGUMENT, - } - - public static class UrlRedirectBulkDeleteBySearchUserErrorCodeStringValues - { - public const string INVALID_SEARCH_ARGUMENT = @"INVALID_SEARCH_ARGUMENT"; - } - + [Description("Invalid search string.")] + INVALID_SEARCH_ARGUMENT, + } + + public static class UrlRedirectBulkDeleteBySearchUserErrorCodeStringValues + { + public const string INVALID_SEARCH_ARGUMENT = @"INVALID_SEARCH_ARGUMENT"; + } + /// ///An auto-generated type for paginating through multiple UrlRedirects. /// - [Description("An auto-generated type for paginating through multiple UrlRedirects.")] - public class UrlRedirectConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple UrlRedirects.")] + public class UrlRedirectConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in UrlRedirectEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in UrlRedirectEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in UrlRedirectEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///Return type for `urlRedirectCreate` mutation. /// - [Description("Return type for `urlRedirectCreate` mutation.")] - public class UrlRedirectCreatePayload : GraphQLObject - { + [Description("Return type for `urlRedirectCreate` mutation.")] + public class UrlRedirectCreatePayload : GraphQLObject + { /// ///The created redirect. /// - [Description("The created redirect.")] - public UrlRedirect? urlRedirect { get; set; } - + [Description("The created redirect.")] + public UrlRedirect? urlRedirect { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Return type for `urlRedirectDelete` mutation. /// - [Description("Return type for `urlRedirectDelete` mutation.")] - public class UrlRedirectDeletePayload : GraphQLObject - { + [Description("Return type for `urlRedirectDelete` mutation.")] + public class UrlRedirectDeletePayload : GraphQLObject + { /// ///The ID of the deleted redirect. /// - [Description("The ID of the deleted redirect.")] - public string? deletedUrlRedirectId { get; set; } - + [Description("The ID of the deleted redirect.")] + public string? deletedUrlRedirectId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one UrlRedirect and a cursor during pagination. /// - [Description("An auto-generated type which holds one UrlRedirect and a cursor during pagination.")] - public class UrlRedirectEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one UrlRedirect and a cursor during pagination.")] + public class UrlRedirectEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of UrlRedirectEdge. /// - [Description("The item at the end of UrlRedirectEdge.")] - [NonNull] - public UrlRedirect? node { get; set; } - } - + [Description("The item at the end of UrlRedirectEdge.")] + [NonNull] + public UrlRedirect? node { get; set; } + } + /// ///Possible error codes that can be returned by `UrlRedirectUserError`. /// - [Description("Possible error codes that can be returned by `UrlRedirectUserError`.")] - public enum UrlRedirectErrorCode - { + [Description("Possible error codes that can be returned by `UrlRedirectUserError`.")] + public enum UrlRedirectErrorCode + { /// ///Redirect does not exist. /// - [Description("Redirect does not exist.")] - DOES_NOT_EXIST, + [Description("Redirect does not exist.")] + DOES_NOT_EXIST, /// ///Redirect could not be created. /// - [Description("Redirect could not be created.")] - CREATE_FAILED, + [Description("Redirect could not be created.")] + CREATE_FAILED, /// ///Redirect could not be updated. /// - [Description("Redirect could not be updated.")] - UPDATE_FAILED, + [Description("Redirect could not be updated.")] + UPDATE_FAILED, /// ///Redirect could not be deleted. /// - [Description("Redirect could not be deleted.")] - DELETE_FAILED, - } - - public static class UrlRedirectErrorCodeStringValues - { - public const string DOES_NOT_EXIST = @"DOES_NOT_EXIST"; - public const string CREATE_FAILED = @"CREATE_FAILED"; - public const string UPDATE_FAILED = @"UPDATE_FAILED"; - public const string DELETE_FAILED = @"DELETE_FAILED"; - } - + [Description("Redirect could not be deleted.")] + DELETE_FAILED, + } + + public static class UrlRedirectErrorCodeStringValues + { + public const string DOES_NOT_EXIST = @"DOES_NOT_EXIST"; + public const string CREATE_FAILED = @"CREATE_FAILED"; + public const string UPDATE_FAILED = @"UPDATE_FAILED"; + public const string DELETE_FAILED = @"DELETE_FAILED"; + } + /// ///A request to import a [`URLRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object ///into the Online Store channel. Apps can use this to query the state of an `UrlRedirectImport` request. /// ///For more information, see [`url-redirect`](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect)s. /// - [Description("A request to import a [`URLRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object\ninto the Online Store channel. Apps can use this to query the state of an `UrlRedirectImport` request.\n\nFor more information, see [`url-redirect`](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect)s.")] - public class UrlRedirectImport : GraphQLObject, INode - { + [Description("A request to import a [`URLRedirect`](https://shopify.dev/api/admin-graphql/latest/objects/UrlRedirect) object\ninto the Online Store channel. Apps can use this to query the state of an `UrlRedirectImport` request.\n\nFor more information, see [`url-redirect`](https://help.shopify.com/en/manual/online-store/menus-and-links/url-redirect)s.")] + public class UrlRedirectImport : GraphQLObject, INode + { /// ///The number of rows in the file. /// - [Description("The number of rows in the file.")] - public int? count { get; set; } - + [Description("The number of rows in the file.")] + public int? count { get; set; } + /// ///The number of redirects created from the import. /// - [Description("The number of redirects created from the import.")] - public int? createdCount { get; set; } - + [Description("The number of redirects created from the import.")] + public int? createdCount { get; set; } + /// ///The number of redirects that failed to be imported. /// - [Description("The number of redirects that failed to be imported.")] - public int? failedCount { get; set; } - + [Description("The number of redirects that failed to be imported.")] + public int? failedCount { get; set; } + /// ///Whether the import is finished. /// - [Description("Whether the import is finished.")] - [NonNull] - public bool? finished { get; set; } - + [Description("Whether the import is finished.")] + [NonNull] + public bool? finished { get; set; } + /// ///The date and time when the import finished. /// - [Description("The date and time when the import finished.")] - public DateTime? finishedAt { get; set; } - + [Description("The date and time when the import finished.")] + public DateTime? finishedAt { get; set; } + /// ///The ID of the `UrlRedirectImport` object. /// - [Description("The ID of the `UrlRedirectImport` object.")] - [NonNull] - public string? id { get; set; } - + [Description("The ID of the `UrlRedirectImport` object.")] + [NonNull] + public string? id { get; set; } + /// ///A list of up to three previews of the URL redirects to be imported. /// - [Description("A list of up to three previews of the URL redirects to be imported.")] - [NonNull] - public IEnumerable? previewRedirects { get; set; } - + [Description("A list of up to three previews of the URL redirects to be imported.")] + [NonNull] + public IEnumerable? previewRedirects { get; set; } + /// ///The number of redirects updated during the import. /// - [Description("The number of redirects updated during the import.")] - public int? updatedCount { get; set; } - } - + [Description("The number of redirects updated during the import.")] + public int? updatedCount { get; set; } + } + /// ///Return type for `urlRedirectImportCreate` mutation. /// - [Description("Return type for `urlRedirectImportCreate` mutation.")] - public class UrlRedirectImportCreatePayload : GraphQLObject - { + [Description("Return type for `urlRedirectImportCreate` mutation.")] + public class UrlRedirectImportCreatePayload : GraphQLObject + { /// ///The created `URLRedirectImport` object. /// - [Description("The created `URLRedirectImport` object.")] - public UrlRedirectImport? urlRedirectImport { get; set; } - + [Description("The created `URLRedirectImport` object.")] + public UrlRedirectImport? urlRedirectImport { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Possible error codes that can be returned by `UrlRedirectImportUserError`. /// - [Description("Possible error codes that can be returned by `UrlRedirectImportUserError`.")] - public enum UrlRedirectImportErrorCode - { + [Description("Possible error codes that can be returned by `UrlRedirectImportUserError`.")] + public enum UrlRedirectImportErrorCode + { /// ///CSV file does not exist at given URL. /// - [Description("CSV file does not exist at given URL.")] - [Obsolete("This error code is never returned")] - FILE_DOES_NOT_EXIST, + [Description("CSV file does not exist at given URL.")] + [Obsolete("This error code is never returned")] + FILE_DOES_NOT_EXIST, /// ///URL redirect import not found. /// - [Description("URL redirect import not found.")] - NOT_FOUND, + [Description("URL redirect import not found.")] + NOT_FOUND, /// ///The import has already completed. /// - [Description("The import has already completed.")] - ALREADY_IMPORTED, + [Description("The import has already completed.")] + ALREADY_IMPORTED, /// ///The import is already in progress. /// - [Description("The import is already in progress.")] - IN_PROGRESS, - } - - public static class UrlRedirectImportErrorCodeStringValues - { - [Obsolete("This error code is never returned")] - public const string FILE_DOES_NOT_EXIST = @"FILE_DOES_NOT_EXIST"; - public const string NOT_FOUND = @"NOT_FOUND"; - public const string ALREADY_IMPORTED = @"ALREADY_IMPORTED"; - public const string IN_PROGRESS = @"IN_PROGRESS"; - } - + [Description("The import is already in progress.")] + IN_PROGRESS, + } + + public static class UrlRedirectImportErrorCodeStringValues + { + [Obsolete("This error code is never returned")] + public const string FILE_DOES_NOT_EXIST = @"FILE_DOES_NOT_EXIST"; + public const string NOT_FOUND = @"NOT_FOUND"; + public const string ALREADY_IMPORTED = @"ALREADY_IMPORTED"; + public const string IN_PROGRESS = @"IN_PROGRESS"; + } + /// ///A preview of a URL redirect import row. /// - [Description("A preview of a URL redirect import row.")] - public class UrlRedirectImportPreview : GraphQLObject - { + [Description("A preview of a URL redirect import row.")] + public class UrlRedirectImportPreview : GraphQLObject + { /// ///The old path to be redirected from. When the user visits this path, they will be redirected to the target location. /// - [Description("The old path to be redirected from. When the user visits this path, they will be redirected to the target location.")] - [NonNull] - public string? path { get; set; } - + [Description("The old path to be redirected from. When the user visits this path, they will be redirected to the target location.")] + [NonNull] + public string? path { get; set; } + /// ///The target location where the user will be redirected to. /// - [Description("The target location where the user will be redirected to.")] - [NonNull] - public string? target { get; set; } - } - + [Description("The target location where the user will be redirected to.")] + [NonNull] + public string? target { get; set; } + } + /// ///Return type for `urlRedirectImportSubmit` mutation. /// - [Description("Return type for `urlRedirectImportSubmit` mutation.")] - public class UrlRedirectImportSubmitPayload : GraphQLObject - { + [Description("Return type for `urlRedirectImportSubmit` mutation.")] + public class UrlRedirectImportSubmitPayload : GraphQLObject + { /// ///The asynchronous job importing the redirects. /// - [Description("The asynchronous job importing the redirects.")] - public Job? job { get; set; } - + [Description("The asynchronous job importing the redirects.")] + public Job? job { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents an error that happens during execution of a redirect import mutation. /// - [Description("Represents an error that happens during execution of a redirect import mutation.")] - public class UrlRedirectImportUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during execution of a redirect import mutation.")] + public class UrlRedirectImportUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(UrlRedirectImportErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(UrlRedirectImportErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///The input fields to create or update a URL redirect. /// - [Description("The input fields to create or update a URL redirect.")] - public class UrlRedirectInput : GraphQLObject - { + [Description("The input fields to create or update a URL redirect.")] + public class UrlRedirectInput : GraphQLObject + { /// ///The old path to be redirected from. When the user visits this path, they will be redirected to the target location. /// - [Description("The old path to be redirected from. When the user visits this path, they will be redirected to the target location.")] - public string? path { get; set; } - + [Description("The old path to be redirected from. When the user visits this path, they will be redirected to the target location.")] + public string? path { get; set; } + /// ///The target location where the user will be redirected to. /// - [Description("The target location where the user will be redirected to.")] - public string? target { get; set; } - } - + [Description("The target location where the user will be redirected to.")] + public string? target { get; set; } + } + /// ///The set of valid sort keys for the UrlRedirect query. /// - [Description("The set of valid sort keys for the UrlRedirect query.")] - public enum UrlRedirectSortKeys - { + [Description("The set of valid sort keys for the UrlRedirect query.")] + public enum UrlRedirectSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, + [Description("Sort by the `id` value.")] + ID, /// ///Sort by the `path` value. /// - [Description("Sort by the `path` value.")] - PATH, + [Description("Sort by the `path` value.")] + PATH, /// ///Sort by relevance to the search terms when the `query` parameter is specified on the connection. ///Don't use this sort key when no search query is specified. /// - [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] - RELEVANCE, - } - - public static class UrlRedirectSortKeysStringValues - { - public const string ID = @"ID"; - public const string PATH = @"PATH"; - public const string RELEVANCE = @"RELEVANCE"; - } - + [Description("Sort by relevance to the search terms when the `query` parameter is specified on the connection.\nDon't use this sort key when no search query is specified.")] + RELEVANCE, + } + + public static class UrlRedirectSortKeysStringValues + { + public const string ID = @"ID"; + public const string PATH = @"PATH"; + public const string RELEVANCE = @"RELEVANCE"; + } + /// ///Return type for `urlRedirectUpdate` mutation. /// - [Description("Return type for `urlRedirectUpdate` mutation.")] - public class UrlRedirectUpdatePayload : GraphQLObject - { + [Description("Return type for `urlRedirectUpdate` mutation.")] + public class UrlRedirectUpdatePayload : GraphQLObject + { /// ///Returns the updated URL redirect. /// - [Description("Returns the updated URL redirect.")] - public UrlRedirect? urlRedirect { get; set; } - + [Description("Returns the updated URL redirect.")] + public UrlRedirect? urlRedirect { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///Represents an error that happens during execution of a redirect mutation. /// - [Description("Represents an error that happens during execution of a redirect mutation.")] - public class UrlRedirectUserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error that happens during execution of a redirect mutation.")] + public class UrlRedirectUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(UrlRedirectErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(UrlRedirectErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Represents an error in the input of a mutation. /// - [Description("Represents an error in the input of a mutation.")] - public class UserError : GraphQLObject, IDisplayableError - { + [Description("Represents an error in the input of a mutation.")] + public class UserError : GraphQLObject, IDisplayableError + { /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///A checkout server side validation installed on the shop. /// - [Description("A checkout server side validation installed on the shop.")] - public class Validation : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode - { + [Description("A checkout server side validation installed on the shop.")] + public class Validation : GraphQLObject, IHasMetafieldDefinitions, IHasMetafields, INode + { /// ///Whether the validation should block on failures other than expected violations. /// - [Description("Whether the validation should block on failures other than expected violations.")] - [NonNull] - public bool? blockOnFailure { get; set; } - + [Description("Whether the validation should block on failures other than expected violations.")] + [NonNull] + public bool? blockOnFailure { get; set; } + /// ///Whether the validation is enabled on the merchant checkout. /// - [Description("Whether the validation is enabled on the merchant checkout.")] - [NonNull] - public bool? enabled { get; set; } - + [Description("Whether the validation is enabled on the merchant checkout.")] + [NonNull] + public bool? enabled { get; set; } + /// ///The error history on the most recent version of the validation function. /// - [Description("The error history on the most recent version of the validation function.")] - public FunctionsErrorHistory? errorHistory { get; set; } - + [Description("The error history on the most recent version of the validation function.")] + public FunctionsErrorHistory? errorHistory { get; set; } + /// ///Global ID for the validation. /// - [Description("Global ID for the validation.")] - [NonNull] - public string? id { get; set; } - + [Description("Global ID for the validation.")] + [NonNull] + public string? id { get; set; } + /// ///A [custom field](https://shopify.dev/docs/apps/build/custom-data), ///including its `namespace` and `key`, that's associated with a Shopify resource ///for the purposes of adding and storing additional information. /// - [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] - public Metafield? metafield { get; set; } - + [Description("A [custom field](https://shopify.dev/docs/apps/build/custom-data),\nincluding its `namespace` and `key`, that's associated with a Shopify resource\nfor the purposes of adding and storing additional information.")] + public Metafield? metafield { get; set; } + /// ///List of metafield definitions. /// - [Description("List of metafield definitions.")] - [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] - [NonNull] - public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } - + [Description("List of metafield definitions.")] + [Obsolete("This field will be removed in a future version. Use `QueryRoot.metafieldDefinitions` instead.")] + [NonNull] + public MetafieldDefinitionConnection? metafieldDefinitions { get; set; } + /// ///A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data) ///that a merchant associates with a Shopify resource. /// - [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] - [NonNull] - public MetafieldConnection? metafields { get; set; } - + [Description("A list of [custom fields](https://shopify.dev/docs/apps/build/custom-data)\nthat a merchant associates with a Shopify resource.")] + [NonNull] + public MetafieldConnection? metafields { get; set; } + /// ///The metafields associated with the resource matching the supplied list of namespaces and keys. /// - [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] - [NonNull] - public IEnumerable? metafieldsByIdentifiers { get; set; } - + [Description("The metafields associated with the resource matching the supplied list of namespaces and keys.")] + [NonNull] + public IEnumerable? metafieldsByIdentifiers { get; set; } + /// ///The Shopify Function implementing the validation. /// - [Description("The Shopify Function implementing the validation.")] - [NonNull] - public ShopifyFunction? shopifyFunction { get; set; } - + [Description("The Shopify Function implementing the validation.")] + [NonNull] + public ShopifyFunction? shopifyFunction { get; set; } + /// ///The merchant-facing validation name. /// - [Description("The merchant-facing validation name.")] - [NonNull] - public string? title { get; set; } - } - + [Description("The merchant-facing validation name.")] + [NonNull] + public string? title { get; set; } + } + /// ///An auto-generated type for paginating through multiple Validations. /// - [Description("An auto-generated type for paginating through multiple Validations.")] - public class ValidationConnection : GraphQLObject, IConnectionWithNodesAndEdges - { + [Description("An auto-generated type for paginating through multiple Validations.")] + public class ValidationConnection : GraphQLObject, IConnectionWithNodesAndEdges + { /// ///The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node. /// - [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] - [NonNull] - public IEnumerable? edges { get; set; } - + [Description("The connection between the node and its parent. Each edge contains a minimum of the edge's cursor and the node.")] + [NonNull] + public IEnumerable? edges { get; set; } + /// ///A list of nodes that are contained in ValidationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve. /// - [Description("A list of nodes that are contained in ValidationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] - [NonNull] - public IEnumerable? nodes { get; set; } - + [Description("A list of nodes that are contained in ValidationEdge. You can fetch data about an individual node, or you can follow the edges to fetch data about a collection of related nodes. At each node, you specify the fields that you want to retrieve.")] + [NonNull] + public IEnumerable? nodes { get; set; } + /// ///An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page. /// - [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] - [NonNull] - public PageInfo? pageInfo { get; set; } - } - + [Description("An object that’s used to retrieve [cursor information](https://shopify.dev/api/usage/pagination-graphql) about the current page.")] + [NonNull] + public PageInfo? pageInfo { get; set; } + } + /// ///The input fields required to install a validation. /// - [Description("The input fields required to install a validation.")] - public class ValidationCreateInput : GraphQLObject - { + [Description("The input fields required to install a validation.")] + public class ValidationCreateInput : GraphQLObject + { /// ///The function ID representing the extension to install. /// - [Description("The function ID representing the extension to install.")] - [Obsolete("Use `functionHandle` instead.")] - public string? functionId { get; set; } - + [Description("The function ID representing the extension to install.")] + [Obsolete("Use `functionHandle` instead.")] + public string? functionId { get; set; } + /// ///The function handle representing the extension to install. /// - [Description("The function handle representing the extension to install.")] - public string? functionHandle { get; set; } - + [Description("The function handle representing the extension to install.")] + public string? functionHandle { get; set; } + /// ///Whether the validation should be live on the merchant checkout. /// - [Description("Whether the validation should be live on the merchant checkout.")] - public bool? enable { get; set; } - + [Description("Whether the validation should be live on the merchant checkout.")] + public bool? enable { get; set; } + /// ///Whether the validation should block on failures other than expected violations. /// - [Description("Whether the validation should block on failures other than expected violations.")] - public bool? blockOnFailure { get; set; } - + [Description("Whether the validation should block on failures other than expected violations.")] + public bool? blockOnFailure { get; set; } + /// ///Additional metafields to associate to the validation. /// - [Description("Additional metafields to associate to the validation.")] - public IEnumerable? metafields { get; set; } - + [Description("Additional metafields to associate to the validation.")] + public IEnumerable? metafields { get; set; } + /// ///The title of the validation. /// - [Description("The title of the validation.")] - public string? title { get; set; } - } - + [Description("The title of the validation.")] + public string? title { get; set; } + } + /// ///Return type for `validationCreate` mutation. /// - [Description("Return type for `validationCreate` mutation.")] - public class ValidationCreatePayload : GraphQLObject - { + [Description("Return type for `validationCreate` mutation.")] + public class ValidationCreatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + /// ///The created validation. /// - [Description("The created validation.")] - public Validation? validation { get; set; } - } - + [Description("The created validation.")] + public Validation? validation { get; set; } + } + /// ///Return type for `validationDelete` mutation. /// - [Description("Return type for `validationDelete` mutation.")] - public class ValidationDeletePayload : GraphQLObject - { + [Description("Return type for `validationDelete` mutation.")] + public class ValidationDeletePayload : GraphQLObject + { /// ///Returns the deleted validation ID. /// - [Description("Returns the deleted validation ID.")] - public string? deletedId { get; set; } - + [Description("Returns the deleted validation ID.")] + public string? deletedId { get; set; } + /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + } + /// ///An auto-generated type which holds one Validation and a cursor during pagination. /// - [Description("An auto-generated type which holds one Validation and a cursor during pagination.")] - public class ValidationEdge : GraphQLObject, IEdge - { + [Description("An auto-generated type which holds one Validation and a cursor during pagination.")] + public class ValidationEdge : GraphQLObject, IEdge + { /// ///The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql). /// - [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] - [NonNull] - public string? cursor { get; set; } - + [Description("The position of each node in an array, used in [pagination](https://shopify.dev/api/usage/pagination-graphql).")] + [NonNull] + public string? cursor { get; set; } + /// ///The item at the end of ValidationEdge. /// - [Description("The item at the end of ValidationEdge.")] - [NonNull] - public Validation? node { get; set; } - } - + [Description("The item at the end of ValidationEdge.")] + [NonNull] + public Validation? node { get; set; } + } + /// ///The set of valid sort keys for the Validation query. /// - [Description("The set of valid sort keys for the Validation query.")] - public enum ValidationSortKeys - { + [Description("The set of valid sort keys for the Validation query.")] + public enum ValidationSortKeys + { /// ///Sort by the `id` value. /// - [Description("Sort by the `id` value.")] - ID, - } - - public static class ValidationSortKeysStringValues - { - public const string ID = @"ID"; - } - + [Description("Sort by the `id` value.")] + ID, + } + + public static class ValidationSortKeysStringValues + { + public const string ID = @"ID"; + } + /// ///The input fields required to update a validation. /// - [Description("The input fields required to update a validation.")] - public class ValidationUpdateInput : GraphQLObject - { + [Description("The input fields required to update a validation.")] + public class ValidationUpdateInput : GraphQLObject + { /// ///Whether the validation should be live on the merchant checkout. /// - [Description("Whether the validation should be live on the merchant checkout.")] - public bool? enable { get; set; } - + [Description("Whether the validation should be live on the merchant checkout.")] + public bool? enable { get; set; } + /// ///Whether the validation should block on failures other than expected violations. /// - [Description("Whether the validation should block on failures other than expected violations.")] - public bool? blockOnFailure { get; set; } - + [Description("Whether the validation should block on failures other than expected violations.")] + public bool? blockOnFailure { get; set; } + /// ///Additional metafields to associate to the validation. /// - [Description("Additional metafields to associate to the validation.")] - public IEnumerable? metafields { get; set; } - + [Description("Additional metafields to associate to the validation.")] + public IEnumerable? metafields { get; set; } + /// ///The title of the validation. /// - [Description("The title of the validation.")] - public string? title { get; set; } - } - + [Description("The title of the validation.")] + public string? title { get; set; } + } + /// ///Return type for `validationUpdate` mutation. /// - [Description("Return type for `validationUpdate` mutation.")] - public class ValidationUpdatePayload : GraphQLObject - { + [Description("Return type for `validationUpdate` mutation.")] + public class ValidationUpdatePayload : GraphQLObject + { /// ///The list of errors that occurred from executing the mutation. /// - [Description("The list of errors that occurred from executing the mutation.")] - [NonNull] - public IEnumerable? userErrors { get; set; } - + [Description("The list of errors that occurred from executing the mutation.")] + [NonNull] + public IEnumerable? userErrors { get; set; } + /// ///The updated validation. /// - [Description("The updated validation.")] - public Validation? validation { get; set; } - } - + [Description("The updated validation.")] + public Validation? validation { get; set; } + } + /// ///An error that occurs during the execution of a validation mutation. /// - [Description("An error that occurs during the execution of a validation mutation.")] - public class ValidationUserError : GraphQLObject, IDisplayableError - { + [Description("An error that occurs during the execution of a validation mutation.")] + public class ValidationUserError : GraphQLObject, IDisplayableError + { /// ///The error code. /// - [Description("The error code.")] - [EnumType(typeof(ValidationUserErrorCode))] - public string? code { get; set; } - + [Description("The error code.")] + [EnumType(typeof(ValidationUserErrorCode))] + public string? code { get; set; } + /// ///The path to the input field that caused the error. /// - [Description("The path to the input field that caused the error.")] - public IEnumerable? field { get; set; } - + [Description("The path to the input field that caused the error.")] + public IEnumerable? field { get; set; } + /// ///The error message. /// - [Description("The error message.")] - [NonNull] - public string? message { get; set; } - } - + [Description("The error message.")] + [NonNull] + public string? message { get; set; } + } + /// ///Possible error codes that can be returned by `ValidationUserError`. /// - [Description("Possible error codes that can be returned by `ValidationUserError`.")] - public enum ValidationUserErrorCode - { + [Description("Possible error codes that can be returned by `ValidationUserError`.")] + public enum ValidationUserErrorCode + { /// ///Validation not found. /// - [Description("Validation not found.")] - NOT_FOUND, + [Description("Validation not found.")] + NOT_FOUND, /// ///Function not found. /// - [Description("Function not found.")] - FUNCTION_NOT_FOUND, + [Description("Function not found.")] + FUNCTION_NOT_FOUND, /// ///Shop must be on a Shopify Plus plan to activate functions from a custom app. /// - [Description("Shop must be on a Shopify Plus plan to activate functions from a custom app.")] - CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, + [Description("Shop must be on a Shopify Plus plan to activate functions from a custom app.")] + CUSTOM_APP_FUNCTION_NOT_ELIGIBLE, /// ///Function does not implement the required interface for this cart & checkout validation. /// - [Description("Function does not implement the required interface for this cart & checkout validation.")] - FUNCTION_DOES_NOT_IMPLEMENT, + [Description("Function does not implement the required interface for this cart & checkout validation.")] + FUNCTION_DOES_NOT_IMPLEMENT, /// ///Only unlisted apps can be used for this cart & checkout validation. /// - [Description("Only unlisted apps can be used for this cart & checkout validation.")] - PUBLIC_APP_NOT_ALLOWED, + [Description("Only unlisted apps can be used for this cart & checkout validation.")] + PUBLIC_APP_NOT_ALLOWED, /// ///Function is pending deletion. /// - [Description("Function is pending deletion.")] - FUNCTION_PENDING_DELETION, + [Description("Function is pending deletion.")] + FUNCTION_PENDING_DELETION, /// ///Cannot have more than 25 active validation functions. /// - [Description("Cannot have more than 25 active validation functions.")] - MAX_VALIDATIONS_ACTIVATED, + [Description("Cannot have more than 25 active validation functions.")] + MAX_VALIDATIONS_ACTIVATED, /// ///Either function_id or function_handle must be provided. /// - [Description("Either function_id or function_handle must be provided.")] - MISSING_FUNCTION_IDENTIFIER, + [Description("Either function_id or function_handle must be provided.")] + MISSING_FUNCTION_IDENTIFIER, /// ///Only one of function_id or function_handle can be provided, not both. /// - [Description("Only one of function_id or function_handle can be provided, not both.")] - MULTIPLE_FUNCTION_IDENTIFIERS, + [Description("Only one of function_id or function_handle can be provided, not both.")] + MULTIPLE_FUNCTION_IDENTIFIERS, /// ///The type is invalid. /// - [Description("The type is invalid.")] - INVALID_TYPE, + [Description("The type is invalid.")] + INVALID_TYPE, /// ///The value is invalid for the metafield type or for the definition options. /// - [Description("The value is invalid for the metafield type or for the definition options.")] - INVALID_VALUE, + [Description("The value is invalid for the metafield type or for the definition options.")] + INVALID_VALUE, /// ///ApiPermission metafields can only be created or updated by the app owner. /// - [Description("ApiPermission metafields can only be created or updated by the app owner.")] - APP_NOT_AUTHORIZED, + [Description("ApiPermission metafields can only be created or updated by the app owner.")] + APP_NOT_AUTHORIZED, /// ///Unstructured reserved namespace. /// - [Description("Unstructured reserved namespace.")] - UNSTRUCTURED_RESERVED_NAMESPACE, + [Description("Unstructured reserved namespace.")] + UNSTRUCTURED_RESERVED_NAMESPACE, /// ///Owner type can't be used in this mutation. /// - [Description("Owner type can't be used in this mutation.")] - DISALLOWED_OWNER_TYPE, + [Description("Owner type can't be used in this mutation.")] + DISALLOWED_OWNER_TYPE, /// ///The input value isn't included in the list. /// - [Description("The input value isn't included in the list.")] - INCLUSION, + [Description("The input value isn't included in the list.")] + INCLUSION, /// ///The input value is already taken. /// - [Description("The input value is already taken.")] - TAKEN, + [Description("The input value is already taken.")] + TAKEN, /// ///The input value needs to be blank. /// - [Description("The input value needs to be blank.")] - PRESENT, + [Description("The input value needs to be blank.")] + PRESENT, /// ///The input value is blank. /// - [Description("The input value is blank.")] - BLANK, + [Description("The input value is blank.")] + BLANK, /// ///The input value is too long. /// - [Description("The input value is too long.")] - TOO_LONG, + [Description("The input value is too long.")] + TOO_LONG, /// ///The input value is too short. /// - [Description("The input value is too short.")] - TOO_SHORT, + [Description("The input value is too short.")] + TOO_SHORT, /// ///The input value is invalid. /// - [Description("The input value is invalid.")] - INVALID, + [Description("The input value is invalid.")] + INVALID, /// ///The metafield violates a capability restriction. /// - [Description("The metafield violates a capability restriction.")] - CAPABILITY_VIOLATION, + [Description("The metafield violates a capability restriction.")] + CAPABILITY_VIOLATION, /// ///An internal error occurred. /// - [Description("An internal error occurred.")] - INTERNAL_ERROR, - } - - public static class ValidationUserErrorCodeStringValues - { - public const string NOT_FOUND = @"NOT_FOUND"; - public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; - public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; - public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; - public const string PUBLIC_APP_NOT_ALLOWED = @"PUBLIC_APP_NOT_ALLOWED"; - public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; - public const string MAX_VALIDATIONS_ACTIVATED = @"MAX_VALIDATIONS_ACTIVATED"; - public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; - public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; - public const string INVALID_TYPE = @"INVALID_TYPE"; - public const string INVALID_VALUE = @"INVALID_VALUE"; - public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; - public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; - public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; - public const string INCLUSION = @"INCLUSION"; - public const string TAKEN = @"TAKEN"; - public const string PRESENT = @"PRESENT"; - public const string BLANK = @"BLANK"; - public const string TOO_LONG = @"TOO_LONG"; - public const string TOO_SHORT = @"TOO_SHORT"; - public const string INVALID = @"INVALID"; - public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; - public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; - } - + [Description("An internal error occurred.")] + INTERNAL_ERROR, + } + + public static class ValidationUserErrorCodeStringValues + { + public const string NOT_FOUND = @"NOT_FOUND"; + public const string FUNCTION_NOT_FOUND = @"FUNCTION_NOT_FOUND"; + public const string CUSTOM_APP_FUNCTION_NOT_ELIGIBLE = @"CUSTOM_APP_FUNCTION_NOT_ELIGIBLE"; + public const string FUNCTION_DOES_NOT_IMPLEMENT = @"FUNCTION_DOES_NOT_IMPLEMENT"; + public const string PUBLIC_APP_NOT_ALLOWED = @"PUBLIC_APP_NOT_ALLOWED"; + public const string FUNCTION_PENDING_DELETION = @"FUNCTION_PENDING_DELETION"; + public const string MAX_VALIDATIONS_ACTIVATED = @"MAX_VALIDATIONS_ACTIVATED"; + public const string MISSING_FUNCTION_IDENTIFIER = @"MISSING_FUNCTION_IDENTIFIER"; + public const string MULTIPLE_FUNCTION_IDENTIFIERS = @"MULTIPLE_FUNCTION_IDENTIFIERS"; + public const string INVALID_TYPE = @"INVALID_TYPE"; + public const string INVALID_VALUE = @"INVALID_VALUE"; + public const string APP_NOT_AUTHORIZED = @"APP_NOT_AUTHORIZED"; + public const string UNSTRUCTURED_RESERVED_NAMESPACE = @"UNSTRUCTURED_RESERVED_NAMESPACE"; + public const string DISALLOWED_OWNER_TYPE = @"DISALLOWED_OWNER_TYPE"; + public const string INCLUSION = @"INCLUSION"; + public const string TAKEN = @"TAKEN"; + public const string PRESENT = @"PRESENT"; + public const string BLANK = @"BLANK"; + public const string TOO_LONG = @"TOO_LONG"; + public const string TOO_SHORT = @"TOO_SHORT"; + public const string INVALID = @"INVALID"; + public const string CAPABILITY_VIOLATION = @"CAPABILITY_VIOLATION"; + public const string INTERNAL_ERROR = @"INTERNAL_ERROR"; + } + /// ///The input fields required to create or modify a product variant's option value. /// - [Description("The input fields required to create or modify a product variant's option value.")] - public class VariantOptionValueInput : GraphQLObject - { + [Description("The input fields required to create or modify a product variant's option value.")] + public class VariantOptionValueInput : GraphQLObject + { /// ///Specifies the product option value by ID. /// - [Description("Specifies the product option value by ID.")] - public string? id { get; set; } - + [Description("Specifies the product option value by ID.")] + public string? id { get; set; } + /// ///Specifies the product option value by name. /// - [Description("Specifies the product option value by name.")] - public string? name { get; set; } - + [Description("Specifies the product option value by name.")] + public string? name { get; set; } + /// ///Metafield value associated with an option. /// - [Description("Metafield value associated with an option.")] - public string? linkedMetafieldValue { get; set; } - + [Description("Metafield value associated with an option.")] + public string? linkedMetafieldValue { get; set; } + /// ///Specifies the product option by ID. /// - [Description("Specifies the product option by ID.")] - public string? optionId { get; set; } - + [Description("Specifies the product option by ID.")] + public string? optionId { get; set; } + /// ///Specifies the product option by name. /// - [Description("Specifies the product option by name.")] - public string? optionName { get; set; } - } - + [Description("Specifies the product option by name.")] + public string? optionName { get; set; } + } + /// ///Represents a credit card payment instrument. /// - [Description("Represents a credit card payment instrument.")] - public class VaultCreditCard : GraphQLObject, IPaymentInstrument - { + [Description("Represents a credit card payment instrument.")] + public class VaultCreditCard : GraphQLObject, IPaymentInstrument + { /// ///The billing address of the card. /// - [Description("The billing address of the card.")] - public CustomerCreditCardBillingAddress? billingAddress { get; set; } - + [Description("The billing address of the card.")] + public CustomerCreditCardBillingAddress? billingAddress { get; set; } + /// ///The brand for the card. /// - [Description("The brand for the card.")] - [NonNull] - public string? brand { get; set; } - + [Description("The brand for the card.")] + [NonNull] + public string? brand { get; set; } + /// ///Whether the card has been expired. /// - [Description("Whether the card has been expired.")] - [NonNull] - public bool? expired { get; set; } - + [Description("Whether the card has been expired.")] + [NonNull] + public bool? expired { get; set; } + /// ///The expiry month of the card. /// - [Description("The expiry month of the card.")] - [NonNull] - public int? expiryMonth { get; set; } - + [Description("The expiry month of the card.")] + [NonNull] + public int? expiryMonth { get; set; } + /// ///The expiry year of the card. /// - [Description("The expiry year of the card.")] - [NonNull] - public int? expiryYear { get; set; } - + [Description("The expiry year of the card.")] + [NonNull] + public int? expiryYear { get; set; } + /// ///The last four digits for the card. /// - [Description("The last four digits for the card.")] - [NonNull] - public string? lastDigits { get; set; } - + [Description("The last four digits for the card.")] + [NonNull] + public string? lastDigits { get; set; } + /// ///The name of the card holder. /// - [Description("The name of the card holder.")] - [NonNull] - public string? name { get; set; } - } - + [Description("The name of the card holder.")] + [NonNull] + public string? name { get; set; } + } + /// ///Represents a paypal billing agreement payment instrument. /// - [Description("Represents a paypal billing agreement payment instrument.")] - public class VaultPaypalBillingAgreement : GraphQLObject, IPaymentInstrument - { + [Description("Represents a paypal billing agreement payment instrument.")] + public class VaultPaypalBillingAgreement : GraphQLObject, IPaymentInstrument + { /// ///Whether the paypal billing agreement is inactive. /// - [Description("Whether the paypal billing agreement is inactive.")] - [NonNull] - public bool? inactive { get; set; } - + [Description("Whether the paypal billing agreement is inactive.")] + [NonNull] + public bool? inactive { get; set; } + /// ///The paypal account name. /// - [Description("The paypal account name.")] - [NonNull] - public string? name { get; set; } - + [Description("The paypal account name.")] + [NonNull] + public string? name { get; set; } + /// ///The paypal account email address. /// - [Description("The paypal account email address.")] - [NonNull] - public string? paypalAccountEmail { get; set; } - } - + [Description("The paypal account email address.")] + [NonNull] + public string? paypalAccountEmail { get; set; } + } + /// ///Representation of 3d vectors and points. It can represent ///either the coordinates of a point in space, a direction, or ///size. Presented as an object with three floating-point values. /// - [Description("Representation of 3d vectors and points. It can represent\neither the coordinates of a point in space, a direction, or\nsize. Presented as an object with three floating-point values.")] - public class Vector3 : GraphQLObject - { + [Description("Representation of 3d vectors and points. It can represent\neither the coordinates of a point in space, a direction, or\nsize. Presented as an object with three floating-point values.")] + public class Vector3 : GraphQLObject + { /// ///The x coordinate of Vector3. /// - [Description("The x coordinate of Vector3.")] - [NonNull] - public decimal? x { get; set; } - + [Description("The x coordinate of Vector3.")] + [NonNull] + public decimal? x { get; set; } + /// ///The y coordinate of Vector3. /// - [Description("The y coordinate of Vector3.")] - [NonNull] - public decimal? y { get; set; } - + [Description("The y coordinate of Vector3.")] + [NonNull] + public decimal? y { get; set; } + /// ///The z coordinate of Vector3. /// - [Description("The z coordinate of Vector3.")] - [NonNull] - public decimal? z { get; set; } - } - + [Description("The z coordinate of Vector3.")] + [NonNull] + public decimal? z { get; set; } + } + /// ///Represents a Shopify hosted video. /// - [Description("Represents a Shopify hosted video.")] - public class Video : GraphQLObject